:root {
  --bg: #000000;
  --bg-soft: rgba(255, 255, 255, 0.04);
  --bg-card: rgba(255, 255, 255, 0.05);
  --bg-card-2: rgba(255, 255, 255, 0.03);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #ffffff;
  --text-soft: rgba(255, 255, 255, 0.74);
  --text-muted: rgba(255, 255, 255, 0.58);
  --purple: #814ac8;
  --purple-2: #df7afe;
  --pink: #ff7eea;
  --cyan: #4ce3ff;
  --success: #76f0bf;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --container: 1200px;
  --header-h: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Figtree", ui-sans-serif, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.45;
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

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

::selection {
  background: rgba(223, 122, 254, 0.25);
  color: #fff;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: -2;
  filter: blur(60px);
  opacity: 0.7;
}

body::before {
  width: 42rem;
  height: 42rem;
  top: -10rem;
  right: -8rem;
  background: radial-gradient(circle, rgba(129, 74, 200, 0.35), transparent 70%);
}

body::after {
  width: 36rem;
  height: 36rem;
  bottom: -10rem;
  left: -8rem;
  background: radial-gradient(circle, rgba(76, 227, 255, 0.18), transparent 70%);
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  overflow: hidden;
}

.site-bg::before,
.site-bg::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
}

.site-bg::before {
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 70% 40%, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 35% 80%, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 140px 140px, 180px 180px, 220px 220px;
  opacity: 0.32;
}

.site-bg::after {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(223, 122, 254, 0.12), transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(76, 227, 255, 0.08), transparent 58%),
    radial-gradient(ellipse at 50% 100%, rgba(129, 74, 200, 0.12), transparent 65%);
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin-inline: auto;
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

.section.compact {
  padding: 4.2rem 0;
}

.section-header {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 2rem;
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  width: fit-content;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-soft);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--purple-2));
  box-shadow: 0 0 12px rgba(76, 227, 255, 0.6);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.7rem, 6vw, 5.2rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

p {
  margin: 0;
  color: var(--text-soft);
}

.lead {
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  color: var(--text-soft);
}

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

.gradient-text {
  background: linear-gradient(135deg, #fff 10%, #c9b3ff 45%, #ff96f2 70%, #8deaff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-shell {
  position: relative;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 200ms ease, border-color 200ms ease, backdrop-filter 200ms ease;
}

.site-header.scrolled {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: var(--line);
}

.nav-wrap {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.brand img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.brand-label {
  display: grid;
  gap: 0.05rem;
  line-height: 1;
}

.brand-label strong {
  font-size: 0.98rem;
  letter-spacing: 0.02em;
}

.brand-label span {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
}

.nav-links a {
  padding: 0.55rem 0.95rem;
  font-size: 0.92rem;
  border-radius: 999px;
  color: var(--text-soft);
  transition: color 150ms ease, background-color 150ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.btn {
  --btn-bg: rgba(255, 255, 255, 0.04);
  --btn-border: rgba(255, 255, 255, 0.1);
  --btn-color: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-color);
  font-weight: 600;
  font-size: 0.92rem;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  will-change: transform;
}

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

.btn-primary {
  --btn-bg: linear-gradient(135deg, rgba(129, 74, 200, 0.95), rgba(223, 122, 254, 0.95));
  --btn-border: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 36px rgba(129, 74, 200, 0.35);
}

.btn-secondary {
  --btn-bg: rgba(255, 255, 255, 0.02);
}

.btn-ghost {
  --btn-bg: transparent;
  --btn-border: rgba(255, 255, 255, 0.16);
}

.btn.small {
  padding: 0.65rem 0.9rem;
  font-size: 0.86rem;
}

.btn .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(76, 227, 255, 0.8);
}

.hero {
  padding-top: 3.8rem;
  padding-bottom: 4.6rem;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  gap: 1.2rem;
  align-items: stretch;
}

.hero-copy,
.hero-visual {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-copy {
  padding: clamp(1.3rem, 2vw, 2rem);
  display: grid;
  align-content: start;
  gap: 1rem;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: -30% auto auto -10%;
  width: 26rem;
  height: 26rem;
  background: radial-gradient(circle, rgba(223, 122, 254, 0.16), transparent 72%);
  pointer-events: none;
}

.hero-title {
  max-width: 16ch;
}

.hero-title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  animation: word-rise 700ms cubic-bezier(.2,.8,.2,1) forwards;
}

@keyframes word-rise {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.hero-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.hero-note .pulse {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: radial-gradient(circle at 30% 30%, rgba(76, 227, 255, 0.25), rgba(129, 74, 200, 0.25));
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.hero-note .pulse::before,
.hero-note .pulse::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  animation: pulse-wave 2.2s ease-out infinite;
}

.hero-note .pulse::after {
  animation-delay: 1.1s;
}

@keyframes pulse-wave {
  0% { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(1.45); opacity: 0; }
}

.hero-visual {
  padding: 0.9rem;
  display: grid;
  grid-template-rows: 1.2fr 0.8fr;
  gap: 0.9rem;
}

.visual-main {
  position: relative;
  border-radius: calc(var(--radius-xl) - 10px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 320px;
}

.visual-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
}

.visual-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.65)),
    radial-gradient(circle at 20% 20%, rgba(223, 122, 254, 0.25), transparent 45%);
}

.metrics {
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.9rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.metric {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 0.7rem;
}

.metric strong {
  display: block;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.metric span {
  color: var(--text-soft);
  font-size: 0.78rem;
}

.visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.mini-card {
  position: relative;
  border-radius: calc(var(--radius-xl) - 10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  min-height: 170px;
}

.mini-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mini-card .label {
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  padding: 0.6rem 0.75rem;
}

.mini-card .label strong {
  display: block;
  font-size: 0.85rem;
}

.mini-card .label span {
  color: var(--text-soft);
  font-size: 0.72rem;
}

.tilt {
  transform-style: preserve-3d;
  transition: transform 220ms ease;
}

.tilt > * {
  transform: translateZ(0);
}

.marquee {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 0.65rem;
  padding: 0.65rem;
  animation: marquee-x 28s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee-x {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.chip {
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-soft);
  white-space: nowrap;
  font-size: 0.85rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.glass-card {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card-body {
  padding: 1rem;
  display: grid;
  gap: 0.75rem;
}

.card-kicker {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 0.35rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-soft);
  font-size: 0.75rem;
}

.card-image {
  aspect-ratio: 16 / 10;
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.glass-card:hover .card-image img {
  transform: scale(1.05);
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.card-tags span {
  font-size: 0.76rem;
  color: var(--text-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 0.35rem 0.55rem;
  background: rgba(255, 255, 255, 0.02);
}

.process-shell {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.02);
  padding: 1rem;
}

.process-progress {
  position: absolute;
  left: 1.9rem;
  top: 1.3rem;
  bottom: 1.3rem;
  width: 2px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.process-progress::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateY(calc(100% - var(--progress, 0%)));
  background: linear-gradient(180deg, var(--cyan), var(--purple-2));
  transition: transform 180ms linear;
}

.process-list {
  display: grid;
  gap: 0.8rem;
}

.step-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.02);
}

.step-dot {
  width: 28px;
  height: 28px;
  margin-top: 0.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: radial-gradient(circle at 30% 30%, rgba(76, 227, 255, 0.35), rgba(129, 74, 200, 0.25));
  box-shadow: 0 0 24px rgba(76, 227, 255, 0.12);
}

.step-index {
  color: var(--text-muted);
  font-size: 0.78rem;
  margin-bottom: 0.3rem;
}

.bullet-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.bullet-list li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--text-soft);
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--purple-2));
  box-shadow: 0 0 10px rgba(223, 122, 254, 0.5);
}

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

.benefit-card {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  padding: 1rem;
  display: grid;
  gap: 0.55rem;
  position: relative;
  overflow: hidden;
}

.benefit-card::after {
  content: "";
  position: absolute;
  right: -2rem;
  top: -2rem;
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(223, 122, 254, 0.12), transparent 70%);
}

.benefit-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  place-items: center;
  color: var(--cyan);
  font-size: 0.9rem;
}

.faq-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1rem;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 0.7rem;
}

.accordion-item {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.accordion-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 0.95rem 1rem;
  cursor: pointer;
}

.accordion-button span {
  font-weight: 600;
}

.accordion-button i {
  font-style: normal;
  font-size: 1rem;
  color: var(--text-muted);
  transition: transform 180ms ease;
}

.accordion-item.open .accordion-button i {
  transform: rotate(45deg);
  color: #fff;
}

.accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms ease;
}

.accordion-panel > div {
  min-height: 0;
  overflow: hidden;
}

.accordion-panel p {
  padding: 0 1rem 1rem;
  color: var(--text-soft);
}

.accordion-item.open .accordion-panel {
  grid-template-rows: 1fr;
}

.cta-panel {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.09);
  background:
    radial-gradient(circle at 15% 15%, rgba(223, 122, 254, 0.18), transparent 40%),
    radial-gradient(circle at 90% 10%, rgba(76, 227, 255, 0.12), transparent 35%),
    rgba(255, 255, 255, 0.025);
  padding: 1.1rem;
  display: grid;
  gap: 0.9rem;
  box-shadow: var(--shadow);
}

.cta-panel .cta-card {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.28);
  padding: 1rem;
  display: grid;
  gap: 0.8rem;
}

.footer {
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  background: rgba(255, 255, 255, 0.015);
}

.footer-inner {
  padding: 2rem 0 1rem;
  display: grid;
  gap: 1.2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}

.newsletter {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  padding: 1rem;
  display: grid;
  gap: 0.9rem;
}

.newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem;
}

.input {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.85rem 0.95rem;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.textarea {
  min-height: 136px;
  resize: vertical;
}

.input:focus {
  border-color: rgba(223, 122, 254, 0.45);
  box-shadow: 0 0 0 3px rgba(223, 122, 254, 0.12);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.footer-col {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.02);
  padding: 0.9rem;
}

.footer-col h4 {
  margin: 0 0 0.6rem;
  font-size: 0.9rem;
  color: #fff;
}

.footer-col a {
  display: block;
  padding: 0.3rem 0;
  color: var(--text-soft);
  font-size: 0.88rem;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.2rem;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-bottom a {
  color: var(--text-soft);
}

.page-hero {
  padding-top: 3rem;
  padding-bottom: 2.5rem;
}

.page-hero-panel {
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 10% 10%, rgba(223, 122, 254, 0.16), transparent 40%),
    radial-gradient(circle at 90% 10%, rgba(76, 227, 255, 0.1), transparent 38%),
    rgba(255, 255, 255, 0.02);
  padding: 1.2rem;
  display: grid;
  gap: 1rem;
  box-shadow: var(--shadow);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 1rem;
  align-items: stretch;
}

.page-hero-copy {
  display: grid;
  gap: 0.9rem;
  align-content: center;
  min-height: 280px;
}

.page-hero-visual {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  min-height: 260px;
  background: rgba(255, 255, 255, 0.02);
}

.page-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.value-card {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  padding: 1rem;
  display: grid;
  gap: 0.55rem;
}

.team-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
}

.team-gallery .portrait {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  aspect-ratio: 3 / 4;
}

.team-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.compare-card {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  display: grid;
  gap: 0.75rem;
}

.compare-card.accent {
  background: linear-gradient(180deg, rgba(129, 74, 200, 0.14), rgba(255, 255, 255, 0.02));
  border-color: rgba(223, 122, 254, 0.28);
}

.compare-card h3 {
  font-size: 1.05rem;
}

.compare-card ul {
  margin: 0;
  padding-left: 1rem;
  color: var(--text-soft);
  display: grid;
  gap: 0.55rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
}

.post-feature,
.post-list .post-card {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.post-feature .thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.post-feature .thumb img,
.post-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.post-feature:hover .thumb img,
.post-card:hover .thumb img {
  transform: scale(1.04);
}

.post-content {
  padding: 1rem;
  display: grid;
  gap: 0.65rem;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.post-list {
  display: grid;
  gap: 1rem;
}

.post-card {
  display: grid;
  grid-template-columns: 180px 1fr;
}

.post-card .thumb {
  min-height: 100%;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1rem;
}

.contact-card,
.contact-form-card {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.contact-card {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.contact-list {
  display: grid;
  gap: 0.7rem;
}

.contact-item {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.02);
  padding: 0.8rem;
  display: grid;
  gap: 0.2rem;
}

.contact-item small {
  color: var(--text-muted);
}

.contact-form {
  display: grid;
  gap: 0.75rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.form-field {
  display: grid;
  gap: 0.35rem;
}

.form-field label {
  color: var(--text-soft);
  font-size: 0.86rem;
}

.form-status {
  min-height: 1.25rem;
  font-size: 0.88rem;
  color: var(--success);
}

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.empty-state p {
  max-width: 44ch;
  margin-inline: auto;
}

.code-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  color: var(--text-soft);
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.02);
}

.reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.992);
  filter: blur(6px);
  transition:
    opacity 950ms cubic-bezier(.16,.84,.22,1),
    transform 950ms cubic-bezier(.16,.84,.22,1),
    filter 950ms cubic-bezier(.16,.84,.22,1);
  transition-delay: var(--delay, 0ms);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.reveal.pop {
  transform: translateY(16px) scale(0.976);
}

.reveal.pop.in-view {
  transform: translateY(0) scale(1);
}

.parallax {
  will-change: transform;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.spacer-xs { height: 0.35rem; }
.spacer-sm { height: 0.75rem; }
.spacer-md { height: 1.25rem; }

.mobile-menu-btn {
  display: none;
}

.mobile-menu {
  display: none;
}

/* Cinematic homepage hero (closer to Framer landing composition) */
.home-page .site-header {
  background: rgba(0, 0, 0, 0.85);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.home-page .site-header.scrolled {
  background: rgba(0, 0, 0, 0.78);
}

.home-page .site-bg::before,
.home-page .site-bg::after {
  opacity: 0;
  background: none;
}

.home-page .site-bg::before,
.home-page .site-bg::after {
  opacity: 0;
  background: none;
}

.home-page .nav-wrap {
  width: min(1260px, calc(100% - 2rem));
  margin-inline: auto;
}

.home-page .brand-label {
  display: none;
}

.home-page .brand img {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 0;
  background: transparent;
}

.home-page .nav-links {
  background: transparent;
  border: 0;
  padding: 0;
  gap: 0.9rem;
}

.home-page .nav-links a {
  background: transparent !important;
  padding-inline: 0.35rem;
}

.home-page .nav-links a[aria-current="page"] {
  color: #fff;
  opacity: 0.95;
}

.hero-cinematic {
  min-height: calc(100svh - var(--header-h));
  padding: 0;
  display: grid;
  align-items: center;
  overflow: clip;
}

.hero-sky {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 55%, transparent 0 22%, rgba(0, 0, 0, 0.08) 44%, rgba(0, 0, 0, 0.78) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.62));
}

.hero-stars {
  position: absolute;
  inset: 0;
}

.hero-stars-a {
  animation: starLayerPanA 46s linear infinite alternate;
}

.hero-stars-b {
  animation: starLayerPanB 68s linear infinite alternate;
}

.hero-star {
  position: absolute;
  width: var(--star-w, var(--size, 2px));
  height: var(--star-h, var(--size, 2px));
  left: 50%;
  top: 54%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  opacity: var(--o, 0.7);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.28);
  filter: blur(var(--star-blur, 0px));
  transform-origin: center;
  animation: spaceFlight var(--drift, 22s) linear infinite;
  animation-delay: var(--delay2, 0s);
}

.hero-stars-b .hero-star {
  opacity: calc(var(--o, 0.7) * 0.7);
  filter: blur(calc(var(--star-blur, 0px) + 0.2px));
}

@keyframes starLayerPanA {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-18px, 10px, 0) scale(1.012); }
  100% { transform: translate3d(12px, -14px, 0) scale(1.02); }
}

@keyframes starLayerPanB {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(22px, -12px, 0) scale(1.02); }
  100% { transform: translate3d(-14px, 16px, 0) scale(1.03); }
}

@keyframes twinkle {
  0%, 100% { opacity: calc(var(--o, 0.7) * 0.42); }
  35% { opacity: calc(var(--o, 0.7) * 1.05); }
  65% { opacity: calc(var(--o, 0.7) * 0.62); }
}

@keyframes driftStar {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(calc(var(--mx, 4px) * 0.7), calc(var(--my, -8px) * 0.7), 0); }
  100% { transform: translate3d(var(--mx, 4px), var(--my, -8px), 0); }
}

@keyframes spaceFlight {
  0% {
    opacity: 0;
    transform: translate3d(-50%, -50%, 0) rotate(var(--star-rot, 0deg)) scale(0.15);
  }
  8% {
    opacity: calc(var(--o, 0.7) * 0.9);
  }
  72% {
    opacity: calc(var(--o, 0.7) * 0.7);
  }
  100% {
    opacity: 0;
    transform:
      translate3d(-50%, -50%, 0)
      translate3d(var(--tx, 20vw), var(--ty, 20vh), 0)
      rotate(var(--star-rot, 0deg))
      scale(var(--star-scale, 1.2));
  }
}

.hero-nebula-glow {
  position: absolute;
  left: 50%;
  top: 54%;
  width: min(45vw, 620px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(174, 82, 255, 0.16) 0 28%, rgba(122, 50, 231, 0.12) 36%, rgba(0, 0, 0, 0) 70%),
    radial-gradient(circle at 48% 55%, rgba(255, 167, 243, 0.12), rgba(0, 0, 0, 0) 62%);
  filter: blur(28px);
  opacity: 0.9;
  animation: nebulaGlowPulse 7.8s ease-in-out infinite;
}

.hero-nebula {
  position: absolute;
  left: 50%;
  top: 54%;
  width: min(36vw, 500px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 48%, rgba(186, 102, 255, 0.2) 0 26%, rgba(118, 48, 214, 0.14) 42%, rgba(0,0,0,0) 74%),
    radial-gradient(circle at 42% 58%, rgba(250, 168, 255, 0.1), rgba(0,0,0,0) 58%),
    radial-gradient(circle at 60% 38%, rgba(149, 79, 246, 0.12), rgba(0,0,0,0) 62%);
  -webkit-mask: radial-gradient(circle,
    transparent 10%,
    rgba(0,0,0,0.02) 22%,
    rgba(0,0,0,0.08) 34%,
    rgba(0,0,0,0.22) 44%,
    rgba(0,0,0,0.3) 51%,
    rgba(0,0,0,0.2) 60%,
    rgba(0,0,0,0.08) 72%,
    rgba(0,0,0,0.05) 86%,
    transparent 100%);
  mask: radial-gradient(circle,
    transparent 10%,
    rgba(0,0,0,0.02) 22%,
    rgba(0,0,0,0.08) 34%,
    rgba(0,0,0,0.22) 44%,
    rgba(0,0,0,0.42) 51%,
    rgba(0,0,0,0.34) 60%,
    rgba(0,0,0,0.16) 72%,
    rgba(0,0,0,0.05) 86%,
    transparent 100%);
  filter: blur(66px) saturate(1.08);
  opacity: 0.58;
  mix-blend-mode: screen;
  animation: nebulaFloat 6.5s ease-in-out infinite;
}

.hero-nebula::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background:
    conic-gradient(from 220deg,
      rgba(255,255,255,0) 0 18%,
      rgba(201, 125, 255, 0.28) 20% 30%,
      rgba(109, 52, 204, 0.62) 31% 40%,
      rgba(255,255,255,0) 43% 56%,
      rgba(188, 110, 255, 0.26) 58% 70%,
      rgba(255,255,255,0) 73% 100%);
  -webkit-mask: radial-gradient(circle,
    transparent 18%,
    rgba(0,0,0,0.04) 32%,
    rgba(0,0,0,0.22) 42%,
    rgba(0,0,0,0.4) 50%,
    rgba(0,0,0,0.22) 62%,
    rgba(0,0,0,0.06) 78%,
    transparent 96%);
  mask: radial-gradient(circle,
    transparent 18%,
    rgba(0,0,0,0.04) 32%,
    rgba(0,0,0,0.22) 42%,
    rgba(0,0,0,0.4) 50%,
    rgba(0,0,0,0.22) 62%,
    rgba(0,0,0,0.06) 78%,
    transparent 96%);
  filter: blur(34px);
  animation: nebulaSpin 14s linear infinite reverse;
  mix-blend-mode: screen;
}

.hero-nebula::after {
  content: "";
  position: absolute;
  inset: 20%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(0, 0, 0, 0.95) 0 42%, rgba(7, 0, 18, 0.65) 56%, rgba(0, 0, 0, 0) 74%);
  filter: blur(6px);
}

.hero-nebula-inner {
  position: absolute;
  left: 50%;
  top: 54%;
  width: min(22vw, 305px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    conic-gradient(from 160deg,
      rgba(0,0,0,0) 0 20%,
      rgba(216, 146, 255, 0.38) 22% 35%,
      rgba(92, 44, 186, 0.35) 36% 45%,
      rgba(0,0,0,0) 47% 62%,
      rgba(197, 123, 255, 0.34) 65% 77%,
      rgba(0,0,0,0) 80% 100%);
  -webkit-mask: radial-gradient(circle,
    transparent 30%,
    rgba(0,0,0,0.08) 42%,
    rgba(0,0,0,0.72) 50%,
    rgba(0,0,0,0.85) 56%,
    rgba(0,0,0,0.2) 66%,
    transparent 84%);
  mask: radial-gradient(circle,
    transparent 30%,
    rgba(0,0,0,0.08) 42%,
    rgba(0,0,0,0.72) 50%,
    rgba(0,0,0,0.85) 56%,
    rgba(0,0,0,0.2) 66%,
    transparent 84%);
  filter: blur(28px);
  opacity: 0.46;
  animation: nebulaInnerSpin 7.5s linear infinite;
}

.hero-half-orbit {
  position: absolute;
  left: 50%;
  top: 54%;
  width: min(39vw, 530px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-half-cloud {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    conic-gradient(from 208deg,
      rgba(0,0,0,0) 0 16%,
      rgba(214, 146, 255, 0.62) 19% 34%,
      rgba(118, 52, 221, 0.4) 35% 47%,
      rgba(0,0,0,0) 51% 100%);
  -webkit-mask: radial-gradient(circle,
    transparent 10%,
    rgba(0,0,0,0.015) 24%,
    rgba(0,0,0,0.07) 35%,
    rgba(0,0,0,0.16) 44%,
    rgba(0,0,0,0.24) 50%,
    rgba(0,0,0,0.16) 59%,
    rgba(0,0,0,0.06) 72%,
    rgba(0,0,0,0.015) 84%,
    transparent 100%);
  mask: radial-gradient(circle,
    transparent 10%,
    rgba(0,0,0,0.015) 24%,
    rgba(0,0,0,0.07) 35%,
    rgba(0,0,0,0.16) 44%,
    rgba(0,0,0,0.24) 50%,
    rgba(0,0,0,0.16) 59%,
    rgba(0,0,0,0.06) 72%,
    rgba(0,0,0,0.015) 84%,
    transparent 100%);
  filter: blur(38px);
  opacity: 0.64;
  mix-blend-mode: screen;
}

.hero-half-cloud::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    conic-gradient(from 222deg,
      rgba(0,0,0,0) 0 22%,
      rgba(255, 195, 255, 0.18) 24% 32%,
      rgba(0,0,0,0) 36% 100%);
  -webkit-mask: radial-gradient(circle,
    transparent 18%,
    rgba(0,0,0,0.06) 34%,
    rgba(0,0,0,0.18) 46%,
    rgba(0,0,0,0.07) 62%,
    transparent 90%);
  mask: radial-gradient(circle,
    transparent 18%,
    rgba(0,0,0,0.06) 34%,
    rgba(0,0,0,0.18) 46%,
    rgba(0,0,0,0.07) 62%,
    transparent 90%);
  filter: blur(28px);
}

.hero-half-cloud::after {
  content: "";
  position: absolute;
  inset: -8%;
  border-radius: inherit;
  background:
    conic-gradient(from 210deg,
      rgba(0,0,0,0) 0 20%,
      rgba(218, 152, 255, 0.16) 24% 38%,
      rgba(0,0,0,0) 44% 100%);
  -webkit-mask: radial-gradient(circle, transparent 6%, rgba(0,0,0,0.05) 34%, rgba(0,0,0,0.12) 46%, rgba(0,0,0,0.03) 68%, transparent 96%);
  mask: radial-gradient(circle, transparent 6%, rgba(0,0,0,0.05) 34%, rgba(0,0,0,0.12) 46%, rgba(0,0,0,0.03) 68%, transparent 96%);
  filter: blur(34px);
  opacity: 0.55;
}

.hero-half-orbit-a {
  animation: halfOrbitA 8.8s linear infinite;
}

.hero-half-orbit-b {
  width: min(33vw, 450px);
  opacity: 0.9;
  animation: halfOrbitB 6.9s linear infinite reverse;
}

.hero-half-orbit-b .hero-half-cloud {
  background:
    conic-gradient(from 22deg,
      rgba(0,0,0,0) 0 18%,
      rgba(204, 134, 255, 0.54) 20% 33%,
      rgba(98, 42, 198, 0.32) 34% 45%,
      rgba(0,0,0,0) 48% 100%);
  opacity: 0.52;
  filter: blur(30px);
}

.hero-orbit-shell {
  position: absolute;
  left: 50%;
  top: 54%;
  width: min(41vw, 560px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-orbit-cloud {
  position: absolute;
  left: 50%;
  top: 8%;
  width: 22%;
  height: 12%;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(214, 142, 255, 0.66) 0 38%, rgba(131, 60, 228, 0.32) 66%, rgba(0,0,0,0) 100%);
  filter: blur(22px);
  opacity: 0.4;
  mix-blend-mode: screen;
}

.hero-orbit-cloud::before {
  content: "";
  position: absolute;
  inset: -10% 14%;
  border-radius: inherit;
  background: radial-gradient(ellipse at 50% 50%, rgba(245, 180, 255, 0.28), rgba(0,0,0,0) 70%);
  filter: blur(6px);
}

.hero-orbit-shell-a {
  animation: orbitSpinA 8.2s linear infinite;
}

.hero-orbit-shell-b {
  width: min(35vw, 470px);
  opacity: 0.9;
  animation: orbitSpinB 6.6s linear infinite reverse;
}

.hero-orbit-shell-b .hero-orbit-cloud {
  top: 82%;
  width: 18%;
  height: 10%;
  opacity: 0.5;
  filter: blur(10px);
}

.hero-orbit-shell-c {
  width: min(30vw, 400px);
  opacity: 0.78;
  animation: orbitSpinC 10.8s linear infinite;
}

.hero-orbit-shell-c .hero-orbit-cloud {
  top: 18%;
  left: 68%;
  width: 15%;
  height: 9%;
  opacity: 0.42;
  filter: blur(9px);
}

.hero-nebula-ring {
  position: absolute;
  left: 50%;
  top: 54%;
  width: min(37vw, 520px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 0;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.003) inset,
    0 0 120px rgba(142, 66, 229, 0.035);
  filter: blur(4px);
  opacity: 0.22;
  animation: ringBreathe 6.2s ease-in-out infinite;
}

@keyframes nebulaGlowPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.78; }
  50% { transform: translate(-50%, -50%) scale(1.05); opacity: 0.98; }
}

@keyframes nebulaFloat {
  0%, 100% { transform: translate(-50%, -50%) scale(1) rotate(0deg); filter: blur(48px) saturate(1.16); }
  25% { transform: translate(-50.8%, -49.2%) scale(1.04) rotate(10deg); filter: blur(52px) saturate(1.2); }
  55% { transform: translate(-49.1%, -50.9%) scale(1.1) rotate(20deg); filter: blur(56px) saturate(1.24); }
  80% { transform: translate(-50.3%, -49.6%) scale(1.03) rotate(11deg); filter: blur(50px) saturate(1.18); }
}

@keyframes nebulaSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes nebulaInnerSpin {
  from { transform: translate(-50%, -50%) rotate(0deg) scale(1); }
  50% { transform: translate(-50%, -50%) rotate(160deg) scale(1.03); }
  to { transform: translate(-50%, -50%) rotate(360deg) scale(1); }
}

@keyframes halfOrbitA {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  50% { transform: translate(-50%, -50%) rotate(182deg) scale(1.02); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes halfOrbitB {
  0% { transform: translate(-50%, -50%) rotate(38deg); }
  35% { transform: translate(-50%, -50%) rotate(150deg) scale(1.015); }
  70% { transform: translate(-50%, -50%) rotate(265deg) scale(0.99); }
  100% { transform: translate(-50%, -50%) rotate(398deg); }
}

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

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

@keyframes orbitSpinC {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  50% { transform: translate(-50%, -50%) rotate(190deg) scale(1.02); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes ringBreathe {
  0%, 100% { opacity: 0.18; transform: translate(-50%, -50%) scale(0.98); }
  50% { opacity: 0.34; transform: translate(-50%, -50%) scale(1.02); }
}

.hero-center-wrap {
  position: relative;
  z-index: 2;
  width: min(1300px, calc(100% - 2rem));
  margin-inline: auto;
}

.hero-center {
  min-height: calc(100svh - var(--header-h));
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-content: center;
  justify-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: clamp(1.75rem, 4vw, 3.25rem) 1rem 2rem;
}

.hero-center > * {
  justify-self: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.28rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(16, 12, 23, 0.88);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.8rem;
  line-height: 1;
  background: linear-gradient(135deg, #6f3cc8, #9f60ff);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
}

.hero-badge-copy {
  padding: 0 0.5rem 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
  white-space: nowrap;
}

.hero-display {
  margin-top: 0.25rem;
  font-size: clamp(2.2rem, 5.3vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  color: #fff;
  max-width: 14ch;
  text-wrap: balance;
  min-height: 1.15em;
  text-shadow: 0 0 1px rgba(255,255,255,0.06);
}

.hero-display.typewrite {
  position: relative;
  opacity: 0;
  transition: opacity 220ms ease;
}

.hero-display.typewrite.is-typing,
.hero-display.typewrite.done {
  opacity: 1;
}

.hero-display.typewrite.is-typing::after {
  content: "";
  display: inline-block;
  width: 0.08em;
  height: 0.86em;
  margin-left: 0.08em;
  vertical-align: -0.08em;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 12px rgba(223, 122, 254, 0.35);
}

.hero-subtitle {
  max-width: 34ch;
  font-size: clamp(0.96rem, 1.45vw, 1.05rem);
  color: rgba(255, 255, 255, 0.78);
  text-wrap: balance;
  margin-top: -0.05rem;
  margin-inline: auto;
}

.hero-cinematic .hero-cta {
  margin-top: 0.3rem;
  justify-content: center;
  gap: 0.7rem;
}

.hero-cinematic .btn {
  min-width: 124px;
  border-radius: 10px;
  padding: 0.78rem 0.95rem;
  font-size: 0.9rem;
}

.hero-cinematic .btn-primary {
  background: linear-gradient(135deg, #7b47d9, #9f62ff);
  box-shadow: 0 14px 40px rgba(116, 64, 214, 0.33);
}

.hero-cinematic .btn-secondary {
  background: rgba(21, 18, 27, 0.9);
  border-color: rgba(255, 255, 255, 0.1);
}

.hero-marquee-wrap {
  width: 720px;
  max-width: calc(100vw - 3rem);
  margin-top: 0.2rem;
}

.hero-marquee {
  width: 100%;
  background: rgba(15, 12, 21, 0.65);
  border-color: rgba(255, 255, 255, 0.07);
}

.hero-marquee .chip {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
}

.hero-seq {
  opacity: 0;
  transform: translateY(8px);
  filter: blur(3px);
}

.hero-intro-ready .hero-seq {
  animation: heroSeqIn 700ms cubic-bezier(.16,.84,.22,1) forwards;
  animation-delay: var(--hero-seq-delay, 0ms);
}

@keyframes heroSeqIn {
  from { opacity: 0; transform: translateY(8px); filter: blur(3px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@media (max-width: 1100px) {
  .hero-layout,
  .faq-layout,
  .contact-grid,
  .blog-grid,
  .page-hero-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .cards-grid,
  .benefits-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .page-hero-copy {
    min-height: unset;
  }

  .post-card {
    grid-template-columns: 1fr;
  }

  .post-card .thumb {
    aspect-ratio: 16 / 9;
  }

  .hero-nebula,
  .hero-nebula-glow,
  .hero-nebula-ring {
    width: min(64vw, 520px);
  }

  .hero-half-orbit {
    width: min(62vw, 520px);
  }

  .hero-half-orbit-b {
    width: min(52vw, 430px);
  }

  .hero-orbit-shell {
    width: min(68vw, 560px);
  }

  .hero-orbit-shell-b {
    width: min(58vw, 470px);
  }

  .hero-orbit-shell-c {
    width: min(48vw, 400px);
  }

  .hero-nebula-inner {
    width: min(34vw, 305px);
  }
}

@media (max-width: 860px) {
  :root {
    --header-h: 72px;
  }

  .nav-links,
  .nav-actions .btn:not(.mobile-menu-btn) {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .mobile-menu {
    display: none;
    border-top: 1px solid var(--line);
    padding: 0 0 0.85rem;
  }

  .mobile-menu.open {
    display: grid;
    gap: 0.35rem;
  }

  .mobile-menu a {
    padding: 0.7rem 0.9rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-soft);
  }

  .mobile-menu a[aria-current="page"] {
    color: #fff;
    border-color: rgba(223, 122, 254, 0.24);
    background: rgba(129, 74, 200, 0.16);
  }

  .home-page .brand-label {
    display: grid;
  }

  .home-page .nav-links {
    gap: 0.35rem;
  }

  .metrics {
    grid-template-columns: 1fr;
  }

  .visual-grid {
    grid-template-columns: 1fr;
  }

  .cards-grid,
  .benefits-grid,
  .footer-links,
  .grid-2,
  .form-row,
  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .team-gallery {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 4rem 0;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero-cinematic {
    min-height: calc(88svh - var(--header-h));
  }

  .hero-center {
    min-height: calc(88svh - var(--header-h));
    gap: 0.85rem;
    padding-top: 1.5rem;
  }

  .hero-badge-copy {
    max-width: 30vw;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero-display {
    font-size: clamp(2rem, 11vw, 3.4rem);
    max-width: 11ch;
  }

  .hero-subtitle {
    max-width: 26ch;
    font-size: 1rem;
  }

  .hero-cinematic .hero-cta .btn {
    min-width: 0;
    width: auto;
    padding-inline: 0.95rem;
  }

  .hero-marquee-wrap {
    width: 100%;
  }

  .hero-nebula,
  .hero-nebula-glow,
  .hero-nebula-ring {
    width: min(88vw, 460px);
    top: 50%;
  }

  .hero-half-orbit {
    width: min(86vw, 430px);
    top: 50%;
  }

  .hero-half-orbit-b {
    width: min(72vw, 360px);
  }

  .hero-nebula-inner {
    width: min(52vw, 250px);
    top: 50%;
  }

  .hero-orbit-shell {
    width: min(92vw, 470px);
    top: 50%;
  }

  .hero-orbit-shell-b {
    width: min(78vw, 390px);
  }

  .hero-orbit-shell-c {
    width: min(66vw, 320px);
  }

  .hero-copy,
  .hero-visual,
  .cta-panel,
  .page-hero-panel {
    border-radius: 20px;
  }

  .process-progress {
    left: 1.45rem;
  }

  .step-card {
    grid-template-columns: 1fr;
    gap: 0.55rem;
    padding-left: 2.35rem;
  }

  .step-dot {
    position: absolute;
    left: 0.85rem;
    top: 1rem;
    margin-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .reveal,
  .hero-title .word,
  .hero-seq {
    opacity: 1 !important;
    transform: none !important;
  }
}
