:root {
  --bg: #080b2a;
  --bg-2: #0b102e;
  --panel: rgba(17, 26, 74, 0.82);
  --panel-solid: #111a4a;
  --panel-soft: rgba(238, 242, 255, 0.08);
  --text: #f8fafc;
  --muted: #cbd5e1;
  --muted-2: #94a3b8;
  --line: rgba(196, 181, 253, 0.22);
  --violet: #7c3aed;
  --cyan: #38bdf8;
  --lavender: #c4b5fd;
  --card-light: #eef2ff;
  --dark-text: #0f172a;
  --danger: #fb7185;
  --success: #34d399;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(56, 189, 248, 0.12), transparent 34%),
    linear-gradient(215deg, rgba(124, 58, 237, 0.16), transparent 38%),
    var(--bg);
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(196, 181, 253, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196, 181, 253, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 78%);
}

a {
  color: inherit;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(8, 11, 42, 0.84);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 230px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: white;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted-2);
  font-size: 12px;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.top-nav a,
.header-action {
  text-decoration: none;
}

.top-nav a:hover,
.header-action:hover {
  color: var(--cyan);
}

.header-action {
  padding: 10px 14px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 8px;
  color: var(--text);
  background: rgba(56, 189, 248, 0.08);
}

.section {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) clamp(18px, 4vw, 32px);
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  margin-bottom: 18px;
  letter-spacing: 0;
}

h3 {
  font-size: 24px;
  line-height: 1.2;
}

.hero-lead {
  max-width: 740px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions,
.result-actions,
.quiz-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 800;
  color: var(--text);
}

.btn.primary {
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  box-shadow: 0 14px 34px rgba(56, 189, 248, 0.18);
}

.btn.secondary,
.btn.ghost {
  background: rgba(238, 242, 255, 0.08);
  border: 1px solid var(--line);
}

.btn:hover {
  transform: translateY(-1px);
}

.fine-print {
  margin-top: 16px;
  color: var(--muted-2);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-visual img,
.hero-visual video {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.metric-panel {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(248, 250, 252, 0.22);
  border-radius: 8px;
  background: rgba(8, 11, 42, 0.78);
  backdrop-filter: blur(14px);
}

.metric-panel span {
  color: var(--muted);
}

.metric-panel strong {
  font-size: 28px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  max-width: 1180px;
  margin: -32px auto 0;
  padding: 0 clamp(18px, 4vw, 32px);
  position: relative;
  z-index: 2;
}

.trust-strip div {
  min-height: 92px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(238, 242, 255, 0.92);
  color: var(--dark-text);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip span {
  color: #475569;
  font-size: 14px;
}

.intro-grid,
.privacy-section,
.profile-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.intro-copy,
.profile-copy,
.privacy-section > div:last-child {
  color: var(--muted);
  font-size: 17px;
}

.section-heading {
  max-width: 840px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading.compact {
  max-width: 760px;
}

.section-heading p {
  color: var(--muted);
}

.quiz-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
}

.quiz-card,
.diagnostic-note,
.score-box,
.risk-box,
.proposal-main,
.next-steps,
.experience-panel,
.lead-form,
.contact-copy,
.modal-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 26, 74, 0.86);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.quiz-card {
  min-height: 440px;
  padding: clamp(22px, 4vw, 38px);
}

.quiz-start {
  display: grid;
  align-content: center;
  min-height: 360px;
}

.quiz-start p,
.diagnostic-note,
.question-hint {
  color: var(--muted);
}

.diagnostic-note {
  padding: 24px;
}

.diagnostic-note ul,
.package-list,
.privacy-section ul {
  padding-left: 20px;
}

.progress-row {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.progress-row span {
  color: var(--muted-2);
  font-size: 13px;
}

.progress-track,
.score-track {
  height: 8px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(238, 242, 255, 0.12);
}

.progress-fill,
.score-track > div {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  transition: width 0.25s ease;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.option {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-height: 58px;
  padding: 14px;
  border: 1px solid rgba(196, 181, 253, 0.22);
  border-radius: 8px;
  color: var(--text);
  background: rgba(238, 242, 255, 0.08);
  cursor: pointer;
}

.option input {
  margin-top: 4px;
  accent-color: var(--cyan);
}

.option:has(input:checked) {
  border-color: rgba(56, 189, 248, 0.9);
  background: rgba(56, 189, 248, 0.14);
}

.error-text {
  color: var(--danger);
  font-weight: 700;
}

.hidden {
  display: none !important;
}

.result-grid,
.proposal-grid,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
}

.score-box,
.risk-box,
.proposal-main,
.next-steps {
  padding: 26px;
}

.score-box span,
.risk-box span {
  color: var(--muted-2);
}

.score-box strong {
  display: block;
  margin: 12px 0;
  font-size: 72px;
  line-height: 1;
}

.proposal-grid {
  margin-top: 24px;
}

.proposal-main ul,
.next-steps ol {
  margin-bottom: 0;
  padding-left: 20px;
  color: var(--muted);
}

.ai-result {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 8px;
  background: rgba(56, 189, 248, 0.08);
}

.result-actions {
  margin-top: 24px;
}

.feature-grid,
.document-grid,
.report-grid,
.video-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.feature-grid article,
.report-card,
.document-card {
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(238, 242, 255, 0.92);
  color: var(--dark-text);
}

.feature-grid p,
.report-card p,
.document-card small {
  color: #475569;
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 32px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: #dbeafe;
  color: #1d4ed8;
  font-weight: 900;
}

.profile-media {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.profile-media img,
.profile-media video {
  width: 100%;
  aspect-ratio: 1 / 1.18;
  object-fit: cover;
  display: block;
}

.tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.tool-tags span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(238, 242, 255, 0.08);
}

.video-grid {
  grid-template-columns: minmax(0, 820px);
  justify-content: center;
}

.video-grid video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #020617;
}

.experience-panel {
  padding: 28px;
}

.document-card {
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.document-card span,
.document-card strong,
.document-card small {
  display: block;
}

.document-card span {
  color: #2563eb;
  font-weight: 800;
  margin-bottom: 18px;
}

.document-card strong {
  font-size: 20px;
  margin-bottom: 10px;
}

.report-card {
  min-height: 260px;
}

.mini-chart {
  height: 72px;
  margin: 18px 0;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
}

.mini-chart.bars {
  display: flex;
  align-items: end;
  gap: 10px;
  padding: 12px;
}

.mini-chart.bars span {
  flex: 1;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #38bdf8, #7c3aed);
}

.mini-chart.bars span:nth-child(1) { height: 36%; }
.mini-chart.bars span:nth-child(2) { height: 64%; }
.mini-chart.bars span:nth-child(3) { height: 48%; }
.mini-chart.bars span:nth-child(4) { height: 82%; }

.mini-chart.line {
  background:
    linear-gradient(145deg, transparent 10%, transparent 34%, rgba(56, 189, 248, 0.6) 35%, rgba(56, 189, 248, 0.6) 38%, transparent 39%),
    linear-gradient(25deg, transparent 20%, transparent 48%, rgba(124, 58, 237, 0.72) 49%, rgba(124, 58, 237, 0.72) 52%, transparent 53%),
    #f8fafc;
}

.mini-table {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  height: 72px;
  margin: 18px 0;
}

.mini-table span {
  border-radius: 8px;
  background: #dbeafe;
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 18px 0;
}

.kpi-row b {
  display: grid;
  place-items: center;
  min-height: 72px;
  border-radius: 8px;
  background: #dbeafe;
  color: #1e3a8a;
  font-size: 22px;
}

.contact-section {
  align-items: start;
}

.contact-copy,
.lead-form {
  padding: 28px;
}

.contact-links {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

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

.lead-form {
  display: grid;
  gap: 14px;
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--text);
  background: rgba(8, 11, 42, 0.72);
  outline: none;
}

.lead-form input:focus,
.lead-form textarea:focus {
  border-color: var(--cyan);
}

.consent-row {
  grid-template-columns: 18px minmax(0, 1fr) !important;
  align-items: start;
  font-size: 13px;
}

.consent-row input {
  width: 18px;
  margin-top: 4px;
  accent-color: var(--cyan);
}

.form-status {
  min-height: 24px;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(2, 6, 23, 0.72);
}

.modal-panel {
  position: relative;
  width: min(560px, 100%);
  padding: 28px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 8px;
  color: var(--text);
  background: rgba(238, 242, 255, 0.1);
  cursor: pointer;
  font-size: 24px;
}

.legal-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 20px;
}

.legal-page a {
  color: var(--cyan);
}

.legal-page h1 {
  font-size: clamp(34px, 5vw, 54px);
}

@media (max-width: 980px) {
  .top-nav {
    display: none;
  }

  .hero,
  .intro-grid,
  .profile-section,
  .privacy-section,
  .quiz-layout,
  .result-grid,
  .proposal-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 0;
  }

  .feature-grid,
  .report-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .document-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
  }

  .brand {
    min-width: auto;
  }

  .header-action {
    display: none;
  }

  h1 {
    font-size: 42px;
  }

  .hero-actions,
  .quiz-actions,
  .result-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .trust-strip,
  .options-grid,
  .feature-grid,
  .report-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip div {
    min-height: 74px;
  }

  .score-box strong {
    font-size: 56px;
  }

  .section {
    padding-top: 52px;
    padding-bottom: 52px;
  }
}


/* Stage 7 visual polish */
body {
  overflow-x: hidden;
}

h1 {
  font-size: clamp(40px, 6vw, 66px);
  line-height: 1.02;
  overflow-wrap: anywhere;
}

h2 {
  font-size: clamp(28px, 3.8vw, 44px);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.hero {
  min-height: min(760px, calc(100vh - 72px));
}

.hero-visual img,
.hero-visual video {
  object-position: center top;
}

.trust-strip div {
  backdrop-filter: blur(10px);
}

.quiz-card,
.score-box,
.risk-box,
.proposal-main,
.next-steps,
.lead-form,
.contact-copy {
  background:
    linear-gradient(145deg, rgba(56, 189, 248, 0.08), transparent 34%),
    rgba(17, 26, 74, 0.9);
}

.option,
.document-card,
.report-card,
.feature-grid article {
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.option:hover,
.document-card:hover,
.report-card:hover,
.feature-grid article:hover {
  transform: translateY(-2px);
}

.option:hover {
  border-color: rgba(56, 189, 248, 0.58);
}

.score-box strong {
  background: linear-gradient(135deg, var(--cyan), var(--lavender));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.feature-grid article,
.report-card,
.document-card {
  box-shadow: 0 18px 32px rgba(2, 6, 23, 0.18);
}

.video-grid video {
  box-shadow: var(--shadow);
}

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

@media (max-width: 980px) {
  .hero-visual {
    max-width: 560px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: center;
    padding: 12px 16px;
  }

  h1 {
    font-size: 38px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .metric-panel {
    position: static;
    margin: 0;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
  }

  .quiz-card,
  .diagnostic-note,
  .score-box,
  .risk-box,
  .proposal-main,
  .next-steps,
  .experience-panel,
  .lead-form,
  .contact-copy {
    padding: 20px;
  }
}

/* AI-tech redesign from visual reference */
:root {
  --bg: #06072d;
  --bg-2: #101a66;
  --panel: rgba(16, 28, 91, 0.78);
  --panel-solid: #101a66;
  --panel-soft: rgba(236, 244, 255, 0.72);
  --text: #ffffff;
  --muted: #dce8ff;
  --muted-2: #a9b8df;
  --line: rgba(142, 197, 255, 0.34);
  --violet: #7b4dff;
  --cyan: #35c8ff;
  --lavender: #c7b9ff;
  --card-light: #f2f6ff;
  --dark-text: #07133f;
  --shadow: 0 28px 80px rgba(22, 34, 95, 0.34);
}

body {
  background:
    radial-gradient(circle at 78% 9%, rgba(77, 183, 255, 0.34), transparent 29%),
    radial-gradient(circle at 22% 22%, rgba(132, 75, 255, 0.25), transparent 34%),
    linear-gradient(180deg, #080939 0%, #14247a 38%, #eff5ff 38%, #eef4ff 62%, #132174 62%, #070831 100%);
}

body::before {
  background-image:
    linear-gradient(rgba(116, 196, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(175, 189, 255, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.9;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.92), transparent 76%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    linear-gradient(108deg, transparent 0 18%, rgba(82, 198, 255, 0.18) 19%, transparent 21% 100%),
    linear-gradient(116deg, transparent 0 24%, rgba(154, 97, 255, 0.22) 25%, transparent 27% 100%),
    linear-gradient(98deg, transparent 0 34%, rgba(255, 255, 255, 0.18) 35%, transparent 36% 100%);
}

.site-header {
  background: rgba(6, 7, 45, 0.72);
  border-bottom: 1px solid rgba(142, 197, 255, 0.24);
  box-shadow: 0 18px 48px rgba(6, 7, 45, 0.26);
}

.brand-mark {
  border-radius: 12px;
  background: linear-gradient(135deg, #42d6ff 0%, #7663ff 48%, #b048ff 100%);
  box-shadow: 0 10px 28px rgba(53, 200, 255, 0.3);
}

.header-action,
.btn.primary {
  background: linear-gradient(135deg, #734cff 0%, #35c8ff 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 42px rgba(53, 200, 255, 0.26);
}

.header-action {
  color: #ffffff;
}

.btn.secondary,
.btn.ghost {
  background: rgba(9, 17, 67, 0.46);
  border: 1px solid rgba(205, 225, 255, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero.section {
  max-width: none;
  min-height: min(820px, calc(100vh - 72px));
  padding-left: clamp(24px, 8vw, 108px);
  padding-right: clamp(24px, 8vw, 108px);
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: 9%;
  height: 170px;
  background:
    linear-gradient(100deg, transparent 0 9%, rgba(110, 94, 255, 0.16) 10% 13%, transparent 14% 100%),
    linear-gradient(104deg, transparent 0 20%, rgba(53, 200, 255, 0.28) 21% 23%, transparent 24% 100%),
    linear-gradient(108deg, transparent 0 33%, rgba(205, 225, 255, 0.2) 34% 35%, transparent 36% 100%);
  filter: blur(0.2px);
  transform: skewY(-7deg);
  z-index: -1;
}

.hero::after {
  content: "";
  position: absolute;
  right: clamp(28px, 7vw, 120px);
  top: 14%;
  width: min(42vw, 560px);
  height: 58%;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.14) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    radial-gradient(circle at 62% 28%, rgba(53, 200, 255, 0.22), transparent 34%);
  background-size: 58px 58px, 58px 58px, auto;
  border-radius: 8px;
  opacity: 0.75;
  z-index: -2;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

.hero-content {
  max-width: 780px;
}

.hero .eyebrow {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(76, 210, 255, 0.38);
  border-radius: 8px;
  background: rgba(9, 17, 67, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

h1 {
  max-width: 760px;
  text-shadow: 0 18px 42px rgba(5, 8, 38, 0.38);
}

.hero-lead {
  color: #eaf2ff;
}

.hero-visual {
  border: 1px solid rgba(179, 218, 255, 0.36);
  background:
    linear-gradient(145deg, rgba(114, 82, 255, 0.22), rgba(53, 200, 255, 0.14)),
    rgba(9, 17, 67, 0.76);
  box-shadow:
    0 34px 90px rgba(4, 9, 48, 0.48),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, transparent 0 26%, rgba(53, 200, 255, 0.18) 27%, transparent 29% 100%),
    linear-gradient(120deg, transparent 0 62%, rgba(152, 103, 255, 0.26) 63%, transparent 66% 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-visual img,
.hero-visual video {
  aspect-ratio: 1 / 1.05;
  object-position: center top;
  filter: saturate(1.08) contrast(1.04);
}

.metric-panel {
  z-index: 2;
  background: rgba(7, 15, 61, 0.76);
  border-color: rgba(213, 232, 255, 0.28);
}

.trust-strip {
  max-width: none;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 0 clamp(24px, 8vw, 108px);
  margin-top: -22px;
}

.trust-strip div {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  column-gap: 14px;
  align-content: center;
  background: rgba(242, 246, 255, 0.94);
  border-color: rgba(91, 120, 207, 0.22);
  box-shadow: 0 16px 34px rgba(21, 38, 113, 0.16);
}

.trust-strip div::before {
  content: "";
  width: 42px;
  height: 42px;
  grid-row: span 2;
  align-self: center;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(53, 200, 255, 0.94), rgba(122, 82, 255, 0.94));
  box-shadow: 0 12px 24px rgba(53, 115, 255, 0.22);
}

.trust-strip strong {
  color: #101a66;
  font-size: 19px;
}

.trust-strip span {
  color: #4b5d8e;
}

.section:not(.hero) {
  max-width: 1180px;
}

.intro-grid,
.diagnostic-section,
.ai-section,
.profile-section,
.experience-section,
.proof-section,
.reports-section,
.privacy-section,
.contact-section,
.result-section {
  border-radius: 0;
}

.section-heading h2,
.intro-grid h2,
.privacy-section h2,
.profile-copy h2,
.contact-copy h2 {
  color: #ffffff;
}

.reports-section .section-heading h2,
.reports-section .section-heading p,
.trust-strip + .intro-grid h2,
.trust-strip + .intro-grid p {
  color: #07133f;
}

.trust-strip + .intro-grid {
  color: #07133f;
  background: linear-gradient(180deg, rgba(246, 249, 255, 0.86), rgba(235, 242, 255, 0.7));
  max-width: none;
  padding-left: clamp(24px, 8vw, 108px);
  padding-right: clamp(24px, 8vw, 108px);
}

.trust-strip + .intro-grid > * {
  max-width: 1180px;
}

.quiz-card,
.diagnostic-note,
.score-box,
.risk-box,
.proposal-main,
.next-steps,
.experience-panel,
.lead-form,
.contact-copy {
  background:
    linear-gradient(145deg, rgba(53, 200, 255, 0.14), rgba(122, 82, 255, 0.12)),
    rgba(13, 24, 84, 0.78);
  border: 1px solid rgba(178, 215, 255, 0.28);
  box-shadow: 0 24px 60px rgba(4, 9, 48, 0.28);
}

.feature-grid article,
.document-card,
.report-card {
  background: rgba(244, 247, 255, 0.94);
  color: #07133f;
  border: 1px solid rgba(91, 120, 207, 0.18);
  box-shadow: 0 18px 36px rgba(21, 38, 113, 0.16);
}

.feature-grid article p,
.document-card small,
.report-card p {
  color: #50618f;
}

.feature-icon {
  background: linear-gradient(135deg, #35c8ff, #7b4dff);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(53, 115, 255, 0.22);
}

.reports-section {
  max-width: none !important;
  padding-left: clamp(24px, 8vw, 108px);
  padding-right: clamp(24px, 8vw, 108px);
  background:
    linear-gradient(180deg, rgba(235, 242, 255, 0.94), rgba(220, 232, 255, 0.86));
}

.report-grid {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.reports-section .section-heading {
  max-width: 900px;
}

.profile-media {
  background: rgba(242, 246, 255, 0.12);
  border-color: rgba(178, 215, 255, 0.32);
  box-shadow: 0 28px 70px rgba(4, 9, 48, 0.34);
}

.profile-media video {
  aspect-ratio: 4 / 5;
}

.mini-chart,
.mini-table,
.kpi-row {
  background: linear-gradient(135deg, #0b1454, #203ea5);
  border: 1px solid rgba(53, 200, 255, 0.24);
}

.legal-page {
  background:
    linear-gradient(145deg, rgba(53, 200, 255, 0.12), rgba(122, 82, 255, 0.1)),
    rgba(13, 24, 84, 0.9);
  border: 1px solid rgba(178, 215, 255, 0.28);
  box-shadow: var(--shadow);
}

@media (max-width: 980px) {
  .hero.section {
    min-height: auto;
    padding-top: 56px;
  }

  .hero::after {
    width: 80vw;
    right: 8vw;
    opacity: 0.38;
  }

  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .hero.section,
  .trust-strip,
  .trust-strip + .intro-grid,
  .reports-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .trust-strip div {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .trust-strip div::before {
    width: 36px;
    height: 36px;
  }

  h1 {
    font-size: 34px;
  }
}

/* Profile contrast fix after AI-tech redesign */
.profile-section {
  max-width: none !important;
  padding-left: clamp(24px, 8vw, 108px);
  padding-right: clamp(24px, 8vw, 108px);
  background:
    radial-gradient(circle at 18% 24%, rgba(53, 200, 255, 0.18), transparent 28%),
    linear-gradient(90deg, rgba(238, 245, 255, 0.96), rgba(222, 234, 255, 0.88));
  color: #07133f;
}

.profile-section .profile-media,
.profile-section .profile-copy {
  max-width: 1180px;
}

.profile-section .eyebrow {
  color: #1aaeea;
  text-shadow: none;
}

.profile-copy h2,
.profile-copy p {
  color: #07133f;
  text-shadow: none;
}

.profile-copy p {
  color: #33456f;
}

.profile-copy .tool-tags span {
  color: #07133f;
  background: rgba(255, 255, 255, 0.68);
  border-color: rgba(72, 118, 214, 0.24);
  box-shadow: 0 10px 24px rgba(21, 38, 113, 0.08);
}

.profile-media video {
  background: #07133f;
}

@media (max-width: 640px) {
  .profile-section {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Experience section contrast fix */
.experience-section {
  max-width: none !important;
  padding-left: clamp(24px, 8vw, 108px);
  padding-right: clamp(24px, 8vw, 108px);
  background:
    radial-gradient(circle at 22% 18%, rgba(53, 200, 255, 0.14), transparent 28%),
    radial-gradient(circle at 34% 16%, rgba(123, 77, 255, 0.12), transparent 22%),
    linear-gradient(180deg, rgba(238, 245, 255, 0.96), rgba(229, 238, 255, 0.9));
  color: #07133f;
}

.experience-section .section-heading,
.experience-section .experience-panel {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.experience-section .section-heading .eyebrow {
  color: #1aaeea;
  text-shadow: none;
}

.experience-section .section-heading h2,
.experience-section h2,
.experience-section h3,
.experience-section p {
  color: #07133f;
  text-shadow: none;
}

.experience-section .experience-panel {
  background: linear-gradient(135deg, rgba(21, 42, 126, 0.94), rgba(85, 88, 172, 0.92));
  border: 1px solid rgba(91, 120, 207, 0.28);
  box-shadow: 0 24px 58px rgba(21, 38, 113, 0.22);
}

.experience-section .experience-panel h3,
.experience-section .experience-panel p {
  color: #ffffff;
}

.experience-section .experience-panel .fine-print {
  color: rgba(236, 244, 255, 0.74);
}

@media (max-width: 640px) {
  .experience-section {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Global light-section contrast hardening */
.trust-strip + .intro-grid,
.profile-section,
.experience-section,
.reports-section,
.proof-section,
.privacy-section,
.contact-section {
  color: #07133f;
}

.trust-strip + .intro-grid .eyebrow,
.profile-section .eyebrow,
.experience-section .eyebrow,
.reports-section .eyebrow,
.proof-section .eyebrow,
.privacy-section .eyebrow,
.contact-section .eyebrow {
  color: #1aaeea;
  text-shadow: none;
}

.trust-strip + .intro-grid h2,
.trust-strip + .intro-grid p,
.profile-section h2,
.profile-section p,
.experience-section .section-heading h2,
.experience-section .section-heading p,
.reports-section .section-heading h2,
.reports-section .section-heading p,
.proof-section .section-heading h2,
.proof-section .section-heading p,
.privacy-section h2,
.privacy-section p,
.privacy-section li,
.contact-section .contact-copy h2,
.contact-section .contact-copy p {
  color: #07133f;
  text-shadow: none;
}

.trust-strip + .intro-grid p,
.profile-section p,
.experience-section .section-heading p,
.reports-section .section-heading p,
.proof-section .section-heading p,
.privacy-section p,
.privacy-section li,
.contact-section .contact-copy p {
  color: #33456f;
}

.proof-section,
.privacy-section,
.contact-section {
  max-width: none !important;
  padding-left: clamp(24px, 8vw, 108px);
  padding-right: clamp(24px, 8vw, 108px);
  background:
    radial-gradient(circle at 18% 18%, rgba(53, 200, 255, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(238, 245, 255, 0.96), rgba(229, 238, 255, 0.9));
}

.proof-section .section-heading,
.proof-section .document-grid,
.privacy-section > div,
.contact-section > div,
.contact-section > form {
  max-width: 1180px;
}

.privacy-section {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.contact-copy {
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(91, 120, 207, 0.22);
  box-shadow: 0 18px 42px rgba(21, 38, 113, 0.13);
}

.contact-copy .contact-links a {
  color: #1155cc;
}

.lead-form {
  background: linear-gradient(145deg, rgba(21, 42, 126, 0.94), rgba(85, 88, 172, 0.92));
}

.lead-form label,
.lead-form .consent-row span,
.lead-form .consent-row a {
  color: #ffffff;
}

@media (max-width: 640px) {
  .proof-section,
  .privacy-section,
  .contact-section {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Proof document preview cards */
.proof-card {
  padding: 0;
  overflow: hidden;
}

.proof-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid rgba(91, 120, 207, 0.18);
}

.proof-card span,
.proof-card strong,
.proof-card small {
  margin-left: 24px;
  margin-right: 24px;
}

.proof-card span {
  margin-top: 20px;
}

.proof-card small {
  margin-bottom: 24px;
}

/* Remove video layout from profile */
.profile-section-text {
  display: block;
}

.profile-section-text .profile-copy {
  max-width: 920px;
  margin: 0 auto;
  text-align: left;
}

.profile-section-text .tool-tags {
  max-width: 760px;
}

/* Manual video and calmer hero copy */
.hero .hero-content h1 {
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.08;
}

.hero .hero-lead {
  font-size: clamp(15px, 1.45vw, 18px);
  line-height: 1.62;
}

.hero-video {
  cursor: pointer;
}
.document-card .institution {
  color: #13265f;
  font-weight: 700;
  line-height: 1.35;
}
/* Put hero index below the video instead of overlaying it */
.hero-visual .metric-panel {
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
  margin: 0;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  border-radius: 0;
  width: 100%;
}
/* Readable qualification strip over proof previews */
.proof-card {
  position: relative;
}

.proof-facts {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 150px;
  z-index: 3;
  display: block;
  min-height: 74px;
  padding: 12px 14px;
  margin: 0 !important;
  border: 1px solid rgba(91, 120, 207, 0.3);
  background: rgba(244, 247, 255, 0.98);
  color: #07133f !important;
  box-shadow: 0 12px 24px rgba(9, 17, 67, 0.16);
}

.proof-facts b,
.proof-facts em {
  display: block;
  margin: 0;
  color: #07133f;
  font-style: normal;
  line-height: 1.25;
}

.proof-facts b {
  font-size: 13px;
  font-weight: 800;
}

.proof-facts em {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #31406f;
}

.proof-card > span:not(.proof-facts) {
  margin-top: 28px;
}

@media (max-width: 640px) {
  .proof-facts {
    top: 132px;
    min-height: 68px;
    padding: 10px 12px;
  }
}
/* Fully cover broken question-mark strips inside document preview images */
.proof-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 126px;
  height: 126px;
  z-index: 2;
  display: block;
  background: rgba(244, 247, 255, 0.99);
  border-top: 1px solid rgba(91, 120, 207, 0.18);
  border-bottom: 1px solid rgba(91, 120, 207, 0.18);
  pointer-events: none;
}

.proof-card .proof-facts {
  top: 138px !important;
  left: 14px !important;
  right: 14px !important;
  z-index: 4 !important;
  min-height: 82px;
}

@media (max-width: 640px) {
  .proof-card::before {
    top: 112px;
    height: 118px;
  }

  .proof-card .proof-facts {
    top: 122px !important;
  }
}
/* Remove problematic proof preview images completely */
.proof-card img,
.proof-card::before {
  display: none !important;
}

.proof-card {
  padding: 24px !important;
  min-height: 360px;
}

.proof-card .proof-facts {
  position: static !important;
  display: block;
  min-height: auto;
  margin: 0 0 24px 0 !important;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid rgba(91, 120, 207, 0.26);
  background: rgba(244, 247, 255, 0.98);
  box-shadow: none;
}

.proof-card > span:not(.proof-facts),
.proof-card strong,
.proof-card small {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.proof-card > span:not(.proof-facts) {
  margin-top: 0 !important;
}
/* Reports and dashboard demos */
.advanced-report-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
}

.report-demo-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 100%;
  padding: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(235, 242, 255, 0.9));
  border: 1px solid rgba(91, 120, 207, 0.22);
  box-shadow: 0 18px 42px rgba(21, 38, 113, 0.13);
}

.report-card-top span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 8px;
  color: #0a4fc7;
  background: rgba(53, 200, 255, 0.16);
  font-size: 13px;
  font-weight: 800;
}

.report-demo-card h3 {
  margin: 0 0 10px;
  color: #07133f;
  font-size: clamp(24px, 2.2vw, 34px);
}

.report-demo-card p,
.report-demo-card li {
  color: #33456f;
}

.report-demo-card ul {
  display: grid;
  gap: 8px;
  margin: auto 0 0;
  padding-left: 20px;
}

.report-preview {
  min-height: 210px;
  padding: 18px;
  border-radius: 8px;
  border: 1px solid rgba(91, 120, 207, 0.2);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(145deg, #0a164c, #163a8a 62%, #1aaeea);
  background-size: 34px 34px, 34px 34px, auto;
  color: #ffffff;
  overflow: hidden;
}

.report-kpis,
.cash-flow-rows,
.pnl-lines,
.variance-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.report-kpis b,
.cash-flow-rows em,
.pnl-lines b,
.variance-row > *,
.owner-kpi {
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-style: normal;
}

.cash-bars {
  display: flex;
  align-items: end;
  gap: 12px;
  height: 92px;
  margin: 18px 0;
}

.cash-bars span {
  flex: 1;
  min-width: 22px;
  border-radius: 8px 8px 2px 2px;
  background: linear-gradient(180deg, #7a4cff, #35c8ff);
  box-shadow: 0 10px 24px rgba(53, 200, 255, 0.25);
}

.waterfall {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 12px;
  height: 130px;
  margin-bottom: 18px;
}

.waterfall span {
  border-radius: 8px 8px 2px 2px;
  background: linear-gradient(180deg, #35c8ff, #6c5cff);
}

.waterfall span:nth-child(1) { height: 92%; }
.waterfall span:nth-child(2) { height: 66%; }
.waterfall span:nth-child(3) { height: 48%; }
.waterfall span:nth-child(4) { height: 32%; }
.waterfall span:nth-child(5) { height: 44%; }

.pnl-lines {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.variance-preview {
  display: grid;
  align-content: center;
  gap: 8px;
}

.variance-row {
  grid-template-columns: 1.4fr 0.7fr 0.7fr 0.7fr;
}

.owner-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.owner-kpi b,
.owner-kpi strong {
  display: block;
}

.owner-kpi strong {
  margin-top: 8px;
  font-size: 24px;
}

.owner-line {
  grid-column: 1 / -1;
  min-height: 70px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, transparent 45%, rgba(53, 200, 255, 0.85) 46%, rgba(122, 76, 255, 0.9) 54%, transparent 55%),
    rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.report-source-note {
  max-width: 1180px;
  margin: 24px auto 0;
  padding: 18px 20px;
  border-radius: 8px;
  border: 1px solid rgba(91, 120, 207, 0.22);
  background: rgba(255, 255, 255, 0.76);
}

.report-source-note p {
  margin: 0;
  color: #33456f;
}

.report-source-note a {
  color: #0a4fc7;
  font-weight: 800;
}

@media (max-width: 900px) {
  .advanced-report-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .report-demo-card {
    padding: 18px;
  }

  .report-preview {
    min-height: 190px;
    padding: 14px;
  }

  .report-kpis,
  .cash-flow-rows,
  .pnl-lines,
  .variance-row,
  .owner-preview {
    grid-template-columns: 1fr;
  }
}
/* Document carousel */
.proof-carousel {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
}

.carousel-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin: 0 0 18px;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(91, 120, 207, 0.28);
  border-radius: 8px;
  background: linear-gradient(135deg, #6c5cff, #35c8ff);
  color: #ffffff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 14px 26px rgba(21, 38, 113, 0.18);
}

.carousel-btn:hover,
.carousel-btn:focus-visible {
  transform: translateY(-1px);
  outline: 2px solid rgba(53, 200, 255, 0.45);
  outline-offset: 3px;
}

.proof-section .document-carousel {
  display: flex !important;
  gap: 22px;
  max-width: none;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding: 4px;
  padding: 4px 4px 18px;
  -webkit-overflow-scrolling: touch;
}

.proof-section .document-carousel::-webkit-scrollbar {
  height: 10px;
}

.proof-section .document-carousel::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(91, 120, 207, 0.14);
}

.proof-section .document-carousel::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(90deg, #6c5cff, #35c8ff);
}

.proof-section .document-carousel .document-card {
  flex: 0 0 clamp(280px, 32vw, 380px);
  scroll-snap-align: start;
}

@media (max-width: 640px) {
  .carousel-controls {
    justify-content: space-between;
  }

  .carousel-btn {
    width: 44px;
    height: 44px;
    font-size: 30px;
  }

  .proof-section .document-carousel {
    gap: 16px;
    padding-bottom: 14px;
  }

  .proof-section .document-carousel .document-card {
    flex-basis: min(82vw, 340px);
  }
}
