/* ========================================
   CSS Variables - Zinc + Green Color Scheme
   ======================================== */
:root {
    /* Zinc Color Palette */
    --zinc-50: #fafafa;
    --zinc-100: #f4f4f5;
    --zinc-200: #e4e4e7;
    --zinc-300: #d4d4d8;
    --zinc-400: #a1a1aa;
    --zinc-500: #71717a;
    --zinc-600: #52525b;
    --zinc-700: #3f3f46;
    --zinc-800: #27272a;
    --zinc-900: #18181b;
    --zinc-950: #09090b;

    /* Primary color - Green accent */
    --primary: #16a34a;
    --primary-foreground: #ffffff;
    --primary-50: #dcfce7;
    --primary-100: #bbf7d0;
    --primary-200: #86efac;
    --primary-300: #4ade80;
    --primary-400: #22c55e;
    --primary-500: #16a34a;
    --primary-600: #15803d;
    --primary-700: #166534;
    --primary-800: #14532d;
    --primary-900: #14532d;

    /* Secondary */
    --secondary: var(--zinc-100);
    --secondary-foreground: var(--zinc-900);

    /* Accent */
    --accent: var(--primary-500);
    --accent-foreground: var(--primary-foreground);

    /* Muted */
    --muted: var(--zinc-100);
    --muted-foreground: var(--zinc-500);

    /* Border */
    --border: var(--zinc-200);
    --border-light: var(--zinc-100);

    /* Background */
    --background: #ffffff;
    --background-alt: var(--zinc-50);
    --foreground: var(--zinc-900);

    /* Status colors */
    --success: #16a34a;
    --error: #ef4444;

    /* Second accent - stempel arsip (kuning kertas, bukan ungu generik) */
    --stamp: #b45309;
    --stamp-bg: #fef3c7;
    --stamp-border: #fde68a;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    /* Border radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1.5rem;

    /* Transitions */
    --transition: transform 0.2s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.2s cubic-bezier(0.23, 1, 0.32, 1), border-color 0.2s ease, background-color 0.2s ease;
    --transition-slow: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.3s ease, box-shadow 0.3s ease;
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

/* ========================================
   Reset & Base Styles
   ======================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

a {
    color: inherit;
    text-decoration: none;
}

::selection {
    background-color: var(--primary-100);
    color: var(--primary-900);
}

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

* {
    scrollbar-width: thin;
    scrollbar-color: var(--zinc-300) transparent;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
    box-shadow: 0 1px 2px rgb(22 163 74 / 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-700);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-primary:active,
.btn-outline:active {
    transform: scale(0.97);
}

@media (hover: hover) and (pointer: fine) {
    .btn-primary:hover {
        transform: translateY(-1px);
    }
}

.btn-outline {
    background-color: transparent;
    color: var(--foreground);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    background-color: var(--muted);
    border-color: var(--zinc-300);
    transform: translateY(-1px);
}

/* White outline button with primary border — used for the Google Play CTA in hero */
.btn-outline-light {
    background-color: #ffffff;
    border: 1px solid var(--primary);
    color: var(--primary);
    box-shadow: 0 1px 2px rgb(22 163 74 / 0.15);
}

.btn-outline-light:hover {
    background-color: var(--primary-50);
    border-color: var(--primary-600);
    color: var(--primary-600);
    transform: translateY(-1px);
}

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
}

/* ========================================
   Navigation
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 0;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    transition: var(--transition);
}

.nav-scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
    padding: 0.75rem 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--foreground);
}

.nav-logo svg {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--zinc-600);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--foreground);
}

.nav-cta {
    display: none;
}

/* Hamburger toggle button */
.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 101;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--zinc-700);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav-links (slide-down menu) */
.nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    padding: 1rem 1.5rem 1.5rem;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

.nav-links.open {
    display: flex;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--zinc-600);
    transition: var(--transition);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
}

.nav-links a:last-child {
    border-bottom: none;
}

.nav-links a:hover {
    color: var(--foreground);
}

.nav-cta-mobile {
    margin-top: 0.5rem;
    width: 100%;
    text-align: center;
}

@media (min-width: 1024px) {
    .nav-toggle {
        display: none;
    }

    .nav-cta {
        display: inline-flex;
    }

    .nav-cta-mobile {
        display: none;
    }

    .nav-links {
        display: flex;
        flex-direction: row;
        position: static;
        background: none;
        backdrop-filter: none;
        padding: 0;
        gap: 2rem;
        border-bottom: none;
        box-shadow: none;
    }

    .nav-links a {
        font-size: 0.9375rem;
        padding: 0;
        border-bottom: none;
    }
}

@media (min-width: 1024px) {
    .nav-links {
        display: flex;
    }
}

/* ========================================
   Nav dropdown (submenu)
   ======================================== */
.nav-item {
    position: relative;
}

/* Area hover .nav-item diperpanjang 0.85rem ke bawah memakai padding,
   dengan margin negatif supaya tinggi layout tetap sama. Celah visual
   tetap ada, tapi pointer tidak lagi keluar dari .nav-item saat menyeberang
   menuju panel — sehingga dropdown tidak tertutup di tengah jalan.
   Hanya desktop; di bawah 1024px submenu mengalir di dalam panel menu. */
@media (min-width: 1024px) {
    .nav-item {
        padding-bottom: 0.85rem;
        margin-bottom: -0.85rem;
    }
}

.nav-link-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--zinc-600);
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.nav-link-toggle:hover,
.nav-item.is-open>.nav-link-toggle {
    color: var(--foreground);
}

.nav-caret {
    width: 0.4rem;
    height: 0.4rem;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translate(-1px, -1px);
    transition: transform 0.2s var(--ease-out);
}

.nav-item.is-open .nav-caret {
    transform: rotate(225deg) translate(-1px, -1px);
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    min-width: 15rem;
    padding: 0.4rem;
    background-color: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown,
.nav-item.is-open .nav-dropdown {
    display: block;
}

.nav-dropdown a {
    display: block;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: var(--zinc-700);
    white-space: nowrap;
    border-bottom: none;
    border-radius: var(--radius-sm);
}

.nav-dropdown a:hover {
    background-color: var(--zinc-100);
    color: var(--foreground);
}

/* Di bawah 1024px submenu ikut mengalir di panel menu, tidak melayang */
@media (max-width: 1023px) {
    .nav-dropdown {
        position: static;
        transform: none;
        min-width: 0;
        margin: 0.25rem 0 0.5rem;
        padding: 0 0 0 0.75rem;
        background: none;
        border: none;
        border-left: 1px solid var(--border);
        border-radius: 0;
        box-shadow: none;
    }

    .nav-dropdown a {
        padding: 0.6rem 0.5rem;
        font-size: 0.9375rem;
    }

    .nav-link-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 0.75rem 0;
        font-size: 1rem;
        border-bottom: 1px solid var(--border-light);
    }
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    padding: 9.5rem 0 5.5rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(22, 163, 74, 0.16), transparent),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(34, 197, 94, 0.1), transparent),
        linear-gradient(to bottom, transparent 65%, var(--background-alt));
    z-index: -1;
}

.hero-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgb(228 231 236 / 0.55) 1px, transparent 1px),
        linear-gradient(rgb(228 231 236 / 0.55) 1px, transparent 1px);
    background-size: 52px 52px;
    -webkit-mask-image: linear-gradient(#000 55%, transparent);
    mask-image: linear-gradient(#000 55%, transparent);
}

.hero-container {
    text-align: center;
    padding-top: 40px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    background-color: var(--zinc-100);
    border-radius: 9999px;
    font-size: 0.875rem;
    color: var(--zinc-600);
    margin-bottom: 1.5rem;
}

.badge {
    background-color: var(--zinc-200);
    color: var(--zinc-700);
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.hero-title {
    font-size: 2.4rem;
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.03em;
    text-wrap: balance;
    margin-bottom: 1.25rem;
    color: var(--zinc-900);
}

.hero-title strong {
    font-weight: 800;
    color: var(--primary-700);
}

.gradient-text {
    color: var(--primary-600);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--zinc-500);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.hero-description strong {
    color: var(--zinc-800);
    font-weight: 600;
}

.play-badge {
    display: inline-block;
    transition: var(--transition);
}

.play-badge:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 6px 12px rgb(0 0 0 / 0.18));
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}



/* ========================================
   Section Styles
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    background-color: var(--primary-50);
    border: 1px solid var(--primary-100);
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--primary-700);
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-wrap: balance;
    margin-bottom: 1rem;
    color: var(--zinc-900);
}

.section-description {
    font-size: 1.125rem;
    color: var(--zinc-500);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   Breadcrumb
   ======================================== */
.breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.8125rem;
    color: var(--zinc-500);
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.breadcrumb li+li::before {
    content: "/";
    color: var(--zinc-400);
}

.breadcrumb a {
    color: var(--zinc-500);
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--foreground);
    text-decoration: underline;
}

/* ========================================
   Related pages (cross-link antar halaman)
   ======================================== */
.related-pages {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.related-label {
    margin-bottom: 0.5rem;
    font-size: 0.8125rem;
    color: var(--zinc-500);
}

.related-pages ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.related-pages a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-700);
    transition: var(--transition);
}

.related-pages a:hover {
    color: var(--primary-900);
    text-decoration: underline;
}

/* URL halaman use-case di kartu hub */
.use-case-url {
    margin-top: 0.25rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.75rem;
    color: var(--zinc-400);
    word-break: break-all;
}

/* Grid 2x2 untuk halaman hub yang memuat 4 kartu */
@media (min-width: 768px) {
    .features-grid.is-two-col {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   Features Section
   ======================================== */
.home > section:nth-child(odd):not(.hero) {
    background-color: var(--background-alt);
}

.home > section:nth-child(even) {
    background-color: var(--background);
}

.features {
    padding: 6rem 0;
    background-color: var(--background);
    border-top: 1px solid var(--border);
}

.preview-wrapper {
    position: relative;
    max-width: 960px;
    margin: 0 auto 4rem;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background-color: var(--background);
    box-shadow:
        0 24px 48px -12px rgb(0 0 0 / 0.16),
        0 12px 24px -12px rgb(0 0 0 / 0.1);
}

.preview-wrapper::before {
    content: "";
    display: block;
    height: 44px;
    background-color: var(--zinc-100);
    background-image:
        radial-gradient(circle 5px at 22px 22px, #ef4444 98%, transparent 100%),
        radial-gradient(circle 5px at 42px 22px, #eab308 98%, transparent 100%),
        radial-gradient(circle 5px at 62px 22px, #22c55e 98%, transparent 100%);
    background-repeat: no-repeat;
    border-bottom: 1px solid var(--border);
}

.preview-image {
    display: block;
    width: 100%;
    height: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

/* ========================================
   For Everyone Section
   ======================================== */
.for-everyone {
    padding: 80px 0;
    background-color: var(--background-alt);
}

.for-everyone-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .for-everyone-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.for-everyone-card {
    padding: 2rem;
    background-color: var(--background);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    text-align: center;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.for-everyone-card:hover {
    border-color: var(--border);
    transform: translateY(-4px);
}

.for-everyone-icon {
    width: 60px;
    height: 60px;
    background-color: var(--background-alt);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: var(--primary);
}

.for-everyone-title {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--foreground);
    margin-bottom: 0.75rem;
}

.for-everyone-description {
    font-size: 0.9375rem;
    color: var(--muted-foreground);
    line-height: 1.65;
}

.for-everyone-highlights {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2.5rem;
    padding: 2rem;
    background-color: var(--background);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: var(--muted-foreground);
    font-size: 0.9375rem;
}

.highlight-icon {
    width: 26px;
    height: 26px;
    background-color: color-mix(in srgb, var(--primary) 15%, transparent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.use-case-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.use-case-card {
    padding: 1.25rem 1.25rem 1.35rem;
    background-color: var(--zinc-900);    border-radius: var(--radius-xl);
    border: 1px solid var(--zinc-800);
    box-shadow: none;
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.5s var(--ease-out),
        transform 0.5s var(--ease-out),
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.use-case-card:hover {
    border-color: var(--zinc-700);
    box-shadow: 0 12px 32px -12px rgb(0 0 0 / 0.6);
    transform: translateY(-4px);
}

.use-case-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.use-case-card .feature-title {
    color: #ffffff;
}

.use-case-card .feature-description {
    color: var(--zinc-400);
}

.use-case-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    background-color: rgba(34, 197, 94, 0.14);
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, 0.28);
    margin-bottom: 0.75rem;
}

.use-case-tag-once {
    background-color: var(--stamp-bg);
    color: var(--stamp);
    border-color: var(--stamp-border);
}

.use-case-tag-flex {
    background-color: var(--zinc-800);
    color: var(--zinc-200);
    border-color: var(--zinc-700);
}

.use-case-footnote {
    text-align: center;
    font-size: 0.9375rem;
    color: var(--zinc-400);
    margin-top: 2rem;
}

@media (min-width: 640px) {
    .use-case-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .use-case-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ========================================
   Compare Section
   ======================================== */
.compare {
    padding: 6rem 0;
    background-color: var(--background);
    border-top: 1px solid var(--border);
}

.compare-wrapper {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

.compare-table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.compare-table th,
.compare-table td {
    padding: 1rem 1.25rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--border-light);
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
    border-bottom: none;
}

.compare-table thead th {
    background-color: var(--background-alt);
    font-weight: 600;
    color: var(--zinc-900);
    white-space: nowrap;
}

.compare-table thead th.app-col {
    background-color: var(--primary-800);
    color: #ffffff;
}

.compare-table tbody th {
    font-weight: 600;
    color: var(--zinc-900);
    white-space: nowrap;
}

.compare-table td {
    color: var(--zinc-500);
}

.compare-table td.app-col {
    background-color: #f0fdf4;
    font-weight: 500;
    color: var(--zinc-800);
}

.compare-caption {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--zinc-400);
    margin-top: 1rem;
}

@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    padding: 1.5rem;
    background-color: var(--background);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-card > .btn {
    margin-top: 0.75rem;
    align-self: flex-start;
}

.feature-card:hover {
    border-color: var(--zinc-300);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: var(--primary-800);
    border: 1px solid var(--primary-800);
    border-radius: var(--radius-md);
    color: #ffffff;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--zinc-900);
}

.feature-description {
    font-size: 0.9375rem;
    color: var(--zinc-500);
    line-height: 1.6;
}

.feature-example {
    margin-top: 0.75rem;
    padding: 0.625rem 0.75rem;
    background-color: var(--background-alt);
    border-left: 3px solid var(--primary);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-size: 0.875rem;
    color: var(--zinc-600);
    line-height: 1.6;
}

.features-grid + .btn,
.products .features-grid ~ .btn,
.use-cases .features-grid ~ .btn {
    margin-top: 1.5rem;
    display: inline-block;
}

.use-cases .section-footer .btn + .btn {
    margin-left: 0.5rem;
}

.hero-note {
    font-size: 0.875rem;
    color: var(--zinc-500);
    margin: 1rem 0 2.5rem;
}

.phone-mockup-hero {
    margin-bottom: 0.75rem;
    animation: riseIn 0.7s ease-out both;
}

@keyframes riseIn {
    from {
        opacity: 0;
        transform: translateY(36px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Use Cases Section
   ======================================== */
.use-cases {
    padding: 6rem 0;
    background-color: var(--background);
    border-top: 1px solid var(--border);
}

/* ========================================
   Phone mockup (illustration, not a screenshot)
   ======================================== */
.phone-mockup {
    max-width: 320px;
    margin: 0 auto;
    background-color: var(--zinc-900);
    border-radius: 2rem;
    padding: 0.75rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--zinc-800);
}

.phone-notch {
    width: 120px;
    height: 20px;
    background-color: var(--zinc-950);
    border-radius: 0 0 0.75rem 0.75rem;
    margin: 0 auto 0.75rem;
}

.phone-screen {
    background-color: #ffffff;
    border-radius: 1.25rem;
    padding: 1rem;
    text-align: left;
}

.phone-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--zinc-900);
}

.phone-subtitle {
    font-size: 0.75rem;
    color: var(--zinc-500);
    margin-bottom: 0.75rem;
}

.phone-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    margin-bottom: 0.5rem;
}

.phone-name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--zinc-900);
}

.phone-meta {
    font-size: 0.75rem;
    color: var(--zinc-500);
}

.phone-pill {
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
    white-space: nowrap;
}

.phone-pill-paid {
    background-color: var(--primary-50);
    color: var(--primary-700);
}

.phone-pill-due {
    background-color: #fef3c7;
    color: #92400e;
}

.phone-cta {
    margin-top: 0.75rem;
    background-color: var(--primary);
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    padding: 0.625rem;
    border-radius: var(--radius-md);
}

.mockup-caption {
    font-size: 0.75rem;
    color: var(--zinc-500);
    margin-top: 0.75rem;
    margin-bottom: 2rem;
}

/* ========================================
   Community strip (marquee, data asli)
   ======================================== */
.community-strip {
    padding: 0 0 3rem;
    background-color: transparent;
}

.hero .community-strip {
    padding: 2.5rem 0 0;
}

.hero .strip-label {
    font-size: 0.75rem;
    margin-bottom: 0.9rem;
}

.hero .marquee-item {
    font-size: 1rem;
    padding: 0.5rem 0.9rem;
}

.strip-label {
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--zinc-500);
    margin-bottom: 1.25rem;
}

.marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.marquee:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-item {
    white-space: nowrap;
    margin-right: 0.75rem;
    padding: 0.625rem 1.1rem;
    border: 1px solid var(--border);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--zinc-600);
    background-color: var(--background);
}

@keyframes marquee {
    to {
        transform: translateX(-50%);
    }
}

.gratis {
    padding: 6rem 0;
    background-color: var(--zinc-50);
    border-top: 1px solid var(--border);
}

.products {
    padding: 6rem 0;
    background-color: var(--zinc-50);
    border-top: 1px solid var(--border);
}

.gratis-title {
    color: var(--zinc-900);
}

.gratis-description {
    color: var(--zinc-500);
}

.gratis-link {
    color: var(--primary-700);
}

.gratis-inner {
    text-align: center;
    max-width: 720px;
}

.gratis-title {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-wrap: balance;
}

.gratis-description {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.gratis-link {
    display: block;
    margin-top: 1.25rem;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 4px;
}

@media (min-width: 768px) {
    .gratis-title {
        font-size: 2.5rem;
    }
}

/* ========================================
   How It Works Section
   ======================================== */
.how-it-works {
    padding: 6rem 0;
    background-color: var(--background-alt);
}

.steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    justify-items: center;
}

@media (min-width: 640px) {
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .steps {
        grid-template-columns: repeat(4, 1fr);
    }
}

.step {
    flex: 1;
    max-width: 300px;
    text-align: center;
}

.step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background-color: var(--primary);
    border-radius: 50%;
    color: var(--primary-foreground);
    margin-bottom: 1.5rem;
}

.step-title {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--zinc-900);
}

.step-description {
    font-size: 0.9375rem;
    color: var(--zinc-500);
    line-height: 1.6;
}

/* ========================================
   CTA Section - penutup gelap agar tidak kembar dengan gratis
   ======================================== */
.cta {
    padding: 6rem 0;
    background-color: var(--zinc-50);
}

.cta-flat-inner {
    text-align: center;
    max-width: 720px;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--zinc-900);
}

.cta-description {
    font-size: 1.125rem;
    color: var(--zinc-600);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.cta-button {
    background-color: var(--zinc-50) !important;
    color: var(--zinc-900) !important;
}

.cta-button:hover {
    background-color: var(--zinc-200) !important;
}

/* ========================================
   Pricing Section
   ======================================== */
.pricing {
    padding: 80px 0;
    background: var(--zinc-50);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
    gap: 24px;
    margin-top: 48px;
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid var(--zinc-200);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card.popular {
    border-color: var(--primary);
    border-width: 2px;
    box-shadow: var(--shadow-xl);
    z-index: 1;
}

.pricing-card.popular:hover {
    transform: translateY(-8px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--zinc-200);
}

.pricing-name {
    font-size: 20px;
    font-weight: 500;
    color: var(--zinc-800);
    margin-bottom: 12px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}

.price-currency {
    font-size: 20px;
    font-weight: 500;
    color: var(--zinc-600);
}

.price-amount {
    font-size: 40px;
    font-weight: 700;
    color: var(--zinc-900);
}

.price-period {
    font-size: 14px;
    color: var(--zinc-500);
}

.pricing-description {
    font-size: 14px;
    color: var(--zinc-500);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    flex-grow: 1;
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 14px;
    color: var(--zinc-700);
}

.pricing-feature svg {
    flex-shrink: 0;
    color: var(--primary);
}

.pricing-feature.disabled {
    color: var(--zinc-400);
}

.pricing-feature.disabled svg {
    color: var(--zinc-300);
}

.pricing-card .btn {
    width: 100%;
    justify-content: center;
}

.custom-contact {
    max-width: 640px;
    margin: 4rem auto 0;
    text-align: center;
    padding: 2.5rem 2rem;
    background-color: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

.custom-contact-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--zinc-900);
    margin-bottom: 0.5rem;
}

.custom-contact-description {
    font-size: 0.9375rem;
    color: var(--zinc-500);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.pricing-card.popular .btn {
    background: var(--primary);
    color: white;
}

.pricing-card.popular .btn:hover {
    background: var(--primary-700);
}

/* ========================================
   FAQ Section
   ======================================== */
.faq {
    padding: 80px 0;
    background: white;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    padding: 24px;
    background: var(--zinc-50);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: var(--zinc-100);
    border-color: var(--zinc-200);
}

.faq-question {
    font-size: 16px;
    font-weight: 500;
    color: var(--zinc-800);
    margin-bottom: 12px;
}

.faq-answer {
    font-size: 14px;
    color: var(--zinc-600);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 1140px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 720px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 640px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Footer
   ======================================== */
.footer {
    padding: 4rem 0 2rem;
    background-color: var(--zinc-950);
    border-top: 1px solid var(--border);
}

.footer .footer-brand a.nav-logo span {
    color: var(--primary-700);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr 2fr;
    }
}

.footer-brand {
    max-width: 300px;
}

.footer-tagline {
    font-size: 0.9375rem;
    color: var(--zinc-400);
    margin-top: 1rem;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (min-width: 640px) {
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-column h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--zinc-100);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-column a {
    display: block;
    font-size: 0.9375rem;
    color: var(--zinc-400);
    transition: var(--transition);
}

.footer-column a:hover {
    color: #ffffff;
}

.footer-about {
    padding-top: 1.5rem;
}

.footer-about p {
    font-size: 0.875rem;
    line-height: 1.75;
    color: var(--zinc-500);
    max-width: 65rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--zinc-400);
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.for-everyone-card,
.step,
.pricing-card,
.faq-item {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.5s ease,
        transform 0.5s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease,
        background-color 0.3s ease;
}

.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delays */
.feature-card:nth-child(1) { transition-delay: 0.1s; }
.feature-card:nth-child(2) { transition-delay: 0.2s; }
.feature-card:nth-child(3) { transition-delay: 0.3s; }
.feature-card:nth-child(4) { transition-delay: 0.4s; }
.feature-card:nth-child(5) { transition-delay: 0.5s; }
.feature-card:nth-child(6) { transition-delay: 0.6s; }

/* ========================================
   Responsive Typography
   ======================================== */
@media (max-width: 639px) {
    .hero {
        padding: 6rem 0 3rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-description {
        font-size: 1rem;
    }

    .features,
    .use-cases,
    .for-everyone,
    .how-it-works,
    .faq,
    .cta {
        padding: 3.5rem 0;
    }

    .preview-wrapper {
        margin-bottom: 2.5rem;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .cta-description {
        font-size: 1rem;
    }

    .footer {
        padding: 3rem 0 1.5rem;
    }
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }

    .cta-title {
        font-size: 2.5rem;
    }
}

/* ========================================
   Home refinement — cards, links, rhythm
   Scope: di bawah hero. Nav & hero tidak disentuh.
   ======================================== */
.products,
.features,
.account-types,
.use-cases,
.gratis,
.faq,
.cta {
    padding: 5rem 0;
}

.products,
.gratis {
    background-color: var(--zinc-50);
}

.features,
.use-cases,
.faq {
    background-color: var(--background);
}

.section-header {
    margin-bottom: 2.5rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 1.75rem;
    letter-spacing: -0.02em;
}

.section-description {
    font-size: 1rem;
    line-height: 1.7;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.125rem;
    }
}

.features-grid {
    gap: 1.25rem;
}

.feature-card {
    padding: 1.75rem;
    border-radius: 1rem;
    box-shadow: none;
    gap: 0;
}

.feature-card:hover {
    border-color: var(--zinc-300);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.feature-card .feature-title {
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.feature-card .feature-description {
    font-size: 0.9375rem;
    line-height: 1.7;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    margin-top: auto;
    padding-top: 1.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--primary-700);
    text-decoration: none;
}

.card-link::after {
    content: "→";
    transition: transform 0.2s var(--ease-out);
}

.card-link:hover {
    color: var(--primary-800);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.card-link:hover::after {
    transform: translateX(3px);
}

.feature-card > .card-link {
    align-self: flex-start;
}

.section-footer {
    margin-top: 2.25rem;
    text-align: center;
}

.text-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--zinc-600);
    text-decoration: underline;
    text-decoration-color: var(--zinc-300);
    text-underline-offset: 4px;
}

.text-link:hover {
    color: var(--zinc-900);
    text-decoration-color: var(--zinc-900);
}

.section-footer .btn {
    margin: 0 0.25rem;
}

.faq-item {
    background: var(--background);
}

.gratis .container {
    text-align: center;
    max-width: 720px;
}

/* ========================================
   Fitur detail pages (/fitur/{slug})
   ======================================== */
.breadcrumb {
    margin-bottom: 1.5rem;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    list-style: none;
    font-size: 0.875rem;
    color: var(--zinc-500);
}

.breadcrumb li {
    display: inline-flex;
    align-items: center;
}

.breadcrumb li + li::before {
    content: "/";
    margin-right: 0.5rem;
    color: var(--zinc-300);
}

.breadcrumb a {
    color: var(--zinc-500);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--primary-700);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.breadcrumb [aria-current="page"] {
    color: var(--zinc-700);
    font-weight: 500;
}

.feature-hero {
    padding: 8rem 0 4rem;
    background-color: var(--background);
    text-align: center;
}

.feature-hero-title {
    font-size: 2rem;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
    text-wrap: balance;
}

.feature-hero-lead {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--zinc-600);
    max-width: 680px;
    margin: 0 auto 2rem;
}

.feature-hero-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.feature-highlights {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    max-width: 720px;
    margin: 0 auto;
    text-align: left;
}

.feature-highlights li {
    position: relative;
    padding-left: 1.75rem;
    font-size: 0.9375rem;
    color: var(--zinc-700);
    line-height: 1.6;
}

.feature-highlights li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-600);
    font-weight: 700;
}

.feature-detail {
    padding: 5rem 0;
    background-color: var(--background);
}

.feature-detail-inner {
    max-width: 760px;
}

.feature-block + .feature-block {
    margin-top: 2.5rem;
}

.feature-block-title {
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.feature-block-text {
    color: var(--zinc-600);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.feature-benefits {
    list-style: none;
    display: grid;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.feature-benefits li {
    position: relative;
    padding-left: 1.75rem;
    color: var(--zinc-700);
    line-height: 1.6;
}

.feature-benefits li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-600);
    font-weight: 700;
}

.feature-faq {
    padding: 5rem 0;
    background-color: var(--background-alt);
    border-top: 1px solid var(--border);
}

.feature-related {
    padding: 5rem 0;
    background-color: var(--background);
}

@media (min-width: 640px) {
    .feature-highlights {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem 2rem;
    }
}

@media (max-width: 639px) {
    .feature-hero {
        padding: 7rem 0 3rem;
    }

    .feature-hero-title {
        font-size: 1.75rem;
    }

    .feature-detail,
    .feature-faq,
    .feature-related {
        padding: 3.5rem 0;
    }
}

/* ========================================
   Contact — form modern + panel info
   ======================================== */
.contact-section {
    padding: 8rem 0 5rem;
    background:
        radial-gradient(600px 240px at 50% -40px, var(--primary-50), transparent 70%),
        var(--background);
}

.contact-wrap {
    display: grid;
    gap: 1.5rem;
    max-width: 960px;
    margin: 2.5rem auto 0;
    align-items: start;
}

@media (min-width: 900px) {
    .contact-wrap {
        grid-template-columns: 1.6fr 1fr;
    }
}

.contact-card,
.contact-aside-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    box-shadow: var(--shadow-lg);
}

.contact-card {
    padding: 1.75rem;
}

@media (min-width: 640px) {
    .contact-card {
        padding: 2.25rem;
    }
}

.contact-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.375rem;
}

.contact-card-subtitle {
    font-size: 0.9375rem;
    color: var(--zinc-600);
    margin-bottom: 1.5rem;
}

.contact-form {
    display: grid;
    gap: 1.1rem;
}

.form-grid-2 {
    display: grid;
    gap: 1.1rem;
}

@media (min-width: 640px) {
    .form-grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}

.form-field {
    display: grid;
    gap: 0.45rem;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--zinc-800);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.form-label .required {
    color: var(--error);
    font-weight: 700;
}

.form-control-wrap {
    position: relative;
}

.form-control-wrap .form-icon {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.1rem;
    height: 1.1rem;
    color: var(--zinc-400);
    pointer-events: none;
}

.form-control-wrap textarea ~ .form-icon,
.form-control-wrap .form-icon-top {
    top: 0.95rem;
    transform: none;
}

.form-control {
    width: 100%;
    font: inherit;
    font-size: 0.95rem;
    color: var(--zinc-900);
    background: var(--zinc-50);
    border: 1.5px solid var(--zinc-200);
    border-radius: 0.875rem;
    padding: 0.85rem 1rem 0.85rem 2.75rem;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

textarea.form-control {
    min-height: 140px;
    resize: vertical;
    line-height: 1.6;
}

.form-control::placeholder {
    color: var(--zinc-400);
}

.form-control:hover {
    border-color: var(--zinc-300);
    background: #fff;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgb(22 163 74 / 0.14);
}

.form-control[aria-invalid="true"] {
    border-color: var(--error);
    background: #fef2f2;
}

.form-control[aria-invalid="true"]:focus {
    box-shadow: 0 0 0 4px rgb(239 68 68 / 0.12);
}

.form-hint {
    font-size: 0.8125rem;
    color: var(--zinc-500);
}

.form-error {
    font-size: 0.8125rem;
    color: #b91c1c;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.contact-alert {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.9rem 1rem;
    border-radius: 0.875rem;
    font-size: 0.9rem;
    line-height: 1.55;
    border: 1px solid;
}

.contact-alert-success {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #14532d;
}

.contact-alert-error {
    background: #fef2f2;
    border-color: #fecaca;
    color: #7f1d1d;
}

.contact-actions {
    display: grid;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.contact-actions .btn {
    width: 100%;
    padding: 0.95rem 1.5rem;
    border-radius: 0.9rem;
    font-size: 1rem;
    font-weight: 600;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.85rem 1.25rem;
    border-radius: 0.9rem;
    border: 1.5px solid #bbf7d0;
    background: #f0fdf4;
    color: #14532d;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.btn-whatsapp:hover {
    background: #dcfce7;
    border-color: var(--primary-400);
    transform: translateY(-1px);
}

.contact-aside {
    display: grid;
    gap: 1rem;
}

.contact-aside-card {
    padding: 1.4rem;
    box-shadow: var(--shadow-md);
}

.contact-aside-card h2 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.contact-aside-card p {
    font-size: 0.9rem;
    color: var(--zinc-600);
    line-height: 1.65;
}

.contact-aside-list {
    list-style: none;
    display: grid;
    gap: 0.9rem;
    margin-top: 1rem;
}

.contact-aside-list li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    font-size: 0.9rem;
    color: var(--zinc-700);
}

.contact-aside-icon {
    flex: none;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.75rem;
    display: grid;
    place-items: center;
    background: var(--primary-50);
    color: var(--primary-700);
}

.contact-aside-icon svg {
    width: 1.2rem;
    height: 1.2rem;
}

/* ========================================
   Reduced Motion
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
/* ========================================
   FAQ page redesign
   ======================================== */
.faq-page .faq-hero {
    padding: 8rem 0 3rem;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(22, 163, 74, 0.12), transparent),
        var(--background);
}

.faq-hero-inner {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.faq-hero .section-description {
    margin: 0 auto 1.75rem;
}

.faq-search {
    max-width: 620px;
    margin: 0 auto 2rem;
}

.faq-search-field {
    position: relative;
    display: flex;
    align-items: center;
}

.faq-search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-600);
    pointer-events: none;
    transition: color 0.18s ease, transform 0.18s ease;
}

.faq-search input {
    width: 100%;
    padding: 1.05rem 3.5rem 1.05rem 3.25rem;
    font: inherit;
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--zinc-900);
    background: #fff;
    border: 2px solid var(--zinc-300);
    border-radius: 9999px;
    box-shadow:
        0 10px 25px -5px rgb(22 163 74 / 0.12),
        0 4px 10px -2px rgb(24 24 27 / 0.06);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.faq-search input::placeholder {
    color: var(--zinc-400);
    font-weight: 400;
}

.faq-search input::-webkit-search-decoration,
.faq-search input::-webkit-search-cancel-button,
.faq-search input::-webkit-search-results-button,
.faq-search input::-webkit-search-results-decoration {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

.faq-search input:hover {
    border-color: var(--primary-400);
    box-shadow:
        0 12px 28px -5px rgb(22 163 74 / 0.16),
        0 6px 12px -2px rgb(24 24 27 / 0.08);
}

.faq-search input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow:
        0 0 0 4px rgb(22 163 74 / 0.16),
        0 12px 28px -5px rgb(22 163 74 / 0.2);
}

.faq-search-field:focus-within .faq-search-icon {
    color: var(--primary);
    transform: translateY(-50%) scale(1.06);
}

.faq-search-kbd {
    position: absolute;
    right: 1.125rem;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.75rem;
    height: 1.75rem;
    padding: 0 0.5rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--zinc-500);
    background: var(--zinc-100);
    border: 1px solid var(--zinc-200);
    border-bottom-width: 2px;
    border-radius: var(--radius-sm);
    pointer-events: none;
    user-select: none;
}

.faq-search-kbd[hidden] {
    display: none;
}

.faq-search-clear {
    position: absolute;
    right: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    color: var(--zinc-500);
    background: var(--zinc-100);
    border: 1px solid transparent;
    border-radius: 9999px;
    cursor: pointer;
    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.faq-search-clear:hover {
    color: var(--zinc-900);
    background: var(--zinc-200);
}

.faq-search-clear:focus-visible {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgb(22 163 74 / 0.2);
}

.faq-search-clear[hidden] {
    display: none;
}

.faq-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.faq-cat-link {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.85rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--zinc-600);
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 9999px;
    transition: var(--transition);
}

.faq-cat-link:hover {
    color: var(--primary-700);
    border-color: var(--primary-200);
    background: var(--primary-50);
}

.faq-content {
    padding: 3.5rem 0 5rem;
}

.faq-content-inner {
    max-width: 960px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: 3rem;
    scroll-margin-top: 6rem;
}

.faq-category-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
}

.faq-category-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: #fff;
    background: var(--primary);
    border-radius: 9999px;
    flex-shrink: 0;
}

.faq-category-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--zinc-900);
    letter-spacing: -0.02em;
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
}

.faq-category-count {
    font-size: 0.8125rem;
    color: var(--zinc-500);
    white-space: nowrap;
}

.faq-list {
    display: grid;
    gap: 0.75rem;
}

.faq-list .faq-item {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-list .faq-item:hover {
    border-color: var(--zinc-300);
    box-shadow: var(--shadow-md);
}

.faq-list .faq-item[open] {
    border-color: var(--primary-200);
}

.faq-list .faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 1.125rem 1.375rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--zinc-800);
    line-height: 1.4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.faq-list .faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-list .faq-item summary::after {
    content: "+";
    flex-shrink: 0;
    font-size: 1.375rem;
    font-weight: 400;
    color: var(--primary);
    transition: transform 0.2s var(--ease-out);
}

.faq-list .faq-item[open] summary::after {
    content: "\2212";
}

.faq-list .faq-item .faq-answer {
    padding: 0 1.375rem 1.25rem;
    font-size: 0.9375rem;
    color: var(--zinc-600);
    line-height: 1.7;
    margin: 0;
}

.faq-list .faq-item .faq-answer code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.875em;
    background: var(--zinc-100);
    padding: 0.125rem 0.375rem;
    border-radius: var(--radius-sm);
    color: var(--zinc-800);
}

.faq-empty {
    text-align: center;
    padding: 2rem;
    color: var(--zinc-500);
    background: var(--background-alt);
    border: 1px dashed var(--border);
    border-radius: var(--radius-xl);
}

.faq-source-note {
    margin-top: 2rem;
    padding: 1.25rem 1.5rem;
    background: var(--background-alt);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    color: var(--zinc-500);
}

.faq-source-note code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.875em;
    background: var(--zinc-100);
    padding: 0.125rem 0.375rem;
    border-radius: var(--radius-sm);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========================================
   Article Page (resource/guideline)
   ======================================== */
.article-page {
    background-color: var(--background);
}

.article-hero {
    padding: 8rem 0 3rem;
    text-align: center;
}

.article-hero .section-title {
    max-width: 46rem;
    margin-left: auto;
    margin-right: auto;
}

.article-hero .section-description {
    max-width: 42rem;
}

.article-body {
    max-width: 44rem;
    margin: 0 auto;
    padding-bottom: 6rem;
    line-height: 1.8;
    color: var(--zinc-700);
}

.article-body p {
    margin-bottom: 1.25rem;
}

.article-body strong {
    color: var(--zinc-900);
    font-weight: 600;
}

.article-body h2 {
    font-size: 1.375rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--zinc-900);
    margin: 3.5rem 0 1rem;
    text-wrap: balance;
}

/* Penomoran pedoman: angka hijau kecil di atas judul, via CSS counter */
.article-guidelines {
    counter-reset: guideline;
}

.article-guidelines > section {
    counter-increment: guideline;
}

.article-guidelines > section:first-child h2 {
    margin-top: 0;
}

.article-guidelines h2::before {
    content: counter(guideline, decimal-leading-zero);
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--primary-600);
    margin-bottom: 0.625rem;
}

.article-body ul,
.article-body ol {
    display: grid;
    gap: 0.5rem;
    margin: 0 0 1.25rem;
    padding-left: 1.375rem;
}

.article-body li {
    padding-left: 0.25rem;
}

.article-body li::marker {
    color: var(--primary-600);
    font-weight: 600;
}

.article-table {
    margin: 1.75rem 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow-x: auto;
}

.article-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.article-table th {
    background-color: var(--zinc-50);
    padding: 0.75rem 1.125rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--zinc-500);
}

.article-table td {
    padding: 0.875rem 1.125rem;
    border-bottom: 1px solid var(--border-light);
    color: var(--zinc-600);
    vertical-align: top;
}

.article-table td:first-child {
    font-weight: 500;
    color: var(--zinc-900);
    white-space: nowrap;
}

.article-table tbody tr:last-child td {
    border-bottom: none;
}

.article-table tbody tr:hover {
    background-color: var(--zinc-50);
}

@media (max-width: 640px) {
    .article-hero {
        padding: 7rem 0 2.25rem;
    }

    .article-body {
        padding-bottom: 4.5rem;
    }

    .article-body h2 {
        font-size: 1.25rem;
        margin: 2.75rem 0 0.875rem;
    }

    .article-table td:first-child {
        white-space: normal;
    }
}

@media (max-width: 640px) {
    .faq-search input {
        font-size: 1rem;
        padding: 0.9375rem 2.75rem 0.9375rem 3rem;
    }

    .faq-search-icon {
        left: 1.05rem;
    }

    .faq-search-kbd {
        display: none;
    }

    .faq-category-title {
        font-size: 1.125rem;
    }

    .faq-list .faq-item summary {
        font-size: 0.9375rem;
        padding: 1rem 1.125rem;
    }

    .faq-list .faq-item .faq-answer {
        padding: 0 1.125rem 1rem;
    }
}
