/* VARIABLES & THEME */
:root {
    --color-bg-main: #0f1115;
    --color-bg-secondary: #161920;
    --color-bg-card: #1f232e;
    
    --color-primary: #00ff9d; /* Neon Green Accent */
    --color-primary-hover: #00cc7e;
    --color-secondary: #4a5568;
    
    --color-gold: #ffd700;
    --color-silver: #c0c0c0;
    --color-bronze: #cd7f32;

    --color-text-main: #ffffff;
    --color-text-muted: #a0aaec;
    
    --font-main: 'Inter', sans-serif;
    
    --shadow-card: 0 10px 30px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 20px rgba(0, 255, 157, 0.2);
    
    --container-width: 1200px;
    --border-radius: 12px;
}

/* RESET */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: var(--font-main);
    background-color: var(--color-bg-main);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
}
ul { list-style: none; }
a { text-decoration: none; color: inherit; transition: 0.3s ease; }
button { font-family: inherit; border: none; cursor: pointer; background: none; }

/* UTILS */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}
.container--narrow { max-width: 800px; }
.text-center { text-align: center; }
.text-accent { color: var(--color-primary); }

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    border: 2px solid transparent;
}
.btn--small { padding: 8px 16px; font-size: 0.9rem; }
.btn--lg { padding: 16px 32px; font-size: 1.1rem; }
.btn--primary {
    background: var(--color-primary);
    color: #000;
    box-shadow: var(--shadow-glow);
}
.btn--primary:hover { background: var(--color-primary-hover); transform: translateY(-2px); }

.btn--secondary {
    border-color: var(--color-secondary);
    color: var(--color-text-main);
}
.btn--secondary:hover { background: var(--color-secondary); }

.btn--gold { background: var(--color-gold); color: #000; box-shadow: 0 0 20px rgba(255, 215, 0, 0.3); }
.btn--silver { background: #e0e0e0; color: #000; }
.btn--bronze { background: #e6a76c; color: #000; }
.btn--full { width: 100%; display: block; }

/* HEADER */
.header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    background: rgba(15, 17, 21, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.5rem; }
.logo__icon {
    width: 32px; height: 32px; 
    background: var(--color-primary); 
    border-radius: 6px; 
    display: flex; align-items: center; justify-content: center;
    color: #000;
}
.nav__list { display: flex; gap: 30px; }
.nav__link { color: var(--color-text-muted); font-weight: 500; }
.nav__link:hover { color: var(--color-primary); }

.menu-toggle { display: none; flex-direction: column; gap: 6px; }
.menu-toggle span { width: 25px; height: 2px; background: #fff; }

.mobile-menu {
    display: none;
    position: absolute; top: 100%; left: 0; width: 100%;
    background: var(--color-bg-secondary);
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-menu--active { display: block; }
.mobile-menu__list li { margin-bottom: 15px; text-align: center; }

/* HERO */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(180deg, var(--color-bg-main) 0%, #1a2230 100%);
    position: relative;
    overflow: hidden;
}
.hero__container { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    gap: 40px; 
}
.hero__content { max-width: 600px; }
.hero__title { font-size: 3.5rem; line-height: 1.1; margin-bottom: 20px; font-weight: 800; }
.hero__subtitle { font-size: 1.1rem; color: var(--color-text-muted); margin-bottom: 30px; }
.hero__badges { display: flex; gap: 15px; margin-top: 40px; flex-wrap: wrap; }
.badge { 
    padding: 6px 12px; 
    background: rgba(255,255,255,0.1); 
    border-radius: 20px; 
    font-size: 0.9rem;
    border: 1px solid rgba(255,255,255,0.1);
}

/* HERO VISUAL (CSS Only Placeholder) */
.hero__visual { position: relative; width: 400px; height: 400px; display: flex; justify-content: center; align-items: center; }
.hero__shield-wrapper { position: relative; width: 300px; height: 360px; }
.hero__shield {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #2a2f3d, #1c1f26);
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    display: flex; align-items: center; justify-content: center;
    border: 4px solid var(--color-primary);
    box-shadow: 0 0 50px rgba(0, 255, 157, 0.1);
}
.hero__flag { font-size: 8rem; }
.hero__app-icon {
    position: absolute;
    width: 60px; height: 60px;
    background: #fff;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    color: #000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    font-weight: bold;
}
.app-icon-1 { top: 20px; left: -20px; animation: float 6s ease-in-out infinite; }
.app-icon-2 { top: 50%; right: -30px; animation: float 5s ease-in-out infinite reverse; }
.app-icon-3 { bottom: 40px; left: 0px; animation: float 7s ease-in-out infinite 1s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* SECTIONS */
section { padding: 80px 0; }
.section-title { font-size: 2.5rem; margin-bottom: 50px; font-weight: 700; color: #fff; }

/* CRITERIA */
.criteria { background: var(--color-bg-secondary); }
.criteria__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.criteria__text { font-size: 1.1rem; color: var(--color-text-muted); }
.criteria__text p { margin-bottom: 20px; }
.criteria__list { display: flex; flex-direction: column; gap: 20px; }
.criteria__item { 
    display: flex; gap: 15px; align-items: center; 
    background: var(--color-bg-card); padding: 15px; border-radius: 8px;
    border-left: 3px solid var(--color-primary);
}

/* RATING CARDS (CORE) */
.vpn-card {
    background: var(--color-bg-card);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 40px;
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
    overflow: hidden;
}
.vpn-card--gold { border: 2px solid var(--color-gold); background: linear-gradient(to bottom right, #1f232e, #29261a); }
.vpn-card__badge {
    position: absolute; top: 0; left: 0;
    background: var(--color-gold); color: #000;
    padding: 8px 16px; 
    font-weight: 700; border-bottom-right-radius: 16px;
}
.vpn-card__badge--silver { background: var(--color-silver); }
.vpn-card__badge--bronze { background: var(--color-bronze); }

.vpn-card__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; margin-top: 10px;}
.vpn-card__name { font-size: 2rem; font-weight: 800; }
.vpn-card__rating { font-size: 1.2rem; color: var(--color-gold); font-weight: 700; }

.vpn-card__body { display: grid; grid-template-columns: 1fr 1fr 0.8fr; gap: 40px; margin-bottom: 30px; }

/* Pricing Grid */
.vpn-card__pricing { display: flex; flex-direction: column; gap: 10px; }
.vpn-card__price-item { 
    background: rgba(0,0,0,0.2); padding: 15px; border-radius: 8px; 
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center;
}
.price-item--best { border: 1px solid var(--color-primary); background: rgba(0, 255, 157, 0.05); }
.price-period { font-size: 0.9rem; color: var(--color-text-muted); }
.price-val { font-size: 1.2rem; font-weight: 700; margin: 5px 0; }
.price-save { color: var(--color-primary); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; }

/* Features & Pros/Cons */
.feature-list li { margin-bottom: 10px; font-size: 0.95rem; }
.vpn-card__pros-cons { display: flex; flex-direction: column; gap: 20px; font-size: 0.9rem; }
.pros h4 { color: var(--color-primary); margin-bottom: 10px; }
.cons h4 { color: #ff5555; margin-bottom: 10px; }
.pros ul, .cons ul { padding-left: 20px; }
.pros li { list-style-type: "✓"; padding-left: 10px; color: var(--color-text-muted); }
.cons li { list-style-type: "✕"; padding-left: 10px; color: var(--color-text-muted); }

/* Review Snippet inside Card */
.vpn-card__review-snippet { 
    background: rgba(255,255,255,0.05); padding: 20px; border-radius: 8px; margin-bottom: 25px;
    font-style: italic; border-left: 2px solid var(--color-text-muted);
}
.snippet-author { text-align: right; margin-top: 10px; font-style: normal; font-weight: 600; color: var(--color-text-muted); }

/* COMPARISON TABLE */
.comparison { background: var(--color-bg-secondary); }
.table-responsive { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 800px; }
.compare-table th, .compare-table td { padding: 20px; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.1); }
.compare-table th { background: rgba(0,0,0,0.2); font-weight: 700; }
.compare-table th:first-child { text-align: left; }
.compare-table td:first-child { text-align: left; font-weight: 600; color: var(--color-text-muted); }
.col-highlight { background: rgba(0, 255, 157, 0.03); color: var(--color-primary); font-weight: 700; }

/* REVIEWS & FAQ */
.reviews__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.review-card { background: var(--color-bg-card); padding: 25px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.05); }
.review-card__header { display: flex; justify-content: space-between; margin-bottom: 15px; font-weight: 700; }
.review-card__stars { color: var(--color-gold); }
.review-card__text { color: var(--color-text-muted); margin-bottom: 15px; font-size: 0.95rem; }
.review-card__author { text-align: right; font-size: 0.85rem; font-weight: 600; }

.accordion { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 15px; }
.accordion__item { background: var(--color-bg-card); border-radius: 8px; overflow: hidden; }
.accordion__header { 
    width: 100%; padding: 20px; text-align: left; font-weight: 600; 
    color: #fff; display: flex; justify-content: space-between; align-items: center;
    transition: background 0.2s;
}
.accordion__header:hover { background: rgba(255,255,255,0.05); }
.accordion__header::after { content: '+'; font-size: 1.5rem; color: var(--color-primary); }
.accordion__item.active .accordion__header::after { content: '-'; }
.accordion__content { height: 0; overflow: hidden; transition: all 0.3s ease; padding: 0 20px; color: var(--color-text-muted); }
.accordion__item.active .accordion__content { height: auto; padding: 0 20px 20px; }

/* CONCLUSION & FOOTER */
.conclusion__content { max-width: 800px; margin: 0 auto 40px; font-size: 1.1rem; line-height: 1.8; color: var(--color-text-muted); }
.conclusion__actions { display: flex; flex-direction: column; gap: 15px; align-items: center; }

.guarantee { background: #1a2230; margin-top: 40px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.05); }
.guarantee__list { text-align: left; display: inline-block; margin: 20px 0; color: var(--color-text-muted); }

.footer { padding: 40px 0; border-top: 1px solid rgba(255,255,255,0.1); margin-top: 80px; color: var(--color-text-muted); font-size: 0.9rem; }

/* MEDIA QUERIES */
@media (max-width: 992px) {
    .vpn-card__body { grid-template-columns: 1fr; gap: 20px; }
    .vpn-card__pricing { flex-direction: row; justify-content: space-between; }
    .hero__title { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    .header__btn, .nav { display: none; }
    .menu-toggle { display: flex; }
    
    .hero__container { flex-direction: column; text-align: center; }
    .hero__content { margin: 0 auto; }
    .hero__badges { justify-content: center; }
    .hero__visual { display: none; } /* Hide complex visual on mobile or simplify */
    
    .criteria__grid { grid-template-columns: 1fr; }
    
    .vpn-card__pricing { flex-direction: column; }
    .vpn-card__header { flex-direction: column; align-items: flex-start; gap: 10px; }
    
    .section-title { font-size: 2rem; }
}
