/* ── DESIGN SYSTEM TOKENS (Light Luxury Cream Theme) ── */
:root {
    /* Colors */
    --palette-canvas: #FAF6EE;
    --palette-canvas-secondary: #F3ECE0;
    --palette-surface: #FAF6EE;
    --palette-surface-elevated: #EFE9DE;
    --palette-surface-muted: #E5DDD0;
    --palette-surface-glass: rgba(250, 246, 238, 0.9);
    
    /* Text */
    --palette-ink: #26211C; /* Dark Charcoal/Bronze */
    --palette-ink-secondary: #5C544A; /* Muted Warm Brown */
    --palette-muted: #8E8375; /* Taupe/Grey-Brown */
    
    /* Borders */
    --palette-line: rgba(38, 33, 28, 0.08);
    --palette-line-solid: #D6CBB9;
    
    /* Brand Accents */
    --palette-accent: #26211C;
    --palette-accent-strong: #26211C;
    --palette-accent-light: #EFE9DE;
    --palette-accent-glow: rgba(38, 33, 28, 0.06);
    --palette-gold-glow: rgba(192, 180, 159, 0.3);
    
    /* Semantic States */
    --palette-success: #3E674E;
    --palette-danger: #993C3C;
    --palette-warning: #A1751F;
    --palette-info: #355C7D;
    
    /* Radii */
    --radii-xs: 4px;
    --radii-sm: 8px;
    --radii-md: 12px;
    --radii-lg: 16px;
    --radii-xl: 22px;
    --radii-xxl: 28px;
    --radii-pill: 9999px;
    
    /* Spacing */
    --spacing-xxs: 4px;
    --spacing-xs: 8px;
    --spacing-sm: 12px;
    --spacing-md: 20px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-xxl: 64px;
    --spacing-xxxl: 96px;
    
    /* Typography */
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --typography-xs: 0.75rem;
    --typography-sm: 0.875rem;
    --typography-md: 1rem;
    --typography-lg: 1.125rem;
    --typography-xl: 1.35rem;
    --typography-xxl: 1.875rem;
    --typography-xxxl: 2.75rem;
    --typography-display: 4.25rem;
}

/* ── BASE & GLOBAL RESETS ── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--palette-canvas);
    color: var(--palette-ink);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ── UTILITIES & COMMON ELEMENTS ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: 14px 28px;
    border-radius: var(--radii-pill);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: var(--typography-sm);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--palette-accent-strong);
    color: var(--palette-canvas);
    box-shadow: 0 4px 12px var(--palette-accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background-color: var(--palette-ink-secondary);
    box-shadow: 0 6px 16px rgba(38, 33, 28, 0.15);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background-color: transparent;
    color: var(--palette-ink);
    border: 1px solid var(--palette-line-solid);
}

.btn-secondary:hover {
    background-color: rgba(38, 33, 28, 0.03);
    border-color: var(--palette-ink);
}

.gradient-text {
    /* Neutral luxury dark gradient */
    background: linear-gradient(135deg, var(--palette-ink) 0%, var(--palette-ink-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-heading);
}

.accent-text {
    font-family: var(--font-heading);
    color: var(--palette-ink);
    font-weight: 500;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-xl) auto;
}

.section-title {
    font-family: var(--font-heading);
    font-size: var(--typography-xxxl);
    font-weight: 400; /* Serif header looks more elegant lighter */
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.5px;
}

.section-desc {
    color: var(--palette-ink-secondary);
    font-size: var(--typography-md);
    font-weight: 400;
}

/* ── SMART REDIRECT OVERLAY ── */
.redirect-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(38, 33, 28, 0.4);
    backdrop-filter: blur(12px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.redirect-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.redirect-card {
    position: relative;
    background: var(--palette-surface-glass);
    border: 1px solid var(--palette-line-solid);
    border-radius: var(--radii-xxl);
    padding: var(--spacing-xl);
    width: 90%;
    max-width: 440px;
    text-align: center;
    box-shadow: 0 16px 32px rgba(38, 33, 28, 0.1);
    overflow: hidden;
}

.redirect-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(192, 180, 159, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.logo-spinner {
    position: relative;
    width: 84px;
    height: 84px;
    margin: 0 auto var(--spacing-md) auto;
}

.spinner-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: var(--radii-md);
    object-fit: cover;
}

.spinner-ring {
    width: 100%;
    height: 100%;
    border: 2px solid rgba(38, 33, 28, 0.05);
    border-top: 2px solid var(--palette-ink);
    border-radius: var(--radii-pill);
    animation: rotateRing 1.5s linear infinite;
}

@keyframes rotateRing {
    to { transform: rotate(360deg); }
}

.redirect-card h2 {
    font-family: var(--font-heading);
    font-size: var(--typography-xl);
    font-weight: 500;
    margin-bottom: var(--spacing-xs);
}

.redirect-card p {
    color: var(--palette-ink-secondary);
    font-size: var(--typography-sm);
    margin-bottom: var(--spacing-md);
}

.progress-bar-container {
    width: 100%;
    height: 4px;
    background-color: var(--palette-surface-muted);
    border-radius: var(--radii-pill);
    overflow: hidden;
    margin-bottom: var(--spacing-lg);
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--palette-ink);
    border-radius: var(--radii-pill);
    transition: width 2s linear;
}

.redirect-actions {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
}

.redirect-actions .btn {
    padding: 10px 20px;
    font-size: var(--typography-xs);
}

/* ── HEADER ── */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(250, 246, 238, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--palette-line);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: var(--typography-xl);
    letter-spacing: -0.5px;
}

.logo-img {
    width: 32px;
    height: 32px;
    border-radius: var(--radii-sm);
    object-fit: cover;
}

.logo-text {
    font-weight: 500;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
}

.nav-link {
    font-family: var(--font-body);
    font-size: var(--typography-sm);
    font-weight: 500;
    color: var(--palette-ink-secondary);
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1.5px;
    background-color: var(--palette-ink);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-link:hover, .nav-link.active {
    color: var(--palette-ink);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-xxs);
    background-color: var(--palette-canvas-secondary);
    border: 1px solid var(--palette-line);
    color: var(--palette-ink-secondary);
    padding: 8px 16px;
    border-radius: var(--radii-pill);
    font-size: var(--typography-xs);
    font-weight: 600;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    color: var(--palette-ink);
    border-color: var(--palette-ink-secondary);
    background-color: var(--palette-surface-elevated);
}

.lang-flag {
    font-size: 0.85rem;
}

.header-download-btn {
    padding: 10px 22px;
    font-size: var(--typography-xs);
}

/* ── HERO SECTION ── */
.hero-section {
    position: relative;
    padding: 170px 0 var(--spacing-xxl) 0;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -20%;
    right: -20%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(214, 203, 185, 0.25) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: var(--spacing-xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.badge-container {
    margin-bottom: var(--spacing-sm);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    background-color: var(--palette-canvas-secondary);
    color: var(--palette-ink-secondary);
    border: 1px solid var(--palette-line-solid);
    padding: 8px 16px;
    border-radius: var(--radii-pill);
    font-size: var(--typography-xs);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-badge i {
    color: var(--palette-muted);
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: var(--typography-display);
    line-height: 1.1;
    font-weight: 400; /* Editorial Light weight serif */
    margin-bottom: var(--spacing-md);
    letter-spacing: -1.5px;
}

.hero-content p {
    color: var(--palette-ink-secondary);
    font-size: var(--typography-lg);
    line-height: 1.7;
    margin-bottom: var(--spacing-xl);
    max-width: 580px;
    font-weight: 300;
}

.hero-download-areas {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.store-badges {
    display: flex;
    gap: var(--spacing-sm);
}

.store-btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    background-color: var(--palette-ink);
    color: var(--palette-canvas);
    border: 1px solid var(--palette-ink);
    padding: 10px 22px;
    border-radius: var(--radii-pill);
    transition: all 0.3s ease;
}

.store-btn i {
    font-size: 1.6rem;
}

.store-btn .btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.store-btn .small-txt {
    font-size: 9px;
    font-weight: 400;
    opacity: 0.75;
    line-height: 1;
}

.store-btn .big-txt {
    font-family: var(--font-body);
    font-size: var(--typography-sm);
    font-weight: 600;
    line-height: 1.2;
}

.store-btn:hover {
    transform: translateY(-2px);
    background-color: var(--palette-ink-secondary);
    border-color: var(--palette-ink-secondary);
    box-shadow: 0 8px 16px rgba(38, 33, 28, 0.12);
}

.qr-container {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.qr-box {
    position: relative;
    background-color: #fff;
    padding: 8px;
    border-radius: var(--radii-md);
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--palette-line-solid);
    box-shadow: 0 4px 12px rgba(38, 33, 28, 0.03);
    overflow: hidden;
}

.qr-box canvas {
    width: 84px !important;
    height: 84px !important;
}

.qr-scan-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--palette-ink);
    box-shadow: 0 0 6px var(--palette-ink);
    animation: scanQr 2.5s ease-in-out infinite;
}

@keyframes scanQr {
    0%, 100% { top: 4px; }
    50% { top: 92px; }
}

.qr-text {
    display: flex;
    flex-direction: column;
}

.qr-title {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: var(--typography-sm);
    color: var(--palette-ink);
}

.qr-desc {
    font-size: var(--typography-xs);
    color: var(--palette-ink-secondary);
    margin-top: 2px;
}

/* Hero Visual & Phone Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.phone-mockup-wrapper {
    position: relative;
    width: 310px;
    height: 640px;
}

.phone-mockup-wrapper.double-phone {
    width: 440px;
    height: 600px;
}

.phone-frame {
    border-radius: 40px;
    border: 12px solid var(--palette-ink); /* black iPhone border style */
    background-color: var(--palette-canvas);
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(38, 33, 28, 0.12);
}

.phone-mockup-wrapper.double-phone .phone-frame {
    position: absolute;
    height: 520px;
    width: 250px;
}

.phone-scan {
    left: 0;
    top: 0;
    z-index: 2;
}

.phone-results {
    right: 0;
    top: 60px;
    z-index: 1;
    opacity: 0.98;
    box-shadow: -10px 15px 35px rgba(38, 33, 28, 0.08);
}

.mockup-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.95;
}

.scanner-laser {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--palette-ink), var(--palette-muted), transparent);
    box-shadow: 0 0 8px rgba(38, 33, 28, 0.2);
    animation: laserScan 4.5s ease-in-out infinite;
}

@keyframes laserScan {
    0%, 100% { top: 12%; }
    50% { top: 88%; }
}

.scanning-markers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.marker {
    position: absolute;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    animation: pulseMarker 2.5s infinite ease-in-out;
}

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

.marker-dot {
    width: 10px;
    height: 10px;
    background-color: var(--palette-ink);
    border: 2px solid var(--palette-canvas);
    border-radius: var(--radii-pill);
    box-shadow: 0 0 6px rgba(38, 33, 28, 0.3);
}

.marker-label {
    background-color: var(--palette-surface-glass);
    border: 1px solid var(--palette-line-solid);
    color: var(--palette-ink);
    padding: 4px 8px;
    border-radius: var(--radii-sm);
    font-size: 10px;
    font-weight: 500;
    white-space: nowrap;
}

.marker-1 { top: 22%; left: 38%; } /* Forehead */
.marker-2 { top: 38%; left: 18%; } /* Eye */
.marker-3 { top: 48%; left: 62%; } /* Cheek */
.marker-4 { top: 62%; left: 45%; } /* Jaw */

.floating-badge {
    position: absolute;
    background: var(--palette-surface-glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--palette-line-solid);
    padding: 12px 18px;
    border-radius: var(--radii-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    box-shadow: 0 8px 24px rgba(38, 33, 28, 0.08);
    z-index: 10;
}

.badge-top-right {
    top: 15%;
    right: -30px;
    animation: floatBadge 4s infinite ease-in-out;
}

.badge-bottom-left {
    bottom: 12%;
    left: -35px;
    animation: floatBadge 4s infinite ease-in-out 2s;
}

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

.floating-badge .badge-icon {
    width: 36px;
    height: 36px;
    background-color: var(--palette-canvas-secondary);
    color: var(--palette-ink);
    border-radius: var(--radii-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.floating-badge .badge-text {
    display: flex;
    flex-direction: column;
}

.floating-badge .badge-num {
    font-family: var(--font-heading);
    font-size: var(--typography-xl);
    font-weight: 600;
    line-height: 1.1;
    color: var(--palette-ink);
}

.floating-badge .badge-lbl {
    font-size: var(--typography-xs);
    color: var(--palette-ink-secondary);
}

/* ── SKIN SIMULATOR SECTION ── */
.simulator-section {
    background-color: var(--palette-canvas-secondary);
    padding: var(--spacing-xxl) 0;
    position: relative;
    border-top: 1px solid var(--palette-line);
    border-bottom: 1px solid var(--palette-line);
}

.simulator-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.concern-selector-panel {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.concern-btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    background-color: var(--palette-canvas);
    border: 1px solid var(--palette-line-solid);
    padding: var(--spacing-md);
    border-radius: var(--radii-lg);
    text-align: left;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.concern-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: var(--radii-sm);
    background-color: var(--palette-canvas-secondary);
    color: var(--palette-ink-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.concern-info h3 {
    font-family: var(--font-body);
    font-size: var(--typography-md);
    font-weight: 600;
    color: var(--palette-ink);
    margin-bottom: 2px;
}

.concern-info p {
    font-size: var(--typography-xs);
    color: var(--palette-ink-secondary);
}

.concern-btn:hover {
    background-color: rgba(38, 33, 28, 0.02);
    border-color: var(--palette-ink);
    transform: translateX(4px);
}

.concern-btn.active {
    background-color: var(--palette-canvas);
    border-color: var(--palette-ink);
    box-shadow: 0 4px 16px rgba(38, 33, 28, 0.05);
}

.concern-btn.active .concern-icon {
    background-color: var(--palette-ink);
    color: var(--palette-canvas);
}

/* Simulator Display Phone Panel */
.simulator-display-panel {
    display: flex;
    justify-content: center;
}

.sim-phone {
    width: 100%;
    max-width: 360px;
    background-color: var(--palette-canvas);
    border: 10px solid var(--palette-ink);
    border-radius: 36px;
    aspect-ratio: 9/19.5;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(38, 33, 28, 0.1);
    display: flex;
    flex-direction: column;
}

.sim-phone::-webkit-scrollbar {
    display: none;
}

.sim-phone-header {
    padding: 18px var(--spacing-md) 10px var(--spacing-md);
    text-align: center;
    border-bottom: 1px solid var(--palette-line);
    background-color: var(--palette-canvas);
    position: sticky;
    top: 0;
    z-index: 2;
}

.sim-phone-title {
    font-family: var(--font-heading);
    font-size: var(--typography-sm);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--palette-ink);
}

.sim-phone-body {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.sim-scan-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    background-color: var(--palette-surface-elevated);
    border-radius: var(--radii-md);
    padding: var(--spacing-sm);
    border: 1px solid var(--palette-line-solid);
}

.sim-score-circle {
    position: relative;
    width: 80px;
    height: 80px;
}

.sim-score-circle svg {
    width: 100%;
    height: 100%;
}

.progress-ring-bg {
    stroke: rgba(38, 33, 28, 0.04);
}

.progress-ring-circle {
    stroke: var(--palette-ink);
    transition: stroke-dashoffset 0.8s ease-in-out;
}

.sim-score-value {
    position: absolute;
    top: 52%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sim-score-value .num {
    font-family: var(--font-heading);
    font-size: var(--typography-xxl);
    font-weight: 500;
    line-height: 1;
    color: var(--palette-ink);
}

.sim-score-value .label {
    font-size: 8px;
    color: var(--palette-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sim-quick-stats {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

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

.sim-stat-item .lbl {
    font-size: 9px;
    color: var(--palette-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.sim-stat-item .val {
    font-size: var(--typography-xs);
    font-weight: 600;
    color: var(--palette-ink);
}

.sim-metrics-box, .sim-routine-box {
    background-color: var(--palette-surface-elevated);
    border: 1px solid var(--palette-line-solid);
    border-radius: var(--radii-md);
    padding: var(--spacing-sm);
}

.sim-metrics-box h4, .sim-routine-box h4 {
    font-family: var(--font-heading);
    font-size: var(--typography-sm);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    border-left: 2px solid var(--palette-ink);
    padding-left: var(--spacing-xs);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.sim-metric-row {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-xs);
}

.sim-metric-row:last-child {
    margin-bottom: 0;
}

.sim-metric-row .lbl {
    width: 60px;
    font-size: 11px;
    color: var(--palette-ink-secondary);
}

/* Clean, flat slider bars matching the app design style */
.sim-metric-row .metric-bar {
    flex-grow: 1;
    height: 2px;
    background-color: rgba(38, 33, 28, 0.08);
    position: relative;
}

.sim-metric-row .metric-bar .fill {
    height: 100%;
    background-color: var(--palette-ink);
    transition: width 0.8s ease-in-out;
}

.sim-metric-row .pct {
    font-family: var(--font-heading);
    font-size: var(--typography-sm);
    font-weight: 500;
    color: var(--palette-ink);
    text-align: right;
    width: 28px;
}

/* Routine Box */
.sim-steps {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.sim-step {
    display: flex;
    gap: var(--spacing-xs);
}

.sim-step .step-icon {
    width: 24px;
    height: 24px;
    border-radius: var(--radii-xs);
    background-color: var(--palette-surface-muted);
    color: var(--palette-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--typography-xs);
}

.sim-step .step-detail {
    display: flex;
    flex-direction: column;
}

.sim-step h5 {
    font-family: var(--font-heading);
    font-size: var(--typography-xs);
    font-weight: 600;
    color: var(--palette-ink);
    margin-bottom: 2px;
}

.sim-step p {
    font-size: 10px;
    color: var(--palette-ink-secondary);
    line-height: 1.5;
}

/* ── FEATURES SECTION ── */
.features-section {
    padding: var(--spacing-xxl) 0;
}

.features-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--spacing-lg);
}

.feature-card {
    position: relative;
    background-color: var(--palette-surface-elevated);
    border: 1px solid var(--palette-line-solid);
    padding: var(--spacing-lg);
    border-radius: var(--radii-lg);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(214, 203, 185, 0.15) 0%, transparent 60%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radii-sm);
    background-color: var(--palette-canvas);
    border: 1px solid var(--palette-line-solid);
    color: var(--palette-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
    transition: all 0.3s ease;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: var(--typography-lg);
    font-weight: 500;
    margin-bottom: var(--spacing-xs);
    letter-spacing: -0.2px;
}

.feature-card p {
    color: var(--palette-ink-secondary);
    font-size: var(--typography-sm);
    line-height: 1.6;
    font-weight: 300;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--palette-ink);
    box-shadow: 0 12px 24px rgba(38, 33, 28, 0.04);
}

.feature-card:hover .feature-card-glow {
    opacity: 1;
}

.feature-card:hover .feature-icon {
    background-color: var(--palette-ink);
    color: var(--palette-canvas);
    border-color: var(--palette-ink);
}

/* ── FAQ SECTION ── */
.faq-section {
    background-color: var(--palette-canvas-secondary);
    padding: var(--spacing-xxl) 0;
    border-top: 1px solid var(--palette-line);
    border-bottom: 1px solid var(--palette-line);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.faq-item {
    background-color: var(--palette-canvas);
    border: 1px solid var(--palette-line-solid);
    border-radius: var(--radii-md);
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-question {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    font-family: var(--font-body);
    font-size: var(--typography-md);
    font-weight: 600;
    color: var(--palette-ink);
}

.faq-icon {
    font-size: 0.9rem;
    color: var(--palette-muted);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-inner {
    padding: 0 var(--spacing-lg) var(--spacing-md) var(--spacing-lg);
    color: var(--palette-ink-secondary);
    font-size: var(--typography-sm);
    line-height: 1.6;
    font-weight: 300;
}

.faq-item.active {
    border-color: var(--palette-ink);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--palette-ink);
}

/* ── FOOTER ── */
#site-footer {
    padding: var(--spacing-xl) 0 var(--spacing-md) 0;
    border-top: 1px solid var(--palette-line);
    background-color: var(--palette-canvas);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-desc {
    color: var(--palette-ink-secondary);
    font-size: var(--typography-sm);
    max-width: 320px;
    font-weight: 300;
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: var(--radii-pill);
    background-color: var(--palette-canvas);
    border: 1px solid var(--palette-line-solid);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--palette-ink-secondary);
    font-size: 1rem;
}

.social-links a:hover {
    color: var(--palette-canvas);
    background-color: var(--palette-ink);
    border-color: var(--palette-ink);
    transform: translateY(-2px);
}

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

.footer-col h4 {
    font-family: var(--font-body);
    font-size: var(--typography-xs);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--palette-ink);
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer-col ul a {
    font-size: var(--typography-sm);
    color: var(--palette-ink-secondary);
}

.footer-col ul a:hover {
    color: var(--palette-ink);
}

.footer-bottom {
    border-top: 1px solid var(--palette-line);
    padding-top: var(--spacing-md);
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    font-size: var(--typography-xs);
    color: var(--palette-muted);
}

.medical-disclaimer {
    max-width: 600px;
    text-align: right;
    line-height: 1.5;
    font-weight: 300;
}

/* ── RESPONSIVE DESIGN ── */
@media (max-width: 1024px) {
    :root {
        --typography-display: 3.25rem;
    }
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        text-align: center;
    }
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-download-areas {
        align-items: center;
    }
    .hero-visual {
        margin-top: var(--spacing-md);
    }
    .simulator-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    .concern-selector-panel {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: var(--spacing-sm);
    }
    .concern-btn {
        flex-shrink: 0;
        width: 250px;
    }
}

@media (max-width: 768px) {
    :root {
        --typography-display: 2.5rem;
        --typography-xxxl: 1.85rem;
    }
    .header-download-btn {
        display: none;
    }
    .main-nav {
        display: none;
    }
    .hero-section {
        padding-top: 130px;
    }
    .phone-mockup-wrapper.double-phone {
        width: 300px;
        height: 420px;
        margin: 0 auto;
    }
    .phone-mockup-wrapper.double-phone .phone-frame {
        height: 360px;
        width: 175px;
        border-width: 8px;
        border-radius: 24px;
    }
    .phone-scan {
        left: 0;
        top: 0;
    }
    .phone-results {
        right: 0;
        top: 40px;
    }
    .phone-mockup-wrapper.double-phone .floating-badge {
        display: none;
    }
    .store-badges {
        flex-direction: column;
        width: 100%;
        max-width: 260px;
    }
    .qr-container {
        display: none;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    .footer-links-grid {
        gap: var(--spacing-md);
    }
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }
    .medical-disclaimer {
        text-align: center;
    }
}

/* ── SCIENCE & BLOG SECTION ── */
.science-section {
    padding: var(--spacing-xxl) 0;
    border-top: 1px solid var(--palette-line);
}

.science-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
}

.science-card {
    background-color: var(--palette-canvas);
    border: 1px solid var(--palette-line-solid);
    border-radius: var(--radii-lg);
    padding: var(--spacing-lg);
    transition: all 0.3s ease;
}

.science-card:hover {
    transform: translateY(-4px);
    border-color: var(--palette-ink);
    box-shadow: 0 12px 24px rgba(38, 33, 28, 0.04);
}

.science-date {
    font-size: var(--typography-xs);
    color: var(--palette-muted);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.science-card h3 {
    font-family: var(--font-heading);
    font-size: var(--typography-lg);
    font-weight: 500;
    color: var(--palette-ink);
    margin-bottom: var(--spacing-sm);
    line-height: 1.25;
}

.science-card p {
    font-size: var(--typography-sm);
    color: var(--palette-ink-secondary);
    line-height: 1.6;
    font-weight: 300;
}
