/* ============================================
   PAEI — AI Soccer Assistant
   High-End Landing Page
   Neutral, Sophisticated, Elegant
   ============================================ */

/* CSS Custom Properties */
:root {
    /* Neutral Color Palette — Warm Stone Tones */
    --color-bg-deep: #0a0908;
    --color-bg-primary: #0f0e0c;
    --color-bg-secondary: #161513;
    --color-bg-tertiary: #1e1c19;
    --color-bg-elevated: #262421;
    
    --color-surface: #2a2825;
    --color-surface-hover: #333029;
    
    --color-text-primary: #f8f6f2;
    --color-text-secondary: #b5b1a9;
    --color-text-tertiary: #8a867e;
    --color-text-muted: #5c5852;
    
    --color-border: rgba(181, 177, 169, 0.08);
    --color-border-subtle: rgba(181, 177, 169, 0.04);
    --color-border-hover: rgba(181, 177, 169, 0.15);
    
    /* Accent — Warm Cream */
    --color-accent: #e8e4dc;
    --color-accent-muted: rgba(232, 228, 220, 0.6);
    
    /* Typography */
    --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing Scale */
    --space-2xs: 0.25rem;
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;
    --space-6xl: 12rem;
    
    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    
    --duration-fast: 200ms;
    --duration-base: 400ms;
    --duration-slow: 700ms;
    --duration-slower: 1000ms;
    
    /* Layout */
    --max-width: 1140px;
    --max-width-narrow: 720px;
    --header-height: 80px;
    --gutter: clamp(1.5rem, 5vw, 4rem);
}

/* ============================================
   RESET & BASE
   ============================================ */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--color-text-primary);
    background-color: var(--color-bg-primary);
    overflow-x: hidden;
}

::selection {
    background: var(--color-accent);
    color: var(--color-bg-primary);
}

/* ============================================
   AMBIENT BACKGROUND
   ============================================ */

.ambient-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
}

.ambient-orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(181, 177, 169, 0.08) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation: orbFloat1 20s ease-in-out infinite;
}

.ambient-orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(181, 177, 169, 0.05) 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
    animation: orbFloat2 25s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-50px, 30px) scale(1.1); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -20px) scale(0.95); }
}

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

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 em, h2 em, h3 em {
    font-style: italic;
    font-weight: 300;
}

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

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

/* ============================================
   HEADER
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: var(--space-lg) var(--gutter);
    transition: background var(--duration-base) var(--ease-out-quart),
                backdrop-filter var(--duration-base) var(--ease-out-quart);
}

.header.scrolled {
    background: rgba(15, 14, 12, 0.9);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

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

.logo-text {
    font-family: var(--font-display);
    font-size: 1.625rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--color-text-primary);
}

.nav-links {
    display: flex;
    gap: var(--space-2xl);
}

.nav-link {
    position: relative;
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--color-text-tertiary);
    letter-spacing: 0.02em;
    transition: color var(--duration-fast) var(--ease-out-quart);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-text-primary);
    transition: width var(--duration-base) var(--ease-out-expo);
}

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

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

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
    margin-right: calc(var(--space-sm) * -1);
    z-index: 102;
}

.menu-icon {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 24px;
}

.menu-icon span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--color-text-primary);
    transition: all var(--duration-base) var(--ease-out-expo);
    transform-origin: center;
}

/* Menu icon animation when open */
.mobile-menu-btn.active .menu-icon span:first-child {
    transform: rotate(45deg) translateY(5px);
}

.mobile-menu-btn.active .menu-icon span:last-child {
    transform: rotate(-45deg) translateY(-5px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background-color: #0a0908;
    padding-top: 100px;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
    padding-bottom: var(--space-2xl);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 9000;
    overflow: hidden;
}

.mobile-menu.open {
    transform: translateY(0);
}

.mobile-menu-link {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    color: var(--color-text-primary);
    padding: var(--space-md) var(--space-lg);
    transition: opacity var(--duration-fast) var(--ease-out-quart);
}

.mobile-menu-link:hover,
.mobile-menu-link:active {
    opacity: 0.6;
}

.mobile-menu-link-small {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text-tertiary);
}

.mobile-menu-divider {
    width: 40px;
    height: 1px;
    background: var(--color-border);
    margin: var(--space-md) 0;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    padding: calc(var(--header-height) + var(--space-4xl)) var(--gutter) var(--space-4xl);
    display: flex;
    align-items: center;
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

/* Hero Text Column */
.hero-text-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-content {
    opacity: 0;
    animation: heroContentReveal 1.2s var(--ease-out-expo) 0.2s forwards;
}

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

.hero-eyebrow,
.section-eyebrow {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xl);
}

.eyebrow-line {
    width: 32px;
    height: 1px;
    background: var(--color-text-muted);
}

.hero-title {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 300;
    margin-bottom: var(--space-xl);
    line-height: 1.05;
}

.title-line {
    display: block;
}

.title-italic {
    font-style: italic;
    font-weight: 300;
    color: var(--color-text-secondary);
}

.hero-subtitle {
    font-size: 1.0625rem;
    font-weight: 300;
    line-height: 1.75;
    color: var(--color-text-secondary);
    max-width: 400px;
    margin-bottom: var(--space-2xl);
}

.cta-group {
    display: flex;
    gap: var(--space-lg);
}

/* App Store Button */
.app-store-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
    padding: 0.9375rem 1.75rem;
    background: var(--color-text-primary);
    color: var(--color-bg-primary);
    border-radius: 14px;
    transition: all var(--duration-base) var(--ease-out-expo);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.app-store-btn:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.app-store-btn:active {
    transform: translateY(-1px);
}

.apple-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.app-store-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.15;
}

.app-store-small {
    font-size: 0.5625rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    opacity: 0.7;
}

.app-store-large {
    font-size: 1.0625rem;
    font-weight: 500;
    letter-spacing: -0.01em;
}

/* Hero Phone Column */
.hero-phone-column {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: phoneReveal 1.4s var(--ease-out-expo) 0.5s forwards;
}

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

.phone-wrapper {
    position: relative;
    perspective: 1200px;
}

/* Decorative ring behind phone */
.phone-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 380px;
    height: 380px;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.5;
    animation: ringPulse 4s ease-in-out infinite;
}

@keyframes ringPulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.05);
        opacity: 0.3;
    }
}

.phone-frame {
    position: relative;
    width: 270px;
    height: 555px;
    background: linear-gradient(
        165deg,
        #353330 0%,
        #252320 40%,
        #1a1917 100%
    );
    border-radius: 48px;
    padding: 10px;
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.04),
        0 30px 60px -15px rgba(0, 0, 0, 0.6),
        0 60px 100px -20px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
    transform-style: preserve-3d;
    animation: phoneFloat 8s ease-in-out infinite;
}

@keyframes phoneFloat {
    0%, 100% {
        transform: rotateY(-4deg) rotateX(2deg) translateY(0);
    }
    50% {
        transform: rotateY(-4deg) rotateX(2deg) translateY(-10px);
    }
}

.phone-frame:hover {
    animation-play-state: paused;
}

/* Highlight on phone frame edge */
.phone-highlight {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 60%;
    height: 200px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.06) 0%,
        transparent 100%
    );
    border-radius: 38px 0 0 0;
    pointer-events: none;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--color-bg-deep);
    border-radius: 40px;
    overflow: hidden;
    position: relative;
}

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.phone-dynamic-island {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 26px;
    background: #0a0908;
    border-radius: 20px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

/* Phone Reflection */
.phone-reflection {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) rotateX(180deg) scaleY(0.4);
    opacity: 0.15;
    mask-image: linear-gradient(to bottom, black 0%, transparent 60%);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 60%);
    pointer-events: none;
}

.reflection-frame {
    animation: none;
    box-shadow: none;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    opacity: 0;
    animation: scrollIndicatorReveal 1s var(--ease-out-expo) 1.5s forwards;
}

@keyframes scrollIndicatorReveal {
    from { opacity: 0; transform: translateX(-50%) translateY(20px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.scroll-text {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-text-muted);
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: var(--color-border);
    position: relative;
    overflow: hidden;
}

.scroll-dot {
    position: absolute;
    top: 0;
    left: 50%;
    width: 3px;
    height: 8px;
    background: var(--color-text-tertiary);
    border-radius: 2px;
    transform: translateX(-50%);
    animation: scrollDotMove 2s ease-in-out infinite;
}

@keyframes scrollDotMove {
    0%, 100% { top: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features {
    position: relative;
    padding: var(--space-6xl) var(--gutter);
    background: var(--color-bg-secondary);
}

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

.features-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-header {
    margin-bottom: var(--space-4xl);
}

.section-title {
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    font-weight: 400;
    color: var(--color-text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.feature-card {
    position: relative;
    padding: var(--space-2xl);
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    transition: all var(--duration-base) var(--ease-out-expo);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(181, 177, 169, 0.02) 0%,
        transparent 50%
    );
    opacity: 0;
    transition: opacity var(--duration-base) var(--ease-out-quart);
}

.feature-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-6px);
    box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.3);
}

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

.feature-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-xl);
    color: var(--color-text-tertiary);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.feature-number {
    display: block;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-style: italic;
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
}

.feature-title {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 400;
    margin-bottom: var(--space-sm);
    color: var(--color-text-primary);
}

.feature-description {
    font-size: 0.9375rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--color-text-secondary);
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
    position: relative;
    padding: var(--space-6xl) var(--gutter);
    background: var(--color-bg-primary);
}

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

.about-container {
    max-width: var(--max-width-narrow);
    margin: 0 auto;
}

.about-content {
    text-align: center;
}

.about-content .section-eyebrow {
    justify-content: center;
}

.about-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 400;
    margin-bottom: var(--space-xl);
    color: var(--color-text-primary);
}

.about-text {
    font-size: 1.0625rem;
    font-weight: 300;
    line-height: 1.85;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-2xl);
}

.about-divider {
    width: 60px;
    height: 1px;
    background: var(--color-border-hover);
    margin: 0 auto;
}

/* ============================================
   FINAL CTA
   ============================================ */

.final-cta {
    position: relative;
    padding: var(--space-6xl) var(--gutter);
    background: var(--color-bg-secondary);
    text-align: center;
}

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

.cta-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.cta-label {
    font-size: 0.6875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
}

.cta-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    margin-bottom: var(--space-2xl);
    color: var(--color-text-primary);
}

.app-store-btn-large {
    padding: 1.125rem 2.25rem;
}

.app-store-btn-large .apple-icon {
    width: 26px;
    height: 26px;
}

.app-store-btn-large .app-store-large {
    font-size: 1.1875rem;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    padding: var(--space-4xl) var(--gutter) var(--space-2xl);
    background: var(--color-bg-primary);
    border-top: 1px solid var(--color-border);
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-3xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid var(--color-border-subtle);
}

.footer-brand .logo-text {
    font-size: 1.375rem;
    display: block;
    margin-bottom: var(--space-xs);
}

.footer-tagline {
    font-size: 0.875rem;
    font-weight: 300;
    color: var(--color-text-muted);
}

.footer-links {
    display: flex;
    gap: var(--space-xl);
}

.footer-link {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--color-text-tertiary);
    transition: color var(--duration-fast) var(--ease-out-quart);
}

.footer-link:hover {
    color: var(--color-text-primary);
}

.footer-bottom {
    text-align: center;
}

.footer-copyright {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    letter-spacing: 0.02em;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: 
        opacity var(--duration-slow) var(--ease-out-expo),
        transform var(--duration-slow) var(--ease-out-expo);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.stagger-children .fade-in-up:nth-child(1) { transition-delay: 0ms; }
.stagger-children .fade-in-up:nth-child(2) { transition-delay: 100ms; }
.stagger-children .fade-in-up:nth-child(3) { transition-delay: 200ms; }
.stagger-children .fade-in-up:nth-child(4) { transition-delay: 300ms; }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
        text-align: center;
    }
    
    .hero-text-column {
        order: 2;
        align-items: center;
    }
    
    .hero-phone-column {
        order: 1;
    }
    
    .hero-subtitle {
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-eyebrow {
        justify-content: center;
    }
    
    .cta-group {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
    
    .phone-ring {
        width: 320px;
        height: 320px;
    }
}

@media (max-width: 768px) {
    :root {
        --space-4xl: 4rem;
        --space-5xl: 5rem;
        --space-6xl: 7rem;
        --header-height: 70px;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .mobile-menu {
        display: flex;
    }
    
    .header {
        padding: var(--space-md) var(--gutter);
    }
    
    .hero {
        padding-top: calc(var(--header-height) + var(--space-2xl));
        min-height: auto;
        padding-bottom: var(--space-3xl);
    }
    
    .hero-title {
        font-size: clamp(2.25rem, 10vw, 3.5rem);
    }
    
    .hero-subtitle {
        font-size: 1rem;
        max-width: 100%;
    }
    
    .phone-frame {
        width: 230px;
        height: 472px;
        border-radius: 40px;
        padding: 8px;
    }
    
    .phone-screen {
        border-radius: 34px;
    }
    
    .phone-dynamic-island {
        width: 76px;
        height: 22px;
        top: 14px;
    }
    
    .phone-ring {
        width: 280px;
        height: 280px;
    }
    
    .phone-reflection {
        display: none;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .section-header {
        margin-bottom: var(--space-2xl);
    }
    
    .section-title {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
    }
    
    .section-eyebrow,
    .hero-eyebrow {
        font-size: 0.625rem;
    }
    
    .about-title {
        font-size: clamp(1.75rem, 6vw, 2.25rem);
    }
    
    .about-text {
        font-size: 1rem;
    }
    
    .cta-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: var(--space-xl);
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-lg);
    }
}

@media (max-width: 480px) {
    :root {
        --gutter: 1.25rem;
        --space-3xl: 3rem;
        --space-4xl: 3.5rem;
        --space-6xl: 5rem;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-container {
        gap: var(--space-2xl);
    }
    
    .phone-frame {
        width: 200px;
        height: 412px;
        border-radius: 36px;
        padding: 7px;
    }
    
    .phone-screen {
        border-radius: 30px;
    }
    
    .phone-dynamic-island {
        width: 65px;
        height: 19px;
        top: 12px;
    }
    
    .phone-ring {
        width: 240px;
        height: 240px;
    }
    
    .app-store-btn {
        padding: 0.75rem 1.25rem;
        border-radius: 12px;
    }
    
    .app-store-btn .apple-icon {
        width: 20px;
        height: 20px;
    }
    
    .app-store-large {
        font-size: 1rem;
    }
    
    .app-store-small {
        font-size: 0.5rem;
    }
    
    .feature-card {
        padding: var(--space-lg);
        border-radius: 16px;
    }
    
    .feature-icon {
        width: 36px;
        height: 36px;
        margin-bottom: var(--space-lg);
    }
    
    .feature-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .feature-title {
        font-size: 1.25rem;
    }
    
    .feature-description {
        font-size: 0.875rem;
    }
    
    .about-divider {
        width: 40px;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
    
    .app-store-btn-large {
        padding: 0.875rem 1.5rem;
    }
    
    .app-store-btn-large .apple-icon {
        width: 22px;
        height: 22px;
    }
    
    .app-store-btn-large .app-store-large {
        font-size: 1.0625rem;
    }
    
    .footer {
        padding: var(--space-2xl) var(--gutter) var(--space-lg);
    }
    
    .footer-top {
        margin-bottom: var(--space-xl);
        padding-bottom: var(--space-lg);
    }
    
    .mobile-menu-link {
        font-size: 1.75rem;
    }
}

/* ============================================
   PREFERS 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;
    }
    
    .phone-frame {
        transform: none;
    }
}
