:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #0ea5e9;
    --dark: #0f172a;
    --dark-lighter: #1e293b;
    --light: #f1f5f9;
    --text: #cbd5e1;
    --text-dim: #64748b;
    --accent: #8b5cf6;
    --success: #10b981;
    --gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-secondary: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
    --shadow: 0 20px 60px -10px rgba(99, 102, 241, 0.3);
    --shadow-lg: 0 30px 80px -15px rgba(99, 102, 241, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
    z-index: 0;
}

.hero-decoration {
    position: absolute;
    top: -50%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: var(--gradient);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.1;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(50px, 50px) scale(1.1);
    }
}

/* Navbar */
.navbar {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    color: white;
}

.logo-icon {
    font-size: 32px;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: white;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: white;
    transition: 0.3s;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 1;
    padding: 100px 0;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 30px;
}

.hero-title {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    color: white;
    margin-bottom: 30px;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text);
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 80px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 18px;
}

.icon {
    font-size: 20px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 32px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Section Styles */
section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 20px;
    color: var(--text-dim);
}

/* Features Section */
.features {
    background: var(--dark-lighter);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: var(--shadow);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.featured {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-color: rgba(99, 102, 241, 0.3);
}

.feature-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 4px 12px;
    background: var(--gradient);
    color: white;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-size: 24px;
    color: white;
    margin-bottom: 15px;
    font-weight: 700;
}

.feature-card p {
    color: var(--text);
    margin-bottom: 20px;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 8px 0;
    color: var(--text-dim);
    position: relative;
    padding-left: 25px;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

/* How It Works Section */
.steps {
    max-width: 900px;
    margin: 0 auto;
}

.step {
    display: grid;
    grid-template-columns: 80px 1fr 200px;
    gap: 40px;
    margin-bottom: 80px;
    align-items: center;
}

.step-reverse {
    grid-template-columns: 200px 1fr 80px;
}

.step-reverse .step-content {
    order: 2;
}

.step-reverse .step-number {
    order: 3;
}

.step-reverse .step-visual {
    order: 1;
}

.step-number {
    font-size: 48px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.step-content h3 {
    font-size: 28px;
    color: white;
    margin-bottom: 15px;
    font-weight: 700;
}

.step-content p {
    color: var(--text);
    line-height: 1.8;
    font-size: 16px;
}

.step-visual {
    width: 250px;
    height: auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.step-visual img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.step-visual:hover img {
    transform: scale(1.05);
}

/* Tech Stack Section */
.tech-stack {
    background: var(--dark-lighter);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.tech-category h3 {
    font-size: 24px;
    color: white;
    margin-bottom: 20px;
    font-weight: 700;
}

.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tech-item {
    padding: 10px 20px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 8px;
    color: var(--text);
    font-weight: 500;
    transition: all 0.3s;
}

.tech-item:hover {
    background: rgba(99, 102, 241, 0.2);
    transform: translateY(-2px);
}

/* FAQ Section */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: rgba(99, 102, 241, 0.3);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    font-size: 18px;
    color: white;
    font-weight: 600;
}

.faq-toggle {
    font-size: 24px;
    color: var(--primary);
    font-weight: bold;
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 30px 25px 30px;
}

.faq-answer p {
    color: var(--text);
    line-height: 1.8;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(36px, 5vw, 56px);
    color: white;
    margin-bottom: 20px;
    font-weight: 800;
}

.cta-content p {
    font-size: 20px;
    color: var(--text);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--dark-lighter);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    color: white;
    margin-bottom: 15px;
}

.footer-description {
    color: var(--text-dim);
    line-height: 1.8;
}

.footer-section h4 {
    color: white;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--text-dim);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-lg {
        width: 100%;
    }

    .step {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .step-reverse {
        grid-template-columns: 1fr;
    }

    .step-number {
        order: 1 !important;
    }

    .step-content {
        order: 2 !important;
    }

    .step-visual {
        order: 3 !important;
        margin: 0 auto;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        gap: 30px;
    }
}

/* Language Switcher */
.lang-switch {
    display: flex;
    gap: 5px;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px;
    border-radius: 20px;
    margin-left: 20px;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-dim);
    padding: 6px 14px;
    border-radius: 15px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 13px;
    font-family: inherit;
}

.lang-btn.active {
    background: var(--gradient);
    color: white;
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.3);
}

.lang-btn:hover:not(.active) {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
    .navbar .lang-switch {
        display: none;
        /* Hide in navbar on mobile, add to mobile menu? */
    }

    /* Mobile menu styles usually hide .nav-links so it's inside mobile menu? */
    /* If .nav-links is hidden, lang-switch inside it is hidden. */
    /* We need to ensure it's visible in mobile menu if it opens. */
}

/* Video Showcase Styles */
.video-showcase {
    background: var(--dark-darker);
    padding: 60px 0;
    position: relative;
    z-index: 2;
}

.video-wrapper {
    max-width: 900px;
    margin: 40px auto 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    background: #000;
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* or cover */
    outline: none;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .video-wrapper {
        border-radius: 12px;
        margin-top: 20px;
    }
}

/* Video Spoiler Styles */
.video-toggle-container {
    text-align: center;
    margin-top: 20px;
}

.video-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s;
    user-select: none;
}

.video-toggle-btn:hover {
    background: var(--gradient);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.video-toggle-btn .icon {
    transition: transform 0.3s ease;
    font-size: 1.2em;
}

.video-toggle-btn.active .icon {
    transform: rotate(180deg);
}

.video-spoiler-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.5s ease;
    transform-origin: top;
    transform: scaleY(0.95);
}

.video-spoiler-content.active {
    max-height: 800px;
    /* Adjust according to video aspect */
    opacity: 1;
    transform: scaleY(1);
    margin-top: 40px;
}

/* Audience Section */
.audience {
    padding: 100px 0;
    background: var(--dark-darker);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.audience-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 50px 40px;
    border-radius: 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.audience-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.audience-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.audience-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.audience-card p {
    color: var(--text-dim);
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Creator Badge */
.creator-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: fit-content;
    margin: -30px auto 40px;
    font-weight: 500;
    color: var(--text-dim);
    font-size: 0.9rem;
    z-index: 10;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.creator-badge .heart {
    color: #ef4444;
    font-size: 1.1rem;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }

    14% {
        transform: scale(1.1);
    }

    28% {
        transform: scale(1);
    }

    42% {
        transform: scale(1.1);
    }

    70% {
        transform: scale(1);
    }
}

/* Hero Watches Demo Button Sync */
.hero-btns {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: center;
}

#hero-watch-demo {
    backdrop-filter: blur(5px);
}

/* Logo Scaling */
.navbar-logo {
    height: 175px;
    /* Увеличено еще на треть (было 130px) */
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.5));
    /* Еще более заметное свечение */
    transition: transform 0.3s ease;
}

.navbar-logo:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .navbar-logo {
        height: 120px;
        /* Увеличено до 120px */
    }
}