html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 15% 15%, rgba(61, 221, 255, 0.16), transparent 20%),
    radial-gradient(circle at 82% 8%, rgba(255, 129, 108, 0.18), transparent 22%),
    radial-gradient(circle at 50% 100%, rgba(255, 214, 116, 0.12), transparent 26%),
    linear-gradient(160deg, #06141e 0%, #081a28 46%, #0d2233 100%);
  color: #edf7ff;
}

.pointer-field {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: visible;
  z-index: 0;
}

.trail-node,
.trail-spark {
  position: absolute;
  pointer-events: none;
}

.trail-node {
  width: 20px;
  height: 20px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(103, 221, 245, 0.34));
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 0 36px rgba(103, 221, 245, 0.25), 0 0 20px rgba(255, 143, 113, 0.18);
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.9));
  transform: rotate(4deg);
}

.trail-node::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.92), transparent 60%);
}

.trail-spark {
  width: 10px;
  height: 10px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 143, 113, 0.28));
  box-shadow: 0 0 30px rgba(255, 143, 113, 0.22), 0 0 20px rgba(103, 221, 245, 0.16);
  opacity: 0.95;
}

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

.mega-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(6, 20, 30, 0.72);
  border-bottom: 1px solid rgba(147, 214, 244, 0.1);
}

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

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-lockup strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
}

.brand-lockup small {
  color: #89b4c8;
}

.brand-core {
  width: 48px;
  height: 48px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(60, 220, 255, 0.35), rgba(255, 133, 97, 0.28)),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.brand-core::before,
.brand-core::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.brand-core::before {
  width: 18px;
  height: 18px;
  background: #61d7f3;
  inset: 14px auto auto 14px;
  box-shadow: 12px 10px 0 rgba(255, 205, 122, 0.9);
}

.brand-core::after {
  width: 72px;
  height: 72px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  top: -18px;
  right: -18px;
}

.nav-desktop {
  display: flex;
  gap: 20px;
}

.nav-desktop a,
.mobile-drawer a {
  color: #a7c8d7;
}

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

.profile-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e7f6ff;
}

.profile-avatar {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #67ddf5, #ff8f71);
  color: #062a39;
  font-weight: 700;
  box-shadow: 0 0 24px rgba(103, 221, 245, 0.24);
}

.ghost-action,
.primary-action,
.ghost-link,
.primary-link,
.orbit-arrow,
.mobile-method,
.account-tabs button,
.mini-actions button {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition:
    transform 160ms ease,
    opacity 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.primary-action,
.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  background: linear-gradient(135deg, #67ddf5, #25c1c6);
  color: #042430;
  font-weight: 700;
  box-shadow: 0 18px 34px rgba(37, 193, 198, 0.24);
}

.ghost-action,
.ghost-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.04);
  color: #ebf8ff;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.primary-action:hover,
.primary-link:hover,
.ghost-action:hover,
.ghost-link:hover,
.orbit-arrow:hover,
.mobile-method:hover {
  transform: translateY(-1px);
}

.mobile-drawer {
  display: none;
  padding: 0 16px 16px;
  gap: 10px;
}

.mobile-drawer.open {
  display: flex;
  flex-direction: column;
}

.hero-v2 {
  padding: 52px 0 24px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.hero-copy-v2,
.hero-orbit-panel,
.planner-card,
.calc-card,
.account-card,
.live-card {
  position: relative;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(11, 33, 49, 0.94), rgba(9, 25, 37, 0.86));
  border: 1px solid rgba(146, 218, 245, 0.12);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.hero-copy-v2,
.planner-card,
.account-card,
.live-card {
  padding: 30px;
}

.hero-orbit-panel,
.calc-card {
  padding: 24px;
}

.hero-copy-v2::before,
.hero-orbit-panel::before,
.planner-card::before,
.calc-card::before,
.account-card::before,
.live-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.06), transparent 30%);
  pointer-events: none;
}

.section-kicker,
.eyebrow-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffd596;
  font-size: 0.92rem;
}

.hero-copy-v2 h1,
.section-title {
  margin: 16px 0 14px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.hero-copy-v2 h1 span,
.section-title span {
  background: linear-gradient(135deg, #66dcf5, #ffd594, #ff8f71);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-copy-v2 p,
.section-lead,
.planner-note,
.live-card p,
.account-card p {
  color: #9fc6d8;
  line-height: 1.6;
}

.hero-buttons,
.live-actions,
.builder-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.hero-strip,
.builder-summary,
.account-stats,
.live-stats,
.calc-grid {
  display: grid;
  gap: 12px;
}

.hero-strip,
.builder-summary,
.account-stats,
.live-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
}

.hero-strip span,
.builder-summary div,
.account-stats div,
.live-stats div,
.calc-grid div {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.hero-strip span,
.builder-summary span,
.account-stats span,
.live-stats span,
.calc-grid span {
  display: block;
  margin-bottom: 6px;
  color: #8fb9c9;
}

.builder-zone,
.account-zone,
.reviews-zone {
  padding: 18px 0 30px;
}

.builder-layout,
.account-layout {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 22px;
  align-items: start;
}

.orbit-shell {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  gap: 12px;
}

.orbit-stage {
  position: relative;
  min-height: 470px;
  display: grid;
  place-items: center;
}

.orbit-stage::before,
.orbit-stage::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  pointer-events: none;
}

.orbit-stage::before {
  width: min(520px, 90%);
  height: min(520px, 90%);
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 42px rgba(103, 221, 245, 0.12);
}

.orbit-stage::after {
  width: min(360px, 72%);
  height: min(360px, 72%);
  border: 1px dashed rgba(255, 255, 255, 0.08);
}

.orbit-ring {
  position: absolute;
  width: 100%;
  height: 100%;
}

.orbit-node {
  position: absolute;
  top: 50%;
  left: 50%;
  transform:
    rotate(var(--angle))
    translateY(-190px)
    rotate(calc(var(--angle) * -1));
  width: 120px;
  height: 120px;
  margin: -60px 0 0 -60px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cce4ef;
  font-weight: 700;
}

.orbit-node.active {
  background: linear-gradient(135deg, rgba(103, 221, 245, 0.18), rgba(255, 143, 113, 0.18));
  color: #ffffff;
  transform:
    rotate(var(--angle))
    translateY(-190px)
    scale(1.08)
    rotate(calc(var(--angle) * -1));
}

.orbit-core {
  width: min(350px, 84%);
  min-height: 290px;
  padding: 28px;
  border-radius: 42px;
  text-align: center;
  background:
    radial-gradient(circle at top, rgba(103, 221, 245, 0.18), transparent 55%),
    rgba(4, 17, 27, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.orbit-core h3 {
  margin: 12px 0 10px;
  font-size: 1.5rem;
}

.orbit-core-badge {
  color: #8cc2d7;
}

.orbit-price {
  margin-top: 18px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
}

.orbit-arrow {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.4rem;
}

.planner-form,
.stack-form,
.review-form {
  display: grid;
  gap: 14px;
}

.field-grid,
.dashboard-columns,
.live-payment {
  display: grid;
  gap: 14px;
}

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

.field,
.stack-form input,
.stack-form textarea,
.stack-form select,
.review-form input,
.review-form textarea,
.review-form select {
  display: grid;
  gap: 8px;
}

.field-wide {
  grid-column: 1 / -1;
}

.field span {
  color: #d9eef7;
}

.field input,
.field textarea,
.stack-form input,
.stack-form textarea,
.stack-form select,
.review-form input,
.review-form textarea,
.review-form select {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(3, 14, 21, 0.76);
  color: #edf7ff;
  padding: 15px 16px;
  resize: vertical;
}

.terms-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.side-stack {
  display: grid;
  gap: 18px;
}

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

.tracker-mini {
  position: sticky;
  top: 92px;
}

.account-tabs {
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.account-tabs button {
  padding: 11px 16px;
  background: transparent;
  color: #9dc5d5;
}

.account-tabs button.active {
  background: rgba(103, 221, 245, 0.14);
  color: #fff;
}

.account-head,
.live-header,
.box-head,
.purchase-top,
.review-meta,
.mini-item,
.mini-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dashboard-columns {
  grid-template-columns: 1fr;
  margin-top: 18px;
}

.dashboard-box,
.purchase-item,
.mini-item,
.timeline-item,
.review-card {
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.dashboard-box {
  padding: 18px;
}

.mini-item,
.purchase-item,
.timeline-item,
.review-card {
  padding: 16px;
}

.mini-actions button {
  padding: 8px 11px;
  background: rgba(255, 255, 255, 0.05);
  color: #ebf8ff;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.live-column {
  display: grid;
}

.live-payment {
  grid-template-columns: 220px 1fr;
  margin-top: 20px;
}

.live-qr {
  padding: 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
}

.live-qr img {
  width: 100%;
  border-radius: 18px;
  background: white;
  padding: 10px;
}

.live-code textarea {
  min-height: 160px;
}

.timeline {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.timeline-item p,
.purchase-item p,
.review-card p,
.mini-item p {
  margin: 8px 0;
  color: #9fc6d8;
}

.timeline-item span,
.purchase-item small,
.review-meta span {
  color: #81a8b8;
}

.reviews-zone .container {
  margin-bottom: 16px;
}

.review-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.review-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: marquee 40s linear infinite;
  padding: 0 18px;
}

.review-card {
  width: 320px;
  position: relative;
}

.review-stars {
  color: #ffd594;
}

.review-meta {
  margin-top: 12px;
}

.demo-chip {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 143, 113, 0.15);
  color: #ffc0b0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.info-banner,
.form-message,
.review-done {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.form-message.success,
.review-done {
  border-color: rgba(110, 224, 164, 0.22);
  background: rgba(110, 224, 164, 0.08);
}

.form-message.error {
  border-color: rgba(255, 143, 113, 0.24);
  background: rgba(255, 143, 113, 0.08);
}

.mobile-methods {
  display: none;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.mobile-method {
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.05);
  color: #cfe7f1;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-method.active {
  background: rgba(103, 221, 245, 0.14);
  color: #fff;
}

.star {
  opacity: 0.28;
}

.star.on {
  opacity: 1;
}

.site-fallback {
  padding: 60px 0;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1100px) {
  .hero-layout,
  .builder-layout,
  .account-layout {
    grid-template-columns: 1fr;
  }

  .tracker-mini {
    position: static;
  }
}

@media (max-width: 860px) {
  .nav-desktop {
    display: none;
  }

  .mobile-drawer.open {
    display: flex;
  }

  .hero-orbit-panel {
    order: -1;
  }

  .hero-strip,
  .builder-summary,
  .account-stats,
  .live-stats,
  .calc-grid,
  .field-grid,
  .live-payment {
    grid-template-columns: 1fr;
  }

  .orbit-shell {
    grid-template-columns: 1fr;
  }

  .orbit-arrow {
    display: none;
  }

  .orbit-stage {
    min-height: 340px;
  }

  .orbit-node {
    width: 92px;
    height: 92px;
    margin: -46px 0 0 -46px;
    transform:
      rotate(var(--angle))
      translateY(-138px)
      rotate(calc(var(--angle) * -1));
  }

  .orbit-node.active {
    transform:
      rotate(var(--angle))
      translateY(-138px)
      scale(1.06)
      rotate(calc(var(--angle) * -1));
  }

  .orbit-core {
    min-height: 220px;
    width: min(280px, 88%);
  }
}

@media (max-width: 640px) {
  .topbar {
    padding: 14px 0;
  }

  .hero-v2 {
    padding-top: 28px;
  }

  .hero-copy-v2,
  .hero-orbit-panel,
  .planner-card,
  .calc-card,
  .account-card,
  .live-card {
    padding: 20px;
    border-radius: 24px;
  }

  .mobile-methods {
    display: flex;
  }

  .hero-copy-v2 h1,
  .section-title {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .orbit-stage {
    display: none;
  }

  .hero-orbit-panel {
    display: none;
  }

  .review-card {
    width: 260px;
  }
}
