/* =========================================================================
   AI Launchpad — stylesheet
   Plain CSS, no build step. Light/dark via prefers-color-scheme.
   ========================================================================= */

:root {
  /* Brand palette — adjust these to rebrand the whole site */
  --bg: #0b1020;
  --bg-soft: #121a30;
  --card: #16203a;
  --card-2: #1b2746;
  --text: #e8edf7;
  --muted: #9fb0cc;
  --line: #273352;

  --brand: #5b8cff;      /* primary */
  --brand-2: #8a5bff;    /* secondary */
  --accent: #27d3a2;     /* success / highlight */
  --warn: #ffb545;

  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1140px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --ring: 0 0 0 3px rgba(91, 140, 255, .35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(138, 91, 255, .18), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(91, 140, 255, .18), transparent 55%),
    var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.section { padding: 72px 0; }
.section-sm { padding: 44px 0; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.15rem; }
p  { margin: 0 0 1em; color: var(--text); }
.lead { font-size: 1.15rem; color: var(--muted); }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.muted { color: var(--muted); }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .08s ease, box-shadow .2s ease, background .2s;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:focus-visible { outline: none; box-shadow: var(--ring); }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: var(--shadow); }
.btn-wa { background: #25D366; color: #06231a; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-soft); }
.btn-lg { padding: 16px 28px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(11, 16, 32, .72);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.1rem; color: var(--text); }
.brand .logo {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  display: grid; place-items: center; color: #fff; font-weight: 900;
}
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--muted); font-weight: 600; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); font-size: 1.6rem; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { padding: 84px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 span { background: linear-gradient(120deg, var(--brand), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.hero-points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.hero-points li { display: flex; gap: 10px; color: var(--muted); }
.hero-points li::before { content: "✓"; color: var(--accent); font-weight: 900; }

.hero-card {
  background: linear-gradient(180deg, var(--card), var(--card-2));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
}
.hero-card h3 { margin-top: 0; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.stat { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px; text-align: center; }
.stat b { display: block; font-size: 1.5rem; }
.stat span { font-size: .78rem; color: var(--muted); }

/* ---------- Pills / chips ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; font-size: .9rem; font-weight: 600;
  background: var(--bg-soft); border: 1px solid var(--line); color: var(--text);
}

/* ---------- Cards grid ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: linear-gradient(180deg, var(--card), var(--card-2));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  transition: transform .12s ease, border-color .2s;
}
.card:hover { transform: translateY(-3px); border-color: var(--brand); }
.card .num {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-weight: 800; margin-bottom: 12px;
}
.card h3 { margin-bottom: 6px; }
.card p { color: var(--muted); margin-bottom: 0; }
.tag {
  display: inline-block; margin-top: 12px; font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent); background: rgba(39, 211, 162, .12);
  border: 1px solid rgba(39, 211, 162, .3); padding: 4px 10px; border-radius: 999px;
}

/* ---------- Weekend timeline ---------- */
.timeline { display: grid; gap: 18px; }
.week {
  display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: start;
  background: linear-gradient(180deg, var(--card), var(--card-2));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
}
.week .wk-label { font-weight: 800; }
.week .wk-label small { display: block; color: var(--muted); font-weight: 600; }
.week ul { margin: 8px 0 0; padding-left: 18px; color: var(--muted); }
.week ul li { margin-bottom: 4px; }

/* ---------- Model logos row ---------- */
.models { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.model-chip {
  display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 12px;
  background: var(--bg-soft); border: 1px solid var(--line); font-weight: 700;
}
.model-chip .dot { width: 10px; height: 10px; border-radius: 50%; }

/* ---------- Instructor ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.avatar {
  width: 160px; height: 160px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  display: grid; place-items: center; font-size: 3rem; font-weight: 900; color: #fff; margin-bottom: 16px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, rgba(91,140,255,.18), rgba(138,91,255,.18));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; text-align: center;
}

/* ---------- FAQ ---------- */
details.faq {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 16px 20px; margin-bottom: 12px;
}
details.faq summary { cursor: pointer; font-weight: 700; list-style: none; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; float: right; color: var(--brand); font-weight: 900; }
details.faq[open] summary::after { content: "–"; }
details.faq p { margin: 12px 0 0; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--muted); }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }

/* ---------- Floating WhatsApp button ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366;
  display: grid; place-items: center; box-shadow: var(--shadow);
}
.wa-float:hover { transform: scale(1.05); text-decoration: none; }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Page hero (sub-pages) ---------- */
.page-hero { padding: 64px 0 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .about-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .nav-links {
    position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg-soft); border-bottom: 1px solid var(--line); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 20px; width: 100%; border-top: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .week { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(3, 1fr); }
}

/* Light mode */
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f8fc; --bg-soft: #eef2fa; --card: #ffffff; --card-2: #f4f7fd;
    --text: #0f1830; --muted: #55637d; --line: #dde5f2;
    --shadow: 0 10px 30px rgba(20, 40, 80, .12);
  }
  .site-header { background: rgba(246, 248, 252, .8); }
}
