:root {
  --bg: #07080f;
  --bg-gradient: radial-gradient(circle at 12% 10%, rgba(123, 97, 255, 0.24), transparent 40%),
    linear-gradient(135deg, #07080f 0%, #090b16 45%, #0a0d1f 100%);
  --panel: #111426;
  --panel-soft: rgba(17, 20, 38, 0.8);
  --line: #2a3353;
  --text: #eff2ff;
  --muted: #97a1bd;
  --accent: #8f7bff;
  --accent-2: #36d4ff;
  --ok: #4ddc86;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  font-family: Inter, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh;
  color: var(--text);
  background: var(--bg-gradient);
  position: relative;
  overflow-x: hidden;
}

.aurora-bg {
  position: fixed;
  inset: -10% 0 auto;
  height: 60vh;
  background: radial-gradient(circle at 20% 20%, rgba(77, 220, 134, 0.2), transparent 35%),
    radial-gradient(circle at 80% 0%, rgba(54, 212, 255, 0.16), transparent 34%);
  pointer-events: none;
  z-index: -1;
}

.hero-shell {
  position: relative;
  isolation: isolate;
  padding: 28px clamp(20px, 6vw, 58px) 52px;
  min-height: 680px;
}

.hero-shell::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 74px;
  right: -3vw;
  width: min(64vw, 1040px);
  height: 590px;
  background: url("assets/screenshots/graph.png") top right / contain no-repeat;
  opacity: 0.27;
  filter: saturate(0.8) contrast(0.92);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.72) 28%, #000 58%),
    linear-gradient(180deg, #000 70%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.72) 28%, #000 58%),
    linear-gradient(180deg, #000 70%, transparent 100%);
  mask-composite: intersect;
  pointer-events: none;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.brand img {
  width: 225px;
  height: auto;
}

.top-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.top-nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}
.top-nav-links a:hover {
  color: var(--accent-2);
}

.hero-content {
  margin-top: 68px;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.75rem;
}

.hero-eyebrow {
  color: var(--muted);
}

.hero-eyebrow .initial {
  color: var(--accent-2);
  font-size: calc(1em + 1pt);
}

.hero-content h1 {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.05;
  max-width: 14ch;
}

.hero-product-name {
  display: block;
  color: var(--text);
  font-size: clamp(3rem, 6vw, 5.3rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.94;
}

.hero-product-name span:last-child {
  color: var(--accent-2);
}

.hero-byline {
  display: block;
  color: #aaa0ff;
  font-size: 0.75em;
  letter-spacing: -0.02em;
}
.hero-content p {
  color: var(--muted);
  max-width: 72ch;
  line-height: 1.6;
  font-size: 1.05rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  padding: 12px 16px;
  text-decoration: none;
  font-weight: 700;
}

.btn-primary {
  background: linear-gradient(130deg, rgba(54, 212, 255, 0.24), rgba(143, 123, 255, 0.24));
  border: 1px solid rgba(54, 212, 255, 0.4);
  color: #dff8ff;
}

.btn-secondary {
  color: var(--accent-2);
  border: 1px solid #2a3b5e;
  background: #0b1228;
}

.hero-note {
  margin-top: 20px;
  color: #8b98b6;
}

main {
  padding: 0 clamp(20px, 6vw, 58px) 38px;
}

.section {
  margin: 24px auto 0;
  padding: 24px;
  background: rgba(16, 20, 38, 0.86);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.36);
  max-width: 1200px;
}

.section-soft {
  background: rgba(14, 20, 40, 0.7);
}

.section-head {
  margin-bottom: 16px;
}
.section-head h2 {
  margin: 4px 0 0;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
}

.card-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(270px, 1fr));
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-color: var(--accent-2) rgba(7, 8, 15, 0.55);
}

.feature-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  border: 1px solid #2b375d;
  border-radius: 11px;
  padding: 14px;
  background: #0f152b;
}

.feature-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.feature-card p,
.feature-card li {
  color: var(--muted);
  line-height: 1.55;
}

.feature-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: top center;
  border-radius: 10px;
  margin-top: 12px;
  border: 1px solid #273457;
  display: block;
}

.screenshot-trigger {
  width: 100%;
  margin-top: 12px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
}

.screenshot-trigger img {
  margin-top: 0;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.screenshot-trigger:hover img,
.screenshot-trigger:focus-visible img {
  border-color: rgba(54, 212, 255, 0.75);
  box-shadow: 0 0 24px rgba(54, 212, 255, 0.18);
  transform: translateY(-2px);
}

.screenshot-trigger:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 4px;
}

.dual-block {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.dual-block ul {
  padding-left: 18px;
  margin: 0;
  color: var(--muted);
  display: grid;
  gap: 10px;
}

.stats-row {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.stat-card {
  padding: 14px;
  border: 1px solid #2a3b5e;
  border-radius: 10px;
  background: #0a1228;
}

.stat-card h3 {
  margin: 8px 0 0;
}

.stat-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer {
  max-width: 1200px;
  margin: 20px auto 40px;
  padding: 22px clamp(20px, 6vw, 58px);
  border-top: 1px solid #273458;
  display: grid;
  gap: 8px;
  justify-items: start;
}

.footer small {
  color: var(--muted);
}

.site-url {
  color: var(--accent-2);
  text-decoration: none;
  letter-spacing: 0.04em;
}

.site-url:hover {
  text-decoration: underline;
}

.footer img {
  width: 30px;
  height: 30px;
  margin-top: 6px;
}

.image-lightbox {
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

.image-lightbox::backdrop {
  background: rgba(3, 5, 13, 0.82);
  backdrop-filter: blur(12px) saturate(0.8);
}

.lightbox-glass {
  position: relative;
  padding: 12px;
  border: 1px solid rgba(143, 227, 247, 0.58);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(21, 34, 54, 0.72), rgba(8, 12, 27, 0.62));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 36px rgba(54, 212, 255, 0.13);
  backdrop-filter: blur(22px) saturate(1.25);
}

.lightbox-glass img {
  display: block;
  width: auto;
  max-width: min(90vw, 1600px);
  max-height: 82vh;
  border: 1px solid rgba(54, 212, 255, 0.25);
  border-radius: 11px;
  cursor: zoom-out;
}

.lightbox-glass p {
  margin: 9px 4px 0;
  color: var(--muted);
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lightbox-close {
  position: absolute;
  z-index: 2;
  top: -16px;
  right: -16px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(143, 227, 247, 0.6);
  border-radius: 50%;
  background: rgba(10, 18, 40, 0.88);
  color: var(--text);
  font: inherit;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  color: var(--accent-2);
  border-color: var(--accent-2);
}

@media (max-width: 740px) {
  .top-nav-links {
    gap: 10px;
    justify-content: flex-end;
  }
  .hero-shell {
    padding-top: 20px;
    min-height: 650px;
  }
  .hero-shell::before {
    top: 105px;
    right: -34%;
    width: 120vw;
    opacity: 0.18;
  }
  .section { padding: 16px; }
  .brand img { width: 188px; }
  .hero-content { margin-top: 78px; }
  .card-grid { grid-template-columns: repeat(4, minmax(250px, 82vw)); }
}
