:root {
  --ink: #111827;
  --muted: #667085;
  --muted-2: #98a2b3;
  --line: rgba(17, 24, 39, 0.1);
  --line-strong: rgba(17, 24, 39, 0.16);
  --violet: #7c3aed;
  --violet-soft: #ede9fe;
  --blue: #2563eb;
  --teal: #0f766e;
  --rose: #db2777;
  --amber: #f59e0b;
  --green: #16a34a;
  --white: #ffffff;
  --panel: #f7f7fb;
  --shadow: 0 24px 70px rgba(17, 24, 39, 0.12);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #ffffff;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.module-page,
body.pricing-page {
  background: #ffffff;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

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

.site-shell {
  min-height: 100vh;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(16px);
}

.nav-inner {
  width: min(1200px, calc(100% - 40px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand img {
  display: block;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

.brand-wordmark {
  width: 134px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #1f2937;
  font-size: 14px;
  font-weight: 400;
}

.nav-link,
.mega-trigger {
  border: 0;
  background: transparent;
  color: #1f2937;
  padding: 10px 0;
  cursor: pointer;
  font-weight: 400;
  transition: color 0.16s ease;
}

.nav-link:hover,
.mega-trigger:hover,
.mega-trigger.active,
.nav-link.active {
  color: var(--violet);
}

.mega {
  position: relative;
}

.mega::after {
  content: "";
  position: absolute;
  left: -36px;
  right: -36px;
  top: 100%;
  height: 20px;
}

.mega-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  width: min(760px, calc(100vw - 40px));
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 16px;
}

.mega:hover .mega-panel,
.mega:focus-within .mega-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mega-item {
  display: block;
  padding: 12px;
  border-radius: 8px;
  transition: background 0.16s ease, transform 0.16s ease;
}

.mega-item:hover {
  background: #f8fafc;
  transform: translateY(-1px);
}

.mega-item strong {
  display: block;
  font-size: 14px;
  margin-bottom: 3px;
}

.mega-item > span {
  display: block;
}

.mega-item > span > span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.text-link {
  border: 0;
  background: transparent;
  color: #111827;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 0;
  transition: color 0.16s ease;
}

.text-link:hover {
  color: var(--violet);
}

.mobile-menu {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  background: #ffffff;
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 17px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 850;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

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

.btn-primary {
  color: #ffffff;
  background: var(--violet);
  box-shadow: 0 16px 32px rgba(124, 58, 237, 0.22);
}

.btn-secondary {
  color: #6d28d9;
  background: rgba(124, 58, 237, 0.1);
  border-color: rgba(124, 58, 237, 0.18);
}

.hero {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0 56px;
}

.hero-notion {
  text-align: center;
  padding-top: 82px;
}

.hero-notion .hero-copy {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.hero-notion .hero-actions {
  justify-content: center;
}

.hero-notion .hero-actions .btn {
  font-weight: 500;
}

.hero-notion .hero-proof {
  margin-left: auto;
  margin-right: auto;
}

.word-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.03em;
  width: auto;
  min-width: 0;
  min-height: 0.92em;
  vertical-align: middle;
  border-radius: 999px;
  padding: 0.1em 0.02em;
  background: color-mix(in srgb, var(--word-color, #7c3aed) 12%, white);
  white-space: nowrap;
  overflow: hidden;
  transition: width 0.34s cubic-bezier(0.22, 1, 0.36, 1), background 0.22s ease;
}

.word-dot {
  width: 0.24em;
  height: 0.24em;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--word-color, #7c3aed);
}

#rotatingWord {
  color: var(--word-color, #7c3aed);
  text-transform: none;
  font-weight: 500;
  font-size: 0.72em;
  line-height: 1;
  transition: color 0.22s ease, opacity 0.22s ease;
}

.hero-line-two {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.18em;
  white-space: nowrap;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(420px, 1.04fr);
  gap: 54px;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--violet);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(22, 163, 74, 0.12);
}

.hero h1 {
  margin: 20px 0 18px;
  font-size: clamp(50px, 7.4vw, 94px);
  line-height: 0.92;
  font-weight: 950;
  letter-spacing: -0.035em;
}

.hero-notion h1 {
  font-size: clamp(46px, 6.7vw, 86px);
}

.hero-copy {
  max-width: 650px;
  color: #4b5563;
  font-size: 18px;
  line-height: 1.7;
}

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

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
  margin-top: 34px;
}

.proof-card {
  border: 1px solid rgba(17, 24, 39, 0.09);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 14px;
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.05);
}

.proof-card strong {
  display: block;
  font-size: 22px;
}

.proof-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  margin-top: 4px;
}

.hero-lab {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.98)),
    repeating-linear-gradient(90deg, rgba(124, 58, 237, 0.08) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg, rgba(8, 145, 178, 0.07) 0 1px, transparent 1px 72px);
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
}

.hero-notion .hero-lab {
  border-color: transparent;
  background: transparent;
  overflow: visible;
}

.hero-lab::before,
.hero-lab::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero-lab::before {
  width: 360px;
  height: 360px;
  left: calc(50% - 180px + var(--mx, 0px) * 0.04);
  top: calc(24% + var(--my, 0px) * 0.04);
  background: rgba(124, 58, 237, 0.1);
  filter: blur(14px);
}

.hero-lab::after {
  width: 220px;
  height: 220px;
  right: calc(5% - var(--mx, 0px) * 0.03);
  bottom: calc(8% - var(--my, 0px) * 0.03);
  background: rgba(8, 145, 178, 0.12);
  filter: blur(12px);
}

.lab-core {
  position: absolute;
  left: 50%;
  top: 42%;
  width: 150px;
  height: 150px;
  transform: translate(-50%, -50%) translate3d(calc(var(--mx, 0px) * -0.025), calc(var(--my, 0px) * -0.025), 0);
  border-radius: 30px;
  display: grid;
  place-items: center;
  background: #ffffff;
  border: 1px solid rgba(124, 58, 237, 0.16);
  box-shadow: 0 30px 80px rgba(124, 58, 237, 0.18);
  z-index: 4;
}

.hero-notion .lab-core {
  top: 48%;
}

.lab-core img {
  width: 72px;
  height: 72px;
  border-radius: 8px;
}

.orbit-ring {
  position: absolute;
  left: 50%;
  top: 42%;
  border: 1px solid rgba(124, 58, 237, 0.14);
  border-radius: 32% 38% 35% 42%;
  transform: translate(-50%, -50%) rotate(var(--r, 0deg));
  animation: spin 24s linear infinite;
}

.hero-notion .orbit-ring {
  top: 48%;
}

.ring-one {
  width: 310px;
  height: 250px;
}

.ring-two {
  width: 440px;
  height: 350px;
  animation-duration: 34s;
  animation-direction: reverse;
}

.ring-three {
  width: 555px;
  height: 430px;
  animation-duration: 42s;
}

.lab-node {
  position: absolute;
  z-index: 5;
  width: var(--s, 52px);
  height: var(--s, 52px);
  left: calc(50% + var(--x) + var(--mx, 0px) * var(--d, 0.02));
  top: calc(42% + var(--y) + var(--my, 0px) * var(--d, 0.02));
  transform: translate(-50%, -50%);
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: var(--c);
  box-shadow: 0 20px 40px rgba(17, 24, 39, 0.18);
  font-size: calc(var(--s, 52px) * 0.34);
  font-weight: 950;
}

.hero-notion .lab-node {
  top: calc(48% + var(--y) + var(--my, 0px) * var(--d, 0.02));
  font-size: calc(var(--s, 52px) * 0.25);
}

.lab-node.light {
  color: #111827;
  border: 1px solid rgba(17, 24, 39, 0.08);
}

.lab-card {
  position: absolute;
  z-index: 6;
  left: 6%;
  right: 6%;
  bottom: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: 0 24px 70px rgba(17, 24, 39, 0.16);
  padding: 18px;
  transform: translateY(var(--dash-shift, 0));
}

.hero-notion .lab-card {
  display: none;
}

.hero-system {
  width: min(920px, 100%);
  margin: 42px auto 0;
  min-height: 430px;
  perspective: 1200px;
}

.hero-system::before,
.hero-system::after {
  display: none;
}

.system-window {
  position: relative;
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 0;
  min-height: 410px;
  border-radius: 18px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  background: #ffffff;
  box-shadow: 0 34px 100px rgba(17, 24, 39, 0.16);
  overflow: hidden;
  transform: rotateX(calc(var(--my, 0px) * -0.018deg)) rotateY(calc(var(--mx, 0px) * 0.018deg));
  transition: transform 0.16s ease;
}

.system-window::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at calc(50% + var(--mx, 0px) * 0.14) calc(0% + var(--my, 0px) * 0.08), rgba(124, 58, 237, 0.13), transparent 34%),
    linear-gradient(180deg, rgba(248, 250, 252, 0.92), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.system-sidebar {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 24px 22px;
  background: #111827;
}

.system-sidebar span {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
}

.system-sidebar span:first-child {
  background: var(--violet);
}

.system-main {
  position: relative;
  z-index: 2;
  padding: 24px;
}

.system-toolbar,
.system-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.system-toolbar {
  margin-bottom: 20px;
}

.system-toolbar strong {
  font-size: 17px;
}

.system-toolbar span,
.system-row strong {
  color: #6d28d9;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.18);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 500;
}

.system-chart {
  position: relative;
  height: 150px;
  border-radius: 14px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background:
    linear-gradient(rgba(226, 232, 240, 0.75) 1px, transparent 1px),
    linear-gradient(90deg, rgba(226, 232, 240, 0.75) 1px, transparent 1px),
    #ffffff;
  background-size: 100% 50px, 120px 100%;
  overflow: hidden;
}

.chart-line {
  position: absolute;
  left: 24px;
  right: 24px;
  height: 3px;
  border-radius: 999px;
  transform-origin: left center;
}

.line-a {
  top: 42px;
  background: linear-gradient(90deg, #7c3aed, #a78bfa);
  animation: chartPulse 4.6s ease-in-out infinite;
}

.line-b {
  top: 78px;
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  animation: chartPulse 5.2s ease-in-out infinite reverse;
}

.line-c {
  top: 112px;
  background: linear-gradient(90deg, #0f766e, #22d3ee);
  animation: chartPulse 5.8s ease-in-out infinite;
}

.system-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.system-grid div {
  border-radius: 12px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  padding: 14px;
  background: #ffffff;
}

.system-grid strong {
  display: block;
  font-size: 28px;
  line-height: 1;
}

.system-grid span,
.system-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.system-row {
  border-top: 1px solid rgba(17, 24, 39, 0.08);
  padding: 12px 0;
}

.lab-card-top,
.dashboard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.dashboard-title {
  font-weight: 900;
}

.status-pill {
  color: #6d28d9;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.18);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 500;
}

.signal-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.8fr;
  gap: 10px;
}

.signal {
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 8px;
  padding: 14px;
  background: #ffffff;
}

.signal label {
  display: block;
  color: var(--violet);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.signal strong {
  font-size: 24px;
  display: block;
}

.signal span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.section {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.52fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 28px;
}

.section-kicker {
  color: var(--violet);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section h2 {
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: 0;
}

.section-head p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
  margin-bottom: 0;
}

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

.module-card,
.detail-card,
.price-card,
.faq-item,
.timeline-step,
.step {
  border: 1px solid rgba(17, 24, 39, 0.09);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(17, 24, 39, 0.05);
}

.module-card {
  position: relative;
  min-height: 322px;
  padding: 18px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.module-card:hover {
  transform: translateY(-5px);
  border-color: rgba(17, 24, 39, 0.18);
  box-shadow: 0 24px 70px rgba(17, 24, 39, 0.11);
}

.module-card::after {
  display: none;
}

.module-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #ffffff;
  color: #111827;
  border: 1px solid rgba(17, 24, 39, 0.12);
  margin-bottom: 22px;
  font-weight: 800;
  font-size: 12px;
}

.module-card h3 {
  font-size: 20px;
  line-height: 1.1;
  margin-bottom: 12px;
}

.module-card p,
.detail-card p,
.timeline-step p,
.step p {
  color: var(--muted);
  line-height: 1.62;
  margin-bottom: 0;
}

.module-card p {
  font-size: 14px;
  margin-bottom: 20px;
}

.module-card a {
  position: relative;
  z-index: 2;
  display: inline-flex;
  color: #111827;
  font-weight: 500;
  font-size: 13px;
}

.parallax-band {
  width: min(1200px, calc(100% - 40px));
  margin: 36px auto 0;
  min-height: 500px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(17, 24, 39, 0.09);
  background:
    repeating-linear-gradient(90deg, rgba(124, 58, 237, 0.07) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(0deg, rgba(17, 24, 39, 0.05) 0 1px, transparent 1px 80px),
    #ffffff;
}

.parallax-layer {
  position: absolute;
  inset: 0;
  transform: translateY(var(--float-y, 0));
  display: grid;
  place-items: center;
}

.parallax-card {
  position: absolute;
  width: min(430px, 46%);
  padding: 22px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.09);
  box-shadow: var(--shadow);
}

.parallax-card:nth-child(2) {
  left: 7%;
  top: 16%;
}

.parallax-card:nth-child(3) {
  right: 8%;
  top: 28%;
}

.parallax-card:nth-child(4) {
  left: 26%;
  bottom: 13%;
}

.workflow-visual {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.cycle-visual svg {
  position: absolute;
  width: min(780px, 86%);
  height: auto;
  overflow: visible;
}

.cycle-path {
  fill: none;
  stroke: rgba(124, 58, 237, 0.42);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 10 12;
  animation: dashFlow 9s linear infinite;
}

.path-b {
  stroke: rgba(15, 118, 110, 0.42);
  animation-delay: -2.6s;
}

.path-c {
  stroke: rgba(245, 158, 11, 0.46);
  animation-delay: -5.2s;
}

.cycle-node,
.cycle-core {
  position: absolute;
  z-index: 3;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.1);
  box-shadow: 0 22px 60px rgba(17, 24, 39, 0.12);
}

.cycle-node {
  width: 184px;
  padding: 15px;
}

.cycle-node span {
  display: inline-flex;
  color: #6d28d9;
  font-size: 11px;
  font-weight: 850;
  margin-bottom: 8px;
}

.cycle-node strong {
  display: block;
  font-size: 15px;
  margin-bottom: 5px;
}

.cycle-node small {
  display: block;
  color: var(--muted);
  line-height: 1.4;
}

.node-a {
  left: 22%;
  top: 22%;
}

.node-b {
  right: 22%;
  top: 26%;
}

.node-c {
  left: 41.5%;
  bottom: 10%;
}

.cycle-core {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
}

.cycle-core img {
  width: 54px;
  height: 54px;
  border-radius: 8px;
}

.parallax-card h3 {
  margin-bottom: 8px;
}

.parallax-card p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.workflow {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.workflow-panel {
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 20%, rgba(124, 58, 237, 0.48), transparent 22rem),
    linear-gradient(135deg, #111827 0%, #1f1644 58%, #6d28d9 100%);
  color: #ffffff;
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.workflow-panel::before {
  content: "";
  position: absolute;
  inset: -20% -30% auto auto;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.36), transparent 66%);
}

.workflow-panel h2,
.workflow-panel p,
.workflow-panel a {
  position: relative;
}

.workflow-panel h2 {
  font-size: clamp(30px, 4vw, 48px);
  margin-bottom: 18px;
}

.workflow-panel p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.72;
}

.steps {
  display: grid;
  gap: 12px;
}

.step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  padding: 16px;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--violet);
  background: var(--violet-soft);
  font-weight: 950;
}

.step h3 {
  margin-bottom: 5px;
  font-size: 17px;
}

.pricing-wrap {
  border: 1px solid rgba(17, 24, 39, 0.09);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 18px;
}

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

.price-card {
  padding: 22px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: rgba(124, 58, 237, 0.35);
  box-shadow: 0 24px 70px rgba(124, 58, 237, 0.14);
}

.price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 18px 0;
}

.price strong {
  font-size: 44px;
  line-height: 1;
}

.price span {
  color: var(--muted);
  font-weight: 750;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 10px 0 24px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: 10px;
  color: #374151;
  font-size: 14px;
  line-height: 1.45;
}

.feature-list li::before {
  content: "";
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--violet);
  margin-top: 6px;
}

.price-card .btn {
  margin-top: auto;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 28px;
}

.faq-note {
  border-radius: 8px;
  padding: 24px;
  background: #111827;
  color: #ffffff;
  min-height: 320px;
}

.faq-note p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

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

.faq-button {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  color: var(--ink);
  font-weight: 900;
  text-align: left;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.22s ease;
}

.faq-answer p {
  padding: 0 18px 18px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.faq-item.open .faq-answer {
  max-height: 240px;
}

.cta-band {
  width: min(1200px, calc(100% - 40px));
  margin: 60px auto 0;
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 20%, rgba(124, 58, 237, 0.48), transparent 22rem),
    linear-gradient(135deg, #111827 0%, #1f1644 58%, #6d28d9 100%);
  color: #ffffff;
  padding: 42px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  overflow: hidden;
}

.cta-band h2 {
  margin-bottom: 10px;
  font-size: clamp(30px, 4vw, 52px);
}

.cta-band p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
  max-width: 660px;
  line-height: 1.65;
}

.module-hero {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 82px 0 46px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
  gap: 46px;
  align-items: center;
}

.module-hero h1 {
  margin: 18px 0;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 0.96;
  font-weight: 950;
  letter-spacing: -0.035em;
}

.module-hero p {
  color: var(--muted);
  line-height: 1.72;
  font-size: 17px;
}

.module-screen {
  position: relative;
  min-height: 520px;
  border-radius: 8px;
  background:
    repeating-linear-gradient(90deg, color-mix(in srgb, var(--module-color, #7c3aed) 8%, transparent) 0 1px, transparent 1px 70px),
    repeating-linear-gradient(0deg, rgba(17, 24, 39, 0.06) 0 1px, transparent 1px 70px),
    #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.1);
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 22px;
}

.module-window {
  position: relative;
  z-index: 2;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  padding: 16px;
  min-height: 360px;
  margin-top: 76px;
  box-shadow: 0 24px 70px rgba(17, 24, 39, 0.15);
}

.window-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.window-row:last-child {
  border-bottom: 0;
}

.window-row strong {
  font-size: 14px;
}

.window-row span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}

.mini-pill {
  align-self: center;
  border-radius: 999px;
  padding: 7px 10px;
  color: #6d28d9;
  background: rgba(124, 58, 237, 0.1);
  font-size: 12px;
  font-weight: 500;
}

.window-row .mini-pill {
  color: #6d28d9;
  font-weight: 500;
}

.pricing-hero {
  padding-bottom: 34px;
}

.compare-table {
  border: 1px solid rgba(17, 24, 39, 0.09);
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(17, 24, 39, 0.08);
}

.compare-row {
  display: grid;
  grid-template-columns: minmax(260px, 1.7fr) repeat(4, minmax(120px, 0.65fr));
  gap: 0;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.compare-row:last-child {
  border-bottom: 0;
}

.compare-row > span {
  padding: 16px 18px;
  border-right: 1px solid rgba(17, 24, 39, 0.08);
  color: #374151;
  font-size: 14px;
  line-height: 1.45;
}

.compare-row > span:last-child {
  border-right: 0;
}

.compare-row strong {
  display: block;
  color: #111827;
  font-size: 14px;
  margin-bottom: 3px;
}

.compare-row small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.compare-head {
  background: #f8fafc;
}

.compare-head span {
  color: #111827;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

.security-card {
  border: 1px solid rgba(17, 24, 39, 0.09);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(17, 24, 39, 0.05);
  padding: 20px;
  min-height: 230px;
}

.security-card span {
  display: inline-flex;
  color: #6d28d9;
  background: rgba(124, 58, 237, 0.1);
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 11px;
  font-weight: 850;
  margin-bottom: 22px;
}

.security-card h3 {
  font-size: 17px;
  margin-bottom: 10px;
}

.security-card p {
  color: var(--muted);
  line-height: 1.62;
  margin: 0;
  font-size: 14px;
}

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

.detail-card {
  padding: 20px;
  min-height: 210px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 1)),
    repeating-linear-gradient(90deg, rgba(124, 58, 237, 0.08) 0 1px, transparent 1px 42px);
}

.detail-card::before {
  content: "";
  display: block;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  margin-bottom: 18px;
  background:
    radial-gradient(circle at 68% 32%, #ffffff 0 5px, transparent 6px),
    linear-gradient(135deg, rgba(124, 58, 237, 0.94), rgba(167, 139, 250, 0.48));
  box-shadow: 0 16px 34px rgba(124, 58, 237, 0.16);
}

.detail-card::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -50px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(124, 58, 237, 0.14);
  border-radius: 50%;
}

.detail-card h3 {
  margin-bottom: 10px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.timeline-step {
  padding: 18px;
}

.timeline-step span {
  color: #6d28d9;
  font-weight: 950;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.timeline-step h3 {
  margin: 12px 0 8px;
  font-size: 16px;
}

.footer {
  margin-top: 80px;
  border-top: 1px solid rgba(17, 24, 39, 0.09);
  background: #ffffff;
}

.footer-inner {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 52px 0 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.1fr repeat(4, minmax(0, 0.65fr));
  gap: 34px;
  align-items: start;
}

.footer-brand {
  max-width: 360px;
}

.footer-wordmark {
  width: 158px;
  height: auto;
}

.footer-brand p {
  color: var(--muted);
  line-height: 1.65;
  margin: 14px 0 20px;
}

.download-pill {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 900;
}

.download-pill span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.footer-col h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #111827;
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  margin: 10px 0;
}

.footer-col a:hover {
  color: var(--violet);
}

.footer-bottom {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 13px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.62s ease, transform 0.62s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

.parallax-float {
  transform: translateY(var(--float-y, 0));
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes chartPulse {
  0%, 100% {
    transform: scaleX(0.72);
    opacity: 0.72;
  }
  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes dashFlow {
  to {
    stroke-dashoffset: -44;
  }
}

@keyframes flowSweep {
  0% {
    opacity: 0.24;
    background-position: -240px 0;
  }
  50% {
    opacity: 0.9;
  }
  100% {
    opacity: 0.24;
    background-position: 240px 0;
  }
}

@keyframes flowOrbit {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(34px, -22px) scale(1.14);
  }
}

@media (max-width: 1050px) {
  .hero-grid,
  .module-hero,
  .workflow,
  .faq-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

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

  .nav-links {
    display: none;
  }

  .mobile-menu {
    display: inline-grid;
    place-items: center;
  }

  .nav.open .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 78px;
    display: grid;
    gap: 8px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 14px;
    background: #ffffff;
    border: 1px solid rgba(17, 24, 39, 0.09);
  }

  .nav.open .mega-panel {
    position: static;
    width: auto;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    margin-top: 8px;
  }

  .hero-lab {
    min-height: 560px;
  }

  .hero-system {
    min-height: 360px;
  }

  .system-window {
    min-height: 360px;
    grid-template-columns: 66px 1fr;
  }

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

@media (max-width: 720px) {
  .nav-inner,
  .hero,
  .section,
  .cta-band,
  .module-hero,
  .footer-inner,
  .parallax-band {
    width: min(100% - 28px, 1200px);
  }

  .brand-wordmark {
    width: 112px;
  }

  .hero {
    padding-top: 54px;
  }

  .hero h1,
  .module-hero h1 {
    font-size: clamp(38px, 11.5vw, 54px);
    line-height: 0.98;
    letter-spacing: -0.025em;
  }

  .hero-line-two {
    display: inline;
    white-space: normal;
  }

  .word-pill {
    vertical-align: baseline;
  }

  .hero-copy {
    font-size: 16px;
    line-height: 1.62;
  }

  .section {
    padding: 52px 0;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
  }

  .section h2 {
    font-size: clamp(32px, 10vw, 46px);
    line-height: 1.02;
  }

  .section-head p {
    font-size: 15px;
    line-height: 1.62;
  }

  .hero-proof,
  .module-grid,
  .pricing-grid,
  .detail-grid,
  .timeline,
  .signal-grid,
  .mega-grid,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .hero-lab {
    min-height: 520px;
  }

  .module-hero {
    padding-top: 52px;
    gap: 28px;
  }

  .module-screen {
    min-height: 360px;
    padding: 16px;
  }

  .module-window {
    min-height: auto;
    margin-top: 24px;
    padding: 14px;
  }

  .dashboard-top {
    align-items: flex-start;
    flex-wrap: wrap;
  }

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

  .mini-pill {
    justify-self: start;
  }

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

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

  .system-sidebar {
    display: none;
  }

  .system-grid,
  .security-grid {
    grid-template-columns: 1fr;
  }

  .compare-table {
    overflow-x: auto;
  }

  .compare-row {
    min-width: 720px;
  }

  .cycle-visual svg {
    display: none;
  }

  .cycle-node,
  .cycle-core {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    margin: 14px auto;
  }

  .lab-node {
    display: none;
  }

  .ring-three {
    display: none;
  }

  .lab-card {
    left: 14px;
    right: 14px;
  }

  .parallax-card {
    position: relative;
    width: auto;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    margin: 18px;
  }

  .parallax-band {
    min-height: auto;
    padding: 8px 0;
  }

  .parallax-layer {
    position: relative;
  }

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