/* ==========================================================================
   DiyetAI — Modern Conversion-Focused Landing Page Stylesheet
   ========================================================================== */

:root {
    /* Surfaces */
    --bg-canvas: #FAFBF9;
    --bg-surface: #FFFFFF;
    --bg-subtle: #F1F5F3;
    --bg-dark: #061817;
    --bg-dark-card: #0D2624;
    --bg-dark-border: rgba(52, 211, 153, 0.16);

    /* Brand Colors */
    --brand-primary: #059669;
    --brand-primary-hover: #047857;
    --brand-bright: #10B981;
    --brand-mint: #34D399;
    --brand-soft: #ECFDF5;
    --brand-border: #D1FAE5;

    /* Text */
    --text-primary: #0B1F1E;
    --text-secondary: #475569;
    --text-muted: #64748B;
    --text-inverse: #F8FAFC;
    --text-inverse-muted: #94A3B8;

    /* Borders & Shadows */
    --border-light: rgba(11, 31, 30, 0.08);
    --border-medium: rgba(11, 31, 30, 0.14);
    --shadow-sm: 0 2px 8px rgba(6, 24, 23, 0.04);
    --shadow-md: 0 12px 32px rgba(6, 24, 23, 0.07);
    --shadow-lg: 0 24px 60px rgba(6, 24, 23, 0.12);
    --shadow-emerald: 0 14px 34px rgba(5, 150, 105, 0.28);

    /* Accents */
    --macro-protein: #F43F5E;
    --macro-carbs: #F59E0B;
    --macro-fat: #8B5CF6;
    --macro-water: #0EA5E9;

    /* Radii */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-pill: 9999px;

    /* Typography */
    --font-display: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-canvas);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    letter-spacing: -0.025em;
    line-height: 1.15;
    color: var(--text-primary);
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.lang-hidden {
    display: none !important;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Highlight Text */
.highlight-text {
    background: linear-gradient(135deg, #059669 0%, #0EA5E9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight-text-light {
    background: linear-gradient(135deg, #34D399 0%, #38BDF8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section Headers */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 56px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: var(--brand-soft);
    border: 1px solid var(--brand-border);
    color: var(--brand-primary);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    margin-bottom: 16px;
}

.section-badge-dark {
    background: rgba(52, 211, 153, 0.12);
    border: 1px solid rgba(52, 211, 153, 0.28);
    color: var(--brand-mint);
}

.section-header h2 {
    font-size: clamp(2rem, 3.6vw, 2.85rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: background-color 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}

.navbar.scrolled {
    background: rgba(250, 251, 249, 0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 1px 0 var(--border-light), 0 8px 24px rgba(6, 24, 23, 0.04);
    padding: 12px 0;
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.logo img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(6, 24, 23, 0.14);
}

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

.nav-links a.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.nav-links a.nav-link:hover {
    color: var(--brand-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    background: rgba(11, 31, 30, 0.05);
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-light);
}

.lang-btn {
    padding: 5px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.lang-btn:hover {
    color: var(--text-primary);
}

.lang-btn.active {
    background: var(--bg-surface);
    color: var(--brand-primary);
    box-shadow: 0 2px 6px rgba(6, 24, 23, 0.08);
}

.nav-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: var(--radius-pill);
    background: var(--text-primary);
    color: #FFFFFF;
    font-size: 0.875rem;
    font-weight: 600;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta-btn:hover {
    background: var(--brand-primary);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.22);
}

.mobile-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    font-size: 1.1rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    padding: 128px 0 88px;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(620px circle at 18% 15%, rgba(16, 185, 129, 0.11), transparent 60%),
        radial-gradient(560px circle at 82% 28%, rgba(14, 165, 233, 0.10), transparent 60%);
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    align-items: center;
    gap: 56px;
}

.hero-trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px 7px 10px;
    border-radius: var(--radius-pill);
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.trust-stars {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 8px;
    border-radius: var(--radius-pill);
    background: #FEF3C7;
    color: #B45309;
    font-weight: 700;
    font-size: 0.75rem;
}

.hero-text h1 {
    font-size: clamp(2.45rem, 4.7vw, 3.85rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.08;
    margin-bottom: 22px;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin-bottom: 32px;
    line-height: 1.68;
}

/* Store CTA Buttons */
.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 20px;
}

.store-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 13px 22px;
    border-radius: 14px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
    min-width: 196px;
}

.store-cta i {
    font-size: 1.65rem;
}

.store-cta-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.2;
}

.store-cta-sub {
    font-size: 0.72rem;
    font-weight: 500;
    opacity: 0.82;
}

.store-cta-main {
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 700;
}

.store-cta-primary {
    background: linear-gradient(135deg, #059669 0%, #0D9488 100%);
    color: #FFFFFF;
    box-shadow: var(--shadow-emerald);
}

.store-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(5, 150, 105, 0.36);
}

.store-cta-secondary {
    background: var(--text-primary);
    color: #FFFFFF;
    box-shadow: 0 10px 26px rgba(11, 31, 30, 0.14);
}

.store-cta-secondary:hover {
    transform: translateY(-2px);
    background: #133230;
    box-shadow: 0 16px 34px rgba(11, 31, 30, 0.22);
}

.hero-micro-trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    font-size: 0.84rem;
    color: var(--text-muted);
    margin-bottom: 36px;
}

.hero-micro-trust span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero-micro-trust i {
    color: var(--brand-primary);
    font-size: 0.8rem;
}

/* Hero Metrics Strip */
.hero-stats {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    padding: 18px 26px;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.15;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 2px;
}

.stat-divider {
    width: 1px;
    height: 34px;
    background: var(--border-light);
}

/* ==========================================================================
   Hero Interactive Phone Showcase
   ========================================================================== */
.hero-showcase {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.phone-tabs {
    display: inline-flex;
    gap: 6px;
    padding: 5px;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
    z-index: 5;
}

.phone-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.phone-tab:hover {
    color: var(--text-primary);
}

.phone-tab.active {
    background: var(--text-primary);
    color: #FFFFFF;
}

.phone-stage {
    position: relative;
    width: 318px;
}

.phone-device {
    position: relative;
    width: 100%;
    border-radius: 44px;
    padding: 10px;
    background: linear-gradient(145deg, #273439 0%, #0C1416 55%, #1E2B2E 100%);
    box-shadow:
        0 32px 70px rgba(6, 24, 23, 0.26),
        0 0 0 1px rgba(255, 255, 255, 0.14) inset;
}

.phone-notch {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 92px;
    height: 24px;
    background: #05090A;
    border-radius: 999px;
    z-index: 20;
}

.phone-screen {
    position: relative;
    background: #0B1220;
    border-radius: 35px;
    overflow: hidden;
    min-height: 556px;
    color: #F8FAFC;
    display: flex;
    flex-direction: column;
}

.phone-statusbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 22px 8px;
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.phone-panel {
    display: none;
    flex-direction: column;
    flex: 1;
    padding: 8px 14px 16px;
    animation: panelFade 0.3s ease;
}

.phone-panel.active {
    display: flex;
}

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

/* Panel 1: AI Photo Scan */
.screen-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2px 4px 10px;
    font-size: 0.85rem;
    font-weight: 700;
}

.screen-badge-live {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: var(--radius-pill);
    background: rgba(16, 185, 129, 0.18);
    color: #34D399;
    font-size: 0.68rem;
    font-weight: 700;
}

.live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #34D399;
    animation: pulseDot 1.6s infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(0.8); }
}

.meal-scan-box {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    height: 196px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.meal-scan-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scan-laser {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #34D399, transparent);
    box-shadow: 0 0 14px 2px rgba(52, 211, 153, 0.7);
    animation: scanMove 3.2s ease-in-out infinite;
}

@keyframes scanMove {
    0%, 100% { top: 10%; opacity: 0.8; }
    50% { top: 88%; opacity: 1; }
}

.food-tag {
    position: absolute;
    padding: 4px 8px;
    border-radius: 8px;
    background: rgba(11, 18, 32, 0.82);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(52, 211, 153, 0.45);
    color: #FFFFFF;
    font-size: 0.66rem;
    font-weight: 600;
    white-space: nowrap;
}

.food-tag-1 { top: 14px; left: 10px; }
.food-tag-2 { bottom: 14px; right: 10px; }

.ai-result-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ai-result-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.74rem;
    font-weight: 600;
    color: #34D399;
    margin-bottom: 10px;
}

.ai-macros-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    text-align: center;
    padding: 10px 6px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 12px;
    margin-bottom: 12px;
}

.ai-macro-val {
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 800;
    display: block;
}

.ai-macro-lbl {
    font-size: 0.62rem;
    color: #94A3B8;
}

.c-cal { color: #FB923C; }
.c-pro { color: #FB7185; }
.c-carb { color: #FBBF24; }
.c-fat { color: #A78BFA; }

.detected-items {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.detected-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.72rem;
}

.detected-item span:last-child {
    color: #94A3B8;
    font-weight: 600;
}

.mock-save-btn {
    width: 100%;
    padding: 10px;
    border-radius: 12px;
    background: linear-gradient(135deg, #10B981, #059669);
    color: #FFFFFF;
    font-size: 0.78rem;
    font-weight: 700;
    text-align: center;
}

/* Panel 2: Daily Summary */
.summary-hero-card {
    background: linear-gradient(135deg, #0D9488 0%, #2563EB 100%);
    border-radius: 20px;
    padding: 16px;
    margin-bottom: 12px;
}

.summary-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
}

.summary-kcal {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 800;
}

.summary-pct {
    font-size: 0.78rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.2);
    padding: 3px 9px;
    border-radius: var(--radius-pill);
}

.summary-bar {
    height: 7px;
    background: rgba(255, 255, 255, 0.22);
    border-radius: var(--radius-pill);
    overflow: hidden;
    margin-bottom: 14px;
}

.summary-bar-fill {
    height: 100%;
    width: 72%;
    background: #FFFFFF;
    border-radius: var(--radius-pill);
}

.summary-macros {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.summary-macro-pill {
    background: rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    padding: 8px;
    font-size: 0.68rem;
}

.summary-macro-pill strong {
    display: block;
    font-size: 0.88rem;
    margin-top: 2px;
}

.mini-widget {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    padding: 12px 14px;
    margin-bottom: 10px;
}

.mini-widget-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.76rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.water-drops {
    display: flex;
    gap: 6px;
}

.water-drop {
    flex: 1;
    height: 8px;
    border-radius: 99px;
    background: rgba(14, 165, 233, 0.22);
}

.water-drop.filled {
    background: #38BDF8;
}

/* Panel 3: Intermittent Fasting */
.fasting-ring-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 0 16px;
}

.fasting-ring {
    width: 176px;
    height: 176px;
    border-radius: 50%;
    background: conic-gradient(#10B981 0deg 285deg, rgba(255, 255, 255, 0.1) 285deg 360deg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 0 36px rgba(16, 185, 129, 0.24);
}

.fasting-ring-inner {
    width: 146px;
    height: 146px;
    border-radius: 50%;
    background: #0B1220;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.fasting-plan-tag {
    font-size: 0.7rem;
    font-weight: 700;
    color: #34D399;
    margin-bottom: 2px;
}

.fasting-time {
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.fasting-zone {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    background: rgba(245, 158, 11, 0.16);
    color: #FBBF24;
    font-size: 0.74rem;
    font-weight: 600;
}

.fasting-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: auto;
}

.fasting-meta-box {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 12px;
    text-align: center;
}

.fasting-meta-box span {
    display: block;
    font-size: 0.68rem;
    color: #94A3B8;
}

.fasting-meta-box strong {
    font-size: 0.92rem;
    font-weight: 700;
}

/* Tasteful Non-Overlapping Floating Badges */
.float-pill {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    box-shadow: 0 14px 32px rgba(6, 24, 23, 0.12);
    z-index: 10;
    animation: gentleFloat 5s ease-in-out infinite;
}

.float-pill-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.float-pill-icon.emerald {
    background: var(--brand-soft);
    color: var(--brand-primary);
}

.float-pill-icon.amber {
    background: #FEF3C7;
    color: #D97706;
}

.float-pill strong {
    display: block;
    font-size: 0.8rem;
    color: var(--text-primary);
    line-height: 1.2;
}

.float-pill small {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.float-pill-left {
    top: 78px;
    left: -76px;
}

.float-pill-right {
    bottom: 64px;
    right: -68px;
    animation-delay: 2.2s;
}

@keyframes gentleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

/* ==========================================================================
   Comparison Section (Problem vs DiyetAI)
   ========================================================================== */
.comparison {
    padding: 84px 0;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 980px;
    margin: 0 auto;
}

.compare-card {
    border-radius: var(--radius-xl);
    padding: 36px;
    border: 1px solid var(--border-light);
}

.compare-card.old-way {
    background: var(--bg-surface);
}

.compare-card.new-way {
    background: linear-gradient(155deg, #071A19 0%, #0D302D 100%);
    color: #FFFFFF;
    border-color: rgba(52, 211, 153, 0.3);
    box-shadow: var(--shadow-lg);
    position: relative;
}

.compare-card.new-way h3 {
    color: #FFFFFF;
}

.compare-tag {
    display: inline-block;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.76rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.old-way .compare-tag {
    background: #FEE2E2;
    color: #B91C1C;
}

.new-way .compare-tag {
    background: rgba(52, 211, 153, 0.16);
    color: #34D399;
}

.compare-card h3 {
    font-size: 1.45rem;
    font-weight: 800;
    margin-bottom: 24px;
}

.compare-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.compare-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.96rem;
    line-height: 1.5;
}

.old-way .compare-list li {
    color: var(--text-secondary);
}

.new-way .compare-list li {
    color: #E2E8F0;
}

.compare-list i {
    margin-top: 4px;
    flex-shrink: 0;
}

.old-way .compare-list i {
    color: #EF4444;
}

.new-way .compare-list i {
    color: #34D399;
}

/* ==========================================================================
   Bento Grid Features Section
   ========================================================================== */
.features {
    padding: 96px 0;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.bento-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(5, 150, 105, 0.25);
}

.bento-span-7 { grid-column: span 7; }
.bento-span-5 { grid-column: span 5; }
.bento-span-4 { grid-column: span 4; }
.bento-span-6 { grid-column: span 6; }

.bento-card.bento-featured {
    background: linear-gradient(145deg, #ECFDF5 0%, #FFFFFF 65%);
    border-color: var(--brand-border);
}

.bento-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.bento-icon.emerald { background: #D1FAE5; color: #059669; }
.bento-icon.blue { background: #E0F2FE; color: #0284C7; }
.bento-icon.amber { background: #FEF3C7; color: #D97706; }
.bento-icon.purple { background: #EDE9FE; color: #7C3AED; }
.bento-icon.rose { background: #FFE4E6; color: #E11D48; }
.bento-icon.slate { background: #F1F5F9; color: #0F172A; }

.bento-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

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

.bento-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.bento-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-primary);
}

.bento-pill i {
    color: var(--brand-primary);
    font-size: 0.72rem;
}

/* ==========================================================================
   How It Works (Dark Editorial Band)
   ========================================================================== */
.how-it-works {
    background: var(--bg-dark);
    color: var(--text-inverse);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(640px circle at 50% 0%, rgba(16, 185, 129, 0.14), transparent 60%);
    pointer-events: none;
}

.how-it-works .section-header h2 {
    color: #FFFFFF;
}

.how-it-works .section-header p {
    color: var(--text-inverse-muted);
}

.steps-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.step-card {
    background: var(--bg-dark-card);
    border: 1px solid var(--bg-dark-border);
    border-radius: var(--radius-lg);
    padding: 34px 28px;
    position: relative;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.step-card:hover {
    transform: translateY(-4px);
    border-color: rgba(52, 211, 153, 0.45);
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(52, 211, 153, 0.14);
    color: var(--brand-mint);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 22px;
}

.step-card h3 {
    color: #FFFFFF;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-card p {
    color: var(--text-inverse-muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* ==========================================================================
   Interactive AI Coach Showcase
   ========================================================================== */
.ai-showcase {
    padding: 100px 0;
}

.ai-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: 56px;
}

.ai-text h2 {
    font-size: clamp(1.9rem, 3.2vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.ai-text > p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.ai-benefits {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ai-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.ai-benefit-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--brand-soft);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ai-benefit-item h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 3px;
}

.ai-benefit-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Interactive Chat Card */
.ai-chat-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.ai-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    background: var(--bg-dark);
    color: #FFFFFF;
}

.ai-chat-identity {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ai-chat-identity img {
    width: 34px;
    height: 34px;
    border-radius: 10px;
}

.ai-chat-identity strong {
    display: block;
    font-size: 0.95rem;
    line-height: 1.2;
}

.ai-chat-identity small {
    font-size: 0.74rem;
    color: var(--brand-mint);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.ai-chat-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 290px;
    background: #F8FAF9;
}

.chat-bubble {
    max-width: 88%;
    padding: 14px 16px;
    border-radius: 18px;
    font-size: 0.92rem;
    line-height: 1.55;
    animation: panelFade 0.25s ease;
}

.chat-bubble.user {
    align-self: flex-end;
    background: var(--text-primary);
    color: #FFFFFF;
    border-bottom-right-radius: 6px;
}

.chat-bubble.ai {
    align-self: flex-start;
    background: var(--bg-surface);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    border-bottom-left-radius: 6px;
    box-shadow: var(--shadow-sm);
}

.chat-bubble.ai ul {
    list-style: none;
    margin: 10px 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.chat-prompt-bar {
    padding: 14px 20px;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-light);
}

.chat-prompt-label {
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: block;
}

.chat-prompts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chat-prompt-btn {
    padding: 7px 13px;
    border-radius: var(--radius-pill);
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.chat-prompt-btn:hover,
.chat-prompt-btn.active {
    background: var(--brand-soft);
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

/* ==========================================================================
   Testimonials (Social Proof)
   ========================================================================== */
.testimonials {
    padding: 88px 0;
    background: var(--bg-subtle);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.review-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}

.review-stars {
    color: #F59E0B;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.review-quote {
    font-size: 0.96rem;
    color: var(--text-primary);
    line-height: 1.65;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #059669, #0EA5E9);
    color: #FFFFFF;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.review-author strong {
    display: block;
    font-size: 0.9rem;
}

.review-author small {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq {
    padding: 96px 0;
}

.faq-list {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item.open {
    border-color: rgba(5, 150, 105, 0.35);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    text-align: left;
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--text-primary);
}

.faq-question i {
    color: var(--brand-primary);
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-inner {
    padding: 0 24px 20px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ==========================================================================
   Download CTA Banner
   ========================================================================== */
.download {
    padding: 24px 0 96px;
}

.download-banner {
    background: linear-gradient(135deg, #061817 0%, #0A322F 55%, #064E3B 100%);
    border-radius: var(--radius-xl);
    padding: 60px 56px;
    color: #FFFFFF;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    align-items: center;
    gap: 48px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.download-banner::after {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.24), transparent 70%);
    pointer-events: none;
}

.download-text h2 {
    color: #FFFFFF;
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 14px;
}

.download-text p {
    color: #CBD5E1;
    font-size: 1.06rem;
    margin-bottom: 28px;
    max-width: 520px;
}

.download-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 24px;
}

.download-banner .store-cta-secondary {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(8px);
}

.download-banner .store-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.download-perks {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.85rem;
    color: #A7F3D0;
}

.download-perks span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.qr-card {
    position: relative;
    z-index: 1;
    background: #FFFFFF;
    color: var(--text-primary);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    max-width: 248px;
    margin-left: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.qr-card img {
    width: 184px;
    height: 184px;
    margin: 0 auto 12px;
    border-radius: 12px;
}

.qr-card strong {
    display: block;
    font-size: 0.92rem;
    margin-bottom: 2px;
}

.qr-card small {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-light);
    padding: 64px 0 36px;
}

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

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin: 14px 0 20px;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--bg-subtle);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.social-links a:hover {
    background: var(--brand-primary);
    color: #FFFFFF;
    transform: translateY(-2px);
}

.footer-col h4 {
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: var(--brand-primary);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom .fa-heart {
    color: #EF4444;
}

/* ==========================================================================
   Back to Top & Sticky Mobile CTA
   ========================================================================== */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--text-primary);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 900;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--brand-primary);
}

.mobile-sticky-cta {
    display: none;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 950;
    background: rgba(6, 24, 23, 0.95);
    backdrop-filter: blur(14px);
    color: #FFFFFF;
    padding: 10px 12px 10px 14px;
    border-radius: 18px;
    border: 1px solid rgba(52, 211, 153, 0.28);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transform: translateY(120%);
    transition: transform 0.3s ease;
}

.mobile-sticky-cta.visible {
    transform: translateY(0);
}

.mobile-sticky-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-sticky-info img {
    width: 36px;
    height: 36px;
    border-radius: 9px;
}

.mobile-sticky-info strong {
    display: block;
    font-size: 0.88rem;
    line-height: 1.2;
}

.mobile-sticky-info small {
    font-size: 0.72rem;
    color: #A7F3D0;
}

.mobile-sticky-btn {
    padding: 9px 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, #10B981, #059669);
    color: #FFFFFF;
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

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

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta-group,
    .hero-micro-trust {
        justify-content: center;
    }

    .float-pill-left { left: -24px; }
    .float-pill-right { right: -24px; }

    .bento-span-7,
    .bento-span-5,
    .bento-span-4,
    .bento-span-6 {
        grid-column: span 6;
    }

    .ai-grid {
        grid-template-columns: 1fr;
    }

    .download-banner {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 44px 32px;
    }

    .download-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .download-buttons,
    .download-perks {
        justify-content: center;
    }

    .qr-card {
        margin: 0 auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 68px;
        left: 16px;
        right: 16px;
        background: var(--bg-surface);
        border: 1px solid var(--border-light);
        border-radius: var(--radius-lg);
        padding: 20px;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        box-shadow: var(--shadow-lg);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.25s ease;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

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

    .mobile-menu-btn {
        display: inline-flex;
    }

    .hero {
        padding: 104px 0 64px;
    }

    .hero-stats {
        width: 100%;
        justify-content: space-between;
        gap: 12px;
        padding: 16px 18px;
    }

    .stat-number {
        font-size: 1.25rem;
    }

    .float-pill {
        display: none;
    }

    .comparison-grid,
    .steps-grid,
    .reviews-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .bento-span-7,
    .bento-span-5,
    .bento-span-4,
    .bento-span-6 {
        grid-column: span 12;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        padding-bottom: 76px;
    }

    .back-to-top {
        bottom: 84px;
        right: 16px;
    }

    .mobile-sticky-cta {
        display: flex;
    }
}
