/* roulang page: index */
@theme {
            --color-brand: #6B4F3A;
            --color-brand-dark: #4A3426;
            --color-gold: #C6A15B;
            --color-cream: #F8F3EC;
            --color-cream-light: #FCFAF7;
            --color-ink: #2B2320;
            --color-muted: #6F645C;
            --font-sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, sans-serif;
            --shadow-card: 0 1px 2px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.06);
            --shadow-card-hover: 0 2px 4px rgba(0,0,0,0.06), 0 16px 40px rgba(0,0,0,0.10);
        }

:root {
            --brand: #6B4F3A;
            --brand-dark: #4A3426;
            --gold: #C6A15B;
            --gold-light: #D9BE8A;
            --cream: #F8F3EC;
            --cream-light: #FCFAF7;
            --ink: #2B2320;
            --muted: #6F645C;
            --card-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.06);
            --card-shadow-hover: 0 2px 4px rgba(0,0,0,0.06), 0 16px 40px rgba(0,0,0,0.10);
            --radius-xl: 20px;
            --radius-lg: 16px;
            --radius-pill: 999px;
        }
        * { box-sizing: border-box; }
        html, body { max-width: 100%; overflow-x: hidden; }
        body {
            font-family: var(--font-sans);
            background-color: var(--cream);
            color: var(--ink);
            line-height: 1.75;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }
        img { max-width: 100%; height: auto; display: block; object-fit: cover; }
        a { color: inherit; text-decoration: none; }
        button { font-family: inherit; }
        .container-site { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

        /* focus visibility */
        a:focus-visible, button:focus-visible {
            outline: 2px solid var(--gold);
            outline-offset: 3px;
            border-radius: 6px;
        }
        input:focus, textarea:focus {
            outline: none;
            border-color: var(--gold) !important;
            box-shadow: 0 0 0 3px rgba(198, 161, 91, 0.25);
        }

        /* hide scrollbar for horizontal scroll */
        .no-scrollbar::-webkit-scrollbar { display: none; }
        .no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

        /* bottom tab safe area */
        .safe-bottom { padding-bottom: env(safe-area-inset-bottom, 0px); }

        /* custom nav underline */
        .nav-link { position: relative; padding: 6px 2px; font-weight: 500; color: rgba(255,255,255,0.85); transition: color 0.2s ease; }
        .nav-link:hover { color: #fff; }
        .nav-link.active { color: #fff; }
        .nav-link.active::after {
            content: '';
            position: absolute;
            left: 0; right: 0; bottom: -4px;
            height: 2px; border-radius: 2px;
            background: var(--gold);
        }

        /* texture pattern for hero / dark sections */
        .texture-dark {
            background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.06) 0%, transparent 30%),
                              radial-gradient(circle at 80% 70%, rgba(198,161,91,0.10) 0%, transparent 35%);
        }

        /* gold gradient line */
        .gold-line {
            width: 48px; height: 3px; border-radius: 4px;
            background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
        }

        /* button primary gradient */
        .btn-primary {
            display: inline-flex; align-items: center; justify-content: center;
            background: linear-gradient(135deg, #6B4F3A 0%, #4A3426 100%);
            color: #fff; border-radius: 999px; padding: 14px 32px;
            font-weight: 600; font-size: 15px; letter-spacing: 0.02em;
            transition: transform 0.25s ease, box-shadow 0.25s ease;
            box-shadow: 0 4px 20px rgba(107, 79, 58, 0.30);
            border: none; cursor: pointer;
        }
        .btn-primary:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 8px 32px rgba(107, 79, 58, 0.40); }
        .btn-primary:active { transform: translateY(0) scale(1.0); }

        .btn-outline {
            display: inline-flex; align-items: center; justify-content: center;
            background: transparent; border: 1.5px solid rgba(255,255,255,0.65);
            color: #fff; border-radius: 999px; padding: 13px 32px;
            font-weight: 500; font-size: 15px;
            transition: all 0.25s ease;
        }
        .btn-outline:hover { background: rgba(255,255,255,0.10); border-color: #fff; }

        .btn-gold {
            display: inline-flex; align-items: center; justify-content: center;
            background: linear-gradient(135deg, #C6A15B 0%, #A9873E 100%);
            color: #fff; border-radius: 999px; padding: 12px 28px;
            font-weight: 600; font-size: 15px; border: none;
            transition: transform 0.25s ease, box-shadow 0.25s ease;
            box-shadow: 0 4px 16px rgba(198,161,91,0.35); cursor: pointer;
        }
        .btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(198,161,91,0.45); }

        .bg-brand-gradient {
            background: linear-gradient(135deg, #7A5C43 0%, #4A3426 60%, #3A2618 100%);
        }

        /* section eyebrow */
        .eyebrow {
            display: inline-flex; align-items: center; gap: 8px;
            color: var(--gold); font-size: 13px; font-weight: 600;
            letter-spacing: 0.08em; text-transform: uppercase;
        }
        .eyebrow::before {
            content: ''; display: inline-block;
            width: 24px; height: 2px; background: var(--gold);
        }

        /* card */
        .card {
            background: #fff; border-radius: var(--radius-xl);
            box-shadow: var(--card-shadow); transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }

        /* pain card */
        .pain-card {
            background: #fff; border-radius: 20px;
            box-shadow: var(--card-shadow); padding: 28px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            position: relative; overflow: hidden;
        }
        .pain-card:hover { transform: translateY(-6px); box-shadow: var(--card-shadow-hover); }
        .pain-card:hover .pain-line { width: 48px; }
        .pain-line {
            content: ''; display: block;
            width: 24px; height: 3px; border-radius: 4px;
            background: var(--gold); transition: width 0.35s ease;
            margin-top: 20px;
        }

        /* data badge */
        .data-badge {
            display: inline-flex; align-items: center; gap: 6px;
            background: rgba(255,255,255,0.95); border-radius: 999px;
            padding: 8px 16px; font-size: 13px; font-weight: 600;
            color: var(--brand-dark); box-shadow: 0 4px 16px rgba(0,0,0,0.15);
            backdrop-filter: blur(6px);
            white-space: nowrap;
        }

        /* testimonial card */
        .testimonial-card {
            background: #fff; border-radius: 16px; border-left: 4px solid var(--gold);
            padding: 28px; box-shadow: 0 1px 2px rgba(0,0,0,0.04);
        }

        /* FAQ */
        .faq-item { border-bottom: 1px solid #EDE6DC; }
        .faq-item:last-child { border-bottom: none; }
        .faq-question { width: 100%; text-align: left; padding: 20px 8px; display: flex; justify-content: space-between; align-items: center; background: none; border: none; cursor: pointer; font-size: 16px; font-weight: 600; color: var(--ink); transition: color 0.2s; }
        .faq-question:hover { color: var(--brand); }
        .faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, opacity 0.3s ease; opacity: 0; padding: 0 8px; }
        .faq-answer.open { max-height: 300px; opacity: 1; padding-bottom: 20px; }
        .faq-icon { display: inline-flex; width: 28px; height: 28px; border-radius: 999px; border: 1.5px solid var(--gold); color: var(--gold); align-items: center; justify-content: center; transition: transform 0.3s ease, background 0.3s; font-size: 16px; flex-shrink: 0; }
        .faq-item.open .faq-icon { transform: rotate(45deg); background: var(--gold); color: #fff; }

        /* checklist dot */
        .check-dot {
            width: 22px; height: 22px; border-radius: 999px;
            background: rgba(198,161,91,0.15); color: var(--gold);
            display: inline-flex; align-items: center; justify-content: center;
            font-size: 12px; flex-shrink: 0; font-weight: 700;
        }

        /* footer */
        .footer-link { color: rgba(255,255,255,0.65); transition: color 0.2s; font-size: 14px; }
        .footer-link:hover { color: var(--gold); }

        /* hero decorative frame */
        .hero-frame {
            border: 1px solid rgba(255,255,255,0.18);
            background: rgba(255,255,255,0.08);
            backdrop-filter: blur(6px);
        }

        /* image aspect ratio fallback */
        .aspect-photo { aspect-ratio: 4/3; }
        .aspect-wide { aspect-ratio: 16/10; }

        /* hide desktop nav on mobile etc */
        @media (max-width: 767px) {
            .desktop-nav { display: none; }
            .mobile-bottom { display: flex; }
            .mobile-top { display: flex; }
            .pain-card { padding: 24px; }
            .success-scroll { display: flex; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; gap: 16px; scroll-snap-type: x mandatory; }
        }
        @media (min-width: 768px) {
            .desktop-nav { display: flex; }
            .mobile-bottom { display: none; }
            .mobile-top { display: none; }
        }

        /* stats numbers */
        .stat-num { font-variant-numeric: tabular-nums; }
        .section-spacing { padding-top: 96px; padding-bottom: 96px; }
        @media (max-width: 767px) {
            .section-spacing { padding-top: 56px; padding-bottom: 56px; }
        }

        /* table of contents for hero alternative */
        .feature-list { list-style: none; }
        .feature-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }

        /* small decorative stamp */
        .stamp {
            position: absolute; bottom: -14px; right: 20px;
            width: 72px; height: 72px; border-radius: 50%;
            border: 2px solid rgba(198,161,91,0.55);
            display: flex; align-items: center; justify-content: center;
            font-size: 11px; color: rgba(198,161,91,0.8);
            transform: rotate(-12deg); background: rgba(255,255,255,0.4);
            backdrop-filter: blur(4px); pointer-events: none;
            font-weight: 600;
        }

        /* progress / timeline */
        .pulse-dot { position: relative; }
        .pulse-dot::after {
            content: ''; position: absolute; top: -4px; right: -4px;
            width: 8px; height: 8px; border-radius: 50%;
            background: var(--gold); animation: pulse 2s infinite;
        }
        @keyframes pulse {
            0% { box-shadow: 0 0 0 0 rgba(198,161,91,0.6); }
            70% { box-shadow: 0 0 0 10px rgba(198,161,91,0); }
            100% { box-shadow: 0 0 0 0 rgba(198,161,91,0); }
        }

        /* focus ring on primary CTA */
        .btn-primary:focus-visible, .btn-outline:focus-visible, .btn-gold:focus-visible {
            outline: 2px solid var(--gold);
            outline-offset: 3px;
        }
