/* ========================================
   Open VPN Client Page
   Modern design inspired by Surfshark
   ======================================== */

/* Base imports from home-v2 for consistency */
@import url('./home-v2.css');

/* Page Specific Styles */
.page-hero-vpn {
    background: linear-gradient(135deg, #2E5CFF 0%, #1a4acc 100%);
    min-height: 600px;
    padding: 120px 0 100px;
    color: white;
    position: relative;
    overflow: visible;
    margin-top: -90px;
}

.page-hero-vpn::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    height: 800px;
    background: radial-gradient(circle, rgba(102, 178, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.page-hero-vpn::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    height: 600px;
    background: radial-gradient(circle, rgba(46, 92, 255, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.vpn-pricing-section {
    background: linear-gradient(180deg, #f0f4f8 0%, #ffffff 100%);
    padding: 100px 0;
}

.pricing-card-vpn {
    background: white;
    border-radius: 20px;
    padding: 3rem 2.5rem;
    box-shadow: 0 8px 30px rgba(46, 92, 255, 0.12);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    border: 2px solid #e2e8f0;
    position: relative;
    overflow: visible;
}

.pricing-card-vpn::before {
    content: '';
    position: absolute;
    top: 0.5px;
    right: 11px;
    height: 2px;
    background: linear-gradient(90deg, #2E5CFF, #1a4acc);
    border-radius: 20px 20px 0 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    width: 95%;
    text-align: center;
}

.pricing-card-vpn:hover::before {
    opacity: 1;
}

.pricing-card-vpn:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(46, 92, 255, 0.2);
    border-color: #2E5CFF;
}

.pricing-card-vpn.featured {
    background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
    border: 3px solid #2E5CFF;
    transform: scale(1.05);
    z-index: 2;
    margin-top: 12px;
    margin-bottom: 12px;
}

.pricing-card-vpn.featured::before {
    opacity: 1;
}

.pricing-card-vpn.featured:hover {
    transform: translateY(-15px) scale(1.07);
}

.badge-recommended {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #2E5CFF 0%, #1a4acc 100%);
    color: white;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(46, 92, 255, 0.4);
    z-index: 10;
    animation: bounce 2s infinite;
    white-space: nowrap;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-8px);
    }
}

.price-display-vpn {
    text-align: center;
    padding: 2.5rem 0;
    position: relative;
}

.price-amount-vpn {
    font-size: 4rem;
    font-weight: 800;
    color: #2E5CFF;
    line-height: 1;
    margin: 1rem 0;
}

.price-currency-vpn {
    font-size: 1.75rem;
    font-weight: 600;
    color: #2E5CFF;
    vertical-align: super;
}

.price-period-vpn {
    font-size: 1.1rem;
    color: #64748b;
    font-weight: 500;
}

.pricing-toggle-vpn {
    display: inline-flex;
    background: white;
    border-radius: 60px;
    padding: 0.5rem;
    box-shadow: 0 8px 30px rgba(46, 92, 255, 0.15);
    position: relative;
    margin-bottom: 3rem;
    justify-content: space-between;
}

.toggle-btn-vpn {
    padding: 0.875rem 2rem;
    border: none;
    background: transparent;
    color: #64748b;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toggle-btn-vpn:hover {
    color: #1e3c72;
}

.toggle-btn-vpn.active {
    background: linear-gradient(135deg, #2E5CFF 0%, #1a4acc 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(46, 92, 255, 0.3);
}

.discount-badge-vpn {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}

.btn-primary-vpn {
    background: linear-gradient(135deg, #2E5CFF 0%, #1a4acc 100%);
    border: none;
    color: white;
    padding: 1.1rem 2.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(46, 92, 255, 0.3);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.btn-primary-vpn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary-vpn:hover::before {
    left: 100%;
}

.btn-primary-vpn:hover {
    background: linear-gradient(135deg, #3d6bff 0%, #2E5CFF 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(46, 92, 255, 0.4);
}

.btn-outline-vpn {
    background: transparent;
    border: 2px solid #2E5CFF;
    color: #2E5CFF;
    padding: 1.1rem 2.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-outline-vpn:hover {
    background: #2E5CFF;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(46, 92, 255, 0.3);
}

.features-list-vpn {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.features-list-vpn li {
    padding: 1rem 0;
    color: #4a5568;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.features-list-vpn li:hover {
    color: #1e3c72;
    padding-left: 0.5rem;
}

.features-list-vpn li::before {
    content: '🔒';
    margin-right: 0.875rem;
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* Feature Highlights */
.vpn-features-section {
    padding: 100px 0;
    background: white;
}

.feature-highlight-vpn {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #f0f4f8 0%, #ffffff 100%);
    border-radius: 24px;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.feature-highlight-vpn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(30, 60, 114, 0.1);
}

.feature-icon-vpn {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #2E5CFF 0%, #1a4acc 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(46, 92, 255, 0.3);
}

.feature-content-vpn h3 {
    font-size: 1.5rem;
    color: #2E5CFF;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.feature-content-vpn p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

/* Server Map */
.server-map-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    padding: 100px 0;
    color: #2c3e50;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.server-map-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(46, 92, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.server-map-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(46, 92, 255, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite reverse;
}

.server-stat-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    border: 2px solid #e2e8f0;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.server-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #2E5CFF, transparent);
    transform: scaleX(0);
    transition: transform 0.6s ease;
}

.server-stat-card:hover::before {
    transform: scaleX(1);
}

.server-stat-card:hover {
    transform: translateY(-10px) scale(1.03);
    border-color: #2E5CFF;
    box-shadow: 0 20px 60px rgba(46, 92, 255, 0.2);
}

.server-stat-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.server-stat-card:hover .server-stat-icon {
    transform: scale(1.2) rotate(10deg);
    animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    }
    50% {
        filter: drop-shadow(0 4px 12px rgba(46, 92, 255, 0.4));
    }
}

.server-stat-content {
    position: relative;
    z-index: 2;
}

.server-stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #2E5CFF;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.server-stat-card:hover .server-stat-number {
    transform: scale(1.1);
    color: #1a4acc;
}

.server-stat-label {
    font-size: 1.1rem;
    color: #64748b;
    font-weight: 500;
}

.server-stat-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(46, 92, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    z-index: 0;
}

.server-stat-card:hover .server-stat-glow {
    width: 300px;
    height: 300px;
}

/* Testimonials */
.vpn-testimonials {
    background: linear-gradient(135deg, #f0f4f8 0%, #e9ecef 100%);
    padding: 100px 0;
}

.testimonial-card-vpn {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(30, 60, 114, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card-vpn::before {
    content: '"';
    position: absolute;
    top: 1.5rem;
    left: 2rem;
    font-size: 4rem;
    color: #2E5CFF;
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card-vpn:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(30, 60, 114, 0.15);
}

/* Responsive */
@media (max-width: 991px) {
    .page-hero-vpn {
        padding: 100px 0 70px;
        min-height: 500px;
    }

    .page-hero-vpn h1 {
        font-size: 2.5rem !important;
    }

    .page-hero-vpn p {
        font-size: 1.1rem !important;
    }

    .hero-badge {
        padding: 0.45rem 0.9375rem !important;
        margin-bottom: 1.25rem !important;
    }

    .hero-badge span {
        font-size: 0.875rem !important;
    }

    .price-amount-vpn {
        font-size: 3.5rem;
    }

    .pricing-card-vpn.featured {
        transform: scale(1);
    }

    .pricing-card-vpn.featured:hover {
        transform: translateY(-10px) scale(1.02);
    }

    .badge-recommended {
        font-size: 0.75rem;
        padding: 6px 20px;
        top: -10px;
    }

    .feature-highlight-vpn {
        flex-direction: column;
        text-align: center;
    }

    .server-stat-card {
        padding: 2rem 1.5rem;
    }

    .server-stat-icon {
        font-size: 3rem;
    }

    .server-stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 767px) {
    .page-hero-vpn {
        padding: 80px 0 50px;
        min-height: 450px;
    }

    .page-hero-vpn h1 {
        font-size: 2rem !important;
    }

    .page-hero-vpn p {
        font-size: 1rem !important;
    }

    .price-amount-vpn {
        font-size: 2.5rem;
    }

    .price-currency-vpn {
        font-size: 1.25rem;
    }

    .pricing-card-vpn {
        padding: 2rem 1.5rem;
    }

    .pricing-card-vpn:hover {
        transform: translateY(-8px) scale(1.01);
    }

    .toggle-btn-vpn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .badge-recommended {
        font-size: 0.7rem;
        padding: 5px 16px;
        top: -8px;
    }

    .section-title {
        font-size: 1.75rem !important;
    }

    .section-subtitle {
        font-size: 0.95rem !important;
    }

    .server-map-section {
        padding: 60px 0;
    }

    .server-stat-card {
        padding: 1.75rem 1.25rem;
        margin-bottom: 1rem;
    }

    .server-stat-icon {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
    }

    .server-stat-number {
        font-size: 2rem;
    }

    .server-stat-label {
        font-size: 0.95rem;
    }

    .server-stat-card:hover {
        transform: translateY(-5px) scale(1.01);
    }

    .server-stat-card:hover .server-stat-icon {
        transform: scale(1.1);
    }

    /* Feature Highlights */
    .feature-highlight-vpn {
        padding: 2rem 1.5rem;
    }

    .feature-icon-vpn {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    .feature-content-vpn h3 {
        font-size: 1.25rem;
    }

    .feature-content-vpn p {
        font-size: 0.95rem;
    }

    /* Testimonials */
    .testimonial-card-vpn {
        padding: 1.5rem;
    }

    /* Buttons */
    .btn-primary-vpn,
    .btn-outline-vpn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    /* Pricing toggle */
    .pricing-toggle-vpn {
        margin-bottom: 2rem;
        transform: scale(0.95);
    }

    /* Hero badge */
    .hero-badge {
        padding: 0.4rem 0.875rem !important;
        margin-bottom: 1rem !important;
    }

    .hero-badge span {
        font-size: 0.85rem !important;
    }

    .page-hero-vpn > .container > .row > .col-lg-7 > div:first-child {
        padding: 0.4rem 0.875rem;
        margin-bottom: 1rem;
    }

    .page-hero-vpn > .container > .row > .col-lg-7 > div:first-child span {
        font-size: 0.85rem;
    }

    /* Hero emoji */
    .page-hero-vpn .col-lg-5 > div {
        font-size: 6rem !important;
    }

    /* Service emoji in pricing cards */
    .pricing-card-vpn .text-center > div:first-child {
        font-size: 3rem !important;
    }

    .pricing-card-vpn .service-title {
        font-size: 1.25rem !important;
    }

    /* Price save badge */
    .price-save-badge-vpn {
        font-size: 0.75rem !important;
        padding: 4px 12px !important;
    }

    /* Features list */
    .features-list-vpn li {
        font-size: 0.9rem;
        padding: 0.875rem 0;
    }

    /* FAQ accordion */
    .faq-button {
        font-size: 0.95rem;
        padding: 1rem 0.875rem;
    }

    .faq-content p {
        font-size: 0.9rem;
    }

    /* Service card buttons stack */
    .service-card-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .service-card-buttons .btn-primary-vpn,
    .service-card-buttons .btn-outline-vpn {
        width: 100%;
    }
}

/* Extra small devices (phones, less than 576px) */
@media (max-width: 575px) {
    .page-hero-vpn {
        padding: 60px 0 40px;
        min-height: 400px;
    }

    .page-hero-vpn h1 {
        font-size: 1.75rem !important;
        margin-bottom: 1rem !important;
    }

    .page-hero-vpn p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
    }

    .page-hero-vpn .col-lg-5 > div {
        font-size: 5rem !important;
    }

    /* Hero badge */
    .hero-badge {
        padding: 0.35rem 0.75rem !important;
        margin-bottom: 0.75rem !important;
    }

    .hero-badge span {
        font-size: 0.75rem !important;
    }

    /* Server stat cards - full width on very small screens */
    .server-map-section .row > div {
        width: 100%;
    }

    .server-stat-card {
        padding: 1.5rem 1rem;
        margin-bottom: 0.75rem;
    }

    .server-stat-icon {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .server-stat-number {
        font-size: 1.75rem;
    }

    .server-stat-label {
        font-size: 0.85rem;
    }

    /* Pricing section */
    .vpn-pricing-section {
        padding: 60px 0;
    }

    .pricing-card-vpn {
        padding: 1.75rem 1.25rem;
    }

    .pricing-card-vpn .text-center > div:first-child {
        font-size: 2.5rem !important;
        margin-bottom: 0.75rem;
    }

    .price-amount-vpn {
        font-size: 2rem;
    }

    .price-currency-vpn {
        font-size: 1rem;
    }

    .price-period-vpn {
        font-size: 0.85rem;
    }

    /* Section spacing */
    .vpn-features-section,
    .vpn-testimonials,
    .faq-section {
        padding: 60px 0;
    }

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

    .section-subtitle {
        font-size: 0.9rem !important;
    }

    /* Feature highlights stack better */
    .feature-highlight-vpn {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
    }

    .feature-icon-vpn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .feature-content-vpn h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .feature-content-vpn p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    /* Testimonials */
    .testimonial-card-vpn {
        padding: 1.25rem;
    }

    .testimonial-card-vpn p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .testimonial-card-vpn > div > div:first-child {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .testimonial-card-vpn > div > div:last-child > div:first-child {
        font-size: 0.95rem;
    }

    .testimonial-card-vpn > div > div:last-child > div:last-child {
        font-size: 0.8rem;
    }

    /* FAQ section */
    .faq-section {
        padding: 60px 0;
    }

    .faq-item {
        margin-bottom: 0.75rem;
    }

    .faq-button {
        font-size: 0.9rem;
        padding: 0.875rem;
    }

    .faq-content {
        padding: 0.875rem;
    }

    .faq-content p {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    /* Pricing toggle */
    .pricing-toggle-vpn {
        width: 100%;
        max-width: 300px;
        transform: scale(1);
    }

    .toggle-btn-vpn {
        padding: 0.625rem 1rem;
        font-size: 0.85rem;
    }

    .discount-badge-vpn {
        font-size: 0.65rem;
        padding: 2px 6px;
        margin-left: 0.25rem;
    }

    /* Buttons */
    .btn-primary-vpn,
    .btn-outline-vpn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    /* Hero buttons */
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-buttons .btn-custom-primary {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
}
