/* HugoStresser - Red Style */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

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

:root {
  --bg: #0a0a0a;
  --bg-card: #111;
  --border: #222;
  --text: #fff;
  --text-muted: #888;
  --red-primary: #e63946;
  --red-glow: rgba(230, 57, 70, 0.4);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'JetBrains Mono', monospace;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s, opacity 0.2s;
}

a:hover { opacity: 0.9; }

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  text-shadow: 0 0 20px var(--red-glow);
}

.logo span { color: var(--red-primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  border-radius: 4px;
  border: 1px solid var(--red-primary);
  color: var(--red-primary);
  transition: all 0.2s;
}

.btn:hover {
  background: var(--red-primary);
  color: var(--bg);
  box-shadow: 0 0 20px var(--red-glow);
}

.btn-primary {
  background: var(--red-primary);
  color: var(--bg);
  border-color: var(--red-primary);
}

.btn-primary:hover {
  box-shadow: 0 0 25px var(--red-glow);
}

.nav-auth { margin-left: 0.5rem; }

/* Hero */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 50%, rgba(230, 57, 70, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(230, 57, 70, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 57, 70, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  background: rgba(230, 57, 70, 0.2);
  border: 1px solid var(--red-primary);
  border-radius: 4px;
  font-size: 0.75rem;
  color: var(--red-primary);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero h1 span { color: var(--red-primary); }

.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.hero .btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Sections */
section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.75rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 0.75rem;
}

.section-title span { color: var(--red-primary); }

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  transition: all 0.2s;
}

.card:hover {
  border-color: var(--red-primary);
  box-shadow: 0 0 30px var(--red-glow);
}

.card h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.card h3 span { color: var(--red-primary); }

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

/* Stats block */
.stats-block {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .stats-block { grid-template-columns: repeat(2, 1fr); }
}

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

.stat-value {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--red-primary);
  display: block;
  margin-bottom: 0.25rem;
}

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

/* CTA block */
.cta-block {
  text-align: center;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.cta-block h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.cta-block h2 span { color: var(--red-primary); }

.cta-block p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* Compare table */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.compare-table th,
.compare-table td {
  padding: 1rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.compare-table th {
  background: var(--bg-card);
  font-family: 'Orbitron', sans-serif;
  font-size: 0.9rem;
}

.compare-table tr:last-child td { border-bottom: none; }

.compare-table tr:hover td { background: rgba(230, 57, 70, 0.05); }

.compare-table .check { color: var(--red-primary); }

/* Popular tests */
.popular-tests {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.popular-tests .card {
  padding: 1.5rem;
}

.popular-tests .card a {
  color: var(--red-primary);
}

/* How it works */
.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .how-steps { grid-template-columns: 1fr; }
}

.how-step {
  text-align: center;
}

.how-step .num {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: var(--red-primary);
  color: var(--bg);
  border-radius: 50%;
  font-weight: 700;
  margin-bottom: 1rem;
}

.how-step h4 { font-size: 1rem; margin-bottom: 0.5rem; }

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

/* FAQ */
.faq-block {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

.faq-item h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.faq-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Page content (info pages) */
.page-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 8rem 2rem 4rem;
}

.page-content h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.page-content .updated {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.page-content h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.25rem;
  margin: 2rem 0 1rem;
}

.page-content h3 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.75rem;
}

.page-content p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.page-content p:first-of-type { color: var(--text); }

.page-content a { color: var(--red-primary); }

/* Footer */
.footer {
  padding: 3rem 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 1rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

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