/* =========================
   RESET & VARIABLE
========================= */
:root {
    --primary: #020617;
    --accent: #f97316;
    --bg: #f8fafc;
    --text: #0f172a;
    --muted: #64748b;
}

* {
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

/* =========================
   CONTAINER & GRID
========================= */
.container {
    width: 92%;
    max-width: 1100px;
    margin: auto;
}

.section {
    padding: 60px 0;
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

/* TABLET */
@media (min-width: 768px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* DESKTOP */
@media (min-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =========================
   NAVBAR
========================= */
.navbar {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    position: fixed; 
    width: 100%;
}

.navbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    font-size: 20px;
    font-weight: 700;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: none;
}

.nav-links a {
    margin-left: 20px;
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
}

.nav-toggle {
    font-size: 22px;
    cursor: pointer;
}

/* DESKTOP NAV */
@media (min-width: 1024px) {
    .nav-links {
        display: block;
    }

    .nav-toggle {
        display: none;
    }
}

/* =========================
   BUTTON
========================= */
.btn-primary {
    background: var(--accent);
    color: white;
    padding: 14px 26px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
}

.btn-outline {
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 12px 22px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
}

/* =========================
   HERO
========================= */
.hero {
    background: linear-gradient(rgba(2,6,23,.8), rgba(2,6,23,.8)),
                url('/images/hero.jpg') center/cover;
    color: white;
    padding: 100px 0;
}

.hero h1 {
    font-size: 32px;
    line-height: 1.3;
}

.hero p {
    margin-top: 16px;
    max-width: 500px;
}

.hero .btn-primary {
    margin-top: 24px;
}

/* DESKTOP HERO */
@media (min-width: 1024px) {
    .hero h1 {
        font-size: 46px;
    }
}

/* =========================
   CARD / INVESTMENT
========================= */
.investment-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,.06);
}

.investment-img {
    height: 220px;
    position: relative;
}

.investment-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--accent);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
}

.investment-body {
    padding: 24px;
}

.investment-body h3 {
    font-size: 18px;
    margin-bottom: 6px;
}

.text-muted {
    color: var(--muted);
    font-size: 14px;
}

.investment-spec {
    list-style: none;
    padding: 0;
    margin: 18px 0 22px;
}

.investment-spec li {
    margin-bottom: 8px;
    font-size: 14px;
}

/* =========================
   ABOUT & CTA
========================= */
.about-header {
    text-align: center;
    margin-bottom: 40px;
}

.about-content {
    max-width: 800px;
    margin: auto;
}

.cta-box {
    background: var(--primary);
    color: white;
    padding: 50px 30px;
    border-radius: 20px;
    text-align: center;
}

/* =========================
   FOOTER
========================= */
.footer {
    background: var(--primary);
    color: #cbd5f5;
    padding: 50px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
}

/* DESKTOP FOOTER */
@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =========================
   MOBILE MENU
========================= */

.mobile-menu {
    display: none;
    background: white;
    border-top: 1px solid #e5e7eb;
}

.mobile-menu a {
    display: block;
    padding: 16px;
    text-decoration: none;
    color: var(--text);
    border-bottom: 1px solid #f1f5f9;
    font-weight: 500;
}

.mobile-menu a:hover {
    background: #f8fafc;
}

/* ACTIVE */
.mobile-menu.active {
    display: block;
}

/* DESKTOP: HIDE MOBILE MENU */
@media (min-width: 1024px) {
    .mobile-menu {
        display: none !important;
    }
}

/* =========================
   LOGO
========================= */

.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

/* Mobile lebih kecil */
@media (max-width: 768px) {
    .logo-img {
        height: 34px;
    }
}

/* =========================
   LOGO + TEXT SEJAJAR
========================= */

.logo-link {
    display: flex;
    align-items: center;   /* ini kuncinya */
    gap: 10px;             /* jarak logo & teks */
    text-decoration: none;
}

.logo-img {
    height: 38px;
    width: auto;
    display: block;
}

.logo-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;   /* cegah turun baris */
}

.logo-text span {
    color: var(--accent);
}

/* Mobile */
@media (max-width: 768px) {
    .logo-img {
        height: 32px;
    }

    .logo-text {
        font-size: 16px;
    }
}

/* =========================
   TEXT ALIGN UTIL
========================= */
.text-center {
    text-align: center;
}

/* =========================
   HERO FIX
========================= */
.hero-inner {
    max-width: 720px;
}

.hero-badge {
    display: inline-block;
    background: rgba(249,115,22,.15);
    color: var(--accent);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 14px;
}

.hero-desc {
    margin-top: 18px;
    font-size: 16px;
}

.hero-action {
    margin-top: 32px;
    display: flex;
    gap: 16px;        /* jarak tombol lebih enak */
    flex-wrap: wrap;
}

/* =========================
   TRUST SECTION
========================= */
.trust-section {
    background: white;
}

.trust-card {
    background: var(--bg);
    padding: 28px;
    border-radius: 18px;
}

/* =========================
   PROCESS
========================= */
.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 40px;
}

.process-step {
    background: white;
    padding: 28px;
    border-radius: 18px;
    position: static;
    box-shadow: 0 10px 24px rgba(0,0,0,.05);
}

.process-step span {
    position: absolute;
    top: -14px;
    right: 18px;
    font-size: 36px;
    font-weight: 800;
    color: #e5e7eb;
}

@media (min-width: 768px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .process-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* =========================
   LISTING HEADER
========================= */
.listing-header {
    text-align: center;
    max-width: 700px;
    margin: auto;
}

/* =========================
   FILTER BOX
========================= */
.filter-box {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-box select {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    min-width: 160px;
}

/* =========================
   PROJECT DETAIL
========================= */
.project-header {
    max-width: 800px;
    margin-bottom: 30px;
}

.project-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 36px;
}

.project-gallery img {
    height: 220px;
    object-fit: cover;
    border-radius: 14px;
    width: 100%;
}

@media (min-width: 768px) {
    .project-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =========================
   SUMMARY
========================= */
.summary-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.summary-box {
    background: white;
    padding: 22px;
    border-radius: 18px;
    box-shadow: 0 8px 22px rgba(0,0,0,.05);
}

.summary-box.highlight {
    border-left: 5px solid var(--accent);
}

@media (min-width: 768px) {
    .summary-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* =========================
   ANALYSIS
========================= */
.analysis-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 50px;
}

.analysis-card {
    background: white;
    padding: 26px;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(0,0,0,.05);
}

@media (min-width: 768px) {
    .analysis-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================
   ROI SIMULATOR
========================= */
.roi-simulator {
    background: #f1f5f9;
    padding: 36px;
    border-radius: 22px;
    margin-bottom: 60px;
}

.sim-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 30px 0;
}

.sim-control label {
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.sim-control span {
    font-weight: 600;
    margin-top: 6px;
    display: block;
}

.sim-result {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.sim-result div {
    background: white;
    padding: 20px;
    border-radius: 16px;
    text-align: center;
}

.sim-result strong {
    font-size: 22px;
    margin-top: 6px;
    display: block;
}

@media (min-width: 768px) {
    .sim-grid,
    .sim-result {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================
   FLOATING WHATSAPP
========================= */

.wa-float {
    position: fixed;
    bottom: 22px;
    right: 22px;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,.25);
    z-index: 9999;
    transition: transform .2s ease, box-shadow .2s ease;
}

.wa-float img {
    width: 28px;
    height: 28px;
}

/* Hover */
.wa-float:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(0,0,0,.3);
}

/* Mobile lebih besar */
@media (max-width: 768px) {
    .wa-float {
        width: 60px;
        height: 60px;
        bottom: 18px;
        right: 18px;
    }

    .wa-float img {
        width: 30px;
        height: 30px;
    }
}

/* =========================
   HOME PAGE FIX
========================= */

/* HERO */
.hero {
    padding: 120px 0;
}

.hero-inner {
    max-width: 760px;
}

.hero h1 {
    font-size: 34px;
    margin: 12px 0 10px;
}

.hero h1 span {
    color: var(--accent);
}

.hero-desc {
    font-size: 16px;
    line-height: 1.8;
    margin-top: 16px;
}

.hero-action {
    margin-top: 32px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-outline-light {
    border: 1px solid white;
    color: white;
    padding: 14px 26px;
    border-radius: 8px;
    text-decoration: none;
}

/* TRUST SECTION */
.trust-section {
    background: white;
}

.trust-card {
    background: var(--bg);
    padding: 30px;
    border-radius: 18px;
}

.trust-card h3 {
    margin-bottom: 10px;
}

/* PROCESS */
.process-section {
    background: var(--bg);
}

.process-step h4 {
    margin-bottom: 8px;
}

/* CTA */
.cta-section {
    padding-bottom: 80px;
}

/* =========================
   DESKTOP IMPROVEMENT
========================= */
@media (min-width: 1024px) {
    .hero {
        padding: 150px 0;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero-desc {
        font-size: 17px;
    }
}

/* =========================
   HOME PAGE FIX
========================= */

/* HERO */
.hero {
    padding: 120px 0;
}

.hero-inner {
    max-width: 760px;
}

.hero h1 {
    font-size: 34px;
    margin: 12px 0 10px;
}

.hero h1 span {
    color: var(--accent);
}

.hero-desc {
    font-size: 16px;
    line-height: 1.8;
    margin-top: 16px;
}

.hero-action {
    margin-top: 32px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-outline-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 14px 26px;
    min-height: 48px;

    border: 2px solid rgba(255,255,255,0.7);
    color: #ffffff;
    background: transparent;

    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;

    transition: all 0.25s ease;
}

/* Hover effect */
.btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: #ffffff;
    color: #ffffff;
}

/* TRUST SECTION */
.trust-section {
    background: white;
}

.trust-card {
    background: var(--bg);
    padding: 30px;
    border-radius: 18px;
}

.trust-card h3 {
    margin-bottom: 10px;
}

/* PROCESS */
.process-section {
    background: var(--bg);
}

.process-step h4 {
    margin-bottom: 8px;
}

/* CTA */
.cta-section {
    padding-bottom: 80px;
}

/* =========================
   DESKTOP IMPROVEMENT
========================= */
@media (min-width: 1024px) {
    .hero {
        padding: 150px 0;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero-desc {
        font-size: 17px;
    }
}

/* =========================
   CONTACT PAGE
========================= */

.contact-section {
    background: var(--bg);
}

.contact-header {
    text-align: center;
    max-width: 520px;
    margin: auto;
    margin-bottom: 40px;
}

.contact-card {
    background: white;
    max-width: 520px;
    margin: auto;
    padding: 36px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,.08);
}

.contact-form .form-group {
    margin-bottom: 18px;
}

.contact-form label {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
    display: block;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    font-size: 14px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.btn-full {
    width: 100%;
    text-align: center;
    margin-top: 10px;
}

/* MOBILE */
@media (max-width: 640px) {
    .contact-card {
        padding: 28px 22px;
    }
}

/* =========================
   ABOUT PREMIUM
========================= */

.about-hero {
    background: linear-gradient(
        135deg,
        #020617,
        #020617dd
    );
    color: white;
    padding: 100px 0;
}

.about-hero-inner {
    max-width: 720px;
}

.about-badge {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    color: #f97316;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    margin-bottom: 14px;
}

.about-hero h1 {
    font-size: 36px;
    line-height: 1.3;
}

.about-hero h1 span {
    color: var(--accent);
}

.about-hero p {
    margin-top: 16px;
    color: #cbd5f5;
}

/* INTRO */
.about-intro-grid {
    display: grid;
    gap: 40px;
}

@media (min-width: 768px) {
    .about-intro-grid {
        grid-template-columns: 1.2fr 1fr;
        align-items: center;
    }
}

.about-intro-text h2 {
    margin-bottom: 12px;
}

.about-intro-points {
    display: grid;
    gap: 16px;
}

.point-card {
    background: white;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(0,0,0,.06);
}

.point-card h4 {
    margin-bottom: 6px;
}

/* VISION MISSION */
.section-soft {
    background: #f8fafc;
}

.vm-grid {
    display: grid;
    gap: 24px;
}

@media (min-width: 768px) {
    .vm-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.vm-card {
    background: white;
    padding: 32px;
    border-radius: 20px;
    box-shadow: 0 12px 28px rgba(0,0,0,.06);
}

.vm-card span {
    font-size: 13px;
    color: var(--accent);
    font-weight: 600;
}

.vm-card.highlight {
    background: linear-gradient(135deg,#020617,#020617dd);
    color: white;
}

.vm-card.highlight span {
    color: #fb923c;
}

.vm-card ul {
    padding-left: 18px;
    margin-top: 10px;
}

.vm-card ul li {
    margin-bottom: 8px;
}

/* CTA */
.about-cta-box {
    background: linear-gradient(135deg,#020617,#020617dd);
    color: white;
    padding: 60px 30px;
    border-radius: 26px;
    text-align: center;
}

.about-cta-box p {
    color: #cbd5f5;
    margin: 14px 0 28px;
}

/* MOBILE */
@media (max-width: 640px) {
    .about-hero h1 {
        font-size: 28px;
    }
}

/* =========================
   FOOTER (PROFESSIONAL)
========================= */

.footer {
    background: #020617;
    color: #cbd5f5;
    padding: 70px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

/* DESKTOP */
@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1.2fr;
        align-items: flex-start;
    }
}

/* BRAND */
.footer-brand h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #ffffff;
}

.footer-brand h3 span {
    color: var(--accent);
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    max-width: 320px;
}

/* LINKS */
.footer-links h6,
.footer-contact h6 {
    font-size: 14px;
    margin-bottom: 14px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #cbd5f5;
    font-size: 14px;
    text-decoration: none;
    transition: color .2s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

/* CONTACT */
.footer-contact p {
    font-size: 14px;
    line-height: 1.8;
}

/* BOTTOM */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    margin-top: 50px;
    padding-top: 18px;
    font-size: 13px;
    text-align: center;
    color: #94a3b8;
}

/* =========================
   AUTH (LOGIN / REGISTER)
========================= */

.auth-wrapper {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-card {
    background: white;
    width: 100%;
    max-width: 420px;
    padding: 40px 30px;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
}

.auth-title {
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 8px;
}

.auth-subtitle {
    text-align: center;
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    font-size: 14px;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent);
}

.btn-block {
    width: 100%;
    margin-top: 10px;
}

.auth-footer {
    margin-top: 22px;
    text-align: center;
    font-size: 14px;
}

.auth-footer a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

.auth-error {
    background: #fee2e2;
    color: #991b1b;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 16px;
}

.auth-success {
    background: #dcfce7;
    color: #166534;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 16px;
}

/* ADMIN MODAL */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-box {
    background: white;
    width: 100%;
    max-width: 520px;
    padding: 24px;
    border-radius: 16px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.modal-box input,
.modal-box select,
.modal-box textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
}
