:root {
  --bg: #131317;
  --bg-soft: #1a1b20;
  --surface: #2e2e2e;
  --surface-alt: #202126;
  --surface-strong: #000000;
  --text: #ffffff;
  --muted: #c6c6d1;
  --line: #454553;
  --accent: #4ea0ff;
  --accent-alt: #06c698;
  --warning: #ffb546;
  --danger: #fb6262;
  --radius-xl: 24px;
  --radius-lg: 16px;
  --shadow-lg: 0 24px 72px rgba(0, 0, 0, 0.42);
  --shadow-md: 0 18px 36px rgba(0, 0, 0, 0.28);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI Variable", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(78, 160, 255, 0.14), transparent 26%),
    radial-gradient(circle at top right, rgba(6, 198, 152, 0.1), transparent 22%),
    linear-gradient(180deg, #15161b 0%, var(--bg) 44%, #101014 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(19, 19, 23, 0.9);
  border-bottom: 1px solid rgba(69, 69, 83, 0.9);
}

.site-header__inner,
.site-footer__inner,
.hero,
.section,
.legal-layout,
.ticket-layout {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-weight: 700;
}

.brand-mark {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  padding: 10px;
  border: 1px solid #5a5b6b;
  background: linear-gradient(180deg, #050505 0%, #16161c 100%);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 8px 20px rgba(0, 0, 0, 0.28);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.brand-text strong {
  display: block;
  font-size: 1.2rem;
}

.brand-text span {
  display: block;
  font-size: 0.86rem;
  color: #8f90a1;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.95rem;
  border: 1px solid transparent;
}

.site-nav a:hover,
.site-nav a.active {
  background: var(--surface-strong);
  color: var(--text);
  border-color: var(--line);
}

.hero {
  padding: 84px 0 42px;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(78, 160, 255, 0.28);
  background: rgba(78, 160, 255, 0.08);
  color: #8dc2ff;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-copy h1,
.pricing-header h1,
.legal-card h1,
.ticket-card h1 {
  margin: 18px 0 14px;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.hero-copy p,
.section-intro p,
.legal-card p,
.ticket-card p,
.pricing-card p,
.card p,
.support-card p,
.metric-card p {
  color: var(--muted);
  line-height: 1.72;
  font-size: 1.02rem;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button,
.button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 10px;
  font-weight: 700;
}

.button {
  color: #08121d;
  background: linear-gradient(180deg, #74b7ff 0%, var(--accent) 100%);
  box-shadow: 0 14px 30px rgba(78, 160, 255, 0.2);
  border: none;
  cursor: pointer;
}

.button-ghost {
  color: var(--text);
  border: 1px solid var(--line);
  background: var(--surface-strong);
}

.hero-notes {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-notes span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(46, 46, 46, 0.9);
  color: #d5deea;
  font-size: 0.92rem;
}

.hero-stack {
  position: relative;
  padding: 24px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, #212121 0%, #17181d 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

.panel-grid,
.mini-chart,
.panel-lines,
.activity-list,
.feature-grid,
.pricing-grid,
.support-grid,
.policy-grid,
.ticket-form {
  display: grid;
  gap: 16px;
}

.panel-card {
  padding: 18px;
  border-radius: 16px;
  color: #dbe4f2;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--line);
}

.panel-card small {
  display: block;
  margin-bottom: 10px;
  color: #8f90a1;
  text-transform: uppercase;
}

.panel-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.8rem;
}

.panel-note {
  margin: 0;
  color: #8f90a1;
  font-size: 0.92rem;
  line-height: 1.6;
}

.route-row,
.activity-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(69, 69, 83, 0.8);
}

.route-row span,
.activity-item span {
  color: #8f90a1;
  font-size: 0.9rem;
}

.route-row strong,
.activity-item strong {
  margin: 0;
  font-size: 0.96rem;
}

.mini-chart span {
  height: 10px;
  display: block;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.mini-chart span:nth-child(1) { width: 78%; }
.mini-chart span:nth-child(2) { width: 56%; }
.mini-chart span:nth-child(3) { width: 88%; background: rgba(78, 160, 255, 0.8); }

.section {
  padding: 42px 0;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 26px;
}

.section-intro h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.support-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pricing-grid.single {
  max-width: 620px;
  margin: 0 auto;
  grid-template-columns: 1fr;
}
.policy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card,
.pricing-card,
.support-card,
.ticket-card,
.legal-card,
.metric-card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.card,
.support-card,
.metric-card,
.pricing-card,
.legal-card,
.ticket-card {
  padding: 24px;
}

.metric-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.2fr 0.8fr;
}

.metric-card.dark {
  background: linear-gradient(180deg, #0c0c0f 0%, #16161b 100%);
}

.metric-number {
  display: block;
  margin-top: 16px;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  font-weight: 700;
}

.metric-list,
.pricing-list,
.legal-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.pricing-list li::before,
.legal-list li::before,
.metric-list li::before {
  content: "•";
  color: var(--accent-alt);
  margin-right: 8px;
}

.pricing-header,
.legal-layout,
.ticket-layout {
  padding: 44px 0 72px;
}

.pricing-card.highlight {
  background: linear-gradient(180deg, #303039 0%, #23242a 100%);
}

.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 14px 0 18px;
}

.price strong {
  font-size: 4rem;
  line-height: 1;
}

.price span,
.legal-meta,
.ticket-meta,
.muted,
.form-note {
  color: #a5a6b8;
}

.pricing-badge {
  display: inline-flex;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(6, 198, 152, 0.14);
  color: #7fe0c8;
  font-size: 0.8rem;
  font-weight: 700;
  align-items: center;
  margin-bottom: 16px;
}

.legal-card h2 {
  margin: 26px 0 10px;
  font-size: 1.3rem;
}

.ticket-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
}

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

.field label {
  font-size: 0.94rem;
  font-weight: 700;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #1c1c24;
  padding: 14px 16px;
  font: inherit;
  color: var(--text);
}

.field textarea {
  min-height: 148px;
  resize: vertical;
}

.status-box {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 16px;
  background: #1c1c24;
  border: 1px solid var(--line);
}

.status-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.status-row span:last-child {
  color: #7fe0c8;
  font-weight: 700;
}

.site-footer {
  margin-top: 36px;
  border-top: 1px solid var(--line);
  background: #111116;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 0 36px;
}

.footer-copy {
  max-width: 620px;
}

.footer-copy p,
.footer-links a {
  color: #a5a6b8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  align-items: center;
}

.footer-links a {
  padding: 0 14px;
  position: relative;
}

.footer-links a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 1px;
  height: 14px;
  background: var(--line);
  transform: translateY(-50%);
}

.footer-links a:last-child::after {
  display: none;
}

.callout {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 28px;
  background: linear-gradient(180deg, #09090c 0%, #181920 100%);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

.callout p {
  margin: 10px 0 0;
  color: #a5a6b8;
}

@media (max-width: 980px) {
  .hero,
  .metric-grid,
  .ticket-layout { grid-template-columns: 1fr; }
  .feature-grid,
  .support-grid,
  .policy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-header { position: static; }
}

@media (max-width: 640px) {
  .site-header__inner {
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }
  .site-nav { width: 100%; justify-content: flex-start; }
  .brand-mark {
    width: 56px;
    height: 56px;
    padding: 8px;
  }
  .brand-mark img {
    width: 100%;
    height: 100%;
  }
  .feature-grid,
  .support-grid,
  .policy-grid { grid-template-columns: 1fr; }
  .hero,
  .pricing-header,
  .section,
  .legal-layout,
  .ticket-layout { padding-top: 34px; }
  .footer-links a {
    padding: 0 10px;
  }
}
