/* ============================================================
   The Monetized Brain — landing page
   Brand: fintech-noir editorial cartoon
   ============================================================ */

:root {
  --navy:       #0a1628;
  --navy-2:     #0d1d33;
  --charcoal:   #1f2937;
  --slate:      #475569;
  --mint:       #4ade80;
  --mint-light: #6ee7b7;
  --pink:       #fbcfe8;
  --coral:      #f87171;
  --text:       #f5f5f5;
  --muted:      #9fb0c3;

  --maxw: 1120px;
  --radius: 18px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .65);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }

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

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

.mint { color: var(--mint); }
.pink { color: var(--pink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 22px; height: 22px; }

.btn-yt {
  background: #ff0033;
  color: #fff;
  box-shadow: 0 12px 30px -12px rgba(255, 0, 51, .8);
}
.btn-yt:hover { background: #ff1a47; }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, .22);
}
.btn-ghost:hover { border-color: var(--mint); color: var(--mint); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(10, 22, 40, .72);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.brand img { width: 34px; height: 34px; }
.brand b { color: var(--text); }
.brand .accent { color: var(--mint); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: .95rem;
}
.nav-links a.text-link { color: var(--muted); transition: color .15s ease; }
.nav-links a.text-link:hover { color: var(--text); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 64px; }
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mint);
  background: rgba(74, 222, 128, .1);
  border: 1px solid rgba(74, 222, 128, .25);
  padding: 6px 14px;
  border-radius: 999px;
}
.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 22px 0 18px;
  font-weight: 800;
}
.hero p.lede {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 46ch;
  margin: 0 0 32px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 380px;
}
.hero-art::before {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 222, 128, .22), rgba(251, 207, 232, .12) 45%, transparent 70%);
  filter: blur(8px);
  z-index: 0;
}
.hero-art img {
  position: relative;
  z-index: 1;
  width: min(380px, 80%);
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

/* ---------- Section primitives ---------- */
.section { padding: 64px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  letter-spacing: -.02em;
  margin: 0 0 12px;
  font-weight: 800;
}
.section-head p { color: var(--muted); margin: 0; font-size: 1.05rem; }

/* ---------- About / feature cards ---------- */
.about { background: linear-gradient(180deg, var(--navy), var(--navy-2)); }
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(74, 222, 128, .4);
  background: rgba(74, 222, 128, .05);
}
.card .ico {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: rgba(74, 222, 128, .12);
  margin-bottom: 18px;
  font-size: 1.5rem;
}
.card h3 { margin: 0 0 8px; font-size: 1.18rem; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); font-size: .98rem; }

/* ---------- CTA band ---------- */
.cta-band { padding: 0 0 84px; }
.cta-inner {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 30%, rgba(251, 207, 232, .14), transparent 40%),
    linear-gradient(135deg, #11243d, #0a1628);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 26px;
  padding: 54px clamp(28px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 36px;
  box-shadow: var(--shadow);
}
.cta-inner h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin: 0 0 10px;
  letter-spacing: -.02em;
  font-weight: 800;
}
.cta-inner p { margin: 0 0 26px; color: var(--muted); max-width: 44ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-mascot { width: 150px; flex-shrink: 0; }
.cta-mascot img { filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .5)); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, .07);
  padding: 44px 0 56px;
  background: var(--navy-2);
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
}
.footer-brand { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.footer-brand img { width: 30px; height: 30px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; color: var(--muted); font-size: .95rem; }
.footer-links a { transition: color .15s ease; }
.footer-links a:hover { color: var(--mint); }
.footer-note {
  margin-top: 24px;
  color: var(--slate);
  font-size: .85rem;
  border-top: 1px solid rgba(255, 255, 255, .05);
  padding-top: 20px;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero-cta { justify-content: center; }
  .hero p.lede { margin-inline: auto; }
  .hero-art { order: -1; min-height: 280px; }
  .cards { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; text-align: center; }
  .cta-actions { justify-content: center; }
  .cta-mascot { display: none; }
  .nav-links .text-link { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-art img { animation: none; }
  .btn:hover, .card:hover { transform: none; }
}
