/* ============================================================
 *  RT Digital Indonesia — assets/landing.css
 *  Shared landing styles (homepage + harga.php)
 *  Design tokens loaded from variables.css — do not redefine here.
 *  NB: --accent dapat di-override secara dinamis (brand color)
 *      lewat <style> inline pada masing-masing halaman.
 * ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Landing pages use Inter instead of Geist (dashboard font) */
:root {
    --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
    --font-mono: 'Inter', ui-monospace, monospace;
}



html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    background: var(--bg-canvas);
    color: var(--fg-primary);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── NAVBAR ────────────────────────────── */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 0 24px;
    background: rgba(255,254,251,0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s var(--ease-out);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(255,254,251,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 1px 0 var(--border-subtle);
}

.navbar-inner {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    padding: 0 32px;
    gap: 24px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--fg-primary);
    flex-shrink: 0;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
}

.navbar-auth {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-self: end;
    flex-shrink: 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--fg-primary);
}

.navbar-logo {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: var(--fg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

.navbar-logo svg { width: 20px; height: 20px; color: white; }

.navbar-brand-text { display: flex; flex-direction: column; line-height: 1; }

.navbar-name {
    font-family: var(--font-sans);
    font-size: 17px;
    font-weight: 700;
    color: var(--fg-primary);
    letter-spacing: -0.02em;
}

.navbar-name .accent { color: var(--accent); }
.navbar-name .light  { font-weight: 400; }

.navbar-sub { display: none; }

.navbar-links { display: flex; align-items: center; gap: 4px; }

.nav-link {
    padding: 6px 12px;
    font-size: 15px;
    font-weight: 500;
    color: var(--fg-primary);
    text-decoration: none;
    border-radius: 6px;
    transition: color 0.15s, background 0.15s;
}

.nav-link:hover { color: var(--fg-primary); background: var(--bg-section-alt); }
.nav-link.active { color: var(--fg-primary); font-weight: 600; }

.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    font-size: 15px;
    font-weight: 600;
    color: var(--accent-fg);
    text-decoration: none;
    border-radius: var(--radius-md);
    background: var(--accent);
    transition: all 0.2s var(--ease-out);
    box-shadow: none;
}

.nav-btn:hover {
    background: var(--accent-dark);
    transform: none;
    box-shadow: none;
}

.nav-btn-outline {
    background: transparent;
    border: none;
    box-shadow: none;
    color: var(--fg-primary);
    font-weight: 500;
    padding: 9px 14px;
}

.nav-btn-outline:hover {
    color: var(--fg-primary);
    background: var(--bg-section-alt);
    box-shadow: none;
    transform: none;
}

/* ── HERO ──────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 24px 180px;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 60% at 80% 0%, #fff3ee 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 0% 30%, #f8f4f0 0%, transparent 60%),
        var(--bg-canvas);
}

.hero-glow {
    position: absolute;
    top: -180px;
    right: -120px;
    width: 680px;
    height: 680px;
    background: radial-gradient(circle, rgba(255,79,0,0.08), transparent 60%);
    pointer-events: none;
}

.hero-glow-2 {
    position: absolute;
    bottom: -200px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(248,244,240,0.6), transparent 60%);
    pointer-events: none;
}

.hero-orb, .hero-grid { display: none; }

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--content-max);
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
    align-items: center;
    text-align: left;
}

.hero-copy { min-width: 0; }
.hero-copy .hero-subtitle { margin-left: 0; margin-right: 0; max-width: 540px; }
.hero-copy .hero-actions { justify-content: flex-start; }
.hero-copy .hero-trust-signals { justify-content: flex-start; }

/* ── HERO (compact variant for sub-pages) ── */
.hero-compact {
    position: relative;
    overflow: hidden;
    padding: 150px 24px 90px;
    text-align: center;
    background:
        radial-gradient(ellipse 80% 60% at 80% 0%, #fff3ee 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 0% 30%, #f8f4f0 0%, transparent 60%),
        var(--bg-canvas);
}
.hero-compact .hero-inner {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px 6px 10px;
    border-radius: 999px;
    background: var(--bg-paper);
    border: 1.5px solid var(--orange-300);
    box-shadow: var(--shadow-sm);
    font-size: 13px;
    font-weight: 600;
    color: var(--fg-secondary);
    margin-bottom: 28px;
}

.hero-badge-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent);
    display: inline-block;
    box-shadow: 0 0 0 3px rgba(232,115,46,0.22);
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 3px rgba(232,115,46,0.22); }
    50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(232,115,46,0.08); }
}

.hero-title {
    font-family: var(--font-sans);
    font-size: clamp(40px, 5.4vw, 64px);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    color: var(--fg-primary);
}

.hero-title-gradient {
    background: linear-gradient(120deg, var(--fg-primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--fg-secondary);
    max-width: 520px;
    margin: 0 auto 32px;
    line-height: 1.65;
}
.hero-compact .hero-subtitle { max-width: 620px; }

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 13px 26px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.2s var(--ease-out);
    cursor: pointer;
    border: none;
    font-family: var(--font-sans);
}

.btn-hero-primary {
    background: var(--accent);
    color: var(--accent-fg);
    box-shadow: 0 8px 24px rgba(255,79,0,0.28);
}

.btn-hero-primary:hover {
    background: var(--accent-dark);
    box-shadow: 0 14px 32px rgba(255,79,0,0.38);
    transform: translateY(-2px);
}

.btn-hero-secondary {
    background: var(--bg-canvas);
    color: var(--fg-primary);
    border: 1.5px solid var(--fg-primary);
}

.btn-hero-secondary:hover {
    background: var(--bg-section-alt);
    border-color: var(--fg-primary);
}

.btn-hero i { width: 16px; height: 16px; }

.hero-trust-signals {
    margin-top: 22px;
    display: flex;
    gap: 20px;
    justify-content: center;
    font-size: 13px;
    color: var(--fg-tertiary);
    flex-wrap: wrap;
}

/* ── SECTIONS ──────────────────────────── */
.section { padding: 80px 24px; position: relative; }
.section-inner { max-width: var(--content-max); margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 48px; }

.section-label {
    display: none !important;
}

.section-label::before,
.section-label::after {
    display: none !important;
    content: none !important;
}

.section-label i,
.section-label svg {
    display: none !important;
}

.section-label.on-dark {
    color: #ff8c66;
    background: rgba(255, 140, 102, 0.12);
    border: 1px solid rgba(255, 140, 102, 0.25);
}

.section-title {
    font-family: var(--font-sans);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 14px;
    color: var(--fg-primary);
}

.section-desc {
    font-size: 16px;
    color: var(--fg-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

.section-alt {
    background: var(--bg-section-alt);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

/* ── FEATURE / TRUST CARDS ─────────────── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.features-grid--highlight {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 28px 24px;
    border-radius: 16px;
    background: var(--bg-paper);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 4px 16px rgba(32, 21, 21, 0.04);
    transition: all 0.25s var(--ease-out);
    position: relative;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    box-shadow: 0 16px 32px rgba(255, 79, 0, 0.08);
    transform: translateY(-4px);
    border-color: rgba(255, 79, 0, 0.3);
}

.feature-card--highlight {
    padding: 30px 26px;
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.08);
}

.feature-icon i, .feature-icon svg { width: 22px; height: 22px; }

.feature-icon--lg {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    margin-bottom: 20px;
}
.feature-icon--lg i, .feature-icon--lg svg { width: 26px; height: 26px; }

.feature-icon-purple {
    background: rgba(168, 85, 247, 0.1);
    color: #9333ea;
    border: 1px solid rgba(168, 85, 247, 0.2);
}
.feature-icon-sky {
    background: rgba(14, 165, 233, 0.1);
    color: #0284c7;
    border: 1px solid rgba(14, 165, 233, 0.2);
}
.feature-icon-amber {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
    border: 1px solid rgba(245, 158, 11, 0.2);
}
.feature-icon-emerald {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.2);
}
.feature-icon-rose {
    background: rgba(244, 63, 94, 0.1);
    color: #e11d48;
    border: 1px solid rgba(244, 63, 94, 0.2);
}

.feature-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--fg-primary);
    letter-spacing: -0.015em;
    line-height: 1.3;
}

.feature-card--highlight .feature-title {
    font-size: 18px;
}

.feature-desc {
    font-size: 14.5px;
    color: var(--fg-secondary);
    line-height: 1.6;
}

/* ── Compact extras list ── */
.features-extras {
    margin-top: 40px;
    text-align: center;
}

.features-extras__label {
    font-size: 13px;
    font-weight: 700;
    color: var(--fg-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 18px;
}

.features-extras__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.features-extras__chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 999px;
    background: var(--bg-paper);
    border: 1px solid var(--border-subtle);
    font-size: 14px;
    font-weight: 600;
    color: var(--fg-primary);
    box-shadow: 0 2px 6px rgba(32, 21, 21, 0.03);
    transition: all 0.2s var(--ease-out);
}

.features-extras__chip:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 79, 0, 0.08);
}
    color: var(--fg-secondary);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s, transform 0.15s var(--ease-out);
}

.features-extras__chip:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
    color: var(--fg-primary);
}

.features-extras__chip i {
    width: 16px;
    height: 16px;
    color: var(--accent);
    flex-shrink: 0;
}

/* ── PRICING ───────────────────────────── */
/* Pricing styles are now in pricing-cards.php inline <style> */
.section-pricing {
    background: var(--bg-section-alt);
    border-top: 1px solid var(--border-subtle);
}

/* ── COMPARISON TABLE ──────────────────── */
.compare-wrap {
    max-width: 980px;
    margin: 0 auto;
    overflow-x: auto;
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    background: var(--bg-paper);
    box-shadow: var(--shadow-sm);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
    font-size: 14.5px;
}

.compare-table thead th {
    padding: 18px 20px;
    text-align: center;
    font-family: var(--font-sans);
    font-weight: 700;
    color: var(--fg-primary);
    border-bottom: 1px solid var(--border-subtle);
}

.compare-table thead th:first-child { text-align: left; }
.compare-table thead th.col-popular { color: var(--accent); }

.compare-table tbody td {
    padding: 13px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--fg-secondary);
}

.compare-table tbody td:first-child {
    text-align: left;
    color: var(--fg-primary);
    font-weight: 500;
}

.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr.row-price td {
    font-weight: 700;
    color: var(--fg-primary);
    background: var(--bg-section-alt);
}

.compare-yes { color: var(--green-600); font-weight: 700; }
.compare-no { color: var(--fg-tertiary); }
.compare-val { font-weight: 600; color: var(--fg-primary); }

/* ── FAQ ───────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 10px; }

.faq-item {
    background: var(--bg-paper);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 14px 18px;
    box-shadow: var(--shadow-sm);
}

.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--fg-primary);
    font-size: 15px;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }
.faq-item summary i { width: 18px; height: 18px; flex-shrink: 0; color: var(--fg-tertiary); transition: transform 0.2s var(--ease-out); }
.faq-item[open] summary i { transform: rotate(180deg); }
.faq-item p { margin-top: 10px; font-size: 14px; color: var(--fg-secondary); line-height: 1.65; }

/* ── CTA ───────────────────────────────── */
.cta-section {
    padding: 96px 24px 110px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 70% 60% at 50% 0%, rgba(255,79,0,0.15) 0%, transparent 70%),
        #0b1120;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.cta-inner { position: relative; z-index: 2; max-width: 620px; margin: 0 auto; }
.cta-section .section-label { justify-content: center; }

.cta-title {
    font-family: var(--font-sans);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.05;
    margin-bottom: 16px;
    color: #ffffff;
}

.cta-desc { font-size: 18px; color: rgba(255,255,255,0.72); margin-bottom: 36px; line-height: 1.6; }

.cta-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.cta-actions .btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
    margin: 0;
}
.btn-secondary-white {
    background: #ffffff;
    color: #0F1419 !important;
    border: 1px solid #D1D5DB;
}
.btn-secondary-white:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}
.btn-hero-ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
}
.btn-hero-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.6); }

/* ── SECURITY BANNER ───────────────────── */
.security-section {
    padding: 80px 24px;
    background:
        radial-gradient(ellipse 60% 50% at 50% 100%, rgba(16,185,129,0.1) 0%, transparent 70%),
        radial-gradient(ellipse 70% 60% at 50% 0%, rgba(56,189,248,0.08) 0%, transparent 70%),
        #0b1120;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.security-inner {
    max-width: var(--content-max);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.section-header.on-dark {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 48px;
}
.section-label.on-dark {
    display: inline-flex;
    align-items: center;
    color: #ff8c66;
    background: rgba(255, 140, 102, 0.12);
    border: 1px solid rgba(255, 140, 102, 0.25);
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.section-title.on-dark {
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 16px;
}
.section-desc.on-dark {
    color: #94a3b8;
    font-size: 16px;
    line-height: 1.6;
}
.security-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}
.security-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 28px 24px;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}
.security-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(30, 41, 59, 0.85);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}
.security-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.security-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.security-icon i, .security-icon svg {
    width: 22px;
    height: 22px;
}
.security-icon-emerald {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}
.security-icon-sky {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
}
.security-icon-amber {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}
.security-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
}
.security-tag-emerald { background: rgba(16, 185, 129, 0.12); color: #34d399; }
.security-tag-sky { background: rgba(56, 189, 248, 0.12); color: #38bdf8; }
.security-tag-amber { background: rgba(251, 191, 36, 0.12); color: #fbbf24; }

.security-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 10px;
    line-height: 1.3;
}
.security-card-desc {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.6;
}
.security-card-desc strong {
    color: #ffffff;
}

.security-trust-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.security-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #94a3b8;
}
.security-trust-item i, .security-trust-item svg {
    width: 18px;
    height: 18px;
    color: #34d399;
}

@media (max-width: 900px) {
    .security-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .security-trust-bar {
        gap: 16px;
        flex-direction: column;
        align-items: flex-start;
        max-width: 280px;
        margin: 0 auto;
    }
}

/* ── INTERACTIVE FEATURE SHOWCASE ──────── */
.section-interactive-demo {
    padding: 80px 24px;
    background: var(--bg-paper);
}
.feature-showcase-container {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 32px;
    align-items: stretch;
    margin-top: 40px;
}

/* Tabs list (Kiri) */
.feature-tabs-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.feature-tab-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--bg-body);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    text-align: left;
    cursor: pointer;
    transition: all 0.25s var(--ease-out);
    position: relative;
    outline: none;
}
.feature-tab-btn:hover {
    border-color: var(--accent);
    background: var(--bg-paper);
    transform: translateX(3px);
}
.feature-tab-btn.active {
    background: var(--bg-paper);
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(255, 107, 71, 0.12);
}
.tab-btn-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.tab-btn-icon i, .tab-btn-icon svg { width: 20px; height: 20px; }
.tab-btn-icon.icon-purple { background: rgba(168, 85, 247, 0.1); color: #a855f7; }
.tab-btn-icon.icon-emerald { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.tab-btn-icon.icon-sky { background: rgba(56, 189, 248, 0.1); color: #0284c7; }
.tab-btn-icon.icon-rose { background: rgba(244, 63, 94, 0.1); color: #f43f5e; }

.tab-btn-content { flex: 1; min-width: 0; }
.tab-btn-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--fg-primary);
    line-height: 1.3;
}
.tab-btn-sub {
    font-size: 12.5px;
    color: var(--fg-tertiary);
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.tab-arrow {
    width: 16px;
    height: 16px;
    color: var(--fg-tertiary);
    transition: transform 0.2s, color 0.2s;
}
.feature-tab-btn.active .tab-arrow {
    color: var(--accent);
    transform: translateX(2px);
}

/* Showcase Display Box (Kanan) */
.feature-showcase-display {
    background: #0b1120 !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    min-height: 420px;
    display: flex;
    flex-direction: column;
}
.showcase-panel {
    display: none;
    flex-direction: column;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.showcase-panel.active {
    display: flex;
    opacity: 1;
}

.mockup-header {
    background: rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.mockup-dots { display: flex; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.mockup-title {
    font-size: 13px;
    font-weight: 600;
    color: #94a3b8;
    flex: 1;
    font-family: var(--font-mono, monospace);
}
.mockup-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
}
.badge-purple { background: rgba(168, 85, 247, 0.2); color: #c084fc; }
.badge-emerald { background: rgba(16, 185, 129, 0.2); color: #34d399; }
.badge-sky { background: rgba(56, 189, 248, 0.2); color: #38bdf8; }
.badge-rose { background: rgba(244, 63, 94, 0.2); color: #fb7185; }

.mockup-body {
    padding: 24px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

/* Demo OCR Panel */
.demo-ocr-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
    align-items: center;
}
.demo-ktp-card {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 12px;
    padding: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}
.ktp-laser-scanner {
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: #38bdf8;
    box-shadow: 0 0 15px #38bdf8, 0 0 30px #38bdf8;
    animation: ktpScan 2.5s infinite ease-in-out;
}
@keyframes ktpScan {
    0% { top: 0; }
    50% { top: 96%; }
    100% { top: 0; }
}
.ktp-chip-gold {
    width: 24px; height: 18px; background: #fbbf24; border-radius: 3px; margin-bottom: 8px;
}
.ktp-head { font-size: 11px; font-weight: 800; color: #38bdf8; letter-spacing: 0.05em; }
.ktp-sub { font-size: 8px; color: #94a3b8; margin-bottom: 12px; }
.ktp-body-layout { display: flex; gap: 12px; align-items: center; }
.ktp-photo-box {
    width: 44px; height: 56px; background: #334155; border-radius: 6px;
    display: flex; align-items: center; justify-content: center; color: #64748b;
}
.ktp-text-lines { display: flex; flex-direction: column; gap: 4px; font-size: 9px; color: #cbd5e1; }
.ktp-line.bold { font-weight: 700; color: #ffffff; font-size: 10px; }

.demo-ocr-result {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 18px;
}
.result-header {
    display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: #c084fc; margin-bottom: 14px;
}
.icon-sparkle { width: 16px; height: 16px; color: #c084fc; }
.result-item { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; }
.item-label { font-size: 11px; color: #94a3b8; }
.item-val { font-size: 13.5px; font-weight: 600; color: #f8fafc; display: flex; align-items: center; gap: 6px; }
.icon-shield { width: 14px; height: 14px; color: #34d399; }
.badge-status.status-green {
    font-size: 11px; font-weight: 600; color: #34d399; background: rgba(16, 185, 129, 0.15); padding: 3px 8px; border-radius: 6px; display: inline-block; width: fit-content;
}

/* Demo QRIS Panel */
.demo-qris-grid {
    display: grid; grid-template-columns: 200px 1fr; gap: 20px; width: 100%; align-items: center;
}
.demo-qris-card {
    background: #ffffff; color: #0f172a; border-radius: 14px; padding: 16px; text-align: center;
}
.qris-brand { font-weight: 800; font-size: 16px; color: #ed1c24; }
.qris-sub { font-size: 9px; color: #64748b; display: block; margin-bottom: 8px; }
.qris-qr-box { padding: 8px; background: #f8fafc; border-radius: 8px; display: inline-block; margin-bottom: 8px; }
.qris-merchant { font-size: 11px; font-weight: 700; color: #1e293b; }
.qris-amount { font-size: 10px; color: #64748b; margin-top: 2px; }

.demo-kas-stats { display: flex; flex-direction: column; gap: 14px; }
.kas-stat-card {
    background: rgba(30, 41, 59, 0.7); border: 1px solid rgba(16, 185, 129, 0.3); border-radius: 12px; padding: 14px 18px;
}
.kas-label { font-size: 11px; color: #94a3b8; display: block; }
.kas-val { font-size: 22px; font-weight: 800; color: #34d399; display: block; margin-top: 2px; }
.kas-trend { font-size: 11px; color: #34d399; font-weight: 600; }

.kas-recent-list { background: rgba(30, 41, 59, 0.5); border-radius: 12px; padding: 12px; }
.recent-title { font-size: 11px; font-weight: 700; color: #94a3b8; margin-bottom: 8px; text-transform: uppercase; }
.recent-item { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.recent-item:not(:last-child) { border-bottom: 1px solid rgba(255,255,255,0.06); }
.recent-avatar {
    width: 28px; height: 28px; border-radius: 50%; background: #3b82f6; color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.recent-info { flex: 1; }
.recent-name { font-size: 12px; font-weight: 600; color: #f8fafc; }
.recent-date { font-size: 10px; color: #94a3b8; }
.recent-amount { font-size: 12px; font-weight: 700; color: #34d399; }

/* Demo Rumah Panel */
.demo-rumah-layout {
    display: grid;
    grid-template-columns: 1fr 180px;
    gap: 20px;
    width: 100%;
    align-items: stretch;
}
.rumah-detail-card {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 14px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.rumah-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.rumah-block-tag {
    font-size: 15px;
    font-weight: 800;
    color: #fbbf24;
    display: flex;
    align-items: center;
    gap: 6px;
}
.rumah-owner-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.info-label { font-size: 11px; color: #94a3b8; }
.info-val { font-size: 13px; font-weight: 600; color: #f8fafc; }

.rumah-penghuni-section { display: flex; flex-direction: column; gap: 8px; }
.penghuni-title { font-size: 11px; font-weight: 600; color: #cbd5e1; }
.penghuni-tags-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.penghuni-tag {
    font-size: 11px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: #f1f5f9;
    padding: 4px 10px;
    border-radius: 6px;
}
.penghuni-tag.tag-kk {
    background: rgba(251, 191, 36, 0.15);
    border-color: rgba(251, 191, 36, 0.3);
    color: #fbbf24;
    font-weight: 600;
}

.rumah-stats-side {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 14px;
    padding: 14px;
}
.rumah-stat-mini { display: flex; flex-direction: column; gap: 2px; }
.mini-label { font-size: 10px; color: #94a3b8; }
.mini-val { font-size: 20px; font-weight: 800; color: #f8fafc; }

.status-breakdown-mini { display: flex; flex-direction: column; gap: 6px; font-size: 11px; color: #cbd5e1; }
.b-item { display: flex; align-items: center; gap: 6px; }
.b-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.bg-green { background: #10b981; }
.bg-amber { background: #f59e0b; }
.bg-slate { background: #64748b; }
.bg-blue { background: #3b82f6; }

/* Demo Warga Panel */
.demo-warga-container { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.warga-table-mockup {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 14px;
    overflow: hidden;
}
.warga-table-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 80px;
    padding: 10px 14px;
    align-items: center;
    gap: 12px;
    font-size: 12px;
}
.warga-table-row:not(:last-child) { border-bottom: 1px solid rgba(255,255,255,0.06); }
.warga-table-row.table-head {
    background: rgba(15, 23, 42, 0.8);
    font-weight: 700;
    color: #94a3b8;
    font-size: 11px;
}
.warga-name-col { display: flex; flex-direction: column; gap: 1px; color: #f8fafc; }
.warga-name-col small { font-size: 10px; color: #94a3b8; }
.col-text { color: #cbd5e1; }
.badge-status.status-blue {
    font-size: 11px; font-weight: 600; color: #38bdf8; background: rgba(56, 189, 248, 0.15); padding: 3px 8px; border-radius: 6px; display: inline-block; width: fit-content;
}

.warga-action-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 4px;
}
.warga-total-count {
    font-size: 12px; color: #94a3b8; display: flex; align-items: center; gap: 6px;
}
.warga-total-count svg { width: 14px; height: 14px; color: #38bdf8; }
.btn-export-csv {
    font-size: 11px; font-weight: 700; background: rgba(56, 189, 248, 0.15); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.3); padding: 4px 10px; border-radius: 6px; display: flex; align-items: center; gap: 4px; cursor: pointer;
}
.btn-export-csv svg { width: 12px; height: 12px; }

/* Demo Approval Panel */
.demo-approval-list { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.approval-card-item {
    background: rgba(30, 41, 59, 0.7); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.approval-user-info { display: flex; align-items: center; gap: 12px; }
.approval-avatar {
    width: 36px; height: 36px; border-radius: 50%; background: #8b5cf6; color: #fff; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center;
}
.approval-avatar.bg-amber { background: #f59e0b; }
.approval-name { font-size: 14px; font-weight: 700; color: #f8fafc; }
.badge-mini { font-size: 10px; font-weight: 600; background: rgba(255,255,255,0.1); color: #cbd5e1; padding: 2px 6px; border-radius: 4px; margin-left: 6px; }
.approval-sub { font-size: 11px; color: #94a3b8; margin-top: 2px; }
.approval-actions { display: flex; gap: 8px; }
.btn-approve-demo {
    background: #10b981; color: #fff; border: none; padding: 6px 12px; border-radius: 6px; font-size: 11px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 4px;
}
.btn-reject-demo {
    background: rgba(239, 68, 68, 0.15); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.3); padding: 6px 10px; border-radius: 6px; font-size: 11px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 4px;
}

@media (max-width: 900px) {
    .feature-showcase-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .demo-ocr-grid, .demo-qris-grid {
        grid-template-columns: 1fr;
    }
    .approval-card-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .approval-actions {
        width: 100%;
    }
    .btn-approve-demo, .btn-reject-demo {
        flex: 1;
        justify-content: center;
    }
}

/* ── KALKULATOR ROI EFISIENSI ──────────── */
.section-roi-calculator {
    padding: 80px 24px;
    background: var(--bg-section-alt);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}
.roi-container {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 36px;
    align-items: stretch;
    margin-top: 40px;
}

/* Sisi Kiri: Controls */
.roi-controls {
    background: var(--bg-paper);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: space-between;
}
.roi-input-group { display: flex; flex-direction: column; gap: 10px; }
.roi-label-row { display: flex; align-items: center; justify-content: space-between; }
.roi-input-label { font-size: 14px; font-weight: 700; color: var(--fg-primary); }
.roi-badge-val {
    font-size: 16px;
    font-weight: 800;
    color: var(--accent, #FF6B47);
    background: rgba(255, 107, 71, 0.1);
    padding: 4px 12px;
    border-radius: 999px;
}

.roi-slider-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 6px;
    background: var(--border-subtle);
    outline: none;
    cursor: pointer;
}
.roi-slider-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent, #FF6B47);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255, 107, 71, 0.4);
    border: 3px solid #ffffff;
    transition: transform 0.15s ease;
}
.roi-slider-range::-webkit-slider-thumb:hover { transform: scale(1.15); }

.roi-slider-ticks {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--fg-tertiary);
}

.roi-method-group { display: flex; flex-direction: column; gap: 10px; }
.roi-method-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.roi-method-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 10px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-body);
    color: var(--fg-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}
.roi-method-btn i, .roi-method-btn svg { width: 14px; height: 14px; }
.roi-method-btn.active {
    border-color: var(--accent, #FF6B47);
    background: rgba(255, 107, 71, 0.08);
    color: var(--accent, #FF6B47);
    font-weight: 700;
}

.roi-summary-box {
    background: rgba(255, 107, 71, 0.06);
    border: 1px dashed rgba(255, 107, 71, 0.3);
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13px;
    color: var(--fg-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Sisi Kanan: Display Box */
.roi-results-display {
    background: #0b1120 !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}
.roi-results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.roi-stat-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px 18px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.roi-stat-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.2);
}
.roi-stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.roi-stat-icon i, .roi-stat-icon svg { width: 20px; height: 20px; }

.roi-stat-content { display: flex; flex-direction: column; }
.roi-stat-label { font-size: 12px; color: #94a3b8; }
.roi-stat-value { font-size: 22px; font-weight: 800; color: #ffffff; margin: 2px 0; }
.roi-stat-sub { font-size: 11px; color: #cbd5e1; }

.roi-cta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    gap: 16px;
    flex-wrap: wrap;
}
.roi-cta-bar span { font-size: 13.5px; color: #94a3b8; }
.btn-roi-cta {
    background: var(--accent, #FF6B47);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}
.btn-roi-cta:hover {
    background: #ff522b;
    box-shadow: 0 6px 20px rgba(255, 107, 71, 0.3);
}

@media (max-width: 900px) {
    .feature-showcase-container, .roi-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .demo-ocr-grid, .demo-qris-grid, .roi-results-grid {
        grid-template-columns: 1fr;
    }
    .approval-card-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .approval-actions, .roi-cta-bar {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .btn-approve-demo, .btn-reject-demo, .btn-roi-cta {
        flex: 1;
        justify-content: center;
    }
}

/* ── FOOTER ────────────────────────────── */
.footer {
    background: var(--bg-section-alt);
    border-top: 1px solid var(--border-subtle);
    padding: 64px 24px 0;
    margin-top: 40px;
}
.footer-inner { max-width: var(--content-max); margin: 0 auto; }
.footer-top {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
}
.footer-brand-col { max-width: 380px; }
.footer-logo-wrap { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.footer-logo-mark { width: 36px; height: 36px; border-radius: 9px; background: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.footer-logo-mark svg { width: 19px; height: 19px; color: #fff; }
.footer-logo-name { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; color: var(--fg-primary); }
.footer-tagline { font-size: 14px; line-height: 1.7; color: var(--fg-secondary); margin-bottom: 22px; }
.footer-tagline strong { color: var(--fg-primary); font-weight: 600; }
.footer-socials { display: flex; gap: 10px; }
.footer-social {
    width: 38px; height: 38px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--border-subtle); background: var(--bg-canvas);
    color: var(--fg-secondary); transition: all 0.2s var(--ease-out);
}
.footer-social:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.footer-social svg { width: 18px; height: 18px; }

.footer-col-title {
    font-size: 12px;
    font-family: var(--font-sans);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--fg-primary);
    margin-bottom: 16px;
}
.footer-col-links { display: flex; flex-direction: column; gap: 11px; }
.footer-link {
    font-size: 14px;
    color: var(--fg-secondary);
    text-decoration: none;
    transition: color 0.15s;
    width: fit-content;
    font-weight: 500;
}
.footer-link:hover { color: var(--fg-primary); }

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding: 22px 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.footer-copy { font-size: 13px; color: var(--fg-secondary); }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { font-size: 13px; color: var(--fg-secondary); text-decoration: none; transition: color 0.15s; font-weight: 500; }
.footer-legal a:hover { color: var(--fg-primary); text-decoration: underline; }

@media (max-width: 880px) {
    .footer-top { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
    .footer-brand-col { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 520px) {
    .footer { padding-top: 48px; }
    .footer-top { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ── VILLAGE SILHOUETTE ────────────────── */
.village-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.village-bg svg { position: absolute; bottom: 0; left: 0; width: 100%; height: auto; display: block; }
.village-bg .bg-far  { opacity: 0.16; }
.village-bg .bg-mid  { opacity: 0.30; }
.village-bg .bg-near { opacity: 0.13; }
.cta-section .village-bg .bg-far  { opacity: 0.10; }
.cta-section .village-bg .bg-mid  { opacity: 0.16; }
.cta-section .village-bg .bg-near { opacity: 0.10; }

/* ── ANIMATIONS ────────────────────────── */
.fade-in-up { opacity: 0; transform: translateY(24px); transition: all 0.6s var(--ease-out); }
.fade-in-up.visible { opacity: 1; transform: translateY(0); }

/* Right auth group */
.navbar-auth {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-self: end;
}
.navbar-auth-mobile { display: none; }

/* ── MOBILE ────────────────────────────── */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--fg-secondary);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.2s;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.mobile-menu-btn:hover { background: rgba(15,20,25,0.04); }
.mobile-menu-btn svg { width: 22px; height: 22px; flex-shrink: 0; pointer-events: none; }

@media (max-width: 768px) {
    .navbar-links { display: none; }
    .navbar-auth { display: none; }
    .mobile-menu-btn { display: flex; }
    .navbar-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: rgba(255,254,251,0.99);
        backdrop-filter: blur(20px);
        padding: 16px;
        border-bottom: 1px solid var(--border-subtle);
        gap: 4px;
        z-index: 99;
    }
    .navbar-links.open .navbar-auth-mobile {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-top: 8px;
        padding-top: 12px;
        border-top: 1px solid var(--border-subtle);
    }
    .features-grid { grid-template-columns: 1fr; }
    .features-grid--highlight { grid-template-columns: 1fr; }
    .features-extras__grid { gap: 8px; }
    .features-extras__chip { font-size: 13px; padding: 7px 14px; }
    .hero-actions, .cta-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
        align-items: center;
    }
    .btn-hero, .cta-actions .btn-hero {
        width: 100%;
        max-width: 100%;
        justify-content: center;
        margin-left: 0 !important;
        box-sizing: border-box;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid--highlight { grid-template-columns: repeat(2, 1fr); }
}

/* Lucide icon sizing */
[data-lucide], svg.lucide { width: 16px; height: 16px; }

/* ── SOCIAL PROOF / TESTIMONIALS ─────── */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.testimonial-card {
    padding: 28px;
    border-radius: 14px;
    background: var(--bg-paper);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s, transform 0.2s var(--ease-out);
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 16px;
    font-size: 18px;
    color: var(--accent);
    line-height: 1;
}

.testimonial-stars span { display: inline-block; }

.testimonial-quote {
    font-size: 15px;
    font-style: italic;
    color: var(--fg-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
}

.testimonial-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--fg-primary);
}

.testimonial-role {
    font-size: 13px;
    color: var(--fg-tertiary);
}

.trust-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: 32px 0 0;
}

.trust-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 0 40px;
    position: relative;
}

.trust-stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 4px;
    bottom: 4px;
    width: 1px;
    background: var(--border-subtle);
}

.trust-stat-value {
    font-family: var(--font-sans);
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--accent);
    line-height: 1;
}

.trust-stat-label {
    font-size: 13.5px;
    color: var(--fg-tertiary);
    font-weight: 500;
}

@media (max-width: 768px) {
    .testimonials-grid { grid-template-columns: 1fr; }
    .trust-stats { flex-direction: column; gap: 20px; }
    .trust-stat { padding: 0; }
    .trust-stat:not(:last-child)::after { display: none; }
}
