/* ============================================================
   AI PROFIT SYSTEM — Shared Stylesheet
   Design language: premium minimalist tech/education
   ============================================================ */

:root {
  /* ---- Color tokens ---- */
  --near-black: #090c11;
  --navy: #0f1a2e;
  --navy-deep: #0b1424;
  --navy-light: #16223a;
  --white: #ffffff;
  --off-white: #f5f7fb;
  --cyan: #35d6f0;
  --cyan-dim: rgba(53, 214, 240, 0.14);
  --blue: #3f7cf6;
  --gold: #c9a04a;
  --gold-dim: rgba(201, 160, 74, 0.14);
  --text-body: #aab4c8;
  --text-body-dark: #4a5568;
  --border-soft: rgba(255, 255, 255, 0.08);
  --border-soft-dark: rgba(10, 20, 35, 0.08);

  /* ---- Type ---- */
  --font-display: "Space Grotesk", "Sora", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  /* ---- Layout ---- */
  --max-width: 1160px;
  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;
  --shadow-soft: 0 20px 60px rgba(6, 10, 20, 0.35);
  --shadow-card: 0 12px 30px rgba(6, 10, 20, 0.18);
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1.5px;
  background: var(--cyan);
  display: inline-block;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  color: var(--navy);
}

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  line-height: 1.18;
  margin-bottom: 14px;
}

.section-head p {
  color: var(--text-body-dark);
  font-size: 1.05rem;
}

.accent {
  color: var(--cyan);
  background: linear-gradient(180deg, transparent 62%, var(--cyan-dim) 62%);
}

section {
  padding: 96px 0;
}

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.announcement-bar {
  background: var(--near-black);
  color: var(--off-white);
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  padding: 10px 20px;
  font-weight: 500;
}

/* ============================================================
   CTA BUTTONS
   ============================================================ */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 17px 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: var(--near-black);
  box-shadow: 0 10px 30px rgba(53, 214, 240, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(53, 214, 240, 0.38);
}

.cta-button.dark {
  background: var(--navy);
  color: var(--white);
  box-shadow: none;
  border: 1px solid var(--border-soft-dark);
}

.cta-sub {
  display: block;
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--text-body-dark);
  letter-spacing: 0.01em;
}

.cta-sub.on-dark {
  color: var(--text-body);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: radial-gradient(120% 100% at 15% 0%, var(--navy-light) 0%, var(--navy-deep) 45%, var(--near-black) 100%);
  color: var(--white);
  padding: 84px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 30% 20%, black 0%, transparent 65%);
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid rgba(53, 214, 240, 0.35);
  background: var(--cyan-dim);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 26px;
}

.hero h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 22px;
}

.hero h1 .highlight {
  color: var(--cyan);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-body);
  max-width: 480px;
  margin-bottom: 34px;
}

.hero-flow-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-family: var(--font-display);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: var(--text-body);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 9px 18px 9px 14px;
}

.hero-flow-tag span.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-visual .glow {
  position: absolute;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(53,214,240,0.22), transparent 70%);
  filter: blur(10px);
  z-index: 0;
}

.hero-visual img {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-soft), 0 0 0 1px rgba(255,255,255,0.06);
  max-width: 460px;
  width: 100%;
}

/* ============================================================
   PROBLEM SECTION
   ============================================================ */
.problem {
  background: var(--off-white);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.problem-card {
  background: var(--white);
  border: 1px solid var(--border-soft-dark);
  border-radius: var(--radius-m);
  padding: 30px 24px;
  box-shadow: var(--shadow-card);
}

.problem-card .num {
  font-family: var(--font-display);
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  display: block;
}

.problem-card h3 {
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--navy);
}

/* ============================================================
   WORKFLOW (Solution section — signature element)
   ============================================================ */
.solution {
  background: var(--near-black);
  color: var(--white);
  position: relative;
}

.solution .section-head h2,
.solution .section-head p {
  color: var(--white);
}

.solution .section-head p {
  color: var(--text-body);
}

.workflow {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0;
  position: relative;
  margin-top: 20px;
}

.workflow-track {
  position: absolute;
  top: 27px;
  left: 27px;
  right: 27px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  opacity: 0.35;
  z-index: 0;
}

.workflow-step {
  position: relative;
  z-index: 1;
  flex: 1;
  text-align: center;
  padding: 0 8px;
}

.workflow-node {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  border: 1px solid rgba(53,214,240,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--cyan);
  box-shadow: 0 0 22px rgba(53,214,240,0.18);
}

.workflow-step h4 {
  color: var(--white);
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}

.solution-note {
  max-width: 640px;
  margin: 56px auto 0;
  text-align: center;
  color: var(--text-body);
  font-size: 1.02rem;
}

/* ============================================================
   CARD GRIDS (What you'll learn / benefits)
   ============================================================ */
.learn-grid,
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border-soft-dark);
  border-radius: var(--radius-m);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(6,10,20,0.14);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--cyan-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--cyan);
  font-family: var(--font-display);
  font-weight: 700;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-body-dark);
  font-size: 0.96rem;
}

/* ============================================================
   HOW IT WORKS — timeline
   ============================================================ */
.how-it-works {
  background: var(--white);
}

.timeline {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--border-soft-dark);
}

.timeline-item {
  position: relative;
  padding-left: 76px;
  padding-bottom: 42px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--cyan);
  font-family: var(--font-display);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.timeline-item h4 {
  font-size: 1.08rem;
  margin-bottom: 6px;
}

.timeline-item p {
  color: var(--text-body-dark);
}

.timeline-close {
  text-align: center;
  margin-top: 48px;
  font-size: 1.05rem;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 500;
}

/* ============================================================
   WHO THIS IS FOR
   ============================================================ */
.audience {
  background: var(--off-white);
}

.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.audience-card {
  background: var(--white);
  border-radius: var(--radius-m);
  padding: 34px 32px;
  border: 1px solid var(--border-soft-dark);
}

.audience-card h3 {
  font-size: 1.15rem;
  margin-bottom: 20px;
}

.audience-card ul li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.98rem;
  color: var(--text-body-dark);
  line-height: 1.5;
}

.audience-card.yes {
  border-top: 3px solid var(--cyan);
}

.audience-card.no {
  border-top: 3px solid var(--gold);
}

.mark {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 700;
}

.audience-card.yes .mark {
  color: var(--cyan);
}

.audience-card.no .mark {
  color: var(--gold);
}

/* ============================================================
   MODULES
   ============================================================ */
.modules {
  background: var(--navy-deep);
  color: var(--white);
}

.modules .section-head h2,
.modules .section-head p {
  color: var(--white);
}

.modules .section-head p {
  color: var(--text-body);
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.module-card {
  background: var(--navy);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-m);
  padding: 28px 26px;
}

.module-card .module-num {
  font-family: var(--font-display);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 14px;
  display: block;
}

.module-card h3 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.module-card p {
  color: var(--text-body);
  font-size: 0.94rem;
}

/* ============================================================
   PRODUCT SHOWCASE
   ============================================================ */
.showcase {
  background: var(--white);
}

.showcase .container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.showcase-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.showcase-visual img {
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-soft);
  max-width: 100%;
}

.showcase-copy .eyebrow {
  color: var(--gold);
}

.showcase-copy .eyebrow::before {
  background: var(--gold);
}

.showcase-copy h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  line-height: 1.2;
  margin-bottom: 18px;
}

.showcase-copy p {
  color: var(--text-body-dark);
  font-size: 1.03rem;
  margin-bottom: 30px;
}

/* ============================================================
   OBJECTIONS
   ============================================================ */
.objections {
  background: var(--off-white);
}

.objection-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.objection-card {
  background: var(--white);
  border-radius: var(--radius-m);
  padding: 28px 30px;
  border: 1px solid var(--border-soft-dark);
}

.objection-card .q {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  margin-bottom: 12px;
  color: var(--navy);
}

.objection-card .q::before {
  content: "“";
  color: var(--cyan);
}

.objection-card .a {
  color: var(--text-body-dark);
  font-size: 0.96rem;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-soft-dark);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--navy);
}

.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--navy);
  transition: transform 0.25s ease;
}

.faq-icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1.5px;
  transform: translateY(-50%);
}

.faq-icon::after {
  left: 50%;
  top: 0;
  height: 100%;
  width: 1.5px;
  transform: translateX(-50%);
}

.faq-item.open .faq-icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 4px 22px;
  color: var(--text-body-dark);
  font-size: 0.98rem;
  max-width: 640px;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  background: radial-gradient(120% 140% at 50% 0%, var(--navy-light) 0%, var(--near-black) 60%);
  color: var(--white);
  text-align: center;
}

.final-cta h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.15;
  max-width: 640px;
  margin: 0 auto 20px;
}

.final-cta p {
  color: var(--text-body);
  max-width: 540px;
  margin: 0 auto 36px;
  font-size: 1.05rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--near-black);
  color: var(--text-body);
  padding: 56px 0 34px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--border-soft);
}

.footer-brand h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 0.92rem;
  max-width: 320px;
}

.footer-links {
  display: flex;
  gap: 28px;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--cyan);
}

.footer-disclaimer {
  padding-top: 26px;
  font-size: 0.8rem;
  line-height: 1.6;
  color: rgba(170, 180, 200, 0.7);
  max-width: 820px;
}

/* ============================================================
   STUDENT RESULTS PLACEHOLDER (hidden until real testimonials exist)
   ============================================================ */
.student-results {
  display: none;
}

/* ============================================================
   THANK YOU PAGE
   ============================================================ */
.ty-hero {
  background: radial-gradient(120% 100% at 50% 0%, var(--navy-light) 0%, var(--navy-deep) 45%, var(--near-black) 100%);
  color: var(--white);
  text-align: center;
  padding: 90px 0 80px;
  position: relative;
  overflow: hidden;
}

.ty-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 10%, black 0%, transparent 70%);
  pointer-events: none;
}

.ty-hero .container {
  position: relative;
  z-index: 1;
}

.ty-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

.ty-hero h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 4.4vw, 3.1rem);
  margin-bottom: 16px;
}

.ty-hero p.sub {
  color: var(--text-body);
  font-size: 1.08rem;
  max-width: 520px;
  margin: 0 auto 40px;
}

.ty-cover {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 44px;
}

.ty-cover .glow {
  position: absolute;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(53,214,240,0.22), transparent 70%);
  filter: blur(10px);
}

.ty-cover img {
  position: relative;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-soft);
  max-width: 340px;
  width: 100%;
}

.ty-access-btn {
  font-size: 1.02rem;
  padding: 19px 44px;
}

.ty-next-step {
  margin-top: 22px;
  color: var(--text-body);
  font-size: 0.95rem;
}

.ty-steps {
  background: var(--off-white);
}

.ty-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ty-step-card {
  background: var(--white);
  border-radius: var(--radius-m);
  border: 1px solid var(--border-soft-dark);
  padding: 34px 28px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.ty-step-card .step-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--cyan);
  display: block;
  margin-bottom: 16px;
}

.ty-step-card h3 {
  font-size: 1.05rem;
}

.ty-support {
  background: var(--white);
  text-align: center;
}

.ty-support h2 {
  font-size: 1.7rem;
  margin-bottom: 14px;
}

.ty-support p {
  color: var(--text-body-dark);
  margin-bottom: 6px;
}

.ty-support a {
  color: var(--blue);
  font-weight: 600;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-visual {
    order: -1;
  }

  .hero-sub {
    max-width: 100%;
  }

  .problem-grid,
  .learn-grid,
  .benefits-grid,
  .module-grid,
  .audience-grid,
  .objection-grid,
  .ty-steps-grid {
    grid-template-columns: 1fr 1fr;
  }

  .showcase .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .showcase-visual {
    order: -1;
  }

  .workflow {
    flex-wrap: wrap;
    row-gap: 32px;
  }

  .workflow-step {
    flex: 0 0 33.3%;
  }

  .workflow-track {
    display: none;
  }
}

@media (max-width: 600px) {
  section {
    padding: 68px 0;
  }

  .announcement-bar {
    font-size: 0.74rem;
  }

  .problem-grid,
  .learn-grid,
  .benefits-grid,
  .module-grid,
  .audience-grid,
  .objection-grid,
  .ty-steps-grid {
    grid-template-columns: 1fr;
  }

  .workflow-step {
    flex: 0 0 50%;
  }

  .cta-button {
    width: 100%;
  }

  .footer-top {
    flex-direction: column;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
