:root {
  --bg: #07090d;
  --bg-soft: #10141c;
  --panel: rgba(14, 17, 23, 0.9);
  --panel-strong: #121824;
  --card: rgba(17, 19, 26, 0.9);
  --card-2: rgba(22, 25, 32, 0.9);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 214, 89, 0.34);
  --text: #f3f5f7;
  --muted: #9ca3af;
  --muted-2: #69717d;
  --yellow: #ffd24d;
  --yellow-bright: #ffe381;
  --yellow-deep: #f7b500;
  --shadow: rgba(255, 208, 77, 0.26);
  --danger: #ff5c5c;
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 210, 77, 0.08), transparent 28%),
    radial-gradient(circle at bottom right, rgba(255, 210, 77, 0.06), transparent 22%),
    var(--bg);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle at center, black 52%, transparent 100%);
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(2px 2px at 20% 30%, rgba(255, 210, 77, 0.7), transparent 100%);
  background-size: 200px 200px;
  opacity: 0.35;
  pointer-events: none;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding-bottom: 80px;
}

.backdrop-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.7;
}

.glow-one {
  width: 420px;
  height: 420px;
  top: -90px;
  left: -40px;
  background: rgba(255, 210, 77, 0.12);
}

.glow-two {
  width: 420px;
  height: 420px;
  right: -70px;
  top: 200px;
  background: rgba(255, 210, 77, 0.08);
}

.topbar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--yellow), #ffc33b);
  color: #11131a;
  box-shadow: 0 0 24px rgba(255, 210, 77, 0.36);
}

.brand-text {
  font-size: 1.15rem;
}

.brand-text span {
  color: var(--yellow);
}

.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 999px;
  font-size: 0.82rem;
  color: #e5e7eb;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7ef5bc;
  box-shadow: 0 0 14px rgba(126, 245, 188, 0.7);
}

.hero {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 440px;
  padding-top: 70px;
}

.hero-copy {
  width: min(760px, 100%);
  text-align: center;
}

.eyebrow {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid rgba(255, 210, 77, 0.25);
  border-radius: 999px;
  color: var(--yellow);
  background: rgba(255, 210, 77, 0.08);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.06em;
  font-weight: 900;
  max-width: 760px;
  margin-inline: auto;
}

.hero p {
  margin: 18px auto 0;
  max-width: 700px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.cta-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.promo-badge {
  display: inline-flex;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e8edf5;
  font-size: 0.8rem;
}

.primary-btn,
.secondary-btn {
  border: none;
  border-radius: 14px;
  padding: 18px 28px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.primary-btn {
  min-width: 240px;
  background: linear-gradient(180deg, var(--yellow-bright), var(--yellow));
  color: #11131a;
  box-shadow: 0 0 0 1px rgba(255, 214, 89, 0.4), 0 12px 32px rgba(255, 210, 77, 0.3);
  font-size: 1.04rem;
}

.primary-btn:hover,
.secondary-btn:hover {
  transform: translateY(-1px);
}

.secondary-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  color: var(--text);
}

.security-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  color: #dfe5eb;
  font-size: 0.92rem;
}

.lock-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.features,
.testimonials {
  position: relative;
  z-index: 1;
  margin-top: 46px;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.feature-card {
  text-align: center;
  padding: 26px 22px 30px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(18, 20, 27, 0.9), rgba(13, 16, 20, 0.93));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.accent-card {
  background: linear-gradient(180deg, rgba(255, 210, 77, 0.08), rgba(16, 18, 24, 0.98));
  border-color: rgba(255, 210, 77, 0.18);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  font-size: 1.5rem;
  background: rgba(255, 210, 77, 0.08);
  border: 1px solid rgba(255, 210, 77, 0.2);
  margin-bottom: 16px;
}

.feature-card h3 {
  margin: 0;
  font-size: 1.5rem;
  letter-spacing: -0.05em;
}

.feature-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.testimonials {
  padding-top: 26px;
}

.section-heading {
  margin-bottom: 20px;
}

.section-kicker {
  display: inline-block;
  color: var(--yellow);
  letter-spacing: 0.03em;
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: none;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.quote-card {
  background: linear-gradient(180deg, rgba(16, 19, 25, 0.9), rgba(12, 15, 20, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 18px 18px 16px;
}

.quote-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.quote-top strong {
  font-size: 0.96rem;
}

.quote-top span {
  color: var(--yellow);
  font-size: 0.8rem;
}

.quote-card p {
  margin: 0;
  color: #e7ebf2;
  line-height: 1.7;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(5, 7, 10, 0.68);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 20;
}

.modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.modal-panel {
  width: min(560px, 100%);
  border-radius: 28px;
  background: rgba(11, 14, 18, 0.96);
  border: 1px solid rgba(255, 210, 77, 0.22);
  box-shadow: 0 0 0 1px rgba(255, 210, 77, 0.08), 0 0 32px rgba(255, 210, 77, 0.08), 0 30px 90px rgba(0, 0, 0, 0.48);
  overflow: hidden;
}

.modal-panel--loading {
  min-height: 380px;
}

.modal-topbar {
  padding: 18px 22px 14px;
  background: rgba(255, 255, 255, 0.01);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #dfe5eb;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.progress-meta strong {
  font-weight: 800;
  color: var(--yellow);
}

.step-percent {
  font-weight: 700;
}

.progress-track {
  margin-top: 12px;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.progress-fill {
  display: block;
  width: 50%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--yellow), var(--yellow-bright));
  box-shadow: 0 0 16px rgba(255, 210, 77, 0.28);
  transition: width 0.28s ease;
}

.modal-content {
  padding: 26px 22px 20px;
}

.modal-header h2 {
  margin: 18px 0 10px;
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  letter-spacing: -0.06em;
  font-weight: 900;
}

.modal-header p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 1.08rem;
}

.form-step {
  display: none;
  margin-top: 20px;
}

.form-step.active {
  display: block;
}

.field-group {
  margin-bottom: 18px;
}

.field-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.8rem;
  color: #dfe5eb;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.field-group input,
.field-group select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(23, 26, 33, 0.9);
  color: var(--text);
  border-radius: 12px;
  padding: 16px 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field-group input::placeholder {
  color: rgba(223, 229, 235, 0.46);
}

.field-group input:focus,
.field-group select:focus {
  border-color: rgba(255, 210, 77, 0.5);
  box-shadow: 0 0 0 4px rgba(255, 210, 77, 0.08);
}

.verify-wrapper {
  margin-top: 18px;
  padding: 0;
}

.verification-label {
  display: block;
  margin-bottom: 12px;
  color: #f3f5f7;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

#verificationCode {
  width: 100%;
  height: 62px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(17, 20, 27, 0.95);
  border-radius: 12px;
  color: var(--text);
  padding: 0 18px;
  font-size: 1.05rem;
  outline: none;
}

#verificationCode::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

#verificationCode:focus {
  border-color: rgba(255, 210, 77, 0.4);
  box-shadow: 0 0 0 4px rgba(255, 210, 77, 0.08);
}

.modal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
}

.modal-actions .primary-btn,
.modal-actions .secondary-btn {
  flex: 1;
  padding: 18px 20px;
  border-radius: 14px;
  font-size: 1.05rem;
}

.modal-actions .secondary-btn {
  background: rgba(255, 255, 255, 0.09);
  color: #f4f6f8;
}

.modal-actions .primary-btn {
  background: linear-gradient(180deg, #ffeb85, var(--yellow));
  color: #11131a;
  box-shadow: 0 0 18px rgba(255, 210, 77, 0.28);
}

.loading-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 18px 24px;
  min-height: 260px;
}

.loading-screen[hidden] {
  display: none;
}

.loading-spinner {
  position: relative;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 7px solid rgba(255, 210, 77, 0.14);
  border-top-color: var(--yellow);
  border-right-color: rgba(255, 210, 77, 0.8);
  animation: spin 1.4s linear infinite;
  box-shadow: 0 0 28px rgba(255, 210, 77, 0.15);
  margin-bottom: 26px;
}

.loading-screen h3 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -0.06em;
  max-width: 420px;
}

.loading-screen p {
  margin: 20px 0 0;
  color: #d7dfe9;
  font-size: 1.05rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 68px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .features,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .topbar {
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
  }

  .hero h1 {
    letter-spacing: -0.06em;
  }

  .hero-actions {
    align-items: stretch;
  }

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

  .modal-actions {
    flex-direction: column-reverse;
  }

  .modal-actions .primary-btn,
  .modal-actions .secondary-btn {
    width: 100%;
  }
}