/* ================================================================
   AI Act Readiness – getaiactready.eu / aiacteu.firetail.biz
   Theme: "The Final Countdown"
   Palette: Deep Teal bg, Bright Orange accent, Neon Aqua highlights
   ================================================================ */

/* ---------- Custom Properties ---------- */
:root {
  /* New Color Scheme */
  --primary-bg: #072020;        /* Deep Teal - Primary Background */
  --surface-bg: #093639;        /* Dark Teal - Neutral/Surface */
  --primary-action: #F0850d;    /* Bright Orange - Primary Action */
  --secondary-accent: #00FFFF;  /* Neon Aqua - Secondary Accent */
  --border-color: #104f52;      /* Border/Stroke */

  /* Legacy colors for compatibility */
  --slate-950: #072020;
  --slate-900: #093639;
  --slate-800: #0a4145;
  --slate-700: #104f52;
  --slate-600: #1a6266;
  --slate-400: #aaabab;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --orange-500: #F0850d;
  --orange-600: #d67409;
  --orange-400: #F0850d;
  --orange-300: #ffa940;
  --orange-100: #ffedd5;
  --white: #ffffff;
  --red-500: #ef4444;
  --green-500: #22c55e;
  --yellow-500: #eab308;
  --blue-500: #3b82f6;
}

/* ---------- Utility Classes ---------- */
.glow-effect {
  box-shadow: 0 0 20px -5px rgba(240, 133, 13, 0.3);
}

/* Icon styling */
.icon {
  color: var(--secondary-accent);
  width: 20px;
  height: 20px;
}

.icon-lg {
  color: var(--secondary-accent);
  width: 24px;
  height: 24px;
}

/* Large icons for card sections */
.card-icon .icon-lg {
  width: 48px;
  height: 48px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--slate-950);
  color: var(--slate-300);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--orange-400); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--orange-300); }

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 32, 32, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.85rem 2rem;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
}
.nav-logo .accent { color: var(--orange-500); }
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.nav-links a {
  color: var(--slate-400);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-links .cta-link {
  background: var(--orange-500);
  color: var(--white);
  padding: 0.45rem 1.1rem;
  border-radius: 6px;
  font-weight: 600;
}
.nav-links .cta-link:hover { background: var(--orange-600); color: var(--white); }

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; color: var(--white); font-size: 1.5rem; cursor: pointer; }

/* ---------- Hero / Countdown ---------- */
.hero {
  text-align: center;
  padding: 6rem 2rem 4rem;
  background: linear-gradient(180deg, #072020 0%, #0A0A0B 100%);
  position: relative;
  overflow: hidden;
}

/* Grid overlay */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 49px, #093639 49px, #093639 50px),
    repeating-linear-gradient(90deg, transparent, transparent 49px, #093639 49px, #093639 50px);
  pointer-events: none;
  z-index: 1;
}

/* Radar sweep */
.hero::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background: conic-gradient(transparent 0%, transparent 70%, #00ffff 100%);
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0.1;
  pointer-events: none;
  animation: radar-sweep 8s linear infinite;
  backdrop-filter: blur(2px);
  z-index: 1;
}

@keyframes radar-sweep {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Radar nodes */
.hero .radar-node {
  position: absolute;
  width: 3px;
  height: 3px;
  background: #00ffff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  animation: node-ping-random var(--ping-duration) ease-in-out infinite;
  animation-delay: var(--ping-delay);
}

@keyframes node-ping-random {
  0%, 90% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 255, 255, 0);
    opacity: 0;
  }
  92% {
    opacity: 1;
  }
  95% {
    transform: scale(4);
    box-shadow: 0 0 30px 10px rgba(0, 255, 255, 0.8);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 255, 255, 0);
    opacity: 0;
  }
}

/* Node positioning with varied timing for random effect */
.hero .radar-node:nth-child(1) { top: 30%; left: 10%; --ping-duration: 8s; --ping-delay: 0s; }
.hero .radar-node:nth-child(2) { top: 50%; left: 85%; --ping-duration: 8s; --ping-delay: 2s; }
.hero .radar-node:nth-child(3) { top: 40%; left: 15%; --ping-duration: 8s; --ping-delay: 4s; }
.hero .radar-node:nth-child(4) { top: 60%; left: 90%; --ping-duration: 8s; --ping-delay: 6s; }

.hero-badge {
  display: inline-block;
  background: rgba(240, 133, 13, 0.12);
  color: var(--orange-400);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--border-color);
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}
.hero h1 .highlight { color: var(--orange-500); }
.hero-subheading {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--orange-500);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--slate-400);
  max-width: 620px;
  margin: 0 auto 2rem;
  line-height: 1.7;
  position: relative;
  z-index: 2;
}

/* Countdown display */
.countdown {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin: 2rem auto;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.countdown-block {
  background: var(--slate-900);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.2rem 1.8rem;
  min-width: 110px;
}
.countdown-value {
  display: block;
  font-family: "JetBrains Mono", "Fira Code", "Courier New", monospace;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--orange-500);
  line-height: 1;
}
.countdown-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--secondary-accent);
  margin-top: 0.5rem;
}
.countdown-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--orange-400);
  border-bottom: 1px dashed var(--border-color);
  position: relative;
  z-index: 2;
}
.countdown-link:hover { color: var(--orange-300); }

/* ---------- CTA Buttons ---------- */
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
  position: relative;
  z-index: 2;
}
.btn-primary {
  display: inline-block;
  background: var(--orange-500);
  color: var(--white);
  padding: 0.8rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--orange-600); color: var(--white); }
.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--white);
  padding: 0.8rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.2);
  transition: border-color 0.2s;
  cursor: pointer;
}
.btn-secondary:hover { border-color: var(--white); color: var(--white); }

/* ---------- Timeline ---------- */
.timeline-section {
  padding: 5rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}
.timeline-section h2 {
  text-align: center;
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 3rem;
}
.timeline {
  position: relative;
  padding-left: 2.5rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0.6rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--orange-500), var(--orange-500) 50%, var(--border-color));
  animation: pulse-line 2s ease-in-out infinite;
}
@keyframes pulse-line {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}
.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateX(-20px);
  animation: slide-in 0.6s ease-out forwards;
}
.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.3s; }
.timeline-item:nth-child(3) { animation-delay: 0.5s; }
.timeline-item:nth-child(4) { animation-delay: 0.7s; }

@keyframes slide-in {
  to { opacity: 1; transform: translateX(0); }
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 0.35rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--slate-950);
  border: 3px solid var(--orange-500);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Pulse animation for timeline bullets */
@keyframes timeline-pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 255, 255, 0);
  }
  50% {
    transform: scale(1.4);
    box-shadow: 0 0 20px 5px rgba(0, 255, 255, 0.6);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 255, 255, 0);
  }
}

.timeline-item.pulsing::before {
  background: #00ffff;
  border-color: #00ffff;
  animation: timeline-pulse 1s ease-out;
}

.timeline-item.active::before {
  background: #00ffff;
  border-color: #00ffff;
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.5);
}

/* Continuous pulse for the final (active) timeline item */
.timeline-item.active.pulsing::before {
  animation: timeline-pulse-continuous 2s ease-in-out infinite;
}

@keyframes timeline-pulse-continuous {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.5);
  }
  50% {
    transform: scale(1.3);
    box-shadow: 0 0 25px 8px rgba(0, 255, 255, 0.8);
  }
}
.timeline-item.future::before {
  border-color: var(--slate-600);
  background: var(--slate-800);
}
.timeline-date {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange-400);
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.timeline-title {
  font-size: 1.15rem;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.timeline-desc {
  font-size: 0.9rem;
  color: var(--slate-400);
  line-height: 1.5;
}

/* ---------- Section Helpers ---------- */
.section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.section h2 {
  text-align: center;
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 1rem;
}
.section-sub {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 3rem;
  color: var(--slate-400);
  font-size: 1.05rem;
}
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* ---------- Cards ---------- */
.card {
  background: var(--slate-900);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 2rem;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover {
  border-color: var(--border-color);
  transform: translateY(-2px);
}
.card h3 {
  color: var(--orange-400);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.card p {
  color: var(--slate-400);
  font-size: 0.95rem;
  line-height: 1.6;
}
.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* ---------- Value Props ---------- */
.value-section {
  padding: 5rem 2rem;
  background: var(--slate-900);
}
.value-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.value-section h2 {
  text-align: center;
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 1rem;
}
.stat-card {
  background: var(--slate-800);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.05);
}
.stat-card .card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.stat-card p { color: var(--slate-400); font-size: 0.95rem; line-height: 1.6; }

/* ---------- CTA Section ---------- */
.cta-section {
  text-align: center;
  padding: 5rem 2rem;
  background: linear-gradient(170deg, var(--slate-900), var(--slate-950));
}
.cta-section h2 { font-size: 2.2rem; color: var(--white); margin-bottom: 1rem; }
.cta-section p { color: var(--slate-400); font-size: 1.1rem; margin-bottom: 2rem; }

/* ---------- Explorer ---------- */
.explorer-section { padding: 5rem 2rem; max-width: 1000px; margin: 0 auto; }
.search-box {
  width: 100%;
  padding: 0.9rem 1.2rem;
  font-size: 1rem;
  font-family: inherit;
  background: var(--slate-900);
  border: 1px solid var(--slate-700);
  border-radius: 8px;
  color: var(--white);
  margin-bottom: 1rem;
  transition: border-color 0.2s;
}
.search-box:focus {
  outline: none;
  border-color: var(--orange-500);
  box-shadow: 0 0 0 3px rgba(240,133,13,0.15);
}
.search-box::placeholder { color: var(--slate-600); }
.search-meta {
  font-size: 0.85rem;
  color: var(--slate-400);
  margin-bottom: 1.5rem;
}
.article-list { display: flex; flex-direction: column; gap: 1rem; }
.article-card {
  background: var(--slate-900);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 10px;
  padding: 1.5rem;
  transition: border-color 0.2s;
  cursor: pointer;
}
.article-card:hover { border-color: var(--border-color); }
.article-card.highlighted {
  border-color: var(--orange-500);
  box-shadow: 0 0 12px rgba(240,133,13,0.1);
}
.article-number {
  display: inline-block;
  background: rgba(240, 133, 13, 0.12);
  color: var(--orange-400);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}
.article-card h3 { color: var(--white); font-size: 1rem; margin-bottom: 0.3rem; }
.article-card p { color: var(--slate-400); font-size: 0.85rem; line-height: 1.5; }
.article-chapter {
  font-size: 0.75rem;
  color: var(--slate-600);
  margin-top: 0.5rem;
}
.risk-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  margin-left: 0.5rem;
}
.risk-badge.high { background: rgba(239,68,68,0.15); color: var(--red-500); }
.risk-badge.limited { background: rgba(234,179,8,0.15); color: var(--yellow-500); }
.risk-badge.minimal { background: rgba(34,197,94,0.15); color: var(--green-500); }

.filter-bar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.filter-btn {
  background: var(--slate-800);
  color: var(--slate-400);
  border: 1px solid var(--slate-700);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover { border-color: var(--orange-500); color: var(--white); }
.filter-btn.active { background: var(--orange-500); color: var(--white); border-color: var(--orange-500); }

/* ---------- Assessment ---------- */
.assessment-section { padding: 5rem 2rem; max-width: 700px; margin: 0 auto; }
.assessment-section h2 {
  text-align: center;
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.assessment-progress {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  justify-content: center;
}
.progress-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--slate-700);
  transition: background 0.3s;
}
.progress-dot.active { background: var(--orange-500); }
.progress-dot.completed { background: var(--green-500); }

.question-card {
  background: var(--slate-900);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  display: none;
}
.question-card.active { display: block; }
.question-card h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.question-hint {
  color: var(--slate-400);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}
.option-list { display: flex; flex-direction: column; gap: 0.6rem; }
.option-btn {
  display: block;
  width: 100%;
  text-align: left;
  background: var(--slate-800);
  border: 1px solid var(--slate-700);
  color: var(--slate-300);
  padding: 0.9rem 1.2rem;
  border-radius: 8px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.option-btn:hover { border-color: var(--orange-500); color: var(--white); }
.option-btn.selected { border-color: var(--orange-500); background: rgba(240,133,13,0.1); color: var(--white); }

.assessment-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 1.5rem;
}
.assessment-nav button {
  font-family: inherit;
}

/* Results */
.result-card {
  background: var(--slate-900);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  display: none;
}
.result-card.active { display: block; }
.result-classification {
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 700;
  padding: 0.5rem 1.5rem;
  border-radius: 8px;
  margin: 1rem 0;
}
.result-classification.high-risk { background: rgba(239,68,68,0.15); color: var(--red-500); }
.result-classification.limited-risk { background: rgba(234,179,8,0.15); color: var(--yellow-500); }
.result-classification.minimal-risk { background: rgba(34,197,94,0.15); color: var(--green-500); }
.result-classification.unacceptable-risk { background: rgba(239,68,68,0.25); color: #fca5a5; }

.shadow-ai-alert {
  background: rgba(240,133,13,0.08);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 1.5rem;
  margin-top: 1.5rem;
  text-align: left;
}
.shadow-ai-alert h4 { color: var(--orange-400); margin-bottom: 0.5rem; }
.shadow-ai-alert p { color: var(--slate-300); font-size: 0.9rem; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; }
.blog-card {
  background: var(--slate-900);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.blog-card:hover {
  border-color: var(--border-color);
  transform: translateY(-2px);
}
.blog-card-body { padding: 1.5rem; }
.blog-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(240,133,13,0.12);
  color: var(--orange-400);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.7rem;
}
.blog-card h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 0.5rem; line-height: 1.4; }
.blog-card p { color: var(--slate-400); font-size: 0.85rem; line-height: 1.5; }
.blog-meta { font-size: 0.75rem; color: var(--slate-600); margin-top: 0.8rem; }

/* ---------- Gated Guide ---------- */
.guide-section {
  padding: 5rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}
.guide-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.guide-info h2 { text-align: left; font-size: 1.8rem; color: var(--white); margin-bottom: 1rem; }
.guide-info p { color: var(--slate-400); margin-bottom: 1rem; line-height: 1.7; }
.guide-benefits {
  list-style: none;
  margin-top: 1.5rem;
}
.guide-benefits li {
  color: var(--slate-300);
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
}
.guide-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--orange-500);
  font-weight: 700;
}
.guide-form-card {
  background: var(--slate-900);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 2rem;
}
.guide-form-card h3 { color: var(--white); margin-bottom: 1.5rem; font-size: 1.1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  color: var(--slate-300);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
}
.form-input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--slate-800);
  border: 1px solid var(--slate-700);
  border-radius: 6px;
  color: var(--white);
  transition: border-color 0.2s;
}
.form-input:focus {
  outline: none;
  border-color: var(--orange-500);
  box-shadow: 0 0 0 3px rgba(240,133,13,0.15);
}
.form-input::placeholder { color: var(--slate-600); }
.form-select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--slate-800);
  border: 1px solid var(--slate-700);
  border-radius: 6px;
  color: var(--white);
  cursor: pointer;
  transition: border-color 0.2s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
}
.form-select:focus {
  outline: none;
  border-color: var(--orange-500);
  box-shadow: 0 0 0 3px rgba(240,133,13,0.15);
}
.form-message {
  display: none;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  text-align: center;
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.9rem;
}
.form-message.success {
  display: block;
  background: rgba(34,197,94,0.12);
  color: var(--green-500);
}
.form-message.error {
  display: block;
  background: rgba(239,68,68,0.12);
  color: var(--red-500);
}

/* ---------- Footer ---------- */
.footer {
  padding: 2rem;
  background: var(--slate-950);
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer p { color: var(--slate-600); font-size: 0.85rem; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: var(--slate-600); font-size: 0.85rem; display: flex; align-items: center; gap: 0.5rem; }
.footer-links a:hover { color: var(--slate-400); }
.footer-logo {
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
}

/* ---------- Page header (reused on sub-pages) ---------- */
.page-header {
  text-align: center;
  padding: 4rem 2rem 2rem;
  background: linear-gradient(170deg, var(--slate-950), var(--slate-900));
}
.page-header h1 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.page-header p {
  color: var(--slate-400);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .hero { padding: 4rem 1.5rem 3rem; }
  .countdown { gap: 0.8rem; }
  .countdown-block { min-width: 80px; padding: 0.8rem 1rem; }
  .countdown-value { font-size: 2rem; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .guide-layout { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 1rem; text-align: center; }
  .footer-links { justify-content: center; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--slate-950); padding: 1rem 2rem; border-bottom: 1px solid var(--border-color); }
  .nav-toggle { display: block; }
  .blog-grid { grid-template-columns: 1fr; }
  .filter-bar { justify-content: center; }
}
