/* Bundle Brain — marketing site styles
   Dark, premium SaaS aesthetic. No images required (visuals are pure CSS). */

:root {
  --bg: #06090f;
  --bg-2: #0a0e18;
  --surface: rgba(255, 255, 255, 0.025);
  --surface-2: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f3f6fb;
  --muted: #8c97ab;
  --muted-2: #5d6779;
  --cyan: #58d5ec;
  --cyan-bright: #7ee3f5;
  --cyan-deep: #1d8fa6;
  --green: #4ade80;
  --radius: 16px;
  --radius-lg: 22px;
  --maxw: 1180px;
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Ambient background glows */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(800px 500px at 78% -5%, rgba(88, 213, 236, 0.13), transparent 60%),
    radial-gradient(700px 600px at 8% 8%, rgba(88, 213, 236, 0.06), transparent 55%),
    radial-gradient(900px 700px at 50% 110%, rgba(88, 213, 236, 0.05), transparent 60%);
  pointer-events: none;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography ---------- */
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.02em; font-weight: 800; }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(88, 213, 236, 0.07);
  border: 1px solid rgba(88, 213, 236, 0.22);
  padding: 7px 14px;
  border-radius: 100px;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}
.accent { color: var(--cyan); }
.lead { color: var(--muted); font-size: 1.18rem; max-width: 56ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 26px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(180deg, var(--cyan-bright), var(--cyan));
  color: #042027;
  box-shadow: 0 8px 30px rgba(88, 213, 236, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 38px rgba(88, 213, 236, 0.4); }
.btn-ghost {
  background: var(--surface-2);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--cyan); }
.btn-lg { padding: 18px 34px; font-size: 1.08rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(6, 9, 15, 0.72);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 84px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; flex: none; }
.brand-logo { height: 30px; width: auto; flex: none; display: block; }
.footer-brand .brand-logo { height: 32px; }
/* nav-links take the middle and center themselves; CTA stays at the right edge */
.nav-links { flex: 1; display: flex; align-items: center; justify-content: center; gap: 38px; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: 0.96rem; transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 14px; margin-left: auto; flex: none; }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { padding: 88px 0 96px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { margin: 22px 0 22px; }
.hero .lead { margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-trust {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 0.82rem;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust span::before {
  content: "✓"; color: var(--cyan); font-weight: 700;
}

/* ---------- Product mockup (hero visual) ---------- */
.mock {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, #0d1320, #090d16);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(88, 213, 236, 0.06);
  overflow: hidden;
}
.mock-bar {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}
.mock-dots { display: flex; gap: 7px; }
.mock-dots i { width: 11px; height: 11px; border-radius: 50%; background: #2a3342; }
.mock-url {
  font-family: var(--mono); font-size: 0.74rem; color: var(--muted-2);
  background: rgba(0,0,0,0.3); border: 1px solid var(--border);
  padding: 5px 12px; border-radius: 7px; flex: 1; text-align: center;
}
.mock-body { padding: 22px; }
.mock-product { display: flex; gap: 16px; align-items: center; margin-bottom: 22px; }
.mock-img {
  width: 88px; height: 88px; border-radius: 12px; flex: none; overflow: hidden;
  background: linear-gradient(135deg, #18324a, #0e1c2c);
  border: 1px solid var(--border);
}
.mock-img img, .widget-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mock-title { font-weight: 700; font-size: 1.05rem; }
.mock-price { color: var(--muted); font-family: var(--mono); margin-top: 4px; }
.mock-atc {
  margin-top: 12px; display: inline-block;
  font-size: 0.8rem; font-weight: 700; color: var(--muted);
  border: 1px solid var(--border-strong); border-radius: 8px; padding: 7px 16px;
}

/* the actual bundle widget representation */
.widget {
  border: 1px solid rgba(88, 213, 236, 0.2);
  border-radius: 14px;
  background: rgba(88, 213, 236, 0.03);
  padding: 18px;
}
.widget-head { font-weight: 700; font-size: 0.98rem; margin-bottom: 4px; }
.widget-sub { color: var(--muted); font-size: 0.82rem; margin-bottom: 16px; }
.widget-row { display: flex; align-items: center; gap: 12px; }
.widget-item {
  display: flex; align-items: center; gap: 11px; flex: 1;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 10px; padding: 9px 11px;
}
.widget-thumb {
  width: 40px; height: 40px; border-radius: 8px; flex: none; overflow: hidden;
  background: linear-gradient(135deg, #1c3a52, #11202f);
}
.widget-item small { color: var(--muted); font-family: var(--mono); font-size: 0.72rem; }
.widget-item strong { font-size: 0.82rem; font-weight: 600; display: block; }
.widget-plus { color: var(--cyan); font-size: 1.4rem; font-weight: 300; flex: none; }
.widget-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 16px;
}
.widget-total { font-size: 0.86rem; color: var(--muted); }
.widget-total b { color: var(--text); font-size: 1.05rem; }
.widget-btn {
  background: linear-gradient(180deg, var(--cyan-bright), var(--cyan));
  color: #042027; font-weight: 700; font-size: 0.82rem;
  padding: 9px 18px; border-radius: 9px;
}

/* ---------- Section scaffold ---------- */
section { position: relative; }
.section { padding: 96px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head p { color: var(--muted); font-size: 1.12rem; margin-top: 16px; }
.divider { height: 1px; background: var(--border); }

/* ---------- Value props (honest, no fake metrics) ---------- */
.props { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prop {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
}
.prop .ic {
  width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(88, 213, 236, 0.1); border: 1px solid rgba(88, 213, 236, 0.25);
  color: var(--cyan); margin-bottom: 18px;
}
.prop h3 { margin-bottom: 8px; }
.prop p { color: var(--muted); font-size: 0.97rem; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.step { text-align: center; padding: 0 12px; }
.step-num {
  width: 70px; height: 70px; border-radius: 50%; margin: 0 auto 22px;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 1.5rem; font-weight: 600; color: var(--cyan);
  background: radial-gradient(circle at 50% 30%, rgba(88, 213, 236, 0.16), transparent 70%);
  border: 1px solid rgba(88, 213, 236, 0.3);
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 0.97rem; }

/* ---------- Features grid ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}
.feature:hover { border-color: rgba(88, 213, 236, 0.35); transform: translateY(-3px); background: var(--surface-2); }
.feature .ic { color: var(--cyan); margin-bottom: 16px; }
.feature h3 { margin-bottom: 9px; }
.feature p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Day-one / learning split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.split-card {
  background: linear-gradient(180deg, var(--surface-2), transparent);
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px;
}
.split-card .tag {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 16px; display: block;
}
.split-card h3 { font-size: 1.5rem; margin-bottom: 12px; }
.split-card p { color: var(--muted); }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 860px; margin: 0 auto; }
.plan {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px; position: relative;
}
.plan.featured {
  border-color: rgba(88, 213, 236, 0.4);
  background: linear-gradient(180deg, rgba(88, 213, 236, 0.06), transparent);
  box-shadow: 0 0 50px rgba(88, 213, 236, 0.1);
}
.plan .badge {
  position: absolute; top: -12px; right: 28px;
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  background: linear-gradient(180deg, var(--cyan-bright), var(--cyan)); color: #042027;
  padding: 5px 12px; border-radius: 100px; font-weight: 700;
}
.plan h3 { font-size: 1.3rem; }
.plan .price { font-size: 2.8rem; font-weight: 800; letter-spacing: -0.03em; margin: 14px 0 4px; }
.plan .price span { font-size: 1rem; font-weight: 600; color: var(--muted); }
.plan .price-note { color: var(--muted); font-size: 0.92rem; min-height: 1.4em; }
.plan ul { list-style: none; margin: 24px 0 28px; display: grid; gap: 13px; }
.plan li { display: flex; gap: 11px; align-items: flex-start; color: var(--muted); font-size: 0.96rem; }
.plan li::before { content: "✓"; color: var(--cyan); font-weight: 800; flex: none; }
.plan .btn { width: 100%; justify-content: center; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
.faq details {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 4px 24px; transition: border-color 0.2s;
}
.faq details[open] { border-color: rgba(88, 213, 236, 0.3); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 0;
  font-weight: 700; font-size: 1.06rem; display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--cyan); font-size: 1.5rem; font-weight: 300; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding: 0 0 22px; font-size: 0.98rem; }

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center;
  border-radius: 28px;
  border: 1px solid rgba(88, 213, 236, 0.25);
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(88, 213, 236, 0.14), transparent 70%),
    var(--bg-2);
  padding: 72px 32px;
}
.cta-band h2 { margin-bottom: 16px; }
.cta-band p { color: var(--muted); font-size: 1.15rem; margin-bottom: 32px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 60px 0 40px; margin-top: 40px; }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 44px; }
.footer-brand { max-width: 300px; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { color: var(--muted); font-size: 0.94rem; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted-2); margin-bottom: 16px; font-weight: 700; }
.footer-col a { display: block; color: var(--muted); font-size: 0.95rem; margin-bottom: 11px; transition: color 0.15s; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--border); color: var(--muted-2); font-size: 0.86rem; }

/* ---------- Legal pages ---------- */
.legal { padding: 64px 0 80px; }
.legal .container { max-width: 800px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 8px; }
.legal .updated { color: var(--muted-2); font-family: var(--mono); font-size: 0.85rem; margin-bottom: 40px; }
.legal h2 { font-size: 1.4rem; margin: 38px 0 12px; }
.legal h3 { margin: 24px 0 8px; font-size: 1.1rem; }
.legal p, .legal li { color: var(--muted); margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 16px; }
.legal strong { color: var(--text); font-weight: 700; }
.legal a { color: var(--cyan); }
.legal .back { display: inline-block; margin-bottom: 28px; color: var(--muted); font-family: var(--mono); font-size: 0.85rem; }
.legal .back:hover { color: var(--cyan); }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding: 56px 0 64px; }
  .props, .steps, .features { grid-template-columns: 1fr; }
  .split, .pricing { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--border); padding: 24px; gap: 20px;
  }
  .nav-toggle { display: inline-flex; background: none; border: 1px solid var(--border-strong); border-radius: 9px; padding: 9px 12px; color: var(--text); cursor: pointer; }
  .nav-cta .btn { display: none; }
  .section { padding: 64px 0; }
}
@media (max-width: 540px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
}
