/* ===================================
   GabaBrain Website Styles
   Light/Dark Theme Support
   =================================== */

/* CSS Variables - Light Theme (Default) */
:root,
[data-theme="light"] {
    /* Primary Colors - matching app gradient */
    --primary-start: #667eea;
    --primary-end: #764ba2;
    --primary: #6c63ff;
    --primary-light: #8b85ff;
    --primary-dark: #5046e5;
    
    /* Accent Colors */
    --accent-blue: #00b4d8;
    --accent-orange: #ff8c42;
    --accent-green: #2ecc71;
    --accent-pink: #ff6b9d;
    --accent-yellow: #ffd93d;
    
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fc;
    --bg-tertiary: #eef1f8;
    --bg-card: #ffffff;
    
    /* Text Colors */
    --text-primary: #1a1a2e;
    --text-secondary: #4a5568;
    --text-tertiary: #718096;
    --text-inverse: #ffffff;
    
    /* Border & Shadow */
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1), 0 6px 10px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-start) 0%, var(--primary-end) 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #6B8DD6 100%);
    
    /* Misc */
    --nav-bg: rgba(255, 255, 255, 0.95);
    --nav-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Dark Theme */
[data-theme="dark"] {
    --bg-primary: #0f0f1a;
    --bg-secondary: #1a1a2e;
    --bg-tertiary: #252542;
    --bg-card: #1e1e35;
    
    --text-primary: #f7f7f7;
    --text-secondary: #b4b4c7;
    --text-tertiary: #8888a4;
    --text-inverse: #1a1a2e;
    
    --border-color: #2d2d4a;
    --border-light: #252542;
    
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.6);
    
    --nav-bg: rgba(15, 15, 26, 0.95);
    --nav-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-dark);
}

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

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

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
    color: white;
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 17px;
    border-radius: 14px;
}

.btn-block {
    width: 100%;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--nav-shadow);
    transition: background 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 10px 18px;
    font-weight: 600;
    color: var(--text-secondary);
    border-radius: 10px;
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: var(--primary);
    background: var(--bg-tertiary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Theme Toggle */
.theme-toggle {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.theme-toggle:hover {
    color: var(--primary);
    background: var(--bg-secondary);
}

[data-theme="light"] .moon-icon {
    display: none;
}

[data-theme="dark"] .sun-icon {
    display: none;
}

.nav-cta {
    padding: 10px 20px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    opacity: 0.08;
}

[data-theme="dark"] .hero-gradient {
    opacity: 0.15;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--primary) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.05;
}

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

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

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

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

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    font-weight: 600;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

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

.phone-mockup {
    position: relative;
    z-index: 2;
}

.phone-frame {
    width: 280px;
    aspect-ratio: 828 / 1792;
    background: transparent;
    border-radius: 40px;
    padding: 0;
    box-shadow: none;
    overflow: hidden;
    border: 4px solid #1a1a2e;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 36px;
    display: block;
    object-fit: cover;
}

/* Floating Cards */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: var(--bg-card);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
    animation: float 3s ease-in-out infinite;
    z-index: 3;
}

.card-icon {
    font-size: 1.5rem;
}

.card-1 {
    top: 15%;
    left: -10%;
    animation-delay: 0s;
}

.card-2 {
    top: 45%;
    right: -5%;
    animation-delay: 0.5s;
}

.card-3 {
    bottom: 20%;
    left: 5%;
    animation-delay: 1s;
}

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

@keyframes floatMobile {
    0%, 100% { transform: scale(0.7) translateY(0); }
    50% { transform: scale(0.7) translateY(-10px); }
}

/* Hero Wave */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    z-index: 0;
    pointer-events: none;
}

.hero-wave svg {
    width: 100%;
    height: 100%;
}

/* ===================================
   Section Styles
   =================================== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--bg-tertiary);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===================================
   Features Overview
   =================================== */
.features-overview {
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 32px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.feature-large {
    grid-column: span 3;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 40px;
}

.feature-icon-wrap {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: white;
    flex-shrink: 0;
}

.gradient-1 { background: linear-gradient(135deg, #667eea, #764ba2); }
.gradient-2 { background: linear-gradient(135deg, #00b4d8, #0077b6); }
.gradient-3 { background: linear-gradient(135deg, #ffd93d, #ff8c42); }
.gradient-4 { background: linear-gradient(135deg, #2ecc71, #27ae60); }
.gradient-5 { background: linear-gradient(135deg, #ff6b9d, #c44569); }
.gradient-6 { background: linear-gradient(135deg, #a29bfe, #6c5ce7); }

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

.feature-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.feature-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.badge {
    padding: 6px 14px;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 50px;
}

.features-cta {
    text-align: center;
    margin-top: 48px;
}

/* ===================================
   App Showcase
   =================================== */
.app-showcase {
    overflow: hidden;
}

.screenshot-carousel {
    margin-top: 40px;
    overflow: visible;
    padding: 20px 0;
}

.screenshot-track {
    display: flex;
    gap: 24px;
    cursor: grab;
}

.screenshot-item {
    flex-shrink: 0;
    text-align: center;
}

.screenshot-item img {
    width: 220px;
    height: 476px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
    object-fit: cover;
    background: #1a1a2e;
}

.screenshot-item:hover img {
    transform: scale(1.05);
}

.screenshot-label {
    display: block;
    margin-top: 16px;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.screenshot-track.dragging {
    animation-play-state: paused;
    cursor: grabbing;
}

.screenshot-track {
    cursor: grab;
}

/* ===================================
   How It Works
   =================================== */
.how-it-works {
    background: var(--bg-secondary);
}

.steps-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.step-card {
    flex: 1;
    min-width: 250px;
    max-width: 320px;
    text-align: center;
    padding: 40px 30px;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    border-radius: 50%;
    margin-bottom: 20px;
}

.step-title {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.step-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.step-connector {
    color: var(--text-tertiary);
    opacity: 0.5;
}

/* ===================================
   Pricing Preview
   =================================== */
.pricing-preview {
    padding-bottom: 60px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    position: relative;
    background: var(--bg-card);
    border-radius: 24px;
    padding: 40px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.pricing-card.pro {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 20px;
    background: var(--gradient-primary);
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
}

.pricing-tier {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.price-amount {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
}

.price-period {
    color: var(--text-tertiary);
    font-size: 1.1rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.pricing-features svg {
    color: var(--accent-green);
    flex-shrink: 0;
}

.pricing-features strong {
    color: var(--text-primary);
}

.pricing-note {
    text-align: center;
    margin-top: 32px;
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

/* ===================================
   Download CTA
   =================================== */
.download-cta {
    background: var(--gradient-primary);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.download-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 24px 24px;
}

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

.download-mascot {
    width: 120px;
    height: 120px;
    margin-bottom: 24px;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.2));
}

.download-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: white;
    margin-bottom: 16px;
}

.download-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 28px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    color: white;
    transition: all 0.3s ease;
}

.store-btn:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: translateY(-2px);
    color: white;
}

.store-text {
    text-align: left;
}

.store-label {
    display: block;
    font-size: 0.75rem;
    opacity: 0.8;
}

.store-name {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--bg-secondary);
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-color);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

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

.footer-logo span {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--bg-tertiary);
    border-radius: 12px;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.footer-social a:hover {
    background: var(--primary);
    color: white;
}

.footer-links h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links a {
    display: block;
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

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

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

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

/* Language Select */
.footer-language {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
}

.language-select {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 12px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.language-select:hover {
    border-color: var(--text-secondary);
}

.language-select:focus {
    outline: none;
    border-color: var(--accent-primary);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
        margin-bottom: 40px;
    }
    
    .phone-frame {
        width: 240px;
    }
    
    .floating-card {
        display: flex;
        padding: 10px 14px;
        font-size: 0.8rem;
        animation: floatMobile 3s ease-in-out infinite;
    }
    
    .floating-card.card-1 {
        top: 5%;
        left: -10px;
        right: auto;
    }
    
    .floating-card.card-2 {
        top: 35%;
        right: -10px;
        left: auto;
    }
    
    .floating-card.card-3 {
        bottom: 15%;
        left: -10px;
        right: auto;
    }
    
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .feature-large {
        grid-column: span 2;
        grid-template-columns: auto 1fr;
    }
    
    .feature-badges {
        grid-column: span 2;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--nav-bg);
        padding: 20px;
        border-top: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-cta {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-large {
        grid-column: span 1;
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .feature-badges {
        justify-content: center;
    }
    
    .steps-grid {
        flex-direction: column;
    }
    
    .step-connector {
        transform: rotate(90deg);
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 100px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .store-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

/* ===================================
   Legal Pages Styles
   =================================== */
.legal-page {
    padding-top: 120px;
}

.legal-header {
    text-align: center;
    padding: 60px 0;
    background: var(--bg-secondary);
    margin-bottom: 60px;
}

.legal-title {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.legal-updated {
    color: var(--text-tertiary);
    font-size: 0.95rem;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px 100px;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 48px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.legal-content h3 {
    font-size: 1.2rem;
    margin-top: 32px;
    margin-bottom: 16px;
}

.legal-content p {
    margin-bottom: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.legal-content ul,
.legal-content ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

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

.legal-content a {
    color: var(--primary);
}

.legal-content strong {
    color: var(--text-primary);
}

/* ===================================
   About Page
   =================================== */
.about-hero {
    padding: 160px 0 100px;
    background: var(--bg-secondary);
    text-align: center;
}

.about-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-hero .lead {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.about-story {
    padding: 80px 0;
}

.about-content {
    max-width: 700px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 1.75rem;
    margin-bottom: 24px;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

/* ===================================
   Contact Page
   =================================== */
.contact-section {
    padding: 160px 0 100px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.7;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: 14px;
    color: var(--primary);
}

.contact-detail h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-detail p,
.contact-detail a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.contact-form-wrap {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: inherit;
    font-size: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

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

/* ===================================
   Features Page
   =================================== */
.features-hero {
    padding: 160px 0 100px;
    background: var(--gradient-primary);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.features-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 24px 24px;
}

.features-hero h1 {
    position: relative;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: white;
    margin-bottom: 20px;
}

.features-hero p {
    position: relative;
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

.feature-section {
    padding: 80px 0;
    border-bottom: 1px solid var(--border-color);
}

.feature-section:last-child {
    border-bottom: none;
}

.feature-section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-section:nth-child(even) .feature-section-grid {
    direction: rtl;
}

.feature-section:nth-child(even) .feature-section-grid > * {
    direction: ltr;
}

.feature-section-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.feature-section-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--text-secondary);
}

.feature-list svg {
    color: var(--accent-green);
    flex-shrink: 0;
}

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

.feature-section-visual img {
    max-width: 280px;
    border-radius: 30px;
    box-shadow: var(--shadow-xl);
}

@media (max-width: 768px) {
    .feature-section-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .feature-section:nth-child(even) .feature-section-grid {
        direction: ltr;
    }
    
    .feature-list {
        display: inline-block;
        text-align: left;
    }
}

/* ===================================
   Pricing Page
   =================================== */
.pricing-hero {
    padding: 160px 0 60px;
    text-align: center;
    background: var(--bg-secondary);
}

.pricing-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3rem);
    margin-bottom: 16px;
}

.pricing-hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.pricing-page-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 24px 100px;
}

.pricing-page-grid .pricing-card {
    padding: 48px;
}

/* QR Code Section */
.qr-code-section {
    margin-top: 40px;
    text-align: center;
}

.qr-code {
    width: 140px;
    height: 140px;
    padding: 12px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.qr-label {
    margin-top: 12px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* Newsletter Section */
.newsletter-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.newsletter-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.newsletter-subtitle {
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 1.1rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.newsletter-inputs {
    display: flex;
    gap: 12px;
    width: 100%;
    max-width: 500px;
}

.newsletter-email,
.newsletter-phone {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.newsletter-email:focus,
.newsletter-phone:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.newsletter-email::placeholder,
.newsletter-phone::placeholder {
    color: var(--text-muted);
}

.newsletter-btn {
    padding: 14px 40px;
}

/* Language Select */
.footer-language {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
}

.language-select {
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 12px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.language-select:hover {
    border-color: var(--text-secondary);
}

.language-select:focus {
    outline: none;
    border-color: var(--accent-primary);
}

/* Responsive */
@media (max-width: 600px) {
    .newsletter-inputs {
        flex-direction: column;
    }
}

/* GabaMi Section */
.gabami-section {
    padding: 100px 0;
    background: var(--bg-secondary);
    overflow: hidden;
}

.gabami-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.gabami-content .section-tag {
    display: inline-block;
    margin-bottom: 16px;
    text-transform: none;
}

.gabami-content .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.gabami-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.gabami-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.gabami-features li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.gabami-icon {
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    border-radius: 12px;
    flex-shrink: 0;
}

.gabami-features li strong {
    display: block;
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.gabami-features li p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

.gabami-visual {
    position: relative;
}

.gabami-main-image {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
}

.gabami-heads-float {
    position: absolute;
    bottom: -30px;
    left: -40px;
    width: 65%;
    transform: rotate(-3deg);
}

.gabami-heads {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--bg-primary);
}

@media (max-width: 900px) {
    .gabami-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .gabami-content .section-title {
        text-align: center;
    }
    
    .gabami-content .section-tag {
        display: block;
        text-align: center;
    }
    
    .gabami-desc {
        text-align: center;
    }
    
    .gabami-heads-float {
        position: relative;
        bottom: auto;
        left: auto;
        width: 100%;
        transform: none;
        margin-top: 20px;
    }
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    color: white;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    display: inline;
}

.stat-plus {
    font-size: 2rem;
    font-weight: 700;
    opacity: 0.9;
}

.stat-label {
    display: block;
    margin-top: 8px;
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

@media (max-width: 900px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 500px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

/* Infinity Symbol */
.stat-infinity {
    font-family: "Times New Roman", Times, serif;
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1;
}

/* Desktop/Mobile visibility */
.mobile-only {
    display: none;
}

.desktop-only {
    display: inline-flex;
}

.mobile-menu-only {
    display: none;
}

@media (max-width: 768px) {
    .mobile-only {
        display: inline-flex;
    }
    
    .desktop-only {
        display: none;
    }
    
    .mobile-menu-only {
        display: block;
    }
}
