:root {
  --bg: #eef2f7;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.88);
  --glass: rgba(255, 255, 255, 0.14);
  --glass-strong: rgba(255, 255, 255, 0.22);
  --text: #101114;
  --muted: #5f6673;
  --line: rgba(255, 255, 255, 0.22);
  --line-dark: rgba(0, 0, 0, 0.08);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.12);
  --blue: #0a84ff;
  --blue-dark: #0067d8;
  --radius: 28px;
  --hero-text: #f6f8fb;
  --hero-muted: rgba(246, 248, 251, 0.78);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(10, 132, 255, 0.12), transparent 30%),
    radial-gradient(circle at 90% 10%, rgba(122, 92, 255, 0.14), transparent 24%),
    linear-gradient(180deg, #f7f9fc 0%, #edf2f7 100%);
}

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

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

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.narrow {
  width: min(780px, calc(100% - 32px));
}

.section {
  position: relative;
  padding: 88px 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  background: rgba(245, 247, 250, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 18px;
}

.brand {
  font-weight: 800;
  letter-spacing: -0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

.button,
.button-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: white;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
  box-shadow: 0 14px 34px rgba(10, 132, 255, 0.28);
}

.button {
  min-height: 52px;
  padding: 0 24px;
}

.button-small {
  min-height: 40px;
  padding: 0 18px;
  font-size: 0.95rem;
}

.button:hover,
.button-small:hover {
  transform: translateY(-1px);
  background: var(--blue-dark);
}

.text-link {
  color: white;
  font-weight: 700;
}

/* =========================
   HERO - APPLE GLASS STYLE
   ========================= */

.hero-apple-glass {
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 110px 0 72px;
  isolation: isolate;
  background: #09111f;
}

.hero-bg-image,
.hero-bg-vignette,
.hero-bg-glow {
  position: absolute;
  inset: 0;
}

.hero-bg-image {
  z-index: -4;
  background: url("./images/uat-hero.jpeg") center center / cover no-repeat;
  transform: scale(1.04);
  filter: blur(2px) saturate(1.05);
}

.hero-bg-vignette {
  z-index: -3;
  background:
    linear-gradient(180deg, rgba(7, 12, 22, 0.28), rgba(7, 12, 22, 0.6)),
    radial-gradient(circle at 20% 25%, rgba(116, 157, 255, 0.18), transparent 26%),
    radial-gradient(circle at 84% 30%, rgba(131, 83, 255, 0.20), transparent 24%),
    radial-gradient(circle at 70% 80%, rgba(50, 209, 88, 0.10), transparent 20%);
}

.hero-bg-glow {
  z-index: -2;
  background:
    radial-gradient(circle at 14% 24%, rgba(255, 255, 255, 0.16), transparent 12%),
    radial-gradient(circle at 88% 64%, rgba(130, 167, 255, 0.18), transparent 16%),
    radial-gradient(circle at 48% 100%, rgba(255, 255, 255, 0.08), transparent 20%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero-shell {
  position: relative;
  border-radius: 40px;
  padding: 42px 42px 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(22px) saturate(165%);
  -webkit-backdrop-filter: blur(22px) saturate(165%);
  box-shadow:
    0 24px 120px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05);
}

.hero-shell::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    linear-gradient(135deg,
      rgba(255, 255, 255, 0.22) 0%,
      rgba(255, 255, 255, 0.09) 38%,
      rgba(255, 255, 255, 0.02) 100%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 42px;
  align-items: center;
}

.hero-copy {
  max-width: 640px;
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.hero-eyebrow {
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 16px;
}

.hero-apple-glass h1,
.section-heading h2,
.intro h2,
.feature-copy h2,
.cta-section h2 {
  margin: 0;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.hero-apple-glass h1 {
  max-width: 10.5ch;
  color: #ffffff;
  font-size: clamp(3.5rem, 7vw, 6.2rem);
  letter-spacing: -0.07em;
}

.hero-text,
.section-text,
.feature-copy p,
.info-card p,
.step p {
  color: var(--muted);
}

.hero-apple-glass .hero-text {
  margin-top: 24px;
  max-width: 600px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.14rem;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.hero-primary-button {
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #1a2230;
  font-weight: 800;
  box-shadow:
    0 10px 30px rgba(255, 255, 255, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.hero-primary-button:hover {
  background: #ffffff;
  color: #111827;
}

.hero-secondary-button {
  min-height: 54px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero-secondary-button:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hero-console {
  position: relative;
}

.console-card {
  position: relative;
  border-radius: 32px;
  padding: 22px 22px 20px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(33, 45, 77, 0.46), rgba(24, 33, 58, 0.28));
  border: 1px solid rgba(173, 206, 255, 0.24);
  backdrop-filter: blur(28px) saturate(170%);
  -webkit-backdrop-filter: blur(28px) saturate(170%);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 0 40px rgba(124, 152, 255, 0.12);
  transition:
    transform 600ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 600ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 600ms ease;
}

.console-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    linear-gradient(135deg,
      rgba(255, 255, 255, 0.18) 0%,
      rgba(255, 255, 255, 0.05) 48%,
      rgba(255, 255, 255, 0.015) 100%);
  pointer-events: none;
}

.console-card.console-finished {
  transform: translateY(-2px) scale(1.01);
  border-color: rgba(122, 236, 145, 0.32);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 0 56px rgba(75, 230, 106, 0.16);
}

.console-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.console-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.console-title {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.98rem;
  font-weight: 700;
}

.console-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.console-menu span {
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: #30d158;
  opacity: 0.9;
}

.console-divider {
  position: relative;
  z-index: 1;
  height: 1px;
  margin: 18px 0 20px;
  background: rgba(255, 255, 255, 0.12);
}

.console-main {
  position: relative;
  z-index: 1;
}

.console-health {
  display: grid;
  grid-template-columns: 1fr 170px;
  gap: 18px;
  align-items: center;
}

.console-health-copy p,
.console-health-copy span {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.console-health-copy p {
  font-size: 0.98rem;
  margin-bottom: 8px;
}

.console-health-copy h3 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.console-ring {
  --progress: 81;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  margin-left: auto;
  display: grid;
  place-items: center;
  position: relative;
  background:
    conic-gradient(#4be66a 0 calc(var(--progress) * 1%), rgba(255, 255, 255, 0.12) 0);
  box-shadow:
    0 0 28px rgba(75, 230, 106, 0.18),
    inset 0 0 18px rgba(255, 255, 255, 0.08);
  transition:
    box-shadow 500ms ease,
    transform 500ms ease;
}

.console-ring::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(75, 230, 106, 0.18), transparent 62%);
  opacity: 0;
  transform: scale(0.92);
  transition:
    opacity 500ms ease,
    transform 500ms ease;
  pointer-events: none;
}

.console-ring::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.10), transparent 45%),
    rgba(22, 30, 52, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.console-ring.ring-complete {
  transform: scale(1.02);
  box-shadow:
    0 0 32px rgba(75, 230, 106, 0.28),
    0 0 60px rgba(75, 230, 106, 0.14),
    inset 0 0 18px rgba(255, 255, 255, 0.08);
}

.console-ring.ring-complete::before {
  opacity: 1;
  transform: scale(1);
}

.console-ring.ring-pulse::before {
  animation: ringGlowPulse 1200ms ease-in-out 2;
}

@keyframes ringGlowPulse {

  0%,
  100% {
    opacity: 0.65;
    transform: scale(0.96);
  }

  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

.console-ring-inner {
  position: relative;
  z-index: 1;

  display: flex;
  flex-direction: column;
  /* 👈 STACK vertically */
  align-items: center;
  /* 👈 center horizontally */
  justify-content: center;
  text-align: center;
}

.console-ring-inner strong {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  color: #ffffff;
  letter-spacing: -0.05em;
}

/* NUMBER */
.console-ring-inner strong span:first-child {
  font-size: 2.6rem;
  line-height: 1;
}

/* % SIGN */
.console-ring-inner strong span:last-child {
  font-size: 1.4rem;
  opacity: 0.85;
}

/* READINESS LABEL */
.console-ring-inner .ring-label {
  margin-top: 4px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.02em;
}

.console-checklist {
  margin-top: 20px;
}

.console-row {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  color: rgba(255, 255, 255, 0.78);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  transition:
    color 350ms ease,
    opacity 350ms ease,
    transform 350ms ease;
}

.console-row:first-child {
  border-top: none;
}

.console-row strong {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  transition: color 350ms ease;
}

.console-row.active strong {
  color: #ffffff;
}

.console-check {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #0a1a11;
  background: rgba(255, 255, 255, 0.28);
  font-size: 0.85rem;
  font-weight: 800;
  transition:
    background 350ms ease,
    box-shadow 350ms ease,
    transform 350ms ease,
    color 350ms ease;
}

.console-row.complete {
  color: rgba(255, 255, 255, 0.90);
}

.console-row.complete strong {
  color: #30d158;
}

.console-row.complete .console-check {
  background: #30d158;
  color: #0a1a11;
  box-shadow: 0 0 18px rgba(48, 209, 88, 0.24);
  transform: scale(1.05);
}

.console-mini-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.console-mini-card {
  padding: 18px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition:
    transform 450ms ease,
    border-color 450ms ease,
    box-shadow 450ms ease,
    background 450ms ease;
}

.console-mini-card.card-finished {
  transform: translateY(-1px);
  border-color: rgba(122, 236, 145, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 28px rgba(75, 230, 106, 0.08);
}

.console-mini-card span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
}

.console-mini-card strong {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  letter-spacing: -0.05em;
}

.console-mini-card strong span:first-child {
  font-size: 2.4rem;
  line-height: 1;
}

.console-mini-card strong span:last-child {
  /* font-size: 1.2rem; */
  color: rgba(255, 255, 255, 0.85);
  opacity: 0.85; 
}

.hero-bottom-metrics {
  position: relative;
  z-index: 1;
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.metric-glass {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: 24px;
  padding: 20px 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(183, 215, 255, 0.20);
  backdrop-filter: blur(20px) saturate(165%);
  -webkit-backdrop-filter: blur(20px) saturate(165%);
  box-shadow:
    0 14px 44px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.metric-glass::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    linear-gradient(135deg,
      rgba(255, 255, 255, 0.20),
      rgba(255, 255, 255, 0.06) 42%,
      rgba(255, 255, 255, 0.02) 100%);
  pointer-events: none;
}

.metric-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 800;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.26), transparent 40%),
    rgba(98, 131, 255, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.metric-glass strong {
  display: block;
  color: #ffffff;
  font-size: 1.8rem;
  line-height: 1;
  letter-spacing: -0.05em;
}

.metric-glass span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.4;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #30d158;
  box-shadow: 0 0 0 6px rgba(48, 209, 88, 0.12);
  animation: statusFlash 1.15s ease-in-out infinite;
}

@keyframes statusFlash {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(48, 209, 88, 0.12);
  }

  50% {
    opacity: 0.35;
    transform: scale(0.86);
    box-shadow: 0 0 0 12px rgba(48, 209, 88, 0.03);
  }
}

/* =========================
   REMAINING SECTIONS
   ========================= */

.intro {
  text-align: center;
}

.intro h2,
.section-heading h2,
.feature-copy h2,
.cta-section h2 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
}

.intro .section-text,
.cta-section .section-text {
  margin: 18px auto 0;
  font-size: 1.08rem;
  line-height: 1.8;
}

.section-heading {
  text-align: center;
  margin-bottom: 34px;
}

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

.info-card {
  padding: 28px;
  min-height: 220px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.76));
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.info-card h3,
.step h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.info-card p,
.step p {
  margin: 0;
  line-height: 1.7;
}

.feature-band {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.62));
}

.feature-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: start;
}

.steps {
  display: grid;
  gap: 16px;
}

.step {
  padding: 24px;
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 16px;
  align-items: start;
  background: var(--surface-strong);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.step span {
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: #eef4ff;
  color: var(--blue);
  font-weight: 800;
}

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

.cta-form {
  margin-top: 28px;
  display: grid;
  gap: 14px;
}

.cta-form input,
.cta-form textarea {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.86);
  border-radius: 22px;
  padding: 18px 20px;
  font: inherit;
  color: var(--text);
  outline: none;
}

.cta-form textarea {
  min-height: 150px;
  resize: vertical;
}

.cta-form input:focus,
.cta-form textarea:focus {
  border-color: rgba(10, 132, 255, 0.45);
  box-shadow: 0 0 0 4px rgba(10, 132, 255, 0.08);
}

.form-message {
  margin: 6px 0 0;
  min-height: 24px;
  color: var(--muted);
}

/* =========================
   FADE-IN REVEALS
   ========================= */

.reveal-section {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 120ms;
}

.reveal-delay-2 {
  transition-delay: 240ms;
}

.reveal-delay-3 {
  transition-delay: 360ms;
}

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

  .reveal-section {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .status-dot {
    animation: none;
  }

  .console-card,
  .console-row,
  .console-row strong,
  .console-check,
  .console-ring,
  .console-mini-card {
    transition: none;
  }

  .console-ring.ring-pulse::before {
    animation: none;
  }
}

@media (max-width: 980px) {

  .hero-grid,
  .feature-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .hero-bottom-metrics {
    grid-template-columns: 1fr;
  }

  .console-health {
    grid-template-columns: 1fr;
  }

  .console-ring {
    margin: 8px auto 0;
  }

  .hero-apple-glass h1 {
    max-width: 100%;
  }
}

@media (max-width: 720px) {
  .nav {
    min-height: auto;
    padding: 14px 0;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 18px;
  }

  .button-small {
    margin-left: auto;
  }

  .hero-shell {
    padding: 24px 18px 18px;
    border-radius: 28px;
  }

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

  .hero-primary-button,
  .hero-secondary-button,
  .button,
  .button-small {
    width: 100%;
  }

  .text-link {
    text-align: center;
  }

  .console-card,
  .metric-glass,
  .info-card,
  .step {
    border-radius: 22px;
  }

  .console-mini-stats {
    grid-template-columns: 1fr;
  }

  .hero-apple-glass {
    min-height: auto;
    padding: 88px 0 52px;
  }

  .lead-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 500px;
  }

  .lead-form input,
  .lead-form textarea {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font: inherit;
  }

  .lead-form button {
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #4fd1c5;
    color: black;
    font-weight: 600;
    cursor: pointer;
  }

  .lead-form button:hover {
    opacity: 0.9;
  }

  #formStatus {
    font-size: 0.9rem;
  }
}