:root {
  --bg: #050b14;
  --bg-soft: #0a1220;
  --panel: rgba(15, 24, 37, 0.84);
  --panel-strong: rgba(17, 27, 41, 0.96);
  --line: rgba(141, 172, 199, 0.16);
  --line-strong: rgba(114, 228, 255, 0.28);
  --text: #f4f7fb;
  --muted: #97a6ba;
  --muted-strong: #c4d0df;
  --accent: #34d9ff;
  --accent-soft: rgba(52, 217, 255, 0.18);
  --accent-glow: rgba(52, 217, 255, 0.24);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1180px;
  --header-height: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Manrope", "Segoe UI", "Helvetica Neue", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 16% 18%, rgba(52, 217, 255, 0.18), transparent 24%),
    radial-gradient(circle at 82% 12%, rgba(25, 102, 168, 0.18), transparent 26%),
    linear-gradient(180deg, #040913 0%, #060b14 40%, #050912 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(255, 255, 255, 0.55), transparent 88%);
  opacity: 0.34;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-shell {
  position: relative;
  overflow: clip;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 104px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header-height);
  backdrop-filter: blur(18px);
  background: rgba(5, 10, 18, 0.7);
  border-bottom: 1px solid rgba(133, 165, 193, 0.08);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  background: rgba(6, 12, 21, 0.9);
  border-color: rgba(114, 228, 255, 0.16);
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.22);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  font-family: "Outfit", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #072030;
  background: linear-gradient(135deg, #2fd7ff 0%, #7df3ff 100%);
  box-shadow: 0 14px 40px rgba(47, 215, 255, 0.32);
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-eyebrow,
.eyebrow,
.preview-label,
.mini-label,
.metric-chip,
.status-pill,
.eyebrow-pill {
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand-eyebrow {
  color: var(--muted);
  font-size: 0.72rem;
}

.brand-name {
  font-family: "Outfit", sans-serif;
  font-size: 1.48rem;
  font-weight: 600;
}

.site-nav {
  display: inline-flex;
  justify-content: center;
  gap: 28px;
}

.site-nav a,
.contact-link,
.site-footer a {
  color: var(--muted-strong);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.site-nav a:hover,
.contact-link:hover,
.site-footer a:hover {
  color: var(--text);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.94rem;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

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

.button-primary {
  color: #05121d;
  background: linear-gradient(135deg, #2dd7ff 0%, #7cf4ff 100%);
  box-shadow: 0 16px 34px rgba(45, 215, 255, 0.18);
}

.button-primary:hover {
  box-shadow: 0 22px 40px rgba(45, 215, 255, 0.24);
}

.button-secondary,
.button-ghost {
  color: var(--text);
  border-color: rgba(151, 166, 186, 0.22);
  background: rgba(255, 255, 255, 0.03);
}

.button-secondary:hover,
.button-ghost:hover {
  border-color: rgba(114, 228, 255, 0.34);
  background: rgba(255, 255, 255, 0.06);
}

.nav-toggle {
  display: none;
  justify-self: end;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(151, 166, 186, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto 5px;
  border-radius: 999px;
  background: var(--text);
}

.nav-toggle span:last-child {
  margin-bottom: 0;
}

.hero {
  padding-top: 72px;
}

.hero-grid,
.feature-grid,
.about-grid,
.contact-panel,
.preview-row {
  display: grid;
  gap: 30px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  align-items: center;
}

.hero-copy,
.section-heading {
  max-width: 720px;
}

.eyebrow-pill,
.status-pill,
.metric-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(114, 228, 255, 0.24);
  background: rgba(52, 217, 255, 0.08);
  color: #7ceeff;
  font-size: 0.73rem;
  font-weight: 700;
}

.hero-copy h1,
.section-heading h2,
.feature-copy h2,
.contact-copy h2 {
  margin: 20px 0 18px;
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  line-height: 1.03;
}

.hero-copy h1 {
  max-width: 11ch;
  font-size: clamp(3rem, 6vw, 5.6rem);
}

.hero-text,
.section-heading p,
.preview-copy p,
.feature-copy p,
.contact-copy p,
.about-card p,
.story-grid p,
.module-card p,
.step-card p,
.benefit-card p,
.hero-mini-card p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

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

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

.hero-meta div,
.module-card,
.step-card,
.benefit-card,
.glass-card,
.contact-panel,
.preview-row,
.feature-panel {
  position: relative;
  background: linear-gradient(180deg, rgba(15, 23, 35, 0.94) 0%, rgba(11, 19, 30, 0.9) 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-meta div {
  padding: 18px 20px;
  border-radius: var(--radius-md);
}

.hero-meta strong,
.preview-copy h3,
.story-grid h3,
.module-card h3,
.step-card h3,
.benefit-card h3,
.feature-matrix strong,
.contact-name {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.hero-meta span,
.feature-matrix span {
  color: var(--muted);
  line-height: 1.6;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: center;
}

.hero-panel,
.screenshot-frame {
  position: relative;
  padding: 14px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(13, 22, 34, 0.98), rgba(8, 15, 24, 0.96));
  border: 1px solid rgba(114, 228, 255, 0.16);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.screenshot-frame-large {
  transform: perspective(1400px) rotateY(-8deg) rotateX(4deg);
}

.panel-bar {
  display: flex;
  gap: 8px;
  padding: 2px 4px 12px;
}

.panel-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(151, 166, 186, 0.4);
}

.panel-bar span:first-child {
  background: rgba(255, 106, 106, 0.8);
}

.panel-bar span:nth-child(2) {
  background: rgba(255, 200, 87, 0.84);
}

.panel-bar span:nth-child(3) {
  background: rgba(111, 221, 131, 0.84);
}

.screenshot-frame img,
.hero-panel img {
  width: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: calc(var(--radius-xl) - 10px);
  border: 1px solid rgba(145, 164, 183, 0.12);
  background: linear-gradient(180deg, rgba(14, 20, 32, 0.84), rgba(10, 16, 26, 0.9));
}

.image-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 320px;
  padding: 34px;
  border-radius: calc(var(--radius-xl) - 10px);
  border: 1px dashed rgba(124, 238, 255, 0.18);
  background:
    radial-gradient(circle at top, rgba(52, 217, 255, 0.14), transparent 48%),
    linear-gradient(180deg, rgba(14, 20, 30, 0.96), rgba(11, 16, 25, 0.98));
  text-align: left;
}

.image-fallback span {
  display: block;
  margin-bottom: 10px;
  color: #85f3ff;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.image-fallback strong {
  display: block;
  margin-bottom: 12px;
  font-family: "Outfit", sans-serif;
  font-size: 1.6rem;
  line-height: 1.15;
}

.image-fallback p {
  margin: 0;
  max-width: 42ch;
  color: var(--muted);
  line-height: 1.7;
}

.hero-mini-card {
  position: absolute;
  right: -8px;
  bottom: 18px;
  max-width: 300px;
  padding: 22px;
  border-radius: 22px;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(24px);
  opacity: 0.72;
}

.hero-orb-a {
  top: 30px;
  right: 80px;
  width: 180px;
  height: 180px;
  background: rgba(45, 215, 255, 0.18);
}

.hero-orb-b {
  bottom: 80px;
  left: 20px;
  width: 130px;
  height: 130px;
  background: rgba(60, 124, 255, 0.16);
}

.section-heading {
  margin-bottom: 40px;
}

.eyebrow,
.preview-label,
.mini-label {
  display: inline-block;
  color: #7aeefe;
  font-size: 0.76rem;
  font-weight: 700;
}

.section-heading h2,
.feature-copy h2,
.contact-copy h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.story-grid,
.modules-grid,
.steps-grid,
.benefits-grid,
.feature-matrix {
  display: grid;
  gap: 22px;
}

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

.glass-card,
.preview-row,
.contact-panel {
  border-radius: var(--radius-xl);
}

.glass-card {
  padding: 30px;
}

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

.module-card,
.step-card,
.benefit-card {
  overflow: hidden;
  padding: 28px;
  border-radius: 26px;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.module-card::after,
.step-card::after,
.benefit-card::after,
.preview-row::after,
.contact-panel::after,
.glass-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(124, 238, 255, 0.06), transparent 28%, transparent 72%, rgba(124, 238, 255, 0.02));
}

.module-card:hover,
.step-card:hover,
.benefit-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
}

.module-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: var(--accent-soft);
  color: #84f1ff;
  font-size: 1.25rem;
  border: 1px solid rgba(114, 228, 255, 0.18);
}

.preview-stack {
  display: grid;
  gap: 24px;
}

.preview-row {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  padding: 28px;
}

.preview-row-reverse {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.preview-row-reverse .preview-copy {
  order: 2;
}

.preview-row-reverse .screenshot-frame {
  order: 1;
}

.preview-copy h3 {
  margin: 14px 0 12px;
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.12;
}

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

.step-number {
  display: inline-flex;
  margin-bottom: 18px;
  color: #7cf0ff;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.section-feature {
  padding-top: 72px;
}

.feature-grid {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.86fr);
  align-items: center;
}

.feature-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  margin-bottom: 14px;
  padding-left: 22px;
  color: var(--muted-strong);
  line-height: 1.7;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5de7ff;
  box-shadow: 0 0 18px rgba(93, 231, 255, 0.5);
}

.feature-panel {
  padding: 34px;
}

.feature-matrix {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
}

.feature-matrix div {
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(141, 172, 199, 0.12);
  background: rgba(255, 255, 255, 0.02);
}

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

.about-grid {
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
}

.section-contact {
  padding-top: 72px;
}

.contact-panel {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: 38px;
}

.contact-actions {
  display: grid;
  justify-items: start;
  gap: 12px;
}

.contact-name {
  margin: 6px 0 0;
}

.site-footer {
  padding: 28px 0 38px;
  border-top: 1px solid rgba(141, 172, 199, 0.08);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
}

.footer-inner div {
  display: grid;
  gap: 6px;
}

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

.reveal-delay {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

.reveal-delay-3 {
  transition-delay: 0.24s;
}

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

@media (max-width: 1180px) {
  .modules-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .hero-grid,
  .feature-grid,
  .about-grid,
  .contact-panel,
  .preview-row,
  .preview-row-reverse {
    grid-template-columns: 1fr;
  }

  .preview-row-reverse .preview-copy,
  .preview-row-reverse .screenshot-frame {
    order: initial;
  }

  .hero-visual {
    min-height: initial;
  }

  .hero-mini-card {
    position: static;
    max-width: none;
    margin-top: 18px;
  }

  .screenshot-frame-large {
    transform: none;
  }

  .contact-actions {
    justify-items: stretch;
  }
}

@media (max-width: 920px) {
  :root {
    --header-height: 76px;
  }

  .header-inner {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav,
  .header-actions {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 12px);
    display: none;
    padding: 18px;
    border-radius: 22px;
    background: rgba(8, 14, 24, 0.96);
    border: 1px solid rgba(114, 228, 255, 0.16);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
  }

  .site-nav {
    gap: 16px;
    flex-direction: column;
  }

  .header-actions {
    top: calc(100% + 188px);
    grid-auto-flow: row;
  }

  .site-header.menu-open .site-nav,
  .site-header.menu-open .header-actions {
    display: grid;
  }

  .story-grid,
  .modules-grid,
  .feature-matrix {
    grid-template-columns: 1fr 1fr;
  }

  .hero-copy h1 {
    max-width: 12ch;
  }
}

@media (max-width: 680px) {
  .section {
    padding: 84px 0;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .story-grid,
  .modules-grid,
  .steps-grid,
  .benefits-grid,
  .feature-matrix,
  .hero-meta {
    grid-template-columns: 1fr;
  }

  .brand-copy {
    display: none;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: clamp(2.5rem, 14vw, 4rem);
  }

  .hero-text,
  .section-heading p,
  .preview-copy p,
  .feature-copy p,
  .contact-copy p,
  .about-card p,
  .story-grid p,
  .module-card p,
  .step-card p,
  .benefit-card p,
  .hero-mini-card p {
    font-size: 0.98rem;
    line-height: 1.72;
  }

  .preview-row,
  .feature-panel,
  .contact-panel,
  .glass-card,
  .module-card,
  .step-card,
  .benefit-card {
    padding: 22px;
  }

  .screenshot-frame img,
  .hero-panel img,
  .image-fallback {
    min-height: 240px;
  }

  .footer-inner {
    flex-direction: column;
  }
}
