/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    /* Фиксируем фон чтобы избежать скачков при анимациях */
    background: linear-gradient(
            135deg,
            #000000 0%,
            #071102 40%,
            #1d3b07 70%,
            #99D236 100%
    ) fixed;
}

/* Контейнер */
.container {
    width: 1200px;
    max-width: 90%;
    margin: 0 auto;
}

/* ========================================
   HEADER
======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.35);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
}

/* LOGO */
.logo img {
    height: 30px;
}

/* NAVIGATION */
.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
}

.nav a:hover {
    color: #99D236;
}

/* CTA BUTTON */
.cta-button {
    display: inline-block;
    background: #99D236;
    color: black;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(153, 210, 54, 0.35);
}

/* ========================================
   MAIN / HERO
======================================== */
.main {
    padding-top: 100px;
    flex: 1;
    /* Минимальная высота для предотвращения скачков футера */
    min-height: calc(100vh - 100px);
}

.hero {
    padding: 120px 0 100px 0;
    text-align: center;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.15;
    max-width: 800px;
    margin: 0 auto 24px;
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.75);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero-cta {
    padding: 16px 32px;
    font-size: 16px;
}

/* ========================================
   SECTIONS
======================================== */
.section {
    padding: 100px 0;
    text-align: center;
}

.section-alt {
    background: rgba(0, 0, 0, 0.2);
}

.section h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 500px;
    margin: 0 auto 60px;
}

/* ========================================
   FEATURES GRID
======================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.2s, background 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.08);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* ========================================
   BENEFITS LIST
======================================== */
.benefits-list {
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.benefit-item:last-child {
    border-bottom: none;
}

.benefit-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.benefit-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.benefit-content p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* ========================================
   PRICING GRID
======================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    position: relative;
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-4px);
}

.pricing-popular {
    background: rgba(153, 210, 54, 0.1);
    border-color: #99D236;
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #99D236;
    color: black;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.price {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 24px;
}

.price span {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
    text-align: left;
    flex: 1;
}

.pricing-features .highlight {
    font-weight: 600;
    background: rgba(153, 210, 54, 0.15);
    margin: 0 -12px;
    padding: 10px 12px;
    border-radius: 6px;
}

.pricing-features li {
    padding: 10px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: "✓";
    color: #99D236;
    font-weight: 600;
    margin-right: 10px;
}

.pricing-cta {
    width: 100%;
    text-align: center;
}

/* ========================================
   CTA SECTION
======================================== */
.cta-section {
    background: rgba(153, 210, 54, 0.1);
    border-top: 1px solid rgba(153, 210, 54, 0.2);
    border-bottom: 1px solid rgba(153, 210, 54, 0.2);
}

.cta-large {
    padding: 18px 40px;
    font-size: 16px;
    margin-top: 20px;
}

/* ========================================
   FOOTER — БЕЗ АНИМАЦИИ, ФИКСИРОВАННАЯ ВЫСОТА
======================================== */
.footer {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    /* Убираем любые трансформации и анимации */
    opacity: 1 !important;
    transform: none !important;
    /* Фиксированная минимальная высота */
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 900px) {
    .features-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

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

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

    .nav {
        display: none;
    }

    .header-inner {
        justify-content: space-between;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 80px 0 60px;
    }

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

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

    .section {
        padding: 60px 0;
    }

    .price {
        font-size: 32px;
    }
}
