:root {
  color-scheme: dark;
  --bg: #071011;
  --panel: rgba(12, 24, 28, 0.78);
  --panel-strong: rgba(17, 31, 36, 0.96);
  --text: #f4fbf8;
  --muted: #a7bbb7;
  --line: rgba(255, 255, 255, 0.12);
  --mint: #5df2bd;
  --cyan: #59c7ff;
  --coral: #ff886a;
  --yellow: #ffd166;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background:
    radial-gradient(circle at 14% 12%, rgba(93, 242, 189, 0.2), transparent 26rem),
    radial-gradient(circle at 86% 0%, rgba(255, 136, 106, 0.16), transparent 24rem),
    linear-gradient(135deg, #071011 0%, #101b22 48%, #071011 100%);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent);
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.app-shell {
  width: min(1120px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 18px;
  display: grid;
  place-items: center;
}

.hero-panel,
.flow-panel {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-panel {
  min-height: calc(100vh - 36px);
  padding: clamp(22px, 5vw, 56px);
  display: grid;
  align-content: space-between;
  gap: 38px;
  overflow: hidden;
  position: relative;
}

.hero-panel::after {
  position: absolute;
  right: -120px;
  bottom: -170px;
  width: 470px;
  height: 470px;
  border: 1px solid rgba(93, 242, 189, 0.22);
  border-radius: 50%;
  content: "";
  background:
    linear-gradient(90deg, transparent 49%, rgba(93, 242, 189, 0.24) 50%, transparent 51%),
    linear-gradient(transparent 49%, rgba(89, 199, 255, 0.22) 50%, transparent 51%);
  opacity: 0.6;
}

.brand-row,
.section-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand-row {
  justify-content: flex-start;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(93, 242, 189, 0.38);
  border-radius: 8px;
  color: #071011;
  background: linear-gradient(135deg, var(--mint), var(--yellow));
  font-weight: 800;
}

.brand-kicker,
.brand-sub,
.eyebrow,
.lead,
.choice-card small,
.hosting-card small,
.form-note,
.success-view p {
  margin: 0;
}

.brand-kicker {
  font-weight: 800;
}

.brand-sub,
.lead,
.choice-card small,
.hosting-card small,
.form-note,
.success-view p {
  color: var(--muted);
}

.eyebrow {
  color: var(--mint);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 760px;
  position: relative;
  z-index: 1;
}

h1,
h2 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  margin-top: 12px;
  font-size: 8.6rem;
  font-weight: 800;
}

h2 {
  font-size: 3.8rem;
  font-weight: 800;
}

.lead {
  width: min(620px, 100%);
  margin-top: 18px;
  font-size: 1.18rem;
  line-height: 1.65;
}

.choice-grid,
.hosting-grid,
.niche-grid {
  display: grid;
  gap: 12px;
}

.choice-grid {
  grid-template-columns: repeat(3, 1fr);
  position: relative;
  z-index: 1;
}

.choice-card,
.hosting-card,
.primary-button,
.ghost-button {
  cursor: pointer;
  border: 0;
  border-radius: 8px;
}

.choice-card,
.hosting-card {
  min-height: 142px;
  padding: 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  text-align: left;
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.055);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.choice-card:hover,
.hosting-card:hover,
.niche-button:hover {
  transform: translateY(-2px);
  border-color: rgba(93, 242, 189, 0.48);
  background: rgba(93, 242, 189, 0.095);
}

.choice-icon {
  min-width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #071011;
  background: var(--mint);
  font-weight: 800;
  font-size: 0.78rem;
}

.choice-card strong,
.hosting-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.choice-card small,
.hosting-card small {
  display: block;
  line-height: 1.45;
}

.flow-panel {
  max-width: 920px;
  padding: clamp(20px, 5vw, 42px);
}

.flow-panel h2 {
  margin-top: 18px;
}

.ghost-button {
  min-height: 40px;
  padding: 0 15px;
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.search-wrap {
  margin: 24px 0 16px;
}

input,
select {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
  background: rgba(255, 255, 255, 0.075);
}

input:focus,
select:focus {
  border-color: var(--mint);
  box-shadow: 0 0 0 4px rgba(93, 242, 189, 0.12);
}

.niche-grid {
  max-height: 58vh;
  grid-template-columns: repeat(4, 1fr);
  overflow: auto;
  padding-right: 4px;
}

.niche-button {
  min-height: 48px;
  padding: 12px;
  color: var(--text);
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  cursor: pointer;
}

.form-card {
  margin-top: 24px;
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.primary-button {
  min-height: 54px;
  padding: 0 20px;
  color: #06100f;
  background: linear-gradient(135deg, var(--mint), var(--yellow));
  font-weight: 800;
  box-shadow: 0 14px 36px rgba(93, 242, 189, 0.18);
}

.primary-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.hosting-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 26px;
}

.hosting-card {
  min-height: 164px;
  flex-direction: column;
  justify-content: center;
}

.hosting-card strong {
  font-size: 1.65rem;
}

.success-view {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 18px;
}

.success-view h2 {
  max-width: 720px;
}

.success-view p {
  max-width: 620px;
  font-size: 1.05rem;
  line-height: 1.65;
}

.status-orb {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, var(--mint), var(--cyan)),
    radial-gradient(circle at center, #fff 0 8px, transparent 9px);
  box-shadow: 0 0 44px rgba(93, 242, 189, 0.35);
}

.link-button {
  display: inline-grid;
  place-items: center;
  min-width: 180px;
  text-decoration: none;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  padding: 18px;
  display: grid;
  place-items: center;
  background: rgba(1, 6, 8, 0.72);
  backdrop-filter: blur(10px);
}

.modal-card {
  width: min(460px, 100%);
  padding: 22px;
  position: relative;
  border: 1px solid rgba(93, 242, 189, 0.28);
  border-radius: 8px;
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.modal-card h2 {
  margin: 14px 0 10px;
  font-size: 2.35rem;
}

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

.modal-card label {
  margin: 18px 0 14px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-size: 1.3rem;
}

.timer-pill {
  display: inline-flex;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid rgba(255, 209, 102, 0.42);
  border-radius: 8px;
  color: var(--yellow);
  background: rgba(255, 209, 102, 0.1);
  font-size: 0.82rem;
  font-weight: 800;
}

.hidden,
.trap {
  display: none !important;
}

@media (max-width: 860px) {
  .app-shell {
    padding: 12px;
    place-items: stretch;
  }

  .hero-panel {
    min-height: calc(100vh - 24px);
    padding: 22px;
  }

  .choice-grid,
  .hosting-grid {
    grid-template-columns: 1fr;
  }

  .choice-card,
  .hosting-card {
    min-height: auto;
  }

  .niche-grid {
    grid-template-columns: repeat(2, 1fr);
    max-height: 54vh;
  }

  h1 {
    font-size: 5.4rem;
  }

  h2 {
    font-size: 2.7rem;
  }

  .lead {
    font-size: 1.05rem;
  }
}

@media (max-width: 460px) {
  .section-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  h1 {
    font-size: 4.1rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .modal-card h2 {
    font-size: 1.9rem;
  }

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