/* Naturalize - Midnight Americana */
/* Sophisticated dark theme with American gold accents */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@500;700&display=swap');

:root {
    /* Dark foundations */
    --bg-primary: #0A0E14;
    --bg-secondary: #111820;
    --bg-elevated: #1A2332;
    --bg-hover: #232D3F;

    /* Text hierarchy */
    --text-primary: #FFFFFF;
    --text-secondary: #94A3B8;
    --text-tertiary: #64748B;

    /* Accent colors - American gold */
    --gold: #D4AF37;
    --gold-light: #E8C860;
    --gold-subtle: rgba(212, 175, 55, 0.15);
    --gold-glow: rgba(212, 175, 55, 0.3);

    /* Status colors */
    --blue: #3B82F6;
    --blue-light: rgba(59, 130, 246, 0.15);
    --green: #22C55E;
    --green-light: rgba(34, 197, 94, 0.15);
    --red: #EF4444;
    --red-light: rgba(239, 68, 68, 0.15);

    /* Borders & dividers */
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    --border-gold: rgba(212, 175, 55, 0.3);

    /* Typography */
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', 'Monaco', monospace;

    /* Shadows - Dark theme */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
    --shadow-phone: 0 50px 100px -20px rgba(0, 0, 0, 0.7), 0 30px 60px -30px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 60px rgba(212, 175, 55, 0.2);
    --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.25);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Layout */
    --max-width: 1200px;
    --header-height: 72px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
}

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

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

body {
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

main {
    position: relative;
    background: var(--bg-primary);
}

main > * {
    position: relative;
    z-index: 1;
}

/* ================================
   STARFIELD BACKGROUND
   ================================ */
.starfield {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: starDrift 40s linear infinite;
}

.star.gold {
    background: rgba(212, 175, 55, 0.5);
}

.star:nth-child(odd) {
    animation-duration: 35s;
}

.star:nth-child(3n) {
    animation-duration: 45s;
    width: 1px;
    height: 1px;
}

@keyframes starDrift {
    0% {
        transform: translateY(100vh);
        opacity: 0;
    }
    5% {
        opacity: 0.6;
    }
    95% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-20vh);
        opacity: 0;
    }
}

/* Noise texture overlay */
.starfield::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.02;
    pointer-events: none;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.1;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

h1 {
    font-size: clamp(48px, 7vw, 80px);
    line-height: 1.05;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.1;
}

h3 {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 22px;
    line-height: 1.3;
}

p {
    color: var(--text-secondary);
}

/* Gold underline accent */
.gold-underline {
    position: relative;
    display: inline;
}

.gold-underline::after {
    content: '';
    position: absolute;
    bottom: 0.1em;
    left: 0;
    width: 100%;
    height: 0.15em;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    opacity: 0.6;
    z-index: -1;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ================================
   HEADER
   ================================ */
header {
    position: relative;
    height: var(--header-height);
    background: transparent;
    z-index: 1000;
}

header nav {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0;
    font-family: var(--font-sans);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.logo span {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo img {
    border-radius: 10px;
}

.nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--gold);
    transition: width var(--transition-normal);
}

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

.nav-links a:hover::after {
    width: 100%;
}

/* Primary Button */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    color: var(--bg-primary);
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(212, 175, 55, 0.35);
}

/* Secondary Button */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    background: transparent;
    border: 1.5px solid var(--border-hover);
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
}

.btn-secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: var(--gold-subtle);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 24px;
    height: 24px;
    padding: 0;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 1px;
    transition: all var(--transition-fast);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    padding: 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    z-index: 999;
    flex-direction: column;
    gap: 8px;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    font-size: 17px;
    font-weight: 500;
    color: var(--text-primary);
    padding: 12px 0;
}

.mobile-menu .mobile-app-store {
    display: block;
    margin-top: 16px;
}

.mobile-menu .mobile-app-store img {
    height: 44px;
}

/* ================================
   HERO SECTION
   ================================ */
.hero {
    position: relative;
    padding: 0;
    background: transparent;
    overflow: hidden;
}


/* ================================
   HERO + SHOWCASE COMBINED
   ================================ */
.hero-showcase {
    position: relative;
    background: transparent;
}

.hero-showcase-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 80px;
    align-items: start;
    min-height: 100vh;
}

.hero-showcase-content {
    padding: 100px 0 120px;
}

.hero-showcase-content .hero-content {
    margin-bottom: 100px;
}

/* Eyebrow / Overline */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    margin-bottom: 24px;
}

.hero-eyebrow::before {
    content: '';
    width: 32px;
    height: 2px;
    background: var(--gold);
    border-radius: 1px;
}

.hero-showcase-content .hero-content h1 {
    margin-bottom: 28px;
}

.hero-showcase-content .hero-content h1 .highlight {
    color: var(--gold);
}

.hero-showcase-content .hero-subtitle {
    font-size: 20px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 520px;
}

.hero-showcase-content .hero-buttons {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.hero-stats .stat {
    text-align: left;
    position: relative;
}

.hero-stats .stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -24px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: var(--border);
}

.hero-stats .stat-number {
    display: block;
    font-family: var(--font-mono);
    font-size: 32px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: -0.02em;
}

.hero-stats .stat-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-tertiary);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-showcase .phone-container {
    position: sticky;
    top: 40px;
    height: fit-content;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px 0;
}

/* Phone glow effect - Gold tinted */
.phone-glow {
    position: absolute;
    inset: -80px;
    background: radial-gradient(
        ellipse 60% 50% at center,
        rgba(212, 175, 55, 0.2) 0%,
        rgba(212, 175, 55, 0.08) 40%,
        transparent 70%
    );
    filter: blur(40px);
    animation: glowPulse 4s ease-in-out infinite;
    z-index: -1;
    pointer-events: none;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.08); }
}


.hero-showcase .feature-list {
    padding: 0;
}

.hero-showcase .feature-item {
    padding: 80px 0;
    border-bottom: 1px solid var(--border);
    opacity: 0.4;
    transition: all var(--transition-slow);
    cursor: pointer;
}

.hero-showcase .feature-item:first-child {
    border-top: 1px solid var(--border);
}

.hero-showcase .feature-item:last-child {
    border-bottom: none;
}

.hero-showcase .feature-item.active {
    opacity: 1;
}

.hero-showcase .feature-item.active h3 {
    color: var(--gold);
}

.hero-content {
    max-width: 580px;
}

.hero h1 {
    margin-bottom: 28px;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 40px;
}


/* ================================
   IPHONE MOCKUP - Premium 3D Style
   ================================ */
.iphone-frame {
    position: relative;
    width: 300px;
    height: 612px;
    background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 50%, #0d0d0d 100%);
    border-radius: 52px;
    padding: 14px;
    box-shadow: var(--shadow-phone), 0 0 80px rgba(212, 175, 55, 0.1);
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform var(--transition-slow);
    animation: phoneFloat 6s ease-in-out infinite;
}

.iphone-frame:hover {
    transform: perspective(1000px) rotateY(-2deg) rotateX(1deg);
    animation-play-state: paused;
}

@keyframes phoneFloat {
    0%, 100% { transform: translateY(0) perspective(1000px) rotateY(-5deg) rotateX(2deg); }
    50% { transform: translateY(-12px) perspective(1000px) rotateY(-5deg) rotateX(2deg); }
}

.iphone-frame::before {
    content: '';
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 32px;
    background: #000;
    border-radius: 20px;
    z-index: 10;
}

/* Subtle highlight on frame edge */
.iphone-frame::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 52px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.iphone-screen {
    position: relative;
    width: 100%;
    height: 100%;
    background: #FFFFFF;
    border-radius: 40px;
    overflow: hidden;
}

.screenshot-container {
    position: relative;
    width: 340px;
    height: 693px;
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform var(--transition-slow);
    animation: phoneFloat 6s ease-in-out infinite;
}

.screenshot-container:hover {
    transform: perspective(1000px) rotateY(-2deg) rotateX(1deg);
    animation-play-state: paused;
}

.screen-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.screen-content.active {
    opacity: 1;
}

@media (max-width: 768px) {
    .screen-content {
        opacity: 0;
        transition: none;
    }

    .screen-content.active {
        opacity: 1;
    }
}

.screen-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Wireframe Screen Styles - Light theme for contrast */
.wireframe-header {
    text-align: center;
    margin-bottom: 24px;
}

.wireframe-label {
    font-size: 11px;
    font-weight: 600;
    color: #86868B;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.wireframe-title {
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 700;
    color: #1D1D1F;
}

.wireframe-countdown {
    text-align: center;
    margin-bottom: 24px;
    padding: 24px 20px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(232, 200, 96, 0.08) 100%);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.wireframe-days {
    font-family: var(--font-mono);
    font-size: 64px;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    letter-spacing: -0.02em;
}

.wireframe-days-label {
    font-size: 14px;
    color: #86868B;
    margin-top: 8px;
    font-weight: 500;
}

/* Progress Rings */
.wireframe-rings {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
}

.progress-ring {
    width: 80px;
    height: 80px;
    position: relative;
}

.progress-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.progress-ring circle {
    fill: none;
    stroke-width: 6;
}

.progress-ring .bg {
    stroke: #E8E8ED;
}

.progress-ring .progress {
    stroke: var(--blue);
    stroke-linecap: round;
    stroke-dasharray: 188;
    stroke-dashoffset: 56;
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.3));
}

.progress-ring .progress.green {
    stroke: var(--green);
    stroke-dashoffset: 38;
    filter: drop-shadow(0 0 8px rgba(34, 197, 94, 0.3));
}

.progress-ring-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    font-weight: 600;
    color: #6E6E73;
    text-align: center;
}

/* Wireframe List Items */
.wireframe-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wireframe-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: #F5F5F7;
    border-radius: var(--radius-md);
    border: 1px solid #E8E8ED;
}

.wireframe-item-icon {
    width: 40px;
    height: 40px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wireframe-item-icon svg {
    width: 20px;
    height: 20px;
    color: var(--blue);
}

.wireframe-item-content {
    flex: 1;
}

.wireframe-item-title {
    font-size: 15px;
    font-weight: 600;
    color: #1D1D1F;
    margin-bottom: 2px;
}

.wireframe-item-subtitle {
    font-size: 12px;
    color: #86868B;
}

.wireframe-item-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: var(--radius-full);
    background: rgba(59, 130, 246, 0.1);
    color: var(--blue);
}

.wireframe-item-badge.warning {
    background: rgba(239, 68, 68, 0.1);
    color: var(--red);
}

/* Wireframe Form */
.wireframe-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.wireframe-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.wireframe-field-label {
    font-size: 12px;
    font-weight: 600;
    color: #6E6E73;
}

.wireframe-field-input {
    height: 48px;
    background: #F5F5F7;
    border: 1px solid #E8E8ED;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    padding: 0 16px;
    font-size: 15px;
    color: #1D1D1F;
}

.wireframe-field-input.placeholder {
    color: #86868B;
}

.wireframe-btn {
    height: 52px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 600;
    color: #1D1D1F;
    margin-top: 8px;
}

/* Timeline Screen */
.wireframe-timeline {
    position: relative;
    padding-left: 28px;
}

.wireframe-timeline::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--green) 0%, var(--gold) 50%, #E8E8ED 100%);
}

.timeline-item {
    position: relative;
    padding-bottom: 24px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -26px;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #E8E8ED;
    border: 3px solid #FFFFFF;
    box-shadow: 0 0 0 2px #E8E8ED;
}

.timeline-item.active::before {
    background: var(--gold);
    box-shadow: 0 0 0 2px var(--gold);
}

.timeline-item.completed::before {
    background: var(--green);
    box-shadow: 0 0 0 2px var(--green);
}

.timeline-date {
    font-size: 11px;
    font-weight: 600;
    color: #86868B;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.timeline-title {
    font-size: 15px;
    font-weight: 600;
    color: #1D1D1F;
}

.timeline-subtitle {
    font-size: 13px;
    color: #86868B;
    margin-top: 2px;
}

/* Settings Screen */
.wireframe-settings {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.settings-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: #F5F5F7;
    border-radius: var(--radius-md);
    border: 1px solid #E8E8ED;
}

.settings-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.settings-item-icon {
    width: 36px;
    height: 36px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.settings-item-icon svg {
    width: 18px;
    height: 18px;
    color: var(--blue);
}

.settings-item-label {
    font-size: 15px;
    font-weight: 500;
    color: #1D1D1F;
}

.settings-toggle {
    width: 48px;
    height: 28px;
    background: var(--green);
    border-radius: 14px;
    position: relative;
}

.settings-toggle::after {
    content: '';
    position: absolute;
    top: 3px;
    right: 3px;
    width: 22px;
    height: 22px;
    background: #FFFFFF;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.settings-toggle.off {
    background: #E8E8ED;
}

.settings-toggle.off::after {
    right: auto;
    left: 3px;
}

.settings-chevron {
    width: 20px;
    height: 20px;
    color: #86868B;
}

/* ================================
   FEATURE ITEM STYLES (used in hero-showcase)
   ================================ */
.feature-item h3 {
    font-family: var(--font-sans);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    transition: color var(--transition-normal);
    color: var(--text-primary);
}

.feature-item p {
    font-size: 16px;
    line-height: 1.7;
    max-width: 440px;
    color: var(--text-secondary);
}

/* ================================
   HOW IT WORKS - Visual Journey
   ================================ */
.how-it-works {
    padding: 140px 0;
    background: var(--bg-secondary);
    position: relative;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--border) 20%, var(--border) 80%, transparent 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-eyebrow {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: 16px;
}

.section-header h2 {
    margin-bottom: 20px;
}

.section-header p {
    font-size: 19px;
    max-width: 520px;
    margin: 0 auto;
    color: var(--text-tertiary);
}

/* ================================
   STEPS - Minimal Design
   ================================ */
.steps-minimal {
    max-width: 800px;
    margin: 0 auto;
}

.step-minimal {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 32px;
    padding: 48px 0;
    border-bottom: 1px solid var(--border);
    align-items: start;
}

.step-minimal:last-child {
    border-bottom: none;
}

.step-num {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 500;
    color: var(--gold);
    letter-spacing: 0.05em;
    padding-top: 4px;
}

.step-content h3 {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.step-content p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 560px;
}

@media (max-width: 768px) {
    .step-minimal {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 36px 0;
    }

    .step-num {
        padding-top: 0;
    }

    .step-content h3 {
        font-size: 24px;
    }
}


/* ================================
   FEATURES SECTION - Clean Grid
   ================================ */
.features-section {
    padding: 140px 0;
    background: var(--bg-secondary);
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--border) 20%, var(--border) 80%, transparent 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.feature-card {
    background: var(--bg-secondary);
    padding: 48px 40px;
    transition: background-color var(--transition-normal);
}

.feature-card:hover {
    background: var(--bg-elevated);
}

.feature-card h3 {
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
}

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

    .feature-card {
        padding: 36px 28px;
    }
}


/* ================================
   FAQ SECTION
   ================================ */
.faq {
    padding: 140px 0;
    background: var(--bg-secondary);
    position: relative;
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--border) 20%, var(--border) 80%, transparent 100%);
}

.faq .container {
    max-width: 800px;
}

.faq-list {
    display: flex;
    flex-direction: column;
}

.faq-item {
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    margin-bottom: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.faq-item:hover {
    border-color: var(--border-hover);
}

.faq-item.active {
    border-color: var(--gold);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.15);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 24px 28px;
    text-align: left;
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--gold);
}

.faq-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    position: relative;
    color: var(--text-tertiary);
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: currentColor;
    transition: transform var(--transition-fast);
}

.faq-icon::before {
    width: 14px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-icon::after {
    width: 2px;
    height: 14px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-item.active .faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.active .faq-icon {
    color: var(--gold);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
}

.faq-answer-content {
    padding: 0 28px 28px;
}

.faq-answer p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-secondary);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

/* ================================
   FINAL CTA - Dark with Gold Glow
   ================================ */
.final-cta {
    position: relative;
    padding: 140px 0;
    background: var(--bg-primary);
    text-align: center;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--border) 20%, var(--border) 80%, transparent 100%);
}

/* Gold radial glow behind CTA */
.cta-mesh-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.cta-mesh-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    animation: meshFloat 35s ease-in-out infinite;
}

.cta-mesh-blob-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.25) 0%, transparent 70%);
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: -5s;
}

.cta-mesh-blob-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    bottom: -20%;
    right: 15%;
    animation-delay: -15s;
}

.cta-mesh-blob-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(232, 200, 96, 0.1) 0%, transparent 70%);
    top: 30%;
    left: 5%;
    animation-delay: -25s;
}

@keyframes meshFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -20px) scale(1.05);
    }
    50% {
        transform: translate(-20px, 30px) scale(0.95);
    }
    75% {
        transform: translate(20px, 20px) scale(1.02);
    }
}

/* Subtle floating dots */
.cta-dots {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.cta-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    opacity: 0.3;
    animation: dotFloat 8s ease-in-out infinite;
}

.cta-dot:nth-child(1) { background: var(--gold); top: 20%; left: 15%; animation-delay: 0s; }
.cta-dot:nth-child(2) { background: var(--gold-light); top: 30%; right: 20%; animation-delay: -2s; }
.cta-dot:nth-child(3) { background: var(--gold); bottom: 25%; left: 25%; animation-delay: -4s; }
.cta-dot:nth-child(4) { background: var(--gold-light); top: 60%; right: 30%; animation-delay: -6s; }
.cta-dot:nth-child(5) { background: var(--gold); bottom: 40%; right: 10%; animation-delay: -3s; }

@keyframes dotFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
    50% { transform: translateY(-15px) scale(1.2); opacity: 0.5; }
}

.final-cta .container {
    max-width: 700px;
    position: relative;
    z-index: 1;
}

.cta-badge {
    display: inline-block;
    padding: 10px 20px;
    background: var(--gold-subtle);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 28px;
}

.final-cta h2 {
    color: var(--text-primary);
    margin-bottom: 20px;
}

.final-cta > .container > p {
    font-size: 19px;
    margin-bottom: 36px;
    color: var(--text-secondary);
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 44px;
    flex-wrap: wrap;
}

.cta-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.cta-chip svg {
    width: 16px;
    height: 16px;
    color: var(--gold);
}

.app-store-badge {
    display: inline-block;
    transition: all var(--transition-normal);
}

.app-store-badge:hover {
    transform: scale(1.05);
}

.app-store-badge:active {
    transform: scale(0.98);
}

.app-store-badge img {
    height: 56px;
    width: auto;
}

@media (max-width: 768px) {
    .cta-features {
        gap: 10px;
    }

    .cta-chip {
        padding: 8px 14px;
        font-size: 13px;
    }
}

.final-cta-phone {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

.final-cta-phone .iphone-frame {
    transform: scale(0.85);
}

/* ================================
   FOOTER - Darkest treatment
   ================================ */
footer {
    position: relative;
    padding: 80px 0 56px;
    background: #060810;
    border-top: 1px solid var(--border);
    overflow: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 56px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-tagline {
    font-size: 15px;
    color: var(--text-tertiary);
    max-width: 280px;
    line-height: 1.6;
}

.footer-nav h4,
.footer-cta h4 {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-nav a {
    font-size: 15px;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.footer-nav a:hover {
    color: var(--gold);
}

.footer-cta {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-app-store {
    display: inline-block;
    transition: transform var(--transition-fast);
}

.footer-app-store:hover {
    transform: scale(1.03);
}

.footer-app-store img {
    height: 44px;
    width: auto;
}

.footer-contact {
    font-size: 14px;
    color: var(--text-tertiary);
    transition: color var(--transition-fast);
}

.footer-contact:hover {
    color: var(--gold);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-tertiary);
}

.made-with-love {
    display: flex;
    align-items: center;
    gap: 4px;
}

.made-with-love .heart {
    color: var(--red);
}

.made-with-love a {
    color: var(--text-tertiary);
    transition: color var(--transition-fast);
}

.made-with-love a:hover {
    color: var(--gold);
}

/* ================================
   PRIVACY POLICY PAGE
   ================================ */
.privacy-policy {
    padding-top: 64px;
    padding-bottom: 100px;
    background: var(--bg-primary);
}

.policy-content {
    max-width: 720px;
    margin: 0 auto;
}

.policy-content h1 {
    font-size: clamp(36px, 5vw, 48px);
    margin-bottom: 8px;
}

.last-updated {
    font-size: 15px;
    color: var(--text-tertiary);
    margin-bottom: 48px;
}

.policy-content h2 {
    font-size: 28px;
    margin-top: 56px;
    margin-bottom: 20px;
}

.policy-content h3 {
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.policy-content p {
    margin-bottom: 18px;
    line-height: 1.75;
}

.policy-content ul,
.policy-content ol {
    margin-bottom: 18px;
    padding-left: 28px;
}

.policy-content li {
    margin-bottom: 10px;
    color: var(--text-secondary);
    line-height: 1.65;
}

.policy-content a {
    color: var(--gold);
    transition: color var(--transition-fast);
}

.policy-content a:hover {
    color: var(--gold-light);
}

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

.fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Counter animation for numbers */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.count-up {
    animation: countUp 0.6s ease-out forwards;
}

/* Scroll-triggered animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.15s; }
.animate-on-scroll.delay-2 { transition-delay: 0.3s; }
.animate-on-scroll.delay-3 { transition-delay: 0.45s; }

/* Stagger children animation */
.stagger-children > * {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.5s; }

.stagger-children.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* Button press states */
.btn-primary:active,
.btn-secondary:active {
    transform: scale(0.98);
}

/* Screen transition */
@keyframes screenSlideIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.screen-content.active {
    animation: screenSlideIn 0.5s ease-out;
}

/* ================================
   REDUCED MOTION
   ================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .screen-content.active {
        animation: none;
    }

    .animate-on-scroll {
        opacity: 1;
        transform: none;
    }

    .feature-item.active {
        transform: none;
    }

    .iphone-frame {
        transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
        animation: none;
    }

    .iphone-frame:hover {
        transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    }

    .feature-card:hover {
        background: var(--bg-elevated);
    }

    .star,
    .cta-mesh-blob,
    .phone-glow,
    .cta-dot {
        animation: none;
    }

    .starfield .star {
        opacity: 0.4;
        transform: none;
    }
}

/* ================================
   RESPONSIVE - TABLET
   ================================ */
@media (max-width: 1024px) {
    .hero {
        text-align: center;
    }

    .hero-content {
        max-width: 600px;
        margin: 0 auto;
    }

    .hero-eyebrow {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-showcase-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .hero-showcase-content {
        padding: 60px 0 40px;
        text-align: center;
    }

    .hero-showcase-content .hero-content {
        max-width: 600px;
        margin: 0 auto 40px;
    }

    .hero-showcase-content .hero-subtitle {
        max-width: 100%;
    }

    .hero-showcase-content .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-showcase .phone-container {
        position: relative;
        top: 0;
        order: -1;
        padding: 20px 0 40px;
    }

    .phone-glow {
        inset: -40px;
        filter: blur(60px);
    }

    .hero-showcase .feature-list {
        padding: 40px 0;
    }

    .hero-showcase .feature-item {
        padding: 32px 0;
        opacity: 1;
        text-align: center;
    }

    .hero-showcase .feature-item.active h3 {
        color: var(--text-primary);
    }

    .feature-item {
        padding: 60px 0;
        opacity: 1;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
    }
}

/* ================================
   RESPONSIVE - MOBILE
   ================================ */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        padding: 0;
        text-align: center;
    }

    .hero-showcase-content {
        padding: 40px 0 40px;
    }

    .hero-showcase-content .hero-content {
        margin-bottom: 40px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }

    .hero-stats .stat {
        text-align: center;
    }

    .hero-stats .stat:not(:last-child)::after {
        display: none;
    }

    .hero-stats .stat-number {
        font-size: 28px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-subtitle {
        font-size: 17px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .iphone-frame {
        width: 260px;
        height: 531px;
        border-radius: 44px;
        padding: 12px;
        transform: none;
    }

    .iphone-frame:hover {
        transform: none;
    }

    .iphone-frame::before {
        width: 90px;
        height: 26px;
        top: 12px;
    }

    .iphone-screen {
        border-radius: 34px;
    }

    .screenshot-container {
        width: 260px;
        height: 530px;
    }

    .how-it-works,
    .features-section,
    .faq,
    .final-cta {
        padding: 100px 0;
    }

    .section-header {
        margin-bottom: 60px;
    }

    .feature-item h3 {
        font-size: 22px;
    }

    .nav-links {
        position: static;
        transform: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-tagline {
        max-width: 100%;
    }

    .footer-nav {
        align-items: center;
    }

    .footer-cta {
        align-items: center;
    }

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

/* ================================
   RESPONSIVE - SMALL MOBILE
   ================================ */
@media (max-width: 480px) {
    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .screenshot-container {
        width: 240px;
        height: 490px;
    }

    .faq-question {
        font-size: 16px;
        padding: 20px 24px;
    }

    .faq-answer-content {
        padding: 0 24px 24px;
    }
}
