/* CSS Variables - Dark Blue Neon Theme */
:root {
    --bg-dark: #050A14;
    --bg-card: #0F1623;
    --bg-card-hover: #162032;
    --primary: #00F0FF; /* Cyan Neon */
    --primary-hover: #00C2CF;
    --secondary: #2E4569; /* Muted Blue */
    --accent: #FF0055; /* Hot Pink for contrasts */
    --text-main: #FFFFFF;
    --text-muted: #A0AEC0;
    --success: #00FF99;
    --gradient-main: linear-gradient(135deg, #00F0FF 0%, #0066FF 100%);
    --gradient-glow: radial-gradient(circle, rgba(0, 240, 255, 0.15) 0%, rgba(5, 10, 20, 0) 70%);
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-neon: 0 0 15px rgba(0, 240, 255, 0.3);
    
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-main);
}

.text-accent { color: var(--primary); }
.text-green { color: var(--success); }
.text-gradient {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    text-align: center;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--gradient-main);
    color: #000;
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 240, 255, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--primary);
}

.btn-lg { padding: 16px 40px; font-size: 1.1rem; }
.btn-block { display: block; width: 100%; }
.btn-sm { padding: 8px 16px; font-size: 0.9rem; }

.glow-effect {
    position: relative;
    overflow: hidden;
}

.glow-effect::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform:  translateX(-150%) rotate(45deg); }
    100% { transform: translateX(150%) rotate(45deg); }
}

/* Header */
header {
    background: rgba(5, 10, 20, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo i { color: var(--primary); margin-right: 5px; }

.nav-menu ul { display: flex; gap: 30px; }
.nav-menu a {
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary);
    transition: 0.3s;
}

.nav-menu a:hover::after { width: 100%; }
.nav-menu a:hover { color: var(--primary); }

.mobile-menu-toggle { display: none; font-size: 1.5rem; cursor: pointer; }

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: var(--gradient-glow);
    z-index: -1;
    pointer-events: none;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--primary);
}

/* Sections */
.section { padding: 80px 0; }
.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
}

.section-desc {
    text-align: center;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 60px;
}

/* Criteria Grid */
.criteria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.criteria-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: 0.3s;
    text-align: center;
}

.criteria-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-neon);
}

.icon-box {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.criteria-card h3 { margin-bottom: 10px; }
.criteria-card p { font-size: 0.9rem; color: var(--text-muted); }

/* Rating Cards - The core feature */
.vpn-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
    display: grid;
    grid-template-columns: 1fr;
}

.vpn-card.featured {
    border: 2px solid var(--primary);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.1);
}

.vpn-card-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--primary);
    color: #000;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Desktop layout for cards */
@media (min-width: 900px) {
    .vpn-card {
        grid-template-columns: 250px 1fr 280px;
        align-items: stretch;
    }
    
    .vpn-header {
        background: rgba(255,255,255,0.03);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 30px;
        text-align: center;
        border-right: 1px solid var(--border-color);
    }
    
    .vpn-body { padding: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
    
    .vpn-footer {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 30px;
        background: rgba(0,0,0,0.2);
        border-left: 1px solid var(--border-color);
        gap: 15px;
    }
    
    /* Specs fix for grid */
    .vpn-specs, .vpn-pricing-details, .vpn-pros-cons, .vpn-testimonial { grid-column: span 2; }
    .vpn-specs { grid-column: span 2; display: flex; justify-content: space-between; border-bottom: 1px solid var(--border-color); padding-bottom: 20px; }
    .vpn-pricing-details { grid-column: span 1; }
    .vpn-pros-cons { grid-column: span 1; }
    .vpn-testimonial { grid-column: span 2; margin-top: auto; background: rgba(255,255,255,0.03); padding: 15px; border-radius: 8px; font-style: italic; }
}

.vpn-rank {
    font-size: 4rem;
    font-family: var(--font-heading);
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 10px;
}
.rank-2 span { color: #C0C0C0; }
.rank-3 span { color: #CD7F32; }

.rating-stars { color: #FFD700; letter-spacing: 2px; }
.rating-score { font-size: 0.9rem; font-weight: 700; color: var(--text-muted); margin-left: 5px; }

.vpn-price-highlight {
    margin-top: 15px;
}
.price-val { font-size: 2rem; font-weight: 700; color: var(--text-main); display: block; }
.price-period { font-size: 0.8rem; color: var(--text-muted); }

.vpn-specs ul { display: flex; flex-wrap: wrap; gap: 15px; list-style: none; }
.vpn-specs li { font-size: 0.9rem; color: var(--text-muted); display: flex; align-items: center; gap: 8px;}
.vpn-specs li i { color: var(--primary); }
.vpn-specs li strong { color: var(--text-main); }

.vpn-pricing-details { display: flex; flex-direction: column; gap: 10px; }
.price-option { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; background: rgba(255,255,255,0.03); border-radius: 6px; font-size: 0.9rem; }
.price-option.featured-option { border: 1px solid var(--success); background: rgba(0, 255, 153, 0.05); }

.vpn-pros-cons { display: flex; flex-direction: column; gap: 15px; }
.pros h4 { color: var(--success); margin-bottom: 5px; font-size: 0.9rem; }
.cons h4 { color: var(--accent); margin-bottom: 5px; font-size: 0.9rem; }
.pros ul li, .cons ul li { font-size: 0.85rem; padding-left: 20px; position: relative; margin-bottom: 5px; }
.pros ul li i, .cons ul li i { position: absolute; left: 0; top: 4px; font-size: 0.8rem; }
.pros ul li i { color: var(--success); }
.cons ul li i { color: var(--accent); }

.trial-info { font-size: 0.85rem; text-align: center; color: var(--success); }

/* Table Section */
.table-responsive { overflow-x: auto; }
.comparison-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.comparison-table th, .comparison-table td { padding: 15px; text-align: center; border-bottom: 1px solid var(--border-color); }
.comparison-table th { background: rgba(255,255,255,0.05); color: var(--primary); font-family: var(--font-heading); }
.comparison-table td:first-child { text-align: left; font-weight: 600; }

/* Reviews */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.review-card { background: var(--bg-card); padding: 25px; border-radius: 12px; border: 1px solid var(--border-color); }
.review-header { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.reviewer-avatar { width: 40px; height: 40px; background: var(--gradient-main); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; color: #000; }
.review-rating { margin-left: auto; color: #FFD700; }
.review-text { font-style: italic; color: var(--text-muted); }

/* FAQ */
.accordion { max-width: 800px; margin: 0 auto; }
.accordion-item { border-bottom: 1px solid var(--border-color); }
.accordion-header { width: 100%; padding: 20px; background: none; border: none; text-align: left; color: var(--text-main); font-size: 1.1rem; font-weight: 500; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: 0.3s; }
.accordion-header:hover { color: var(--primary); }
.accordion-content { max-height: 0; overflow: hidden; transition: 0.3s ease; padding: 0 20px; color: var(--text-muted); }
.accordion-header.active i { transform: rotate(180deg); }
.accordion-header.active + .accordion-content { padding-bottom: 20px; max-height: 200px; }

/* Footer */
footer { border-top: 1px solid var(--border-color); padding: 50px 0 20px; background: #02050a; }
.footer-container { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: var(--text-muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--primary); }
.copyright { color: #555; font-size: 0.8rem; }

/* Mobile Adaptations */
@media (max-width: 768px) {
    .nav-menu { display: none; }
    .mobile-menu-toggle { display: block; }
    .hero h1 { font-size: 2.2rem; }
    .hero-features { flex-direction: column; gap: 20px; }
    .vpn-card { grid-template-columns: 1fr; margin: 0 10px 40px; }
    .vpn-header, .vpn-body, .vpn-footer, .vpn-specs { border: none; }
    .vpn-specs { flex-direction: column; align-items: flex-start; }
    .vpn-specs ul { flex-direction: column; gap: 5px; }
}
