﻿:root {
    --primary: #0A2463; /* Deep navy - trust */
    --secondary: #3E92CC; /* Friendly blue */
    --accent: #FF7F11; /* Urgency orange */
    --dark: #121C36; /* Darker navy */
    --light: #F8F9FA;
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --accent-color: #f59e0b;
    --medium-gray: #e2e8f0;
}

/* Critical above-the-fold styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    overflow-x: hidden;
}
.hero-section {
    background: linear-gradient(135deg, #0a0e17 0%, #1a2a4a 100%);
    padding: 60px 20px;
    text-align: center;
    overflow: hidden;
}

    .hero-section::before {
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(255,255,255,0.03)" d="M30,30 Q50,10 70,30 T90,50 T70,70 T50,90 T30,70 T10,50 T30,30 Z"/></svg>');
        opacity: 0.3;
    }
/* Micro-interactions */
.vpn-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

    .vpn-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(10, 36, 99, 0.15);
        border-color: var(--accent);
    }

/* Real-time counter animation */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.deal-badge {
    animation: pulse 2s infinite;
}

.hero-section {
    background: linear-gradient(135deg, #1e293b 0%, #1e293b 100%);
    padding: 6rem 0 !important;
}

/* Accent Button */
.btn-accent {
    background: #4E9AF1;
    border-color: #4E9AF1;
    transition: all 0.3s;
}

.text-accent {
    color: #4E9AF1;
}

.text-Blue {
    color: #2563eb;
}

.btn-accent:hover {
    background: #4E9AF1;
    transform: translateY(-2px);
}

/* Server Dots (if using globe) */
.vpn-server-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #FF7F11;
    border-radius: 50%;
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Speed Test Card Styles */
.speed-test-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    color: var(--dark-color);
    height: 100%;
}

.speed-test-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.speed-test-card h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.speed-test-card h3 {
    font-size: 1.1rem;
    font-weight: 400;
    opacity: 0.8;
    margin-bottom: 2rem;
}

.vpn-select-card {
    background-color: var(--dark-color);
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.vpn-select {
    width: 100%;
    padding: 0.75rem;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.2);
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.test-button {
    background-color: var(--primary-color);
    color: white;
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .test-button:hover {
        background-color: var(--secondary-color);
        transform: translateY(-2px);
    }

@media (max-width: 768px) {
    .hero-headline {
        font-size: 2.2rem;
    }

    .hero-subhead {
        font-size: 1.1rem;
    }

    .speed-test-card {
        margin-top: 2rem;
    }
}

@media (min-width: 992px) { /* Desktop only */
    .navbar .dropdown:hover .dropdown-menu {
        display: block;
    }
}

.btn-perfect-vpn {
    position: sticky;
    bottom: 20px;
    z-index: 1000;
}

@media (min-width: 992px) {
    .navbar .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0; /* remove the gap */
    }
}



/* CTA button styling */
.btn-cta {
    background-color: #4e9af1;
    color: white;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
}

    .btn-cta:hover {
        background-color: #3a7bc8;
        color: white;
    }

/* Sticky CTA for mobile */
@media (max-width: 991.98px) {
    .sticky-cta {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 1050;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }
}

.trust-badge {
    text-align: center;
    padding: 15px;
}

    .trust-badge i {
        font-size: 2.5rem;
        color: var(--secondary);
        margin-bottom: 10px;
    }


.vpn-deal-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #333 !important;
}

    .vpn-deal-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    }

.ribbon {
    position: absolute;
    right: -5px;
    top: 15px;
    padding: 0.25rem 1.5rem;
    transform: rotate(45deg);
    transform-origin: left;
    font-size: 0.75rem;
    z-index: 1;
}

.btn-accent {
    background-color: #4e9af1;
    color: white;
    border: none;
}

    .btn-accent:hover {
        background-color: #3a7bc8;
        color: white;
    }





.vpn-comparison {
    position: relative;
    overflow: hidden;
    width: 100%;
}

    .vpn-comparison:before {
        position: absolute;
        top: -50px;
        right: -50px;
        width: 200px;
        height: 200px;
        background: radial-gradient(circle, rgba(41,98,255,0.2) 0%, rgba(0,0,0,0) 70%);
        z-index: 0;
    }

    .vpn-comparison table {
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        position: relative;
        z-index: 1;
        border-collapse: separate;
        border-spacing: 0;
    }

    .vpn-comparison thead th {
        background: #1a237e;
        color: white;
        font-weight: 600;
        padding: 15px 10px;
        border-bottom: none;
    }

    .vpn-comparison tbody tr {
        transition: all 0.2s ease;
        background: #212121;
    }

        .vpn-comparison tbody tr:hover {
            background: #2d2d2d;
            transform: translateY(-2px);
        }

    .vpn-comparison tbody td {
        padding: 15px 10px;
        vertical-align: middle;
        border-top: 1px solid #333;
    }

    .vpn-comparison .table-hover tbody tr:hover td {
        background: #2d2d2d;
    }

/* Tooltip Icons */
.fab {
    font-size: 1.2rem;
    opacity: 0.9;
    transition: all 0.2s ease;
}

    .fab:hover {
        opacity: 1;
        transform: scale(1.2);
    }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .vpn-comparison table thead {
        display: none;
    }

    .vpn-comparison table tr {
        display: block;
        margin-bottom: 20px;
        border-radius: 8px;
        overflow: hidden;
    }

    .vpn-comparison table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 15px;
        border: none;
        border-bottom: 1px solid #333;
    }

        .vpn-comparison table td:before {
            content: attr(data-label);
            font-weight: bold;
            margin-right: 15px;
            color: #aaa;
        }

        .vpn-comparison table td:last-child {
            border-bottom: none;
        }
    .feature-grid, .vpn-pros-cons {
        grid-template-columns: 1fr;
    }

    .comparison-table {
        font-size: 0.9rem;
    }

}

@keyframes scrollDot {
    0% {
        top: 8px;
        opacity: 1;
    }

    50% {
        top: 28px;
        opacity: 0.5;
    }

    100% {
        top: 8px;
        opacity: 1;
    }
}

.result-loading {
    position: relative;
    min-height: 200px;
}

.loading-bar {
    height: 4px;
    width: 0;
    background: linear-gradient(90deg, #2967ff, #00c6ff);
    transition: width 1.5s ease-out;
}

.analyzing-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
}

    .analyzing-text span {
        opacity: 0;
        animation: fadeInOut 1.5s infinite;
    }

        .analyzing-text span:nth-child(2) {
            animation-delay: 0.5s;
        }

        .analyzing-text span:nth-child(3) {
            animation-delay: 1s;
        }

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #0A2463;
    color: white;
    padding: 12px 16px;
    border-radius: 50px;
    font-size: 20px;
    display: none;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

    .scroll-to-top:hover {
        background-color: #133b8a;
        color: #fff;
    }
@media (max-width: 767px) {
    .scroll-to-top {
        display: none !important;
    }
}
#subscribeButton {
    transition: all 0.3s ease;
    position: relative;
}

    #subscribeButton:disabled {
        opacity: 0.7;
    }

.spinner-border {
    vertical-align: middle;
}

.subheadline {
    font-size: 1.4rem;
    margin-bottom: 30px;
    opacity: 0.9;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btnHeroSection {
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primaryHeroSection {
    background: linear-gradient(90deg, #00c6ff 0%, #0072ff 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 114, 255, 0.4);
}

    .btn-primaryHeroSection:hover {
        transform: translateY(-3px);
        box-shadow: 0 7px 20px rgba(0, 114, 255, 0.6);
    }

.btn-secondaryHeroSection {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

    .btn-secondaryHeroSection:hover {
        background: rgba(255, 255, 255, 0.2);
    }

.trust-badgesHeroSection {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.trust-badgeHeroSection {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

    .trust-badgeHeroSection img {
        height: 30px;
        margin-right: 10px;
    }

.ratingHeroSection {
    display: flex;
    align-items: center;
    background: rgba(255, 215, 0, 0.1);
    padding: 8px 15px;
    border-radius: 50px;
}

.starsHeroSection {
    color: #FFD700;
    margin-right: 5px;
}

.vpn-cards {
    display: flex;
    gap: 30px;
    margin-bottom: 60px;
    flex-wrap: wrap;
    justify-content: center;
}

.vpn-card {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 15px;
    padding: 30px;
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

    .vpn-card:hover {
        transform: translateY(-10px);
        background: rgba(0, 0, 0, 0.08);
    }

    .vpn-card.top {
        border-top: 5px solid #00c6ff;
    }

    .vpn-card h4 {
        font-size: 1.5rem;
        margin-top: 0;
        display: flex;
        align-items: center;
    }

    .vpn-card .badge {
        background: #FFD700;
        color: #000;
        font-size: 0.8rem;
        padding: 3px 10px;
        border-radius: 50px;
        margin-left: 10px;
        font-weight: bold;
    }

    .vpn-card .price {
        font-size: 2rem;
        font-weight: bold;
        margin: 15px 0;
        color: #4facfe;
    }

    .vpn-card .features {
        margin: 20px 0;
        padding-left: 20px;
    }

        .vpn-card .features li {
            margin-bottom: 10px;
            position: relative;
        }

            .vpn-card .features li:before {
                content: "✓";
                color: #00c6ff;
                position: absolute;
                left: -20px;
            }

    .vpn-card .deal {
        background: rgba(0, 198, 255, 0.1);
        padding: 10px;
        border-radius: 8px;
        margin: 20px 0;
        font-weight: bold;
        border: 1px dashed #00c6ff;
    }

.why-vpn {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.why-box {
    flex: 1;
    min-width: 250px;
    background: rgba(0, 0, 0, 0.03);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #00c6ff;
}

    .why-box h4 {
        margin-top: 0;
        color: #4facfe;
    }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .subheadline {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .trust-badgesHeroSection {
        flex-direction: column;
        gap: 15px;
    }

    .vpn-cards {
        flex-direction: column;
        align-items: center;
    }

    .vpn-card {
        max-width: 100%;
    }
}

.content-section {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin-bottom: 40px;
}


.h2  {
    border-bottom: 2px solid var(--medium-gray);
    padding-bottom: 10px;
}





.vpn-cardWide {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
}

.vpn-card-headerWide {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .vpn-card-headerWide h3 {
        color: white;
        margin: 0;
    }
.vpn-card-bodyWide {
    display: flex;
    flex-direction: column;
    padding: 20px;
}

@media (min-width: 768px) {
    .vpn-card-bodyWide {
        flex-direction: row;
    }
}

.vpn-card-imageWide {
    flex: 0 0 200px;
    margin-right: 20px;
    margin-bottom: 20px;
}

    .vpn-card-imageWide img {
        width: 100%;
        height: auto;
        border-radius: 5px;
    }

.vpn-card-contentWide {
    flex: 1;
}

    .vpn-card-contentWide ul {
        list-style-type: none;
        padding-left: 0;
    }

    .vpn-card-contentWide li {
        margin-bottom: 8px;
        position: relative;
        padding-left: 25px;
    }

        .vpn-card-contentWide li:before {
            content: "✓";
            color: #2563eb;
            position: absolute;
            left: 0;
            font-weight: bold;
        }

.vpn-card-footerWide {
    background-color: var(--light-gray);
    padding: 15px 20px;
    text-align: center;
}
.vpn-rating {
    background-color: #fff;
    color: #2563eb;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}
.pros-cons {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.pros, .cons {
    flex: 1;
    min-width: 250px;
    padding: 15px;
    margin-bottom: 15px;
}

.pros {
    background-color: #f0fdf4;
    border-left: 4px solid #10b981;
}

.cons {
    background-color: #fef2f2;
    border-left: 4px solid #ef4444;
}

    .pros h4, .cons h4 {
        margin-bottom: 10px;
    }

.pros h4 {
    color: #10b981;
}

.cons h4 {
    color: #ef4444;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-question {
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    margin-bottom: 10px;
}

.conclusion {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 8px;
    margin-top: 40px;
}
@media (max-width: 768px) {
    .vpn-card-headerWide {
        flex-direction: column;
        text-align: center;
    }
    .vpn-rating {
        margin-top: 10px;
    }
}
.p2p-badge {
    display: inline-block;
    background: #2ecc71;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-left: 8px;
}
.gaming-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 50px 0;
}
.feature-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #eaeaea;
}

    .feature-card h4 {
        margin-top: 0;
        color: #2c3e50;
    }
    .feature-card h3 {
        color: #1a1a2e;
        margin-bottom: 15px;
        font-size: 1.3rem;
    }


.ping-badge {
    display: inline-block;
    background: #4b6cb7;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-left: 8px;
}
.verdict-box {
    background: #e8f4fc;
    border-left: 4px solid #3498db;
    padding: 15px;
    margin: 20px 0;
}
.cta-button {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin: 20px 0;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #2980b9;
}

.skyscraper-float {
    position: sticky;
    top: 100px; /* Adjust based on your header height */
    float: right;
    margin-left: 20px;
    width: 300px;
}

.hero {
    text-align: center;
    margin-bottom: 40px;
    margin-top: 40px;
}

    .hero p {
        font-size: 1.1rem;
        max-width: 800px;
        margin: 0 auto 30px;
    }

.comparison-section {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 40px;
}
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    overflow-x: auto;
    display: block;
}

    .comparison-table th, .comparison-table td {
        padding: 15px;
        text-align: center;
        border: 1px solid #ddd;
    }

    .comparison-table th {
        background-color: #f2f2f2;
        font-weight: bold;
    }
.best-choice {
    background-color: #e8f5e9;
    position: relative;
}

    .best-choice::after {
        content: "BEST CHOICE";
        position: absolute;
        top: -10px;
        right: 10px;
        background-color: #4CAF50;
        color: white;
        padding: 3px 8px;
        border-radius: 4px;
        font-size: 0.7rem;
        font-weight: bold;
    }
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.vpn-pros-cons {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}
.vpn-review {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

    .vpn-review h3 {
        text-align: center;
        margin-bottom: 20px;
        color: #1a1a2e;
    }

.pros-list, .cons-list {
    list-style-type: none;
}

    .pros-list li::before {
        content: "✓";
        color: #4CAF50;
        font-weight: bold;
        display: inline-block;
        width: 1.5em;
        margin-left: -1.5em;
    }

    .cons-list li::before {
        content: "✗";
        color: #f44336;
        font-weight: bold;
        display: inline-block;
        width: 1.5em;
        margin-left: -1.5em;
    }
/* FAQ Section */
.faq-section {
    margin: 50px 0;
}

.faq-item {
    margin-bottom: 20px;
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-question {
    font-weight: bold;
    font-size: 1.1rem;
    color: #1a1a2e;
    margin-bottom: 10px;
}
/* Footer CTA */
.footer-cta {
    text-align: center;
    background: linear-gradient(135deg, #1e293b 0%, #1e293b 100%);
    color: white;
    padding: 50px 20px;
    border-radius: 8px;
    margin: 50px 0;
}

    .footer-cta h2 {
        color: white;
    }
.benefits-box, .vpn-features, .vpn-table {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.benefits-list {
    list-style-type: none;
    padding-left: 0;
}

    .benefits-list li {
        padding: 8px 0;
        position: relative;
        padding-left: 30px;
    }

        .benefits-list li:before {
            content: "✔";
            color: #10b981;
            position: absolute;
            left: 0;
            font-weight: bold;
        }
.cta-box {
    background-color: var(--primary);
    color: white;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    margin: 40px 0;
}



figure {
    max-width: 80%;
    margin:0 auto;
    text-align: center;
}

    figure img {
        max-width: 100%;
        height: auto;
        display: block;
    }

figcaption {
    text-align: center;
    font-size: 0.9rem;
    color: #555;
    margin-top: 0.5em;
}


.sticky-toc {
    position: sticky;
    top: 100px;
    max-height: 80vh;
    overflow-y: auto;
}

.toc a {
    display: block;
    margin-bottom: 8px;
    color: #007bff;
    text-decoration: none;
}

    .toc a:hover {
        text-decoration: underline;
    }