/* ========================================================================
   UNAWAIN — Marketing Site
   Design system aligned with the iOS app's Solihiya-inspired theme
   ======================================================================== */

:root {
    /* Exact app color tokens from UNAWAINColors.swift */
    --narra-dark: #3E2723;       /* Color.narraDark — body text */
    --narra-brown: #5D4037;      /* Color.narraBrown — headings, accent */
    --narra-light: #8D6E63;      /* Color.narraLight — secondary text */
    --philippine-teal: #00695C;  /* Color.philippineTeal — primary actions */
    --teal-light: #00897B;       /* Color.tealLight — secondary highlights */
    --sampaguita: #F9F7F2;       /* Color.sampaguitaWhite — page background */
    --ginto: #C49A6C;            /* Color.ginto — gold premium accent */
    --ginto-bright: #E0B882;     /* Color.ginto dark mode variant */

    --text-primary: #3E2723;     /* = narra-dark */
    --text-secondary: #5D4037;   /* = narra-brown */
    --text-muted: #8D6E63;       /* = narra-light */
    --border: #E8DDD0;
    --card-bg: rgba(255, 255, 255, 0.78);
    --card-shadow: 0 1px 6px rgba(62, 39, 35, 0.04);
    --card-shadow-hover: 0 4px 20px rgba(62, 39, 35, 0.08);
    --glass-blur: blur(12px);

    /* Spacing from UNAWAINSpacing.swift */
    --radius: 16px;              /* cardCornerRadius */
    --radius-sm: 8px;            /* chipCornerRadius */
    --radius-btn: 12px;          /* buttonCornerRadius */
    --radius-lg: 24px;
    --max-width: 1120px;
    --header-height: 72px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', system-ui, sans-serif;
    background: var(--sampaguita);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    animation: pageEntry 0.6s ease-out;
}

/* ---- Smooth Page Entry ---- */
@keyframes pageEntry {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Solihiya background — diagonal crosshatch matching SolihiyaBackground.swift
   narraBrown (#5D4037) at 2.5% opacity, 52px spacing, 0.5px lines */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 51.5px,
            rgba(93, 64, 55, 0.025) 51.5px,
            rgba(93, 64, 55, 0.025) 52px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 51.5px,
            rgba(93, 64, 55, 0.025) 51.5px,
            rgba(93, 64, 55, 0.025) 52px
        );
    pointer-events: none;
    z-index: 0;
}

a { color: var(--philippine-teal); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.8; }

/* ---- Scroll-reveal animations ---- */
@keyframes revealUp {
    from { opacity: 0; transform: translateY(32px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes revealScale {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes revealLeft {
    from { opacity: 0; transform: translateX(-24px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes revealRight {
    from { opacity: 0; transform: translateX(24px); }
    to { opacity: 1; transform: translateX(0); }
}

.reveal {
    opacity: 0;
}

.reveal.visible {
    animation: revealUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.reveal-scale.visible {
    animation: revealScale 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.reveal-left.visible {
    animation: revealLeft 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.reveal-right.visible {
    animation: revealRight 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.reveal-delay-1 { animation-delay: 0.1s !important; }
.reveal-delay-2 { animation-delay: 0.2s !important; }
.reveal-delay-3 { animation-delay: 0.3s !important; }
.reveal-delay-4 { animation-delay: 0.4s !important; }
.reveal-delay-5 { animation-delay: 0.5s !important; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; }
    .reveal.visible,
    .reveal-scale.visible,
    .reveal-left.visible,
    .reveal-right.visible {
        animation: none;
        opacity: 1;
    }
}

/* ---- Banig Divider — traditional Filipino woven mat pattern ---- */
.banig-divider {
    height: 2px;
    background: repeating-linear-gradient(90deg,
        rgba(0, 105, 92, 0.5) 0, rgba(0, 105, 92, 0.5) 12px,
        rgba(196, 154, 108, 0.5) 12px, rgba(196, 154, 108, 0.5) 24px,
        rgba(93, 64, 55, 0.5) 24px, rgba(93, 64, 55, 0.5) 36px,
        rgba(196, 154, 108, 0.5) 36px, rgba(196, 154, 108, 0.5) 48px
    );
    border-radius: 1px;
    margin: 0 auto;
    max-width: var(--max-width);
}

/* Banig accent — gradient hairline like BanigAccent.swift */
.banig-accent {
    height: 1.5px;
    background: linear-gradient(90deg,
        rgba(0, 105, 92, 0.3),
        rgba(196, 154, 108, 0.4),
        rgba(93, 64, 55, 0.3),
        rgba(196, 154, 108, 0.4),
        rgba(0, 105, 92, 0.3)
    );
    border-radius: 1px;
    margin: 0 24px;
}

/* ---- Capiz shimmer animation — pearlescent gold overlay ---- */
@keyframes capizShimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@media (prefers-reduced-motion: no-preference) {
    .capiz-shimmer::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg,
            transparent 30%,
            rgba(196, 154, 108, 0.04) 45%,
            rgba(196, 154, 108, 0.06) 50%,
            rgba(196, 154, 108, 0.04) 55%,
            transparent 70%
        );
        animation: capizShimmer 5s ease-in-out infinite alternate;
        border-radius: inherit;
        pointer-events: none;
    }
}

img { max-width: 100%; height: auto; display: block; }

/* ---- Navigation ---- */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(0, 105, 92, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    transition: background 0.3s, box-shadow 0.3s;
}

.site-nav.scrolled {
    background: rgba(0, 105, 92, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: var(--header-height);
}

/* Brand font: serif + 4px tracking (UNAWAINFonts.brand + brandTracking)
   Gradient: philippineTeal → ginto (matches app's LinearGradient) */
.nav-brand {
    font-size: 1.25rem;
    font-weight: 700;
    font-family: Georgia, 'Times New Roman', 'Iowan Old Style', serif;
    background: linear-gradient(90deg, #5CC4B8, var(--ginto-bright));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 4px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    -webkit-text-fill-color: initial;
}

.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
    position: relative;
}
.nav-links a:hover { color: white; opacity: 1; }
.nav-links a.active { color: white; }
.nav-links a.active::after { transform: scaleX(1); }

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--ginto-bright);
    border-radius: 1px;
    transform: scaleX(0);
    transition: transform 0.2s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; padding: 8px; }

/* ---- Sections ---- */
section { position: relative; z-index: 1; }

.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 80px 24px;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--philippine-teal);
    margin-bottom: 12px;
    background: rgba(0, 105, 92, 0.06);
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(0, 105, 92, 0.1);
}

/* Section headings: rounded design, negative tracking (UNAWAINFonts.display) */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Rounded', 'SF Pro Display', system-ui, sans-serif;
    color: var(--narra-brown);
    line-height: 1.25;
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}
.section-title::after {
    content: '';
    display: block;
    width: 56px;
    height: 3px;
    background: linear-gradient(90deg, var(--philippine-teal), var(--ginto));
    margin-top: 12px;
    border-radius: 2px;
}
.section-center .section-title::after {
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.7;
}

.section-center { text-align: center; }
.section-center .section-subtitle { margin: 0 auto; }

/* ---- Hero ---- */
.hero {
    background: linear-gradient(165deg, #00695C 0%, #004D40 50%, #00332B 100%);
    color: white;
    overflow: hidden;
    position: relative;
}

/* Ambient floating orbs in hero */
.hero::before {
    content: '\1700\1708\1718\1701\1708';
    position: absolute;
    font-size: 14rem;
    font-weight: 100;
    color: rgba(255, 255, 255, 0.03);
    right: 2%;
    bottom: 10%;
    z-index: 1;
    pointer-events: none;
    letter-spacing: 8px;
    line-height: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--sampaguita));
    z-index: 2;
}

/* Hero Solihiya diamond particles */
.hero-particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Hero ambient glow orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(80px);
    z-index: 1;
}
.hero-orb-1 {
    width: 500px;
    height: 500px;
    background: rgba(0, 137, 123, 0.15);
    top: -20%;
    right: -10%;
    animation: orbFloat 8s ease-in-out infinite alternate;
}
.hero-orb-2 {
    width: 350px;
    height: 350px;
    background: rgba(196, 154, 108, 0.08);
    bottom: -10%;
    left: -5%;
    animation: orbFloat 10s ease-in-out infinite alternate-reverse;
}

@keyframes orbFloat {
    from { transform: translate(0, 0); }
    to { transform: translate(20px, -15px); }
}

.hero .section-inner {
    display: flex;
    align-items: center;
    gap: 60px;
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative;
    z-index: 3;
}

.hero-content { flex: 1; min-width: 0; }

/* Hero entrance animations */
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(30px); filter: blur(8px); }
    60% { filter: blur(2px); }
    to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

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

.hero-content > * {
    opacity: 0;
    animation: heroFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-content > *:nth-child(1) { animation-delay: 0.15s; }
.hero-content > *:nth-child(2) { animation-delay: 0.4s; }
.hero-content > *:nth-child(3) { animation-delay: 0.65s; }

.hero-visual {
    flex: 0 0 340px;
    position: relative;
    opacity: 0;
    animation: heroPhoneRise 1s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* Hero brand heading: serif with wide tracking (UNAWAINFonts.displaySerif) */
.hero-tagline {
    font-size: 3.2rem;
    font-weight: 800;
    font-family: Georgia, 'Times New Roman', 'Iowan Old Style', serif;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

/* Brand gradient: philippineTeal → ginto (matches DashboardView brand text) */
.hero-tagline .accent {
    background: linear-gradient(90deg, var(--teal-light), var(--ginto-bright));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 32px;
}

.hero-badges {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--ginto-bright);
    color: var(--narra-dark);
    padding: 14px 28px;
    border-radius: 28px;
    font-weight: 700;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}
.hero-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s;
}
.hero-cta:hover::before { transform: translateX(100%); }
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); opacity: 1; }
.hero-cta svg { width: 22px; height: 22px; position: relative; }

.privacy-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 10px 18px;
    border-radius: 24px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
}
.privacy-pill .lock-icon { font-size: 1rem; }

.phone-mockup {
    width: 300px;
    height: 600px;
    background: linear-gradient(145deg, #1a1a1a, #2d2d2d);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 24px 80px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

/* Dynamic Island */
.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 32px;
    background: #000;
    border-radius: 20px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--sampaguita);
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.phone-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

.phone-screen-header {
    background: linear-gradient(135deg, var(--philippine-teal), #004D40);
    color: white;
    padding: 48px 20px 16px;
    text-align: center;
}
.phone-screen-header .app-title {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    font-family: Georgia, 'Times New Roman', serif;
    background: linear-gradient(90deg, rgba(255,255,255,0.9), var(--ginto-bright));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.phone-screen-header .screen-title { font-size: 0.7rem; opacity: 0.7; margin-top: 2px; }

.phone-screen-body { padding: 16px; flex: 1; overflow: hidden; }

.mini-card {
    background: white;
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    border-left: 2px solid var(--philippine-teal);
}
.mini-card:nth-child(2) { border-left-color: var(--ginto); }
.mini-card:nth-child(3) { border-left-color: var(--narra-brown); }
.mini-card-label { font-size: 0.55rem; font-weight: 700; color: var(--philippine-teal); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.mini-card-text { font-size: 0.55rem; color: var(--text-secondary); line-height: 1.5; }
.mini-card-chips { display: flex; gap: 4px; margin-top: 6px; flex-wrap: wrap; }
/* Chip radius: 8px (UNAWAINSpacing.chipCornerRadius) */
.mini-chip { font-size: 0.45rem; background: rgba(0, 105, 92, 0.08); color: var(--philippine-teal); padding: 2px 7px; border-radius: var(--radius-sm); font-weight: 600; }

.phone-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 137, 123, 0.2), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* ---- Problem Statement ---- */
.problem { background: var(--sampaguita); position: relative; overflow: hidden; }
.problem::before {
    content: '\1710\1700\1718\1701\1708';
    position: absolute;
    font-size: 8rem;
    font-weight: 100;
    color: rgba(93, 64, 55, 0.025);
    left: -1%;
    top: 20%;
    pointer-events: none;
    letter-spacing: 6px;
}

.problem-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.problem-content .section-title { font-size: 1.8rem; }

.problem-content p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-top: 16px;
    line-height: 1.8;
}

/* ---- How It Works ---- */
.how-it-works { background: rgba(255, 255, 255, 0.5); }

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 48px;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--philippine-teal), var(--teal-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 auto 16px;
    box-shadow: 0 4px 16px rgba(0, 105, 92, 0.25);
    transition: transform 0.3s, box-shadow 0.3s;
}

.step:hover .step-number {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(0, 105, 92, 0.35);
}

.step-icon { font-size: 0; margin-bottom: 8px; line-height: 0; color: var(--philippine-teal); }

.step h3 {
    font-size: 1.05rem;
    color: var(--narra-brown);
    margin-bottom: 8px;
}

.step p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-arrow {
    position: absolute;
    top: 28px;
    right: -24px;
    width: 40px;
    height: 2px;
    background: none;
    font-size: 0;
    color: transparent;
    overflow: visible;
}
.step-arrow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--philippine-teal) 0, var(--philippine-teal) 6px, transparent 6px, transparent 12px);
    background-size: 200% 100%;
    animation: dashMove 2s linear infinite;
    border-radius: 1px;
}
.step-arrow::after {
    content: '';
    position: absolute;
    top: -4px;
    right: -2px;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 6px solid var(--philippine-teal);
}

@keyframes dashMove {
    from { background-position: 0 0; }
    to { background-position: -24px 0; }
}

/* ---- Features Grid ---- */
.features { background: var(--sampaguita); }

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.feature-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 28px 24px 28px 24px;
    border: none;
    border-left: 3px solid var(--philippine-teal);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: var(--card-shadow);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}
.feature-card:hover {
    transform: translateY(-4px);
}
.feature-card:nth-child(1):hover { box-shadow: 0 8px 32px rgba(0, 105, 92, 0.15), 0 0 20px rgba(0, 105, 92, 0.08); }
.feature-card:nth-child(2):hover { box-shadow: 0 8px 32px rgba(0, 105, 92, 0.15), 0 0 20px rgba(0, 105, 92, 0.08); }
.feature-card:nth-child(3):hover { box-shadow: 0 8px 32px rgba(196, 154, 108, 0.15), 0 0 20px rgba(196, 154, 108, 0.08); }
.feature-card:nth-child(4):hover { box-shadow: 0 8px 32px rgba(93, 64, 55, 0.15), 0 0 20px rgba(93, 64, 55, 0.08); }
.feature-card:nth-child(5):hover { box-shadow: 0 8px 32px rgba(0, 105, 92, 0.15), 0 0 20px rgba(0, 105, 92, 0.08); }
.feature-card:nth-child(6):hover { box-shadow: 0 8px 32px rgba(196, 154, 108, 0.15), 0 0 20px rgba(196, 154, 108, 0.08); }
.feature-card:nth-child(2) { border-left-color: var(--philippine-teal); }
.feature-card:nth-child(3) { border-left-color: var(--ginto); }
.feature-card:nth-child(4) { border-left-color: var(--narra-brown); }
.feature-card:nth-child(5) { border-left-color: var(--philippine-teal); }
.feature-card:nth-child(6) { border-left-color: var(--ginto); }

.feature-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(0, 105, 92, 0.14), rgba(0, 105, 92, 0.06));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: transform 0.3s;
    color: var(--philippine-teal);
}

.feature-card:nth-child(3) .feature-icon,
.feature-card:nth-child(6) .feature-icon {
    background: linear-gradient(135deg, rgba(196, 154, 108, 0.14), rgba(196, 154, 108, 0.06));
    color: var(--ginto);
}
.feature-card:nth-child(4) .feature-icon {
    background: linear-gradient(135deg, rgba(93, 64, 55, 0.14), rgba(93, 64, 55, 0.06));
    color: var(--narra-brown);
}

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

.feature-card h3 {
    font-size: 1.05rem;
    color: var(--narra-brown);
    margin-bottom: 8px;
    font-weight: 700;
}

.feature-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ---- Stats Section ---- */
.stats {
    background: linear-gradient(165deg, #00695C 0%, #004D40 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 51.5px,
            rgba(255, 255, 255, 0.02) 51.5px,
            rgba(255, 255, 255, 0.02) 52px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 51.5px,
            rgba(255, 255, 255, 0.02) 51.5px,
            rgba(255, 255, 255, 0.02) 52px
        );
    pointer-events: none;
}

.stats .section-inner { padding: 64px 24px; position: relative; z-index: 1; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Rounded', system-ui, sans-serif;
    line-height: 1.1;
    margin-bottom: 8px;
    background: linear-gradient(180deg, white 30%, var(--ginto-bright));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* ---- Screenshots Section ---- */
.screenshots { background: rgba(255, 255, 255, 0.5); overflow: hidden; }

.screenshot-frame {
    width: 240px;
    height: 480px;
    background: linear-gradient(145deg, #1a1a1a, #2d2d2d);
    border-radius: 32px;
    padding: 8px;
    margin: 0 auto 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15), 0 0 0 1px rgba(255,255,255,0.05);
    position: relative;
}

/* Mini dynamic island for screenshots */
.screenshot-frame::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 22px;
    background: #000;
    border-radius: 12px;
    z-index: 5;
}

.screenshot-inner {
    width: 100%;
    height: 100%;
    background: var(--sampaguita);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.screenshot-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.screenshot-caption {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--narra-brown);
}

/* ---- 3D Screenshot Carousel ---- */
.carousel-container {
    margin-top: 48px;
    position: relative;
    overflow: hidden;
    padding: 20px 0 40px;
}

.carousel-track {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 560px;
    perspective: 1200px;
}

.carousel-slide {
    position: absolute;
    text-align: center;
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    cursor: pointer;
    transform-style: preserve-3d;
}

.carousel-slide[data-position="center"] {
    transform: translateX(0) scale(1) rotateY(0deg);
    opacity: 1;
    z-index: 5;
}

.carousel-slide[data-position="left-1"] {
    transform: translateX(-280px) scale(0.8) rotateY(15deg);
    opacity: 0.6;
    z-index: 3;
}

.carousel-slide[data-position="right-1"] {
    transform: translateX(280px) scale(0.8) rotateY(-15deg);
    opacity: 0.6;
    z-index: 3;
}

.carousel-slide[data-position="left-2"] {
    transform: translateX(-480px) scale(0.6) rotateY(25deg);
    opacity: 0.25;
    z-index: 1;
}

.carousel-slide[data-position="right-2"] {
    transform: translateX(480px) scale(0.6) rotateY(-25deg);
    opacity: 0.25;
    z-index: 1;
}

.carousel-slide[data-position="hidden"] {
    transform: translateX(0) scale(0.4);
    opacity: 0;
    z-index: 0;
    pointer-events: none;
}

.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 8px;
}

.carousel-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--card-bg);
    box-shadow: var(--card-shadow);
    color: var(--philippine-teal);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}
.carousel-btn:hover {
    background: var(--philippine-teal);
    color: white;
    box-shadow: 0 4px 16px rgba(0, 105, 92, 0.25);
}

.carousel-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}
.carousel-dot.active {
    background: var(--philippine-teal);
    width: 24px;
    border-radius: 4px;
}

/* ---- Audience Tabs ---- */
.audience { background: var(--sampaguita); }

.audience-tabs {
    display: flex;
    gap: 8px;
    margin-top: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.audience-tab {
    padding: 10px 20px;
    background: var(--card-bg);
    border: none;
    border-radius: 24px;
    box-shadow: var(--card-shadow);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    white-space: nowrap;
}
.audience-tab:hover,
.audience-tab.active {
    background: var(--philippine-teal);
    color: white;
    border-color: var(--philippine-teal);
    box-shadow: 0 4px 16px rgba(0, 105, 92, 0.25);
}

.audience-panels { margin-top: 24px; }

.audience-panel {
    display: none;
    background: var(--card-bg);
    border: none;
    border-radius: var(--radius);
    padding: 32px;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: var(--card-shadow);
}
.audience-panel.active {
    display: flex;
    gap: 32px;
    align-items: center;
    animation: panelSlideIn 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes panelSlideIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.audience-panel-icon {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 105, 92, 0.1), rgba(0, 105, 92, 0.04));
    border-radius: 20px;
    color: var(--philippine-teal);
}

.audience-panel h3 {
    font-size: 1.2rem;
    color: var(--narra-brown);
    margin-bottom: 8px;
}

.audience-panel p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

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

/* ---- CTA Pulse Glow ---- */
@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(224, 184, 130, 0.15); }
    50% { box-shadow: 0 4px 24px rgba(224, 184, 130, 0.45), 0 0 40px rgba(224, 184, 130, 0.15); }
}

@media (prefers-reduced-motion: no-preference) {
    .hero-cta,
    .final-cta-btn,
    .price-cta {
        animation: ctaPulse 3s ease-in-out 2s infinite;
    }
}

/* ---- Privacy Section ---- */
.privacy-section { background: rgba(255, 255, 255, 0.5); }

.privacy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 48px;
    align-items: center;
}

.privacy-comparison {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comparison-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    transition: transform 0.2s;
}

.comparison-bad {
    background: #FFF0F0;
    color: #8B3A3A;
    text-decoration: line-through;
    opacity: 0.6;
}

.comparison-good {
    background: rgba(0, 105, 92, 0.06);
    color: var(--narra-dark);
    font-weight: 600;
    border: 1px solid rgba(0, 105, 92, 0.15);
}
.comparison-good:hover { transform: translateX(4px); }

.comparison-icon { font-size: 1.3rem; flex-shrink: 0; }

/* Privacy Shield Divider */
.privacy-shield-divider {
    text-align: center;
    padding: 4px 0;
}

.privacy-shield {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--philippine-teal), var(--teal-light));
    color: white;
    box-shadow: 0 4px 16px rgba(0, 105, 92, 0.3);
}

@media (prefers-reduced-motion: no-preference) {
    .privacy-shield {
        animation: shieldPulse 2.5s ease-in-out infinite;
    }
}

@keyframes shieldPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 16px rgba(0, 105, 92, 0.3); }
    50% { transform: scale(1.08); box-shadow: 0 6px 24px rgba(0, 105, 92, 0.45); }
}

.privacy-points { list-style: none; }
.privacy-points li {
    padding: 10px 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.privacy-points .check {
    color: var(--philippine-teal);
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ---- Pricing ---- */
.pricing { background: var(--sampaguita); }

.pricing-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.price-card {
    background: var(--card-bg);
    border: none;
    border-radius: var(--radius);
    padding: 32px 28px;
    text-align: center;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: var(--card-shadow);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }

.price-card.featured {
    background: linear-gradient(145deg, var(--philippine-teal), #004D40);
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 105, 92, 0.25);
    transform: scale(1.03);
}
.price-card.featured:hover {
    transform: scale(1.03) translateY(-4px);
    box-shadow: 0 12px 48px rgba(0, 105, 92, 0.35);
}

/* Featured card animated gradient border */
@property --rotation {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

.price-card.featured::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    padding: 2px;
    background: linear-gradient(var(--rotation, 0deg), var(--ginto-bright), var(--philippine-teal), var(--ginto), var(--teal-light));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: borderRotate 4s linear infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes borderRotate {
    from { --rotation: 0deg; }
    to { --rotation: 360deg; }
}

/* Featured card shimmer */
.price-card.featured::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 30%, rgba(255,255,255,0.05) 50%, transparent 70%);
    animation: capizShimmer 4s ease-in-out infinite alternate;
    pointer-events: none;
}

.price-badge {
    position: absolute;
    top: 16px;
    right: -28px;
    background: var(--ginto);
    color: var(--narra-dark);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 32px;
    transform: rotate(45deg);
    letter-spacing: 0.5px;
}

.price-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.price-card .price { font-size: 2.4rem; font-weight: 800; margin: 16px 0 4px; }
.price-card .price-note { font-size: 0.8rem; opacity: 0.7; margin-bottom: 20px; }

.price-features { list-style: none; text-align: left; }
.price-features li {
    padding: 6px 0;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.price-features .check { color: var(--philippine-teal); font-weight: 700; }
.featured .price-features .check { color: var(--ginto); }

.price-cta {
    display: block;
    margin-top: 20px;
    padding: 12px 24px;
    background: var(--ginto-bright);
    color: var(--narra-dark);
    border-radius: 24px;
    font-weight: 700;
    font-size: 0.9rem;
    text-align: center;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}
.price-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 154, 108, 0.4);
    opacity: 1;
}

/* ---- Tech Section ---- */
.tech { background: rgba(255, 255, 255, 0.5); }

.tech-grid {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.tech-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--card-bg);
    border: none;
    padding: 12px 20px;
    border-radius: 24px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: var(--card-shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}
.tech-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--card-shadow-hover);
}
.tech-badge .tech-icon {
    display: flex;
    align-items: center;
    color: var(--philippine-teal);
}

/* ---- Final CTA Section ---- */
.final-cta {
    background: linear-gradient(165deg, #00695C 0%, #004D40 50%, #00332B 100%);
    color: white;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.final-cta::before {
    content: '\1700\1708\1718\1701\1708\1710';
    position: absolute;
    font-size: 10rem;
    font-weight: 100;
    color: rgba(255, 255, 255, 0.02);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    letter-spacing: 12px;
    white-space: nowrap;
}

.final-cta .section-inner {
    padding: 72px 24px;
    position: relative;
    z-index: 1;
}

.final-cta .section-title {
    color: white;
    font-size: 2rem;
    margin-bottom: 12px;
}

.final-cta .section-title::after {
    background: linear-gradient(90deg, var(--ginto-bright), var(--ginto));
    margin-left: auto;
    margin-right: auto;
}

.final-cta .section-subtitle {
    color: rgba(255, 255, 255, 0.75);
    margin: 0 auto 32px;
}

.final-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--ginto-bright);
    color: var(--narra-dark);
    padding: 16px 36px;
    border-radius: 32px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}
.final-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(196, 154, 108, 0.4);
    opacity: 1;
}
.final-cta-btn svg { width: 22px; height: 22px; }

.final-cta-note {
    margin-top: 16px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ---- Wave Divider (Final CTA → Footer) ---- */
.wave-divider {
    position: relative;
    height: 40px;
    background: var(--philippine-teal);
    margin-top: -1px;
    z-index: 1;
}
.wave-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(165deg, #00695C 0%, #004D40 50%, #00332B 100%);
    clip-path: ellipse(55% 100% at 50% 0%);
}

/* ---- Footer ---- */
.site-footer {
    background: var(--philippine-teal);
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    z-index: 1;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 48px 24px 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 32px;
}

.footer-brand {
    font-size: 1.4rem;
    font-weight: 700;
    font-family: Georgia, 'Times New Roman', 'Iowan Old Style', serif;
    background: linear-gradient(90deg, #5CC4B8, var(--ginto-bright));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 4px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    -webkit-text-fill-color: initial;
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 320px;
}

.footer-col h4 {
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255, 255, 255, 0.65); font-size: 0.88rem; text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: white; opacity: 1; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.8rem;
}

.footer-love { color: var(--ginto); }

/* ---- Legal Pages ---- */
.legal-header {
    background: linear-gradient(165deg, var(--philippine-teal) 0%, #004D40 100%);
    color: white;
    padding: 48px 24px;
    text-align: center;
}
.legal-header h1 { font-size: 2rem; font-weight: 700; letter-spacing: 1px; margin-bottom: 4px; }
.legal-header p { opacity: 0.7; font-size: 0.9rem; }

.legal-body {
    max-width: 760px;
    margin: 0 auto;
    padding: 48px 24px 80px;
    position: relative;
    z-index: 1;
}

.legal-body h2 {
    color: var(--narra-brown);
    margin: 36px 0 12px;
    font-size: 1.15rem;
    font-weight: 700;
}

.legal-body p,
.legal-body li {
    font-size: 0.93rem;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.legal-body ul,
.legal-body ol { padding-left: 24px; }
.legal-body li { margin-bottom: 6px; }

.legal-body strong { color: var(--narra-brown); }

.legal-body a { color: var(--philippine-teal); }

.legal-highlight {
    background: var(--card-bg);
    border-left: 4px solid var(--philippine-teal);
    padding: 18px 22px;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 24px 0;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: var(--card-shadow);
}

.legal-body table { width: 100%; border-collapse: collapse; margin: 20px 0; border-radius: var(--radius-sm); overflow: hidden; }
.legal-body th, .legal-body td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.88rem; }
.legal-body th { background: var(--philippine-teal); color: white; font-weight: 600; }
.legal-body tr:nth-child(even) { background: rgba(0, 105, 92, 0.03); }

.legal-body .caps { font-size: 0.82rem; line-height: 1.6; }

.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 40px;
    color: var(--philippine-teal);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Support page */
.contact-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 32px;
    border: none;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: var(--card-shadow);
    text-align: center;
    margin: 24px 0 40px;
}

.contact-card h2 { margin-top: 0; color: var(--philippine-teal); }

.contact-btn {
    display: inline-block;
    background: var(--philippine-teal);
    color: white;
    padding: 14px 36px;
    border-radius: 28px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.contact-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0, 105, 92, 0.3); opacity: 1; color: white; }

.faq-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 22px 24px 22px 24px;
    margin-bottom: 12px;
    border: none;
    border-left: 3px solid var(--philippine-teal);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: var(--card-shadow);
    transition: box-shadow 0.2s, transform 0.2s;
}
.faq-card:hover { box-shadow: var(--card-shadow-hover); transform: translateX(4px); }
.faq-card h3 { font-size: 0.95rem; color: var(--narra-brown); margin-bottom: 6px; font-weight: 700; }
.faq-card p { margin-bottom: 0; color: var(--text-secondary); font-size: 0.9rem; }

/* ---- Accessibility ---- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--philippine-teal);
    color: white;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 200;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 8px;
    opacity: 1;
    color: white;
}

*:focus-visible {
    outline: 2px solid var(--philippine-teal);
    outline-offset: 2px;
}

.hero-cta:focus-visible,
.final-cta-btn:focus-visible,
.audience-tab:focus-visible {
    outline-color: var(--ginto-bright);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .hero .section-inner { flex-direction: column; text-align: center; padding-top: 72px; padding-bottom: 72px; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-badges { justify-content: center; }
    .hero-visual { flex: none; }
    .phone-mockup { width: 240px; height: 480px; }
    .phone-notch { width: 96px; height: 26px; top: 10px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: 1fr; gap: 32px; }
    .step-arrow { display: none; }
    .privacy-grid { grid-template-columns: 1fr; }
    .pricing-cards { grid-template-columns: 1fr; max-width: 380px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (max-width: 600px) {
    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--philippine-teal);
        padding: 0 24px;
        gap: 0;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s cubic-bezier(0.22, 1, 0.36, 1), padding 0.35s ease, gap 0.35s ease;
    }
    .nav-links.open {
        max-height: 320px;
        padding: 16px 24px 24px;
        gap: 16px;
    }
    .nav-links a::after { display: none; }
    .nav-toggle { display: block; }

    .hero-tagline { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1rem; }
    .section-inner { padding: 56px 20px; }
    .section-title { font-size: 1.6rem; }
    .features-grid { grid-template-columns: 1fr; }
    .audience-panel.active { flex-direction: column; text-align: center; gap: 16px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .stat-number { font-size: 2.2rem; }
    .final-cta .section-title { font-size: 1.6rem; }
}

/* ---- Carousel Responsive ---- */
@media (max-width: 900px) {
    .carousel-track { height: 480px; }
    .carousel-slide[data-position="left-1"] { transform: translateX(-180px) scale(0.75) rotateY(12deg); }
    .carousel-slide[data-position="right-1"] { transform: translateX(180px) scale(0.75) rotateY(-12deg); }
    .carousel-slide[data-position="left-2"],
    .carousel-slide[data-position="right-2"] { opacity: 0; pointer-events: none; }
}

@media (max-width: 600px) {
    .carousel-track { height: 440px; }
    .carousel-slide[data-position="left-1"] { transform: translateX(-140px) scale(0.7) rotateY(10deg); opacity: 0.4; }
    .carousel-slide[data-position="right-1"] { transform: translateX(140px) scale(0.7) rotateY(-10deg); opacity: 0.4; }
}

/* ---- Scroll Progress Bar ---- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--philippine-teal), var(--teal-light), var(--ginto));
    z-index: 200;
    transition: width 0.1s linear;
    border-radius: 0 2px 2px 0;
}

/* ---- Back to Top ---- */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--philippine-teal);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(0, 105, 92, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--teal-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 105, 92, 0.4);
}
