:root {
  --bg: #040b1e;
  --bg-soft: #07142d;
  --panel: #0b1933;
  --panel-strong: #102442;
  --text: #f7fbff;
  --muted: #b5c4d8;
  --line: rgba(143, 176, 216, 0.24);
  --cyan: #13d8f3;
  --blue: #258cff;
  --purple: #b85cff;
  --mint: #36e4ad;
  --amber: #ffb84c;
  --shadow: rgba(0, 0, 0, 0.35);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 85% 10%, rgba(37, 140, 255, 0.18), transparent 30rem),
    radial-gradient(circle at 10% 20%, rgba(184, 92, 255, 0.12), transparent 24rem),
    var(--bg);
  color: var(--text);
  line-height: 1.5;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(4, 11, 30, 0.86);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.brand img {
  width: clamp(9.5rem, 15vw, 13rem);
  height: auto;
  filter: brightness(0) invert(1) drop-shadow(0 8px 22px rgba(19, 216, 243, 0.24));
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a {
  transition: color 160ms ease;
}

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

.header-action,
.button {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
}

.header-action {
  padding: 0 1.2rem;
  background: linear-gradient(100deg, var(--cyan), var(--purple));
  color: #031023;
  box-shadow: 0 12px 32px rgba(19, 216, 243, 0.18);
}

.menu-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.menu-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
}

.hero {
  position: relative;
  min-height: 84vh;
  display: grid;
  align-items: center;
  padding: 7.5rem clamp(1rem, 5vw, 5rem) 4rem;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 11, 30, 0.995) 0%, rgba(4, 11, 30, 0.93) 48%, rgba(4, 11, 30, 0.34) 100%),
    radial-gradient(circle at 28% 40%, rgba(19, 216, 243, 0.13), transparent 22rem);
  z-index: 1;
}

.hero-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 42%;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  opacity: 0.68;
  transform: scale(1.8);
  transform-origin: right center;
}

.hero-content,
.hero-status {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 48rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: 7rem;
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: 3.7rem;
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.65rem;
  line-height: 1.15;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 42rem;
  margin: 1.4rem 0 0;
  color: #dce8f7;
  font-size: 1.22rem;
}

.hero-actions,
.case-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  padding: 0 1.35rem;
  border: 1px solid transparent;
}

.button.primary {
  background: linear-gradient(100deg, var(--cyan), var(--purple));
  color: #031023;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.hero-status {
  width: min(100%, 32rem);
  margin-top: 4rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  color: var(--muted);
}

.hero-status strong {
  color: var(--text);
}

.intro-band,
.users-section,
.market-section,
.cta-section {
  padding: clamp(4rem, 8vw, 7.5rem) clamp(1rem, 5vw, 5rem);
}

.section-heading {
  max-width: 60rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.intro-grid article {
  min-height: 16rem;
  padding: clamp(1.4rem, 2.6vw, 2.4rem);
  background: rgba(7, 20, 45, 0.86);
}

.intro-grid p,
.platform-copy > p,
.case-copy p,
.market-copy p,
.cta-section p,
.panel-copy p,
.feature-list p {
  color: var(--muted);
}

.platform-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(22rem, 0.75fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(4rem, 8vw, 7.5rem) clamp(1rem, 5vw, 5rem);
  background:
    linear-gradient(135deg, rgba(8, 24, 53, 0.95), rgba(4, 11, 30, 0.95)),
    var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.platform-copy > p {
  max-width: 44rem;
  font-size: 1.08rem;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.feature-list div {
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.feature-list strong {
  display: block;
  margin-top: 0.8rem;
  font-size: 1.02rem;
}

.feature-list p {
  margin-bottom: 0;
  font-size: 0.94rem;
}

.feature-icon {
  display: inline-block;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  position: relative;
}

.ticket-icon::before,
.calendar-icon::before,
.chart-icon::before {
  content: "";
  position: absolute;
  inset: 0.62rem;
  border: 2px solid #041126;
  border-radius: 4px;
}

.calendar-icon::after {
  content: "";
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  top: 1rem;
  height: 2px;
  background: #041126;
}

.chart-icon::before {
  border-top: 0;
  border-right: 0;
}

.platform-visual {
  margin: 0;
}

.platform-visual img,
.case-media img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 28px 70px var(--shadow);
}

.users-section {
  background:
    radial-gradient(circle at 80% 20%, rgba(54, 228, 173, 0.1), transparent 24rem),
    var(--bg);
}

.user-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.user-tab {
  min-height: 2.65rem;
  padding: 0 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
}

.user-tab.active {
  background: var(--text);
  color: #07142d;
}

.user-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.55fr);
  gap: 1.5rem;
  align-items: stretch;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(16, 36, 66, 0.92), rgba(7, 20, 45, 0.72));
}

.panel-kicker {
  color: var(--mint);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0;
}

.panel-points {
  display: grid;
  gap: 0.75rem;
  align-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.panel-points li {
  padding: 1rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.case-section {
  display: grid;
  grid-template-columns: minmax(16rem, 0.62fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(4rem, 8vw, 7.5rem) clamp(1rem, 5vw, 5rem);
  background: #061124;
}

.case-media {
  margin: 0;
}

.market-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.72fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.metrics-grid div {
  min-height: 9rem;
  padding: 1.5rem;
  background: rgba(7, 20, 45, 0.88);
}

.metrics-grid strong {
  display: block;
  font-size: 3.35rem;
  line-height: 1;
  color: var(--cyan);
}

.metrics-grid span {
  color: var(--muted);
}

.cta-section {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  background:
    linear-gradient(120deg, rgba(19, 216, 243, 0.14), rgba(184, 92, 255, 0.16)),
    #07142d;
}

.cta-section > div:first-child {
  max-width: 54rem;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem clamp(1rem, 5vw, 5rem);
  color: var(--muted);
}

.site-footer img {
  width: 10rem;
  filter: brightness(0) invert(1);
}

.site-footer div {
  display: flex;
  gap: 1rem;
  color: var(--text);
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-nav,
  .header-action {
    display: none;
  }

  .site-nav.is-open {
    position: fixed;
    inset: 4.8rem 1rem auto;
    display: grid;
    gap: 0;
    padding: 0.75rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(4, 11, 30, 0.96);
    backdrop-filter: blur(18px);
  }

  .site-nav.is-open a {
    padding: 1rem;
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open a:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: 84vh;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(4, 11, 30, 0.98) 0%, rgba(4, 11, 30, 0.9) 58%, rgba(4, 11, 30, 0.54) 100%),
      radial-gradient(circle at 28% 40%, rgba(19, 216, 243, 0.12), transparent 18rem);
  }

  .hero-media img {
    object-position: center bottom;
  }

  .hero-media {
    left: 0;
    opacity: 0.82;
  }

  .intro-grid,
  .feature-list,
  .platform-section,
  .user-panel,
  .case-section,
  .market-section,
  .cta-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .cta-section {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 4.2rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  h3 {
    font-size: 1.35rem;
  }

  .hero-copy {
    font-size: 1.05rem;
  }

  .hero {
    min-height: 86vh;
    padding-top: 6.5rem;
  }

  .hero-actions,
  .case-actions,
  .cta-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

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

  .site-footer div {
    flex-wrap: wrap;
  }
}
