/* Фоновое изображение и затемнение */
body {
    background: var(--bg-deep) url('../img/bg.jpeg') no-repeat center center fixed;
    background-size: cover;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65); /* затемнение — можно менять прозрачность */
    z-index: -1;
    pointer-events: none;
}
.hero {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    position: relative;
    min-height: calc(100vh - 64px);
}
.hero-content {
    max-width: 700px;
    text-align: center;
    z-index: 2;
}
.hero-badge {
    display: inline-block;
    background: rgba(180, 20, 20, 0.15);
    border: 1px solid rgba(200, 40, 40, 0.4);
    color: var(--red-neon);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    animation: pulseBadge 2.5s ease-in-out infinite;
}
@keyframes pulseBadge {
    0%, 100% { box-shadow: 0 0 8px rgba(200,30,30,0.3); }
    50% { box-shadow: 0 0 25px rgba(240,40,40,0.7); }
}
.hero-title {
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-bright);
    font-family: 'Georgia', serif;
    margin-bottom: 1rem;
    text-shadow: 0 0 60px rgba(180,20,20,0.5);
}
.hero-title .highlight {
    color: var(--red-neon);
    text-shadow: 0 0 40px rgba(255,50,50,0.8);
}
.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-dim);
    max-width: 500px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.plague-doctor-silhouette {
    position: absolute;
    right: -40px;
    bottom: -20px;
    opacity: 0.07;
    pointer-events: none;
    z-index: 0;
    width: 380px;
    height: 500px;
}
.plague-doctor-silhouette svg { width:100%; height:100%; }
@media (max-width: 768px) {
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 0.9rem; }
}
/* ----- СБРОС КОНТЕЙНЕРА ----- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}
.text-center { text-align: center; }

/* ----- СЕКЦИИ ----- */
.features-section, .pricing-section, .reviews-section, .faq-section, .cta-section {
    padding: 5rem 0;
}
.features-section { background: rgba(20,10,10,0.3); }
.pricing-section { background: transparent; }
.reviews-section { background: rgba(20,10,10,0.2); }
.faq-section { background: transparent; }
.cta-section { background: rgba(20,10,10,0.5); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-title {
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Georgia', serif;
    color: var(--text-bright);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}
.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--red-bright);
    margin: 1rem auto 0;
    box-shadow: 0 0 15px var(--red-glow);
}

/* ПРЕИМУЩЕСТВА */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
}
.feature-card:hover {
    border-color: var(--border-active);
    box-shadow: var(--shadow-red);
    transform: translateY(-5px);
}
.feature-icon { font-size: 2.8rem; margin-bottom: 1rem; }
.feature-card h3 { color: var(--text-bright); font-size: 1.2rem; margin-bottom: 0.8rem; }
.feature-card p { color: var(--text-dim); font-size: 0.9rem; }

/* ТАРИФЫ */
.pricing-grid {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}
.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    flex: 1 1 280px;
    max-width: 350px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}
.pricing-card.popular {
    border-color: var(--red-bright);
    box-shadow: var(--shadow-red);
    transform: scale(1.03);
}
.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--red-bright);
    color: #fff;
    padding: 0.3rem 1.5rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(220,30,30,0.6);
}
.pricing-card h3 { color: var(--text-bright); font-size: 1.3rem; margin-bottom: 1rem; }
.price {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--red-neon);
    margin-bottom: 1.5rem;
}
.price span { font-size: 1rem; color: var(--text-dim); }
.pricing-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
    color: var(--text-dim);
    line-height: 2;
}
.pricing-card ul li::before { content: '✓ '; color: var(--red-bright); }
.pricing-card .btn { width: 100%; justify-content: center; }

/* ОТЗЫВЫ */
.reviews-grid {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}
.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    flex: 1 1 350px;
    max-width: 500px;
}
.review-card p { font-style: italic; color: var(--text); margin-bottom: 1rem; }
.review-author { color: var(--text-dim); font-size: 0.85rem; }

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.2rem 1.8rem;
    background: transparent;
    border: none;
    color: var(--text-bright);
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    font-family: inherit;
    transition: var(--transition);
}
.faq-question::after {
    content: '▼';
    position: absolute;
    right: 1.8rem;
    font-size: 0.7rem;
    color: var(--text-dim);
}
.faq-item.open .faq-question::after { transform: rotate(180deg); color: var(--red-neon); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 1.8rem;
    color: var(--text-dim);
}
.faq-item.open .faq-answer {
    max-height: 200px;
    padding-bottom: 1.2rem;
}
.faq-answer p { margin: 0; }

/* CTA */
.cta-title { font-size: 2.2rem; color: var(--text-bright); margin-bottom: 1rem; }
.cta-text { color: var(--text-dim); margin-bottom: 2rem; font-size: 1.1rem; }

@media (max-width: 768px) {
    .section-title { font-size: 1.5rem; }
    .pricing-card.popular { transform: none; }
}


.feature-icon i {
    font-size: 2.5rem;
    color: var(--red-bright);
    transition: var(--transition);
    filter: drop-shadow(0 0 6px rgba(200, 20, 20, 0.5));
}
.feature-card:hover .feature-icon i {
    color: var(--red-neon);
    filter: drop-shadow(0 0 12px rgba(255, 50, 50, 0.8));
    transform: scale(1.1);
}

.feature-icon i {
    font-size: 2.5rem;
    color: var(--red-bright);
    transition: var(--transition);
    filter: drop-shadow(0 0 6px rgba(200, 20, 20, 0.5));
}
.feature-card:hover .feature-icon i {
    color: var(--red-neon);
    filter: drop-shadow(0 0 12px rgba(255, 50, 50, 0.8));
    transform: scale(1.1);
}