:root {
  color-scheme: dark;
  --bg: #050b16;
  --bg-alt: #081223;
  --surface: rgba(9, 18, 35, 0.78);
  --surface-strong: rgba(12, 24, 46, 0.92);
  --surface-soft: rgba(16, 31, 58, 0.66);
  --text: #f5f8ff;
  --muted: #93a6c3;
  --line: rgba(140, 179, 230, 0.16);
  --line-strong: rgba(140, 179, 230, 0.28);
  --accent: #84d8ff;
  --accent-soft: #d5f5ff;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  --glow: 0 0 0 1px rgba(132, 216, 255, 0.06), 0 24px 60px rgba(28, 80, 148, 0.18);
  --radius-xxl: 34px;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --content: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 12%, rgba(70, 130, 202, 0.18), transparent 26%),
    radial-gradient(circle at 82% 14%, rgba(132, 216, 255, 0.14), transparent 22%),
    linear-gradient(180deg, #07101f 0%, #050b16 54%, #040812 100%);
}

.noise-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 92%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(90px);
  z-index: 0;
}

body::before {
  top: -10rem;
  right: -10rem;
  width: 30rem;
  height: 30rem;
  background: rgba(132, 216, 255, 0.12);
}

body::after {
  left: -12rem;
  bottom: -14rem;
  width: 34rem;
  height: 34rem;
  background: rgba(60, 111, 198, 0.14);
}

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

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

.site-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 28px), calc(var(--content) + 64px));
  margin: 0 auto;
  padding: 20px 0 44px;
}

.topbar,
.hero-copy,
.hero-scene,
.section,
.trust-card,
.footer {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(9, 18, 35, 0.86), rgba(7, 13, 25, 0.96));
  box-shadow: var(--shadow);
}

.topbar {
  position: sticky;
  top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  margin-bottom: 18px;
  border-radius: 999px;
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
}

.brand-copy {
  display: grid;
  min-width: 0;
}

.brand-copy strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.08rem;
  line-height: 1;
}

.brand-copy small {
  color: var(--muted);
  margin-top: 4px;
}

.topnav {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
}

.topnav a {
  transition: color 180ms ease;
}

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

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

.hero-copy,
.hero-scene,
.section,
.footer {
  border-radius: var(--radius-xxl);
}

.hero-copy,
.hero-scene {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.hero-copy {
  padding: 40px;
}

.hero-copy::after {
  content: "";
  position: absolute;
  inset: auto -20% -30% auto;
  width: 24rem;
  height: 24rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(132, 216, 255, 0.14), transparent 66%);
}

.section-tag,
.feature-kicker,
.floating-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(132, 216, 255, 0.14);
  background: rgba(25, 60, 101, 0.38);
  color: var(--accent-soft);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.section-tag.ghost {
  background: rgba(255, 255, 255, 0.04);
}

.hero-lockup {
  width: min(330px, 74%);
  margin-top: 22px;
}

.hero h1,
.section h2,
.developer-card h2,
.download-card h3 {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: 9ch;
  margin: 22px 0 0;
  font-size: clamp(3.1rem, 6vw, 5.8rem);
  line-height: 0.92;
}

.hero-text,
.section-heading p,
.feature-card p,
.platform-card p,
.why-card p,
.download-card p,
.developer-card p,
.footer span,
.hero-note span {
  color: var(--muted);
  line-height: 1.72;
}

.hero-text {
  max-width: 40rem;
  margin: 20px 0 0;
  font-size: 1.04rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #07111f;
  background: linear-gradient(135deg, #9be2ff, #77c8ff);
  box-shadow: 0 18px 38px rgba(132, 216, 255, 0.26);
}

.button-secondary {
  background: rgba(22, 34, 57, 0.86);
  border-color: rgba(132, 216, 255, 0.18);
}

.button-ghost {
  background: transparent;
  border-color: rgba(132, 216, 255, 0.18);
  color: var(--accent);
}

.button.full {
  width: 100%;
}

.hero-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.hero-note {
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.hero-note strong {
  display: block;
  font-size: 1rem;
}

.hero-scene {
  padding: 30px;
  min-height: 100%;
  background:
    radial-gradient(circle at 78% 18%, rgba(132, 216, 255, 0.18), transparent 22%),
    linear-gradient(180deg, rgba(11, 21, 40, 0.94), rgba(6, 11, 21, 0.98));
}

.scene-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(62px);
  pointer-events: none;
}

.scene-glow-a {
  top: 7%;
  right: 6%;
  width: 14rem;
  height: 14rem;
  background: rgba(132, 216, 255, 0.16);
}

.scene-glow-b {
  left: 2%;
  bottom: 14%;
  width: 16rem;
  height: 16rem;
  background: rgba(46, 98, 176, 0.18);
}

.hero-panel,
.trust-card,
.feature-card,
.platform-card,
.why-card,
.download-card,
.developer-card {
  position: relative;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(13, 24, 45, 0.88), rgba(8, 15, 29, 0.98));
  box-shadow: var(--glow);
}

.hero-panel {
  position: relative;
  z-index: 1;
  padding: 26px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 76% 18%, rgba(132, 216, 255, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(13, 24, 45, 0.9), rgba(8, 15, 29, 0.98));
}

.hero-panel h3 {
  max-width: 13ch;
  margin: 18px 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.hero-panel p {
  max-width: 34rem;
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.72;
}

.hero-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.hero-panel-card {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.hero-panel-card small {
  color: var(--muted);
}

.hero-panel-card strong {
  display: block;
  margin-top: 10px;
  font-size: 1rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.trust-card {
  padding: 22px;
  border-radius: 24px;
}

.trust-number {
  display: inline-block;
  color: var(--accent);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
}

.trust-card strong {
  display: block;
  margin-top: 16px;
  font-size: 1.04rem;
}

.trust-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.68;
}

.section {
  margin-top: 18px;
  padding: 30px;
}

.section-heading {
  max-width: 740px;
}

.section h2,
.developer-card h2 {
  margin: 16px 0 0;
  line-height: 0.96;
}

.feature-grid,
.platform-grid,
.why-grid,
.download-grid,
.developer-section {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

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

.feature-card,
.platform-card,
.why-card,
.download-card,
.developer-card {
  min-width: 0;
  padding: 22px;
  border-radius: 24px;
}

.feature-card-large {
  grid-column: span 2;
  background:
    radial-gradient(circle at 82% 14%, rgba(132, 216, 255, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(13, 24, 45, 0.94), rgba(8, 15, 29, 0.98));
}

.feature-kicker {
  margin-bottom: 14px;
}

.feature-card h3,
.platform-card h3,
.download-card h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
}

.feature-card p,
.platform-card p,
.download-card p,
.why-card p {
  margin: 12px 0 0;
}

.platform-grid,
.download-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.platform-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.platform-head span,
.download-card small {
  display: inline-flex;
  width: fit-content;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.why-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 18px;
  align-items: start;
}

.why-grid {
  margin-top: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.why-card strong {
  display: block;
  font-size: 1.08rem;
}

.download-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.developer-section {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.developer-links,
.support-links,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.developer-links a,
.footer-links a {
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(21, 34, 57, 0.72);
  color: var(--accent-soft);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 26px;
  margin-top: 18px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  width: 44px;
  height: 44px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1140px) {
  .hero,
  .why-section {
    grid-template-columns: 1fr;
  }

  .hero-scene {
    min-height: 760px;
  }

  .trust-grid,
  .feature-grid,
  .platform-grid,
  .why-grid,
  .download-grid,
  .developer-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-card-large {
    grid-column: auto;
  }
}

@media (max-width: 860px) {
  .site-shell {
    width: min(calc(100% - 20px), calc(var(--content) + 64px));
    padding-top: 14px;
  }

  .topnav,
  .nav-cta {
    display: none;
  }

  .topbar {
    position: relative;
    top: 0;
    border-radius: 24px;
  }

  .hero-copy,
  .hero-scene,
  .section,
  .footer {
    padding: 24px;
  }

  .trust-grid,
  .feature-grid,
  .platform-grid,
  .why-grid,
  .download-grid,
  .developer-section,
  .hero-notes {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    max-width: 11ch;
    font-size: clamp(2.6rem, 11vw, 4.6rem);
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .site-shell {
    width: min(calc(100% - 16px), calc(var(--content) + 64px));
  }

  .topbar {
    padding: 12px 14px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand-copy strong {
    font-size: 1rem;
  }

  .brand-copy small {
    font-size: 0.82rem;
  }

  .hero-copy,
  .hero-scene,
  .section,
  .footer {
    padding: 18px;
    border-radius: 22px;
  }

  .hero-lockup {
    width: min(250px, 82%);
  }

  .hero-text,
  .section-heading p {
    font-size: 0.96rem;
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-scene {
    min-height: auto;
  }

  .hero-panel {
    padding: 20px;
  }

  .hero-panel h3 {
    font-size: 1.6rem;
  }

  .hero-panel-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .platform-card,
  .why-card,
  .download-card,
  .developer-card,
  .trust-card {
    padding: 18px;
  }

  .footer-links,
  .developer-links,
  .support-links {
    width: 100%;
  }
}
