/* =========================================================
   IniPondok — Landing CSS
   File: public/assets/css/landing.css
   Palette: Emerald + Gold, bersih & modern
   ========================================================= */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, h5 { font-family: 'Plus Jakarta Sans', sans-serif; line-height: 1.2; color: var(--ink); margin: 0 0 .5em; }
p { margin: 0 0 1em; }

/* ---------- Design Tokens ---------- */
:root {
    /* Brand — Forest green elegan, solid (tanpa neon) */
    --primary-50:  #f1f7f3;
    --primary-100: #dceae0;
    --primary-200: #b9d4c2;
    --primary-300: #8fb89e;
    --primary-500: #3f8f63;
    --primary-600: #2f7551;
    --primary-700: #255e42;
    --primary-800: #1d4a35;
    --primary-900: #15372a;

    /* Aksen hangat (sage/sand) — netral, bukan emas tajam */
    --accent-100: #f4ecd8;
    --accent-500: #b89968;
    --accent-600: #9a7f54;

    /* Neutrals — sedikit hangat, bukan biru */
    --ink:   #1a1f1c;
    --text:  #3a4640;
    --muted: #6b7670;
    --line:  #e6e9e5;
    --line-strong: #d2d7cf;
    --bg:    #ffffff;
    --bg-soft: #f7f8f5;
    --bg-mint: #f1f7f3;

    /* Radius & Shadow — lebih halus */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 22px;
    --shadow-sm: 0 1px 2px rgba(26,31,28,.04);
    --shadow-md: 0 4px 16px -8px rgba(26,31,28,.10);
    --shadow-lg: 0 12px 32px -16px rgba(37,94,66,.18);

    --container: 1200px;
    --header-h: 72px;
}

/* ---------- Helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.text-center { text-align: center; }
.muted { color: var(--muted); }
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 7px 16px 7px 14px; border-radius: 999px;
    background: var(--primary-50); color: var(--primary-700);
    font-size: 13px; font-weight: 600; line-height: 1;
    border: 1px solid var(--primary-100);
    margin-bottom: 20px;
}
.eyebrow > i, .eyebrow > svg { flex-shrink: 0; width: 14px; height: 14px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-title { font-size: clamp(28px, 4vw, 40px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.section-subtitle { color: var(--muted); font-size: 16px; max-width: 620px; margin: 14px auto 0; line-height: 1.6; }
.section-head { text-align: center; margin-bottom: 64px; }
.section-head .eyebrow { margin-bottom: 20px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 22px; border-radius: 12px;
    font-weight: 600; font-size: 15px;
    border: 1px solid transparent; cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 10px; }
.btn-lg { padding: 14px 26px; font-size: 16px; border-radius: 14px; }

.btn-primary {
    background: var(--primary-700);
    color: #fff;
    box-shadow: 0 1px 2px rgba(26,31,28,.08), inset 0 1px 0 rgba(255,255,255,.08);
}
.btn-primary:hover { background: var(--primary-800); }

.btn-outline {
    background: #fff; color: var(--ink);
    border-color: var(--line-strong);
}
.btn-outline:hover { border-color: var(--primary-500); color: var(--primary-700); background: var(--primary-50); }

.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--bg-soft); }

.btn-white { background: #fff; color: var(--primary-700); }
.btn-white:hover { background: var(--primary-50); color: var(--primary-800); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,.82);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, background .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(255,255,255,.95); }
.nav-wrap { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
    display: inline-grid; place-items: center;
    width: 36px; height: 36px;
    flex-shrink: 0;
}
.brand-mark img,
.brand-mark svg {
    width: 100%; height: 100%;
    object-fit: contain;
    display: block;
}
.brand-text strong { display: block; font-weight: 800; font-size: 17px; color: var(--ink); letter-spacing: -0.01em; line-height: 1.1; }
.brand-text small { display: block; font-size: 11px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin-top: 2px; }

.nav-menu { display: flex; gap: 6px; margin-left: auto; }
.nav-link {
    padding: 8px 14px; border-radius: 10px;
    color: var(--text); font-weight: 500; font-size: 15px;
    transition: color .15s ease, background .15s ease;
}
.nav-link:hover { color: var(--primary-700); background: var(--primary-50); }
.nav-link.is-active { color: var(--primary-700); background: var(--primary-50); }

.nav-cta { display: flex; gap: 10px; align-items: center; }

.nav-toggle {
    display: none; background: transparent; border: 1px solid var(--line); border-radius: 10px;
    width: 42px; height: 42px; padding: 0; position: relative;
}
.nav-toggle span {
    display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
    position: absolute; left: 11px; transition: transform .25s ease, top .25s ease, opacity .2s ease;
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.nav-toggle.is-open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden;
    padding: 78px 0 120px; /* extra bottom space untuk badge yang menjorok keluar mockup */
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
}
.hero::before {
    content: ""; position: absolute; inset: 0;
    background-image:
        linear-gradient(to right, rgba(37,94,66,.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(37,94,66,.05) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 70% 55% at 50% 35%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 35%, #000 30%, transparent 75%);
    pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 {
    font-size: clamp(34px, 4.6vw, 52px);
    font-weight: 700; letter-spacing: -0.025em;
    color: var(--ink); margin: 18px 0 18px;
    line-height: 1.1;
}
.hero h1 .accent {
    color: var(--primary-700);
    position: relative;
    white-space: nowrap;
}
.hero h1 .accent::after {
    content: ""; position: absolute;
    left: 0; right: 0; bottom: 0.06em; height: 0.18em;
    background: var(--accent-100); z-index: -1; border-radius: 2px;
}
.hero p.lead { font-size: 17px; color: var(--text); max-width: 540px; margin-bottom: 28px; line-height: 1.65; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust {
    display: flex; align-items: center; gap: 18px; margin-top: 32px; flex-wrap: wrap;
    color: var(--muted); font-size: 14px;
}
.hero-trust .avatars { display: flex; }
.hero-trust .avatars span {
    width: 34px; height: 34px; border-radius: 50%;
    border: 2px solid #fff; margin-left: -10px;
    background: var(--primary-700);
    color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
.hero-trust .avatars span:nth-child(2) { background: var(--primary-600); }
.hero-trust .avatars span:nth-child(3) { background: var(--accent-600); }
.hero-trust .avatars span:nth-child(4) { background: var(--primary-800); }
.hero-trust .avatars span:first-child { margin-left: 0; }
.hero-trust .stars { color: var(--accent-500); letter-spacing: 2px; }

/* Hero visual — dashboard mockup */
.hero-visual { position: relative; }
.mockup {
    background: #fff; border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    box-shadow: 0 24px 48px -24px rgba(26,31,28,.18), 0 8px 16px -8px rgba(26,31,28,.06);
    overflow: hidden;
}
.mockup-bar {
    display: flex; align-items: center; gap: 6px;
    padding: 12px 14px; border-bottom: 1px solid var(--line);
    background: var(--bg-soft);
}
.mockup-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: #e2e8f0; }
.mockup-bar .dot:nth-child(1) { background: #ef4444; }
.mockup-bar .dot:nth-child(2) { background: #f59e0b; }
.mockup-bar .dot:nth-child(3) { background: #10b981; }
.mockup-bar .url {
    margin-left: 8px; font-size: 12px; color: var(--muted);
    background: #fff; border: 1px solid var(--line); border-radius: 8px;
    padding: 5px 10px; flex: 1;
}
.mockup-body { padding: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; background: #fff; }
.m-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.m-card.m-span { grid-column: 1/-1; }
.m-card h5 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 6px; font-weight: 600;}
.m-card .big { font-size: 22px; font-weight: 800; color: var(--ink); }
.m-card .delta { font-size: 12px; color: var(--primary-600); font-weight: 600; }
.m-bars { display: flex; align-items: flex-end; gap: 8px; height: 70px; margin-top: 10px; }
.m-bars i {
    flex: 1; background: var(--primary-500);
    border-radius: 3px 3px 0 0;
    opacity: .85;
}
.m-bars i:nth-child(odd) { background: var(--primary-700); opacity: .9; }
.m-rows { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.m-row {
    display: flex; align-items: center; gap: 10px;
    padding: 8px; background: var(--bg-soft); border-radius: 10px; font-size: 13px;
}
.m-row .av { width: 28px; height: 28px; border-radius: 50%; background: var(--primary-700); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 11px; }
.m-row .name { font-weight: 600; color: var(--ink); }
.m-row .tag { margin-left: auto; font-size: 11px; padding: 3px 8px; border-radius: 999px; background: var(--primary-100); color: var(--primary-800); font-weight: 600; }

/* Floating badges near mockup */
.float-badge {
    position: absolute; background: #fff; border-radius: 14px;
    padding: 12px 14px; display: flex; align-items: center; gap: 10px;
    box-shadow: 0 20px 40px -16px rgba(15,23,42,.18); border: 1px solid var(--line);
    font-size: 13px; font-weight: 600;
}
.float-badge .ic {
    width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
    background: var(--primary-50); color: var(--primary-700); font-size: 20px;
}
/* Desktop: badge melayang di luar tepi BAWAH mockup — menjorok ke bawah,
   sehingga tidak menutupi konten apa pun di dalam mockup maupun teks hero. */
.float-badge.fb-1 {
    bottom: 0; left: 24px;
    transform: translateY(60%);
    animation: floatBadgeL 4.5s ease-in-out infinite;
}
.float-badge.fb-2 {
    bottom: 0; right: 24px;
    transform: translateY(60%);
    animation: floatBadgeR 5s ease-in-out infinite;
}
@keyframes floatBadgeL {
    0%, 100% { transform: translateY(60%); }
    50%      { transform: translateY(calc(60% - 6px)); }
}
@keyframes floatBadgeR {
    0%, 100% { transform: translateY(60%); }
    50%      { transform: translateY(calc(60% - 6px)); }
}

/* Tablet & mobile: sembunyikan agar tidak menumpuk dengan elemen lain. */
@media (max-width: 980px) {
    .float-badge { display: none; }
}

/* ---------- Trusted by ---------- */
.trusted {
    padding: 48px 0; border-bottom: 1px solid var(--line);
    background: #fff;
}
.trusted p { text-align: center; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .14em; margin-bottom: 28px; font-weight: 600; }
.trusted-logos { display: flex; gap: 56px; justify-content: center; align-items: center; flex-wrap: wrap; }
.trusted-logos span { font-weight: 600; color: var(--muted); font-size: 17px; font-family: 'Amiri', serif; opacity: .65; transition: opacity .2s; }
.trusted-logos span:hover { opacity: 1; color: var(--primary-700); }

/* Marquee horizontal: bisa di-scroll manual & auto-bergerak */
.trusted-marquee {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    mask-image: linear-gradient(90deg, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
}
.trusted-marquee::-webkit-scrollbar { display: none; }
.trusted-track {
    display: flex; align-items: center;
    width: max-content;
    animation: trustedScroll 30s linear infinite;
    will-change: transform;
}
.trusted-set {
    display: flex; align-items: center; gap: 64px;
    padding: 4px 32px;
}
.trusted-set span {
    flex-shrink: 0;
    font-weight: 600; color: var(--muted); font-size: 18px;
    font-family: 'Amiri', serif; opacity: .7;
    white-space: nowrap;
    transition: opacity .2s, color .2s;
}
.trusted-set span:hover { opacity: 1; color: var(--primary-700); }
.trusted-marquee:hover .trusted-track,
.trusted-marquee:focus-within .trusted-track,
.trusted-marquee:active .trusted-track { animation-play-state: paused; }
@keyframes trustedScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .trusted-track { animation: none; }
}

/* ---------- Features ---------- */
.features-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.feature-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 28px; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.feature-card:hover { border-color: var(--primary-300); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feature-icon {
    width: 44px; height: 44px; border-radius: 10px;
    background: var(--primary-50);
    color: var(--primary-700); display: grid; place-items: center; font-size: 20px;
    margin-bottom: 18px;
    border: 1px solid var(--primary-100);
}
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.feature-card p { color: var(--muted); font-size: 14.5px; margin: 0; line-height: 1.6; }

/* ---------- Showcase (split image + text) ---------- */
.showcase { background: var(--bg-soft); }
.showcase-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-bottom: 96px; }
.showcase-row:last-child { margin-bottom: 0; }
.showcase-row.reverse { direction: rtl; }
.showcase-row.reverse > * { direction: ltr; }
.showcase-text h3 { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 14px; line-height: 1.2; }
.showcase-text p { color: var(--muted); font-size: 16px; margin-bottom: 22px; line-height: 1.65; }
.showcase-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.showcase-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text); }
.showcase-list li i {
    flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%;
    background: var(--primary-100); color: var(--primary-700);
    display: grid; place-items: center; font-size: 12px; margin-top: 3px;
}
.showcase-visual {
    background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line);
    overflow: hidden; box-shadow: var(--shadow-sm);
    aspect-ratio: 4 / 3;
    display: grid; place-items: center;
}
.showcase-visual svg { width: 82%; height: auto; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step {
    position: relative; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius-lg); padding: 28px 24px 24px;
}
.step-num {
    width: 36px; height: 36px; border-radius: 10px;
    background: var(--primary-50); border: 1px solid var(--primary-100);
    color: var(--primary-700); font-weight: 700; font-size: 15px;
    display: grid; place-items: center;
    margin-bottom: 16px;
    font-family: 'Amiri', serif;
}
.step h4 { font-size: 17px; font-weight: 700; margin: 0 0 8px; color: var(--ink); }
.step p { color: var(--muted); font-size: 14px; margin: 0; line-height: 1.6; }

/* ---------- Stats ---------- */
.stats { background: var(--primary-800); color: #fff; position: relative; overflow: hidden; }
.stats::before {
    content: ""; position: absolute; inset: 0;
    background-image:
        linear-gradient(to right, rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 75%);
}
.stats > .container { position: relative; }
.stats .section-title { color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat { text-align: center; }
.stat .num { font-size: clamp(32px, 4vw, 44px); font-weight: 700; color: #fff; letter-spacing: -0.02em; font-family: 'Amiri', serif; }
.stat .num .plus { color: var(--accent-500); margin-left: 2px; }
.stat .lbl { color: rgba(255,255,255,.7); font-size: 14px; margin-top: 6px; }

/* ---------- Testimonials ---------- */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 28px; display: flex; flex-direction: column; gap: 16px;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.testi-card:hover { border-color: var(--primary-200); box-shadow: var(--shadow-sm); }
.testi-stars { color: var(--accent-500); letter-spacing: 2px; font-size: 14px; }
.testi-card blockquote { margin: 0; color: var(--text); font-size: 15px; line-height: 1.7; flex: 1; font-style: italic; }
.testi-card blockquote::before { content: "\201C"; font-family: 'Amiri', serif; color: var(--primary-300); font-size: 32px; line-height: 0; vertical-align: -10px; margin-right: 4px; }
.testi-author { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
.testi-author .av {
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--primary-700);
    color: #fff; display: grid; place-items: center; font-weight: 700;
}
.testi-author strong { display: block; color: var(--ink); font-weight: 700; font-size: 14px; }
.testi-author small { color: var(--muted); font-size: 13px; }

/* ---------- Plans (tanpa harga, early access) ---------- */
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 30px; display: flex; flex-direction: column; position: relative;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.plan-card:hover { border-color: var(--primary-200); }
.plan-card.featured {
    border-color: var(--primary-700);
    box-shadow: var(--shadow-md);
}
.plan-card.featured .badge {
    position: absolute; top: -11px; left: 30px;
    background: var(--primary-700);
    color: #fff; font-size: 11px; font-weight: 700;
    padding: 5px 12px; border-radius: 999px; letter-spacing: .06em;
    text-transform: uppercase;
}
.plan-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.plan-card .tag { color: var(--muted); font-size: 14px; margin-bottom: 22px; min-height: 42px; line-height: 1.55; }
.plan-card .plan-meta {
    padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    margin-bottom: 22px;
    display: flex; align-items: baseline; gap: 8px;
}
.plan-card .plan-meta .label { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.plan-card .plan-meta .value { font-size: 18px; font-weight: 700; color: var(--ink); font-family: 'Amiri', serif; margin-left: auto; }
.plan-card ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.plan-card ul li { display: flex; gap: 10px; font-size: 14px; color: var(--text); align-items: flex-start; }
.plan-card ul li::before {
    content: "✓"; flex-shrink: 0;
    width: 18px; height: 18px; border-radius: 50%;
    background: var(--primary-100); color: var(--primary-700);
    display: grid; place-items: center; font-size: 11px; font-weight: 700;
    margin-top: 2px;
}
.plan-card .btn { width: 100%; margin-top: auto; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md);
    overflow: hidden;
}
.faq-question {
    width: 100%; text-align: left; background: transparent; border: none;
    padding: 20px 24px; display: flex; align-items: center; gap: 16px;
    font-size: 16px; font-weight: 600; color: var(--ink);
}
.faq-question .q-icon {
    margin-left: auto; width: 28px; height: 28px; border-radius: 50%;
    background: var(--bg-soft); display: grid; place-items: center;
    color: var(--muted); transition: transform .2s ease, background .2s ease, color .2s ease;
    flex-shrink: 0;
}
.faq-item.is-open { border-color: var(--primary-200); }
.faq-item.is-open .q-icon { transform: rotate(45deg); background: var(--primary-100); color: var(--primary-700); }
.faq-answer {
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
    padding: 0 24px;
    color: var(--muted); font-size: 15px;
}
.faq-item.is-open .faq-answer { max-height: 300px; padding: 0 24px 20px; }

/* ---------- CTA Section ---------- */
/* Section pembungkus CTA — beri jarak vertikal agar tidak menempel ke section sebelumnya */
.section-cta { padding: 64px 0 96px; }
.cta-section {
    position: relative; overflow: hidden;
    background: var(--primary-800);
    color: #fff; border-radius: var(--radius-xl);
    padding: 64px 48px; text-align: center;
}
.cta-section::before {
    content: ""; position: absolute; inset: 0;
    background-image:
        linear-gradient(to right, rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 20%, transparent 70%);
    pointer-events: none;
}
.cta-section > * { position: relative; }
.cta-section h2 { color: #fff; font-size: clamp(26px, 3.5vw, 34px); margin-bottom: 14px; letter-spacing: -0.02em; font-weight: 700; }
.cta-section p { color: rgba(255,255,255,.78); font-size: 16px; max-width: 540px; margin: 0 auto 28px; line-height: 1.6; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--primary-900); color: #b9c4be; padding: 72px 0 32px; }
.footer-grid {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px;
    padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.brand--footer .brand-text strong { color: #fff; }
.brand--footer .brand-text small { color: #94a3b8; }
.footer-tagline { color: #ffffffd0; font-size: 14px; max-width: 320px; margin: 16px 0 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,.06);
    display: grid; place-items: center; color: #b9c4be; transition: background .2s, color .2s;
}
.footer-social a:hover { background: var(--primary-600); color: #fff; }
.footer-col h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; margin-bottom: 18px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { color: #ffffffd0; font-size: 14px; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 24px; color: #ffffffd0; font-size: 13px; flex-wrap: wrap; gap: 12px;
}
.footer-bottom__right { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Page headers (non-home) ---------- */
.page-hero {
    padding: 72px 0 56px;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
    text-align: center;
    position: relative; overflow: hidden;
}
.page-hero::before {
    content: ""; position: absolute; inset: 0;
    background-image:
        linear-gradient(to right, rgba(37,94,66,.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(37,94,66,.05) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 60% 80% at 50% 30%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 30%, #000 20%, transparent 75%);
}
.page-hero > .container { position: relative; }
.page-hero h1 { font-size: clamp(30px, 4.4vw, 42px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.page-hero p { color: var(--muted); font-size: 16.5px; max-width: 600px; margin: 14px auto 0; line-height: 1.6; }

/* ---------- Forms ---------- */
.form-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl);
    padding: 40px; box-shadow: var(--shadow-md);
}
.form-grid { display: grid; gap: 18px; }
.form-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.form-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.form-section-title {
    display: flex; align-items: center; gap: 10px;
    font-size: 14px; font-weight: 700; color: var(--primary-700);
    text-transform: uppercase; letter-spacing: .08em;
    padding-bottom: 8px; margin: 24px 0 4px;
    border-bottom: 1px solid var(--line);
}
.form-section-title:first-child { margin-top: 0; }
.form-section-title .num {
    width: 26px; height: 26px; border-radius: 7px; background: var(--primary-100);
    color: var(--primary-700); display: grid; place-items: center; font-size: 12px; font-weight: 700;
    font-family: 'Amiri', serif;
}
.field label { display: block; font-weight: 600; font-size: 14px; color: var(--ink); margin-bottom: 6px; }
.field label .req { color: #dc2626; }
.field .hint { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field textarea,
.field select {
    width: 100%; padding: 12px 14px; border-radius: 12px;
    border: 1px solid var(--line-strong); background: #fff;
    font-family: inherit; font-size: 15px; color: var(--ink);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
    outline: none; border-color: var(--primary-600);
    box-shadow: 0 0 0 3px rgba(63,143,99,.15);
}
.field textarea { min-height: 96px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b7670' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field.invalid input,
.field.invalid textarea,
.field.invalid select { border-color: #dc2626; box-shadow: 0 0 0 4px rgba(220,38,38,.1); }

.form-alert {
    padding: 14px 16px; border-radius: 12px;
    background: #fef2f2; color: #991b1b; border: 1px solid #fecaca;
    margin-bottom: 20px;
}
.form-alert ul { margin: 6px 0 0; padding-left: 18px; }

.form-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    border-top: 1px solid var(--line);
    padding-top: 24px;
    margin-top: 24px;
}

.form-secure {
    margin-left: auto;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    line-height: 1.4;
}

.form-secure i,
.form-secure svg {
    flex-shrink: 0;
    display: block;
}

@media (max-width: 768px) {
    .form-secure {
        margin-left: 0;
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

/* ---------- Success page ---------- */
.success-card {
    max-width: 560px; margin: 80px auto; text-align: center;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl);
    padding: 56px 40px; box-shadow: var(--shadow-md);
}
.success-icon {
    width: 80px; height: 80px; margin: 0 auto 20px;
    border-radius: 50%; background: var(--primary-50);
    border: 1px solid var(--primary-100);
    display: grid; place-items: center;
    color: var(--primary-700); font-size: 36px;
    animation: pop .5s cubic-bezier(.34,1.56,.64,1);
}
@keyframes pop { 0% { transform: scale(0); } 100% { transform: scale(1); } }
.success-card h1 { font-size: 26px; margin-bottom: 12px; }
.success-card p { color: var(--muted); margin-bottom: 8px; }
.success-steps {
    margin: 28px 0; padding: 20px; background: var(--bg-mint); border-radius: 14px;
    border: 1px solid var(--primary-100); text-align: left;
}
.success-steps h4 { color: var(--primary-800); font-size: 14px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.success-steps ol { margin: 0; padding-left: 20px; color: var(--text); font-size: 14px; line-height: 1.8; }

/* ---------- About / Kontak ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.value-card {
    padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.value-card .ic {
    width: 48px; height: 48px; border-radius: 12px;
    background: var(--primary-50); color: var(--primary-700);
    display: grid; place-items: center; font-size: 22px; margin-bottom: 14px;
}

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-info { display: grid; gap: 16px; }
.contact-item {
    display: flex; gap: 14px; padding: 20px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md);
}
.contact-item .ic {
    width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
    background: var(--primary-50); color: var(--primary-700);
    display: grid; place-items: center; font-size: 20px;
}
.contact-item strong { display: block; color: var(--ink); font-weight: 700; margin-bottom: 2px; }
.contact-item span { color: var(--muted); font-size: 14px; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
    font-size: 13px; color: var(--muted); margin-bottom: 12px;
    display: inline-flex; gap: 6px; align-items: center;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary-700); }
.breadcrumb .sep { opacity: .5; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
/* Safe fallback: if JS disabled OR reduced motion, show all content */
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
/* Tablet & layar tanggung (1023px ke bawah): hero 1-col, grid disesuaikan,
   testimonials & plans langsung 1 kolom supaya tidak ada kartu orphan */
@media (max-width: 1023px) {
    .section { padding: 72px 0; }
    .hero { padding: 52px 0 56px; }
    .hero-inner { grid-template-columns: 1fr; gap: 48px; }
    .mockup { transform: none; max-width: 540px; margin: 0 auto; }
    .features-grid, .values-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
    .plans-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
    .showcase-row { grid-template-columns: 1fr; gap: 32px; margin-bottom: 64px; }
    .showcase-row.reverse { direction: ltr; }
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* Navbar compact zone (901-1200px) — menutup kasus zoom 150% & laptop kecil.
   Viewport CSS berubah saat user zoom: 1920×1.5 → 1280, 1536×1.5 → 1024,
   1440×1.5 → 960. Di zona ini tagline & tombol "Masuk" disembunyikan. */
@media (min-width: 901px) and (max-width: 1200px) {
    .nav-menu { gap: 2px; }
    .nav-link { padding: 8px 10px; font-size: 14px; white-space: nowrap; }
    .brand-text .brand-tag { display: none; }
    .nav-cta .btn-ghost { display: none; }
    .nav-cta .btn { padding: 9px 16px; font-size: 14px; }
}

/* Paling sempit (901-1060px): kecilkan lagi padding nav-link */
@media (min-width: 901px) and (max-width: 1060px) {
    .nav-link { padding: 8px 8px; font-size: 13.5px; }
}

/* Tablet bawah (≤900px): pakai drawer mobile supaya tidak overflow */
@media (max-width: 900px) {
    .nav-menu {
        position: fixed; inset: var(--header-h) 0 auto 0;
        background: #fff; flex-direction: column; gap: 0;
        padding: 16px; border-bottom: 1px solid var(--line);
        transform: translateY(-120%); transition: transform .25s ease;
        box-shadow: 0 20px 40px -16px rgba(15,23,42,.15);
    }
    .nav-menu.is-open { transform: translateY(0); }
    .nav-link { padding: 14px 16px; border-radius: 10px; font-size: 16px; }
    .nav-cta { display: none; }
    .nav-toggle { display: inline-block; margin-left: auto; }
}

@media (max-width: 768px) {
    .features-grid, .values-grid { grid-template-columns: 1fr; }
    .testimonials-grid, .plans-grid { max-width: 100%; }
    .steps { grid-template-columns: 1fr; gap: 16px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .form-grid.cols-2, .form-grid.cols-3 { grid-template-columns: 1fr; }
    .form-card { padding: 24px; }
    .cta-section { padding: 48px 24px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .float-badge { display: none; }
}
@media (max-width: 480px) {
    .section, .section-sm { padding: 56px 0; }
    .container { padding-inline: 18px; }
    .hero h1 { font-size: 34px; }
    .hero p.lead { font-size: 16px; }
    .btn { padding: 11px 18px; font-size: 14px; }
}
