:root {
  --bg-0: #040814;
  --bg-1: #0b1122;
  --bg-2: #111a34;
  --card: rgba(12, 19, 38, 0.78);
  --card-strong: rgba(10, 16, 32, 0.9);
  --text-main: #e8f0ff;
  --text-muted: rgba(232, 240, 255, 0.74);
  --line: rgba(171, 200, 255, 0.3);
  --accent-a: #4ff2d1;
  --accent-b: #ffca61;
  --accent-c: #77a7ff;
  --accent-d: #ff7b7b;
  --ok: #9ff5b1;
  --danger: #ffc3c3;
  --radius-xl: 30px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-soft: 0 24px 44px rgba(0, 0, 0, 0.28);
  --shadow-hard: 0 42px 90px rgba(0, 0, 0, 0.4);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  position: relative;
  color: var(--text-main);
  background:
    radial-gradient(1200px 900px at 14% -8%, rgba(79, 242, 209, 0.2), transparent 58%),
    radial-gradient(1200px 720px at 92% 8%, rgba(255, 202, 97, 0.18), transparent 55%),
    radial-gradient(1000px 620px at 50% 108%, rgba(119, 167, 255, 0.18), transparent 56%),
    linear-gradient(180deg, var(--bg-0), var(--bg-1) 38%, var(--bg-2));
  font-family: "Manrope", "Segoe UI", sans-serif;
  overflow-x: hidden;
}

.atmosphere,
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.atmosphere {
  opacity: 0.32;
  background:
    linear-gradient(to right, rgba(181, 219, 255, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(181, 219, 255, 0.08) 1px, transparent 1px);
  background-size: 90px 90px;
  mask-image: radial-gradient(circle at 50% 28%, #000 44%, transparent 92%);
}

.noise {
  opacity: 0.08;
  background-image: radial-gradient(rgba(255, 255, 255, 0.95) 0.6px, transparent 0.6px);
  background-size: 4px 4px;
}

main,
.topbar,
.footer {
  width: min(1220px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 12px;
  z-index: 30;
  margin-top: 16px;
  padding: 0.82rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(187, 217, 255, 0.28);
  backdrop-filter: blur(14px);
  background: rgba(4, 9, 18, 0.74);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  color: inherit;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 180px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  border: 1px solid rgba(228, 243, 255, 0.45);
  background:
    radial-gradient(circle at 31% 32%, rgba(79, 242, 209, 0.95), rgba(79, 242, 209, 0.2) 46%, transparent 75%),
    radial-gradient(circle at 68% 74%, rgba(255, 202, 97, 0.9), rgba(255, 202, 97, 0.25) 44%, transparent 70%),
    radial-gradient(circle at 51% 50%, rgba(119, 167, 255, 0.82), transparent 66%);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-kicker {
  text-transform: uppercase;
  letter-spacing: 0.17em;
  font-size: 0.58rem;
  color: var(--text-muted);
  font-family: "Chakra Petch", sans-serif;
}

.brand-name {
  font-family: "Antonio", sans-serif;
  letter-spacing: 0.05em;
  font-size: 1.34rem;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 0.42rem;
}

.topnav a {
  color: var(--text-main);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  font-family: "Chakra Petch", sans-serif;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.5rem 0.8rem;
  transition: transform 170ms ease, border-color 170ms ease, background 170ms ease;
}

.topnav a:hover,
.topnav a:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(79, 242, 209, 0.5);
  background: rgba(79, 242, 209, 0.12);
  outline: none;
}

.top-cta {
  text-decoration: none;
  color: #08121d;
  background: linear-gradient(120deg, var(--accent-a), var(--accent-b));
  padding: 0.62rem 1rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: "Chakra Petch", sans-serif;
}

.hero {
  margin-top: 2rem;
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1.1fr 0.95fr;
  padding: clamp(1.1rem, 1.8vw + 1rem, 2rem);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background:
    linear-gradient(140deg, rgba(8, 13, 27, 0.9), rgba(8, 14, 28, 0.72)),
    radial-gradient(700px 440px at 0% 0%, rgba(79, 242, 209, 0.2), transparent 70%);
  box-shadow: var(--shadow-hard);
}

.eyebrow,
.section-kicker,
.stage-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-family: "Chakra Petch", sans-serif;
  color: var(--accent-a);
  font-size: 0.72rem;
}

.hero h1 {
  margin: 0.68rem 0 0.5rem;
  font-family: "Antonio", sans-serif;
  font-size: clamp(2rem, 3.6vw, 3.7rem);
  line-height: 0.96;
  letter-spacing: 0.02em;
}

.hero-sub {
  margin: 0;
  max-width: 62ch;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.55;
}

.hero-actions,
.demo-actions {
  margin-top: 1.15rem;
  display: flex;
  gap: 0.68rem;
  flex-wrap: wrap;
}

.btn {
  border: 0;
  border-radius: 12px;
  padding: 0.7rem 1.02rem;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: "Chakra Petch", sans-serif;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.05);
  outline: none;
}

.btn-primary {
  color: #08121d;
  background: linear-gradient(118deg, var(--accent-a), var(--accent-b));
  box-shadow: 0 14px 26px rgba(79, 242, 209, 0.22);
}

.btn-ghost {
  color: var(--text-main);
  background: rgba(117, 166, 255, 0.12);
  border: 1px solid rgba(117, 166, 255, 0.32);
}

.hero-metrics {
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.62rem;
}

.hero-metrics li {
  border: 1px solid rgba(136, 181, 255, 0.28);
  border-radius: var(--radius-md);
  padding: 0.74rem 0.76rem;
  background: rgba(8, 14, 29, 0.62);
}

.hero-metrics strong {
  display: block;
  font-family: "Antonio", sans-serif;
  font-size: 1.36rem;
  letter-spacing: 0.04em;
}

.hero-metrics span {
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.hero-stage {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(166, 201, 255, 0.28);
  background: linear-gradient(170deg, rgba(10, 16, 34, 0.92), rgba(6, 12, 24, 0.7));
  padding: 0.82rem;
  position: relative;
  overflow: hidden;
}

#hero-canvas {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-lg) - 6px);
  display: block;
  border: 1px solid rgba(133, 175, 255, 0.34);
  background:
    radial-gradient(circle at 50% 50%, rgba(119, 167, 255, 0.16), rgba(4, 9, 18, 0.86));
}

.stage-overlay {
  margin-top: 0.82rem;
  padding: 0.85rem;
  border-radius: var(--radius-md);
  background: rgba(4, 9, 19, 0.75);
  border: 1px solid rgba(166, 204, 255, 0.22);
}

.stage-overlay h2 {
  margin: 0.4rem 0 0.32rem;
  font-family: "Antonio", sans-serif;
  letter-spacing: 0.04em;
}

.stage-overlay p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.48;
}

.stage-stats {
  margin-top: 0.62rem;
  padding-top: 0.62rem;
  border-top: 1px solid rgba(166, 204, 255, 0.2);
  color: #c8f8da;
  font-size: 0.8rem;
}

.experience-switches {
  margin-top: 0.82rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.46rem;
}

.switch {
  border: 1px solid rgba(155, 193, 255, 0.34);
  border-radius: 10px;
  padding: 0.56rem 0.52rem;
  background: rgba(21, 34, 62, 0.44);
  color: var(--text-main);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: "Chakra Petch", sans-serif;
  cursor: pointer;
}

.switch.active {
  background: linear-gradient(130deg, rgba(79, 242, 209, 0.26), rgba(119, 167, 255, 0.34));
  border-color: rgba(79, 242, 209, 0.62);
}

.section {
  margin-top: 1.45rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(166, 204, 255, 0.22);
  background: linear-gradient(166deg, rgba(7, 13, 28, 0.88), rgba(8, 15, 30, 0.7));
  box-shadow: var(--shadow-soft);
  padding: clamp(1rem, 1.6vw + 0.8rem, 1.7rem);
}

.section-head h2 {
  margin: 0.44rem 0 0.32rem;
  font-family: "Antonio", sans-serif;
  letter-spacing: 0.03em;
  font-size: clamp(1.55rem, 2vw, 2.4rem);
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
}

.demo-grid {
  margin-top: 1.1rem;
  display: grid;
  gap: 0.84rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.demo-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(159, 197, 255, 0.22);
  background: var(--card);
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.demo-shell {
  --tone-a: rgba(79, 242, 209, 0.76);
  --tone-b: rgba(255, 202, 97, 0.72);
  --tone-c: rgba(119, 167, 255, 0.8);
  height: 180px;
  border-radius: 14px;
  border: 1px solid rgba(169, 208, 255, 0.26);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(79, 242, 209, 0.14), rgba(5, 9, 18, 0.86)),
    linear-gradient(145deg, rgba(11, 20, 40, 0.7), rgba(7, 12, 24, 0.9));
  transform-style: preserve-3d;
  perspective: 900px;
  transform: rotateX(var(--tilt-x, 8deg)) rotateY(var(--tilt-y, -10deg));
  transition: transform 220ms ease;
}

.demo-shell[data-theme="twin"] {
  --tone-a: rgba(119, 167, 255, 0.84);
  --tone-b: rgba(90, 255, 206, 0.65);
  --tone-c: rgba(255, 123, 123, 0.8);
}

.demo-shell[data-theme="campaign"] {
  --tone-a: rgba(255, 202, 97, 0.8);
  --tone-b: rgba(255, 123, 123, 0.78);
  --tone-c: rgba(119, 167, 255, 0.82);
}

.ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 999px;
  border: 1px solid rgba(195, 222, 255, 0.28);
  transform-style: preserve-3d;
}

.ring-a {
  width: 140px;
  height: 140px;
  margin-left: -70px;
  margin-top: -70px;
  border-color: var(--tone-a);
  animation: spinA 6.8s linear infinite;
}

.ring-b {
  width: 104px;
  height: 104px;
  margin-left: -52px;
  margin-top: -52px;
  border-color: var(--tone-b);
  animation: spinB 8.4s linear infinite;
}

.ring-c {
  width: 62px;
  height: 62px;
  margin-left: -31px;
  margin-top: -31px;
  border-color: var(--tone-c);
  animation: spinA 5.4s linear infinite reverse;
}

.hotspot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f6fcff;
  box-shadow: 0 0 20px 4px rgba(246, 252, 255, 0.64);
}

.hot-a {
  left: 24%;
  top: 28%;
  animation: pulse 2.2s ease-in-out infinite;
}

.hot-b {
  right: 20%;
  top: 46%;
  animation: pulse 2.8s ease-in-out infinite;
}

.hot-c {
  left: 50%;
  bottom: 20%;
  animation: pulse 3.2s ease-in-out infinite;
}

.demo-tag,
.plan,
.price-meta {
  margin: 0;
  font-family: "Chakra Petch", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
}

.demo-card h3,
.flow-steps h3,
.trust-panel h3,
.success h3 {
  margin: 0;
  font-family: "Antonio", sans-serif;
  letter-spacing: 0.03em;
}

.demo-card p,
.price-card p,
.flow-steps p,
.trust-note,
.success p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.46;
  font-size: 0.9rem;
}

.feature-list {
  margin: 0;
  padding-left: 1.04rem;
  color: var(--text-main);
  font-size: 0.84rem;
  display: grid;
  gap: 0.38rem;
}

.pricing-grid {
  margin-top: 1rem;
  display: grid;
  gap: 0.84rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.price-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(164, 203, 255, 0.26);
  background: var(--card);
  padding: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.66rem;
}

.price-card.featured {
  border-color: rgba(79, 242, 209, 0.56);
  box-shadow: 0 18px 36px rgba(79, 242, 209, 0.16);
  background: linear-gradient(170deg, rgba(11, 22, 44, 0.9), rgba(7, 13, 27, 0.86));
}

.price {
  margin: 0;
  font-family: "Antonio", sans-serif;
  font-size: 2rem;
  letter-spacing: 0.03em;
  color: #fff4d3;
}

.flow-steps {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.66rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.flow-steps li {
  border: 1px solid rgba(164, 203, 255, 0.26);
  border-radius: var(--radius-md);
  padding: 0.78rem;
  background: rgba(9, 16, 33, 0.64);
}

.flow-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  width: 2.1rem;
  height: 2.1rem;
  font-family: "Antonio", sans-serif;
  letter-spacing: 0.06em;
  border: 1px solid rgba(79, 242, 209, 0.48);
  color: var(--accent-a);
  margin-bottom: 0.5rem;
}

.inquiry-wrap {
  margin-top: 1.02rem;
  display: grid;
  gap: 0.84rem;
  grid-template-columns: 0.86fr 1.14fr;
}

.trust-panel,
.form-panel {
  border: 1px solid rgba(164, 203, 255, 0.26);
  border-radius: var(--radius-lg);
  background: var(--card);
  padding: 0.95rem;
}

.trust-note {
  margin-top: 0.7rem;
  font-size: 0.8rem;
}

.progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.76rem;
}

#progress-copy {
  font-family: "Chakra Petch", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.progress-bar {
  display: inline-flex;
  width: 170px;
  height: 9px;
  border-radius: 999px;
  background: rgba(24, 39, 69, 0.8);
  border: 1px solid rgba(157, 196, 255, 0.32);
}

#progress-fill {
  display: block;
  width: 33.33%;
  border-radius: inherit;
  background: linear-gradient(120deg, var(--accent-a), var(--accent-b));
  transition: width 200ms ease;
}

.form-step {
  border: 1px solid rgba(164, 203, 255, 0.24);
  border-radius: var(--radius-md);
  padding: 0.8rem;
  background: rgba(8, 14, 29, 0.6);
  display: grid;
  gap: 0.62rem;
}

.form-step legend {
  font-family: "Chakra Petch", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
  padding-inline: 0.35rem;
  color: var(--accent-a);
}

label {
  display: grid;
  gap: 0.34rem;
  font-size: 0.82rem;
  color: var(--text-main);
}

input,
select,
textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(157, 196, 255, 0.36);
  background: rgba(4, 10, 20, 0.92);
  color: var(--text-main);
  font-family: "Manrope", sans-serif;
  font-size: 0.9rem;
  padding: 0.62rem 0.66rem;
}

input:focus,
select:focus,
textarea:focus {
  outline: 1px solid rgba(79, 242, 209, 0.72);
  border-color: rgba(79, 242, 209, 0.72);
}

.invalid {
  border-color: rgba(255, 123, 123, 0.88);
  box-shadow: 0 0 0 1px rgba(255, 123, 123, 0.75);
}

.checkbox-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.56rem;
  align-items: start;
}

.checkbox-row input {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.12rem;
}

.form-actions {
  margin-top: 0.76rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.58rem;
}

.success {
  border: 1px solid rgba(159, 234, 179, 0.44);
  border-radius: var(--radius-md);
  background: rgba(13, 35, 26, 0.72);
  padding: 0.92rem;
  display: grid;
  gap: 0.58rem;
}

.footer {
  margin-top: 1.25rem;
  margin-bottom: 1.4rem;
  border: 1px solid rgba(164, 203, 255, 0.22);
  border-radius: 16px;
  padding: 0.8rem;
  text-align: center;
  color: var(--text-muted);
  background: rgba(8, 15, 30, 0.74);
  font-size: 0.82rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px) scale(0.99);
}

.reveal.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 460ms ease, transform 460ms ease;
}

@keyframes spinA {
  from {
    transform: translateZ(8px) rotateX(62deg) rotateY(0deg);
  }

  to {
    transform: translateZ(8px) rotateX(62deg) rotateY(360deg);
  }
}

@keyframes spinB {
  from {
    transform: translateZ(-8px) rotateY(75deg) rotateX(0deg);
  }

  to {
    transform: translateZ(-8px) rotateY(75deg) rotateX(360deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.55);
    opacity: 0.6;
  }
}

@media (max-width: 1080px) {
  .topbar {
    border-radius: 18px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero,
  .inquiry-wrap {
    grid-template-columns: 1fr;
  }

  .hero-metrics,
  .demo-grid,
  .pricing-grid,
  .flow-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  main,
  .topbar,
  .footer {
    width: min(1220px, calc(100% - 1.1rem));
  }

  .topnav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .top-cta {
    order: 2;
  }

  .hero h1 {
    font-size: clamp(1.82rem, 11vw, 2.8rem);
  }

  .hero-metrics,
  .demo-grid,
  .pricing-grid,
  .flow-steps {
    grid-template-columns: 1fr;
  }

  .experience-switches {
    grid-template-columns: 1fr;
  }

  .progress {
    flex-direction: column;
    align-items: flex-start;
  }

  .progress-bar {
    width: 100%;
  }

  .form-actions {
    justify-content: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .reveal.show {
    opacity: 1;
    transform: none;
  }
}
