/* ========== CSS ПЕРЕМЕННЫЕ ========== */
:root {
    --ivvpn-primary: #22442B;        /* Тёмно-зелёный */
    --ivvpn-primary-dark: #1a3521;   /* Темнее для hover */
    --ivvpn-primary-light: #2d5a34;  /* Светлее для фонов */

    --ivvpn-accent: #B89440;         /* Золотистый */
    --ivvpn-accent-dark: #a37f37;    /* Золотой темнее */
    --ivvpn-accent-light: #d4b56a;   /* Золотой светлее */

    --ivvpn-dark: #000000;
    --ivvpn-light: #f8f9fa;
    --ivvpn-text: #ffffff;
    --ivvpn-text-light: #cccccc;
    --ivvpn-text-body: #333333;
    --ivvpn-border: #dee2e6;
}

/* ========== ОБЩИЕ СТИЛИ ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Roboto', 'Arial', sans-serif;
    color: var(--ivvpn-text-body);
    background-color: var(--ivvpn-light);
    line-height: 1.6;
}

/* ========== ШАПКА ========== */
.header {
    background-color: var(--ivvpn-dark);
    border-bottom: 4px solid var(--ivvpn-accent);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.logo-img {
    height: 44px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-weight: 800;
    letter-spacing: 1px;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
    padding: 60px 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--ivvpn-primary) 0%, var(--ivvpn-primary-dark) 100%);
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(184, 148, 64, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 10px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--ivvpn-accent-light);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--ivvpn-text-light);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.hero-buttons .btn {
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, var(--ivvpn-accent), var(--ivvpn-accent-dark));
    color: white;
    border: none;
    box-shadow: 0 6px 20px rgba(184, 148, 64, 0.3);
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(184, 148, 64, 0.4);
    color: white;
}

.hero-buttons .btn-outline-light {
    color: white;
    border: 2px solid white;
}

.hero-buttons .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.hero-graphic {
    text-align: center;
}

.hero-icon {
    font-size: 150px;
    color: var(--ivvpn-accent);
    opacity: 0.8;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* ========== SECTION STYLES ========== */
section {
    position: relative;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--ivvpn-primary);
    position: relative;
    margin-bottom: 1rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--ivvpn-accent);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* ========== PRODUCTS SECTION ========== */
.products {
    background: white;
}

.product-card {
    background: white;
    border: 2px solid var(--ivvpn-border);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.product-card:hover {
    border-color: var(--ivvpn-accent);
    box-shadow: 0 8px 30px rgba(184, 148, 64, 0.15);
    transform: translateY(-5px);
}

.product-icon {
    font-size: 60px;
    margin-bottom: 20px;
    display: inline-block;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.product-icon.vpn-icon {
    background: rgba(34, 68, 43, 0.1);
    color: var(--ivvpn-primary);
}

.product-icon.proxy-icon {
    background: rgba(184, 148, 64, 0.1);
    color: var(--ivvpn-accent);
}

.product-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--ivvpn-dark);
}

.product-tagline {
    color: var(--ivvpn-text-light);
    font-size: 1rem;
    margin-bottom: 25px;
}

.features-list {
    list-style: none;
    margin: 30px 0;
    text-align: left;
}

.features-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--ivvpn-border);
    display: flex;
    align-items: center;
    color: var(--ivvpn-text-body);
}

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

.features-list i {
    color: var(--ivvpn-accent);
    margin-right: 12px;
    font-size: 1.1rem;
}

.pricing-highlight {
    background: var(--ivvpn-light);
    border-radius: 12px;
    padding: 20px;
    margin: 30px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 15px;
}

.price-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.price-item.full-width {
    grid-column: 1 / -1;
}

.price-label {
    font-size: 0.8rem;
    color: var(--ivvpn-text-light);
    font-weight: 600;
    text-transform: uppercase;
}

.price-value {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--ivvpn-primary);
}

.price-desc {
    font-size: 0.7rem;
    color: var(--ivvpn-text-light);
}

/* ========== TESTIMONIALS ========== */
.testimonials {
    background: var(--ivvpn-light);
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid var(--ivvpn-accent);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.stars {
    color: var(--ivvpn-accent);
    margin-bottom: 15px;
    font-size: 1rem;
}

.testimonial-text {
    color: var(--ivvpn-text-body);
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.testimonial-author {
    color: var(--ivvpn-primary);
    font-weight: 700;
    font-size: 0.95rem;
}

/* ========== COMPARISON ========== */
.comparison {
    background: white;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.comparison-table thead {
    background: linear-gradient(135deg, var(--ivvpn-primary), var(--ivvpn-primary-dark));
    color: white;
}

.comparison-table th {
    padding: 20px;
    font-weight: 700;
    text-align: left;
    border: none;
}

.comparison-table td {
    padding: 18px 20px;
    border-bottom: 1px solid var(--ivvpn-border);
    color: var(--ivvpn-text-body);
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody tr:hover {
    background: rgba(184, 148, 64, 0.05);
}

.comparison-table .highlight {
    color: var(--ivvpn-accent);
    font-weight: 700;
}

/* ========== NEWS/ARTICLES ========== */
.news {
    background: var(--ivvpn-light);
}

.news-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--ivvpn-border);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card:hover {
    border-color: var(--ivvpn-accent);
    box-shadow: 0 8px 25px rgba(184, 148, 64, 0.15);
    transform: translateY(-5px);
}

.news-date {
    font-size: 0.8rem;
    color: var(--ivvpn-accent);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.news-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--ivvpn-primary);
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-excerpt {
    color: var(--ivvpn-text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.news-card .btn {
    margin-top: auto;
}

/* ========== PRICING SECTION ========== */
.pricing-section {
    background: white;
}

.pricing-table {
    background: white;
    border: 2px solid var(--ivvpn-border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.pricing-table:hover {
    border-color: var(--ivvpn-accent);
    box-shadow: 0 8px 25px rgba(184, 148, 64, 0.15);
}

.pricing-header {
    background: linear-gradient(135deg, var(--ivvpn-primary), var(--ivvpn-primary-dark));
    color: white;
    padding: 20px;
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.pricing-body {
    padding: 30px 20px;
}

.pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--ivvpn-border);
}

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

.pricing-row.highlight {
    background: rgba(184, 148, 64, 0.05);
    border-radius: 8px;
    padding: 15px;
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
    border: none;
}

.pricing-label {
    font-weight: 600;
    color: var(--ivvpn-primary);
}

.pricing-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--ivvpn-accent);
}

.pricing-period {
    font-size: 0.8rem;
    color: var(--ivvpn-text-light);
    display: block;
    text-align: right;
}

.pricing-table .btn {
    margin-top: 20px;
}

/* ========== PAYMENT MODAL ========== */
.modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.modal-header {
    background: linear-gradient(135deg, var(--ivvpn-primary), var(--ivvpn-primary-dark));
    color: white;
    border-bottom: 3px solid var(--ivvpn-accent);
    border-radius: 15px 15px 0 0;
}

.modal-title {
    font-weight: 700;
}

.modal-title i {
    color: var(--ivvpn-accent);
}

.btn-close {
    filter: invert(1);
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.payment-option {
    background: white;
    border: 2px solid var(--ivvpn-border);
    border-radius: 10px;
    padding: 20px;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 1rem;
    color: var(--ivvpn-text-body);
}

.payment-option:hover {
    border-color: var(--ivvpn-primary);
    background: rgba(34, 68, 43, 0.05);
    transform: translateX(5px);
}

.payment-option.active {
    border-color: var(--ivvpn-accent);
    background: rgba(184, 148, 64, 0.1);
}

.payment-option i {
    font-size: 1.5rem;
    color: var(--ivvpn-accent);
    flex-shrink: 0;
}

.payment-option > span:first-of-type {
    font-weight: 700;
    display: block;
}

.payment-option small {
    color: var(--ivvpn-text-light);
    display: block;
    font-size: 0.85rem;
    margin-top: 5px;
}

.payment-content {
    padding: 20px 0;
}

.payment-content.d-none {
    display: none !important;
}

/* ========== FAQ ========== */
.accordion-button {
    background: white;
    color: var(--ivvpn-text-body);
    font-weight: 600;
    border: 1px solid var(--ivvpn-border);
    border-radius: 10px;
    margin-bottom: 10px;
}

.accordion-button:not(.collapsed) {
    background: rgba(34, 68, 43, 0.05);
    color: var(--ivvpn-primary);
    border-color: var(--ivvpn-primary);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(34, 68, 43, 0.25);
}

.accordion-body {
    color: var(--ivvpn-text-body);
    line-height: 1.8;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--ivvpn-dark) !important;
    border-top: 4px solid var(--ivvpn-accent);
}

.footer h5 {
    color: white;
    font-weight: 700;
}

.footer a {
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--ivvpn-accent) !important;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--ivvpn-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    border-color: var(--ivvpn-accent);
    color: var(--ivvpn-accent) !important;
    transform: translateY(-3px);
}

.text-accent {
    color: var(--ivvpn-accent) !important;
}

/* ========== BUTTONS ========== */
.btn-primary {
    background: linear-gradient(135deg, var(--ivvpn-primary), var(--ivvpn-primary-dark));
    border: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(34, 68, 43, 0.3);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--ivvpn-primary-dark), var(--ivvpn-primary));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 68, 43, 0.4);
    color: white;
}

.btn-outline-primary {
    color: var(--ivvpn-primary);
    border: 2px solid var(--ivvpn-primary);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--ivvpn-primary);
    color: white;
    border-color: var(--ivvpn-primary);
}

.btn-sm {
    border-radius: 8px;
    font-weight: 600;
    padding: 8px 16px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .pricing-highlight {
        grid-template-columns: 1fr 1fr;
    }

    .pricing-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .pricing-period {
        text-align: left !important;
    }

    .product-card {
        padding: 25px 15px;
    }

    .hero-buttons .btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .hero {
        min-height: 400px;
        padding: 40px 0;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-title::after {
        width: 60px;
    }

    .product-name {
        font-size: 1.4rem;
    }

    .pricing-highlight {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* ========== MODAL STEPS ========== */
.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--ivvpn-primary);
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.vpn-plan-btn.active {
    border-color: var(--ivvpn-primary) !important;
    background: rgba(34, 68, 43, 0.05);
    box-shadow: 0 0 0 2px var(--ivvpn-primary);
}
