/* ============================================
   STRATIUM DATA — Design System & Styles
   ============================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Brand Colors (HSL) */
  --bg: 100 20% 4%;
  --bg-card: 100 20% 8%;
  --fg: 0 0% 100%;
  --fg-muted: 0 0% 65%;

  --pink: 335 100% 56%;
  --cyan: 170 82% 59%;
  --yellow: 61 100% 53%;

  --border: 100 10% 20%;
  --muted: 100 10% 15%;

  /* Functional aliases */
  --primary: var(--pink);
  --secondary: var(--cyan);
  --accent: var(--yellow);

  /* Typography */
  --font-headline: 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Space Grotesk', system-ui, -apple-system, sans-serif;

  /* Spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-2xl: 8rem;

  /* Layout */
  --container: 1200px;
  --container-narrow: 900px;
  --radius: 0.75rem;
  --radius-lg: 1.25rem;

  /* Transitions */
  --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration: 0.6s;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: hsl(var(--bg));
  color: hsl(var(--fg));
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headline);
  line-height: 1.15;
  font-weight: 700;
}

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

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

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
}

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container--narrow {
  max-width: var(--container-narrow);
}

.text-pink    { color: hsl(var(--pink)); }
.text-cyan    { color: hsl(var(--cyan)); }
.text-yellow  { color: hsl(var(--yellow)); }
.text-muted   { color: hsl(var(--fg-muted)); }

.gradient-text {
  background: linear-gradient(135deg, hsl(var(--pink)), hsl(var(--yellow)), hsl(var(--cyan)), hsl(var(--pink)));
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 6s ease-in-out infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out),
              transform 0.8s var(--ease-out),
              filter 0.8s var(--ease-out);
  will-change: opacity, transform;
  filter: blur(4px);
}

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

/* Directional reveals */
.reveal--left {
  transform: translateX(-60px) translateY(0);
}
.reveal--left.is-visible {
  transform: translateX(0) translateY(0);
}

.reveal--right {
  transform: translateX(60px) translateY(0);
}
.reveal--right.is-visible {
  transform: translateX(0) translateY(0);
}

.reveal--scale {
  transform: scale(0.85) translateY(20px);
}
.reveal--scale.is-visible {
  transform: scale(1) translateY(0);
}

.reveal--rotate {
  transform: perspective(800px) rotateX(8deg) translateY(40px);
  transform-origin: bottom center;
}
.reveal--rotate.is-visible {
  transform: perspective(800px) rotateX(0deg) translateY(0);
}

/* Stagger children — wider delays for drama */
.reveal-group .reveal:nth-child(1) { transition-delay: 0ms; }
.reveal-group .reveal:nth-child(2) { transition-delay: 120ms; }
.reveal-group .reveal:nth-child(3) { transition-delay: 240ms; }
.reveal-group .reveal:nth-child(4) { transition-delay: 360ms; }
.reveal-group .reveal:nth-child(5) { transition-delay: 480ms; }
.reveal-group .reveal:nth-child(6) { transition-delay: 600ms; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
}

.btn--primary {
  background: hsl(var(--pink));
  color: #fff;
  box-shadow: 0 0 20px hsl(var(--pink) / 0.15), 0 0 0 0 hsl(var(--pink) / 0);
  position: relative;
  overflow: hidden;
}

.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, hsl(0 0% 100% / 0.15), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease-out);
}

.btn--primary:hover::before {
  transform: translateX(100%);
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px hsl(var(--pink) / 0.4), 0 0 60px hsl(var(--pink) / 0.15);
}

.btn--outline {
  border: 1.5px solid hsl(var(--border));
  color: hsl(var(--fg));
}

.btn--outline:hover {
  border-color: hsl(var(--pink));
  color: hsl(var(--pink));
  transform: translateY(-2px);
}

.btn__arrow {
  transition: transform 0.3s var(--ease-out);
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: all 0.4s var(--ease-out);
}

.nav.is-scrolled {
  background: hsl(var(--bg) / 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid hsl(var(--border) / 0.5);
  padding: 0.75rem 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1.375rem;
  letter-spacing: -0.02em;
}

.nav__logo img {
  width: 32px;
  height: 32px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: hsl(var(--fg-muted));
  transition: color 0.3s var(--ease-out);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: hsl(var(--pink));
  transition: width 0.3s var(--ease-out);
}

.nav__link:hover {
  color: hsl(var(--fg));
}

.nav__link:hover::after {
  width: 100%;
}

.nav__cta {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

/* Mobile nav */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: hsl(var(--fg));
  transition: all 0.3s var(--ease-out);
  border-radius: 2px;
}

.nav__toggle.is-active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.is-active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: hsl(var(--bg) / 0.97);
  backdrop-filter: blur(20px);
  z-index: 99;
  padding: 6rem 2rem 2rem;
  flex-direction: column;
  gap: 2rem;
}

.nav__mobile.is-open {
  display: flex;
}

.nav__mobile a {
  font-size: 1.5rem;
  font-weight: 600;
  color: hsl(var(--fg));
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--space-2xl) 1.5rem;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, hsl(var(--bg) / 0.7) 0%, hsl(var(--bg) / 0.5) 40%, hsl(var(--bg)) 100%);
}

/* Gradient orbs — larger and more animated */
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  animation: orb-drift 12s ease-in-out infinite;
}

.hero__orb--pink {
  width: 600px;
  height: 600px;
  background: hsl(var(--pink) / 0.18);
  top: 5%;
  left: 10%;
  animation-name: orb-drift-1;
}

.hero__orb--cyan {
  width: 500px;
  height: 500px;
  background: hsl(var(--cyan) / 0.12);
  bottom: 10%;
  right: 5%;
  animation-name: orb-drift-2;
  animation-delay: 2s;
}

.hero__orb--yellow {
  width: 400px;
  height: 400px;
  background: hsl(var(--yellow) / 0.08);
  top: 40%;
  right: 25%;
  animation-name: orb-drift-3;
  animation-delay: 4s;
}

@keyframes orb-drift-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

@keyframes orb-drift-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-50px, 20px) scale(1.05); }
  66% { transform: translate(30px, -40px) scale(1.1); }
}

@keyframes orb-drift-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, 30px) scale(1.08); }
  66% { transform: translate(-40px, -20px) scale(0.92); }
}

/* Subtle grid overlay */
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(hsl(var(--border) / 0.15) 1px, transparent 1px),
    linear-gradient(90deg, hsl(var(--border) / 0.15) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, black 20%, transparent 70%);
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 56rem;
}

.hero__title {
  font-size: clamp(2.75rem, 7vw, 5rem);
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero__subtitle {
  font-size: clamp(1.1rem, 2vw, 1.375rem);
  color: hsl(var(--fg-muted));
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero__subtitle strong {
  color: hsl(var(--fg));
  font-weight: 600;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero__badges {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: hsl(var(--fg-muted));
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero__badge-dot--pink   { background: hsl(var(--pink)); }
.hero__badge-dot--cyan   { background: hsl(var(--cyan)); animation-delay: 0.5s; }
.hero__badge-dot--yellow { background: hsl(var(--yellow)); animation-delay: 1s; }

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: hsl(var(--fg-muted) / 0.5);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, hsl(var(--fg-muted) / 0.4), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}

/* ---------- Section Shared ---------- */
.section {
  padding: var(--space-2xl) 0;
  position: relative;
}

.section--muted {
  background: hsl(var(--bg-card) / 0.3);
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-xl);
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.section__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 100px;
  background: hsl(var(--pink) / 0.1);
  color: hsl(var(--pink));
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.section__title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.section__divider {
  width: 0;
  height: 3px;
  border-radius: 3px;
  margin: 1.25rem auto;
  background: linear-gradient(90deg, hsl(var(--pink)), hsl(var(--cyan)));
  transition: width 1s var(--ease-spring);
}

.reveal.is-visible .section__divider,
.section__divider.is-visible {
  width: 80px;
}

.section__desc {
  font-size: 1.125rem;
  color: hsl(var(--fg-muted));
  line-height: 1.7;
  max-width: 40rem;
  margin: 0 auto;
}

.section__desc strong {
  color: hsl(var(--fg));
  font-weight: 600;
}

/* ---------- Problem → Solution ---------- */
.problem-solution {
  display: grid;
  gap: var(--space-xl);
}

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

.ps__card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid hsl(var(--border) / 0.5);
  background: hsl(var(--bg-card) / 0.5);
  backdrop-filter: blur(8px);
  transition: all 0.4s var(--ease-out);
  transform-style: preserve-3d;
  perspective: 600px;
}

.ps__card:hover {
  border-color: hsl(var(--pink) / 0.5);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px hsl(var(--pink) / 0.12), 0 0 40px hsl(var(--pink) / 0.06);
}

.ps__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.ps__icon--pink   { background: hsl(var(--pink) / 0.1); color: hsl(var(--pink)); }
.ps__icon--cyan   { background: hsl(var(--cyan) / 0.1); color: hsl(var(--cyan)); }
.ps__icon--yellow { background: hsl(var(--yellow) / 0.1); color: hsl(var(--yellow)); }

.ps__card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.ps__card p {
  font-size: 0.95rem;
  color: hsl(var(--fg-muted));
  line-height: 1.6;
}

.ps__answer {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
  font-size: 1.125rem;
  color: hsl(var(--fg) / 0.85);
  line-height: 1.8;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid hsl(var(--border) / 0.3);
  background: linear-gradient(135deg, hsl(var(--bg-card) / 0.5), hsl(var(--bg) / 0.5));
}

.ps__answer strong {
  color: hsl(var(--pink));
  font-weight: 600;
}

/* ---------- Architecture ---------- */
.arch__layers {
  max-width: 52rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.arch__layer {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 2px solid transparent;
  transition: all 0.4s var(--ease-out);
  position: relative;
}

.arch__layer--policy {
  background: linear-gradient(135deg, hsl(var(--pink) / 0.08), hsl(var(--pink) / 0.02));
  border-color: hsl(var(--pink) / 0.25);
}

.arch__layer--entitlement {
  background: linear-gradient(135deg, hsl(var(--cyan) / 0.08), hsl(var(--cyan) / 0.02));
  border-color: hsl(var(--cyan) / 0.25);
  margin-left: 2rem;
}

.arch__layer--encryption {
  background: linear-gradient(135deg, hsl(var(--yellow) / 0.08), hsl(var(--yellow) / 0.02));
  border-color: hsl(var(--yellow) / 0.25);
  margin-left: 4rem;
}

.arch__layer:hover {
  transform: translateX(12px) scale(1.01);
}

.arch__layer--policy:hover    { border-color: hsl(var(--pink) / 0.8); box-shadow: 0 12px 48px hsl(var(--pink) / 0.15), inset 0 0 30px hsl(var(--pink) / 0.03); }
.arch__layer--entitlement:hover { border-color: hsl(var(--cyan) / 0.8); box-shadow: 0 12px 48px hsl(var(--cyan) / 0.15), inset 0 0 30px hsl(var(--cyan) / 0.03); }
.arch__layer--encryption:hover  { border-color: hsl(var(--yellow) / 0.8); box-shadow: 0 12px 48px hsl(var(--yellow) / 0.15), inset 0 0 30px hsl(var(--yellow) / 0.03); }

.arch__layer-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.arch__layer--policy .arch__layer-icon    { background: hsl(var(--pink) / 0.15); }
.arch__layer--entitlement .arch__layer-icon { background: hsl(var(--cyan) / 0.15); }
.arch__layer--encryption .arch__layer-icon  { background: hsl(var(--yellow) / 0.15); }

.arch__layer-title {
  font-size: 1.375rem;
  margin-bottom: 0.25rem;
}

.arch__layer--policy .arch__layer-title    { color: hsl(var(--pink)); }
.arch__layer--entitlement .arch__layer-title { color: hsl(var(--cyan)); }
.arch__layer--encryption .arch__layer-title  { color: hsl(var(--yellow)); }

.arch__layer-subtitle {
  font-size: 0.85rem;
  color: hsl(var(--fg-muted));
  margin-bottom: 0.75rem;
}

.arch__layer-desc {
  font-size: 0.95rem;
  color: hsl(var(--fg) / 0.75);
  line-height: 1.6;
}

.arch__binding {
  text-align: center;
  margin-top: var(--space-lg);
  padding: 1.5rem 2rem;
  border-radius: var(--radius-lg);
  background: hsl(var(--bg-card));
  border: 1px solid hsl(var(--border) / 0.5);
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.arch__binding-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 100px;
  background: hsl(var(--pink) / 0.1);
  color: hsl(var(--pink));
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.arch__binding p {
  color: hsl(var(--fg-muted));
  line-height: 1.7;
}

/* ---------- Capabilities ---------- */
.capabilities__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: var(--space-lg);
}

.cap__card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid hsl(var(--border) / 0.5);
  background: hsl(var(--bg) / 0.5);
  backdrop-filter: blur(8px);
  transition: all 0.5s var(--ease-out);
  position: relative;
  overflow: hidden;
}

/* Animated glow border on hover */
.cap__card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: conic-gradient(from 0deg, hsl(var(--pink)), hsl(var(--yellow)), hsl(var(--cyan)), hsl(var(--pink)));
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
  z-index: -2;
  animation: rotate-glow 4s linear infinite;
}

.cap__card::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: hsl(var(--bg));
  z-index: -1;
}

.cap__card:hover::before {
  opacity: 1;
}

.cap__card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 24px 60px hsl(var(--pink) / 0.12);
  border-color: transparent;
}

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

.cap__card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

.cap__card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.cap__card-tag {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-family: 'Space Mono', monospace;
  margin-bottom: 0.75rem;
}

.cap__card p {
  font-size: 0.95rem;
  color: hsl(var(--fg-muted));
  line-height: 1.6;
}

/* Deployment row */
.deploy__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.deploy__card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid hsl(var(--border) / 0.5);
  background: hsl(var(--bg-card));
  text-align: center;
  transition: all 0.4s var(--ease-out);
}

.deploy__card:hover {
  border-color: hsl(var(--cyan) / 0.6);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px hsl(var(--cyan) / 0.12), 0 0 40px hsl(var(--cyan) / 0.06);
}

.deploy__card-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.75rem;
  background: linear-gradient(135deg, hsl(var(--cyan) / 0.15), hsl(var(--cyan) / 0.05));
}

.deploy__card h3 {
  font-size: 1.375rem;
  margin-bottom: 0.5rem;
}

.deploy__card p {
  font-size: 0.9rem;
  color: hsl(var(--fg-muted));
  margin-bottom: 1rem;
  line-height: 1.6;
}

.deploy__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.deploy__features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: hsl(var(--fg) / 0.8);
}

.deploy__features li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: hsl(var(--cyan));
  flex-shrink: 0;
}

/* ---------- Trust ---------- */
.trust__badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: var(--space-lg);
}

.trust__badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid hsl(var(--border) / 0.5);
  background: hsl(var(--bg-card));
  transition: all 0.4s var(--ease-out);
}

.trust__badge:hover {
  border-color: hsl(var(--yellow) / 0.5);
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 16px 40px hsl(var(--yellow) / 0.12), 0 0 30px hsl(var(--yellow) / 0.06);
}

.trust__badge:hover .trust__badge-icon {
  animation: badge-pulse 0.6s var(--ease-spring);
}

@keyframes badge-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.trust__badge-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.trust__badge span {
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

.trust__benefits {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 48rem;
  margin: 0 auto var(--space-lg);
}

.trust__benefit {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border) / 0.4);
  background: hsl(var(--bg) / 0.5);
  transition: all 0.3s var(--ease-out);
}

.trust__benefit:hover {
  border-color: hsl(var(--pink) / 0.4);
  background: hsl(var(--bg-card) / 0.5);
}

.trust__benefit-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: hsl(var(--pink) / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: hsl(var(--pink));
  font-size: 0.9rem;
}

.trust__benefit p {
  font-size: 1rem;
  color: hsl(var(--fg) / 0.9);
}

.trust__statement {
  max-width: 48rem;
  margin: 0 auto;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, hsl(var(--muted) / 0.3), hsl(var(--muted) / 0.1));
  border: 1px solid hsl(var(--border) / 0.5);
  text-align: center;
}

.trust__statement p {
  color: hsl(var(--fg) / 0.8);
  line-height: 1.8;
}

/* ---------- Insights ---------- */
.insights__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.insight__card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid hsl(var(--border) / 0.5);
  background: hsl(var(--bg));
  transition: all 0.4s var(--ease-out);
  display: flex;
  flex-direction: column;
}

.insight__card:hover {
  border-color: hsl(var(--pink) / 0.5);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px hsl(var(--pink) / 0.12), 0 0 40px hsl(var(--pink) / 0.06);
}

.insight__card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.insight__card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, hsl(var(--pink) / 0.15), hsl(var(--pink) / 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.insight__card-arrow {
  color: hsl(var(--fg-muted));
  transition: all 0.3s var(--ease-out);
  font-size: 1.25rem;
}

.insight__card:hover .insight__card-arrow {
  color: hsl(var(--pink));
  transform: translateX(4px);
}

.insight__card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  transition: color 0.3s var(--ease-out);
  flex-grow: 1;
}

.insight__card:hover h3 {
  color: hsl(var(--pink));
}

.insight__card p {
  font-size: 0.9rem;
  color: hsl(var(--fg-muted));
  line-height: 1.6;
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  padding: var(--space-2xl) 0;
  overflow: hidden;
}

.cta__bg {
  position: absolute;
  inset: 0;
}

.cta__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  animation: float 8s ease-in-out infinite;
}

.cta__orb--1 {
  width: 400px;
  height: 400px;
  background: hsl(var(--pink) / 0.1);
  top: 20%;
  left: 20%;
}

.cta__orb--2 {
  width: 350px;
  height: 350px;
  background: hsl(var(--cyan) / 0.08);
  bottom: 20%;
  right: 20%;
  animation-delay: 2s;
}

.cta__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 52rem;
  margin: 0 auto;
}

.cta__title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.cta__desc {
  font-size: 1.25rem;
  color: hsl(var(--fg-muted));
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.cta__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.footer {
  padding: var(--space-xl) 0 var(--space-lg);
  border-top: 1px solid hsl(var(--border) / 0.5);
  background: hsl(var(--bg-card) / 0.3);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.footer__brand img {
  width: 28px;
  height: 28px;
}

.footer__brand span {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1.125rem;
}

.footer__copy {
  font-size: 0.85rem;
  color: hsl(var(--fg-muted));
}

/* ---------- Animations ---------- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

@keyframes scroll-line {
  0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
  100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

/* Hero title word-by-word reveal */
.hero__title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px) rotateX(40deg);
  animation: word-reveal 0.7s var(--ease-out) forwards;
  transform-origin: bottom center;
}

/* Gradient-text animates as one block, not per-word */
.hero__title .gradient-text {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px) rotateX(40deg);
  animation: word-reveal 0.7s var(--ease-out) forwards;
  transform-origin: bottom center;
}

@keyframes word-reveal {
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
  }
}

/* Glowing line between sections */
.section-glow-line {
  width: 100%;
  height: 1px;
  position: relative;
  overflow: hidden;
}

.section-glow-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, hsl(var(--pink) / 0.6), hsl(var(--cyan) / 0.6), transparent);
  animation: glow-sweep 4s ease-in-out infinite;
}

@keyframes glow-sweep {
  0% { left: -50%; }
  100% { left: 100%; }
}

/* 3D tilt effect (set via JS) */
.tilt-card {
  transition: transform 0.15s var(--ease-out), box-shadow 0.3s var(--ease-out);
  transform-style: preserve-3d;
}

/* Floating particle dots (for hero) */
.hero__particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  animation: particle-float linear infinite;
  opacity: 0.4;
  pointer-events: none;
}

@keyframes particle-float {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 0.4; }
  90% { opacity: 0.4; }
  100% { transform: translateY(-100vh) translateX(30px); opacity: 0; }
}

/* CTA background orbs — scroll-aware via JS */
.cta__orb {
  transition: transform 0.1s linear;
}

/* Trust benefit check animation */
.trust__benefit:hover .trust__benefit-check {
  animation: check-pop 0.4s var(--ease-spring);
}

@keyframes check-pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.3) rotate(10deg); }
  100% { transform: scale(1); }
}

/* Platform feature stagger from alternating sides */
.platform__features .platform__feature:nth-child(odd) .reveal--alt {
  transform: translateX(-40px);
}
.platform__features .platform__feature:nth-child(even) .reveal--alt {
  transform: translateX(40px);
}

/* ---------- Page styles ---------- */
.page {
  padding-top: 6rem;
  min-height: 100vh;
}

.page__header {
  text-align: center;
  padding: var(--space-xl) 0;
  position: relative;
  overflow: hidden;
}

.page__header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, hsl(var(--bg-card) / 0.5), hsl(var(--bg)));
}

.page__header > * {
  position: relative;
  z-index: 1;
}

.page__title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.page__desc {
  font-size: 1.125rem;
  color: hsl(var(--fg-muted));
  max-width: 36rem;
  margin: 0 auto;
  line-height: 1.7;
}

/* Platform page */
.platform__features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding: var(--space-xl) 0;
}

.platform__feature {
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid hsl(var(--border) / 0.5);
  background: hsl(var(--bg-card) / 0.5);
  transition: all 0.4s var(--ease-out);
}

.platform__feature:hover {
  border-color: hsl(var(--pink) / 0.5);
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 60px hsl(var(--pink) / 0.1), 0 0 40px hsl(var(--pink) / 0.04);
}

.platform__feature:hover .platform__feature-icon {
  animation: icon-bounce 0.5s var(--ease-spring);
}

@keyframes icon-bounce {
  0% { transform: scale(1) rotate(0deg); }
  40% { transform: scale(1.2) rotate(-5deg); }
  70% { transform: scale(0.95) rotate(2deg); }
  100% { transform: scale(1) rotate(0deg); }
}

.platform__feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.platform__feature h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.platform__feature p {
  font-size: 0.95rem;
  color: hsl(var(--fg-muted));
  line-height: 1.6;
}

/* Docs page */
.docs__layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
  padding: var(--space-lg) 0 var(--space-2xl);
}

.docs__sidebar {
  position: sticky;
  top: 6rem;
  align-self: start;
}

.docs__nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.docs__nav-link {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: hsl(var(--fg-muted));
  transition: all 0.2s var(--ease-out);
}

.docs__nav-link:hover,
.docs__nav-link.is-active {
  background: hsl(var(--bg-card));
  color: hsl(var(--fg));
}

.docs__nav-link.is-active {
  border-left: 2px solid hsl(var(--pink));
}

.docs__content {
  min-width: 0;
}

.docs__content h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid hsl(var(--border) / 0.5);
}

.docs__content h3 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
}

.docs__content p {
  color: hsl(var(--fg-muted));
  margin-bottom: 1rem;
  line-height: 1.7;
}

.docs__content code {
  background: hsl(var(--bg-card));
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9em;
  color: hsl(var(--pink));
}

.docs__content pre {
  background: hsl(var(--bg-card));
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: var(--radius);
  padding: 1.25rem;
  overflow-x: auto;
  margin-bottom: 1.5rem;
}

.docs__content pre code {
  background: none;
  padding: 0;
  color: hsl(var(--fg) / 0.85);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Request demo page */
.demo__form {
  max-width: 32rem;
  margin: 0 auto;
  padding: var(--space-xl) 0 var(--space-2xl);
}

.form__group {
  margin-bottom: 1.5rem;
}

.form__label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: hsl(var(--fg) / 0.9);
}

.form__input,
.form__textarea,
.form__select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  background: hsl(var(--bg-card));
  color: hsl(var(--fg));
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s var(--ease-out);
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  outline: none;
  border-color: hsl(var(--pink));
  box-shadow: 0 0 0 3px hsl(var(--pink) / 0.15);
}

.form__textarea {
  min-height: 120px;
  resize: vertical;
}

.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* 404 page */
.not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  text-align: center;
  padding: 2rem;
}

.not-found__code {
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 1rem;
}

.not-found__title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: hsl(var(--fg-muted));
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .capabilities__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }

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

  .arch__layer--entitlement { margin-left: 0; }
  .arch__layer--encryption  { margin-left: 0; }

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

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

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

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

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

  .docs__sidebar {
    position: static;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .trust__badges {
    grid-template-columns: 1fr;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .cta__actions {
    flex-direction: column;
    align-items: center;
  }
}
