/* BunnyCast — futuristic site styles */
:root {
  --bg: #05070F;
  --bg-elev: #0E1325;
  --card: #131A30;
  --card-hover: #1B2444;
  --ink: #EEF1F8;
  --ink-soft: #B4BCD0;
  --ink-muted: #6A7290;
  --brand: #3B5BDB;
  --brand-glow: #5B7FE6;
  --bunny-cyan: #4DD4FF;
  --bunny-purple: #B561FF;
  --bunny-pink: #FF4D8A;
  --success: #10B981;
  --danger: #EF4444;
  --gradient: linear-gradient(90deg, var(--bunny-cyan), var(--brand), var(--bunny-purple), var(--bunny-pink));
}

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

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, system-ui, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--bunny-purple); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--bunny-pink); }

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

/* === Calm gradient background — no particles, no stars === */
.bg-fx {
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(800px 600px at 80% 0%,
      rgba(91, 127, 230, 0.18), transparent 60%),
    radial-gradient(700px 500px at 10% 30%,
      rgba(181, 97, 255, 0.12), transparent 60%),
    radial-gradient(600px 400px at 50% 100%,
      rgba(255, 77, 138, 0.08), transparent 60%);
}

/* Particles disabled — keep selector so existing markup is harmless */
#particles { display: none !important; }
.bg-grid { display: none !important; }

/* Layout */
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; position: relative; }
.section { padding: 64px 0; position: relative; }
@media (min-width: 800px) { .section { padding: 96px 0; } }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 7, 15, 0.92);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
@media (max-width: 600px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-logo { font-size: 18px; }
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  font-weight: 900; font-size: 22px; letter-spacing: 0.3px;
  color: var(--ink);
}
/* Bulletproof: cap any .logo-mark to 36x36 unless an explicit override exists. */
.logo-mark {
  width: 36px;
  height: 36px;
  max-width: 36px;
  max-height: 36px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 0 12px rgba(91, 127, 230, 0.4));
}
.idle .logo-mark { width: 56px; height: 56px; max-width: 56px; max-height: 56px; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  color: var(--ink-soft); font-weight: 500; font-size: 15px;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--gradient);
  background-size: 200% 100%;
  color: white !important;
  padding: 10px 22px;
  border-radius: 12px;
  font-weight: 700;
  position: relative;
  box-shadow: 0 0 24px rgba(181, 97, 255, 0.35);
  animation: shimmer 6s ease infinite;
}
.nav-cta:hover { color: white !important; box-shadow: 0 0 32px rgba(181, 97, 255, 0.55); }

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* === Hero === */
.hero {
  text-align: center;
  padding: 64px 24px 48px;
  position: relative;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: rgba(181, 97, 255, 0.10);
  border: 1px solid rgba(181, 97, 255, 0.3);
  border-radius: 100px;
  font-size: 13px; font-weight: 600;
  color: var(--bunny-purple);
  margin-bottom: 20px;
  letter-spacing: 0.2px;
}
.hero-badge .pulse {
  width: 6px; height: 6px;
  background: var(--bunny-purple);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero h1 {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -1.8px;
  line-height: 1.05;
  margin-bottom: 18px;
}
@media (min-width: 800px) {
  .hero { padding: 96px 24px 60px; }
  .hero h1 { font-size: 72px; letter-spacing: -2.2px; }
}
.hero h1 .gradient {
  background: var(--gradient);
  background-size: 300% 100%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; color: transparent;
  animation: gradientFlow 8s ease infinite;
}
@keyframes gradientFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero p.lead {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 auto 28px;
  line-height: 1.5;
}
@media (min-width: 800px) {
  .hero p.lead { font-size: 20px; margin-bottom: 36px; }
}

.hero-cta {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}

/* Glow rings behind hero */
.hero::before {
  content: "";
  position: absolute;
  top: -10%; left: 50%;
  width: 800px; height: 800px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(91, 127, 230, 0.15) 0%, transparent 60%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}

/* === Buttons === */
.btn {
  padding: 16px 28px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  border: none; cursor: pointer;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-flex; align-items: center; gap: 8px;
  font-family: inherit;
  position: relative;
  overflow: hidden;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--gradient);
  background-size: 200% 100%;
  color: white;
  box-shadow: 0 8px 32px rgba(91, 127, 230, 0.4);
  animation: shimmer 6s ease infinite;
}
.btn-primary:hover { box-shadow: 0 12px 40px rgba(181, 97, 255, 0.55); }
.btn-secondary {
  background: rgba(255,255,255,0.04);
  color: var(--ink);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); }
.btn-large { padding: 20px 36px; font-size: 17px; }

/* === Two-path cards === */
.paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 48px;
}
@media (max-width: 800px) {
  .paths { grid-template-columns: 1fr; }
  .hero h1 { font-size: 48px; letter-spacing: -1.5px; }
  .hero p.lead { font-size: 17px; }
}

.path-card {
  background: linear-gradient(180deg, var(--card) 0%, rgba(19, 26, 48, 0.6) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 36px;
  position: relative;
  display: flex; flex-direction: column;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  overflow: hidden;
}
.path-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at var(--cx, 50%) var(--cy, 50%),
    rgba(181, 97, 255, 0.10), transparent 50%);
  opacity: 0; transition: opacity 0.3s;
  pointer-events: none;
}
.path-card:hover { transform: translateY(-6px); border-color: rgba(181, 97, 255, 0.5); box-shadow: 0 20px 60px -10px rgba(91, 127, 230, 0.3); }
.path-card:hover::before { opacity: 1; }
.path-card.featured { border-color: rgba(181, 97, 255, 0.4); box-shadow: 0 0 40px -10px rgba(181, 97, 255, 0.2); }

.path-card .badge {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 14px;
  background: var(--gradient);
  background-size: 200% 100%;
  color: white; font-weight: 800; font-size: 11px; letter-spacing: 1.2px;
  padding: 7px 14px; border-radius: 100px;
  animation: shimmer 6s ease infinite;
  box-shadow: 0 4px 14px rgba(181, 97, 255, 0.3);
}
.path-card h3 {
  font-size: 26px; font-weight: 800; margin-bottom: 10px;
  display: flex; align-items: center; gap: 10px;
}
.path-card .sub {
  color: var(--ink-soft); margin-bottom: 28px; font-size: 15px;
}
.path-card ul { list-style: none; margin-bottom: 28px; }
.path-card li {
  padding: 8px 0;
  display: flex; align-items: flex-start; gap: 10px;
  color: var(--ink-soft); font-size: 14px;
}
.path-card li .check {
  color: var(--bunny-cyan); font-weight: 900; flex-shrink: 0;
  text-shadow: 0 0 8px rgba(77, 212, 255, 0.5);
}
.path-card .btn { margin-top: auto; justify-content: center; }

/* === Features === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.feature {
  padding: 28px;
  background: var(--bg-elev);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.05);
  transition: transform 0.25s, border-color 0.25s, background 0.25s;
}
.feature:hover {
  transform: translateY(-4px);
  border-color: rgba(91, 127, 230, 0.4);
  background: var(--card);
}
.feature .icon {
  width: 48px; height: 48px;
  background: var(--gradient);
  background-size: 200% 100%;
  border-radius: 14px;
  display: grid; place-items: center;
  font-size: 24px;
  margin-bottom: 18px;
  animation: shimmer 6s ease infinite;
  box-shadow: 0 4px 20px rgba(91, 127, 230, 0.25);
}
.feature h4 {
  font-size: 18px; font-weight: 700; margin-bottom: 8px;
}
.feature p { color: var(--ink-soft); font-size: 14px; }

/* === Section heading === */
.section-heading {
  text-align: center; margin-bottom: 56px;
}
.section-heading h2 {
  font-size: 32px; font-weight: 900; letter-spacing: -1.2px;
  margin-bottom: 12px;
}
.section-heading p {
  color: var(--ink-soft); font-size: 16px; max-width: 620px;
  margin: 0 auto;
}
@media (min-width: 800px) {
  .section-heading h2 { font-size: 44px; }
  .section-heading p { font-size: 18px; }
}

/* === Steps === */
.steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px; margin-top: 48px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 32px; left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(91, 127, 230, 0.3), rgba(181, 97, 255, 0.3), transparent);
}
@media (max-width: 800px) { .steps::before { display: none; } }
.step {
  text-align: center; padding: 24px;
  position: relative; z-index: 1;
}
.step .num {
  width: 64px; height: 64px;
  background: var(--bg);
  border: 2px solid transparent;
  background-clip: padding-box;
  border-radius: 50%;
  display: grid; place-items: center;
  margin: 0 auto 20px;
  font-size: 24px; font-weight: 900;
  color: white;
  position: relative;
}
.step .num::before {
  content: "";
  position: absolute; inset: -2px;
  border-radius: 50%;
  background: var(--gradient);
  background-size: 200% 100%;
  z-index: -1;
  animation: shimmer 6s ease infinite;
}
.step h4 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 14px; }

/* === FAQ === */
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.faq-item {
  background: linear-gradient(180deg, var(--card) 0%, rgba(19, 26, 48, 0.6) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 0;
  transition: border-color 0.2s;
}
.faq-item[open] { border-color: rgba(181, 97, 255, 0.4); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--bunny-purple);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  padding: 0 22px 22px;
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
  font-size: 15px;
}
.faq-item p a { color: var(--bunny-purple); }

/* === Ad slots (AdSense or replacement) === */
.ad-slot {
  display: none; /* Toggle to "block" once AdSense code is pasted */
  margin: 32px auto;
  max-width: 728px;
  min-height: 90px;
  padding: 16px;
  text-align: center;
  background: rgba(91, 127, 230, 0.04);
  border: 1px dashed rgba(91, 127, 230, 0.2);
  border-radius: 14px;
  color: var(--ink-muted);
  font-size: 12px;
}
.ad-slot.enabled { display: block; }

/* === Footer === */
.site-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 48px 0;
  text-align: center;
  color: var(--ink-muted);
  font-size: 14px;
}
.site-footer .footer-links {
  display: flex; gap: 28px; justify-content: center; margin-bottom: 18px;
  flex-wrap: wrap;
}
.site-footer .footer-links a { color: var(--ink-soft); }

/* === Notice / callout === */
.notice {
  background: linear-gradient(135deg, rgba(181, 97, 255, 0.08), rgba(255, 77, 138, 0.06));
  border: 1px solid rgba(181, 97, 255, 0.25);
  border-radius: 18px;
  padding: 24px;
  margin: 28px 0;
  font-size: 15px;
  color: var(--ink);
}
.notice strong { color: var(--bunny-purple); }

/* === Stats strip — bulletproof flexbox, 2-up mobile, 4-up desktop === */
.stats {
  display: flex !important;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px auto 0;
  padding: 18px;
  max-width: 900px;
  background: linear-gradient(180deg, rgba(19, 26, 48, 0.85), rgba(19, 26, 48, 0.5));
  border: 1px solid rgba(91, 127, 230, 0.20);
  border-radius: 20px;
  box-shadow: 0 12px 40px -10px rgba(91, 127, 230, 0.25);
  box-sizing: border-box;
}
@media (min-width: 800px) {
  .stats { gap: 16px; padding: 24px; margin-top: 48px; }
}

.stat {
  flex: 1 1 calc(50% - 6px);
  min-width: 130px;
  text-align: center;
  padding: 18px 10px;
  background: linear-gradient(180deg,
    rgba(91, 127, 230, 0.10),
    rgba(91, 127, 230, 0.02));
  border-radius: 14px;
  border: 1px solid rgba(181, 97, 255, 0.20);
  box-sizing: border-box;
}
@media (min-width: 800px) {
  .stat { flex: 1 1 calc(25% - 12px); padding: 22px 12px; }
}

.stat .num {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.8px;
  background: var(--gradient);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s ease infinite;
  display: block;
  line-height: 1.0;
  margin-bottom: 8px;
}
@media (min-width: 800px) {
  .stat .num { font-size: 36px; }
}

.stat .label {
  color: var(--ink-soft);
  font-size: 11px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-weight: 700;
  display: block;
}
