:root {
  --bg: #0b1020;
  --bg-2: #11182b;
  --panel: #121b31;
  --panel-2: #18233d;
  --text: #eef2ff;
  --muted: #a7b3cf;
  --line: rgba(255,255,255,0.10);
  --primary: #6d7cff;
  --primary-2: #8b5cf6;
  --accent: #37d2c4;
  --accent-2: #93c5fd;
  --danger: #ff8d8d;
  --warning: #f7c86b;
  --success: #7be3ac;
  --shadow: 0 18px 60px rgba(0,0,0,0.28);
  --shadow-soft: 0 10px 28px rgba(0,0,0,0.18);
  --radius: 18px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(109, 124, 255, 0.18), transparent 30%),
    radial-gradient(circle at top right, rgba(55, 210, 196, 0.10), transparent 28%),
    linear-gradient(180deg, #09101e 0%, #0f1628 100%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button,
input,
textarea,
select { font: inherit; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(9, 16, 30, 0.74);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.site-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.96rem;
  transition: color 0.18s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
}

.page-shell { padding: 34px 0 72px; }
.hero-card,
.section-card,
.card,
.surface-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero-card { padding: 54px; }
.page-hero,
.hero-home { padding-top: 34px; }

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: #9db3ff;
  font-weight: 800;
}

h1, h2, h3 { margin-top: 0; }
h1 { font-size: clamp(2rem, 5vw, 4rem); line-height: 1.03; margin-bottom: 16px; }
h2 { font-size: clamp(1.35rem, 3vw, 2.2rem); margin-bottom: 12px; }
h3 { font-size: 1.08rem; margin-bottom: 10px; }

p, li {
  color: var(--muted);
  line-height: 1.72;
}

.lead {
  font-size: 1.08rem;
  max-width: 760px;
}

.small { font-size: 0.92rem; color: var(--muted); }

.kicker-row,
.cta-row,
.button-row,
.pill-row,
.hero-badges,
.inline-actions,
.inline-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: 0.18s ease;
  cursor: pointer;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: white;
}

.btn:hover { transform: translateY(-1px); }
.btn.secondary {
  background: rgba(255,255,255,0.03);
  border-color: var(--line);
  color: var(--text);
}
.btn.ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--muted);
}

.badge,
.pill,
.plan-tag,
.inline-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(109,124,255,0.10);
  color: #d8e1ff;
  border: 1px solid rgba(109,124,255,0.18);
  font-size: 0.9rem;
}

.grid-2,
.grid-3,
.grid-4,
.grid,
.info-grid,
.legal-grid,
.auth-grid,
.status-grid {
  display: grid;
  gap: 18px;
}
.grid-2,
.auth-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3,
.grid,
.info-grid,
.legal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4,
.status-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card,
.surface-card { padding: 24px; }

.metric,
.info-tile,
.status-tile {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
}

.metric strong,
.info-tile strong,
.status-tile strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 6px;
  color: white;
}

.section { padding: 22px 0; }
.section-head { margin-bottom: 16px; }
.center { text-align: center; }
.center-copy { margin-inline: auto; }

.notice {
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(55,210,196,0.10);
  border: 1px solid rgba(55,210,196,0.18);
  color: #dffaf6;
}
.notice.warn {
  background: rgba(255,141,141,0.08);
  border-color: rgba(255,141,141,0.20);
  color: #ffdede;
}
.notice.info {
  background: rgba(109,124,255,0.10);
  border-color: rgba(109,124,255,0.20);
  color: #dbe5ff;
}

.list-clean {
  list-style: none;
  padding: 0;
  margin: 0;
}
.list-clean li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.list-clean li:last-child { border-bottom: 0; }

.footer {
  padding: 28px 0 60px;
  border-top: 1px solid var(--line);
  margin-top: 40px;
}
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-split,
.page-split,
.split-feature {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: stretch;
}
.visual-box,
.side-surface {
  min-height: 100%;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(109,124,255,0.12), rgba(55,210,196,0.05));
}
.mock-stack,
.card-stack,
.feature-stack {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}
.mock-card,
.stack-card {
  padding: 14px;
  border-radius: 16px;
  background: rgba(11,16,32,0.45);
  border: 1px solid rgba(255,255,255,0.08);
}
.mock-card-accent,
.stack-card-accent {
  background: linear-gradient(180deg, rgba(109,124,255,0.18), rgba(139,92,246,0.10));
  border-color: rgba(109,124,255,0.20);
}

.timeline { display: grid; gap: 14px; }
.timeline-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
}
.timeline-num {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 900;
  background: rgba(109,124,255,0.14);
  color: white;
  border: 1px solid rgba(109,124,255,0.22);
}

.account-shell,
.confirm-shell,
.narrow-shell {
  max-width: 920px;
  margin: 0 auto;
}

.form-card { padding: 24px; }
.field { margin-bottom: 14px; }
.label,
.form-label {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-weight: 700;
}
.input,
.textarea,
.select,
.input-shell input,
.input-shell textarea,
.input-shell select {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  color: var(--text);
  border-radius: 14px;
  padding: 14px;
  font: inherit;
}
.input:focus,
.textarea:focus,
.select:focus,
.input-shell input:focus,
.input-shell textarea:focus,
.input-shell select:focus {
  outline: 2px solid rgba(109,124,255,0.35);
  outline-offset: 1px;
}
.textarea { min-height: 150px; resize: vertical; }
.input-shell {
  display: grid;
  gap: 8px;
}
.auth-form,
.form-stack {
  display: grid;
  gap: 12px;
}
.auth-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.auth-note,
.form-note { margin: 0; }
.account-row,
.detail-stack { display: grid; gap: 8px; }
.auth-card,
.confirm-card { padding: 24px; }

.status-banner,
.info-banner {
  display: grid;
  gap: 8px;
  padding: 20px 22px;
  border-radius: 20px;
  border: 1px solid rgba(109,124,255,0.20);
  background: linear-gradient(180deg, rgba(109,124,255,0.12), rgba(139,92,246,0.08));
}
.status-banner strong,
.info-banner strong {
  color: white;
  font-size: 1rem;
}

.legal-card h3,
.info-card h3 { margin-bottom: 8px; }
.page-callout {
  margin-top: 18px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.price-card,
.plan-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.plan-card.featured,
.price-card.featured {
  border-color: rgba(109,124,255,0.34);
  box-shadow: 0 18px 60px rgba(109,124,255,0.18);
}
.plan-badge,
.ribbon {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(109,124,255,0.12);
  color: #dce4ff;
  border: 1px solid rgba(109,124,255,0.20);
  font-size: 0.78rem;
  font-weight: 800;
}
.plan-top {
  padding-right: 90px;
}
.plan-label {
  margin: 0 0 10px;
  color: #cfd8f8;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
}
.price-card h2,
.plan-top h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  color: white;
}
.price-card h2 span,
.plan-top h2 span {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 700;
}
.plan-sub { margin-top: 10px; }
.plan-list,
.feature-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}
.plan-list li,
.feature-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.plan-list li:last-child,
.feature-list li:last-child { border-bottom: 0; }
.plan-actions { margin-top: 22px; }
.notes-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

.brand-divider {
  height: 1px;
  background: var(--line);
}

@media (max-width: 980px) {
  .grid-4,
  .status-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3,
  .grid,
  .grid-2,
  .hero-split,
  .page-split,
  .split-feature,
  .auth-grid,
  .pricing-grid,
  .notes-grid,
  .info-grid,
  .legal-grid { grid-template-columns: 1fr; }
  .hero-card { padding: 34px 24px; }
}

@media (max-width: 640px) {
  .site-header .wrap {
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .page-shell { padding-bottom: 44px; }
  .grid-4,
  .status-grid { grid-template-columns: 1fr; }
  .site-nav { gap: 12px; }
  .wrap { width: min(calc(100% - 24px), var(--max)); }
}
