/* ========================================
   OBD-II AI Landing Page - Cyberpunk Theme
   ======================================== */

/* CSS Variables */
:root {
    /* Primary Colors */
    --primary: #FF6B35;
    --primary-light: #FF8A5C;
    --primary-dark: #E55A2B;
    --primary-glow: rgba(255, 107, 53, 0.4);
    
    /* Accent Colors */
    --accent: #7C4DFF;
    --accent-light: #B388FF;
    --accent-glow: rgba(124, 77, 255, 0.3);
    
    /* Status Colors */
    --success: #4CAF50;
    --warning: #FFA726;
    --error: #EF5350;
    
    /* Dark Theme */
    --bg-dark: #0A0A0F;
    --bg-darker: #050508;
    --surface: #12121A;
    --surface-light: #1A1A25;
    --surface-lighter: #252535;
    
    /* Text */
    --text-primary: #FFFFFF;
    --text-secondary: #B0B0B8;
    --text-muted: #6B6B75;
    
    /* Grid */
    --grid-color: rgba(255, 107, 53, 0.03);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Spacing */
    --nav-height: 70px;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Hide all scrollbars */
* {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

*::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
    width: 0;
    height: 0;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    z-index: 9999;
    text-decoration: none;
    border-radius: 0 0 8px 0;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rajdhani', 'Inter', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

html {
    overflow-x: hidden;
}

/* Prevent horizontal scroll on all sections */
section, .hero, .container {
    overflow-x: hidden;
}

/* Background Effects */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

.bg-glow {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(ellipse at 30% 20%, var(--primary-glow) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, var(--accent-glow) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: glowPulse 8s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.1) 2px,
        rgba(0, 0, 0, 0.1) 4px
    );
    pointer-events: none;
    z-index: 1;
    opacity: 0.3;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 107, 53, 0.1);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-family: 'Orbitron', monospace;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-logo i {
    font-size: 1.6rem;
    color: var(--primary);
    filter: drop-shadow(0 0 10px var(--primary-glow));
}

.nav-logo .highlight {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

.nav-links a:not(.nav-cta):hover {
    color: var(--primary);
}

.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition-normal);
}

.nav-links a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--primary);
    color: var(--text-primary) !important;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 0 20px var(--primary-glow);
    transition: var(--transition-normal);
}

.nav-cta:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 30px var(--primary-glow);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 4px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 4px;
    margin-left: 16px;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: inherit;
}

.lang-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.lang-btn.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 2px 10px var(--primary-glow);
}

.lang-switcher-mobile {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-switcher-mobile .lang-btn {
    flex: 1;
    padding: 12px;
    font-size: 1rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
}

.lang-switcher-mobile .lang-btn.active {
    background: var(--primary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-normal);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--nav-height) + 40px) 24px 40px;
    max-width: 1400px;
    margin: 0 auto;
    gap: 40px;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.title-line {
    display: block;
}

.title-line.accent {
    color: var(--primary);
    text-shadow: 0 0 40px var(--primary-glow);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    animation: fadeInUp 0.6s ease 0.3s both;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-normal);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--text-primary);
    box-shadow: 0 0 30px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px var(--primary-glow);
}

.btn-primary i {
    font-size: 1.5rem;
}

.btn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.btn-label {
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.8;
}

.btn-store {
    font-size: 1.1rem;
    font-weight: 700;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 40px;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.stat {
    text-align: left;
}

.stat-value {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-suffix {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    color: var(--primary);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Hero Visual */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: fadeIn 1s ease 0.5s both;
}

.ai-robot-container {
    position: relative;
    max-width: 600px;
    width: 100%;
}

.ai-robot-image {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 40px rgba(255, 107, 53, 0.4)) drop-shadow(0 0 80px rgba(124, 77, 255, 0.3));
    animation: robotFloat 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
    mix-blend-mode: screen; /* Делает темный фон прозрачным */
}

.robot-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary-glow) 0%, var(--accent-glow) 40%, transparent 70%);
    opacity: 0.6;
    z-index: 1;
    animation: robotGlow 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes robotFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.02);
    }
}

@keyframes robotGlow {
    0%, 100% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes phoneGlow {
    0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.5; transform: translate(-50%, -50%) scale(1.05); }
}


/* Sections Common */
section {
    padding: 60px 0;
    position: relative;
    z-index: 10;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.2);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
}

/* ========================================
   Screenshots Gallery Section
   ======================================== */
.screenshots-section {
    background: linear-gradient(180deg, transparent 0%, rgba(255, 107, 53, 0.02) 50%, transparent 100%);
    overflow: hidden;
}

/* Desktop/Tablet visibility */
.desktop-only {
    display: flex;
}

.mobile-only {
    display: none;
}

/* Ensure mobile screenshots are hidden on desktop */
.screenshots-mobile {
    display: none;
}

.screenshots-gallery {
    justify-content: center;
    align-items: flex-end;
    gap: 40px;
    flex-wrap: wrap;
}

.screenshot-card {
    text-align: center;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.screenshot-card:nth-child(1) { animation-delay: 0.1s; }
.screenshot-card:nth-child(2) { animation-delay: 0.2s; }
.screenshot-card:nth-child(3) { animation-delay: 0.3s; }

.screenshot-card.featured {
    transform: scale(1.1);
    z-index: 10;
}

.screenshot-phone {
    margin-bottom: 16px;
}

.phone-frame-mini {
    width: 200px;
    height: 420px;
    background: linear-gradient(145deg, #1a1a25 0%, #0f0f15 100%);
    border-radius: 30px;
    padding: 10px;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-normal);
    overflow: hidden;
}

.phone-frame-mini.large {
    width: 240px;
    height: 500px;
}

.phone-frame-mini:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.5),
        0 0 40px var(--primary-glow);
}

.phone-notch-mini {
    width: 80px;
    height: 18px;
    background: #000;
    border-radius: 15px;
    margin: 0 auto 8px;
}

.screenshot-img {
    width: 100%;
    height: calc(100% - 26px);
    object-fit: cover;
    border-radius: 20px;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.screenshot-card h3,
.carousel-slide h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-primary);
    word-break: break-word;
}

.screenshot-card p,
.carousel-slide p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    max-width: 200px;
    margin: 0 auto;
    word-break: break-word;
}

/* ========================================
   Mobile Stacked Phones
   ======================================== */
.screenshots-mobile {
    width: 100%;
    max-width: 100%;
    /* display is controlled by .mobile-only class */
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.phones-stack {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-stack-item {
    position: absolute;
    transition: all 0.3s ease;
}

.phone-stack-item .phone-frame-mini {
    width: 200px;
    height: 420px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.phone-center {
    z-index: 3;
    transform: scale(1.1);
}

.phone-center .phone-frame-mini {
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.6),
        0 0 40px var(--primary-glow);
}

.phone-left {
    z-index: 2;
    left: 10%;
    transform: scale(0.85) rotate(-8deg);
    opacity: 0.7;
}

.phone-right {
    z-index: 2;
    right: 10%;
    transform: scale(0.85) rotate(8deg);
    opacity: 0.7;
}

.stack-description {
    text-align: center;
    padding: 0 20px;
}

.stack-description h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.stack-description p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ========================================
   How It Works - Steps with Background
   ======================================== */
.how-it-works {
    background: var(--bg-darker);
}

.steps {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 280px;
    max-width: 340px;
    text-align: center;
    position: relative;
}

.step-number {
    font-family: 'Orbitron', monospace;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 107, 53, 0.1);
    line-height: 1;
    margin-bottom: -20px;
}

.step-content {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px 24px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    /* Background image support */
    background-size: cover;
    background-position: center;
}

/* Step background image overlay */
.step-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--step-bg, none);
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: -2;
    transition: opacity 0.3s ease;
}

.step-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(18, 18, 26, 0.8) 0%, rgba(18, 18, 26, 0.95) 100%);
    z-index: -1;
}

.step:hover .step-content::before {
    opacity: 0.25;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 10px 30px var(--primary-glow);
    position: relative;
    z-index: 2;
}

.step-icon i {
    font-size: 1.8rem;
    color: white;
}

.step h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.step p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    position: relative;
    z-index: 2;
}

.step-line {
    position: absolute;
    top: 50%;
    right: -40px;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), transparent);
}

.step:last-child .step-line {
    display: none;
}

/* ========================================
   Stats Counter Section
   ======================================== */
.stats-section {
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    overflow: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stats-card {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition-normal);
}

.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 107, 53, 0.3);
}

.stats-card:hover::before {
    opacity: 1;
}

.stats-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

.stats-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.stats-value {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    text-shadow: 0 0 20px var(--primary-glow);
    line-height: 1;
    margin-bottom: 8px;
}

.stats-label {
    color: var(--text-secondary);
    font-size: 1rem;
}

.stats-percent {
    font-size: 2.2rem;
}

/* ========================================
   Advantages Section
   ======================================== */
.advantages-section {
    background: linear-gradient(180deg, transparent 0%, rgba(124, 77, 255, 0.02) 50%, transparent 100%);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    background: rgba(18, 18, 26, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    transition: var(--transition-normal);
}

.advantage-item:hover {
    border-color: rgba(124, 77, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.advantage-icon {
    width: 50px;
    height: 50px;
    background: rgba(124, 77, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.advantage-icon i {
    font-size: 1.3rem;
    color: var(--accent-light);
}

.advantage-content h4 {
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.advantage-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ========================================
   Download Section
   ======================================== */
.download-section {
    padding: 60px 0;
}

.download-card {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.15) 0%, rgba(18, 18, 26, 0.8) 100%);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    overflow: hidden;
}

.download-content {
    flex: 1;
}

.download-content h2 {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.download-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.btn-download {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 14px 28px;
    box-shadow: 0 10px 40px var(--primary-glow);
    margin-bottom: 20px;
}

.btn-download:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 50px var(--primary-glow);
}

.btn-download i {
    font-size: 2rem;
}

.download-adapters {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.download-adapters span {
    display: block;
    margin-bottom: 12px;
}

.adapter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.adapter-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.adapter-tag:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.download-visual {
    flex-shrink: 0;
}

.qr-code {
    width: 150px;
    height: 150px;
    background: white;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.qr-code i {
    font-size: 4rem;
    color: var(--bg-dark);
}

.qr-code span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.download-glow {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    opacity: 0.3;
    pointer-events: none;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--bg-darker);
    padding: 40px 0 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 24px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-logo i {
    color: var(--primary);
}

.footer-logo .highlight {
    color: var(--primary);
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-column h4 {
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-column a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    padding: 6px 0;
    transition: var(--transition-fast);
}

.footer-column a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    padding: 20px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 999;
    border-bottom: 1px solid rgba(255, 107, 53, 0.1);
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-menu-content a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.1rem;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-fast);
}

.mobile-menu-content a:hover {
    color: var(--primary);
}

.mobile-menu-content .nav-cta {
    background: var(--primary);
    color: white !important;
    text-align: center;
    border-radius: 12px;
    border: none;
    margin-top: 10px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: calc(var(--nav-height) + 40px);
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-subtitle {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        margin-top: 40px;
    }
    
    .screenshot-card.featured {
        transform: scale(1);
    }
    
    .ai-robot-container {
        max-width: 400px;
    }
    
    .robot-glow {
        width: 300px;
        height: 300px;
    }
    
    .download-glow {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .lang-switcher {
        display: none;
    }
    
    /* Show carousel, hide grid on mobile */
    .desktop-only {
        display: none !important;
    }
    
    .mobile-only {
        display: flex !important;
    }
    
    .screenshots-mobile {
        display: flex !important;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .stats-value {
        font-size: 2rem;
    }
    
    .stats-label,
    .stats-label-special {
        font-size: 0.85rem;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .advantage-content h4 {
        font-size: 0.95rem;
    }
    
    .advantage-content p {
        font-size: 0.85rem;
    }
    
    .steps {
        flex-direction: column;
        align-items: center;
    }
    
    .step {
        max-width: 100%;
    }
    
    .step h3 {
        font-size: 1.1rem;
    }
    
    .step p {
        font-size: 0.9rem;
    }
    
    .step-line {
        display: none;
    }
    
    .download-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .download-content h2 {
        font-size: 1.5rem;
    }
    
    .download-adapters {
        text-align: center;
    }
    
    .adapter-tags {
        justify-content: center;
    }
    
    .adapter-tag {
        font-size: 0.75rem;
        padding: 5px 10px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .ai-robot-container {
        max-width: 350px;
    }
    
    .section-title {
        font-size: 1.6rem;
        word-break: break-word;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    section {
        padding: 40px 0;
    }
    
    .section-header {
        margin-bottom: 24px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    
    .btn-store {
        font-size: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .stats-card {
        padding: 20px 12px;
    }
    
    .stats-value {
        font-size: 1.6rem;
    }
    
    .stats-icon {
        width: 45px;
        height: 45px;
    }
    
    .stats-icon i {
        font-size: 1.2rem;
    }
    
    .stats-label,
    .stats-label-special {
        font-size: 0.75rem;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .step-content {
        padding: 30px 20px;
    }
    
    .step-number {
        font-size: 3rem;
    }
    
    .step-icon {
        width: 55px;
        height: 55px;
    }
    
    .step-icon i {
        font-size: 1.4rem;
    }
    
    .advantage-item {
        padding: 18px;
    }
    
    .advantage-icon {
        width: 40px;
        height: 40px;
    }
    
    .advantage-icon i {
        font-size: 1rem;
    }
    
    .advantage-content h4 {
        font-size: 0.9rem;
    }
    
    .advantage-content p {
        font-size: 0.8rem;
    }
    
    .phones-stack {
        height: 450px;
        max-width: 350px;
    }
    
    .phone-stack-item .phone-frame-mini {
        width: 180px;
        height: 380px;
    }
    
    .phone-left {
        left: 5%;
    }
    
    .phone-right {
        right: 5%;
    }
    
    .stack-description h3 {
        font-size: 1.1rem;
    }
    
    .stack-description p {
        font-size: 0.9rem;
    }
    
    .download-content h2 {
        font-size: 1.4rem;
    }
    
    .download-content p {
        font-size: 0.9rem;
    }
    
    .footer-logo {
        font-size: 1.1rem;
    }
    
    .footer-brand p {
        font-size: 0.85rem;
    }
}

/* Premium Subscription Section */
.premium-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--surface) 100%);
}

.premium-card {
    max-width: 800px;
    margin: 40px auto 0;
    background: linear-gradient(135deg, var(--surface-light) 0%, var(--surface) 100%);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 24px;
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}

.premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 30px;
}

.premium-badge i {
    color: #FFD700;
}

.premium-price {
    text-align: center;
    margin-bottom: 40px;
}

.price-amount {
    font-size: 72px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.price-currency {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-left: 4px;
}

.price-period {
    font-size: 18px;
    color: var(--text-muted);
    margin-left: 8px;
}

.premium-features {
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-item i {
    color: var(--success);
    font-size: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

.feature-item span {
    color: var(--text-secondary);
    line-height: 1.6;
}

.feature-item strong {
    color: var(--text-primary);
}

.premium-info {
    background: rgba(255, 107, 53, 0.05);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 107, 53, 0.1);
}

.premium-info p {
    color: var(--text-primary);
    margin-bottom: 12px;
    font-size: 16px;
}

.premium-info ul {
    list-style: none;
    padding: 0;
}

.premium-info li {
    color: var(--text-secondary);
    padding: 6px 0;
    padding-left: 24px;
    position: relative;
    font-size: 14px;
}

.premium-info li::before {
    content: '•';
    position: absolute;
    left: 8px;
    color: var(--primary);
    font-weight: bold;
}

.premium-info a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.premium-info a:hover {
    text-decoration: underline;
}

/* Responsive Premium Section */
@media (max-width: 768px) {
    .premium-section {
        padding: 60px 20px;
    }
    
    .premium-card {
        padding: 30px 20px;
    }
    
    .price-amount {
        font-size: 56px;
    }
    
    .price-currency {
        font-size: 24px;
    }
    
    .price-period {
        font-size: 16px;
    }
    
    .feature-item {
        padding: 12px 0;
    }
    
    .premium-info {
        padding: 15px;
    }
}

/* Scroll reveal animation classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
