/* main/static/main/landing.css */

/* Общие стили для лендинга */
.landing-hero {
    padding-top: 60px; /* для мобильных */
    padding-bottom: 5rem;
    background: linear-gradient(135deg, #1a2e1a 0%, #2b4a2b 100%);
    border-radius: 0 0 4rem 4rem;
    margin-bottom: 3rem;
    color: white;
}

.landing-hero h1,
.landing-hero .lead,
.landing-hero .stat-number,
.landing-hero .stat-label {
    color: white;
}

.landing-hero .btn-outline-secondary {
    border-color: white;
    color: white;
}

.landing-hero .btn-outline-secondary:hover {
    background: white;
    color: #1a2e1a;
    border-color: white;
}

@media (min-width: 768px) {
    .landing-hero {
        padding-top: 70px; /* для десктопов */
    }
}

.landing-section {
    padding: 5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.landing-section:last-of-type {
    border-bottom: none;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--menu-bg-start, #1a2e1a);
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: #6c757d;
    margin-bottom: 3rem;
    font-size: 1.2rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--menu-bg-start, #1a2e1a);
    line-height: 1.2;
}
.stat-label {
    color: #6c757d;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 1.5rem;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.feature-icon {
    font-size: 2.5rem;
    color: var(--active-light, #acb78e);
    margin-bottom: 1rem;
}
.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--menu-bg-start, #1a2e1a);
}
.feature-card p {
    color: #6c757d;
    font-size: 0.95rem;
}

.btn-cta {
    background: linear-gradient(135deg, var(--menu-bg-start, #1a2e1a) 0%, #2b4a2b 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}
.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    color: white;
}

.btn-outline-secondary {
    border: 2px solid var(--menu-bg-start, #1a2e1a);
    color: var(--menu-bg-start, #1a2e1a);
    background: transparent;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}
.btn-outline-secondary:hover {
    background: var(--menu-bg-start, #1a2e1a);
    color: white;
}

.testimonial-card {
    background: white;
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    height: 100%;
}
.testimonial-rating {
    color: #ffc107;
    margin-bottom: 0.75rem;
}
.testimonial-text {
    font-size: 0.95rem;
    color: #495057;
    margin-bottom: 1rem;
}
.testimonial-author {
    font-weight: 600;
    color: var(--menu-bg-start, #1a2e1a);
}

.faq-item {
    margin-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 1rem;
}
.faq-question {
    font-weight: 600;
    color: var(--menu-bg-start, #1a2e1a);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-answer {
    color: #6c757d;
    padding-top: 0.75rem;
}

.footer {
    background: #212529;
    color: #e0e0e0;
    padding: 4rem 0 0;
}
.footer h5 {
    color: white;
    margin-bottom: 1.5rem;
}
.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links li {
    margin-bottom: 0.75rem;
}
.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: var(--active-light, #acb78e);
}
.social-links a {
    color: #adb5bd;
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: color 0.2s;
}
.social-links a:hover {
    color: var(--active-light, #acb78e);
}
.footer-bottom {
    background: #1a1e21;
    padding: 2rem 0;
    margin-top: 3rem;
    text-align: center;
    color: #6c757d;
}
.footer-bottom a {
    color: #adb5bd;
    text-decoration: none;
}
.footer-bottom a:hover {
    color: var(--active-light, #acb78e);
}

/* Навигация и якоря */
html {
    scroll-behavior: smooth;
}
section[id] {
    scroll-margin-top: 70px;
}

/* Десктопная навигация */
.navbar .navbar-brand {
    color: var(--menu-bg-start, #1a2e1a) !important;
    font-weight: 700;
}
.navbar-nav .nav-link {
    color: var(--menu-bg-start, #1a2e1a) !important;
    font-weight: 500;
    transition: color 0.2s;
}
.navbar-nav .nav-link:hover {
    color: var(--active-light, #acb78e) !important;
}

/* Мобильное меню (белый фон) */
#mobileMenu {
    background-color: white !important;
    z-index: 1060;
    width: 100%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
#mobileMenu a {
    color: var(--menu-bg-start, #1a2e1a) !important;
    font-size: 1.1rem;
    padding: 0.75rem 0;
    text-align: center;
    width: 100%;
    display: block;
    transition: background-color 0.2s, color 0.2s;
}
#mobileMenu a:hover {
    background-color: var(--active-light, #acb78e) !important;
    color: var(--menu-bg-start, #1a2e1a) !important;
    text-decoration: none;
}

/* Стили для карточек тарифов */
.tariff-card {
    aspect-ratio: 1 / 1;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
}
.tariff-card.popular {
    border: 2px solid var(--active-light, #acb78e);
    background: linear-gradient(145deg, #ffffff, #f1f3e9);
    transform: scale(1.02);
    box-shadow: 0 12px 25px rgba(172, 183, 142, 0.2);
}
.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--active-light, #acb78e);
    color: var(--menu-bg-start, #1a2e1a);
    padding: 0.25rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}
.btn-tariff {
    width: 100%;
    border-radius: 50px;
    padding: 0.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    background: linear-gradient(135deg, var(--menu-bg, #262a2b) 0%, #3a4230 100%);
    color: white !important;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}
.btn-tariff:hover {
    background: linear-gradient(135deg, #3a4230 0%, var(--menu-bg, #262a2b) 100%);
    transform: scale(1.02);
    color: white !important;
}
.cta-section {
    background: linear-gradient(135deg, var(--menu-bg-start, #1a2e1a) 0%, #2b4a2b 100%);
    color: white;
    padding: 5rem 0;
    border-radius: 4rem 4rem 0 0;
    margin-top: 3rem;
}

html, body {
    height: 100%;
}
body {
    display: flex;
    flex-direction: column;
}
.wrapper {
    flex: 1 0 auto; /* основное содержимое занимает всё доступное место */
}
footer {
    flex-shrink: 0;
}