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

a {
    text-decoration: none !important;  
    color: white;
}


:root {
    --primary-color: #ff6b35;
    --secondary-color: #8b5cf6;
    --bg-dark: #1D0F56;
    --bg-card: #16213e;
    --text-light: #e0e0e0;
    --text-muted: #a0a0a0;
    --border-color: #2d3748;
    --bs-font-sans-serif: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif;
    --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --glass-border: rgba(255, 255, 255, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-lg {
    max-width: 1387px;
    padding: 15px 20px;
    border-radius: 45px;
    background-image: url('../images/Glass\ Effect.svg');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid white;
}

/* Кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 20px;
    letter-spacing: 2px;
    line-height: 1.2;
    text-align: center;
}

.log{
    padding: 5px 10px 10px 5px;
    border-radius: 65px;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8555 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background: rgba(139, 92, 246, 0.1);
    transform: translateY(-2px);
}

.btn-small {
    padding: 8px 16px;
    font-size: 12px;
}

/* Glassmorphism эффект */
.glass {
    background: rgba(22, 33, 62, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

/* Шапка */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

@media (max-width:425px) {
    .header-content{
        justify-content: center;
    }
    
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--secondary-color);
    white-space: nowrap;
}

.nav {
    display: flex;
    gap: 30px;
    flex: 1;
}

.header-nav {
    margin-left: 60px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 20px;
}

.nav-link:hover {
    color: white;
}

/* «Личный кабинет» — только в мобильном бургере */
.nav-link-mobile-only {
    display: none;
}

/* Старый медиа-запрос удален, так как логика перенесена в общий блок адаптивности */

/* Герой секция */
.hero {
    padding-top: 120px;
    padding-bottom: 80px;
    text-align: center;
    background: #0B0524;
    background-image: 
        conic-gradient(from 270deg at 30% 100%, #1D0F56 0%, #979797 30%, #1C0B56 99%, transparent 100%),
        conic-gradient(from 90deg at 70% 100%, #1C0B56 0%, #979797 49%, #1D0F56 71%, #D9D9D9 100%);
    background-size: 100% 100%, 100% 100%;
    background-position: 0% 0%, 0% 0%;
    background-repeat: no-repeat;
    background-blend-mode: color-dodge;
}

.hero-badge-container {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
    margin-top: 50px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 20px;
    font-weight: 500;
    color: white;
    transition: all 0.3s ease;
}

.hero-badge:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.hero-badge-logo {
    width: 24px;
    height: auto;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 20px;
    margin-top: 100px;
    flex-wrap: wrap;
}

.hero-note {
    font-size: 20px;
    color: var(--text-muted);
}

/* Преимущества */
.features {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 357px);
    gap: 45px;
    justify-content: center;
    margin: 0 auto;
}

.feature-card {
    background: linear-gradient(135deg, rgba(100, 50, 200, 0.3) 0%, rgba(150, 100, 255, 0.2) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(200, 150, 255, 0.3);
    padding: 40px;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px 0 rgba(139, 92, 246, 0.25);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(200, 150, 255, 0.5);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.35);
}

.feature-card-small {
    grid-column: 1;
    grid-row: 1;
    max-height: 287px;
    grid-area: 1 / 1 / 2 / 2; 
}

.feature-title-small {
    font-size: 25.6px;
    margin-bottom: 8px;
    font-weight: 700;
    line-height: 1.3;
}

.feature-text-small {
    color: var(--text-muted);
    font-size: 20px;
}

.feature-card-large {
    grid-column: 2;
    grid-row: 1;
    min-height: 250px;
    position: relative;
    grid-area: 1 / 2 / 2 / 4;
}

.feature-card-large .feature-content {
    position: relative;
    z-index: 2;
}

.feature-title-large {
    font-size: 40px;
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.3;
}

.feature-text-large {
    color: var(--text-muted);
    font-size: 24px;
}

.feature-decoration {
    position: absolute;
    right: -4px;
    top: -3px;
}

.feature-img-bottom-right {
    position: absolute;
    bottom: 0px;
    right: 0px;
}

.feature-card-medium {
    grid-column: 1;
    grid-row: 2;
    min-height: 250px;
    display: flex;
    align-items: center;
    gap: 30px;
    grid-area: 2 / 1 / 3 / 3;
}

.feature-decoration-left {
    flex-shrink: 0;
    opacity: 0.7;
}

.feature-img-top-right {
    position: absolute;
    top: 0px;
    right: 5px;
}

.feature-card-medium .feature-content {
    flex: 1;
}

.feature-title-medium {
    font-size: 40px;
    position: absolute;
    left: 40px;
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.3;
}

.feature-text-medium {
    position: absolute;
    left: 40px;
    top: 70%;
    font-size: 24px;
    color: var(--text-muted);
}

.feature-card-small-right {
    grid-column: 2;
    grid-row: 2;
    min-height: 250px;
    grid-area: 2 / 3 / 3 / 4;
}

.feature-title-no-logs {
    font-size: 25.6px;
    margin-bottom: 8px;
    font-weight: 700;
    line-height: 1.3;
}

.feature-text-reliable {
    color: var(--text-muted);
    font-size: 20px;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    width: 60px;
    height: 60px;
    border-radius: 15px;
}

.feature-icon-margin {
    margin-top: 60px;
}

.installation-v2{
	background: #1d0f57;
}

@media (max-width: 768px) {
    .features-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: auto auto auto !important;
        gap: 20px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
    
    .feature-card {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        padding: 25px !important;
    }

    .feature-card-large {
        grid-column: 1 / span 2 !important;
        grid-row: 1 !important;
        order: 1 !important;
    }
    
    .feature-card-small {
        grid-column: 1 / span 1 !important;
        grid-row: 2 !important;
        order: 2 !important;
        max-height: none !important;
    }
    
    .feature-card-small-right {
        grid-column: 2 / span 1 !important;
        grid-row: 2 !important;
        order: 3 !important;
    }
    
    .feature-card-medium {
        grid-column: 1 / span 2 !important;
        grid-row: 3 !important;
        order: 4 !important;
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .feature-title-large {
        font-size: 28px !important;
    }

    .feature-title-medium {
        font-size: 28px !important;
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        margin-bottom: 15px !important;
    }

    .feature-text-medium {
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        font-size: 18px !important;
    }

    .feature-img-top-right {
        width: 320px !important;
        height: auto !important;
        opacity: 0.5 !important;
    }

    .feature-img-bottom-right {
        width: 250px !important;
        height: auto !important;
    }
}

/* Тарифы */
.pricing {
    padding: 80px 0;
    
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 100px;
}

.section-sup_title{
    text-align: center;
    margin-bottom: 100px;
    font-size: 20px;
    color: var(--text-muted);
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.pricing-grid-5 {
    grid-template-columns: repeat(5, 1fr);
}

.pricing-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.pricing-card {
    width: 100%;
    background: rgba(22, 33, 62, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 40px 20px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 520px;
    /* Badge sits at top: -18px outside the card box.
       Keep overflow visible so it isn't clipped by the card frame. */
    overflow: visible;
}

.pricing-card-title {
    font-size: clamp(16px, 1.6vw, 22px);
    margin-bottom: 12px;
    font-weight: 700;
    hyphens: manual;
    -webkit-hyphens: manual;
    word-break: keep-all;
    overflow-wrap: normal;
    line-height: 1.2;
    min-height: 2.4em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-btn {
    display: block;
    width: 100%;
    max-width: 200px;
    margin: auto auto 0;
    text-align: center;
    position: static;
    transform: none;
}

.pricing-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 25px 0 20px;
}



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



.pricing-badge {
    display: inline-block;
    color: var(--secondary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.pricing-badge-auto {
    font-size: 16px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -18px;
    z-index: 2;
    white-space: nowrap;
    background: #1D0F56;
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    border-radius: 60px;
    padding: 6px 20px;
}

.pricing-badge-featured {
    font-size: 16px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -18px;
    white-space: nowrap;
    background: #1D0F56;
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    border-radius: 60px;
    padding: 6px 20px;
}

.pricing-badge-popular {
    font-size: 16px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -18px;
    white-space: nowrap;
    background: #1D0F56;
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    border-radius: 60px;
    padding: 6px 20px;
}

/* Pricing features list */
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 10px;
    text-align: left;
    width: 100%;
}

.pricing-features li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #8b5cf6;
    font-weight: 700;
    font-size: 14px;
}



.price {
    font-size: clamp(24px, 2.4vw, 32px);
    font-weight: 700;
    margin-bottom: 5px;
    white-space: nowrap;
    line-height: 1.1;
}

.price span {
    font-size: clamp(14px, 1.3vw, 18px);
    color: var(--text-muted);
    white-space: nowrap;
}

.price-note {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

/* Инфраструктура */
.infrastructure {
    padding: 80px 0;
    background: transparent;
}

.servers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    gap: 20px;
}

.server-item {
    font-size: 20px;
    color: var(--text-light);
    border: 1px solid white;
    text-align: center;
    line-height: 1.2;
    border-radius: 60px;
    width: 270.93px;
    height: 77.93px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.div1 { grid-area: 1 / 1 / 2 / 2; }
.div2 { grid-area: 2 / 1 / 3 / 2; }
.div3 { grid-area: 1 / 2 / 2 / 3; }
.div4 { grid-area: 2 / 2 / 3 / 3; }
.div5 { grid-area: 3 / 2 / 4 / 3; }
.div6 { grid-area: 1 / 3 / 2 / 4; }
.div7 { grid-area: 2 / 3 / 3 / 4; }
.div8 { grid-area: 3 / 3 / 4 / 4; }
.div9 { grid-area: 1 / 4 / 2 / 5; }
.div10 { grid-area: 2 / 4 / 3 / 5; }

/* Установка */
.installation {
    padding: 80px 0;
    color: white;
}

.platforms-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}

.platforms {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    padding: 5px;
    gap: 5px;
}

.platform-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    padding: 12px 30px;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
    font-weight: 500;
}

.platform-btn.active {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.platform-btn:hover:not(.active) {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

.installation-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding-left: 80px;
}

.steps-timeline {
    position: absolute;
    left: 39px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 1;
}

.instruction-pane {
    display: none;
}

.instruction-pane.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.step {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.step-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.step:last-child .step-icon {
    background: transparent;
    border: 2px solid white;
}

.step-content {
    padding-top: 10px;
}

.step-content h3 {
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 600;
    color: white;
}

.step-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 25px;
    max-width: 700px;
}

.btn-gradient-orange {
    background: linear-gradient(90deg, #E65C5C 0%, #F9963F 100%);
    color: white;
    border: none;
    padding: 14px 30px;
    font-size: 18px;
    border-radius: 15px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    letter-spacing: 0;
}

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

/* FAQ */
.faq {
    padding: 80px 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
}

.faq-icon {
    font-size: 24px;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 600px;
}

.faq-answer-content {
    padding: 8px 30px 25px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 16px;
    line-height: 1.65;
}

.faq-answer-content p {
    margin: 0 0 12px;
}

.faq-answer-content p:last-child {
    margin-bottom: 0;
}

/* details/summary variant (used on country VPN-server pages) */
details.faq-item summary.faq-question {
    list-style: none;
    cursor: pointer;
}
details.faq-item summary.faq-question::-webkit-details-marker {
    display: none;
}
details.faq-item summary.faq-question::after {
    content: '+';
    font-size: 24px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    transition: transform 0.3s ease;
    margin-left: 16px;
}
details.faq-item[open] summary.faq-question::after {
    transform: rotate(45deg);
}
details.faq-item > .faq-answer {
    /* override the collapsed-by-JS variant — let details handle it */
    max-height: none;
    overflow: visible;
    padding: 8px 30px 25px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 16px;
    line-height: 1.65;
}
details.faq-item > .faq-answer p {
    margin: 0 0 12px;
}
details.faq-item > .faq-answer p:last-child {
    margin-bottom: 0;
}

/* Подвал */
.footer {
    padding: 60px 0 40px;
    background: transparent;
}
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 600;
    color: white;
}

.footer-logo img {
    width: 40px;
    height: auto;
}

.footer-nav {
    display: flex;
    gap: 40px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: white;
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 60px;
}

.footer-info {
    flex: 1;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
}

.description {
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
    line-height: 1.6;
}

.footer-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 220px;
}

.btn-footer-action {
    display: block;
    width: 100%;
    padding: 12px 25px;
    background: linear-gradient(90deg, #E65C5C 0%, #F9963F 100%);
    color: white;
    text-decoration: none;
    text-align: center;
    border-radius: 45px;
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.3s;
}

.btn-footer-action:hover {
    opacity: 0.9;
    color: white;
}

/* Footer: документы */
.footer-docs {
    min-width: 180px;
}

.footer-heading {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.footer-doc-link {
    display: block;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 6px;
    transition: color 0.3s;
}
.footer-doc-link:last-child { margin-bottom: 0; }

.footer-doc-link:hover {
    color: white;
}

/* Footer: статус серверов */
.footer-server-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #4ade80;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { box-shadow: 0 0 4px rgba(74, 222, 128, 0.4); }
    50% { box-shadow: 0 0 12px rgba(74, 222, 128, 0.8); }
}

/* Footer: способы оплаты */
.footer-payment {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.payment-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 6px 14px;
    height: 36px;
    min-width: 64px;
}

.payment-badge svg {
    width: auto;
    height: 20px;
}

.payment-badge-crypto {
    padding: 6px 12px;
}

.payment-badge-crypto svg {
    width: 16px;
    height: 16px;
}

.payment-badge-crypto span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* --- МЕДИА ЗАПРОСЫ --- */

/* Плавный адаптив для десктопов и планшетов */
@media (max-width: 1400px) {
    .container-lg {
        width: 95%;
    }
}

@media (max-width: 1200px) {
    .nav {
        gap: 15px;
    }
    .nav-link {
        font-size: 16px;
    }
    .hero-title {
        font-size: 48px;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .feature-card-large, .feature-card-medium {
        grid-column: span 2;
    }
    /* On 13-inch Safari (~1280px viewport): the legacy 5-card layout was too
       narrow and needed to drop to 3 columns. The current 4-card layout
       (pricing-grid-4) still fits 4 across at this width, so it is left alone
       here and only reflows at the 992px breakpoint below. */
    .pricing-grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    
    .mobile-menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 40px;
    }
    
    .pricing-card.featured {
        transform: none;
    }
}

/* Мобильная версия (согласно скриншоту) */
@media (max-width: 768px) {
    .header {
        padding: 10px 0;
    }

    .container-lg {
        border-radius: 20px;
        padding: 10px 15px;
    }

    .logo img {
        width: 40px;
        height: auto;
    }

    .buttons_right_logo .btn {
        padding: 8px 15px;
        font-size: 14px;
        letter-spacing: 0;
    }

    .hero {
        padding-top: 120px;
        padding-bottom: 40px;
    }

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

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


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

    .features-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: repeat(3, 1fr);
        grid-column-gap: 0px;
        grid-row-gap: 0px;
    }

    .feature-card {
        min-height: auto;
        padding: 25px;
    }

    .feature-card-small{
        grid-area: 2 / 1 / 3 / 2;
    }

    .feature-card-large{
        grid-area: 1 / 1 / 2 / 3;
    }

    .feature-card-medium{
        grid-area: 2 / 2 / 3 / 3;
    }

    .feature-card-small-right{
        grid-area: 3 / 1 / 4 / 3;
    }

    .feature-title-large, .feature-title-medium {
        font-size: 24px;
    }

    .feature-img-bottom-right, .feature-img-top-right {
        position: absolute;
        max-width: 100%;
        margin-top: 0px;
        align-self: center;
    }

    .section-title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .pricing-card {
        width: 100%;
        max-width: 100%;
    }

    .pricing-grid-5,
    .pricing-grid-4 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px;
    }

    .server-item {
        width: calc(50% - 10px);
        font-size: 12px;
        height: 45px;
        padding: 0 8px;
    }

    .installation-content {
        padding-left: 0;
    }

    .steps-timeline {
        display: none;
    }

    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }

    .footer-top {
        flex-direction: column;
        gap: 20px;
    }

    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .footer-main {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 30px;
    }

    .footer-docs {
        order: 1;
        min-width: auto;
    }

    .footer-actions {
        order: 2;
        width: 100%;
    }

    .footer-info {
        order: 3;
        align-items: center;
    }
    
    .description {
        margin: 0 auto;
    }

    .footer-server-status {
        justify-content: center;
    }

    .footer-payment {
        justify-content: center;
    }
}

@media (max-width: 1320px) {
    .logo img {
        width: 40.47px;
        height: 22.94px;
    }
    .header-content {
        gap: 10px;
    }
    .container-lg {
        width: 80%;
    }
    .header-nav {
        margin-left: 0;
        gap: 5px;
    }
    .nav-link {
        font-size: 16px;
    }
    .btn {
        padding: 8px 15px;
        font-size: 16px;
        letter-spacing: 1px;
    }
    .section-sup_title{
        text-align: center;
        font-size: 18px;
        color: var(--text-muted);
        margin-top: 0px;
        margin-bottom: 40px;
    }
    .hero-buttons .btn{
        padding: 12px 24px;
        font-size: 24px;
    }
}

@media (max-width: 1200px) {
    .logo img {
        width: 30.47px;
        height: 16.94px;
    }
    .header-content {
        gap: 10px;
    }   
    .nav-link {
        font-size: 14px;
    }
    .btn {
        padding: 6px 12px;
        font-size: 12px;
        letter-spacing: 0;
    }
    .log{
        width: 35px;
        height: 35px;
    }
    .log_vpn_img {
        position: absolute;
        top: 27px;
        right: 169px;
    }
    .price{
        font-size: 24px;
    }

    .price-note{
        font-size: 20px;
    }
}

/* --- МЕДИА ЗАПРОСЫ --- */

/* Плавный адаптив для десктопов и планшетов */
@media (max-width: 1400px) {
    .container-lg {
        width: 95%;
    }
}

@media (max-width: 1200px) {
    .nav {
        gap: 15px;
    }
    .nav-link {
        font-size: 16px;
    }
    .hero-title {
        font-size: 48px;
    }
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .feature-card-large, .feature-card-medium {
        grid-column: span 2;
    }
    .pricing-grid-5 {
        grid-template-columns: repeat(5, 1fr);
        gap: 12px;
    }
    .pricing-grid-4 {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }
    .pricing-card {
        padding: 25px 12px 20px;
    }
    .pricing-card-title{
        font-size: 18px;
        margin-top: 15px;
    }

    .pricing-btn {
        font-size: 14px !important;
        padding: 10px 12px !important;
    }
    .pricing-badge {
        padding: 4px 8px;
    }

    .pricing-badge-auto,
    .pricing-badge-featured,
    .pricing-badge-popular {
        font-size: 13px;
        top: -16px;
        padding: 4px 14px;
    }
    .pricing-features li {
        font-size: 11px;
    }
}

@media (max-width: 992px) {

    .hero-title {
        font-size: 40px;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
    .pricing-grid-5 {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    .pricing-grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* Мобильная версия (согласно скриншоту) */
@media (max-width: 768px) {
    .header {
        padding: 10px 0;
        width: 100% !important;
    }
    
    .container-lg {
        border-radius: 20px;
        padding: 10px 15px;
        margin-left: 0px;
    }

    .hero{
        width: 100% !important;
    }

    .logo img {
        width: 40px;
        height: auto;
    }

    .buttons_right_logo .btn {
        padding: 8px 15px;
        font-size: 14px;
        letter-spacing: 0;
    }

    .hero {
        padding-top: 120px;
        padding-bottom: 40px;
    }

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

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .hero-buttons .btn {
        width: 80%;
        max-width: 280px;
        font-size: 16px;  
        height: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .feature-icon-margin{
        margin-top: 0px;
    }

    .feature-card {
        min-height: auto;
        padding: 25px;
    }

    .feature-decoration{
        position: static;
    }

    .feature-title-large{
        font-size: 25px !important;
    }

    .feature-icon img{
        width: 40px;
        height: 40px;
    }

    .feature-icon-margin{
        width: 70px !important;
        height: 70px !important;
    }

    .feature-card-medium{
        height: 150px !important;
        padding: 0px 0px 0px 10px !important;
    }

    .feature-title-no-logs, .feature-title-small, .feature-title-medium{
        font-size: 16px !important;
    }

    .feature-card-small, .feature-card-small-right{
        height: 200px;
        padding: 10px !important;
    }

    .feature-title-large, .feature-title-medium {
        font-size: 25px !important;
    }

    .feature-img-bottom-right, .feature-img-top-right {
        position: absolute;
        max-width: 45%;
        margin-top: 0px;
        align-self: center;
    }

    .feature-text-large{
        font-size: 16px !important;
    }

    .feature-title-no-logs{
        font-size: 18px !important;
    }

    .feature-text-reliable, .feature-text-medium{
        font-size: 14px !important;
    }

    .section-title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .pricing-card {
        width: 100%;
        max-width: 100%;
    }

    .server-item {
        font-size: 10px !important;
        line-height: 1.2 !important;
        width: 90px !important;
        height: 35px !important;
        padding: 0 5px !important;
    }

    .server-item img{
        width: 18px !important;
        height: 12px !important;
    }

    .installation-content {
        padding-left: 0;
    }

    .platform-btn{
        padding: 1px 13px !important;
        font-size: 18px;
    }

    .steps-timeline {
        display: none;
    }

    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }

    .footer-top {
        flex-direction: column;
        gap: 20px;
    }

    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .footer-main {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-actions {
        width: 100%;
    }
    
    .description {
        margin: 0 auto;
    }
}

@media (max-width: 376px) {
    .container-lg{
        margin-left: 0% !important;
        width: 100% !important;
    }

    .server-item {
        font-size: 6px !important;
        line-height: 23px !important;
        width: 70px !important;
        height: 27px !important;
    }

    .platform-btn{
        padding: 0px 8px !important;
        font-size: 18px;
    }
    .step-buttons{
        justify-content: center !important;
    }
}

@media (max-width: 321px) {
    .container-lg{
        margin-left: 0px !important;
        width: 100% !important;
    }
    .platform-btn{
        padding: 1px 6px !important;
        font-size: 16px;
    }
    .server-item{
        margin-left: -7px !important;
    }
    .logo{
        margin-left: 0px !important;
    }
}

@media (max-width: 1320px) {
    .logo img {
        width: 40.47px;
        height: 22.94px;
    }
    .header-content {
        gap: 10px;
    }
    .container-lg {
        width: 80%;
    }
    .header-nav {
        margin-left: 0;
        gap: 5px;
    }
    .nav-link {
        font-size: 16px;
    }
    .btn {
        padding: 8px 15px;
        font-size: 16px;
        letter-spacing: 1px;
    }
    .section-sup_title{
        text-align: center;
        font-size: 18px;
        color: var(--text-muted);
        margin-top: 0px;
        margin-bottom: 40px;
    }
}

@media (max-width: 1200px) {
    .logo img {
        width: 30.47px;
        height: 16.94px;
    }
    .header-content {
        gap: 10px;
    }
    .nav-link {
        font-size: 14px;
    }
    .btn {
        padding: 6px 12px;
        font-size: 12px;
        letter-spacing: 0;
    }
    .buttons_right_logo .log {  
        width: 35px;
        height: 35px;
    }
    .buttons_right_logo .log img {
        width: 20px;
    }
.servers-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 10px;
}
.server-item {
    font-size: 16px;
    line-height: 57px;
    width: 200.93px;
    height: 57.93px;
}
}

@media (max-width: 768px) {
    .servers-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        grid-template-rows: auto !important;
        gap: 10px !important;
    }

    .servers-grid > .server-item {
        grid-area: auto !important; /* сбрасываем жёсткие div1–div10 позиции */
        width: 100% !important;
    }
}

@media (max-width: 995px) {
    .pricing-features {
        text-align: center;
    }

    .pricing-features li {
        padding-left: 0;
        display: inline-flex;
        justify-content: center;
        gap: 8px;
        width: 100%;
        font-size: 18px;
    }

    .pricing-features li::before {
        position: static;
    }
}

/* --- Адаптивное бургер-меню (до 1000px) --- */

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
    margin-left: 0px;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 10px;
    transition: all 0.3s ease;
}

@media (max-width: 1000px) {
    .mobile-menu-toggle {
        display: flex;
    }

    /* Бургер при открытом меню — фиксируем, чтобы был поверх overlay */
    .mobile-menu-toggle.active {
        position: fixed;
        top: 28px;
        right: 28px;
        z-index: 1600;
    }

    /* Убираем glass-фон шапки, пока меню открыто, чтобы не было полосы сверху */
    .header:has(.mobile-menu-toggle.active) .container-lg {
        background: none;
        border-color: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    /* Скрываем остальные элементы шапки (логотип, переключатель языка,
       кнопку «Личный кабинет»), оставляя только бургер-крестик */
    .header-content:has(.mobile-menu-toggle.active) .logo,
    .header-content:has(.mobile-menu-toggle.active) .buttons_right_logo > :not(.mobile-menu-toggle) {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.25s ease;
    }

    /* Fullscreen-меню: закрытое состояние */
    .header-nav {
        position: fixed;
        inset: 0;
        margin: 0;
        padding: 140px 10% 60px;
        background:
            radial-gradient(ellipse at top, rgba(139, 92, 246, 0.35) 0%, transparent 60%),
            linear-gradient(180deg, #1D0F56 0%, #0B0524 100%);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: clamp(24px, 4.5vh, 50px);
        z-index: 1500;

        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        pointer-events: none;
        transition:
            opacity 0.35s ease,
            transform 0.35s ease,
            visibility 0s linear 0.35s;
    }

    /* Лого + название в углу открытого меню */
    .header-nav::before {
        content: "VolnaLink VPS";
        position: absolute;
        top: 34px;
        left: 28px;
        padding-left: 46px;
        background-image: url('../images/svg/logo_vpn.svg');
        background-repeat: no-repeat;
        background-position: left center;
        background-size: 36px 36px;
        color: #fff;
        font-family: inherit;
        font-size: 17px;
        font-weight: 600;
        letter-spacing: 0.01em;
        line-height: 36px;
        white-space: nowrap;

        opacity: 0;
        transform: translateY(-6px);
        transition: opacity 0.35s ease, transform 0.35s ease;
    }

    .header-nav.mobile-active::before {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.08s;
    }

    /* Открытое состояние */
    .header-nav.mobile-active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
        transition:
            opacity 0.35s ease,
            transform 0.35s ease;
    }

    .header-nav .nav-link {
        font-size: clamp(38px, 8vw, 80px);
        font-weight: 800;
        color: #fff;
        letter-spacing: -0.02em;
        line-height: 1.1;
        padding: 6px 0;
        transition: color 0.25s ease;
    }

    /* Показываем «Личный кабинет» в мобильном меню */
    .header-nav .nav-link-mobile-only {
        display: block;
        margin-top: 16px;
        padding-top: 24px;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
    }

    .header-nav .nav-link:hover,
    .header-nav .nav-link:active {
        color: var(--primary-color);
    }

    /* Поочерёдное появление пунктов меню при открытии */
    .header-nav.mobile-active .nav-link {
        animation: navLinkIn 0.45s ease both;
    }
    .header-nav.mobile-active .nav-link:nth-child(1) { animation-delay: 0.05s; }
    .header-nav.mobile-active .nav-link:nth-child(2) { animation-delay: 0.12s; }
    .header-nav.mobile-active .nav-link:nth-child(3) { animation-delay: 0.19s; }
    .header-nav.mobile-active .nav-link:nth-child(4) { animation-delay: 0.26s; }

    @keyframes navLinkIn {
        from { opacity: 0; transform: translateY(10px); }
        to   { opacity: 1; transform: translateY(0);   }
    }

    .buttons_right_logo{
        display: flex;
        align-items: center;
    }

    .log_vpn_img{
        position: relative;
        left: -2px;
        top: -4px;
    }

    .container-lg{
        margin-left: 80px;
    }

    .header-content {
        gap: 10px;
    }
    
    .buttons_right_logo .btn {
        padding: 8px 16px;
        font-size: 14px;
    }
}

@media (max-width: 550px) {
    .container-lg{
        margin-left: 0px !important;
        width: 100% !important;
    }
}

@media (max-width: 800px) {
    .container-lg{
        margin-left: 40px;
    }
}

@media (max-width: 900px) {
    .feature-title-small{
        font-size: 20px;
    }
    .feature-text-small{
        font-size: 16px;
    }
    .feature-title-medium{
        font-size: 30px;
    }
    .feature-text-medium{
        font-size: 20px;
    }
    .feature-title-no-logs{
        font-size: 20px;
    }
    .feature-text-reliable{
        font-size: 16px;
    }
    .feature-title-large{
        font-size: 30px;
    }
    .feature-text-large{
        font-size: 20px;
    }
}

@media (max-width: 350px) {
    .feature-title-small{
        font-size: 12px !important;
    }
    .feature-text-small{
        font-size: 10px !important;
    }
    .feature-title-medium{
        font-size: 25px !important;
    }
    .feature-text-medium{
        font-size: 12px !important;
    }
    .feature-title-no-logs{
        font-size: 12px !important;
    }
    .feature-text-reliable{
        font-size: 12px !important;
    }
    .feature-title-large{
        font-size: 25px !important;
    }
    .feature-text-large{
        font-size: 16px !important;
    }
    .mobile-menu-toggle.active {
        position: fixed;
        top: 40px;
        right: 20px;
        z-index: 1600;
        width: 30px !important;
        height: 21px !important;
    }
}
@media (max-width: 310px) {
    .mobile-menu-toggle{
        width: 15px !important;
        height: 15px !important;
    }
}
@media (max-width: 950px) {
    .pricing-grid,
    .pricing-grid-5,
    .pricing-grid-4{
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        justify-items: center;
    }
    .pricing-card{
        width: 100%;
    }
    .pricing-card-title{
        font-size: 20px;
    }
    .pricing-btn{
        padding: 10px 15px;
        width: 100%;
        max-width: 200px;
    }
    .pricing-badge-auto,
    .pricing-badge-featured,
    .pricing-badge-popular{
        font-size: 13px;
        top: -16px;
    }
    .server-item {
        font-size: 12px;
        line-height: 1.2;
        width: 150px;
        height: 40px;
    }
    .server-item img{
        width: 40px;
        height: 20px;
    }
}

@media (max-width: 425px) {
    
}


/* Анимация иконки бургера при активации */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}


/* ========================================================================
   ARTICLES PAGE STYLES
   ======================================================================== */

/* Articles Page Main Container */
.articles-page {
    padding-top: 140px;
    background-color: var(--bg-dark);
    background-image: radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
}

/* Articles Hero Section */
.articles-hero {
    text-align: center;
    padding-bottom: 60px;
}

.articles-hero .hero-badge-container {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.articles-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 18px;
    color: white;
}

.articles-hero .hero-badge-logo {
    width: 20px;
}

.articles-title {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.articles-subtitle {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* Articles Filter Section */
.articles-filter {
    padding: 40px 0;
}

.filter-buttons {
    display: flex;
    position: relative;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    width: 80%;
    left: 11%;
}

.filter-btn {
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--bs-font-sans-serif);
    font-weight: 600;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.filter-btn.active {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Articles Grid Section */
.articles-grid-section {
    padding: 60px 0 100px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.article-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 30px;
    padding: 40px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.article-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.4);
    background: rgba(139, 92, 246, 0.15);
}

.card-tag {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(90deg, #ff6b35, #ff8555);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    margin-bottom: 25px;
}

.card-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 40px;
    color: white;
}

.card-footer {
    display: flex;
    gap: 20px;
    color: var(--text-muted);
    font-size: 16px;
}

.card-date, .card-views {
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-icon {
    width: 18px;
    opacity: 0.6;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.page-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--bs-font-sans-serif);
    font-weight: 600;
}

.page-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.page-btn.active {
    background: rgba(139, 92, 246, 0.3);
    border-color: var(--secondary-color);
}

.page-dots {
    color: var(--text-muted);
    padding: 0 5px;
}

/* Articles Page Responsive */
@media (max-width: 992px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .articles-title {
        font-size: 48px;
    }
    
    .card-title {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .articles-page {
        padding-top: 120px;
    }
    
    .articles-hero {
        padding-bottom: 40px;
    }
    
    .articles-title {
        font-size: 36px;
    }
    
    .articles-subtitle {
        font-size: 16px;
    }
    
    .filter-buttons {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .articles-grid {
        gap: 20px;
    }
    
    .article-card {
        padding: 25px;
    }
    
    .card-title {
        font-size: 20px;
        margin-bottom: 25px;
    }
    
    .card-footer {
        font-size: 14px;
    }
    
    .page-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}


/* ========================================================================
   SINGLE ARTICLE PAGE STYLES - COMPLETELY ISOLATED
   ======================================================================== */

/* Single Article Page Main Container */
.article-single-page {
    padding-top: 140px;
    background-color: var(--bg-dark);
    background-image: radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
}

/* Single Article Hero Section */
.article-single-hero {
    text-align: center;
    padding-bottom: 60px;
}

.article-single-badge-container {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.article-single-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 18px;
    color: white;
}

.article-single-badge-logo {
    width: 20px;
}

.article-single-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 40px;
    color: white;
    line-height: 1.2;
}

.article-single-meta {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.article-single-breadcrumb {
    font-size: 16px;
    color: var(--text-muted);
    margin: 0;
    text-align: left;   
    margin-left: 125px;
}

.article-singles{
    display: flex;
    gap: 30px;
}

.article-single-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 245px;
    flex-wrap: wrap;
    justify-content: space-around;
}

.article-single-tag {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(90deg, #ff6b35, #ff8555);
    border-radius: 20px;
    font-size: 16px;
    font-weight: 600;
    color: white;
}

.article-single-date, .article-single-views {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    color: var(--text-muted);
}

.article-single-icon {
    width: 18px;
    opacity: 0.6;
}

.line_on_article_single{
    width: 80%;
    margin-left:10%;
    margin-top: 50px;
    color: white;
}

/* Single Article Content Section */
.article-single-content {
    padding: 60px 0 100px;
}

.article-single-body {
    max-width: 900px;
    margin: 0 auto;
}

.article-single-section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    margin-top: 50px;
    color: white;
}

.article-single-section-title:first-of-type {
    margin-top: 0;
}

.article-single-text {
    font-size: 18px;
    line-height: 1.8;
    color: white;
    margin-bottom: 30px;
}

.article-single-list {
    font-size: 18px;
    line-height: 1.8;
    color: white;
    margin-bottom: 30px;
    padding-left: 30px;
}

.article-single-list li {
    margin-bottom: 15px;
}

/* Single Article Page Responsive */
@media (max-width: 992px) {
    .article-single-title {
        font-size: 42px;
    }
    
    .article-single-section-title {
        font-size: 28px;
    }
    
    .article-single-text {
        font-size: 16px;
    }
    
    .article-single-list {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .article-single-page {
        padding-top: 120px;
    }
    
    .article-single-hero {
        padding-bottom: 40px;
    }
    
    .article-single-title {
        font-size: 32px;
        margin-bottom: 30px;
    }
    
    .article-single-breadcrumb {
        font-size: 14px;
    }
    
    .article-single-info {
        gap: 15px;
    }
    
    .article-single-section-title {
        font-size: 24px;
        margin-top: 40px;
    }
    
    .article-single-text {
        font-size: 15px;
        line-height: 1.6;
    }
    
    .article-single-list {
        font-size: 15px;
        line-height: 1.6;
        padding-left: 20px;
    }
    
    .article-single-list li {
        margin-bottom: 12px;
    }
    
    .article-single-content {
        padding: 40px 0 60px;
    }
}

/* Стили для ссылок и хлебных крошек */
a {
    text-decoration: none !important;
    color: inherit;
}

.no-style-links a {
    text-decoration: none !important;
    color: inherit !important;
    border: none !important;
}

.article-single-breadcrumb.no-style-links a {
    color: var(--text-muted) !important;
    transition: color 0.3s ease;
}

.article-single-breadcrumb.no-style-links a:hover {
    color: white !important;
}

/* Стили для нового блока установки */
.installation {
    padding: 80px 0;
    color: white;
}

.installation-card {
    background: #2a2357;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.installation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.installation-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
}

/* Выбор платформы (справа сверху) */
.platform-selector {
    position: relative;
    min-width: 160px;
}

.platform-select-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 12px;
    padding: 10px 15px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    transition: all 0.3s ease;
}

.platform-select-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}

.platform-select-btn i {
    font-size: 12px;
    margin-left: 10px;
    opacity: 0.7;
}

/* Переключатели приложений (две кнопки) */
.app-toggles {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.app-toggle-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px 20px;
    color: white;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.app-toggle-btn.active {
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.5);
    box-shadow: inset 0 0 15px rgba(0, 255, 255, 0.1);
}

.app-toggle-btn.active::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #F9963F;
    border-radius: 50%;
    box-shadow: 0 0 10px #F9963F;
}

.app-toggle-btn .btn-text {
    margin-left: 15px;
    font-weight: 600;
    font-size: 18px;
}

.app-toggle-btn .btn-icon-bg {
    font-size: 40px;
    opacity: 0.1;
    position: absolute;
    right: 10px;
    bottom: -10px;
}

/* Карточки шагов */
.instruction-pane {
    display: none;
}

.instruction-pane.active {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.installation-step-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    gap: 25px;
    transition: transform 0.3s ease;
}

.installation-step-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.03);
}

.step-icon-box {
    width: 54px;
    height: 54px;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #00ffff;
}

.step-icon-box.success {
    background: rgba(0, 255, 127, 0.1);
    border-color: rgba(0, 255, 127, 0.2);
    color: #00ff7f;
}

.step-info h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.step-info p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Кнопки действий внутри шагов */
.step-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 255, 255, 0.08);
    border: 1px solid rgba(0, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 10px;
    color: #00ffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.step-action-btn:hover {
    background: rgba(0, 255, 255, 0.15);
    border-color: rgba(0, 255, 255, 0.4);
}

.step-action-btn.primary {
    background: #00ffff;
    color: #111827;
}

/* Анимация появления */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.instruction-pane.active .installation-step-card {
    animation: fadeInUp 0.5s ease forwards;
}

.instruction-pane.active .installation-step-card:nth-child(2) { animation-delay: 0.1s; }
.instruction-pane.active .installation-step-card:nth-child(3) { animation-delay: 0.2s; }

/* Адаптивность */
@media (max-width: 768px) {
    .installation-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .platform-selector {
        width: 100%;
    }
    .app-toggles {
        flex-direction: column;
    }
    .installation-step-card {
        flex-direction: column;
        padding: 20px;
    }
}
/* Стили для нового блока установки */
.installation {
    padding: 80px 0;
    color: white;
}

.installation-card {
    background: #2a2357;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.installation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.installation-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
}

/* Выбор платформы (справа сверху) */
.platform-selector {
    position: relative;
    min-width: 160px;
}

.platform-select-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 12px;
    padding: 10px 15px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    transition: all 0.3s ease;
}

.platform-select-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}

.platform-select-btn i {
    font-size: 12px;
    margin-left: 10px;
    opacity: 0.7;
}

/* Переключатели приложений (две кнопки) */
.app-toggles {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.app-toggle-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px 20px;
    color: white;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.app-toggle-btn.active {
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.5);
    box-shadow: inset 0 0 15px rgba(0, 255, 255, 0.1);
}

.app-toggle-btn.active::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #F9963F;
    border-radius: 50%;
    box-shadow: 0 0 10px #F9963F;
}

.app-toggle-btn .btn-text {
    margin-left: 15px;
    font-weight: 600;
    font-size: 18px;
}

.app-toggle-btn .btn-icon-bg {
    font-size: 40px;
    opacity: 0.1;
    position: absolute;
    right: 10px;
    bottom: -10px;
}

/* Карточки шагов */
.instruction-pane {
    display: none;
}

.instruction-pane.active {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.installation-step-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    gap: 25px;
    transition: transform 0.3s ease;
}

.installation-step-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.03);
}

.step-icon-box {
    width: 54px;
    height: 54px;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #00ffff;
}

.step-icon-box.success {
    background: rgba(0, 255, 127, 0.1);
    border-color: rgba(0, 255, 127, 0.2);
    color: #00ff7f;
}

.step-info h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.step-info p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Кнопки действий внутри шагов */
.step-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 255, 255, 0.08);
    border: 1px solid rgba(0, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 10px;
    color: #00ffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.step-action-btn:hover {
    background: rgba(0, 255, 255, 0.15);
    border-color: rgba(0, 255, 255, 0.4);
}

.step-action-btn.primary {
    background: #00ffff;
    color: #111827;
}

/* Анимация появления */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.instruction-pane.active .installation-step-card {
    animation: fadeInUp 0.5s ease forwards;
}

.instruction-pane.active .installation-step-card:nth-child(2) { animation-delay: 0.1s; }
.instruction-pane.active .installation-step-card:nth-child(3) { animation-delay: 0.2s; }

/* Адаптивность */
@media (max-width: 768px) {
    .installation-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .platform-selector {
        width: 100%;
    }
    .app-toggles {
        flex-direction: column;
    }
    .installation-step-card {
        flex-direction: column;
        padding: 20px;
    }
}

/* Стили меток */
.card-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 12px;
    color: #fff !important;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.article-single-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 12px;
    color: #fff !important;
}

.filter-btn {
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--bs-font-sans-serif);
    font-weight: 600;
    text-decoration: none !important;
}

.filter-btn:hover, .filter-btn.active {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

/* Дополнительные стили для выпадающего списка платформ */
.platform-selector {
    position: relative;
    z-index: 100;
}

.platform-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 100%;
    min-width: 180px;
    background: #1D0F56;
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    overflow: hidden;
}

.platform-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.platform-option {
    padding: 12px 20px;
    cursor: pointer;
    transition: background 0.3s ease;
    color: white;
    font-size: 16px;
}

.platform-option:hover {
    background: rgba(0, 255, 255, 0.1);
}

.platform-select-btn svg {
    transition: transform 0.3s ease;
}

.platform-select-btn.active svg {
    transform: rotate(180deg);
}

.platform-content {
    display: none;
}

.platform-content.active {
    display: block;
    animation: fadeInUp 0.5s ease forwards;
}

@media (max-width: 768px) {
    .platform-dropdown {
        left: 0;
        width: 100%;
    }
}

/* ============================================================
   SEO Pages — VPN Country Pages & Index
   /<lang>/vpn-servers/ and /<lang>/vpn-servers/<country>/
   ============================================================ */

/* Breadcrumbs */
.seo-breadcrumbs {
    padding: 24px 0 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}
.seo-breadcrumbs-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.seo-breadcrumbs-list li {
    display: flex;
    align-items: center;
    gap: 8px;
}
.seo-breadcrumbs-list li:not(:last-child)::after {
    content: '›';
    color: rgba(255, 255, 255, 0.4);
    margin-left: 8px;
}
.seo-breadcrumbs-list a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}
.seo-breadcrumbs-list a:hover {
    color: #fff;
}
.seo-breadcrumbs-list li[aria-current="page"] {
    color: #fff;
    font-weight: 500;
}

/* Hero variant for SEO pages */
.seo-hero {
    padding: 32px 0 48px;
}
.seo-hero-image-wrap {
    margin: 0 auto 24px;
    text-align: center;
}
.seo-hero-image-wrap.seo-hero-image-small  { max-width: 400px; }
.seo-hero-image-wrap.seo-hero-image-medium { max-width: 600px; }
.seo-hero-image-wrap.seo-hero-image-large  { max-width: 800px; }
.seo-hero-image-wrap.seo-hero-image-full   { max-width: 100%; }
.seo-hero-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
}

/* Main content body (renders WYSIWYG output) */
.seo-page-content {
    padding: 32px 0 48px;
}
.seo-content-body {
    max-width: 800px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    line-height: 1.7;
}
.seo-content-body h2 {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin: 40px 0 16px;
    line-height: 1.3;
}
.seo-content-body h3 {
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    margin: 32px 0 12px;
}
.seo-content-body p {
    margin: 0 0 16px;
}
.seo-content-body ul,
.seo-content-body ol {
    margin: 0 0 16px;
    padding-left: 24px;
}
.seo-content-body li {
    margin-bottom: 8px;
}
.seo-content-body a {
    color: #ff7a45;
    text-decoration: underline;
}
.seo-content-body a:hover {
    color: #ff9870;
}
/* Fix: .btn inside content body must keep button colors, not link colors.
   Without this, .seo-content-body a wins over .btn-primary (specificity)
   and renders the CTA button text as a low-contrast gray/blue underlined link. */
.seo-content-body a.btn,
.seo-cta-card a.btn,
.seo-cta-inline a.btn,
.hero a.btn,
.seo-hero a.btn {
    text-decoration: none !important;
    color: #fff !important;
    font-weight: 700 !important;
    display: inline-block;
}
.seo-content-body a.btn-primary,
.seo-cta-card a.btn-primary,
.seo-cta-inline a.btn-primary,
.hero a.btn-primary,
.seo-hero a.btn-primary {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8555 100%);
    color: #fff !important;
}
.seo-content-body a.btn-primary:hover,
.seo-cta-card a.btn-primary:hover,
.seo-cta-inline a.btn-primary:hover,
.hero a.btn-primary:hover,
.seo-hero a.btn-primary:hover {
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
}
.seo-content-body a.btn-secondary,
.seo-cta-card a.btn-secondary,
.seo-cta-inline a.btn-secondary,
.hero a.btn-secondary,
.seo-hero a.btn-secondary {
    background: transparent;
    color: #fff !important;
    border: 2px solid var(--secondary-color);
}
.seo-content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 16px 0;
}
/* Hard cap on inline content images so an oversized stock photo (e.g. Unsplash
   3000×2000) doesn't render full-bleed and become a giant tower on wide screens.
   The cap, combined with object-fit: cover, gives a consistent banner-style
   crop regardless of original aspect ratio. */
.seo-content-body img.seo-content-img,
.seo-content-body figure img,
.seo-content-body p > img {
    display: block;
    width: 100%;
    max-width: 800px;
    max-height: 420px;
    height: auto;
    object-fit: cover;
    margin: 24px auto;
}
@media (max-width: 768px) {
    .seo-content-body img.seo-content-img,
    .seo-content-body figure img,
    .seo-content-body p > img {
        max-height: 240px;
    }
}
.seo-content-body strong { color: #fff; }

/* Inline CTA (rendered mid-content) */
.seo-cta-inline {
    background: rgba(255, 122, 69, 0.08);
    border: 1px solid rgba(255, 122, 69, 0.25);
    border-radius: 16px;
    padding: 24px;
    margin: 32px 0;
    text-align: center;
}
.seo-cta-inline-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #fff;
}
.seo-cta-inline-text {
    margin: 0 0 16px;
    color: rgba(255, 255, 255, 0.8);
}

/* End-of-page CTA card */
.seo-cta {
    padding: 48px 0;
}
.seo-cta-card {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(255, 122, 69, 0.15), rgba(255, 122, 69, 0.05));
    border: 1px solid rgba(255, 122, 69, 0.25);
    border-radius: 24px;
    padding: 48px 32px;
    text-align: center;
}
.seo-cta-card h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 12px;
    color: #fff;
}
.seo-cta-card p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 24px;
}

/* FAQ section reused for SEO pages — falls back to existing .faq-* styles
   defined elsewhere; only ensure the wrapper is spaced. */
.seo-faq {
    padding: 48px 0;
}
.seo-faq .section-title,
.seo-locations-section .section-title,
.seo-related .section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 32px;
}

/* "Other VPN locations" — cross-link grid (SEO juice) */
.seo-related {
    padding: 48px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.seo-locations-section {
    padding: 48px 0;
}
.seo-locations-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}
.seo-locations-grid li {
    margin: 0;
}
.seo-locations-grid a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 15px;
    transition: background 0.2s, border-color 0.2s, transform 0.1s;
}
.seo-locations-grid a:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 122, 69, 0.4);
    color: #fff;
    transform: translateY(-1px);
}
.seo-location-flag {
    width: 28px;
    height: 20px;
    object-fit: cover;
    border-radius: 3px;
    flex-shrink: 0;
}
.seo-location-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.seo-locations-grid--with-flags a {
    padding: 16px;
}
.seo-locations-more {
    text-align: center;
    margin: 32px 0 0;
}
.seo-locations-all-link {
    color: #ff7a45;
    text-decoration: none;
    font-weight: 500;
}
.seo-locations-all-link:hover {
    text-decoration: underline;
}

/* RTL layout for Arabic / Hebrew etc. */
[dir="rtl"] .seo-breadcrumbs-list li:not(:last-child)::after {
    content: '‹';
    margin-left: 0;
    margin-right: 8px;
}

/* Make linked country flags (server-items that are <a> tags) look the same
   as their non-linked siblings, with a subtle hover hint. */
a.server-item {
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s, transform 0.1s;
}
a.server-item:hover {
    border-color: rgba(255, 122, 69, 0.6);
    background: rgba(255, 122, 69, 0.06);
    transform: translateY(-1px);
}

/* === Blog (SEO articles index) ===
   Used on /<lang>/blog/. Lists all SEO pages in a tidy card layout. */
.blog-articles-section {
    padding: 48px 0 96px;
}
.blog-articles-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    /* All rows take an equal share — combined with height:100% on the link
       this keeps every card the same height regardless of how much text is
       inside. */
    grid-auto-rows: 1fr;
    gap: 16px;
    align-items: stretch;
}
.blog-article-item {
    margin: 0;
    display: flex;
}
.blog-article-link {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px 24px;
    color: #fff !important;
    text-decoration: none !important;
    transition: all .25s ease;
    /* Fill the grid cell so neighbours line up. */
    width: 100%;
    height: 100%;
    min-height: 160px;
}
.blog-article-link:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 122, 69, 0.4);
    transform: translateY(-2px);
    color: #fff !important;
}
.blog-article-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
    /* Cap the title at 2 lines to keep the title block predictable. */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}
.blog-article-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
    /* Truncate after 3 lines so cards don't grow with long descriptions. */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    overflow: hidden;
}

/* ============================================================================
   Hero buttons centering fix (across all viewport sizes, including SEO pages)
   ============================================================================
   Bug: at certain breakpoints (typically 768px–1320px viewports — tablets,
   small laptops) the .hero-buttons block on SEO pages drifted to the left
   instead of staying centered under the H1.
   
   Root cause: page-seo.php uses .seo-page-hero (which has zero CSS rules) and
   the inherited @media cascade for .hero-buttons leaves a window where neither
   the BASE rule nor the mobile column rule wins cleanly. We force center
   alignment with !important here, on every screen size, for every hero
   variant (.hero, .seo-hero, .seo-page-hero). Higher specificity ensures this
   wins regardless of which media block matches. */
.hero .hero-buttons,
.seo-hero .hero-buttons,
.seo-page-hero .hero-buttons {
    display: flex !important;
    justify-content: center !important;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* On narrow viewports collapse to a vertical stack — both buttons full-width-ish
   and centered. */
@media (max-width: 768px) {
    .hero .hero-buttons,
    .seo-hero .hero-buttons,
    .seo-page-hero .hero-buttons {
        flex-direction: column !important;
        align-items: center !important;
    }
}

/* ============================================================
   Reviews — carousel (homepage) + grid (/reviews/)
   Reviews.io-style: solid dark-grey cards, name+stars inline,
   relative time bottom-right. No external service.
   ============================================================ */

/* --- Star glyphs --- */
.review-stars {
    display: inline-flex;
    gap: 1px;
    font-size: 15px;
    line-height: 1;
    white-space: nowrap;
}
.review-stars .star-full  { color: #f5b50a; }
.review-stars .star-empty { color: rgba(255, 255, 255, 0.22); }

/* --- Aggregate line (Excellent ★★★★★ 4.8 — N reviews) --- */
.reviews-widget-aggregate,
.reviews-hero-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: -8px 0 36px;
}
.reviews-widget-word,
.reviews-hero-word {
    font-weight: 700;
    font-size: 17px;
    color: #fff;
}
.reviews-widget-aggregate .review-stars,
.reviews-hero-rating .review-stars {
    font-size: 19px;
}
.reviews-widget-avg,
.reviews-hero-avg {
    font-weight: 700;
    font-size: 17px;
    color: #fff;
}
.reviews-widget-count,
.reviews-hero-count {
    font-size: 14px;
    opacity: 0.6;
}

/* --- Review card (shared by carousel + grid) --- */
.review-card {
    background: #2a2357;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 22px 22px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-sizing: border-box;
    height: 320px;
}
.review-card-head {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.review-card-headline {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.review-card-author {
    font-weight: 700;
    font-size: 15px;
    color: #fff;
}
.review-card-verified {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    opacity: 0.65;
}
.review-card-verified-tick {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #3a7afe;
    color: #fff;
    font-size: 9px;
    line-height: 1;
}
.review-card-body {
    font-size: 14.5px;
    line-height: 1.55;
    opacity: 0.9;
    flex-grow: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 8;
}
.review-card-body p {
    margin: 0 0 8px;
}
.review-card-body p:last-child {
    margin-bottom: 0;
}
.review-card-foot {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 6px;
}
.review-card-source {
    font-size: 12.5px;
    opacity: 0.5;
    margin-right: auto;
}
.review-card-date {
    font-size: 12.5px;
    opacity: 0.5;
}

/* --- Homepage carousel --- */
.reviews-widget { padding: 70px 0; }
.reviews-carousel {
    display: flex;
    align-items: stretch;
    gap: 8px;
}
.reviews-carousel-viewport {
    overflow: hidden;
    flex: 1;
}
.reviews-carousel-track {
    display: flex;
    gap: 22px;
    transition: transform 0.5s ease;
    will-change: transform;
    align-items: stretch;
}
.reviews-carousel-slide {
    flex: 0 0 calc((100% - 44px) / 3);
    box-sizing: border-box;
    display: flex;
}
.reviews-carousel-slide .review-card {
    width: 100%;
}
.reviews-carousel-arrow {
    flex: 0 0 auto;
    align-self: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.reviews-carousel-arrow-glyph {
    display: block;
    font-size: 15px;
    line-height: 1;
    font-weight: 700;
}
.reviews-carousel-arrow:hover {
    background: rgba(255, 255, 255, 0.18);
}
.reviews-carousel-controls {
    display: flex;
    justify-content: flex-end;
    margin-top: 14px;
}
.reviews-carousel-pause {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: none;
    border: none;
    color: #fff;
    opacity: 0.7;
    font-size: 14px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}
.reviews-carousel-pause:hover { opacity: 1; }
.reviews-carousel-pause-icon {
    font-size: 0;   /* hide any literal glyph in the markup; ::before draws it */
    letter-spacing: 1px;
}
.reviews-carousel-pause-icon::before {
    content: "\275A\275A";   /* ❚❚ pause */
    font-size: 12px;
}
.reviews-carousel-pause.is-paused .reviews-carousel-pause-icon::before {
    content: "\25B6";        /* ▶ play, when paused */
    font-size: 13px;
}
.reviews-widget-cta {
    text-align: center;
    margin-top: 30px;
}

/* --- /reviews/ page --- */
.reviews-hero-rating { margin-top: 24px; margin-bottom: 0; }
.reviews-section { padding: 56px 0 80px; }
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.reviews-empty {
    text-align: center;
    opacity: 0.6;
    padding: 40px 0;
}

/* --- Review submission form --- */
.reviews-form-section {
    padding: 10px 0 70px;
}
.reviews-form-card {
    max-width: 640px;
    margin: 0 auto;
    background: #2a2357;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px 32px 36px;
    box-sizing: border-box;
}
.reviews-form-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 24px;
}
.reviews-form-row {
    margin-bottom: 18px;
}
.reviews-form-label {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 7px;
}
.reviews-form-input,
.reviews-form-textarea {
    width: 100%;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    padding: 11px 14px;
    color: #fff;
    font-size: 14.5px;
    font-family: inherit;
    transition: border-color 0.2s ease;
}
.reviews-form-input:focus,
.reviews-form-textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
}
.reviews-form-textarea {
    resize: vertical;
    min-height: 110px;
    line-height: 1.55;
}
.reviews-form-stars {
    display: inline-flex;
    gap: 4px;
}
.reviews-form-star {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 26px;
    line-height: 1;
    padding: 0;
    color: rgba(255, 255, 255, 0.22);
    transition: color 0.15s ease;
}
.reviews-form-star.is-on {
    color: #f5b50a;
}
.reviews-form-submit {
    width: 100%;
    margin-top: 6px;
    cursor: pointer;
}
.reviews-form-thanks {
    text-align: center;
    padding: 20px 10px;
}
.reviews-form-thanks-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #3a7afe;
    color: #fff;
    font-size: 22px;
    margin-bottom: 14px;
}
.reviews-form-thanks p {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .reviews-carousel-slide { flex: 0 0 calc((100% - 22px) / 2); }
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .reviews-carousel-slide { flex: 0 0 100%; }
    .reviews-grid { grid-template-columns: 1fr; }
    .reviews-carousel { gap: 4px; }
    .reviews-carousel-arrow { width: 32px; height: 32px; }
    .reviews-carousel-arrow-glyph { font-size: 13px; }
    .review-card { height: auto; min-height: 240px; }
    .review-card-body { -webkit-line-clamp: 10; }
    .reviews-form-card { padding: 24px 18px 28px; }
}
