:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --accent: #22d3ee;
  --accent-glow: rgba(34, 211, 238, 0.3);
  --bg-dark: #0f0f1a;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --gradient: linear-gradient(135deg, var(--primary), var(--accent));
  --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  --radius: 16px;
  --radius-sm: 8px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 15, 26, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.logo-icon {
  font-size: 1.75rem;
}

.logo .accent {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--accent);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: 0.3s;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 30% 20%,
      rgba(99, 102, 241, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 70% 80%,
      rgba(34, 211, 238, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 50% 50%,
      rgba(99, 102, 241, 0.05) 0%,
      transparent 70%
    );
  animation: pulse 8s ease-in-out infinite alternate;
}

@keyframes pulse {
  0% {
    opacity: 0.8;
  }
  100% {
    opacity: 1;
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-size: 0.875rem;
  color: var(--accent);
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease-out;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 32px;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

.btn-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-secondary {
  background: var(--glass);
  color: var(--text);
  border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.btn-large {
  padding: 18px 36px;
  font-size: 1.125rem;
}

.trust-badges {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

.trust-badges .badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.trust-badges .badge span {
  color: var(--success);
}

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

/* Comparison Section */
.comparison-section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.125rem;
}

.year-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--gradient);
  border-radius: 50px;
  font-size: 0.875rem;
  vertical-align: middle;
}

.filter-bar {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 10px 20px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.vpn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.vpn-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s;
}

.vpn-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.3);
}

.vpn-card.featured {
  border-color: var(--primary);
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.1),
    rgba(34, 211, 238, 0.05)
  );
}

.card-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  padding: 6px 16px;
  background: var(--gradient);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
}

.vpn-header {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.logo-circle {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.logo-circle.nord {
  background: linear-gradient(135deg, #4687ff, #6a43e8);
}
.logo-circle.surfshark {
  background: linear-gradient(135deg, #1bd9b0, #00a1e9);
}
.logo-circle.express {
  background: linear-gradient(135deg, #da3940, #b5161d);
}
.logo-circle.proton {
  background: linear-gradient(135deg, #6d4aff, #9a42ff);
}
.logo-circle.pia {
  background: linear-gradient(135deg, #4bb748, #339c31);
}

.vpn-info h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stars {
  color: var(--warning);
  letter-spacing: 2px;
}

.score {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.vpn-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 16px;
  background: var(--glass);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}

.stat {
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.vpn-features {
  list-style: none;
  margin-bottom: 20px;
}

.vpn-features li {
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.vpn-features li::before {
  color: var(--success);
}

.vpn-pricing {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
}

.price {
  font-size: 2rem;
  font-weight: 700;
}

.price .currency {
  font-size: 1rem;
  vertical-align: super;
}

.price .period {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 400;
}

.original-price {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.discount {
  padding: 4px 8px;
  background: rgba(16, 185, 129, 0.2);
  color: var(--success);
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Quiz Section */
.quiz-section {
  padding: 60px 0;
}

.quiz-card {
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.2),
    rgba(34, 211, 238, 0.1)
  );
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 60px 40px;
  text-align: center;
}

.quiz-icon {
  font-size: 4rem;
  margin-bottom: 20px;
}

.quiz-card h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.quiz-card p {
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Features Section */
.features-section {
  padding: 100px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  transition: all 0.3s;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--glass-border);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--primary);
  transition: transform 0.3s;
}

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

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

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

.faq-answer p {
  padding-bottom: 24px;
  color: var(--text-muted);
}

/* Newsletter */
.newsletter-section {
  padding: 60px 0;
}

.newsletter-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 60px 40px;
  text-align: center;
}

.newsletter-card h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.newsletter-card > p {
  color: var(--text-muted);
  margin-bottom: 32px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto 16px;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 1rem;
}

.newsletter-form input::placeholder {
  color: var(--text-muted);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary);
}

.newsletter-note {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Footer */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--glass-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 16px;
  max-width: 300px;
}

.footer-links h4 {
  font-size: 1rem;
  margin-bottom: 20px;
  color: var(--text);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--glass-border);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .trust-badges {
    flex-direction: column;
    align-items: center;
  }

  .vpn-grid {
    grid-template-columns: 1fr;
  }

  .filter-bar {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 12px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand p {
    max-width: none;
  }
}

/* ===== ENHANCED SECTIONS ===== */

/* Testimonials */
.testimonials-section {
  padding: 80px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.3s;
}

.testimonial-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  border-color: var(--primary);
}

.testimonial-stars {
  color: var(--warning);
  font-size: 1.25rem;
  margin-bottom: 16px;
  letter-spacing: 4px;
}

.testimonial-text {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 600;
  color: var(--text);
}

.author-title {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Deal Banner with Countdown */
.deal-banner {
  padding: 40px 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(34, 211, 238, 0.1));
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.deal-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.deal-text {
  flex: 1;
  min-width: 280px;
}

.deal-badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--warning);
  color: #000;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 8px;
  animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.deal-text h3 {
  font-size: 1.75rem;
  margin-bottom: 8px;
}

.deal-text p {
  color: var(--text-muted);
}

.deal-countdown {
  display: flex;
  gap: 16px;
}

.countdown-item {
  text-align: center;
  padding: 16px 20px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  min-width: 70px;
}

.countdown-value {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.countdown-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Glowing Button */
.btn-glow {
  animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 20px var(--accent-glow); }
  50% { box-shadow: 0 0 40px var(--accent-glow), 0 0 60px rgba(34, 211, 238, 0.2); }
}

/* Social Proof Bar */
.social-proof {
  padding: 48px 0;
  background: var(--bg-card);
}

.proof-items {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 32px;
}

.proof-item {
  text-align: center;
}

.proof-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.proof-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Enhanced Animations */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.vpn-card.featured {
  animation: float 4s ease-in-out infinite;
}

/* Shimmer effect for featured cards */
.card-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Mobile responsive for new sections */
@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .deal-content {
    flex-direction: column;
    text-align: center;
  }
  
  .deal-countdown {
    justify-content: center;
  }
  
  .proof-items {
    grid-template-columns: repeat(2, 1fr);
    display: grid;
  }
}

/* ===== E-E-A-T & FRESHNESS SIGNALS ===== */

/* Article Meta (Freshness Signal) */
.article-meta {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Author Bio Section */
.author-section {
  padding: 60px 0;
  background: var(--bg-card);
}

.author-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 32px;
}

.author-avatar-large {
  width: 100px;
  height: 100px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.author-content h3 {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.author-title {
  color: var(--accent);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.author-bio {
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.7;
}

.author-credentials {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.credential-badge {
  padding: 6px 12px;
  background: rgba(99, 102, 241, 0.2);
  border-radius: 50px;
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
}

/* Table of Contents */
.toc-section {
  padding: 40px 0;
}

.toc-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 24px;
  max-width: 400px;
  margin: 0 auto;
}

.toc-card h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toc-list {
  list-style: none;
}

.toc-list li {
  margin-bottom: 8px;
}

.toc-list a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s;
}

.toc-list a:hover {
  color: var(--accent);
}

/* Reading Progress Bar */
.reading-progress {
  position: fixed;
  top: 70px;
  left: 0;
  height: 3px;
  background: var(--gradient);
  z-index: 999;
  width: 0%;
  transition: width 0.1s;
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 12px 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.breadcrumbs span {
  margin: 0 8px;
}

@media (max-width: 768px) {
  .article-meta {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  
  .author-card {
    flex-direction: column;
    text-align: center;
  }
  
  .author-avatar-large {
    margin: 0 auto;
  }
}
