/* ============ Fonts (self-hosted, real TechPath brand fonts) ============ */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/fonts/PlusJakartaSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/fonts/PlusJakartaSans-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

/* ============ Tokens ============ */
:root {
  --ink: #00131c;
  --ink-soft: #0c2230;
  --ink-panel: #0c1f2c;
  --blue-deep: #14509f;
  --blue: #1b7fc4;
  --cyan: #00a9da;
  --cyan-light: #4fd8f2;
  --bg: #f6f9fb;
  --bg-alt: #eef3f6;
  --border: #e2ebf1;
  --text: #0c2230;
  --muted: #5b6b74;
  --white: #ffffff;
  --gradient: linear-gradient(90deg, var(--blue-deep), var(--cyan));
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-md: 0 12px 32px rgba(12, 34, 48, 0.08);
  --shadow-lg: 0 24px 60px rgba(0, 19, 28, 0.18);
  --max-width: 1120px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
p { margin: 0 0 16px; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

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

.section { padding: 88px 0; }
.section--tight { padding: 64px 0; }
.section--dark { background: var(--ink); color: #cfe0ea; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--alt { background: var(--bg-alt); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 16px;
}
.section--dark .eyebrow, .hero .eyebrow { color: var(--cyan-light); }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 19, 28, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.site-header .logo img { height: 30px; width: auto; }
.header-contact {
  display: none;
  align-items: center;
  gap: 18px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.65);
}
.header-contact a { text-decoration: none; }
.header-contact a:hover { color: #fff; }
@media (min-width: 720px) {
  .header-contact { display: flex; }
}
.btn-ghost-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 999px;
  white-space: nowrap;
  transition: border-color 0.2s, background 0.2s;
}
.btn-ghost-header:hover { border-color: var(--cyan); background: rgba(255, 255, 255, 0.08); }

/* ============ Hero ============ */
.hero {
  position: relative;
  background: radial-gradient(1100px 520px at 50% -12%, rgba(0, 169, 218, 0.28), transparent 60%), var(--ink);
  color: #fff;
  padding: 76px 0 96px;
  overflow: hidden;
  text-align: center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.35;
  pointer-events: none;
}
.hero .container { position: relative; }
.hero h1 {
  color: #fff;
  font-size: clamp(32px, 5vw, 52px);
  max-width: 780px;
  margin: 0 auto 20px;
}
.hero .lede {
  max-width: 620px;
  margin: 0 auto 40px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.72);
}
.hero .lede strong { color: #fff; }

.stat-chip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}
.stat-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.8);
}
.stat-chip b { color: var(--cyan-light); font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; }

/* ============ Lead form (also shared by the quiz's email-gate form) ============ */
.lead-form-card {
  max-width: 560px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}
.lead-form, .quiz-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (min-width: 560px) {
  .lead-form, .quiz-form { flex-direction: row; }
}
.lead-form input[type="email"], .quiz-form input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 15px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.lead-form input[type="email"]::placeholder, .quiz-form input[type="email"]::placeholder { color: rgba(255, 255, 255, 0.45); }
.lead-form input[type="email"]:focus, .quiz-form input[type="email"]:focus { border-color: var(--cyan); background: rgba(0, 0, 0, 0.32); }

/* Placed on a light/white background (e.g. the quiz card) instead of the dark hero */
.lead-form-card--onlight {
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.lead-form-card--onlight input[type="email"] {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--border);
}
.lead-form-card--onlight input[type="email"]::placeholder { color: var(--muted); }
.lead-form-card--onlight input[type="email"]:focus { border-color: var(--blue); background: #fff; }
.lead-form-card--onlight .form-meta { color: var(--muted); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  padding: 15px 26px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 169, 218, 0.35);
}
.btn-primary:hover { box-shadow: 0 14px 38px rgba(0, 169, 218, 0.48); }
.btn-primary:disabled { opacity: 0.65; cursor: not-allowed; box-shadow: none; }
.btn-secondary {
  background: transparent;
  border: 1px solid rgba(0, 19, 28, 0.16);
  color: var(--ink);
}
.btn-secondary:hover { border-color: var(--blue); background: rgba(20, 80, 159, 0.06); }
.btn-block { width: 100%; }
.btn-lg { padding: 18px 32px; font-size: 16px; }

.form-meta {
  margin-top: 14px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}
.honeypot-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error {
  display: none;
  margin-top: 12px;
  font-size: 13.5px;
  color: #ffb4b4;
  background: rgba(255, 90, 90, 0.12);
  border: 1px solid rgba(255, 90, 90, 0.3);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  text-align: left;
}
.form-error.is-visible { display: block; }

/* ============ Section heading block ============ */
.section-head {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }
.section--dark .section-head p { color: rgba(255, 255, 255, 0.65); }

/* ============ What's inside — category cards ============ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}
.category-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.category-card:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(12, 34, 48, 0.12); }
.category-card .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--gradient);
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 14px;
}
.category-card h3 { font-size: 17px; margin-bottom: 8px; }
.category-card p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* Ungated "free value" teaser cards — same shell, full-sentence body copy */
.category-card--tip p { font-size: 15px; color: var(--ink-soft); line-height: 1.55; }
.tip-cta {
  text-align: center;
  margin: 32px 0 0;
  font-size: 15px;
  color: var(--muted);
}
.tip-cta a { color: var(--blue-deep); font-weight: 700; text-decoration: none; }
.tip-cta a:hover { text-decoration: underline; }

/* ============ Interactive checklist (quiz) ============ */
.quiz-card {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 32px;
}
@media (min-width: 640px) {
  .quiz-card { padding: 40px; }
}

.quiz-progress { margin-bottom: 28px; }
.quiz-progress-bar {
  height: 8px;
  border-radius: 999px;
  background: var(--bg-alt);
  overflow: hidden;
}
.quiz-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--gradient);
  border-radius: 999px;
  transition: width 0.25s ease;
}
.quiz-progress-label {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
}

.quiz-category { margin-bottom: 28px; }
.quiz-category:last-child { margin-bottom: 0; }
.quiz-category-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  margin-bottom: 4px;
}
.quiz-category-title .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--gradient);
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 12px;
  flex-shrink: 0;
}
.quiz-category-intro {
  color: var(--muted);
  font-size: 13.5px;
  margin: 0 0 18px 36px;
}
.quiz-question { margin-left: 36px; margin-bottom: 22px; }
.quiz-question:last-child { margin-bottom: 0; }
.quiz-question-text {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--ink);
  margin: 0 0 6px;
}
.quiz-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s ease;
}
.quiz-item:hover { background: var(--bg-alt); }
.quiz-item input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
/* Radio dot — still named "checkbox-visual" in markup/JS for historical reasons, but every
   quiz input is a radio (one answer per question), so this renders as a circle. */
.quiz-checkbox-visual {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: #fff;
  position: relative;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.quiz-checkbox-visual::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.1s ease;
}
.quiz-item input:checked ~ .quiz-checkbox-visual {
  background: var(--blue);
  border-color: var(--blue);
}
.quiz-item input:checked ~ .quiz-checkbox-visual::after { opacity: 1; }
.quiz-item input:focus-visible ~ .quiz-checkbox-visual { outline: 2px solid var(--cyan); outline-offset: 2px; }
.quiz-item-text { font-size: 14.5px; color: var(--ink-soft); line-height: 1.5; }

.quiz-result {
  margin-top: 32px;
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--bg);
  border: 1px solid var(--border);
  text-align: center;
}
.quiz-result h3 { font-size: 20px; margin-bottom: 8px; }
.quiz-result p { color: var(--muted); font-size: 14.5px; margin: 0; }

.quiz-email-gate { margin-top: 24px; text-align: center; }
.quiz-gate-heading { font-weight: 700; color: var(--ink); margin-bottom: 14px; font-size: 15px; }

.quiz-success { margin-top: 24px; text-align: center; }
.quiz-success .check {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 24px;
  box-shadow: 0 10px 30px rgba(0, 169, 218, 0.35);
}
.quiz-success h3 { font-size: 20px; }
.quiz-success p { color: var(--muted); }
.quiz-success .upsell-card {
  margin-top: 28px;
  text-align: left;
  background: var(--bg-alt);
  border: 1px solid var(--border);
}
.quiz-success .upsell-card .eyebrow { color: var(--blue-deep); justify-content: center; }
.quiz-success .upsell-card h3 { color: var(--ink); text-align: center; }
.quiz-success .upsell-card h3 em { color: var(--blue-deep); font-style: normal; }
.quiz-success .upsell-card p { text-align: center; }
.quiz-success .upsell-card .btn { display: flex; margin: 0 auto; width: fit-content; }

/* ============ Audience badges ============ */
.audience-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}
.audience-badge {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
}

/* ============ Stat proof grid ============ */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 26px 22px;
}
.stat-card .value {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 30px;
  color: var(--cyan-light);
  margin-bottom: 6px;
}
.stat-card .label { font-size: 14px; color: rgba(255, 255, 255, 0.68); }

.testimonial {
  max-width: 720px;
  margin: 56px auto 0;
  text-align: center;
}
.testimonial blockquote {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 700;
  line-height: 1.45;
  color: #fff;
  margin: 0 0 16px;
}
.testimonial cite {
  font-style: normal;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}

/* ============ About TechPath ============ */
.about-block {
  display: grid;
  gap: 40px;
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) {
  .about-block { grid-template-columns: 1fr 1fr; }
}
.about-block img.logo-mark { height: 40px; width: auto; margin-bottom: 20px; }
.about-block p { color: var(--muted); font-size: 16px; }
.team-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}
.team-member { font-size: 14px; }
.team-member .name { font-weight: 700; color: var(--ink); display: block; }
.team-member .role { color: var(--muted); }
.about-stats {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}
.about-stats ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.about-stats li { display: flex; gap: 14px; align-items: flex-start; }
.about-stats .dot {
  flex-shrink: 0;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gradient);
  margin-top: 8px;
}
.about-stats .txt b { color: var(--ink); }
.about-stats .txt { color: var(--muted); font-size: 14.5px; }

/* ============ FAQ ============ */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 4px 22px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 700;
  font-size: 15.5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: var(--blue);
  margin-left: 12px;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--muted); padding-bottom: 18px; margin: 0; font-size: 14.5px; }

/* ============ Final CTA ============ */
.final-cta {
  text-align: center;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 64px 32px;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 260px at 50% 0%, rgba(0, 169, 218, 0.3), transparent 70%);
}
.final-cta > * { position: relative; }
.final-cta h2 { color: #fff; }
.final-cta p { color: rgba(255, 255, 255, 0.7); max-width: 520px; margin: 0 auto 32px; }
.final-cta .lead-form-card { background: rgba(255, 255, 255, 0.07); }
.cta-divider {
  margin: 28px auto 0;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.5);
}
.cta-divider a { color: var(--cyan-light); font-weight: 600; text-decoration: none; }
.cta-divider a:hover { text-decoration: underline; }

/* ============ Footer ============ */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.55);
  padding: 48px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-top img { height: 26px; width: auto; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; font-size: 13.5px; }
.footer-links a { text-decoration: none; color: rgba(255, 255, 255, 0.6); }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  padding-top: 20px;
  font-size: 13px;
}

/* ============ Thank-you page ============ */
.thankyou-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(1100px 520px at 50% -12%, rgba(0, 169, 218, 0.28), transparent 60%), var(--ink);
  color: #fff;
  text-align: center;
  padding: 48px 24px;
}
.thankyou-card { max-width: 560px; }
.thankyou-card--wide { max-width: 640px; }
.thankyou-card .check {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 10px 30px rgba(0, 169, 218, 0.35);
}
.thankyou-card h1 { color: #fff; font-size: clamp(26px, 4vw, 36px); }
.thankyou-card p { color: rgba(255, 255, 255, 0.7); font-size: 16px; }
.thankyou-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; align-items: center; }
@media (min-width: 480px) {
  .thankyou-actions { flex-direction: row; justify-content: center; }
}

.upsell-card {
  margin-top: 44px;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.upsell-card h2 { color: #fff; font-size: clamp(20px, 2.6vw, 26px); }
.upsell-card h2 em { color: var(--cyan-light); font-style: normal; }
.upsell-card p { font-size: 15px; }

/* ============ 404 ============ */
.notfound-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: 24px;
  gap: 16px;
}

/* ============ Utility ============ */
.hidden { display: none !important; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}
