:root {
  --bg: #020207;
  --bg-deep: #05020b;
  --bg-violet: #0d0418;
  --panel: rgba(12, 6, 22, 0.72);
  --panel-strong: rgba(22, 10, 36, 0.82);
  --border: rgba(255, 255, 255, 0.085);
  --border-strong: rgba(192, 132, 252, 0.32);
  --text: #ffffff;
  --muted: #b8b8c7;
  --muted-dark: #a1a1aa;
  --purple: #8b5cf6;
  --purple-bright: #a855f7;
  --lavender: #c084fc;
  --radius-xl: 28px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shadow: 0 28px 88px rgba(0, 0, 0, 0.62);
  --glow: 0 0 38px rgba(168, 85, 247, 0.18);
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 6%, rgba(168, 85, 247, 0.14), transparent 34%),
    radial-gradient(circle at 86% 18%, rgba(139, 92, 246, 0.12), transparent 30%),
    linear-gradient(145deg, var(--bg), var(--bg-violet) 44%, var(--bg-deep));
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

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

.page-glow {
  position: fixed;
  z-index: -2;
  width: 38vw;
  height: 38vw;
  min-width: 280px;
  min-height: 280px;
  border-radius: 999px;
  filter: blur(48px);
  opacity: 0.24;
  animation: glowPulse 8s ease-in-out infinite;
  pointer-events: none;
}

.page-glow-one {
  top: 10%;
  left: -12%;
  background: rgba(168, 85, 247, 0.24);
}

.page-glow-two {
  right: -14%;
  bottom: 4%;
  background: rgba(96, 42, 182, 0.22);
  animation-delay: 2s;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  width: min(calc(100% - 32px), var(--container));
  padding: 12px 14px 12px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(5, 3, 11, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.24);
  transform: translateX(-50%);
  transition: border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.site-header.scrolled {
  border-color: rgba(192, 132, 252, 0.24);
  background: rgba(5, 3, 11, 0.92);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.36);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 800;
  letter-spacing: 0;
}

.logo-mark {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, var(--lavender) 30%, var(--purple-bright) 58%, transparent 70%);
  box-shadow: 0 0 24px rgba(168, 85, 247, 0.72);
}

.nav {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  transition: color 180ms ease, background 180ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.header-button,
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: var(--text);
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-button {
  padding: 0 18px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.9), rgba(168, 85, 247, 0.62));
  box-shadow: 0 0 26px rgba(168, 85, 247, 0.22);
  font-size: 14px;
}

.button {
  padding: 0 22px;
  min-width: 190px;
}

.button-primary {
  background: linear-gradient(135deg, var(--purple), var(--purple-bright));
  box-shadow: 0 18px 46px rgba(168, 85, 247, 0.3);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(14px);
}

.header-button:hover,
.button:hover,
.header-button:focus-visible,
.button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 18px 54px rgba(168, 85, 247, 0.32);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 99px;
  background: var(--text);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 28px;
  min-height: 100vh;
  padding: 132px 0 56px;
}

.hero-content,
.hero-panel,
.section-window,
.value-window,
.cta-window {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: linear-gradient(150deg, rgba(18, 7, 31, 0.78), rgba(5, 5, 10, 0.72));
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.hero-content {
  padding: clamp(28px, 5vw, 58px);
}

.hero-content::before,
.section-window::before,
.value-window::before,
.cta-window::before,
.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(192, 132, 252, 0.13), rgba(255, 255, 255, 0.035));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid rgba(192, 132, 252, 0.28);
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.1);
  color: #e6d2ff;
  font-size: 13px;
  font-weight: 700;
}

.eyebrow {
  margin-bottom: 22px;
  padding: 9px 13px;
}

.section-kicker {
  margin-bottom: 12px;
  padding: 7px 11px;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(40px, 6vw, 74px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4.3vw, 54px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.2;
}

.hero-text {
  max-width: 670px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-panel {
  min-height: 520px;
  padding: 26px;
  display: grid;
  place-items: center;
}

.panel-orbit {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192, 132, 252, 0.34), rgba(168, 85, 247, 0.08) 45%, transparent 70%);
  filter: blur(12px);
  animation: floatGlow 7s ease-in-out infinite;
}

.flow-card {
  position: relative;
  width: min(100%, 420px);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26px;
  background: rgba(5, 5, 10, 0.44);
  box-shadow: var(--glow);
}

.flow-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: #eee5ff;
  font-weight: 800;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lavender);
  box-shadow: 0 0 18px var(--lavender);
}

.flow-list {
  display: grid;
  gap: 12px;
}

.flow-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  animation: cardBreath 4s ease-in-out infinite;
}

.flow-item:nth-child(2) {
  animation-delay: 300ms;
}

.flow-item:nth-child(3) {
  animation-delay: 600ms;
}

.flow-item:nth-child(4) {
  animation-delay: 900ms;
}

.flow-item.active {
  border-color: rgba(192, 132, 252, 0.38);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.18), rgba(255, 255, 255, 0.06));
}

.flow-item span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  color: #e5d4ff;
  font-weight: 800;
}

.flow-item p {
  margin: 0;
  color: var(--text);
  font-weight: 700;
}

.section-window {
  margin: 36px 0;
  padding: clamp(24px, 4vw, 42px);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 26px;
}

.section-heading p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.grid {
  display: grid;
  gap: 16px;
}

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

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

.glass-card,
.mini-card,
.work-card,
.benefit-pill,
.faq-item {
  border: 1px solid var(--border);
  background: var(--panel);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.glass-card:hover,
.mini-card:hover,
.work-card:hover,
.benefit-pill:hover,
.faq-item:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  background: var(--panel-strong);
  box-shadow: 0 22px 64px rgba(168, 85, 247, 0.14);
}

.glass-card {
  min-height: 250px;
  padding: 22px;
  border-radius: var(--radius-lg);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 26px;
  border: 1px solid rgba(192, 132, 252, 0.3);
  border-radius: 16px;
  background: rgba(168, 85, 247, 0.12);
  color: #eadbff;
  font-weight: 800;
}

.glass-card p,
.mini-card p,
.work-card p,
.faq-item p,
.value-copy p,
.cta-window p,
.site-footer p {
  color: var(--muted);
}

.problem-card {
  min-height: 180px;
}

.value-window {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  margin: 36px 0;
  padding: clamp(24px, 4vw, 42px);
}

.value-copy p {
  max-width: 560px;
  margin-bottom: 0;
  font-size: 18px;
}

.value-copy h2 {
  margin-bottom: 16px;
}

.value-cards {
  display: grid;
  gap: 14px;
}

.mini-card {
  padding: 18px;
  border-radius: 20px;
}

.mini-card h3 {
  margin-bottom: 6px;
  font-size: 18px;
}

.mini-card p {
  margin-bottom: 0;
}

.works-window {
  margin-top: 0;
}

.work-card {
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 22px;
  border-radius: var(--radius-lg);
}

.work-badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 22px;
  padding: 7px 11px;
  border: 1px solid rgba(192, 132, 252, 0.3);
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.12);
  color: #eadbff;
  font-size: 13px;
  font-weight: 800;
}

.work-card p {
  margin-bottom: 24px;
}

.work-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: auto;
  color: #eadbff;
  font-weight: 800;
  transition: color 180ms ease, transform 180ms ease;
}

.work-link:hover,
.work-link:focus-visible {
  color: var(--text);
  transform: translateX(3px);
}

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

.benefit-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 18px;
  border-radius: 20px;
  color: #f5edff;
  font-weight: 700;
}

.benefit-pill span {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--lavender);
  box-shadow: 0 0 18px rgba(192, 132, 252, 0.8);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  padding: 0 18px;
  border-radius: 20px;
}

.faq-item summary {
  position: relative;
  min-height: 68px;
  padding: 20px 34px 20px 0;
  cursor: pointer;
  list-style: none;
  font-size: 18px;
  font-weight: 800;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 18px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(168, 85, 247, 0.14);
  color: var(--lavender);
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  margin: -6px 0 20px;
  max-width: 760px;
}

.cta-window {
  margin: 36px 0 56px;
  padding: clamp(28px, 5vw, 58px);
  text-align: center;
}

.cta-window .section-kicker,
.cta-window .button-row {
  margin-left: auto;
  margin-right: auto;
}

.cta-window .button-row {
  justify-content: center;
}

.cta-window h2 {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.cta-window p {
  max-width: 730px;
  margin: 18px auto 28px;
  font-size: 18px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto 28px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(12, 6, 22, 0.62);
  backdrop-filter: blur(16px);
}

.email-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.email-modal.open {
  opacity: 1;
  visibility: visible;
}

.email-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 2, 7, 0.74);
  backdrop-filter: blur(10px);
}

.email-modal__panel {
  position: relative;
  width: min(100%, 480px);
  padding: 28px;
  border: 1px solid rgba(192, 132, 252, 0.24);
  border-radius: 26px;
  background: linear-gradient(150deg, rgba(18, 7, 31, 0.94), rgba(5, 5, 10, 0.94));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.7), 0 0 46px rgba(168, 85, 247, 0.18);
  transform: translateY(12px) scale(0.98);
  transition: transform 220ms ease;
}

.email-modal.open .email-modal__panel {
  transform: translateY(0) scale(1);
}

.email-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font: inherit;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.email-modal__close:hover,
.email-modal__close:focus-visible {
  transform: translateY(-1px);
  border-color: var(--border-strong);
  background: rgba(168, 85, 247, 0.16);
}

.email-modal__panel h2 {
  margin: 14px 44px 12px 0;
  font-size: clamp(26px, 5vw, 36px);
}

.email-modal__address {
  display: inline-flex;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: #f3e9ff;
  font-size: 18px;
  font-weight: 800;
}

.email-modal__copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 20px;
  padding: 0 16px;
  border: 1px solid rgba(192, 132, 252, 0.28);
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.14);
  color: var(--text);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.email-modal__copy:hover,
.email-modal__copy:focus-visible {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  background: rgba(168, 85, 247, 0.22);
}

.email-modal__note {
  min-height: 20px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 6px 0 0;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
}

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

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
  transition-delay: var(--delay, 0ms);
}

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

@keyframes glowPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.32;
  }

  50% {
    transform: scale(1.12);
    opacity: 0.48;
  }
}

@keyframes floatGlow {
  0%,
  100% {
    transform: translate3d(-16px, -10px, 0) scale(1);
  }

  50% {
    transform: translate3d(18px, 16px, 0) scale(1.08);
  }
}

@keyframes cardBreath {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav,
  .header-button {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: 76px;
    left: 16px;
    right: 16px;
    display: grid;
    gap: 6px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: rgba(9, 6, 18, 0.94);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav a {
    padding: 13px 14px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 112px;
  }

  .hero-panel {
    min-height: 420px;
  }

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

  .value-window {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    top: 10px;
    width: min(calc(100% - 20px), var(--container));
    padding: 10px 10px 10px 14px;
  }

  .logo {
    font-size: 15px;
  }

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

  .hero {
    gap: 16px;
    min-height: auto;
    padding: 98px 0 26px;
  }

  .hero-content,
  .hero-panel,
  .section-window,
  .value-window,
  .cta-window {
    border-radius: 24px;
  }

  .hero-content,
  .section-window,
  .value-window,
  .cta-window {
    padding: 22px;
  }

  h1 {
    font-size: clamp(38px, 12vw, 52px);
    line-height: 1;
  }

  h2 {
    font-size: clamp(28px, 9vw, 38px);
  }

  .hero-text,
  .cta-window p,
  .value-copy p {
    font-size: 16px;
  }

  .button-row,
  .button {
    width: 100%;
  }

  .button {
    min-width: 0;
  }

  .hero-panel {
    min-height: 360px;
    padding: 16px;
  }

  .flow-card {
    padding: 14px;
  }

  .flow-item {
    grid-template-columns: 40px 1fr;
    padding: 12px;
  }

  .cards-4,
  .cards-2,
  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .glass-card {
    min-height: auto;
  }

  .site-footer {
    flex-direction: column;
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
