/* =====================================================================
   WICKED AWESOME — Tech Dark Theme
   Palette: #0d0d14 bg · #111120 card · #00d4ff cyan · #7c3aed purple
            #f0f4f8 body text · #94a3b8 muted text · #1e1e2e border
   Fonts: Space Grotesk (headings) + Inter (body) via Google Fonts
   ===================================================================== */

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

html { scroll-behavior: smooth; }

body {
  background-color: #0d0d14;
  color: #e2e8f0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }

a { color: #00d4ff; text-decoration: none; transition: color 0.2s; }
a:hover { color: #5eead4; }
a:visited { color: #a78bfa; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: #f8fafc;
}

p { margin-bottom: 1rem; color: #cbd5e1; }
strong { color: #f1f5f9; }

/* ── Layout ────────────────────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Navigation ────────────────────────────────────────────────────── */
.top-nav {
  background: rgba(13, 13, 20, 0.95);
  border-bottom: 1px solid rgba(0, 212, 255, 0.15);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.top-nav .nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.nav-brand .brand-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #00d4ff, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  color: #94a3b8;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
}

.nav-links a:hover {
  color: #f8fafc;
  background: rgba(255,255,255,0.06);
}

.nav-links a:visited { color: #94a3b8; }
.nav-links a:visited:hover { color: #f8fafc; }

/* ── Buttons ───────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.65rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  border: none;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: linear-gradient(135deg, #0098b8, #00d4ff);
  color: #0d0d14;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}
.btn-primary:hover {
  box-shadow: 0 0 32px rgba(0, 212, 255, 0.55);
  transform: translateY(-1px);
  color: #0d0d14;
}

.btn-secondary {
  background: rgba(255,255,255,0.07);
  color: #e2e8f0;
  border: 1px solid rgba(255,255,255,0.12);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.12);
  color: #f8fafc;
}

.btn-amazon {
  background: linear-gradient(135deg, #ff9900, #ffb347);
  color: #111;
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(255, 153, 0, 0.35);
}
.btn-amazon:hover {
  box-shadow: 0 4px 20px rgba(255, 153, 0, 0.55);
  transform: translateY(-1px);
  color: #111;
}

/* ── Cards ─────────────────────────────────────────────────────────── */
.card {
  background: #111120;
  border: 1px solid #1e1e2e;
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
}

.card:hover {
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow: 0 4px 30px rgba(0, 212, 255, 0.08);
  transform: translateY(-2px);
}

.card-body { padding: 1.5rem; }

.card-icon {
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 1rem;
}

.card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 0.5rem;
}

.card-desc {
  color: #64748b;
  font-size: 0.875rem;
  line-height: 1.55;
  margin: 0;
}

/* Linked card */
a.card {
  display: block;
  text-decoration: none;
  color: inherit;
}
a.card:visited { color: inherit; }

/* ── Hero ──────────────────────────────────────────────────────────── */
.hero {
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,212,255,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #00d4ff;
  border: 1px solid rgba(0, 212, 255, 0.3);
  padding: 0.3rem 0.9rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  background: linear-gradient(160deg, #f8fafc 40%, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  color: #64748b;
  max-width: 540px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 0.875rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Section headings ──────────────────────────────────────────────── */
.section { padding: 3.5rem 0; }

.section-header {
  margin-bottom: 2rem;
}

.section-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #00d4ff;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 1.75rem;
  letter-spacing: -0.02em;
  color: #f8fafc;
  margin-bottom: 0.5rem;
}

.section-sub {
  color: #64748b;
  font-size: 0.9rem;
}

/* ── Grid layouts ──────────────────────────────────────────────────── */
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 900px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ── Divider ────────────────────────────────────────────────────────── */
.divider {
  border: none;
  border-top: 1px solid #1e1e2e;
  margin: 0;
}

/* ── Callout / tip box ─────────────────────────────────────────────── */
.callout {
  background: rgba(0, 212, 255, 0.06);
  border-left: 3px solid #00d4ff;
  border-radius: 0 8px 8px 0;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  font-size: 0.925rem;
  color: #94a3b8;
}

.callout-warn {
  background: rgba(251, 191, 36, 0.07);
  border-left-color: #fbbf24;
}

/* ── Affiliate disclosure bar ──────────────────────────────────────── */
.affiliate-bar {
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: 8px;
  padding: 0.6rem 1rem;
  font-size: 0.8rem;
  color: #a78bfa;
  margin-bottom: 2rem;
}

/* ── Parchment-style content card (for long-form) ───────────────────── */
.content-card {
  background: #111120;
  border: 1px solid #1e1e2e;
  border-radius: 14px;
  padding: 2.5rem 2rem;
}

@media (min-width: 640px) {
  .content-card { padding: 3rem 3rem; }
}

.content-card h2 {
  font-size: 1.2rem;
  color: #00d4ff;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid #1e1e2e;
  margin-top: 2rem;
  margin-bottom: 0.875rem;
}

.content-card h2:first-child { margin-top: 0; }

.content-card p { color: #94a3b8; line-height: 1.75; }

.content-card a { color: #00d4ff; text-decoration: underline; text-underline-offset: 3px; }

.content-card ul, .content-card ol {
  padding-left: 1.4rem;
  color: #94a3b8;
  line-height: 1.9;
  margin-bottom: 1rem;
}

/* ── Category pill chips ───────────────────────────────────────────── */
.chip {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  border: 1px solid rgba(0,212,255,0.3);
  color: #00d4ff;
  background: rgba(0,212,255,0.07);
}

.chip-purple {
  border-color: rgba(124,58,237,0.4);
  color: #a78bfa;
  background: rgba(124,58,237,0.1);
}

/* ── Footer ────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid #1e1e2e;
  padding: 2.5rem 0 2rem;
  margin-top: 4rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  justify-content: center;
  margin-bottom: 1rem;
  list-style: none;
}

.footer-links a {
  color: #475569;
  font-size: 0.85rem;
  padding: 0.25rem 0.7rem;
  transition: color 0.2s;
  text-decoration: none;
}

.footer-links a:hover { color: #94a3b8; }
.footer-links a:visited { color: #475569; }

.footer-copy {
  text-align: center;
  color: #334155;
  font-size: 0.8rem;
  margin: 0;
}

/* ── Cookie consent banner ─────────────────────────────────────────── */
#cookie-banner {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  max-width: 620px;
  z-index: 999;
}

.cookie-inner {
  background: #111120;
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: 14px;
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.7);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-text {
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.55;
  margin: 0;
}

.cookie-text strong { color: #e2e8f0; }
.cookie-text a { color: #00d4ff; text-underline-offset: 3px; }

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.cookie-accept {
  background: linear-gradient(135deg, #0098b8, #00d4ff);
  color: #0d0d14;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: box-shadow 0.2s;
}
.cookie-accept:hover { box-shadow: 0 0 18px rgba(0,212,255,0.45); }

.cookie-decline {
  background: rgba(255,255,255,0.05);
  color: #64748b;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
  cursor: pointer;
  transition: color 0.2s;
}
.cookie-decline:hover { color: #94a3b8; }

/* ── Contact form ──────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }

.form-label {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}

.form-input,
.form-textarea {
  width: 100%;
  background: #0d0d14;
  border: 1px solid #2d2d40;
  border-radius: 8px;
  color: #e2e8f0;
  font-family: 'Inter', sans-serif;
  font-size: 0.925rem;
  padding: 0.7rem 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: #00d4ff;
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.12);
}

.form-textarea { min-height: 130px; resize: vertical; }

/* ── Glowing scan-line accent (hero decoration) ────────────────────── */
.glow-line {
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #00d4ff, transparent);
  margin: 1.5rem auto 0;
  opacity: 0.5;
}

/* ── Utility ───────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.pb-4 { padding-bottom: 2rem; }
