/* =========
   Base
========= */
:root {
  --bg: #0b1112;
  --bg2: #070d0f;
  --text: #e6f3f1;
  --muted: rgba(230, 243, 241, 0.72);
  --muted2: rgba(230, 243, 241, 0.52);

  --accent: #36d0b2;
  --accent2: #0f8f7f;
  --accent-ink: #061b19;

  --panel: rgba(255, 255, 255, 0.04);
  --panel2: rgba(255, 255, 255, 0.06);
  --stroke: rgba(255, 255, 255, 0.1);
  --stroke2: rgba(255, 255, 255, 0.16);

  --shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  --shadow2: 0 8px 24px rgba(0, 0, 0, 0.3);

  --radius: 18px;
  --radius2: 24px;
  --max: 1120px;

  --font-body: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Fraunces", "Georgia", serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  height: 100%;
  scroll-behavior: smooth;
  background: #050707;
  scroll-padding-top: 80px;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--text);
  background: transparent;
  font-family: var(--font-body);
  line-height: 1.35;
  overflow-x: hidden;
  position: relative;
  z-index: 0;
}

h1,
h2,
h3,
.sectionTitle,
.hero__title,
.finalCta__title {
  font-family: var(--font-display);
  font-weight: 600;
}

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

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.95em;
  color: var(--muted);
}

.srOnly {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* =========
   Background
========= */
.bg {
  position: absolute;
  inset: 0;
  min-height: 100%;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(145deg, rgba(54, 208, 178, 0.06) 0%, rgba(54, 208, 178, 0.03) 55%,
      rgba(54, 208, 178, 0.05) 100%),
    linear-gradient(180deg, #050707 0%, #070b0c 22%, #0a1112 48%, #0c1718 72%, #0f1f20 100%);
}

.bg__grid {
  display: none;
}

.bg__glow {
  display: none;
}

.bg__glow--a {
  top: -360px;
  left: -340px;
  background: rgba(54, 208, 178, 0.22);
}

.bg__glow--b {
  bottom: -320px;
  right: -260px;
  background: rgba(54, 208, 178, 0.2);
  animation-duration: 12s;
}

.bg__noise {
  position: absolute;
  inset: 0;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  mix-blend-mode: overlay;
}

/* =========
   Layout
========= */
.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: clamp(56px, 6vw, 92px) 0;
  min-height: 100vh;
}

.section--alt {
  background: transparent;
  border-top: none;
  border-bottom: none;
}

.sectionHead {
  max-width: 720px;
  margin-bottom: 28px;
}

.sectionTitle {
  margin: 0;
  font-size: clamp(26px, 3.4vw, 40px);
  letter-spacing: -0.02em;
}

.sectionSub {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.signalStrip {
  margin: 12px 0 24px;
  color: var(--muted2);
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

/* =========
   Header / Nav
========= */
.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(11, 17, 18, 0.6);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--stroke);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo__mark {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(54, 208, 178, 0.95), rgba(15, 143, 127, 0.8));
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  font-size: 15px;
}

.logo__text {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo__dot {
  opacity: 0.9;
}

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav__toggle {
  display: none;
  border: 1px solid var(--stroke);
  background: var(--panel);
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
  color: var(--text);
}

.nav__toggleIcon {
  width: 18px;
  height: 2px;
  background: var(--text);
  display: block;
  position: relative;
}
.nav__toggleIcon::before,
.nav__toggleIcon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--text);
}
.nav__toggleIcon::before {
  top: -6px;
}
.nav__toggleIcon::after {
  top: 6px;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav__link {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 180ms var(--ease), opacity 180ms var(--ease);
  opacity: 0.95;
}
.nav__link:hover {
  color: var(--text);
  opacity: 1;
}

.nav__link--cta {
  padding: 10px 14px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--stroke);
  box-shadow: none;
}

/* =========
   Progress bar
========= */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 60;
  background: var(--stroke);
}
.progress__bar {
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent2), var(--accent));
}

/* =========
   Hero
========= */
.hero {
  padding: clamp(56px, 7vw, 96px) 0 34px;
  position: relative;
  min-height: 100vh;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 4vw, 40px);
  align-items: center;
}

.hero__copy {
  max-width: 720px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: var(--panel);
  color: var(--muted);
  font-weight: 600;
  box-shadow: none;
}

.pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(54, 208, 178, 0.4);
}

.hero__title {
  margin: 16px 0 0;
  font-size: clamp(38px, 5.2vw, 64px);
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.gradText {
  color: var(--accent);
}

.hero__sub {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.15rem);
  max-width: 56ch;
}

/* Search Card */
.searchCard {
  margin-top: 22px;
  padding: 16px;
  border-radius: var(--radius2);
  background: var(--panel);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow2);
}

.search__field {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: rgba(7, 12, 12, 0.4);
}

.search__icon {
  opacity: 0.75;
  font-size: 18px;
}

.search__input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text);
  font-size: 1.05rem;
  padding: 6px 2px;
  min-width: 0;
}

.search__input::placeholder {
  color: var(--muted2);
}

.search__meta {
  margin-top: 10px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}

.search__help {
  margin: 0;
  color: var(--muted2);
  font-size: 0.95rem;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.search__hint {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  min-height: 1.2em;
}

/* Chips */
.chip {
  border: 1px solid var(--stroke);
  background: var(--panel);
  color: var(--text);
  border-radius: 999px;
  padding: 7px 10px;
  font-weight: 650;
  cursor: pointer;
  transition: transform 160ms var(--ease), border-color 160ms var(--ease), background 160ms var(--ease);
}
.chip:hover {
  transform: translateY(-1px);
  border-color: rgba(54, 208, 178, 0.45);
  background: rgba(54, 208, 178, 0.08);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 750;
  letter-spacing: -0.01em;
  border: 1px solid var(--stroke);
  background: var(--panel);
  color: var(--text);
  cursor: pointer;
  transition: transform 160ms var(--ease), border-color 160ms var(--ease), background 160ms var(--ease);
  will-change: transform;
}
.btn:hover {
  transform: translateY(-1px);
  border-color: var(--stroke2);
  background: var(--panel2);
}
.btn:active {
  transform: translateY(0px);
}

.btn--primary {
  border-color: rgba(54, 208, 178, 0.35);
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: var(--accent-ink);
  box-shadow: var(--shadow2);
}
.btn--primary:hover {
  border-color: rgba(54, 208, 178, 0.55);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
}

.btn__arrow {
  opacity: 0.95;
}

/* Micro cards */
.hero__micro {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 720px;
}

.microCard {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.microCard__kicker {
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.microCard__text {
  color: var(--muted);
  font-size: 0.98rem;
}

/* Hero visual panels */
.hero__visual {
  display: flex;
  justify-content: flex-end;
}

.stack {
  width: min(420px, 100%);
  position: relative;
}

.panel {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel--top {
  transform: translateY(0px);
}

.panel--mid {
  margin-top: 12px;
  transform: translateX(18px);
  opacity: 0.95;
}

.panel--bot {
  margin-top: 12px;
  transform: translateX(34px);
  opacity: 0.92;
}

.panel__row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 10, 18, 0.25);
}

.panel__title {
  margin-left: auto;
  font-weight: 800;
  letter-spacing: -0.02em;
  opacity: 0.92;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  opacity: 0.9;
}
.dot--g {
  background: var(--accent);
}
.dot--y {
  background: rgba(255, 209, 102, 0.9);
}
.dot--r {
  background: rgba(255, 100, 130, 0.9);
}

.panel__body {
  padding: 14px;
}

.panel__body--tight {
  padding: 12px 14px;
}

.metric {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.metric:last-child {
  border-bottom: none;
}

.metric__label {
  color: var(--muted2);
  font-weight: 650;
}

.metric__value {
  text-align: right;
  font-weight: 750;
  letter-spacing: -0.01em;
  color: var(--text);
}

.miniBars {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.miniBars span {
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(54, 208, 178, 0.65), rgba(15, 143, 127, 0.3));
  opacity: 0.6;
  animation: bars 1.6s var(--ease) infinite alternate;
}
.miniBars span:nth-child(2) {
  animation-delay: 0.12s;
  height: 28px;
}
.miniBars span:nth-child(3) {
  animation-delay: 0.2s;
  height: 42px;
}
.miniBars span:nth-child(4) {
  animation-delay: 0.28s;
  height: 30px;
}
.miniBars span:nth-child(5) {
  animation-delay: 0.36s;
  height: 46px;
}
.miniBars span:nth-child(6) {
  animation-delay: 0.44s;
  height: 26px;
}

.tagRow {
  display: flex;
  gap: 8px;
  padding: 12px 14px 0;
}

.tag {
  font-size: 0.82rem;
  font-weight: 750;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.codeLine {
  height: 10px;
  border-radius: 999px;
  background: rgba(230, 243, 241, 0.08);
  margin: 10px 0;
}
.codeLine--short {
  width: 70%;
}

.pill2 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(54, 208, 178, 0.22);
  background: rgba(54, 208, 178, 0.08);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.pill2__spark {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: linear-gradient(135deg, rgba(54, 208, 178, 0.95), rgba(15, 143, 127, 0.9));
  box-shadow: 0 0 20px rgba(54, 208, 178, 0.35);
}

.finePrint {
  margin-top: 10px;
  color: var(--muted2);
  font-size: 0.95rem;
}


/* =========
   Results
========= */
.results {
  padding: 40px 0 0;
  min-height: 100vh;
}

.results__head {
  margin-bottom: 18px;
}

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

.card {
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: var(--panel);
  padding: 18px;
  box-shadow: none;
}

.card__icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--panel2);
  border: 1px solid var(--stroke);
  margin-bottom: 12px;
}

.card__title {
  margin: 0;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.card__text {
  margin: 10px 0 0;
  color: var(--muted);
}

.card__link {
  display: inline-block;
  margin-top: 14px;
  color: var(--accent);
  font-weight: 750;
}

.results__cta {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* =========
   Steps / Trust
========= */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.step {
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: var(--panel);
  padding: 18px;
}

.step__num {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 900;
  background: rgba(54, 208, 178, 0.14);
  border: 1px solid rgba(54, 208, 178, 0.26);
  margin-bottom: 12px;
}

.step__title {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.step__text {
  margin: 10px 0 0;
  color: var(--muted);
}

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

.trustCard {
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: var(--panel);
  padding: 18px;
}

.trustCard__title {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.trustCard__text {
  margin: 10px 0 0;
  color: var(--muted);
}

.callout {
  margin-top: 18px;
  border-radius: var(--radius2);
  border: 1px solid rgba(54, 208, 178, 0.22);
  background: radial-gradient(900px 300px at 20% 0%, rgba(54, 208, 178, 0.12), transparent 60%),
    rgba(255, 255, 255, 0.02);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.callout__title {
  font-weight: 900;
  letter-spacing: -0.02em;
}

.callout__text {
  color: var(--muted);
}

/* =========
   FAQ
========= */
.faq {
  max-width: 820px;
}

.faqItem {
  margin-bottom: 10px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: var(--panel);
  overflow: hidden;
}

.faqItem__q {
  cursor: pointer;
  padding: 16px 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
  list-style: none;
}

.faqItem__q::-webkit-details-marker {
  display: none;
}

.faqItem__a {
  padding: 0 16px 16px;
  color: var(--muted);
}

/* =========
   Final CTA
========= */
.finalCta {
  padding: clamp(56px, 7vw, 92px) 0;
  min-height: 100vh;
}

.finalCta__inner {
  border-radius: 28px;
  border: 1px solid var(--stroke);
  background: radial-gradient(1200px 420px at 20% 0%, rgba(54, 208, 178, 0.16), transparent 55%),
    radial-gradient(900px 380px at 90% 10%, rgba(15, 143, 127, 0.12), transparent 55%),
    rgba(255, 255, 255, 0.02);
  padding: clamp(18px, 3.2vw, 32px);
  box-shadow: var(--shadow2);
}

.finalCta__title {
  margin: 0;
  font-size: clamp(26px, 3.5vw, 40px);
  letter-spacing: -0.03em;
}

.finalCta__text {
  margin: 12px 0 0;
  color: var(--muted);
  max-width: 60ch;
}

.finalCta__actions {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* =========
   Footer
========= */
.footer {
  padding: 34px 0 18px;
  border-top: 1px solid var(--stroke);
  background: transparent;
}

.footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.footer__fine {
  color: var(--muted2);
  margin: 10px 0 0;
}

.footer__right {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__link {
  color: var(--muted);
  font-weight: 750;
}
.footer__link:hover {
  color: var(--text);
}

.footer__bottom {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--stroke);
}

/* =========
   Overlay
========= */
.overlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 80;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
}
.overlay[hidden] {
  display: none;
}

.overlay__card {
  width: min(520px, calc(100% - 40px));
  border-radius: 22px;
  border: 1px solid var(--stroke);
  background: var(--panel);
  padding: 18px;
  box-shadow: var(--shadow2);
  display: flex;
  align-items: center;
  gap: 14px;
}

.spinner {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 3px solid rgba(230, 243, 241, 0.18);
  border-top-color: var(--accent);
  animation: spin 0.9s linear infinite;
}

.overlay__title {
  font-weight: 900;
  letter-spacing: -0.02em;
}

.overlay__sub {
  margin-top: 4px;
  color: var(--muted);
}

/* =========
   Reveal classes (kept, but no longer threshold-based)
   The section fade/drift is now scroll-linked via .scrollFX.
========= */
.reveal,
.reveal--section {
  opacity: 1;
  transform: none;
  transition: none;
}

/* =========
   Scroll-linked section crossfade + drift
========= */
.scrollFX {
  --fx-o: 1;
  --fx-y: 0px;
}

.scrollFX > .container {
  opacity: var(--fx-o);
  transform: translate3d(0, var(--fx-y), 0);
  will-change: opacity, transform;
}

/* =========
   Responsive
========= */
@media (max-width: 920px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    justify-content: flex-start;
  }

  .cards,
  .steps,
  .trustGrid {
    grid-template-columns: 1fr;
  }

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

  .panel--mid,
  .panel--bot {
    transform: none;
  }
}

@media (max-width: 720px) {
  .nav__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .nav__menu {
    position: absolute;
    right: 20px;
    top: 64px;
    width: min(260px, calc(100% - 40px));
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px;
    border-radius: 18px;
    border: 1px solid var(--stroke);
    background: rgba(11, 17, 18, 0.92);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow);
    display: none;
  }

  .nav__menu.isOpen {
    display: flex;
  }

  .nav__link {
    padding: 10px 12px;
    border-radius: 14px;
  }

  .nav__link--cta {
    text-align: center;
  }

  .search__field {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .scrollCue {
    display: none;
  }
}

/* Reduce motion support */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .scrollFX > .container {
    opacity: 1 !important;
    transform: none !important;
  }

  .bg__glow,
  .miniBars span,
  .spinner,
  .reveal {
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}

/* =========
   Animations
========= */
@keyframes float {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(24px, 18px, 0) scale(1.03);
  }
}

@keyframes bars {
  from {
    opacity: 0.45;
    transform: translateY(0);
  }
  to {
    opacity: 0.75;
    transform: translateY(-3px);
  }
}

@keyframes wheel {
  0% {
    transform: translate(-50%, 0);
    opacity: 0.6;
  }
  60% {
    transform: translate(-50%, 10px);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, 0);
    opacity: 0.6;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
