:root {
    --primary-color: #ff6b6b;
    --secondary-color: #4ecdc4;
    --accent-color: #45b7d1;
    --success-color: #96ceb4;
    --warning-color: #ffeaa7;
    --text-color: #2d3436;
    --text-light: #636e72;
    --background-color: #ffffff;
    --surface-color: #f8f9fa;
    --gradient-primary: linear-gradient(135deg, #ff6b6b 0%, #ffa500 100%);
    --gradient-secondary: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    --gradient-accent: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-button: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -2px rgb(0 0 0 / 0.05);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 10px 10px -5px rgb(0 0 0 / 0.04);
    --shadow-button: 0 8px 30px rgba(255, 107, 107, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--background-color);
    scroll-behavior: smooth;
}

/* Фиксированный навбар */
.fixed-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transform: translateY(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.fixed-navbar.show {
    transform: translateY(0);
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.navbar-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.navbar-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.navbar-link:hover {
    color: var(--primary-color);
}

.navbar-link:hover::after {
    width: 100%;
}

.navbar-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-cta {
    background: var(--gradient-button);
    color: white !important;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.navbar-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    background: linear-gradient(135deg, #ff5252 0%, #d32f2f 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    background: var(--gradient-primary);
    color: white;
    padding: 120px 0 200px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: clamp(60px, 8vw, 120px);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath fill='%23f8f9fa' d='M0,100 C360,0 720,0 1440,60 L1440,100 Z'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: bottom;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 24px;
    font-weight: 800;
    background: linear-gradient(to right, #fff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    margin-bottom: 48px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

/* CTA Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--gradient-button);
    color: white !important;
    padding: 20px 48px;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-button);
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
    min-width: 280px;
    animation: buttonPulse 3s ease-in-out infinite;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button::after {
    content: '🚀';
    position: absolute;
    right: 20px;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.6);
    background: linear-gradient(135deg, #ff5252 0%, #d32f2f 100%);
    color: white !important;
}

.cta-button:hover::after {
    transform: translateX(5px);
}

.cta-button:active {
    transform: translateY(-2px) scale(1.02);
}

@keyframes buttonPulse {
    0%, 100% {
        box-shadow: var(--shadow-button);
    }
    50% {
        box-shadow: 0 8px 35px rgba(255, 107, 107, 0.6);
    }
}

.cta-button:active {
    transform: translateY(0);
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--surface-color);
    position: relative;
    margin-top: 0;
}

.features h2 {
    text-align: center;
    margin-bottom: 64px;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    padding: 0 20px;
}

.feature-card {
    background: white;
    padding: 40px 32px;
    border-radius: 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 24px;
    display: block;
}

.feature-card h3 {
    margin-bottom: 16px;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

/* How it Works Section */
.how-it-works {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='1' fill='%236366f1' opacity='0.1'/%3E%3C/svg%3E");
    background-size: 50px 50px;
    animation: floatPattern 20s linear infinite;
}

@keyframes floatPattern {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

.how-it-works h2 {
    text-align: center;
    margin-bottom: 80px;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-color);
    position: relative;
    z-index: 2;
}

.timeline {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.3);
}

.timeline-item {
    position: relative;
    margin-bottom: 80px;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    flex: 1;
    max-width: 400px;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    border: 1px solid #e5e7eb;
    position: relative;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border: 15px solid transparent;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -30px;
    border-left-color: white;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -30px;
    border-right-color: white;
}

.timeline-number {
    width: 80px;
    height: 80px;
    background: var(--gradient-secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.8rem;
    box-shadow: var(--shadow-lg);
    border: 6px solid white;
    position: relative;
    z-index: 3;
    margin: 0 40px;
    flex-shrink: 0;
}

.timeline-number::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--gradient-secondary);
    opacity: 0.3;
    animation: ripple 2s infinite;
    z-index: -1;
}

@keyframes ripple {
    0% { transform: scale(1); opacity: 0.3; }
    70% { transform: scale(1.4); opacity: 0; }
    100% { transform: scale(1.4); opacity: 0; }
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.timeline-content h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 16px;
    font-weight: 600;
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1rem;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
        transform: none;
    }
    
    .timeline-item {
        flex-direction: row !important;
        margin-bottom: 60px;
    }
    
    .timeline-number {
        margin: 0 20px 0 0;
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
    }
    
    .timeline-content {
        max-width: none;
        padding: 30px;
        margin-left: 20px;
    }
    
    .timeline-content::before {
        left: -15px !important;
        right: auto !important;
        border-right-color: white !important;
        border-left-color: transparent !important;
        border-width: 10px;
    }
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: var(--surface-color);
}

.faq h2 {
    text-align: center;
    margin-bottom: 64px;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-color);
}

.faq-item {
    background: white;
    padding: 32px;
    border-radius: 16px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-lg);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 1.2rem;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1f2937, #111827);
    color: white;
    padding: 80px 0 40px;
    text-align: center;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: clamp(60px, 8vw, 120px);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath fill='%23f8f9fa' d='M0,0 C360,100 720,100 1440,40 L1440,0 Z'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: top;
    transform: translateY(-100%);
}

footer .container {
    position: relative;
    z-index: 1;
}

.footer-info {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.age-restriction {
    background: linear-gradient(45deg, #ef4444, #dc2626);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

.privacy-policy {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.privacy-policy:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 80px 0 120px;
    }

    .features-grid,
    .steps {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .container {
        padding: 0 16px;
    }

    .footer-info {
        flex-direction: column;
        gap: 16px;
    }

    .navbar-menu {
        display: none;
    }
}

@media (max-width: 480px) {
    .feature-card,
    .faq-item {
        padding: 24px;
    }

    .cta-button {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .navbar-logo {
        font-size: 1.2rem;
    }

    .navbar-cta {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
} 