:root {
  color-scheme: light;
  --ink: #0b0f1a;
  --muted: #667085;
  --border: rgba(255, 255, 255, 0.38);
  --glass: rgba(255, 255, 255, 0.7);
  --glass-strong: rgba(255, 255, 255, 0.85);
  --accent: #111827;
  --accent-soft: rgba(17, 24, 39, 0.08);
  --shadow: 0 32px 70px rgba(15, 23, 42, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Sora", sans-serif;
  background: #f5f6fb;
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
}

.orb {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  z-index: -2;
}

.orb-1 {
  background: #d6d9ff;
  top: -120px;
  left: -120px;
}

.orb-2 {
  background: #f2ddd1;
  top: 120px;
  right: -160px;
}

.orb-3 {
  background: #d9f1ef;
  bottom: -140px;
  left: 20%;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
  z-index: -1;
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
}

.brand-name {
  letter-spacing: -0.02em;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px 80px;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
  padding: 30px 0 80px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
}

h1 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  margin: 0 0 18px;
}

h1 span {
  display: block;
  color: #434a63;
  font-weight: 400;
  margin-top: 8px;
}

.lead {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}

.hero-glass {
  display: flex;
  justify-content: center;
}

.glass-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 24px;
  min-width: 300px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.glass-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  font-weight: 600;
}

.status-pill {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  background: var(--accent-soft);
}

.queue-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.queue-row:last-child {
  border-bottom: none;
}

.queue-name {
  font-weight: 600;
}

.queue-meta {
  color: var(--muted);
  font-size: 13px;
}

.queue-number {
  font-weight: 700;
}

.glass-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  margin-top: 18px;
}

.section-title {
  margin-bottom: 28px;
}

.section-title h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 32px);
}

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

.features {
  margin-bottom: 80px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.feature-card {
  background: var(--glass-strong);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px;
  backdrop-filter: blur(18px);
}

.feature-card h3 {
  margin: 0 0 10px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.pricing {
  margin-bottom: 80px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.price-card {
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 24px;
  background: var(--glass-strong);
  backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.price-card.featured {
  background: #111827;
  color: white;
}

.price-card.featured p,
.price-card.featured li,
.price-card.featured span {
  color: rgba(255, 255, 255, 0.72);
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.price-value {
  font-size: 32px;
  font-weight: 600;
}

.price-value span {
  font-size: 14px;
  color: var(--muted);
}

.pricing-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
}

.start {
  margin-bottom: 90px;
}

.checkout-status {
  background: #111827;
  color: white;
  border-radius: 18px;
  padding: 16px 20px;
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--shadow);
}

.checkout-status.is-hidden {
  display: none;
}

.checkout-status p {
  margin: 0;
  font-size: 14px;
}

.checkout-status .btn {
  padding: 10px 16px;
  font-size: 13px;
}

.start-gate {
  margin-bottom: 20px;
}

.start-gate-card {
  background: var(--glass-strong);
  border-radius: 24px;
  border: 1px solid var(--border);
  padding: 24px;
  backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.start-gate-card h3 {
  margin: 0;
  font-size: 18px;
}

.start-gate-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.start-form {
  background: var(--glass-strong);
  border-radius: 24px;
  border: 1px solid var(--border);
  padding: 28px;
  backdrop-filter: blur(18px);
}

.start-form.is-hidden {
  display: none;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

label {
  font-size: 13px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

input,
select {
  border-radius: 14px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  padding: 12px 14px;
  font-size: 14px;
  font-family: inherit;
}

.subdomain-input {
  display: flex;
  align-items: center;
  border-radius: 14px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  overflow: hidden;
  background: white;
}

.subdomain-input input {
  border: none;
  flex: 1;
  padding: 12px 14px;
}

.subdomain-input span {
  padding: 10px 14px;
  background: #f2f4f8;
  font-size: 13px;
  color: var(--muted);
}

.subdomain-field small {
  color: var(--muted);
  font-weight: 400;
}

.subdomain-status {
  font-size: 12px;
  margin-top: 6px;
}

.subdomain-status.is-ok {
  color: #0f766e;
}

.subdomain-status.is-bad {
  color: #b91c1c;
}

.subdomain-status.is-warn {
  color: #92400e;
}

.plan-preview {
  grid-column: 1 / -1;
  gap: 12px;
}

.plan-chip {
  background: #111827;
  color: white;
  padding: 10px 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  width: fit-content;
}

.plan-change {
  width: fit-content;
}

.form-footnote {
  color: var(--muted);
  font-size: 13px;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 12px 20px;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  background: var(--glass);
}

.btn.primary {
  background: #111827;
  color: white;
}

.btn.outline {
  border: 1px solid rgba(17, 24, 39, 0.2);
  background: transparent;
}

.btn.ghost {
  background: transparent;
  border: 1px solid rgba(17, 24, 39, 0.15);
}

.btn.tiny {
  padding: 8px 12px;
  font-size: 12px;
}

.btn.wide {
  width: 100%;
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.footer {
  padding: 32px 28px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
}

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

  .hero {
    padding-top: 12px;
  }

  .glass-card {
    width: 100%;
  }

  .footer {
    flex-direction: column;
    gap: 10px;
  }
}
