:root {
  --bg: #05060a;
  --bg-soft: #0b0e16;
  --panel: rgba(15, 18, 28, 0.94);
  --panel-soft: rgba(255, 255, 255, 0.03);
  --line: rgba(255, 255, 255, 0.08);
  --text: #f5f7fb;
  --muted: #aeb9cd;
  --blue: #5b9dff;
  --purple: #7d5cff;
  --success: #a6f0d4;
  --shadow: 0 34px 86px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", system-ui, sans-serif;
  background: linear-gradient(180deg, #04050a 0%, #090c14 52%, #04050a 100%);
  color: var(--text);
  overflow-x: hidden;
}

button,
input {
  font: inherit;
}

.bg-orb {
  position: fixed;
  inset: auto;
  border-radius: 999px;
  filter: blur(36px);
  pointer-events: none;
  z-index: 0;
}

.bg-orb-a {
  width: 32rem;
  height: 32rem;
  top: -6rem;
  left: -6rem;
  background: rgba(91, 157, 255, 0.16);
  animation: drift-a 18s ease-in-out infinite alternate;
}

.bg-orb-b {
  width: 34rem;
  height: 34rem;
  top: 0;
  right: -8rem;
  background: rgba(125, 92, 255, 0.16);
  animation: drift-b 20s ease-in-out infinite alternate;
}

@keyframes drift-a {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(2rem, -1rem, 0) scale(1.08);
  }
}

@keyframes drift-b {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-2rem, 1rem, 0) scale(1.08);
  }
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 40px;
}

.topbar,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar {
  margin-bottom: 34px;
}

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

.brand-mark {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(91, 157, 255, 0.2), rgba(125, 92, 255, 0.24)),
    rgba(255, 255, 255, 0.03);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), 0 0 24px rgba(91, 157, 255, 0.12);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
}

.brand-mark::before {
  width: 18px;
  height: 18px;
  top: 10px;
  left: 8px;
}

.brand-mark::after {
  width: 10px;
  height: 10px;
  top: 7px;
  right: 8px;
  box-shadow: 0 0 18px rgba(91, 157, 255, 0.4);
}

.brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-sub {
  color: #95a2ba;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
  min-height: 78vh;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #d9e3f6;
  font-size: 13px;
}

.eyebrow-dot,
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
}

.eyebrow-dot {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  box-shadow: 0 0 18px rgba(91, 157, 255, 0.55);
  animation: pulse 2s ease-in-out infinite;
}

.live-dot {
  background: #7cffb2;
  box-shadow: 0 0 12px rgba(124, 255, 178, 0.75);
  animation: blink 1.4s ease-in-out infinite;
}

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

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

.hero-copy {
  animation: float-copy 6s ease-in-out infinite;
}

@keyframes float-copy {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.hero-title {
  margin: 0 0 14px;
  max-width: 680px;
  font-size: clamp(44px, 5.8vw, 82px);
  line-height: 0.95;
  letter-spacing: -0.065em;
  font-weight: 820;
}

.hero-title span {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  max-width: 560px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: clamp(18px, 1.9vw, 21px);
  line-height: 1.4;
}

.example-card,
.market-card,
.form-card {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(14px);
}

.example-card,
.market-card {
  max-width: 560px;
}

.example-card {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(91, 157, 255, 0.08), rgba(125, 92, 255, 0.05)),
    rgba(14, 18, 29, 0.95);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32), 0 0 30px rgba(91, 157, 255, 0.1);
  animation: card-glow 3.2s ease-in-out infinite;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.example-card::before {
  content: "";
  position: absolute;
  inset: -120% auto auto -40%;
  width: 60%;
  height: 280%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  transform: rotate(18deg);
  animation: sweep 5s linear infinite;
}

.example-card:hover {
  transform: translateY(-4px);
  border-color: rgba(91, 157, 255, 0.26);
}

@keyframes card-glow {
  0%,
  100% {
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32), 0 0 26px rgba(91, 157, 255, 0.08);
  }
  50% {
    box-shadow: 0 28px 92px rgba(0, 0, 0, 0.36), 0 0 40px rgba(91, 157, 255, 0.16);
  }
}

@keyframes sweep {
  from {
    transform: translateX(-180%) rotate(18deg);
  }
  to {
    transform: translateX(320%) rotate(18deg);
  }
}

.card-head,
.market-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-head {
  margin-bottom: 14px;
}

.card-label,
.market-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffbd6c;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-meta {
  color: #9cb0d0;
  font-size: 12px;
  font-weight: 700;
}

.example-title {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 780;
  letter-spacing: -0.03em;
}

.example-grid,
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mini-card,
.proof-item {
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.mini-label {
  margin-bottom: 6px;
  color: #8ea0be;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.mini-value {
  color: #e9f0fc;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 650;
}

.market-card {
  position: relative;
  overflow: hidden;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.025);
}

.market-card::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 44px;
  background: linear-gradient(90deg, transparent, rgba(91, 157, 255, 0.12), transparent);
  filter: blur(8px);
  animation: scan 2.8s linear infinite;
}

@keyframes scan {
  from {
    left: -16%;
  }
  to {
    left: 116%;
  }
}

.market-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #afc0dd;
  font-size: 12px;
  font-weight: 700;
}

.scan-bar {
  position: relative;
  width: 40px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.scan-bar::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -40%;
  width: 40%;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  animation: scan-bar 1.2s linear infinite;
}

@keyframes scan-bar {
  from {
    left: -40%;
  }
  to {
    left: 100%;
  }
}

.market-list {
  display: grid;
  gap: 10px;
}

.market-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #d7e0f0;
  font-size: 14px;
}

.market-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.market-row strong {
  min-width: 22px;
  color: #f8fbff;
  font-size: 18px;
  font-weight: 800;
}

.form-wrap {
  position: relative;
  animation: float-form 5.4s ease-in-out infinite;
}

@keyframes float-form {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.form-glow {
  position: absolute;
  inset: 8% -4% -6% 10%;
  background: radial-gradient(circle, rgba(91, 157, 255, 0.18), transparent 62%);
  filter: blur(28px);
}

.form-card {
  position: relative;
  z-index: 1;
  padding: 30px;
  border-radius: 30px;
  box-shadow: var(--shadow), 0 0 56px rgba(91, 157, 255, 0.1);
}

.form-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: #9ab0d5;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  box-shadow: 0 0 16px rgba(91, 157, 255, 0.5);
}

.form-card h2 {
  margin: 0 0 8px;
  font-size: 34px;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.form-subtitle {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.proof-grid {
  margin-bottom: 18px;
}

.proof-item {
  text-align: center;
  color: #dfe7f6;
  font-size: 13px;
}

.lead-form {
  display: grid;
  gap: 14px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 14px;
  font-weight: 650;
  color: #dfe7f6;
}

.field input {
  width: 100%;
  min-height: 58px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease,
    transform 180ms ease;
}

.field input::placeholder {
  color: #7e889d;
}

.field input:focus {
  border-color: rgba(91, 157, 255, 0.82);
  box-shadow: 0 0 0 4px rgba(91, 157, 255, 0.14), 0 0 24px rgba(91, 157, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.submit-button {
  width: 100%;
  min-height: 58px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  color: white;
  font-size: 16px;
  font-weight: 760;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  box-shadow: 0 16px 44px rgba(91, 157, 255, 0.18), 0 0 34px rgba(91, 157, 255, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.submit-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 20px 52px rgba(91, 157, 255, 0.24), 0 0 44px rgba(91, 157, 255, 0.32);
}

.submit-button[disabled] {
  cursor: wait;
  opacity: 0.95;
}

.form-note,
.form-error {
  text-align: center;
  font-size: 13px;
  line-height: 1.5;
}

.form-note {
  color: var(--muted);
}

.form-error {
  color: #ff9e9e;
}

.button-loading,
.success-state[hidden],
.form-error[hidden] {
  display: none;
}

.loading .button-text {
  display: none;
}

.loading .button-loading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.loading-dots {
  display: inline-flex;
  gap: 4px;
}

.loading-dots span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  animation: dots 0.9s ease-in-out infinite;
}

.loading-dots span:nth-child(2) {
  animation-delay: 0.12s;
}

.loading-dots span:nth-child(3) {
  animation-delay: 0.24s;
}

@keyframes dots {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  50% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

.success-state {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 22px 18px;
  border-radius: 20px;
  border: 1px solid rgba(115, 232, 190, 0.16);
  background: rgba(115, 232, 190, 0.08);
  color: var(--success);
  text-align: center;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 650;
}

.success-check {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(115, 232, 190, 0.12);
  border: 1px solid rgba(115, 232, 190, 0.22);
  box-shadow: 0 0 28px rgba(115, 232, 190, 0.12);
}

.footer {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #90a0bb;
  font-size: 13px;
}

.footer a {
  color: #dce6f8;
  text-decoration: none;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 38px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-title,
  .hero-subtitle,
  .example-card,
  .market-card {
    margin-left: auto;
    margin-right: auto;
  }

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

@media (max-width: 720px) {
  .example-grid,
  .proof-grid,
  .field-row {
    grid-template-columns: 1fr;
  }

  .page-shell {
    width: min(100% - 24px, 1220px);
  }

  .form-card {
    padding: 22px 18px;
  }

  .hero-title {
    font-size: clamp(36px, 11vw, 56px);
  }

  .example-card,
  .market-card {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bg-orb,
  .hero-copy,
  .form-wrap,
  .eyebrow-dot,
  .live-dot,
  .example-card,
  .example-card::before,
  .market-card::after,
  .scan-bar::before,
  .loading-dots span {
    animation: none !important;
  }

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