/* =============================================
   phageQuest — style.css
   ============================================= */

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

:root {
  --dark:     #111111;
  --dark2:    #1c1c1c;
  --green:    #2e5c4e;
  --green-dk: #244a3e;
  --gold:     #c49a28;
  --gold-lt:  #d4aa3a;
  --cream:    #f2ede6;
  --white:    #ffffff;
  --muted:    #888888;
  --serif:    'Playfair Display', Georgia, serif;
  --sans:     'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--dark);
  line-height: 1.6;
}

/* ── NAVBAR ──────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  height: 58px; padding: 0 36px;
  background: var(--white);
  border-bottom: 1px solid #e2e2e2;
}
.logo { font-family: var(--sans); font-size: 17px; font-weight: 400; letter-spacing: -.2px; }
.logo b { font-weight: 700; }
.nav-links { display: flex; gap: 34px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--dark); font-size: 13.5px; opacity: .7; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.btn-nav-outline {
  padding: 7px 16px; border: 1.5px solid #1a1a1a; border-radius: 4px;
  font-size: 13px; font-weight: 500; text-decoration: none; color: var(--dark);
  font-family: var(--sans); transition: background .2s;
}
.btn-nav-outline:hover { background: #f5f5f5; }
.btn-nav-fill {
  padding: 7px 18px; background: var(--green); color: var(--white);
  border: none; border-radius: 4px; font-size: 13px; font-weight: 500;
  text-decoration: none; font-family: var(--sans); cursor: pointer; transition: background .2s;
}
.btn-nav-fill:hover { background: var(--green-dk); }

/* ── HERO ─────────────────────────────────────── */
.hero { display: grid; grid-template-columns: 50% 50%; min-height: calc(100vh - 58px); }

.hero-left {
  background: var(--dark);
  padding: 0 64px;
  display: flex; flex-direction: column; justify-content: center;
  background-image: radial-gradient(circle, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 28px 28px;
}
.cert-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13);
  padding: 9px 16px; border-radius: 4px;
  font-size: 12px; color: rgba(255,255,255,.65);
  margin-bottom: 34px; width: fit-content; letter-spacing: .2px;
}
.cert-badge svg { opacity: .55; flex-shrink: 0; }
.hero-title {
  font-family: var(--serif); font-size: clamp(38px, 3.6vw, 60px); font-weight: 900;
  line-height: 1.08; color: var(--white); margin-bottom: 22px; letter-spacing: -.5px;
}
.hero-title .gold { color: var(--gold); }
.hero-body { font-size: 14.5px; color: rgba(255,255,255,.62); max-width: 400px; line-height: 1.75; margin-bottom: 38px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.btn-gold {
  padding: 13px 22px; background: var(--gold); color: var(--white);
  border-radius: 4px; font-size: 14px; font-weight: 600;
  text-decoration: none; font-family: var(--sans); transition: background .2s;
}
.btn-gold:hover { background: var(--gold-lt); }
.btn-ghost {
  padding: 13px 22px; border: 1.5px solid rgba(255,255,255,.35); color: var(--white);
  border-radius: 4px; font-size: 14px; font-weight: 400;
  text-decoration: none; font-family: var(--sans); transition: border-color .2s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,.75); }
.hero-meta { font-size: 11.5px; color: rgba(255,255,255,.3); letter-spacing: .6px; }

.hero-right {
  background: var(--green);
  display: flex; align-items: center; justify-content: center; padding: 60px 48px;
  background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 28px 28px;
}
.hero-card { text-align: center; color: var(--white); max-width: 340px; width: 100%; }
.hero-card h3 { font-family: var(--serif); font-size: 24px; font-weight: 700; line-height: 1.25; margin-bottom: 14px; }
.hero-card p { font-size: 13px; color: rgba(255,255,255,.75); line-height: 1.75; margin-bottom: 34px; }
.hero-stats {
  display: flex; gap: 36px; justify-content: center;
  border-top: 1px solid rgba(255,255,255,.15); padding-top: 28px;
}
.stat { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.stat-n { font-family: var(--serif); font-size: 30px; font-weight: 800; color: var(--white); }
.stat-l { font-size: 9.5px; letter-spacing: 1.2px; color: rgba(255,255,255,.5); text-transform: uppercase; }

/* ── TRUST BAR ───────────────────────────────── */
.trust-bar { display: grid; grid-template-columns: repeat(4,1fr); border-bottom: 1px solid #e0e0e0; }
.trust-item { display: flex; align-items: center; gap: 12px; padding: 18px 28px; border-right: 1px solid #e0e0e0; }
.trust-item:last-child { border-right: none; }
.trust-icon { font-size: 17px; opacity: .5; flex-shrink: 0; }
.trust-item div { display: flex; flex-direction: column; gap: 2px; }
.trust-item strong { font-size: 13px; font-weight: 600; }
.trust-item span { font-size: 11.5px; color: var(--muted); }

/* ── PROBLEM / SOLUTION ──────────────────────── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; min-height: 480px; }
.panel-dark { background: var(--dark); color: var(--white); padding: 80px 64px; }
.panel-green { background: var(--green); color: var(--white); padding: 80px 64px; }
.section-eyebrow {
  font-size: 10.5px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--gold); font-weight: 500; margin-bottom: 18px;
}
.panel-dark h2, .panel-green h2 {
  font-family: var(--serif); font-size: clamp(22px, 2.4vw, 34px); font-weight: 800;
  line-height: 1.15; margin-bottom: 18px; color: var(--white);
}
.panel-dark p, .panel-green p { font-size: 13.5px; color: rgba(255,255,255,.7); line-height: 1.8; margin-bottom: 14px; }
.arrow-list { list-style: none; margin: 16px 0 20px; }
.arrow-list li { font-size: 13.5px; color: rgba(255,255,255,.75); padding: 5px 0 5px 22px; position: relative; }
.arrow-list li::before { content:'→'; position:absolute; left:0; color:rgba(255,255,255,.35); }
.panel-dark em { font-style: italic; color: rgba(255,255,255,.5); }
blockquote {
  border-left: 3px solid var(--gold); padding-left: 18px;
  margin: 22px 0; font-size: 13px; font-style: italic;
  color: rgba(255,255,255,.7); line-height: 1.8;
}
.link-gold { color: var(--gold); font-size: 13.5px; text-decoration: underline; font-weight: 500; }

/* ── TESTIMONIALS ────────────────────────────── */
.testimonials { background: var(--cream); padding: 86px 80px; }
.testimonials h2 { font-family: var(--serif); font-size: clamp(28px, 3vw, 44px); font-weight: 800; text-align: center; margin-bottom: 8px; }
.sub-label { font-size: 13px; color: var(--muted); text-align: center; margin-bottom: 48px; }
.t-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 980px; margin: 0 auto; }
.t-card { background: var(--white); border-radius: 8px; padding: 36px; box-shadow: 0 2px 14px rgba(0,0,0,.06); }
.stars { color: var(--gold); font-size: 17px; letter-spacing: 3px; margin-bottom: 18px; }
.t-card p { font-size: 13.5px; color: #444; line-height: 1.8; font-style: italic; margin-bottom: 22px; }
.t-author { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 38px; height: 38px; border-radius: 50%; background: var(--green); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; flex-shrink: 0;
}
.t-author strong { display: block; font-size: 13.5px; font-weight: 600; }
.t-author span { font-size: 11.5px; color: var(--muted); }

/* ── HOW IT WORKS ────────────────────────────── */
.how { background: var(--white); padding: 86px 80px; }
.how h2 { font-family: var(--serif); font-size: clamp(26px, 3vw, 42px); font-weight: 800; margin-bottom: 10px; }
.how .sub { font-size: 13.5px; color: var(--muted); max-width: 480px; margin-bottom: 52px; }
.steps { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid #e6e6e6; border-radius: 4px; overflow: hidden; }
.step { padding: 38px 32px; border-right: 1px solid #e6e6e6; position: relative; overflow: hidden; }
.step:last-child { border-right: none; }
.step h3 { font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.step p { font-size: 13px; color: #555; line-height: 1.8; }
.step-n {
  position: absolute; bottom: 14px; right: 24px;
  font-family: var(--serif); font-size: 86px; font-weight: 900;
  color: rgba(0,0,0,.04); line-height: 1; user-select: none;
}

/* ── TEAM ────────────────────────────────────── */
.team { background: var(--white); padding: 86px 80px; border-top: 1px solid #ebebeb; }
.team h2 { font-family: var(--serif); font-size: clamp(26px, 3vw, 46px); font-weight: 800; max-width: 680px; margin-bottom: 14px; line-height: 1.1; }
.team .sub { font-size: 13.5px; color: var(--muted); max-width: 560px; margin-bottom: 52px; }
.team-grid { display: grid; grid-template-columns: repeat(5,1fr); border: 1px solid #e6e6e6; border-radius: 4px; overflow: hidden; }
.team-card { padding: 28px 20px; border-right: 1px solid #e6e6e6; }
.team-card:last-child { border-right: none; }
.team-role { font-size: 9.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; line-height: 1.6; }
.team-card h3 { font-family: var(--serif); font-size: 18px; font-weight: 700; margin-bottom: 6px; line-height: 1.2; }
.cred { font-size: 11px; font-weight: 600; margin-bottom: 12px; }
.cred.gold { color: var(--gold); }
.cred.green { color: var(--green); }
.team-card p { font-size: 11.5px; color: #555; line-height: 1.8; }

/* ── PRICING + INQUIRY (combined section) ────── */
.pricing-inquiry {
  background: var(--dark);
  color: var(--white);
  padding: 86px 80px;
}
.pi-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

/* Left column: heading + description + pricing cards stacked below */
.pi-left { display: flex; flex-direction: column; }
.gold-ey { color: var(--gold) !important; }
.pi-left h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 2.8vw, 40px);
  font-weight: 800; line-height: 1.2; margin-bottom: 16px;
}
.pi-desc {
  font-size: 13.5px; color: rgba(255,255,255,.6);
  line-height: 1.8; margin-bottom: 32px;
}
.p-cards { display: flex; flex-direction: column; gap: 16px; }
.p-card { border-radius: 8px; padding: 32px; }
.p-card.std { background: #262626; border: 1px solid #333; }
.p-card.partner { background: var(--green); }
.plan-name { font-size: 11px; font-family: monospace; color: rgba(255,255,255,.45); letter-spacing: 1px; margin-bottom: 10px; }
.price-big { font-family: var(--serif); font-size: 50px; font-weight: 900; color: var(--white); line-height: 1; margin-bottom: 4px; }
.price-sub { font-size: 11.5px; color: rgba(255,255,255,.45); margin-bottom: 20px; }
.feat-list { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.feat-list li { font-size: 13px; color: rgba(255,255,255,.8); }
.early-badge {
  display: inline-block; background: var(--gold);
  font-size: 10.5px; font-weight: 700; letter-spacing: 1px;
  padding: 5px 12px; border-radius: 4px; color: var(--white); margin-bottom: 14px;
}
.btn-white {
  display: block; width: 100%; background: var(--white); color: var(--dark);
  text-align: center; padding: 14px; border-radius: 4px; text-decoration: none;
  font-size: 14px; font-weight: 600; font-family: var(--sans); transition: background .2s;
}
.btn-white:hover { background: #f0f0f0; }

/* Right column: Schedule Intro Call form */
.pi-right { position: sticky; top: 80px; }
.inq-card {
  background: #1e1e1e; border-radius: 12px; padding: 44px 48px;
}
.inq-card h2 {
  font-family: var(--serif); font-size: 26px; font-weight: 800;
  color: var(--white); margin-bottom: 8px;
}
.inq-card > p { font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 28px; line-height: 1.7; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 22px; }
.fg { display: flex; flex-direction: column; gap: 7px; }
.fg.full { grid-column: 1/-1; }
.fg label { font-size: 10px; letter-spacing: 1.8px; text-transform: uppercase; color: rgba(255,255,255,.38); font-weight: 500; }
.fg input, .fg textarea {
  background: #2a2a2a; border: 1px solid #393939; border-radius: 5px;
  padding: 12px 14px; font-size: 13px; color: var(--white);
  font-family: var(--sans); outline: none; transition: border-color .2s;
}
.fg input::placeholder, .fg textarea::placeholder { color: rgba(255,255,255,.2); }
.fg input:focus, .fg textarea:focus { border-color: var(--gold); }
.fg textarea { min-height: 100px; resize: vertical; }
.btn-gold-sub {
  width: 100%; background: var(--gold); color: var(--white); border: none;
  padding: 16px; border-radius: 5px; font-size: 15px; font-weight: 600;
  font-family: var(--sans); cursor: pointer; transition: background .2s;
}
.btn-gold-sub:hover { background: var(--gold-lt); }

/* ── SAMPLE LESSON ───────────────────────────── */
.sample {
  background: var(--cream); padding: 86px 80px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.sample-l h2 { font-family: var(--serif); font-size: clamp(26px, 3vw, 40px); font-weight: 800; margin-bottom: 18px; line-height: 1.15; }
.sample-l p { font-size: 13.5px; color: #555; line-height: 1.8; margin-bottom: 28px; }
.sample-ctas { display: flex; gap: 14px; }
.btn-blk { padding: 13px 22px; background: var(--dark); color: var(--white); border-radius: 4px; text-decoration: none; font-size: 14px; font-weight: 600; font-family: var(--sans); transition: background .2s; }
.btn-blk:hover { background: #333; }
.btn-bdr { padding: 13px 22px; border: 1.5px solid var(--dark); color: var(--dark); border-radius: 4px; text-decoration: none; font-size: 14px; font-weight: 500; font-family: var(--sans); transition: background .2s; }
.btn-bdr:hover { background: rgba(0,0,0,.05); }
.sample-card { background: var(--dark); color: var(--white); border-radius: 12px; padding: 44px 38px; text-align: center; }
.sample-icon { font-size: 44px; margin-bottom: 20px; }
.sample-card h3 { font-family: var(--serif); font-size: 21px; font-weight: 700; margin-bottom: 10px; }
.sample-card > p { font-size: 13px; color: rgba(255,255,255,.62); margin-bottom: 26px; line-height: 1.7; }
.check-list { list-style: none; text-align: left; display: flex; flex-direction: column; gap: 11px; }
.check-list li { font-size: 13.5px; color: rgba(255,255,255,.8); }
.check-list li span { color: var(--gold); margin-right: 6px; }

/* ── FOOTER ──────────────────────────────────── */
footer { background: var(--dark); color: var(--white); padding: 58px 80px 28px; }
.footer-main { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; margin-bottom: 50px; }
.f-logo { font-family: var(--sans); font-size: 17px; font-weight: 400; margin-bottom: 14px; }
.f-logo b { color: var(--gold); font-weight: 700; }
.footer-brand p { font-size: 12.5px; color: rgba(255,255,255,.45); max-width: 280px; line-height: 1.7; }
.f-col-title { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 18px; }
.f-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.f-col a { text-decoration: none; color: rgba(255,255,255,.55); font-size: 13.5px; transition: color .2s; }
.f-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom span { font-size: 11.5px; color: rgba(255,255,255,.28); }

/* ── TOAST ───────────────────────────────────── */
#toast {
  position: fixed; bottom: 28px; right: 28px;
  background: var(--green); color: var(--white);
  padding: 14px 22px; border-radius: 8px;
  font-size: 14px; font-weight: 500;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
  transform: translateY(80px); opacity: 0;
  transition: transform .35s, opacity .35s; z-index: 999;
}
#toast.show { transform: translateY(0); opacity: 1; }

/* =============================================
   RESPONSIVE — MOBILE & TABLET
   ============================================= */

/* ── Hamburger button (hidden on desktop) ── */
.hamburger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 40px; height: 40px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--dark); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* ── Mobile menu overlay ── */
.mobile-menu {
  display: none;
  position: fixed; inset: 0; z-index: 300;
  background: var(--dark);
  flex-direction: column; align-items: center; justify-content: center;
  gap: 0; text-align: center;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.mobile-menu.open {
  opacity: 1; pointer-events: all;
}
.mobile-menu ul {
  list-style: none; display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 36px;
}
.mobile-menu ul a {
  font-family: var(--serif); font-size: 28px; font-weight: 700;
  color: var(--white); text-decoration: none; display: block; padding: 10px 20px;
  transition: color .2s;
}
.mobile-menu ul a:hover { color: var(--gold); }
.mobile-menu-ctas {
  display: flex; flex-direction: column; gap: 12px; align-items: center;
}
.mobile-menu-ctas .btn-nav-outline {
  border-color: rgba(255,255,255,.4); color: var(--white);
  padding: 12px 28px; font-size: 14px;
}
.mobile-menu-ctas .btn-nav-fill { padding: 12px 28px; font-size: 14px; }
.mobile-close {
  position: absolute; top: 18px; right: 24px;
  background: none; border: none; color: rgba(255,255,255,.6);
  font-size: 24px; cursor: pointer; line-height: 1;
}
.mobile-close:hover { color: var(--white); }

/* ═══════════════════════════════════════════
   TABLET  — max-width: 1024px
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {

  /* Navbar */
  .nav-links { gap: 20px; }
  .btn-nav-outline { display: none; }

  /* Hero */
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 60px 40px; min-height: 60vh; justify-content: center; }
  .hero-right { padding: 50px 40px; }

  /* Trust bar */
  .trust-bar { grid-template-columns: repeat(2,1fr); }
  .trust-item:nth-child(2) { border-right: none; }
  .trust-item:nth-child(3) { border-top: 1px solid #e0e0e0; }
  .trust-item:nth-child(4) { border-top: 1px solid #e0e0e0; }

  /* Problem / Solution */
  .two-col { grid-template-columns: 1fr; }
  .panel-dark, .panel-green { padding: 60px 40px; }

  /* Testimonials */
  .testimonials { padding: 60px 40px; }

  /* How it works */
  .how { padding: 60px 40px; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid #e6e6e6; }
  .step:last-child { border-bottom: none; }

  /* Team */
  .team { padding: 60px 40px; }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .team-card:nth-child(2) { border-right: none; }
  .team-card:nth-child(3) { border-top: 1px solid #e6e6e6; }
  .team-card:nth-child(4) { border-top: 1px solid #e6e6e6; }
  .team-card:nth-child(5) { border-top: 1px solid #e6e6e6; border-right: none; grid-column: 1 / -1; }

  /* Pricing + Inquiry */
  .pricing-inquiry { padding: 60px 40px; }
  .pi-inner { grid-template-columns: 1fr; gap: 40px; }
  .pi-right { position: static; }

  /* Sample */
  .sample { padding: 60px 40px; gap: 48px; }

  /* Footer */
  footer { padding: 48px 40px 24px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ═══════════════════════════════════════════
   MOBILE  — max-width: 680px
   ═══════════════════════════════════════════ */
@media (max-width: 680px) {

  /* Navbar — show hamburger, hide links + actions */
  .nav-links { display: none; }
  .nav-actions { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }

  /* Hero */
  .hero-left { padding: 48px 24px; }
  .hero-right { padding: 40px 24px; }
  .hero-title { font-size: clamp(32px, 9vw, 48px); }
  .hero-ctas { flex-direction: column; }
  .btn-gold, .btn-ghost { text-align: center; }
  .hero-stats { gap: 20px; }

  /* Trust bar */
  .trust-bar { grid-template-columns: 1fr; }
  .trust-item { border-right: none !important; border-bottom: 1px solid #e0e0e0; }
  .trust-item:last-child { border-bottom: none; }

  /* Problem / Solution */
  .panel-dark, .panel-green { padding: 48px 24px; }

  /* Testimonials */
  .testimonials { padding: 48px 24px; }
  .t-grid { grid-template-columns: 1fr; }

  /* How it works */
  .how { padding: 48px 24px; }

  /* Team */
  .team { padding: 48px 24px; }
  .team-grid { grid-template-columns: 1fr; }
  .team-card { border-right: none !important; border-bottom: 1px solid #e6e6e6; }
  .team-card:last-child { border-bottom: none; }
  .team-card { grid-column: auto !important; }

  /* Pricing */
  .pricing-inquiry { padding: 48px 24px; }
  .inq-card { padding: 32px 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .fg.full { grid-column: auto; }
  .price-big { font-size: 40px; }

  /* Sample */
  .sample { grid-template-columns: 1fr; padding: 48px 24px; gap: 32px; }
  .sample-ctas { flex-direction: column; }
  .btn-blk, .btn-bdr { text-align: center; }

  /* Footer */
  footer { padding: 40px 24px 20px; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
