/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #0a0a0a;
    --bg-darker: #000000;
    --bg-card: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --accent: #ff6b35;
    --accent-hover: #ff8c5a;
    --border: #2a2a2a;
    --border-light: #3a3a3a;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Верхний баннер */
.top-banner {
    width: 100%;
    height: 670px;
    background-color: var(--bg-darker);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Навигация */
.main-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 15px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.nav-btn {
    padding: 10px 20px;
    background-color: var(--bg-card);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 25px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.nav-btn:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

/* Секции */
.section {
    padding: 80px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    text-align: center;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 50px;
}

.section-text {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Hero секция */
.hero-section {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    text-align: center;
    padding: 20px 0 80px 0;
    min-height: auto;
}

.hero-title {
    font-size: 72px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--text-primary);
    border: 2px solid var(--accent);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-light);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-3px);
}

/* Описание */
.description-section {
    background-color: var(--bg-darker);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.feature-item {
    padding: 30px;
    background-color: var(--bg-card);
    border-radius: 15px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-item:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
}

.feature-item h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--accent);
    text-align: center;
}

.feature-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    text-align: center;
}

/* Тарифы */
.tariffs-section {
    background-color: var(--bg-dark);
}

.tariffs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 50px;
}

@media (min-width: 1400px) {
    .tariffs-grid {
        gap: 25px;
    }
}

.tariff-card {
    background-color: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 20px;
    padding: 40px 25px;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
}

.tariff-card:hover {
    border-color: var(--accent);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.3);
}

.tariff-card.featured {
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.2);
}

.tariff-badge {
    position: absolute;
    top: -15px;
    background-color: var(--accent);
    color: var(--text-primary);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
    z-index: 10;
    line-height: 1.2;
}

.tariff-badge:not(.badge-dev) {
    right: 15px;
}

.tariff-badge.badge-dev {
    background-color: #3b82f6;
    top: -15px;
    right: 15px;
}

.tariff-card:has(.badge-dev) .tariff-badge:not(.badge-dev) {
    right: calc(15px + 110px);
    top: -15px;
}

.tariff-name {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--text-primary);
    text-align: center;
}

.tariff-price {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 30px;
    text-align: center;
}

.tariff-price span {
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: 400;
}

.tariff-features {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.tariff-features li {
    padding: 10px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
    position: relative;
    padding-left: 25px;
}

.tariff-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.btn-buy {
    width: 100%;
    padding: 15px;
    background-color: var(--accent);
    color: var(--text-primary);
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: inline-block;
    margin-top: auto;
}

.btn-buy:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

/* Модули */
.modules-section {
    background-color: var(--bg-darker);
}

.modules-selector {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.module-select {
    padding: 15px 30px;
    background-color: var(--bg-card);
    color: var(--text-primary);
    border: 2px solid var(--border);
    border-radius: 25px;
    font-size: 16px;
    min-width: 400px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.module-select:hover,
.module-select:focus {
    border-color: var(--accent);
    outline: none;
}

.module-content {
    min-height: 400px;
    background-color: var(--bg-card);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--border);
}

.module-placeholder {
    text-align: center;
    color: var(--text-secondary);
    font-size: 18px;
    padding: 100px 20px;
}

.module-info {
    display: none;
}

.module-info.active {
    display: block;
}

.module-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.module-video {
    width: 100%;
    max-width: 800px;
    aspect-ratio: 16/9;
    border-radius: 15px;
    margin: 0 auto;
    display: block;
}

/* FAQ */
.faq-section {
    background-color: var(--bg-dark);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 15px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--accent);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--accent);
}

.faq-icon {
    font-size: 24px;
    font-weight: 300;
    transition: transform 0.3s ease;
    color: var(--accent);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 30px 25px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Контакты */
.contacts-section {
    background-color: var(--bg-darker);
}

.contacts-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.contact-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
}

.contact-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-icon-img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--accent);
}

.contact-info a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--accent);
}

.contact-info p {
    color: var(--text-secondary);
    margin-top: 10px;
}

/* Футер */
.footer {
    background-color: var(--bg-darker);
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
}

/* Адаптивность */
@media (max-width: 768px) {
    .top-banner {
        height: 250px;
    }

    .hero-title {
        font-size: 32px;
        line-height: 1.2;
        padding: 0 10px;
    }

    .container {
        padding: 0 15px;
    }

    .section-title {
        font-size: 36px;
    }

    .nav-container {
        justify-content: center;
    }

    .nav-btn {
        font-size: 12px;
        padding: 8px 15px;
    }

    .module-select {
        min-width: 100%;
    }

    .module-content {
        padding: 20px;
        max-width: 100%;
        box-sizing: border-box;
    }

    .module-video {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .module-description {
        font-size: 16px;
    }

    .tariffs-grid {
        grid-template-columns: 1fr;
    }

    .contacts-list {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Плавная прокрутка */
html {
    scroll-behavior: smooth;
}

