:root {
  --c-bg: #171a2d;
  --c-bg-deep: #14162b;
  --c-surface: rgba(255, 255, 255, 0.05);
  --c-surface-strong: rgba(255, 255, 255, 0.1);
  --c-border: rgba(255, 255, 255, 0.12);
  --c-text: #f3f4ff;
  --c-muted: #b6b9d7;
  --c-accent: #6e42ff;
  --c-accent-strong: #a16bff;
  --c-accent-2: #3a7bff;
  --c-glow: rgba(110, 66, 255, 0.35);
  --font-display: "Unbounded", "Space Grotesk", sans-serif;
  --font-body: "Space Grotesk", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.container {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0 24px;
}

body {
  font-family: var(--font-body);
  background: radial-gradient(circle at 18% 20%, #2a1f58 0%, var(--c-bg) 42%, var(--c-bg-deep) 100%);
  color: var(--c-text);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

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

.bg-orbit {
  position: fixed;
  inset: -20% 0 0 0;
  background: radial-gradient(circle at 75% 12%, rgba(110, 66, 255, 0.35), transparent 55%),
    radial-gradient(circle at 10% 35%, rgba(58, 123, 255, 0.3), transparent 50%),
    radial-gradient(circle at 55% 80%, rgba(161, 107, 255, 0.18), transparent 55%);
  filter: blur(12px);
  z-index: 0;
}

.bg-noise {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  opacity: 0.5;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 1;
}

.hero {
  position: relative;
  z-index: 2;
  padding: 32px 0 64px;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 56px;
}

.logo {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 1px;
}

.nav-cta {
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--c-surface-strong);
  border: 1px solid var(--c-border);
  font-weight: 500;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  color: var(--c-muted);
  margin-bottom: 16px;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.1;
  margin-bottom: 24px;
}

.accent {
  color: var(--c-accent-strong);
  text-shadow: 0 0 18px rgba(161, 107, 255, 0.55);
}

.hero-subtitle {
  font-size: 18px;
  color: var(--c-muted);
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--c-accent) 0%, var(--c-accent-strong) 100%);
  color: #0d0f1f;
  box-shadow: 0 15px 35px rgba(110, 66, 255, 0.35);
}

.btn-secondary {
  background: transparent;
  border-color: var(--c-border);
  color: var(--c-text);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(110, 66, 255, 0.35);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 24px;
  padding: 20px;
}

.metric {
  font-family: var(--font-display);
  font-size: 22px;
}

.metric-label {
  font-size: 13px;
  color: var(--c-muted);
}

.hero-shots {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
  width: 100%;
}

.hero-shots::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(110, 66, 255, 0.25), transparent 70%);
  filter: blur(10px);
  z-index: 0;
}

.shot {
  position: absolute;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 60px rgba(8, 10, 24, 0.7);
  background: transparent;
  backdrop-filter: blur(6px);
  transition: transform 0.35s ease, opacity 0.35s ease, filter 0.35s ease, box-shadow 0.35s ease;
}

.shot img {
  display: block;
  width: 220px;
  height: auto;
  max-width: 100%;
  border-radius: 0;
  background: transparent;
}

.hero-shots--stack {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  isolation: isolate;
  width: 100%;
}

.hero-shots-controls {
  display: none;
}

.hero-shots--stack .shot {
  position: relative;
  width: auto;
  height: auto;
  margin-left: -70px;
  opacity: 0.55;
  filter: saturate(0.7);
  z-index: 0;
  cursor: pointer;
}

.hero-shots--stack .shot:first-child {
  margin-left: 0;
}

.hero-shots--stack .shot:nth-child(2) {
  opacity: 0.7;
}

.hero-shots--stack .shot.is-active {
  opacity: 1;
  filter: saturate(1);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 28px 70px rgba(8, 10, 24, 0.8);
  z-index: 5;
}

.hero-shots--stack .shot:hover {
  opacity: 1;
  filter: saturate(1);
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 30px 80px rgba(8, 10, 24, 0.85);
  z-index: 20 !important;
}

.hero-shots--stack:hover .shot.is-active {
  opacity: 0.45;
  filter: saturate(0.7);
  transform: none;
  box-shadow: 0 24px 60px rgba(8, 10, 24, 0.7);
  z-index: 2;
}


.section {
  padding: 72px 0;
  position: relative;
  z-index: 2;
}

.section-header {
  max-width: 720px;
  margin-bottom: 40px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2;
}

.story-head {
  max-width: 780px;
  margin-bottom: 28px;
}

.story-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.1;
  margin-bottom: 10px;
}

.story-subtitle {
  color: var(--c-muted);
  font-size: 15px;
  line-height: 1.45;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  position: relative;
}

.story-grid::after {
  content: "→";
  position: absolute;
  top: 88px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.2);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.35);
}

@media (max-width: 980px) {
  .story-grid::after {
    display: none;
  }
}

.story-col {
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 10, 26, 0.28);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.story-col--bad {
  border-color: rgba(255, 90, 120, 0.35);
}

.story-col--good {
  border-color: rgba(110, 66, 255, 0.4);
}

.story-col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
}

.story-col-head h3 {
  margin: 0;
  font-size: 16px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.story-badge {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--c-muted);
  background: rgba(0, 0, 0, 0.15);
  white-space: nowrap;
}

.story-steps {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.story-step {
  width: 100%;
  text-align: left;
  border-radius: 18px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  cursor: default;
}

.story-step:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.1);
}

.story-step:focus-visible {
  outline: none;
  box-shadow: none;
}

.story-step-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.story-icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.22);
  flex: 0 0 auto;
}

.story-col--bad .story-icon {
  box-shadow: 0 0 0 6px rgba(255, 90, 120, 0.1);
  border-color: rgba(255, 90, 120, 0.25);
}

.story-col--good .story-icon {
  box-shadow: 0 0 0 6px rgba(110, 66, 255, 0.12);
  border-color: rgba(110, 66, 255, 0.28);
}

.story-meta {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-muted);
  opacity: 0.85;
}

.story-headline {
  font-size: 16px;
  font-weight: 800;
  margin: 2px 0 6px;
  letter-spacing: -0.01em;
}

.story-quote {
  margin: 0;
  color: var(--c-muted);
  font-size: 14px;
  line-height: 1.4;
}

.story-hint {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.3;
}

.story-footer {
  margin-top: 18px;
  padding: 16px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 10, 26, 0.22);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.story-promise {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: min(520px, 100%);
}

.story-promise strong {
  font-size: 16px;
  letter-spacing: -0.01em;
}

.story-promise span {
  color: var(--c-muted);
  font-size: 13px;
  line-height: 1.35;
}

.story-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pain-grid,
.solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 20px;
  padding: 24px;
  min-height: 200px;
  box-shadow: 0 18px 40px rgba(10, 4, 20, 0.4);
}

.card h3 {
  font-family: var(--font-display);
  margin-bottom: 12px;
}

.card p {
  color: var(--c-muted);
}

.solution-card {
  background: rgba(18, 20, 40, 0.8);
  border: 1px solid rgba(110, 66, 255, 0.25);
  border-radius: 22px;
  padding: 28px;
  min-height: 220px;
  position: relative;
}

.solution-tag {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--c-accent);
  margin-bottom: 12px;
}

.solution-card h3 {
  font-family: var(--font-display);
  margin-bottom: 10px;
}

.solution-card p {
  color: var(--c-muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.step {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: rgba(18, 20, 40, 0.75);
  border-radius: 18px;
  border: 1px solid var(--c-border);
}

.step span {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(110, 66, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.step h3 {
  font-family: var(--font-display);
  margin-bottom: 6px;
}

.step p {
  color: var(--c-muted);
}

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

.highlight {
  padding: 80px 0 96px;
}

.highlight-inner {
  background: linear-gradient(135deg, rgba(110, 66, 255, 0.18), rgba(58, 123, 255, 0.08));
  border: 1px solid rgba(161, 107, 255, 0.35);
  border-radius: 28px;
  padding: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: 0 24px 50px rgba(110, 66, 255, 0.22);
}

.highlight-subtitle {
  color: var(--c-muted);
  margin-top: 12px;
  max-width: 520px;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.micro {
  font-size: 12px;
  color: var(--c-muted);
}

.footer {
  padding: 40px 0 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 2;
}

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

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

.footer-links {
  display: flex;
  gap: 24px;
  color: var(--c-muted);
}

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

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

@media (max-width: 720px) {
  .nav {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hero {
    padding-top: 20px;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
  }

  .hero-copy {
    order: 0;
  }

  .hero-shots {
    order: 1;
    min-height: 320px;
    margin-top: 12px;
    width: 100%;
  }

  .hero-metrics > div:nth-child(2) {
    display: none;
  }

  .hero-shots--stack {
    position: relative;
    height: 300px;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .hero-shots--stack .shot {
    position: absolute;
    left: 50%;
    top: 0;
    margin-left: 0;
    transform: translateX(-50%) scale(0.94);
    opacity: 0.35;
    z-index: 1;
    pointer-events: auto;
  }

  .hero-shots--stack .shot:first-child {
    top: 10px;
  }

  .hero-shots--stack .shot.is-active {
    transform: translateX(-50%) scale(1);
    opacity: 1;
    z-index: 3;
  }

  .hero-shots--stack .shot.is-prev {
    transform: translateX(calc(-50% - 70px)) scale(0.92);
    opacity: 0.6;
    z-index: 2;
  }

  .hero-shots--stack .shot.is-next {
    transform: translateX(calc(-50% + 70px)) scale(0.92);
    opacity: 0.6;
    z-index: 2;
  }

  .shot img {
    width: 210px;
  }

  .story-grid::after {
    display: none;
  }

  .highlight-inner {
    padding: 28px;
  }

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

.hero-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
}

.hero-modal.is-open {
  display: block;
}

.hero-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 20, 0.65);
  backdrop-filter: blur(6px);
}

.hero-modal-content {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}

.hero-modal-frame {
  max-width: min(86vw, 360px);
  max-height: 80vh;
  background: rgba(10, 10, 24, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.hero-modal-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 22px;
  display: grid;
  place-items: center;
}

.hero-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 20px;
  display: grid;
  place-items: center;
}

.hero-modal-nav--prev {
  left: 18px;
}

.hero-modal-nav--next {
  right: 18px;
}

@media (hover: none) {
  .hero-shots--stack .shot:hover {
    opacity: 0.55;
    filter: saturate(0.7);
    transform: none;
    box-shadow: 0 24px 60px rgba(8, 10, 24, 0.7);
    z-index: 0 !important;
  }
}
