:root {
    --primary-color: #00bcd4; /* Голубой */
    --secondary-color: #ff4081; /* Розовый */
    --text-color: #e0e0e0;
    --background-dark: #1a1a2e;
    --background-light: #2c2c4d;
    --gradient-bg: linear-gradient(135deg, #1a1a2e, #16213e);
}

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background: var(--gradient-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden; /* Предотвращает горизонтальную прокрутку */
}

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

/* Header */
.header {
    background-color: var(--background-dark);
    padding: 40px 0;
    text-align: center;
    border-bottom: 3px solid var(--primary-color);
}

.header h1 {
    font-size: 3em;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.header .subtitle {
    font-size: 1.2em;
    color: var(--secondary-color);
}

/* Hero Banner */
.hero-banner {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('i.webp') no-repeat center center/cover;
    text-align: center;
    color: white;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
}

.hero-banner .container {
    position: relative;
    z-index: 2;
}

.banner-content h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.banner-content p {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.button-group {
    margin-top: 30px;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    margin: 10px;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: bold;
}

.btn.primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.4);
}

.btn.primary:hover {
    background-color: #00a8be;
    transform: translateY(-3px);
}

.btn.secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 4px 15px rgba(255, 64, 129, 0.2);
}

.btn.secondary:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
}

/* Features Section */
.features {
    padding: 60px 0;
    background-color: var(--background-light);
    text-align: center;
}

.features h2 {
    font-size: 2.2em;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-item {
    background-color: var(--background-dark);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item h3 {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.feature-item p {
    font-size: 1em;
    color: var(--text-color);
}

/* Call to Action */
.call-to-action {
    background-color: var(--primary-color);
    padding: 50px 0;
    text-align: center;
    color: white;
    box-shadow: inset 0 5px 15px rgba(0,0,0,0.2);
}

.call-to-action h3 {
    font-size: 2em;
    margin-bottom: 30px;
}

.call-to-action .btn {
    background-color: var(--background-dark);
    color: white;
}

.call-to-action .btn:hover {
    background-color: #000;
}

/* Footer */
.footer {
    background-color: var(--background-dark);
    padding: 30px 0;
    text-align: center;
    font-size: 0.9em;
    color: #b0b0b0;
    border-top: 1px solid var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2.5em;
    }

    .hero-banner {
        padding: 60px 0;
    }

    .banner-content h2 {
        font-size: 2em;
    }

    .btn {
        padding: 12px 25px;
        font-size: 1em;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 2em;
    }

    .hero-banner {
        padding: 40px 0;
    }

    .banner-content h2 {
        font-size: 1.8em;
    }

    .btn {
        display: block;
        width: calc(100% - 20px);
        margin: 10px auto;
    }
}