@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Syne:wght@400;500;600;700;800&display=swap');

:root {
  --bg-primary: #080c14;
  --bg-secondary: #0d1220;
  --bg-card: #111827;
  --bg-card-hover: #161f30;
  --border: #1e2d45;
  --border-light: #243550;
  --accent: #0ea5e9;
  --accent-dark: #0284c7;
  --accent-glow: rgba(14, 165, 233, 0.15);
  --accent-2: #06b6d4;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --text-primary: #f0f4f8;
  --text-secondary: #8fa3bd;
  --text-muted: #526070;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.5);
  --transition: 0.2s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 3px; }

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4,h5 { font-family: var(--font-display); line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { color: var(--text-secondary); }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-2); }

/* ── LAYOUT ── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(8,12,20,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.nav-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 800; font-size: 1.25rem;
  color: var(--text-primary);
  display: flex; align-items: center; gap: 10px;
}
.nav-logo span { color: var(--accent); }
.logo-icon {
  width: 32px; height: 32px;
  background: var(--accent); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.nav-links {
  display: flex; align-items: center; gap: 32px;
  list-style: none;
}
.nav-links a {
  color: var(--text-secondary); font-size: 0.9rem;
  font-weight: 500; transition: color var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
.nav-cta {
  background: var(--accent); color: #fff !important;
  padding: 8px 20px; border-radius: var(--radius);
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--accent-dark) !important; color: #fff !important; }
.nav-mobile-toggle {
  display: none; background: none; border: none;
  color: var(--text-primary); font-size: 1.5rem; cursor: pointer;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.95rem;
  font-weight: 600; cursor: pointer; border: none;
  transition: all var(--transition); text-decoration: none;
}
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 0 20px rgba(14,165,233,0.25);
}
.btn-primary:hover {
  background: var(--accent-dark); color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 0 28px rgba(14,165,233,0.4);
}
.btn-outline {
  background: transparent; color: var(--text-primary);
  border: 1px solid var(--border-light);
}
.btn-outline:hover {
  border-color: var(--accent); color: var(--accent);
  background: var(--accent-glow);
}
.btn-sm { padding: 8px 18px; font-size: 0.875rem; }

/* ── TAGS / BADGES ── */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 12px; border-radius: 100px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge-blue { background: rgba(14,165,233,0.12); color: var(--accent); border: 1px solid rgba(14,165,233,0.2); }
.badge-green { background: rgba(16,185,129,0.12); color: var(--success); border: 1px solid rgba(16,185,129,0.2); }
.badge-gold { background: rgba(245,158,11,0.12); color: var(--warning); border: 1px solid rgba(245,158,11,0.2); }
.badge-red { background: rgba(239,68,68,0.12); color: var(--danger); border: 1px solid rgba(239,68,68,0.2); }

/* ── CARDS ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
}
.card:hover {
  border-color: var(--border-light);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* ── GRID SYSTEMS ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ── SECTION LABELS ── */
.section-label {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
}
.section-label::before {
  content: ''; display: block;
  width: 28px; height: 2px; background: var(--accent);
}
.section-label span {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent);
}
.section-header { margin-bottom: 48px; }
.section-header p { margin-top: 12px; max-width: 560px; font-size: 1.05rem; }

/* ── DIVIDERS ── */
hr { border: none; border-top: 1px solid var(--border); margin: 32px 0; }
.divider-glow {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin: 0;
}

/* ── STAR RATING ── */
.stars { color: var(--warning); font-size: 0.9rem; letter-spacing: 2px; }

/* ── PROS/CONS ── */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 16px 0; }
.pros, .cons { list-style: none; }
.pros li::before { content: '✓ '; color: var(--success); font-weight: 700; }
.cons li::before { content: '✗ '; color: var(--danger); font-weight: 700; }
.pros li, .cons li { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 6px; }

/* ── BANNER ZONES ── */
.banner-zone {
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(14,165,233,0.05) 100%);
  border: 1px dashed var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px; text-align: center;
  position: relative; overflow: hidden;
}
.banner-zone::before {
  content: 'AD ZONE';
  position: absolute; top: 8px; right: 12px;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em;
  color: var(--text-muted); opacity: 0.5;
}
.banner-placeholder {
  width: 100%; background: rgba(14,165,233,0.06);
  border-radius: var(--radius); display: flex;
  align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 0.85rem; font-weight: 500;
}
.banner-728 { height: 90px; }
.banner-300 { height: 250px; max-width: 300px; margin: 0 auto; }
.banner-160 { height: 600px; max-width: 160px; }

/* ── NEWSLETTER ── */
.newsletter-form {
  display: flex; gap: 12px; max-width: 480px;
  flex-wrap: wrap;
}
.newsletter-form input {
  flex: 1; min-width: 220px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: 12px 16px;
  color: var(--text-primary); font-family: var(--font-body);
  font-size: 0.95rem; outline: none;
  transition: border-color var(--transition);
}
.newsletter-form input::placeholder { color: var(--text-muted); }
.newsletter-form input:focus { border-color: var(--accent); }

/* ── TABLE ── */
.comparison-table {
  width: 100%; border-collapse: collapse;
  font-size: 0.9rem;
}
.comparison-table th {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  font-weight: 600; font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.06em;
  padding: 14px 20px; text-align: left;
  border-bottom: 1px solid var(--border);
}
.comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  vertical-align: middle;
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:hover td { background: var(--bg-card-hover); }
.comparison-table .product-name {
  font-weight: 600; color: var(--text-primary);
  display: flex; align-items: center; gap: 10px;
}
.product-logo {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--accent-glow); border: 1px solid var(--border-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.score-bar {
  display: flex; align-items: center; gap: 10px;
}
.score-bar-track {
  flex: 1; height: 6px; background: var(--border);
  border-radius: 3px; overflow: hidden;
}
.score-bar-fill {
  height: 100%; background: var(--accent);
  border-radius: 3px; transition: width 1s ease;
}
.check { color: var(--success); font-size: 1.1rem; }
.cross { color: var(--danger); font-size: 1.1rem; }

/* ── BLOG CARDS ── */
.blog-card { display: flex; flex-direction: column; }
.blog-img {
  width: 100%; aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
  border-radius: var(--radius) var(--radius) 0 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.blog-content { padding: 20px; flex: 1; }
.blog-meta {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 10px; flex-wrap: wrap;
}
.blog-meta span { font-size: 0.8rem; color: var(--text-muted); }
.blog-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.blog-card h3 a { color: var(--text-primary); }
.blog-card h3 a:hover { color: var(--accent); }
.read-more {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.85rem; font-weight: 600; color: var(--accent);
  margin-top: 12px;
}

/* ── HERO GLOW ── */
.hero-glow {
  position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 600px;
  background: radial-gradient(ellipse at center, rgba(14,165,233,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.dot-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, var(--border) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.4;
  pointer-events: none;
}

/* ── STATS BAR ── */
.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat-item {
  padding: 28px 24px; text-align: center;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 800; color: var(--text-primary);
  display: block;
}
.stat-num span { color: var(--accent); }
.stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }

/* ── FOOTER ── */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-col h4 {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-muted);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  color: var(--text-secondary); font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--text-primary); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 24px; border-top: 1px solid var(--border);
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; color: var(--text-muted); }
.footer-disclaimer {
  font-size: 0.78rem; color: var(--text-muted);
  background: rgba(14,165,233,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px; margin-top: 24px; line-height: 1.5;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(14,165,233,0.2); }
  50% { box-shadow: 0 0 40px rgba(14,165,233,0.4); }
}
.fade-up { animation: fadeUp 0.6s ease forwards; }
.fade-up-1 { animation-delay: 0.1s; opacity: 0; }
.fade-up-2 { animation-delay: 0.2s; opacity: 0; }
.fade-up-3 { animation-delay: 0.3s; opacity: 0; }
.fade-up-4 { animation-delay: 0.4s; opacity: 0; }
.pulse { animation: pulse-glow 3s ease-in-out infinite; }

/* ── MOBILE NAV ── */
.mobile-menu {
  display: none; position: fixed;
  top: 64px; left: 0; right: 0; bottom: 0;
  background: var(--bg-primary);
  z-index: 999; padding: 32px 24px;
  flex-direction: column; gap: 24px;
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--text-secondary); font-size: 1.1rem;
  font-weight: 500; padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stats-bar .stat-item:nth-child(2) { border-right: none; }
  .stats-bar .stat-item:nth-child(3) { border-top: 1px solid var(--border); }
  .stats-bar .stat-item:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .pros-cons { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 56px 0; }
  .comparison-table { display: block; overflow-x: auto; }
}
