:root {
    --bg-dark: #0A0A0F;
    --bg-card: #12121A;
    --bg-elevated: #1A1A28;
    --accent: #00D4AA;
    --accent-glow: #00FF88;
    --text-primary: #FFFFFF;
    --text-secondary: #8B8B9E;
    --text-muted: #4A4A5E;
    --danger: #FF4757;
    --border: #1E1E2E;
    --border-light: #2A2A3E;
    --gradient-start: #00D4AA;
    --gradient-end: #008F5A;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.03;
    z-index: 1000;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 0.08em;
}

.logo-icon {
    color: var(--accent);
    font-size: 24px;
}

.lang-switcher {
    display: flex;
    gap: 4px;
    background: var(--bg-card);
    padding: 4px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 4px;
}

.lang-btn:hover {
    color: var(--text-primary);
}

.lang-btn.active {
    background: var(--bg-elevated);
    color: var(--accent);
    box-shadow: 0 2px 8px rgba(0, 212, 170, 0.1);
}

.lang-flag {
    font-size: 14px;
}

/* Hero */
.hero {
    position: relative;
    padding: 140px 0 80px;
    text-align: center;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
    font-size: clamp(32px, 6vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-glow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-cta {
    margin-bottom: 32px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: white;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 24px rgba(0, 212, 170, 0.25);
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 212, 170, 0.35);
}

.btn-large {
    padding: 20px 40px;
    font-size: 18px;
}

.btn-icon {
    font-size: 20px;
}

.btn-version {
    background: rgba(255,255,255,0.15);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.download-meta {
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.download-count {
    color: var(--accent);
    font-weight: 600;
}

.dot-separator {
    color: var(--text-muted);
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    background: var(--bg-card);
    padding: 8px 16px;
    border-radius: 100px;
    border: 1px solid var(--border);
}

.trust-icon {
    font-size: 16px;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 48px;
    letter-spacing: -0.01em;
}

/* Features */
.features {
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(18, 18, 26, 0.5) 50%, var(--bg-dark) 100%);
}

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

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

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

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

/* Screenshots */
.screenshots-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.screenshots-track::-webkit-scrollbar {
    height: 4px;
}

.screenshots-track::-webkit-scrollbar-track {
    background: var(--bg-card);
    border-radius: 2px;
}

.screenshots-track::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: 2px;
}

.screenshot-frame {
    flex: 0 0 280px;
    scroll-snap-align: center;
}

.screenshot-placeholder {
    aspect-ratio: 9/19;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border);
    position: relative;
    overflow: hidden;
    background: var(--bg-card);
}

.screenshot-placeholder::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 20px;
    background: var(--bg-dark);
    border-radius: 10px;
    z-index: 2;
}

.screenshot-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    z-index: 1;
}

.screenshot-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(10, 10, 15, 0.8);
    padding: 8px 16px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

/* Reviews */
.reviews {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.review-card {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s;
}

.review-card:hover {
    border-color: var(--border-light);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
}

.review-meta {
    flex: 1;
}

.review-name {
    font-weight: 700;
    font-size: 15px;
}

.review-date {
    font-size: 12px;
    color: var(--text-muted);
}

.review-stars {
    color: #FFB800;
    font-size: 14px;
    letter-spacing: 2px;
}

.review-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.review-verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--accent);
    margin-top: 12px;
    font-weight: 600;
}

/* Download Section */
.download-section {
    padding: 100px 0;
}

.download-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.download-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.download-card h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
}

.download-card p {
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 auto 32px;
}

.compatibility {
    margin-top: 24px;
    font-size: 13px;
    color: var(--text-muted);
}

/* Footer */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    color: var(--text-secondary);
}

.footer-text {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
}

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

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Responsive */
@media (max-width: 768px) {
    .header-inner {
        padding: 0 16px;
    }
    
    .lang-btn {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .lang-btn .lang-flag {
        display: none;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .trust-badges {
        gap: 12px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .screenshot-frame {
        flex: 0 0 240px;
    }
    
    .download-card {
        padding: 40px 24px;
    }
    
    section {
        padding: 60px 0;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}