/* Brain CRM — AC Estudios demo landing
   Brand tokens from brand_guide.md (Navy / Teal / no coral). */

:root {
  --navy: #203248;
  --teal: #2DAE8A;
  --teal-dark: #2BA483;
  --near-black: #1B1B1B;
  --body: #2B2525;
  --light-gray: #F5F5F5;
  --white: #FFFFFF;
  --max-w: 1100px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--body);
  -webkit-font-smoothing: antialiased;
  background: var(--white);
}
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ── Hero ──────────────────────────────────────────────────────── */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 96px 0 80px;
}
.hero-eyebrow {
  font-size: 12px; font-weight: 600;
  letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 18px;
}
.hero-title {
  font-size: 48px; font-weight: 800;
  line-height: 1.05;
  margin: 0 0 22px;
  letter-spacing: -0.5px;
}
.hero-sub {
  font-size: 19px; font-weight: 400;
  line-height: 1.55;
  max-width: 680px;
  margin: 0 0 32px;
  opacity: 0.92;
}
.hero-cta {
  display: inline-block;
  background: var(--teal);
  color: var(--white) !important;
  padding: 16px 32px;
  border-radius: 5px;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none !important;
  transition: background 0.15s ease;
}
.hero-cta:hover { background: var(--teal-dark); }

/* ── Sections ──────────────────────────────────────────────────── */
.section {
  padding: 80px 0;
}
.section-light { background: var(--white); }
.section-dark  { background: var(--navy); color: var(--white); }
.section-eyebrow {
  font-size: 12px; font-weight: 600;
  letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.section-eyebrow.light { color: var(--teal); }
.section-title {
  font-size: 36px; font-weight: 700;
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--navy);
}
.section-title.light { color: var(--white); }
.section-sub {
  font-size: 17px;
  line-height: 1.55;
  max-width: 720px;
  margin: 0 0 40px;
  color: var(--body);
}
.section-sub.light { color: rgba(255,255,255,0.85); }

/* ── Video ─────────────────────────────────────────────────────── */
.video-wrap {
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
  margin-bottom: 28px;
}
.video-wrap video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 620px;
}

.chapters {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 8px;
}
.chapters li {
  background: var(--light-gray);
  padding: 14px 18px;
  border-radius: 5px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s ease;
  user-select: none;
}
.chapters li:hover { background: #E8E8E8; }
.chapters li.active {
  background: var(--teal);
  color: var(--white);
}
.chap-n {
  display: inline-block;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  text-align: center; line-height: 22px;
  font-weight: 700; font-size: 12px;
  margin-right: 10px;
}
.chapters li.active .chap-n {
  background: var(--white);
  color: var(--teal);
}

/* ── Dashboard cards ───────────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
}
.card {
  display: block;
  background: var(--white);
  color: var(--body) !important;
  padding: 28px 26px;
  border-radius: 8px;
  text-decoration: none !important;
  border: 2px solid transparent;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--teal);
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
}
.card-eyebrow {
  font-size: 11px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}
.card-title {
  font-size: 20px; font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.25;
}
.card-sub {
  font-size: 14px;
  color: var(--body);
  margin: 0 0 18px;
  opacity: 0.85;
  line-height: 1.5;
}
.card-arrow {
  font-size: 14px; font-weight: 700;
  color: var(--teal);
}

/* ── Footer ────────────────────────────────────────────────────── */
.footer {
  background: var(--near-black);
  color: var(--white);
  padding: 40px 0;
  font-size: 14px;
  line-height: 1.55;
}
.footer p { margin: 0 0 8px; }
.footer .muted { opacity: 0.6; font-size: 12px; }
.footer strong { color: var(--teal); }

/* ── Section Alt (video engagement) ────────────────────────────── */
.section-alt {
  background: #F9FAFB;
  border-top: 1px solid #E5E7EB;
  border-bottom: 1px solid #E5E7EB;
}

/* ── Bridge between sections ──────────────────────────────────── */
.bridge {
  background: var(--navy);
  padding: 36px 0;
  text-align: center;
}
.bridge-text {
  color: rgba(255,255,255,0.9);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.55;
  max-width: 680px;
  margin: 0 auto;
}
.bridge-text a {
  color: var(--teal);
  font-weight: 700;
  text-decoration: none;
}
.bridge-text a:hover {
  text-decoration: underline;
}

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 720px) {
  .hero { padding: 64px 0 56px; }
  .hero-title { font-size: 34px; }
  .hero-sub { font-size: 17px; }
  .section { padding: 56px 0; }
  .section-title { font-size: 28px; }
}
