:root {
    /* Light Mode - Brand Purple Color Palette */
    --color-primary: #4F46E5;
    --color-primary-dark: #3730A3;
    --color-primary-light: #6366F1;
    --color-accent: #818CF8;
    --color-accent-light: #A5B4FC;
    --color-text: #1E1B4B;
    --color-text-secondary: #4B5563;
    --color-text-muted: #64748B;
    --color-background: #ffffff;
    --color-background-secondary: #F5F7FF;
    --color-background-tertiary: #F1F5F9;
    --color-surface: rgba(255, 255, 255, 0.8);
    --color-surface-glass: rgba(255, 255, 255, 0.1);
    --gradient-primary: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    --gradient-accent: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    --gradient-hero: radial-gradient(circle at 30% 20%, rgba(99, 102, 241, 0.12) 0%, rgba(129, 140, 248, 0.08) 45%, transparent 80%);
    --shadow-xs: 0 1px 2px rgba(79, 70, 229, 0.05);
    --shadow-sm: 0 2px 4px rgba(79, 70, 229, 0.08);
    --shadow-md: 0 8px 16px rgba(79, 70, 229, 0.12);
    --shadow-lg: 0 16px 32px rgba(79, 70, 229, 0.16);
    --shadow-xl: 0 24px 48px rgba(79, 70, 229, 0.2);
    --border-radius-sm: 12px;
    --border-radius: 20px;
    --border-radius-lg: 32px;
    --container-width: 1200px;
    --spacing-unit: 0.25rem;
    /* Fluid Typography */
    --font-size-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --font-size-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
    --font-size-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
    --font-size-lg: clamp(1.125rem, 1rem + 0.625vw, 1.25rem);
    --font-size-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
    --font-size-2xl: clamp(1.5rem, 1.3rem + 1vw, 2rem);
    --font-size-3xl: clamp(2rem, 1.7rem + 1.5vw, 2.5rem);
    --font-size-4xl: clamp(2.5rem, 2rem + 2.5vw, 3.5rem);
    --font-size-5xl: clamp(3rem, 2.5rem + 2.5vw, 4.5rem);
    --font-size-6xl: clamp(3.5rem, 3rem + 3vw, 5.5rem);
    --font-size-7xl: clamp(4rem, 3.5rem + 3.5vw, 6.5rem);
}

/* Dark Mode - Dramatic & Exciting */
@media (prefers-color-scheme: dark) {
    :root {
        /* Dark Mode Colors - High Contrast & Vibrant */
        --color-primary: #6366F1;
        --color-primary-dark: #4338CA;
        --color-primary-light: #8B5CF6;
        --color-accent: #A855F7;
        --color-accent-light: #C084FC;
        --color-text: #F8FAFC;
        --color-text-secondary: #CBD5E1;
        --color-text-muted: #94A3B8;
        --color-background: #0F0F23;
        --color-background-secondary: #1E1B4B;
        --color-background-tertiary: #312E81;
        --color-surface: rgba(15, 15, 35, 0.9);
        --color-surface-glass: rgba(99, 102, 241, 0.1);
        
        /* Dramatic Gradients */
        --gradient-primary: linear-gradient(135deg, #6366F1 0%, #8B5CF6 50%, #A855F7 100%);
        --gradient-accent: linear-gradient(135deg, #A855F7 0%, #C084FC 100%);
        --gradient-hero: 
            radial-gradient(circle at 30% 20%, rgba(99, 102, 241, 0.3) 0%, rgba(139, 92, 246, 0.2) 35%, transparent 70%),
            radial-gradient(circle at 80% 60%, rgba(168, 85, 247, 0.25) 0%, rgba(192, 132, 252, 0.15) 40%, transparent 80%);
        --gradient-mesh: 
            radial-gradient(at 40% 20%, #6366F1 0px, transparent 50%),
            radial-gradient(at 80% 0%, #8B5CF6 0px, transparent 50%),
            radial-gradient(at 0% 50%, #A855F7 0px, transparent 50%),
            radial-gradient(at 80% 50%, #C084FC 0px, transparent 50%),
            radial-gradient(at 0% 100%, #4338CA 0px, transparent 50%),
            radial-gradient(at 80% 100%, #7C3AED 0px, transparent 50%);
        
        /* Enhanced Shadows with Glow */
        --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(99, 102, 241, 0.1);
        --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.4), 0 0 8px rgba(99, 102, 241, 0.2);
        --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.5), 0 0 16px rgba(99, 102, 241, 0.3);
        --shadow-lg: 0 16px 32px rgba(0, 0, 0, 0.6), 0 0 24px rgba(99, 102, 241, 0.4);
        --shadow-xl: 0 24px 48px rgba(0, 0, 0, 0.7), 0 0 32px rgba(99, 102, 241, 0.5);
        --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.6), 0 0 40px rgba(139, 92, 246, 0.4);
        --shadow-neon: 0 0 5px currentColor, 0 0 10px currentColor, 0 0 15px currentColor;
    }
    
    /* Dark Mode Body Enhancement */
    body {
        background: var(--color-background);
        color: var(--color-text);
    }
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    color: var(--color-text);
    line-height: 1.6;
    font-size: var(--font-size-base);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: var(--color-background);
    transition: background-color 0.3s ease, color 0.3s ease;
}

@media (prefers-color-scheme: dark) {
    body {
        background: 
            var(--gradient-mesh),
            var(--color-background);
    }
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
nav {
    background: var(--color-surface);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(79, 70, 229, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (prefers-color-scheme: dark) {
    nav {
        background: rgba(15, 15, 35, 0.9);
        border-bottom: 1px solid rgba(99, 102, 241, 0.2);
        box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(99, 102, 241, 0.1);
    }
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: var(--font-size-xl);
    letter-spacing: -0.02em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

.logo img {
    height: 2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    font-size: var(--font-size-sm);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav-links a:hover {
    color: var(--color-primary);
    background: rgba(14, 165, 233, 0.05);
    transform: translateY(-1px);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover {
    color: var(--color-primary);
    background: rgba(79, 70, 229, 0.05);
    transform: translateY(-1px);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 4rem 0;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 100%;
    height: 150%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
    animation: heroGlow 8s ease-in-out infinite alternate;
    z-index: 0;
}

@media (prefers-color-scheme: dark) {
    .hero {
        background: 
            var(--gradient-hero),
            radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
    }
    
    .hero::before {
        background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    }
    
    .hero::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: 
            radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 20% 80%, rgba(192, 132, 252, 0.08) 0%, transparent 50%);
        animation: darkHeroFloat 12s ease-in-out infinite;
        z-index: 0;
    }
}

@keyframes heroGlow {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }
    100% {
        transform: translate(-10px, 10px) scale(1.1);
        opacity: 0.8;
    }
}

@keyframes darkHeroFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.6;
    }
    33% {
        transform: translateY(-20px) rotate(1deg);
        opacity: 0.8;
    }
    66% {
        transform: translateY(10px) rotate(-0.5deg);
        opacity: 0.7;
    }
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: var(--gradient-primary);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    animation: fadeIn 0.8s ease-out 0.3s both;
}

.badge-text {
    color: white;
    font-weight: 600;
    font-size: var(--font-size-sm);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

@media (prefers-color-scheme: dark) {
    .hero-badge {
        box-shadow: var(--shadow-glow), var(--shadow-md);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .badge-text {
        text-shadow: var(--shadow-neon);
    }
}

.hero-features {
    display: flex;
    gap: 1.5rem;
    margin: 2rem 0;
    animation: slideUp 0.8s ease-out 0.6s both;
    flex-wrap: wrap;
}

.feature-highlight {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-surface);
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    border: 1px solid rgba(79, 70, 229, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-highlight:hover {
    transform: translateY(-2px);
    border-color: rgba(79, 70, 229, 0.2);
    box-shadow: var(--shadow-sm);
}

.feature-icon-small {
    font-size: 1rem;
    opacity: 0.9;
}

.feature-highlight span {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-text);
}

@media (prefers-color-scheme: dark) {
    .feature-highlight {
        background: rgba(15, 15, 35, 0.8);
        border: 1px solid rgba(99, 102, 241, 0.2);
        box-shadow: var(--shadow-xs);
    }
    
    .feature-highlight:hover {
        background: rgba(15, 15, 35, 0.95);
        border-color: rgba(139, 92, 246, 0.4);
        box-shadow: var(--shadow-md), 0 0 15px rgba(99, 102, 241, 0.2);
    }
    
    .feature-icon-small {
        filter: drop-shadow(0 0 5px currentColor);
    }
}

.hero-content h1 {
    font-size: var(--font-size-6xl);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleReveal 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
    position: relative;
}

@media (prefers-color-scheme: dark) {
    .hero-content h1 {
        /* Better readability in dark mode */
        background: linear-gradient(135deg, #FFFFFF 0%, #E2E8F0 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        text-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    }
}

.hero-content p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 2.5rem;
    max-width: 540px;
    animation: slideUp 0.8s ease-out 0.2s both;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float 6s ease-in-out infinite;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
}

.hero-image::before {
    content: '';
    position: absolute;
    width: 140%;
    height: 140%;
    background: radial-gradient(
        circle at center,
        rgba(99, 102, 241, 0.12) 0%,
        transparent 70%
    );
    z-index: -1;
    transform: translateY(10%);
}

.hero-image img {
    width: auto;
    height: auto;
    max-width: 460px;
    filter: drop-shadow(0 30px 40px rgba(79, 70, 229, 0.2))
           drop-shadow(0 20px 25px rgba(79, 70, 229, 0.15));
    animation: slideIn 1s ease-out;
    transform-origin: center;
    margin-top: -2rem;
}

/* Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    animation: slideUp 0.8s ease-out 0.9s both;
}

.button {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.button.primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 
        0 4px 12px rgba(79, 70, 229, 0.25),
        0 0 0 2px rgba(79, 70, 229, 0.1);
    position: relative;
    overflow: hidden;
}

.button.primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 16px rgba(79, 70, 229, 0.35),
        0 0 0 2px rgba(79, 70, 229, 0.15);
}

.button.primary:hover::before {
    left: 100%;
}

@media (prefers-color-scheme: dark) {
    .button.primary {
        background: var(--gradient-primary);
        box-shadow: 
            var(--shadow-md),
            0 0 20px rgba(99, 102, 241, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(99, 102, 241, 0.3);
    }
    
    .button.primary:hover {
        box-shadow: 
            var(--shadow-lg),
            var(--shadow-glow),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
        transform: translateY(-3px) scale(1.02);
    }
}

.button.secondary {
    color: var(--color-primary);
    background: var(--color-surface);
    border: 2px solid rgba(79, 70, 229, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.button.secondary:hover {
    color: white;
    background: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

@media (prefers-color-scheme: dark) {
    .button.secondary {
        color: var(--color-text);
        background: rgba(15, 15, 35, 0.8);
        border: 2px solid rgba(99, 102, 241, 0.3);
        box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(99, 102, 241, 0.1);
    }
    
    .button.secondary:hover {
        background: var(--gradient-primary);
        border-color: rgba(139, 92, 246, 0.6);
        box-shadow: var(--shadow-md), 0 0 15px rgba(99, 102, 241, 0.4);
        transform: translateY(-3px);
    }
}

/* Features Section */
.features {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--color-background) 0%, var(--color-background-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    opacity: 0.3;
}

.features-header {
    text-align: center;
    margin-bottom: 4rem;
}

.features h2 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.features-subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Bento Grid Layout */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(3, minmax(200px, auto));
    gap: 1.5rem;
    margin-top: 4rem;
}

.feature-card {
    background: var(--color-surface);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 
        var(--shadow-sm),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(79, 70, 229, 0.1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        var(--shadow-lg),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(79, 70, 229, 0.2);
}

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

@media (prefers-color-scheme: dark) {
    .feature-card {
        background: rgba(15, 15, 35, 0.8);
        border: 1px solid rgba(99, 102, 241, 0.2);
        box-shadow: 
            var(--shadow-sm),
            inset 0 1px 0 rgba(99, 102, 241, 0.1),
            0 0 0 1px rgba(0, 0, 0, 0.1);
    }
    
    .feature-card:hover {
        transform: translateY(-8px);
        box-shadow: 
            var(--shadow-lg),
            0 0 20px rgba(99, 102, 241, 0.2),
            inset 0 1px 0 rgba(99, 102, 241, 0.2);
        border-color: rgba(139, 92, 246, 0.4);
        background: rgba(15, 15, 35, 0.95);
    }
    
    .feature-card:hover .feature-icon {
        filter: drop-shadow(0 0 8px currentColor);
    }
}

.feature-card.large {
    grid-column: span 8;
    grid-row: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.feature-card.medium {
    grid-column: span 4;
    grid-row: span 1;
}

.feature-card.wide {
    grid-column: span 12;
    grid-row: span 1;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
}

.feature-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-icon {
    font-size: 2.5rem;
    line-height: 1;
    opacity: 0.9;
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--color-text);
    margin: 0;
    letter-spacing: -0.01em;
}

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

/* Mock Interface for Training Logs */
.feature-visual {
    opacity: 0.8;
}

.mock-interface {
    background: rgba(79, 70, 229, 0.05);
    border-radius: var(--border-radius-sm);
    padding: 1rem;
    border: 1px solid rgba(79, 70, 229, 0.1);
}

.mock-header {
    height: 8px;
    background: var(--gradient-primary);
    border-radius: 4px;
    margin-bottom: 0.75rem;
    width: 60%;
}

.mock-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mock-line {
    height: 6px;
    background: rgba(79, 70, 229, 0.2);
    border-radius: 3px;
}

.mock-line.short {
    width: 70%;
}

/* Chart Visualization */
.feature-chart {
    opacity: 0.8;
}

.chart-bars {
    display: flex;
    align-items: end;
    gap: 0.5rem;
    height: 60px;
    padding: 0.5rem;
}

.bar {
    flex: 1;
    background: var(--gradient-primary);
    border-radius: 2px 2px 0 0;
    min-height: 20%;
    animation: growUp 0.8s ease-out;
    animation-fill-mode: both;
}

.bar:nth-child(1) { animation-delay: 0.1s; }
.bar:nth-child(2) { animation-delay: 0.2s; }
.bar:nth-child(3) { animation-delay: 0.3s; }
.bar:nth-child(4) { animation-delay: 0.4s; }
.bar:nth-child(5) { animation-delay: 0.5s; }

@keyframes growUp {
    from {
        height: 20%;
        opacity: 0.5;
    }
    to {
        opacity: 1;
    }
}

/* Download Section */
.download {
    padding: 10rem 0;
    background: 
        radial-gradient(circle at 70% 30%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        linear-gradient(200deg, var(--color-background-secondary) 0%, var(--color-background) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.download::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 30% 70%, rgba(129, 140, 248, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 40%);
    animation: backgroundFloat 20s ease-in-out infinite;
    z-index: 0;
}

.download .container {
    position: relative;
    z-index: 1;
}

.download h2 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.download p {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    margin-bottom: 3rem;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.app-store-button {
    display: inline-block;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    border: 1px solid rgba(79, 70, 229, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.app-store-button:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(79, 70, 229, 0.2);
    box-shadow: var(--shadow-md);
}

.app-store-button img {
    height: 3.5rem;
    transition: all 0.3s ease;
    filter: brightness(1);
}

.app-store-button:hover img {
    filter: brightness(1.05);
}

@keyframes backgroundFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(-20px, -20px) rotate(1deg);
    }
    66% {
        transform: translate(20px, 10px) rotate(-1deg);
    }
}

/* Footer */
footer {
    padding: 2rem 0;
    background-color: var(--color-background);
    border-top: 1px solid var(--color-background-secondary);
}

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

/* Animations */
@keyframes float {
    0%, 100% { 
        transform: perspective(1000px) rotateY(-5deg) rotateX(5deg) translateY(0);
    }
    50% { 
        transform: perspective(1000px) rotateY(-5deg) rotateX(5deg) translateY(-20px);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

/* Enhanced Micro-Animations */
.feature-card {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }

/* Remove unnecessary icon animation on hover */

.feature-card:hover .mock-interface {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

.feature-card:hover .chart-bars .bar {
    transform: scaleY(1.1);
    transition: transform 0.3s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Improved title animation */
@keyframes titleReveal {
    0% {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(1px);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-2px);
        filter: blur(0);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* Scroll-triggered animations */
@media (prefers-reduced-motion: no-preference) {
    .features {
        opacity: 0;
        animation: fadeIn 0.8s ease-out 0.5s forwards;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero .container {
        gap: 2rem;
    }
    
    .hero-image img {
        max-width: 400px;
    }
    
    /* Bento Grid Responsive */
    .bento-grid {
        grid-template-columns: repeat(8, 1fr);
        gap: 1rem;
    }
    
    .feature-card.large {
        grid-column: span 8;
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .feature-card.medium {
        grid-column: span 4;
    }
    
    .feature-card.wide {
        grid-column: span 8;
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 6rem 0 8rem;
        text-align: center;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
    
    .hero-image img {
        max-width: 360px;
        margin: 2rem auto 0;
    }
    
    /* Bento Grid Mobile */
    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 1.5rem;
    }
    
    .feature-card.large,
    .feature-card.medium,
    .feature-card.wide {
        grid-column: span 1;
        grid-row: auto;
        display: flex;
        flex-direction: column;
        text-align: left;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .nav-links {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .button {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-image img {
        max-width: 320px;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .features h2 {
        font-size: var(--font-size-3xl);
    }
    
    .download h2 {
        font-size: var(--font-size-3xl);
    }
} 