:root {
  --brand-primary: #1a5fdb;
  --brand-accent: #1fa3e7;
  --brand-deep: #0e3991;
  --brand-ink: #020d1b;
  --text: #f2f6ff;
  --muted: #b7c4df;
  --border: rgba(255, 255, 255, 0.14);
  --card: rgba(255, 255, 255, 0.04);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, sans-serif;
  background: linear-gradient(
      180deg,
      rgba(2, 13, 27, 0.72) 0%,
      rgba(2, 13, 27, 0.86) 34%,
      rgba(2, 13, 27, 0.97) 100%
    ),
    radial-gradient(circle at top, rgba(26, 95, 219, 0.22), transparent 55%),
    radial-gradient(circle at bottom right, rgba(31, 163, 231, 0.18), transparent 45%),
    var(--brand-ink);
  color: var(--text);
  line-height: 1.45;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid var(--brand-accent);
  outline-offset: 2px;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: rgba(2, 13, 27, 0.76);
  backdrop-filter: blur(8px);
}

.topbar-inner {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar-brand {
  display: inline-flex;
  align-items: center;
}

.topbar-logo {
  width: 148px;
  height: auto;
}

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

.topbar-nav a,
.topbar-nav a:link,
.topbar-nav a:visited {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  line-height: 1;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 8px 10px;
  transition:
    color 150ms ease,
    background-color 150ms ease,
    border-color 150ms ease;
}

.topbar-nav a:hover {
  color: #eaf4ff;
  background: rgba(31, 163, 231, 0.12);
  border-color: rgba(31, 163, 231, 0.22);
}

.topbar-nav a:focus-visible {
  color: #eaf4ff;
  background: rgba(31, 163, 231, 0.12);
  border-color: rgba(31, 163, 231, 0.22);
}

.topbar-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  border: 1px solid rgba(130, 198, 255, 0.38);
  background: rgba(8, 34, 71, 0.6);
  border-radius: 999px;
  padding: 8px 12px;
}

.topbar-cta:link,
.topbar-cta:visited {
  color: #fff;
}

.topbar-cta:hover {
  filter: brightness(1.08);
}

.section {
  padding: 56px 0;
  scroll-margin-top: 84px;
}

.border-top {
  border-top: 1px solid var(--border);
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(
      180deg,
      rgba(2, 13, 27, 0.64) 0%,
      rgba(2, 13, 27, 0.62) 30%,
      rgba(14, 57, 145, 0.42) 56%,
      rgba(2, 13, 27, 0.94) 100%
    ),
    url('./assets/Scello_Bg_3.webp') center 5% / cover no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  width: 62%;
  background: linear-gradient(
    90deg,
    rgba(2, 13, 27, 0.8) 0%,
    rgba(2, 13, 27, 0.58) 54%,
    rgba(2, 13, 27, 0) 100%
  );
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid > div:first-child {
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  padding: 86px 0 0;
}

.scene-flow {
  background:
    linear-gradient(
      180deg,
      rgba(2, 13, 27, 0.9) 0%,
      rgba(14, 57, 145, 0.48) 44%,
      rgba(31, 163, 231, 0.24) 68%,
      rgba(2, 13, 27, 0.92) 100%
    ),
    url('./assets/Scello_Bg_1.webp') center center / cover no-repeat;
}

#how,
#why {
  background:
    linear-gradient(
      180deg,
      rgba(2, 13, 27, 0.9) 0%,
      rgba(14, 57, 145, 0.42) 48%,
      rgba(31, 163, 231, 0.22) 72%,
      rgba(2, 13, 27, 0.94) 100%
    ),
    url('./assets/Scello_Bg_1.webp') center center / cover no-repeat;
}

#privacy,
.final-cta-scene {
  background:
    linear-gradient(
      180deg,
      rgba(2, 13, 27, 0.2) 0%,
      rgba(14, 57, 145, 0.32) 46%,
      rgba(31, 163, 231, 0.2) 72%,
      rgba(2, 13, 27, 0.5) 100%
    ),
    url('./assets/Scello_Bg_2.webp') center 40% / cover no-repeat;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.hero-brand {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 0;
  display: flex;
  justify-content: center;
  z-index: 2;
}

.hero-logo {
  display: block;
  width: min(230px, 62vw);
  height: auto;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand-accent);
  font-weight: 700;
  font-size: 12px;
  margin-bottom: 12px;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
}

h1 {
  font-size: clamp(34px, 6vw, 52px);
  font-weight: 800;
  color: #f6f9ff;
  text-shadow: 0 8px 22px rgba(2, 13, 27, 0.7);
}

h2 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
}

h3 {
  font-size: 20px;
  font-weight: 700;
}

.subhead,
.note,
p {
  color: var(--muted);
}

.subhead {
  font-size: clamp(16px, 2vw, 20px);
  margin-top: 18px;
  max-width: 640px;
  color: #dbe9ff;
  text-shadow: 0 6px 18px rgba(2, 13, 27, 0.6);
}

.trust-points {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trust-points span {
  border: 1px solid rgba(130, 198, 255, 0.32);
  border-radius: 999px;
  background: rgba(10, 40, 84, 0.5);
  color: #dff2ff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
}

.hero-ctas {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.note {
  font-size: 14px;
  margin-top: 10px;
  color: #d4e5ff;
  text-shadow: 0 4px 14px rgba(2, 13, 27, 0.54);
}

.btn {
  display: inline-block;
  margin-top: 0;
  text-decoration: none;
  background: linear-gradient(120deg, var(--brand-primary), var(--brand-accent));
  color: white;
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(26, 95, 219, 0.35);
  transition:
    transform 150ms ease,
    filter 150ms ease;
}

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

.btn-secondary {
  background: rgba(8, 34, 71, 0.62);
  border: 1px solid rgba(130, 198, 255, 0.34);
  color: #eaf4ff;
  box-shadow: none;
}

.hero-cards {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(14, 57, 145, 0.36), rgba(2, 13, 27, 0.92));
  padding: 16px;
}

.hero-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  padding: 14px;
}

.hero-card-row + .hero-card-row {
  margin-top: 12px;
}

.pill {
  border-radius: 999px;
  border: 1px solid var(--border);
  padding: 4px 8px;
  font-size: 12px;
  color: white;
}

.pill-accent {
  color: var(--brand-accent);
  border-color: rgba(31, 163, 231, 0.45);
  background: rgba(31, 163, 231, 0.14);
}

.pill-success {
  color: #9cffc5;
  border-color: rgba(99, 255, 175, 0.4);
  background: rgba(99, 255, 175, 0.16);
}

.pill-warning {
  color: #eaf4ff;
  border-color: rgba(26, 95, 219, 0.45);
  background: rgba(26, 95, 219, 0.18);
}

.flow-wrap {
  border: 1px solid rgba(120, 180, 255, 0.24);
  border-radius: 20px;
  background: rgba(2, 13, 27, 0.52);
  backdrop-filter: blur(10px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 38px rgba(2, 13, 27, 0.35);
  padding: 24px;
}

.flow {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.flow-item {
  border: 1px solid rgba(130, 198, 255, 0.3);
  border-radius: 12px;
  padding: 14px 16px;
  background: linear-gradient(150deg, rgba(4, 23, 52, 0.95), rgba(2, 13, 27, 0.9));
  font-weight: 600;
  color: #eff5ff;
  min-height: 60px;
  display: flex;
  align-items: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 22px rgba(1, 6, 16, 0.28);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
  position: relative;
  padding-top: 18px;
}

.flow-item::before {
  content: attr(data-step);
  position: absolute;
  top: 7px;
  right: 9px;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(177, 220, 255, 0.86);
  font-weight: 700;
}

.flow-item:hover {
  transform: translateY(-2px);
  border-color: rgba(31, 163, 231, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 16px 26px rgba(3, 15, 38, 0.35);
}

.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-inline: auto;
  border-radius: 999px;
  border: 1px solid rgba(31, 163, 231, 0.35);
  background: rgba(8, 33, 70, 0.65);
  text-align: center;
  color: var(--brand-accent);
  transform: rotate(90deg);
}

.pathways {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.pathway-card {
  border: 1px solid rgba(130, 198, 255, 0.26);
  border-radius: 14px;
  padding: 16px;
  background: rgba(2, 13, 27, 0.56);
}

.pathway-card p {
  margin-bottom: 0;
}

#how .container,
#why .container {
  border: 1px solid rgba(120, 180, 255, 0.24);
  border-radius: 20px;
  background: rgba(2, 13, 27, 0.52);
  backdrop-filter: blur(10px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 38px rgba(2, 13, 27, 0.35);
  padding: 24px;
}

#how .card,
#why .card {
  border: 1px solid rgba(130, 198, 255, 0.26);
  border-radius: 14px;
  padding: 16px;
  background: rgba(2, 13, 27, 0.56);
}

#how .card:hover,
#why .card:hover {
  transform: translateY(-2px);
  border-color: rgba(31, 163, 231, 0.38);
}

.cards {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.03);
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(130, 198, 255, 0.36);
}

.step {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-accent);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
}

.muted {
  background:
    linear-gradient(
      180deg,
      rgba(2, 13, 27, 0.88) 0%,
      rgba(2, 13, 27, 0.78) 52%,
      rgba(2, 13, 27, 0.93) 100%
    ),
    url('./assets/Scello_Bg_1.webp') center 52% / cover no-repeat;
}

.privacy {
  border: 1px solid rgba(26, 95, 219, 0.45);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(2, 13, 27, 0.72), rgba(14, 57, 145, 0.52));
  padding: 24px;
}

.privacy ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: #eaf1ff;
}

.privacy li + li {
  margin-top: 8px;
}

.center {
  text-align: center;
}

.logo {
  width: min(220px, 58vw);
  height: auto;
  margin-bottom: 10px;
}

.final-cta-scene {
  min-height: 0;
  padding: 26px 0;
  display: flex;
  align-items: center;
}

.final-cta-card {
  border: 1px solid rgba(130, 198, 255, 0.22);
  border-radius: 22px;
  background: rgba(2, 13, 27, 0.52);
  backdrop-filter: blur(10px);
  padding: 16px 16px 18px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 38px rgba(2, 13, 27, 0.34);
}

.final-cta p {
  max-width: 720px;
  margin: 8px auto 12px;
}

.final-cta .btn {
  margin-top: 0;
}

@media (min-width: 900px) {
  .topbar-nav {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1.06fr 0.94fr;
    align-items: center;
  }

  .hero-brand {
    top: 14px;
  }

  .hero-logo {
    width: 250px;
  }

  .flow {
    grid-template-columns:
      minmax(150px, 1fr) auto minmax(150px, 1fr) auto minmax(150px, 1fr)
      auto minmax(150px, 1fr);
    align-items: center;
    gap: 14px;
  }

  .flow-arrow {
    text-align: center;
    transform: none;
  }

  .scene-flow {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .scene-flow,
  #how,
  #why,
  #privacy,
  .final-cta-scene {
    background-attachment: fixed;
  }

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

  #how .container,
  #why .container {
    padding: 28px;
  }

  .final-cta-card {
    padding: 20px 26px 22px;
    max-width: 620px;
  }

  .two-col {
    grid-template-columns: 1fr 1fr;
  }

  .three-col {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

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

  .btn,
  .flow-item,
  .card {
    transition: none;
  }
}
