:root {
  --ink: #07111f;
  --muted: #5d6f83;
  --paper: #f7fbff;
  --line: rgba(20, 45, 70, 0.12);
  --cyan: #22c8ff;
  --blue: #1478ff;
  --navy: #071831;
  --emerald: #28d89b;
  --mint: #8effd7;
  --coral: #ff8a6b;
  --font-sans: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
}

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

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 92vh;
  padding: 24px clamp(18px, 4vw, 64px) 72px;
  color: white;
  background:
    radial-gradient(circle at 18% 28%, rgba(34, 200, 255, 0.22), transparent 28%),
    radial-gradient(circle at 78% 20%, rgba(40, 216, 155, 0.16), transparent 24%),
    linear-gradient(135deg, #06101f 0%, #082647 54%, #07111f 100%);
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  pointer-events: none;
  content: "";
  background: linear-gradient(180deg, transparent, var(--paper));
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(34, 200, 255, 0.28);
  border-radius: 50%;
  transform: rotate(-12deg);
}

.orbit-a {
  right: -18vw;
  bottom: 4vh;
  width: 62vw;
  height: 62vw;
  animation: slow-spin 32s linear infinite;
}

.orbit-b {
  top: 12vh;
  left: -22vw;
  width: 54vw;
  height: 54vw;
  animation: slow-spin 42s linear reverse infinite;
}

.coin {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8deaff, #1688ff);
  box-shadow: 0 0 24px rgba(34, 200, 255, 0.65);
}

.coin-a {
  top: 26%;
  left: 12%;
  animation: float-y 7s ease-in-out infinite;
}

.coin-b {
  top: 34%;
  right: 22%;
  background: linear-gradient(135deg, #b7ffe9, #28d89b);
  animation: float-y 8s ease-in-out 0.8s infinite;
}

.coin-c {
  bottom: 20%;
  right: 9%;
  background: linear-gradient(135deg, #ffd4c8, var(--coral));
  animation: float-y 9s ease-in-out 1.4s infinite;
}

.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 42px;
  flex: 0 0 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(34, 200, 255, 0.22), rgba(20, 120, 255, 0.46));
  color: #eafdff;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

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

.brand strong {
  font-size: 16px;
}

.brand small {
  margin-top: 2px;
  color: rgba(226, 245, 255, 0.72);
  font-size: 12px;
}

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

.nav-actions a {
  border-radius: 999px;
  padding: 10px 14px;
  color: rgba(235, 248, 255, 0.84);
  font-size: 14px;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.nav-actions a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  transform: translateY(-1px);
}

.nav-actions .nav-cta {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
  max-width: 1180px;
  margin: 82px auto 0;
}

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

.eyebrow,
.section-kicker {
  margin: 0;
  color: #39d5ff;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 16px 0 0;
  max-width: 820px;
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 860;
  line-height: 0.94;
  letter-spacing: 0;
}

.lead {
  max-width: 640px;
  margin: 26px 0 0;
  color: rgba(237, 248, 255, 0.86);
  font-size: clamp(18px, 2.2vw, 23px);
  line-height: 1.55;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.primary-cta,
.secondary-cta,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 12px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.primary-cta {
  gap: 10px;
  padding: 0 22px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #02121f;
  box-shadow: 0 18px 44px rgba(20, 120, 255, 0.34);
}

.primary-cta:hover,
.secondary-cta:hover,
.text-link:hover {
  transform: translateY(-2px);
}

.secondary-cta {
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-meta span {
  display: grid;
  gap: 3px;
  min-width: 138px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(232, 247, 255, 0.76);
  font-size: 13px;
}

.hero-meta strong {
  color: white;
  font-size: 18px;
}

.product-panel {
  position: relative;
  min-height: 580px;
  display: grid;
  place-items: center;
}

.bot-card {
  position: relative;
  display: grid;
  width: min(430px, 82vw);
  gap: 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06)),
    rgba(5, 20, 40, 0.72);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(16px);
  animation: phone-enter 800ms ease both;
}

.avatar-ring {
  position: relative;
  display: grid;
  width: min(260px, 62vw);
  aspect-ratio: 1;
  place-items: center;
  justify-self: center;
  border: 1px solid rgba(34, 200, 255, 0.52);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(34, 200, 255, 0.22), transparent 58%),
    #071831;
  box-shadow:
    0 0 0 10px rgba(34, 200, 255, 0.08),
    0 28px 70px rgba(0, 0, 0, 0.28);
}

.avatar-ring::before,
.avatar-ring::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.avatar-ring::before {
  inset: -12px;
  border: 1px dashed rgba(34, 200, 255, 0.34);
  animation: slow-spin 28s linear infinite;
}

.avatar-ring::after {
  right: 22px;
  bottom: 26px;
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, #eaffff, #5cc8ff);
  clip-path: polygon(0 0, 100% 48%, 16% 100%, 34% 55%);
}

.avatar-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.mini-profile {
  text-align: center;
}

.profile-type,
.bot-handle {
  color: rgba(226, 245, 255, 0.64);
  font-size: 14px;
}

.mini-profile h2 {
  margin: 6px 0 4px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1;
}

.bot-handle,
.bot-description {
  margin: 0;
}

.bot-description {
  margin-top: 14px;
  color: rgba(236, 249, 255, 0.82);
  line-height: 1.45;
}

.message-preview {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.message-preview span {
  color: var(--mint);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.message-preview p {
  margin: 8px 0 0;
  color: rgba(235, 248, 255, 0.76);
  line-height: 1.45;
}

.floating-status {
  position: absolute;
  display: grid;
  grid-template-columns: auto 1fr;
  width: 224px;
  gap: 4px 10px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 14px;
  background: rgba(5, 20, 40, 0.78);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
}

.floating-status strong {
  font-size: 14px;
}

.floating-status small {
  grid-column: 2;
  color: rgba(226, 245, 255, 0.66);
  font-size: 12px;
}

.status-one {
  right: 0;
  top: 96px;
  animation: float-y 7s ease-in-out infinite;
}

.status-two {
  left: 0;
  bottom: 94px;
  animation: float-y 7s ease-in-out 1.2s infinite;
}

.status-dot,
.status-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: rgba(40, 216, 155, 0.18);
  color: var(--mint);
}

.status-dot::after {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--emerald);
  content: "";
}

.purpose-section,
.flow-section,
.control-section,
.status-section,
.note-section,
.final-cta {
  max-width: 1180px;
  margin: 0 auto;
  padding: 92px clamp(18px, 4vw, 32px);
}

.purpose-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 1fr);
  gap: 32px;
  align-items: end;
}

.purpose-section h2,
.section-heading h2,
.control-copy h2,
.note-section h2,
.final-cta h2,
.status-header h2 {
  margin: 10px 0 0;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.02;
  letter-spacing: 0;
}

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

.section-heading {
  max-width: 820px;
}

.section-heading p:last-child,
.control-copy p,
.final-cta p,
.status-board > p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.scenario-list {
  display: grid;
  gap: 12px;
}

.scenario-item {
  display: flex;
  gap: 14px;
  align-items: center;
  min-height: 82px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
  background: white;
  box-shadow: 0 16px 40px rgba(12, 34, 58, 0.06);
}

.scenario-item span {
  color: var(--cyan);
  font-size: 18px;
}

.scenario-item p {
  margin: 0;
  color: #17304b;
  font-weight: 760;
  line-height: 1.4;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.flow-card {
  min-height: 278px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: white;
  box-shadow: 0 20px 48px rgba(12, 34, 58, 0.07);
}

.flow-card span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: #e7f8ff;
  color: #0877c7;
  font-weight: 900;
}

.flow-card h3 {
  margin: 22px 0 10px;
  font-size: 20px;
}

.flow-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.control-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.text-link {
  min-height: 48px;
  margin-top: 14px;
  padding: 0 18px;
  border: 1px solid rgba(20, 120, 255, 0.18);
  background: #eaf7ff;
  color: #075fba;
}

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

.safeguard-card {
  min-height: 206px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: white;
  box-shadow: 0 18px 42px rgba(12, 34, 58, 0.06);
}

.safeguard-card span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #dcfff3;
  color: #09865e;
  font-weight: 900;
}

.safeguard-card h3 {
  margin: 18px 0 8px;
  font-size: 19px;
  color: #17304b;
}

.safeguard-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.status-section {
  padding-top: 44px;
}

.status-board {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  padding: clamp(26px, 5vw, 48px);
  background:
    radial-gradient(circle at 82% 18%, rgba(34, 200, 255, 0.2), transparent 24%),
    linear-gradient(135deg, #081a34, #0b315d);
  color: white;
  box-shadow: 0 26px 70px rgba(6, 24, 48, 0.18);
}

.status-board::after {
  position: absolute;
  top: 18px;
  right: -40px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
}

.status-header {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 16px;
  align-items: center;
}

.status-header p {
  margin: 0;
  color: rgba(235, 248, 255, 0.66);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.status-board > p {
  position: relative;
  z-index: 1;
  max-width: 780px;
  color: rgba(235, 248, 255, 0.78);
}

.pulse {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 0 rgba(40, 216, 155, 0.58);
  animation: pulse 1.9s ease-out infinite;
}

.status-timeline {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.status-row {
  min-height: 118px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.status-row strong,
.status-row span {
  display: block;
}

.status-row strong {
  color: white;
  font-size: 17px;
}

.status-row span {
  margin-top: 8px;
  color: rgba(235, 248, 255, 0.72);
  font-size: 14px;
  line-height: 1.45;
}

.note-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.8fr);
  gap: 32px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.note-section p:not(.section-kicker) {
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.7;
}

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

.final-cta p:not(.section-kicker) {
  max-width: 680px;
  margin: 20px auto 30px;
}

.final-cta .primary-cta {
  margin: 0 auto;
}

@keyframes slow-spin {
  to {
    transform: rotate(348deg);
  }
}

@keyframes float-y {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

@keyframes phone-enter {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 18px rgba(40, 216, 155, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(40, 216, 155, 0);
  }
}

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

  .topbar {
    align-items: flex-start;
  }

  .nav-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero-grid,
  .purpose-section,
  .control-section,
  .note-section {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    margin-top: 48px;
  }

  .product-panel {
    min-height: 520px;
  }

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

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

@media (max-width: 640px) {
  .hero {
    padding: 18px 16px 62px;
  }

  .topbar {
    display: grid;
  }

  .nav-actions {
    justify-content: flex-start;
  }

  .nav-actions a:not(.nav-cta) {
    display: none;
  }

  .coin-b {
    top: 58%;
    right: 16%;
  }

  .coin-c {
    bottom: 6%;
    right: 12%;
  }

  .hero h1 {
    font-size: clamp(44px, 13vw, 62px);
  }

  .lead {
    font-size: 17px;
  }

  .primary-cta,
  .secondary-cta {
    width: 100%;
  }

  .hero-meta span {
    max-width: 100%;
  }

  .product-panel {
    min-height: 480px;
  }

  .bot-card {
    width: min(340px, 88vw);
    padding: 22px;
  }

  .avatar-ring {
    width: min(218px, 62vw);
  }

  .floating-status {
    width: min(214px, 76vw);
  }

  .status-one {
    right: 0;
    top: 34px;
  }

  .status-two {
    left: 0;
    bottom: 44px;
  }

  .purpose-section,
  .flow-section,
  .control-section,
  .status-section,
  .note-section,
  .final-cta {
    padding: 64px 16px;
  }

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

  .safeguard-grid,
  .status-timeline {
    grid-template-columns: 1fr;
  }

  .flow-card {
    min-height: auto;
  }

  .status-header {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
