:root {
  color-scheme: dark;
  --bg: #071018;
  --panel: #0e1b25;
  --panel-2: #10251d;
  --line: rgba(196, 231, 246, 0.16);
  --text: #f6fbff;
  --muted: #aab8c2;
  --cyan: #71dcff;
  --green: #89f0bd;
  --gold: #ffd27a;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 16% -10%, rgba(113, 220, 255, 0.22), transparent 32rem),
    radial-gradient(circle at 86% 8%, rgba(137, 240, 189, 0.16), transparent 30rem),
    linear-gradient(180deg, #071018 0%, #09141d 42%, #071018 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

.wrap {
  width: min(1120px, calc(100vw - 40px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 16, 24, 0.82);
  backdrop-filter: blur(18px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  box-shadow: 0 12px 34px rgba(113, 220, 255, 0.22);
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-weight: 750;
}

.button.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  color: #061018;
}

.hero {
  padding: 84px 0 54px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(340px, 0.82fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  color: var(--green);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: clamp(48px, 7vw, 86px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.lead {
  max-width: 680px;
  color: #c9d6de;
  font-size: 19px;
}

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

.showcase,
.portfolio-board,
.product-shot {
  position: relative;
  min-height: 440px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, black, transparent 78%);
}

.portfolio-board {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.preview-panel {
  display: grid;
  gap: 14px;
  min-height: 0;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(5, 17, 24, 0.78);
  overflow: hidden;
}

.preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--text);
  font-weight: 800;
}

.preview-panel img {
  width: 100%;
  height: 150px;
  border-radius: 8px;
  object-fit: cover;
  object-position: top center;
  border: 1px solid rgba(255,255,255,.1);
}

.money-preview {
  background: rgba(5, 23, 15, 0.78);
}

.finance-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.finance-mini > div {
  min-height: 76px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.055);
}

.finance-mini span,
.card-dashboard span,
.shot-overlay span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.finance-mini strong,
.card-dashboard strong,
.shot-overlay strong {
  display: block;
  margin-top: 6px;
  color: var(--text);
  font-size: 20px;
}

.mini-chart {
  grid-column: 1 / -1;
  display: flex;
  align-items: end;
  gap: 10px;
}

.mini-chart i {
  flex: 1;
  display: block;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, var(--green), rgba(137,240,189,.18));
}

.mini-chart i:nth-child(1) { height: 34px; }
.mini-chart i:nth-child(2) { height: 56px; }
.mini-chart i:nth-child(3) { height: 42px; }
.mini-chart i:nth-child(4) { height: 68px; }

.device-card {
  position: absolute;
  left: 28px;
  right: 28px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: rgba(6, 14, 20, 0.9);
  box-shadow: 0 22px 60px rgba(0,0,0,.38);
  backdrop-filter: blur(12px);
}

.device-card.media {
  top: 42px;
  padding: 18px;
}

.device-card.money {
  bottom: 38px;
  padding: 18px;
}

.mini-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.app-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-kicker h3 {
  margin-bottom: 0;
}

.product-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(255,255,255,.06);
}

.media-dot {
  background: var(--cyan);
}

.money-dot {
  background: var(--green);
}

.app-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #c8d6de;
  font-size: 12px;
  font-weight: 750;
}

.media-bars, .money-bars {
  display: grid;
  gap: 8px;
}

.media-bars span, .money-bars span {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
}

.media-bars span:nth-child(1) { width: 92%; background: linear-gradient(90deg, var(--cyan), rgba(113,220,255,.12)); }
.media-bars span:nth-child(2) { width: 74%; }
.media-bars span:nth-child(3) { width: 84%; }
.money-bars span:nth-child(1) { width: 82%; background: linear-gradient(90deg, var(--green), rgba(137,240,189,.12)); }
.money-bars span:nth-child(2) { width: 66%; }
.money-bars span:nth-child(3) { width: 90%; }

.section {
  padding: 70px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-bottom: 26px;
}

.section-head p {
  max-width: 520px;
  color: var(--muted);
}

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

.app-card, .feature-card, .panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
}

.app-card {
  display: grid;
  min-height: 360px;
  padding: 28px;
  overflow: hidden;
  position: relative;
}

.app-card.moneytone { background: linear-gradient(145deg, rgba(18, 58, 43, 0.78), rgba(255,255,255,.045)); }
.app-card.fluxtone { background: linear-gradient(145deg, rgba(17, 54, 72, 0.78), rgba(255,255,255,.045)); }

.app-card p {
  color: #c9d5dc;
}

.card-actions {
  align-self: end;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.card-dashboard {
  margin: 20px 0;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(0,0,0,.16);
}

.card-dashboard div {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.card-dashboard i {
  display: block;
  height: 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
}

.media-dashboard i:nth-child(1) { width: 88%; background: linear-gradient(90deg, var(--cyan), rgba(113,220,255,.14)); }
.media-dashboard i:nth-child(2) { width: 70%; }
.media-dashboard i:nth-child(3) { width: 78%; }
.money-dashboard i:nth-child(1) { width: 80%; background: linear-gradient(90deg, var(--green), rgba(137,240,189,.14)); }
.money-dashboard i:nth-child(2) { width: 62%; }
.money-dashboard i:nth-child(3) { width: 90%; }

.product-shot {
  min-height: 440px;
  padding: 18px;
}

.product-shot img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border-radius: 8px;
  object-fit: cover;
  object-position: top center;
  border: 1px solid rgba(255,255,255,.12);
}

.shot-overlay {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 34px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: rgba(5, 14, 20, .82);
  backdrop-filter: blur(16px);
}

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

.feature-card {
  padding: 22px;
}

.feature-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.split-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 18px;
  align-items: stretch;
}

.panel {
  padding: 28px;
}

.list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.list li {
  padding-left: 24px;
  position: relative;
  color: #c9d5dc;
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.footer {
  padding: 42px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.legal-page {
  padding: 70px 0;
}

.legal-page .panel {
  max-width: 900px;
}

.legal-page p, .legal-page li {
  color: #c9d5dc;
}

@media (max-width: 880px) {
  .hero-grid,
  .app-grid,
  .feature-grid,
  .split-band {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

  .showcase {
    min-height: 380px;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 28px, 1120px);
  }

  .nav-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 54px;
  }
}
