/* ===== Variables CSS ===== */
:root {
    /* Colors - Inspiré du thème Flutter */
    --color-bg-dark: #0a0a0f;
    --color-bg-secondary: #12121a;
    --color-bg-card: rgba(26, 26, 46, 0.8);
    --color-text-primary: #ffffff;
    --color-text-secondary: rgba(255, 255, 255, 0.7);
    --color-text-muted: rgba(255, 255, 255, 0.5);
    
    /* Gradient colors from Flutter app */
    --color-gradient-1: #2DD4BF; /* Teal */
    --color-gradient-2: #4ADE80; /* Green */
    --color-gradient-3: #60A5FA; /* Blue */
    
    /* Functional colors */
    --color-primary: #2DD4BF;
    --color-primary-hover: #14b8a6;
    --color-border: rgba(255, 255, 255, 0.1);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 5rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Noto Sans Thai', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--color-bg-dark);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--spacing-sm) 0;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.logo-placeholder {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-gradient-1), var(--color-gradient-2));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-gradient-1), var(--color-gradient-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Banner image used in the top-left navbar */
.nav-banner {
    height: 40px !important;
    max-height: 40px !important;
    width: auto !important;
    display: inline-block;
    vertical-align: middle;
    object-fit: contain;
    border-radius: 8px !important;
    overflow: hidden !important;
}

@media (max-width: 768px) {
    .nav-banner {
        height: 20px;
        max-height: 20px;
    }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
}

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

.btn-nav {
    padding: var(--spacing-xs) var(--spacing-md);
    background: linear-gradient(135deg, var(--color-gradient-1), var(--color-gradient-2));
    border-radius: var(--radius-md);
    color: var(--color-bg-dark) !important;
    font-weight: 600;
}

.btn-nav:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--color-text-primary);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: calc(80px + var(--spacing-xl)) var(--spacing-md) var(--spacing-xl);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 8s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--color-gradient-1);
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--color-gradient-2);
    top: 50%;
    right: -5%;
    animation-delay: 2s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: var(--color-gradient-3);
    bottom: 10%;
    left: 30%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.05);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-2xl);
    max-width: 1200px;
    width: 100%;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
}

.gradient-text {
    display: block;
    background: linear-gradient(135deg, var(--color-gradient-1), var(--color-gradient-2), var(--color-gradient-3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradient-shift 5s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-description {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-lg);
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-fast);
    border: 2px solid transparent;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-gradient-1), var(--color-gradient-2));
    color: var(--color-bg-dark);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(45, 212, 191, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-border);
    color: var(--color-text-primary);
    backdrop-filter: blur(10px);
}

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

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
    perspective: 1500px;
}

.phone-frame {
    width: 320px;
    height: 650px;
    background: #000; /* Black glass edge */
    border-radius: 54px;
    padding: 14px;
    box-shadow:
        0 40px 80px -20px rgba(0, 0, 0, 0.8),
        inset 0 0 0 2px rgba(255, 255, 255, 0.15),
        inset 0 0 8px 6px #111,
        inset 0 0 2px 8px rgba(200, 200, 200, 0.05); /* Titanium bezel vibe */
    transform: rotateY(-10deg) rotateX(8deg);
    transform-style: preserve-3d;
    animation: phone-float 6s ease-in-out infinite;
    position: relative;
    overflow: visible;
}

/* Glass shine effect over the frame */
.phone-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 54px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    z-index: 10;
}

/* Power button on right */
.phone-frame::after {
    content: '';
    position: absolute;
    right: -4px;
    top: 180px;
    width: 4px;
    height: 60px;
    background: linear-gradient(to left, #222, #444);
    border-radius: 0 4px 4px 0;
    box-shadow: inset -1px 0 2px rgba(255,255,255,0.2);
    z-index: -1;
}

/* realistic side buttons */
.phone-frame .side-buttons {
    position: absolute;
    left: -6px;
    top: 130px;
    width: 6px;
    height: 120px;
    z-index: -1;
}
.phone-frame .side-buttons::before,
.phone-frame .side-buttons::after {
    content: '';
    position: absolute;
    left: 0;
    width: 4px;
    height: 48px;
    background: linear-gradient(to right, #222, #444);
    border-radius: 4px 0 0 4px;
    box-shadow: inset 1px 0 2px rgba(255,255,255,0.2);
}
.phone-frame .side-buttons::before { top: 0; }
.phone-frame .side-buttons::after { top: 60px; }

@keyframes phone-float {
    0%, 100% {
        transform: rotateY(-10deg) rotateX(8deg) translateY(0);
    }
    50% {
        transform: rotateY(-10deg) rotateX(8deg) translateY(-20px);
    }
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 0 2px #000; /* small black edge inside bezel */
}

/* The dynamic island */
.dynamic-island {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 32px;
    background: #000;
    border-radius: 20px;
    z-index: 20;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 10px;
    box-shadow: inset 0 0 1px rgba(255, 255, 255, 0.2), 0 0 8px rgba(0,0,0,0.5);
}

.dynamic-island::after {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08); /* Camera lens reflection */
    box-shadow: inset 2px -2px 4px rgba(0, 0, 0, 0.8), 0 0 1px rgba(255, 255, 255, 0.3);
}

.screenshot-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    border-radius: var(--radius-lg);
    width: 100%;
    height: 100%;
}

.screenshot-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: calc(var(--radius-lg) - 6px);
}

.placeholder-icon {
    font-size: 3rem;
}

.placeholder-text {
    font-size: 0.875rem;
    font-weight: 500;
}

.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--color-text-muted);
    font-size: 0.875rem;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--color-text-muted);
    border-bottom: 2px solid var(--color-text-muted);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ===== Section Styles ===== */
section {
    padding: var(--spacing-2xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

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

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
}

.feature-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-gradient-1);
    box-shadow: 0 20px 40px rgba(45, 212, 191, 0.1);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.2), rgba(74, 222, 128, 0.2));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-gradient-1);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.feature-card p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

/* ===== How It Works Section ===== */
.how-it-works {
    position: relative;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    left: 35px;
    top: 40px;
    bottom: 40px;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-gradient-1), var(--color-gradient-3));
    opacity: 0.3;
}

.step {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.step-number {
    width: 72px;
    height: 72px;
    min-width: 72px;
    background: linear-gradient(135deg, var(--color-gradient-1), var(--color-gradient-2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-bg-dark);
    position: relative;
    z-index: 1;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.step-content p {
    color: var(--color-text-secondary);
    max-width: 400px;
}

.step-image {
    flex: 0 0 130px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon-container {
    width: 110px;
    height: 110px;
    background: rgba(99, 102, 241, 0.06);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 28px rgba(139, 92, 246, 0.1);
}

.step-icon-svg {
    width: 72px;
    height: 72px;
}

.screenshot-placeholder.small {
    width: 200px;
    height: 140px;
    background: black;
    border: none;
    overflow: hidden;
    padding: 0;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.screenshot-placeholder.small .screenshot-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

/* ===== Screenshots Section ===== */
.screenshots {
    background: var(--color-bg-secondary);
    overflow: hidden;
}

.screenshots-carousel {
    display: flex;
    gap: var(--spacing-md);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: var(--spacing-md) 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.screenshots-carousel::-webkit-scrollbar {
    display: none;
}

.screenshot-item {
    flex: 0 0 250px;
    scroll-snap-align: center;
}

.screenshot-placeholder.large {
    width: 250px;
    height: auto;
    border-radius: var(--radius-xl);
    background: transparent;
}

/* ===== CTA Section ===== */
.cta {
    position: relative;
    padding: var(--spacing-2xl) 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.orb-4 {
    width: 500px;
    height: 500px;
    background: var(--color-gradient-1);
    top: -20%;
    right: -10%;
    animation-delay: 1s;
}

.orb-5 {
    width: 400px;
    height: 400px;
    background: var(--color-gradient-3);
    bottom: -30%;
    left: -5%;
    animation-delay: 3s;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.cta p {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-lg);
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.store-badge {
    display: block;
    transition: transform var(--transition-fast);
}

.store-badge:hover {
    transform: translateY(-3px);
}

.store-placeholder {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm) var(--spacing-md);
    backdrop-filter: blur(10px);
}

.store-icon {
    width: 32px;
    height: 32px;
}

.store-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

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

.store-name {
    font-size: 1.125rem;
    font-weight: 600;
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-xl);
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo {
    margin-bottom: var(--spacing-sm);
}

.footer-brand p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

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

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-primary);
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer-column a {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--color-gradient-1);
}

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

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

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: var(--color-gradient-1);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text {
        max-width: 100%;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .phone-frame {
        width: 240px;
        height: 500px;
    }
    
    .step {
        flex-wrap: wrap;
    }
    
    .step-image {
        flex: 1 1 100%;
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding-top: 120px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps::before {
        display: none;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-content {
        order: 1;
    }
    
    .step-content p {
        margin: 0 auto;
    }
    
    .step-image {
        order: 2;
    }
    
    .footer-content {
        flex-direction: column;
        gap: var(--spacing-xl);
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: var(--spacing-lg);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .store-placeholder {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

/* ===== Animations on scroll ===== */
.feature-card,
.step,
.screenshot-item {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.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-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

.step:nth-child(1) { animation-delay: 0.2s; }
.step:nth-child(2) { animation-delay: 0.4s; }
.step:nth-child(3) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--color-gradient-1);
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--color-gradient-2);
    top: 50%;
    right: -5%;
    animation-delay: 2s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: var(--color-gradient-3);
    bottom: 10%;
    left: 30%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.05);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-2xl);
    max-width: 1200px;
    width: 100%;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
}

.gradient-text {
    display: block;
    background: linear-gradient(135deg, var(--color-gradient-1), var(--color-gradient-2), var(--color-gradient-3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradient-shift 5s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-description {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-lg);
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-fast);
    border: 2px solid transparent;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-gradient-1), var(--color-gradient-2));
    color: var(--color-bg-dark);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(45, 212, 191, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-border);
    color: var(--color-text-primary);
    backdrop-filter: blur(10px);
}

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

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
    perspective: 1000px;
}

.phone-frame {
    width: 280px;
    height: 580px;
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 
        0 50px 100px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: rotateY(-5deg) rotateX(5deg);
    animation: phone-float 6s ease-in-out infinite;
}

@keyframes phone-float {
    0%, 100% {
        transform: rotateY(-5deg) rotateX(5deg) translateY(0);
    }
    50% {
        transform: rotateY(-5deg) rotateX(5deg) translateY(-15px);
    }
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--color-bg-secondary);
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.screenshot-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    border-radius: var(--radius-lg);
    width: 100%;
    height: 100%;
}

.placeholder-icon {
    font-size: 3rem;
}

.placeholder-text {
    font-size: 0.875rem;
    font-weight: 500;
}

.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--color-text-muted);
    font-size: 0.875rem;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--color-text-muted);
    border-bottom: 2px solid var(--color-text-muted);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ===== Section Styles ===== */
section {
    padding: var(--spacing-2xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

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

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
}

.feature-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-gradient-1);
    box-shadow: 0 20px 40px rgba(45, 212, 191, 0.1);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.2), rgba(74, 222, 128, 0.2));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-gradient-1);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.feature-card p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

/* ===== How It Works Section ===== */
.how-it-works {
    position: relative;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    left: 35px;
    top: 40px;
    bottom: 40px;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-gradient-1), var(--color-gradient-3));
    opacity: 0.3;
}

.step {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.step-number {
    width: 72px;
    height: 72px;
    min-width: 72px;
    background: linear-gradient(135deg, var(--color-gradient-1), var(--color-gradient-2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-bg-dark);
    position: relative;
    z-index: 1;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.step-content p {
    color: var(--color-text-secondary);
    max-width: 400px;
}

.step-image {
    flex: 0 0 200px;
}

.screenshot-placeholder.small {
    width: 200px;
    height: 140px;
}

/* ===== Screenshots Section ===== */
.screenshots {
    background: var(--color-bg-secondary);
    overflow: hidden;
}

.screenshots-carousel {
    display: flex;
    gap: var(--spacing-md);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: var(--spacing-md) 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.screenshots-carousel::-webkit-scrollbar {
    display: none;
}

.screenshot-item {
    flex: 0 0 250px;
    scroll-snap-align: center;
}

.screenshot-placeholder.large {
    width: 250px;
    height: auto;
    border-radius: var(--radius-xl);
    background: transparent;
}

/* ===== CTA Section ===== */
.cta {
    position: relative;
    padding: var(--spacing-2xl) 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.orb-4 {
    width: 500px;
    height: 500px;
    background: var(--color-gradient-1);
    top: -20%;
    right: -10%;
    animation-delay: 1s;
}

.orb-5 {
    width: 400px;
    height: 400px;
    background: var(--color-gradient-3);
    bottom: -30%;
    left: -5%;
    animation-delay: 3s;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.cta p {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-lg);
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.store-badge {
    display: block;
    transition: transform var(--transition-fast);
}

.store-badge:hover {
    transform: translateY(-3px);
}

.store-placeholder {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm) var(--spacing-md);
    backdrop-filter: blur(10px);
}

.store-icon {
    width: 32px;
    height: 32px;
}

.store-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

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

.store-name {
    font-size: 1.125rem;
    font-weight: 600;
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-xl);
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo {
    margin-bottom: var(--spacing-sm);
}

.footer-brand p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

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

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-primary);
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer-column a {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--color-gradient-1);
}

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

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

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: var(--color-gradient-1);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text {
        max-width: 100%;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .phone-frame {
        width: 240px;
        height: 500px;
    }
    
    .step {
        flex-wrap: wrap;
    }
    
    .step-image {
        flex: 1 1 100%;
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding-top: 120px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps::before {
        display: none;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-content {
        order: 1;
    }
    
    .step-content p {
        margin: 0 auto;
    }
    
    .step-image {
        order: 2;
    }
    
    .footer-content {
        flex-direction: column;
        gap: var(--spacing-xl);
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: var(--spacing-lg);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .store-placeholder {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

/* ===== Animations on scroll ===== */
.feature-card,
.step,
.screenshot-item {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.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-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

.step:nth-child(1) { animation-delay: 0.2s; }
.step:nth-child(2) { animation-delay: 0.4s; }
.step:nth-child(3) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Language Selector */
.lang-selector {
    position: relative;
    display: inline-block;
    margin-right: 1.5rem;
    z-index: 1000;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--color-border);
    color: var(--color-text-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-family: inherit;
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar.scrolled .lang-btn {
    border-color: var(--color-border);
    color: var(--color-text-primary);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.navbar.scrolled .lang-btn:hover {
    background: rgba(255, 255, 255, 0.12);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: rgba(10, 10, 15, 0.96);
    min-width: 170px;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
}

.lang-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown a {
    color: var(--color-text-primary) !important;
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.lang-dropdown a:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.lang-option-text {
    line-height: 1;
}

.lang-btn-arrow {
    font-size: 0.8rem;
    opacity: 0.8;
}

.lang-emoji {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1rem;
    flex: 0 0 auto;
}

.lang-emoji img,
.lang-selector img.emoji {
    width: 1.25rem;
    height: 1rem;
    display: block;
}

@media (max-width: 768px) {
    .lang-selector {
        margin-right: 1rem;
    }
    
    .lang-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
}

.screenshot-placeholder.large .screenshot-image {
    object-fit: contain;
    height: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
