/* CSS Variables */
:root {
    --primary-color: #ea580c;
    --primary-hover: #c2410c;
    --accent-color: #dc2626;
    --background: #0f172a;
    --background-secondary: #1e293b;
    --foreground: #f8fafc;
    --muted-foreground: #94a3b8;
    --border: rgba(255, 255, 255, 0.2);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --blur-sm: 2px;
    --blur-md: 4px;
    --blur-lg: 6px;
    --radius: 12px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Performance optimizations */
* {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    background-color: #0f172a; /* Ensure html has dark background */
    background-color: var(--background);
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #0f172a; /* Fallback */
    background-color: var(--background);
    color: #f8fafc; /* Fallback */
    color: var(--foreground);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Add subtle background after initial load */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0f172a; /* Solid fallback */
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%); /* Hard-coded fallback */
    background: linear-gradient(135deg, var(--background) 0%, #1e293b 50%, var(--background) 100%);
    z-index: -1;
    will-change: transform;
}

/* Glass Morphism Components */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-md));
    -webkit-backdrop-filter: blur(var(--blur-md));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.glass-card-mini {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(var(--blur-sm));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.app {
    min-height: 100vh;
    position: relative;
}

/* Animated Background */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    animation: float 20s ease-in-out infinite;
}

.floating-element-1 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(234, 88, 12, 0.3) 0%, transparent 70%);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.2) 0%, transparent 70%);
    top: 60%;
    right: 10%;
    animation-delay: 10s;
}

.floating-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(600px circle at 50% 50%, rgba(234, 88, 12, 0.1), transparent 50%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    25% { transform: translateY(-50px) translateX(30px); }
    50% { transform: translateY(-100px) translateX(-20px); }
    75% { transform: translateY(-30px) translateX(-50px); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

@keyframes gentleFloat {
    0%, 100% {
        transform: perspective(1000px) rotateY(-15deg) rotateX(5deg) translateY(0px) scale(1) rotate(0deg);
    }
    25% {
        transform: perspective(1000px) rotateY(-13deg) rotateX(3deg) translateY(-15px) scale(1.01) rotate(1deg);
    }
    50% {
        transform: perspective(1000px) rotateY(-17deg) rotateX(7deg) translateY(-25px) scale(1.02) rotate(-1deg);
    }
    75% {
        transform: perspective(1000px) rotateY(-14deg) rotateX(4deg) translateY(-10px) scale(1.01) rotate(0.5deg);
    }
}

/* Demo Animation Keyframes */
@keyframes fillProgress {
    0% { width: 0%; }
    50% { width: 90%; }
    100% { width: 90%; }
}

@keyframes typeText {
    0% { opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes btnPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 16px rgba(234, 88, 12, 0.2); }
    50% { transform: scale(1.02); box-shadow: 0 6px 24px rgba(234, 88, 12, 0.3); }
}

@keyframes cursorMove {
    0% { top: 20%; left: 20%; }
    25% { top: 40%; left: 70%; }
    50% { top: 60%; left: 30%; }
    75% { top: 80%; left: 60%; }
    100% { top: 20%; left: 20%; }
}

@keyframes ripple {
    0% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(0.3);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.5);
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    margin: 20px;
    border-radius: var(--radius);
    animation: slideDown 0.8s ease-out;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo {
    width: 48px;
    height: 48px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.1) rotate(5deg);
}

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

.logo-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground);
    margin: 0;
}

.logo-subtitle {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin: 0;
}

.navigation {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    color: var(--muted-foreground);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

.login-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 10px 24px;
    border-radius: 24px;
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(234, 88, 12, 0.2);
    backdrop-filter: blur(var(--blur-md));
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(234, 88, 12, 0.3);
    background: linear-gradient(135deg, var(--primary-hover), var(--accent-color));
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    margin-bottom: 32px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn {
    padding: 12px 32px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: white;
    box-shadow: 0 4px 16px rgba(234, 88, 12, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(234, 88, 12, 0.4);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--foreground);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--blur-md));
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 40px;
    animation: fadeInUp 1s ease-out 0.8s both;
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    animation: fadeInRight 1s ease-out 0.4s both;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    border-radius: 30px;
    padding: 20px;
    position: relative;
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    animation: gentleFloat 8s ease-in-out infinite;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--background) 0%, var(--background-secondary) 100%);
    border-radius: 20px;
    padding: 20px;
    overflow: hidden;
}

.demo-dashboard {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.demo-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.demo-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.demo-info {
    display: flex;
    flex-direction: column;
}

.demo-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.demo-role {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.demo-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.demo-stat {
    padding: 16px 12px;
    text-align: center;
    border-radius: 8px;
}

.demo-stat:nth-child(3) {
    grid-column: 1 / -1;
}

.demo-stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.demo-stat-label {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin-top: 4px;
}

/* Origin Story Section */
.origin-story {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(234, 88, 12, 0.03) 0%, rgba(220, 38, 38, 0.03) 100%);
}

.origin-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.origin-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    background: rgba(234, 88, 12, 0.1);
    color: var(--primary-color);
}

.origin-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    line-height: 1.7;
    margin-bottom: 40px;
}

.origin-problems {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.problem-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-sm));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.problem-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(8px);
}

.problem-icon {
    font-size: 1.5rem;
    opacity: 0.8;
}

.problem-text h4 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--foreground);
}

.problem-text p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin: 0;
}

.origin-solution {
    padding: 24px;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-md));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    border-left: 4px solid var(--primary-color);
}

.origin-solution h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.origin-solution p {
    color: var(--muted-foreground);
    line-height: 1.6;
    margin: 0;
}

/* Comparison Visual */
.comparison-container {
    padding: 32px;
    max-width: 500px;
    margin: 0 auto;
}

.comparison-side {
    margin-bottom: 32px;
}

.comparison-side h4 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.125rem;
}

.old-way h4 {
    color: #ef4444;
}

.new-way h4 {
    color: var(--primary-color);
}

/* Old System Mockup */
.spreadsheet-mockup {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.spreadsheet-header {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    background: rgba(255, 255, 255, 0.05);
    font-weight: 600;
    font-size: 0.75rem;
}

.spreadsheet-row {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    font-size: 0.75rem;
}

.spreadsheet-row.error {
    background: rgba(239, 68, 68, 0.1);
    color: #fca5a5;
}

.cell {
    padding: 8px 12px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.cell:last-child {
    border-right: none;
}

.problems-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.problem-tag {
    font-size: 0.7rem;
    padding: 4px 8px;
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    border-radius: 12px;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* New System Mockup */
.modern-dashboard {
    background: linear-gradient(135deg, var(--background-secondary), var(--background));
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid var(--glass-border);
}

.dashboard-stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stat-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px;
    background: var(--glass-bg);
    border-radius: 8px;
    text-align: center;
}

.stat-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.progress-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 4px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
    transition: width 2s ease-out;
}

.achievement-badge {
    font-size: 0.7rem;
    padding: 4px 8px;
    background: rgba(234, 88, 12, 0.2);
    color: var(--primary-color);
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(234, 88, 12, 0.3);
}

.benefits-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.benefit-tag {
    font-size: 0.7rem;
    padding: 4px 8px;
    background: rgba(234, 88, 12, 0.2);
    color: var(--primary-color);
    border-radius: 12px;
    border: 1px solid rgba(234, 88, 12, 0.3);
}

.comparison-divider {
    text-align: center;
    margin: 20px 0;
    opacity: 0.6;
}

.arrow {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
}

/* Features Section */
.features {
    padding: 80px 0;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    animation: fadeInUp 1s ease-out both;
}

.section-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.feature-card {
    padding: 32px;
    text-align: center;
    animation: fadeInUp 1s ease-out both;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
}

.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; }

.feature-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.feature-description {
    color: var(--muted-foreground);
    margin-bottom: 24px;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    text-align: left;
}

.feature-list li {
    color: var(--muted-foreground);
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Simple Demo Section */
.demo {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(234, 88, 12, 0.05) 0%, rgba(220, 38, 38, 0.05) 100%);
}

.demo-video-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    max-width: 800px;
    margin: 0 auto;
}

.simple-demo-preview {
    width: 100%;
    max-width: 600px;
    padding: 48px;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-md));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.demo-preview-content {
    text-align: center;
}

.demo-preview-header {
    margin-bottom: 40px;
}

.demo-preview-header h3 {
    font-size: 2rem;
    margin-bottom: 8px;
    color: var(--foreground);
}

.demo-preview-header p {
    font-size: 1.1rem;
    color: var(--muted-foreground);
}

.demo-feature-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    text-align: left;
}

.demo-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.demo-feature-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(234, 88, 12, 0.3);
    transform: translateY(-2px);
}

.demo-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.demo-feature-text h4 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--foreground);
}

.demo-feature-text p {
    color: var(--muted-foreground);
    line-height: 1.6;
}


/* Keep Demo CTA styling */
.demo-cta {
    text-align: center;
    padding: 40px;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-md));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    max-width: 500px;
}

.demo-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.demo-cta p {
    color: var(--muted-foreground);
    margin-bottom: 24px;
    line-height: 1.6;
}

.demo-note {
    font-size: 0.85rem;
    color: var(--muted-foreground);
    margin-top: 16px;
}

/* Download Section */
.download {
    padding: 80px 0;
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

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

.download-btn {
    display: flex;
    flex-direction: column;
    padding: 16px 24px;
    text-decoration: none;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    min-width: 160px;
}

.download-btn:hover {
    transform: translateY(-2px);
}

.download-platform {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.download-store {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
}

.download-note {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

.download-visual {
    display: flex;
    justify-content: center;
}

.multiple-phones {
    position: relative;
    width: 200px;
    height: 400px;
}

.phone-device {
    position: absolute;
    width: 120px;
    height: 240px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(var(--blur-md));
}

.phone-1 {
    top: 0;
    left: 0;
    transform: rotate(-10deg);
    z-index: 1;
}

.phone-2 {
    top: 40px;
    right: 0;
    transform: rotate(10deg);
    z-index: 2;
}

/* Program Access Section */
.program-access {
    padding: 80px 0;
}

.program-content {
    padding: 48px;
    text-align: center;
}

.program-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin: 48px 0;
}

.program-feature {
    text-align: center;
}

.program-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
}

.program-feature h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.program-feature p {
    color: var(--muted-foreground);
}

.program-cta {
    margin-top: 32px;
}

/* Footer */
.footer {
    margin: 20px;
    border-radius: var(--radius);
    padding: 48px 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    margin-bottom: 32px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-logo {
    width: 40px;
    height: 40px;
}

.footer-text h3 {
    margin-bottom: 4px;
}

.footer-text p {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-section h4 {
    margin-bottom: 16px;
    font-size: 1rem;
}

.footer-section a {
    display: block;
    color: var(--muted-foreground);
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--foreground);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--glass-border);
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

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

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

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

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Responsive Design */
@media (max-width: 768px) {
    .header {
        margin: 10px;
    }

    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
    }

    .navigation {
        display: none;
        position: fixed;
        top: 70px;
        left: 16px;
        right: 16px;
        transform: none;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 16px;
        padding: 16px 20px;
        gap: 16px;
        z-index: 1000;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.9);
        width: auto;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }

    .navigation.mobile-open {
        display: flex;
    }

    .navigation .nav-link {
        padding: 12px 16px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
        text-decoration: none;
        color: var(--foreground);
        font-size: 0.9rem;
        min-width: auto;
        text-align: center;
    }

    .navigation .nav-link:hover {
        background: rgba(255, 255, 255, 0.2);
        color: var(--primary-color);
    }

    .login-btn {
        margin-top: 0;
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .hero {
        padding: 120px 0 60px;
    }

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

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        justify-content: center;
        gap: 20px;
    }

    .phone-mockup {
        transform: none;
        width: 250px;
        height: 500px;
    }

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

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

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

    .section-title {
        font-size: 2rem;
    }

    .container {
        padding: 0 16px;
    }

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

    .origin-story {
        padding: 60px 0;
    }

    .comparison-container {
        max-width: 100%;
        padding: 24px;
    }

    .phone-demo-frame {
        width: 280px;
        height: 560px;
        padding: 20px;
    }

    .demo-cta {
        padding: 24px;
        margin: 0 16px;
    }

    .simple-demo-preview {
        padding: 32px 24px;
        margin: 0 16px;
    }

    .demo-feature-item {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .demo-preview-header h3 {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .demo-tabs {
        flex-direction: column;
        align-items: center;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .program-features {
        grid-template-columns: 1fr;
    }
}