/* Reset и базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4A90E2;
    --primary-hover: #357ABD;
    --bg-color: #0F1419;
    --bg-secondary: #1A1F2E;
    --text-primary: #FFFFFF;
    --text-secondary: #A8B2C1;
    --border-color: #2A3441;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --gradient-primary: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    --gradient-bg: linear-gradient(180deg, #0F1419 0%, #1A1F2E 100%);
}

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

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

/* Header */
.header {
    padding: 40px 0;
    text-align: center;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    font-size: 48px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.logo h1 {
    font-size: 32px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 0;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #FFFFFF 0%, #A8B2C1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

/* CTA Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: var(--gradient-primary);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(74, 144, 226, 0.4);
}

.cta-button.secondary {
    background: var(--bg-secondary);
    border: 2px solid var(--primary-color);
}

.cta-button.secondary:hover {
    background: var(--primary-color);
    box-shadow: 0 6px 30px rgba(74, 144, 226, 0.3);
}

.button-icon {
    font-size: 24px;
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    padding: 60px 0;
}

.feature {
    background: var(--bg-secondary);
    padding: 40px 32px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
}

.feature:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 30px rgba(74, 144, 226, 0.2);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

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

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    text-align: center;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #FFFFFF 0%, #A8B2C1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.step {
    position: relative;
    padding: 40px 24px;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: var(--text-primary);
    border-radius: 50%;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(74, 144, 226, 0.3);
}

.step h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
}

.step p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 80px 0;
    background: var(--bg-secondary);
    border-radius: 24px;
    margin: 60px 0;
    border: 1px solid var(--border-color);
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 32px;
}

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

.footer-content {
    text-align: center;
}

.footer-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-description {
        font-size: 18px;
    }

    .section-title {
        font-size: 32px;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cta-button {
        padding: 16px 28px;
        font-size: 16px;
    }

    .logo h1 {
        font-size: 24px;
    }

    .logo-icon {
        font-size: 36px;
    }

    .cta-section h2 {
        font-size: 28px;
    }

    .footer-links {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 0;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-description {
        font-size: 16px;
    }

    .feature {
        padding: 32px 24px;
    }

    .how-it-works {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero, .features, .how-it-works, .cta-section {
    animation: fadeIn 0.6s ease-out;
}

/* Плавная прокрутка */
html {
    scroll-behavior: smooth;
}
