:root {
  --bg: #101418;
  --bg-soft: #151b21;
  --surface: #1b232b;
  --surface-strong: #222d37;
  --text: #f4f7fb;
  --muted: #aeb9c6;
  --line: rgba(255, 255, 255, 0.1);
  --purple: #9b5cff;
  --purple-strong: #7f3dff;
  --teal: #4bd6c4;
  --gold: #e6bd68;
  --shadow: rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 70% 20%, rgba(155, 92, 255, 0.14), transparent 30rem),
    radial-gradient(circle at 22% 72%, rgba(75, 214, 196, 0.08), transparent 24rem),
    linear-gradient(135deg, #101418 0%, #11161b 48%, #17141d 100%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.36;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 82%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(16, 20, 24, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(155, 92, 255, 0.55);
  background: rgba(155, 92, 255, 0.12);
  color: var(--teal);
  font-family: Caveat, cursive;
  font-size: 28px;
  font-weight: 700;
  border-radius: 10px 14px 9px 16px;
  transform: rotate(-5deg);
}

.brand-name {
  font-family: Caveat, cursive;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}

.brand-tail {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
}

.nav a {
  padding: 9px 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
}

.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.header-action {
  justify-self: end;
  padding: 11px 16px;
  border: 1px solid rgba(75, 214, 196, 0.45);
  color: var(--teal);
  font-size: 14px;
  font-weight: 700;
  border-radius: 999px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
  gap: clamp(32px, 7vw, 88px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 72px) 44px;
}

.hero-copy {
  max-width: 850px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 930px;
  margin-bottom: 24px;
  font-size: clamp(46px, 8vw, 94px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 24px;
}

.hero-text,
.section-heading p,
.account-copy p {
  max-width: 690px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

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

.button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 20px;
  font-weight: 800;
  border-radius: 999px;
}

.button.primary {
  background: var(--purple);
  color: white;
  box-shadow: 0 18px 44px rgba(127, 61, 255, 0.25);
}

.button.secondary {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.product-visual {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(27, 35, 43, 0.72);
  box-shadow: 0 28px 90px var(--shadow);
}

.product-visual::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(120deg, rgba(155, 92, 255, 0.18), transparent 42%),
    linear-gradient(300deg, rgba(75, 214, 196, 0.12), transparent 46%);
  pointer-events: none;
}

.visual-top,
.visual-grid {
  position: relative;
}

.visual-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 7px rgba(75, 214, 196, 0.12);
}

.visual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.visual-card {
  min-height: 132px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 20, 24, 0.64);
}

.visual-card.wide {
  grid-column: span 2;
}

.visual-card strong {
  display: block;
  margin-top: 8px;
  font-size: 18px;
  line-height: 1.25;
}

.card-kicker {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.visual-card.teal {
  border-color: rgba(75, 214, 196, 0.28);
}

.visual-card.purple {
  border-color: rgba(155, 92, 255, 0.34);
}

.meter {
  height: 8px;
  margin-top: 24px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
}

.meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--purple), var(--teal));
}

.mini-row {
  display: grid;
  grid-template-columns: 1.2fr 0.75fr 0.55fr;
  gap: 8px;
  margin-top: 24px;
}

.mini-row span {
  height: 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.16);
}

.section {
  padding: 88px clamp(20px, 5vw, 72px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -8px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.project-card {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(27, 35, 43, 0.76);
}

.project-card.active {
  background:
    linear-gradient(135deg, rgba(155, 92, 255, 0.2), rgba(27, 35, 43, 0.76) 52%),
    rgba(27, 35, 43, 0.76);
}

.project-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 60px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.project-card p {
  color: var(--muted);
  line-height: 1.65;
}

.project-card a {
  width: max-content;
  color: var(--teal);
  font-weight: 800;
}

.platform-band {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(300px, 1fr);
  gap: 38px;
  align-items: start;
  padding: 86px clamp(20px, 5vw, 72px);
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.platform-list {
  display: grid;
  gap: 14px;
}

.platform-list div {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.platform-list span {
  color: var(--purple);
  font-weight: 900;
}

.platform-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.account-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 430px);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.account-panel {
  padding: 18px;
  border: 1px solid rgba(75, 214, 196, 0.22);
  border-radius: 8px;
  background: rgba(27, 35, 43, 0.78);
  box-shadow: 0 28px 90px var(--shadow);
}

.panel-head {
  display: flex;
  gap: 8px;
  padding-bottom: 18px;
}

.panel-head span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.profile-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: 8px;
  background: rgba(16, 20, 24, 0.72);
}

.avatar {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px 12px 18px 11px;
  background: rgba(155, 92, 255, 0.18);
  color: var(--teal);
  font-family: Caveat, cursive;
  font-size: 34px;
  font-weight: 700;
}

.profile-row strong,
.profile-row span {
  display: block;
}

.profile-row span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.panel-item {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
}

.panel-item:last-child {
  border-bottom: 0;
}

.panel-item span {
  color: var(--muted);
}

.panel-item strong {
  color: var(--text);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 34px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer .brand-name {
  color: var(--text);
}

.footer p {
  margin-bottom: 0;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero,
  .section-heading,
  .platform-band,
  .account-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

@media (max-width: 640px) {
  .site-header {
    min-height: 68px;
    padding-inline: 16px;
  }

  .brand-tail,
  .header-action {
    display: none;
  }

  .hero {
    padding: 48px 16px 28px;
  }

  .section,
  .platform-band {
    padding: 62px 16px;
  }

  h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .hero-text,
  .section-heading p,
  .account-copy p,
  .platform-list p {
    font-size: 16px;
  }

  .product-visual {
    padding: 12px;
  }

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

  .visual-card.wide {
    grid-column: auto;
  }

  .project-card {
    min-height: 260px;
  }

  .footer {
    display: block;
  }
}
