/* Atlas Core cinematic experience — additive layer over the original landing styles. */
:root {
  --atlas-ink: #050810;
  --atlas-ink-2: #09111f;
  --atlas-panel: rgba(10, 20, 35, 0.72);
  --atlas-panel-solid: #0b1626;
  --atlas-line: rgba(157, 218, 255, 0.14);
  --atlas-line-hot: rgba(76, 221, 255, 0.4);
  --atlas-text: #f5f8ff;
  --atlas-muted: #9eabc0;
  --atlas-cyan: #55e5ff;
  --atlas-blue: #3c7dff;
  --atlas-violet: #8b6cff;
  --atlas-champagne: #d9c6a2;
  --atlas-radius: 28px;
  --atlas-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body.atlas-cinematic {
  --pointer-x: 50vw;
  --pointer-y: 30vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--atlas-text);
  font-family: "Manrope", sans-serif;
  background: #070b12;
}

body.atlas-cinematic::before {
  display: none;
}

body.atlas-cinematic::after {
  display: none;
}

body.atlas-cinematic .noise-bg,
body.atlas-cinematic .landing-animated-background {
  display: none;
}

body.atlas-cinematic[data-theme="light"] {
  --atlas-ink: #eef3f7;
  --atlas-ink-2: #f9fbfd;
  --atlas-panel: rgba(255,255,255,.75);
  --atlas-panel-solid: #fff;
  --atlas-line: rgba(11, 39, 68, .13);
  --atlas-text: #071321;
  --atlas-muted: #53657a;
  --atlas-cyan-text: #0f7ea3;
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(39, 174, 214, .11), transparent 25rem),
    linear-gradient(180deg, #edf5f8, #f8fafc 55%, #eaf1f5);
}

/* Bright cyan reads fine on dark glows/lines but is unreadable as text on a light
   background — retarget every text usage to a darker, still-brand-accurate teal. */
body.atlas-cinematic[data-theme="light"] :is(.eyebrow, .proof-stat strong) {
  color: var(--atlas-cyan-text);
}

.landing-scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 2px;
  z-index: 10001;
  background: rgba(255,255,255,.04);
}

.landing-scroll-progress i {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left;
  background: linear-gradient(90deg, var(--atlas-cyan), var(--atlas-violet), var(--atlas-champagne));
  box-shadow: 0 0 20px var(--atlas-cyan);
}

body.atlas-cinematic h1,
body.atlas-cinematic h2,
body.atlas-cinematic h3,
body.atlas-cinematic strong {
  font-family: "Sora", sans-serif;
  letter-spacing: -.035em;
}

body.atlas-cinematic p,
body.atlas-cinematic li,
body.atlas-cinematic span {
  text-wrap: pretty;
}

body.atlas-cinematic .topbar {
  position: fixed;
  inset: 14px 20px auto;
  width: auto;
  z-index: 1000;
  max-width: 1480px;
  margin-inline: auto;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 20px;
  background: rgba(5, 10, 18, .62);
  box-shadow: 0 14px 50px rgba(0,0,0,.2);
  backdrop-filter: blur(22px) saturate(145%);
  transition: background .35s ease, transform .35s ease, border-color .35s ease;
}

body.atlas-cinematic .topbar {
  gap: 18px;
}

body.atlas-cinematic .brand {
  flex: 0 0 auto;
}

body.atlas-cinematic .top-actions {
  flex: 0 0 auto;
  flex-wrap: nowrap;
}

body.atlas-cinematic .topbar.is-scrolled {
  background: rgba(5, 10, 18, .88);
  border-color: rgba(85,229,255,.18);
  transform: translateY(-4px);
}

body.atlas-cinematic[data-theme="light"] .topbar {
  color: #071321;
  border-color: rgba(11,39,68,.12);
  background: rgba(248,252,255,.76);
  box-shadow: 0 14px 50px rgba(35,68,90,.12);
}

body.atlas-cinematic[data-theme="light"] .topbar.is-scrolled {
  background: rgba(248,252,255,.94);
  border-color: rgba(17,151,189,.22);
}

body.atlas-cinematic .brand img {
  filter: drop-shadow(0 0 18px rgba(80,218,255,.18));
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 32px);
  margin-inline: auto;
}

.primary-nav a {
  position: relative;
  color: var(--atlas-muted);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .25s ease;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 -8px;
  height: 1px;
  transform: scaleX(0);
  background: var(--atlas-cyan);
  transition: transform .25s ease;
}

.primary-nav a:hover { color: var(--atlas-text); }
.primary-nav a:hover::after { transform: scaleX(1); }

.mobile-menu-toggle {
  display: none;
  border: 0;
  color: var(--atlas-text);
  background: transparent;
}

body.atlas-cinematic .primary-cta,
body.atlas-cinematic .secondary-cta,
body.atlas-cinematic .trust-cta {
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

body.atlas-cinematic .primary-cta {
  color: #031018;
  border: 1px solid rgba(255,255,255,.45);
  background: linear-gradient(110deg, #dffbff 0%, #57e4ff 45%, #7aa8ff 100%);
  box-shadow: 0 10px 32px rgba(45, 200, 243, .22), inset 0 1px rgba(255,255,255,.65);
}

body.atlas-cinematic .primary-cta::before {
  content: "";
  position: absolute;
  inset: -100% 45%;
  width: 30%;
  transform: rotate(18deg);
  background: rgba(255,255,255,.45);
  transition: transform .7s ease;
}

body.atlas-cinematic .primary-cta > span {
  position: relative;
  z-index: 1;
}

body.atlas-cinematic .primary-cta:hover::before { transform: translateX(260%) rotate(18deg); }
body.atlas-cinematic .primary-cta:hover { box-shadow: 0 16px 50px rgba(45, 200, 243, .32); }
body.atlas-cinematic .secondary-cta {
  color: var(--atlas-text);
  border: 1px solid var(--atlas-line);
  background: rgba(255,255,255,.045);
  backdrop-filter: blur(12px);
}
body.atlas-cinematic .secondary-cta:hover { border-color: var(--atlas-line-hot); }

body.atlas-cinematic main { isolation: isolate; }

body.atlas-cinematic .hero {
  position: relative;
  min-height: 100svh;
  width: min(100% - 40px, 1540px);
  padding: 150px clamp(22px, 5vw, 82px) 70px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(480px, 1.12fr);
  align-items: center;
  gap: clamp(20px, 4vw, 72px);
}

body.atlas-cinematic .hero::before {
  content: "";
  position: absolute;
  width: 44vw;
  aspect-ratio: 1;
  left: -24vw;
  top: 20%;
  z-index: -1;
  border-radius: 50%;
  background: rgba(62, 191, 255, .055);
  filter: blur(120px);
}

body.atlas-cinematic .hero-copy {
  position: relative;
  z-index: 4;
  max-width: 760px;
}

body.atlas-cinematic .eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
  color: var(--atlas-cyan);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

body.atlas-cinematic section:not(.hero) .eyebrow {
  padding: 7px 16px;
  border: 1px solid var(--atlas-line);
  border-radius: 999px;
  background: var(--atlas-panel);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

body.atlas-cinematic[data-theme="light"] section:not(.hero) .eyebrow {
  color: #0c7a91;
  box-shadow: 0 8px 20px rgba(15,45,80,.06);
}

body.atlas-cinematic .hero .eyebrow > span {
  width: 34px;
  height: 1px;
  background: var(--atlas-cyan);
  box-shadow: 0 0 10px var(--atlas-cyan);
}

body.atlas-cinematic .hero h1 {
  margin: 22px 0 24px;
  max-width: 920px;
  color: var(--atlas-text);
  font-size: clamp(3.25rem, 6.3vw, 7rem);
  font-weight: 500;
  line-height: .94;
  letter-spacing: -.072em;
}

body.atlas-cinematic .hero h1 span,
body.atlas-cinematic .hero h1 em { display: block; }

body.atlas-cinematic .hero h1 em {
  color: transparent;
  font-style: normal;
  background: linear-gradient(110deg, #fff, var(--atlas-cyan) 52%, #b79cff);
  -webkit-background-clip: text;
  background-clip: text;
}

body.atlas-cinematic[data-theme="light"] .hero h1 em {
  background: linear-gradient(110deg, #0b2740, #0f8fae 52%, #6d4fd6);
  -webkit-background-clip: text;
  background-clip: text;
}

body.atlas-cinematic .hero-text {
  max-width: 650px;
  color: var(--atlas-muted);
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.72;
}

body.atlas-cinematic .hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 34px;
}

body.atlas-cinematic .hero-actions a { min-height: 54px; padding-inline: 26px; }

body.atlas-cinematic .hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--atlas-line);
}

body.atlas-cinematic .hero-metrics article {
  padding: 0 20px;
  border: 0;
  border-left: 1px solid var(--atlas-line);
  border-radius: 0;
  background: none;
}

body.atlas-cinematic .hero-metrics article:first-child { padding-left: 0; border-left: 0; }
body.atlas-cinematic .hero-metrics strong { color: var(--atlas-text); font-size: 1rem; }
body.atlas-cinematic .hero-metrics span { margin-top: 7px; color: var(--atlas-muted); font-size: .75rem; line-height: 1.45; }

.atlas-core-stage {
  position: relative;
  min-height: clamp(560px, 72vh, 820px);
  perspective: 1200px;
  transform-style: preserve-3d;
}

.atlas-core-stage {
  --hero-tx: 0px;
  --hero-ty: 0px;
  --hero-ry: 0deg;
  --hero-rx: 0deg;
}

.product-preview-shell {
  position: absolute;
  inset: 8% 0 7%;
  overflow: hidden;
  color: #eaf1fb;
  border: 1px solid rgba(126, 171, 205, .22);
  border-radius: 24px;
  background: #0a1422;
  box-shadow: 0 34px 90px rgba(0,0,0,.38);
  transform:
    perspective(1400px)
    rotateY(calc(-4deg + var(--hero-ry)))
    rotateX(calc(1.5deg + var(--hero-rx)))
    translate3d(var(--hero-tx), var(--hero-ty), 0);
  transform-origin: center left;
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}

.atlas-core-stage::after {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 3%;
  height: 70px;
  background: radial-gradient(ellipse at center, rgba(85,229,255,.4), transparent 72%);
  filter: blur(32px);
  opacity: .55;
  z-index: -1;
  transform: translate3d(calc(var(--hero-tx) * -1.4), 0, 0);
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
  pointer-events: none;
}

.product-preview-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 52px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(126,171,205,.16);
  background: #0d1929;
}

.product-preview-top > div { display: flex; gap: 6px; }
.product-preview-top > div i { width: 7px; height: 7px; border-radius: 50%; background: #53647a; }
.product-preview-top > div i:first-child { background: #4ddbf7; }
.product-preview-top > span { color: #aab8ca; font-size: .67rem; font-weight: 700; }
.product-preview-top > b { justify-self: end; color: #8ce9bb; font-size: .62rem; letter-spacing: .04em; }
.product-preview-top > b i { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: #50dda6; box-shadow: 0 0 10px #50dda6; }

.product-preview-body {
  display: grid;
  grid-template-columns: 126px minmax(0,1fr);
  height: calc(100% - 52px);
}

.product-preview-body > aside {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 20px 12px;
  border-right: 1px solid rgba(126,171,205,.13);
  background: #08111e;
}

.product-preview-body > aside span {
  padding: 10px 11px;
  border-radius: 9px;
  color: #6f8198;
  font-size: .58rem;
  font-weight: 700;
}

.product-preview-body > aside span.is-active {
  color: #cff8ff;
  background: rgba(77,219,247,.1);
}

.product-preview-content { min-width: 0; padding: 22px; }
.product-preview-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.product-preview-heading > div { display: grid; }
.product-preview-heading small { color: #4ddbf7; font-size: .54rem; font-weight: 800; letter-spacing: .12em; }
.product-preview-heading strong { margin-top: 4px; color: #f6f9ff; font-size: 1rem; }
.product-preview-heading > span { padding: 7px 10px; border: 1px solid rgba(126,171,205,.16); border-radius: 8px; color: #8091a7; font-size: .54rem; }

.product-preview-metrics {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 10px;
  margin-top: 18px;
}

.product-preview-metrics article {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid rgba(126,171,205,.13);
  border-radius: 12px;
  background: #0d1a2b;
}

.product-preview-metrics small { color: #778aa2; font-size: .54rem; }
.product-preview-metrics strong { color: #f5f8fd; font-size: .92rem; }
.product-preview-metrics em { color: #5bdfa9; font-size: .52rem; font-style: normal; }

.product-preview-grid {
  display: grid;
  grid-template-columns: minmax(0,1.45fr) minmax(155px,.72fr);
  gap: 10px;
  margin-top: 10px;
}

.product-chart,
.product-pipeline {
  min-width: 0;
  padding: 15px;
  border: 1px solid rgba(126,171,205,.13);
  border-radius: 12px;
  background: #0d1a2b;
}

.product-chart > div,
.product-pipeline > div { display: flex; justify-content: space-between; gap: 10px; color: #8091a7; font-size: .55rem; }
.product-chart > div b,
.product-pipeline > div b { color: #eaf0f8; }
.product-chart svg { width: 100%; height: 165px; margin-top: 8px; overflow: visible; }
.product-chart .chart-area { fill: url(#atlasChartFill); }
.product-chart .chart-line { fill: none; stroke: #4ddbf7; stroke-width: 3; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(77,219,247,.45)); }

.product-pipeline p {
  display: grid;
  grid-template-columns: 54px 1fr 18px;
  align-items: center;
  gap: 6px;
  margin: 17px 0 0;
  color: #7f90a5;
  font-size: .5rem;
}

.product-pipeline p i {
  position: relative;
  height: 5px;
  overflow: hidden;
  border-radius: 99px;
  background: #17263a;
}

.product-pipeline p i::after {
  content: "";
  display: block;
  width: var(--pipeline);
  height: 100%;
  border-radius: inherit;
  background: #4ddbf7;
}

.product-pipeline p b { color: #dce6f3; text-align: right; }

.atlas-core-art {
  position: absolute;
  inset: 0 -10% 0 -8%;
  margin: 0;
  transform: translate3d(var(--hero-x, 0), var(--hero-y, 0), 0) rotateY(var(--hero-rx, 0));
  transition: transform .2s ease-out;
  mask-image: radial-gradient(ellipse at 55% 50%, #000 42%, transparent 76%);
}

.atlas-core-art img,
.atlas-core-art video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.08) saturate(.92);
}

.atlas-cinematic-video {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.atlas-cinematic-video.is-playing { opacity: 1; }

.atlas-video-fallback {
  position: relative;
  z-index: 1;
}

.atlas-core-halo {
  position: absolute;
  inset: 10% 3%;
  border: 1px solid rgba(85,229,255,.2);
  border-radius: 50%;
  filter: drop-shadow(0 0 45px rgba(85,229,255,.18));
  animation: atlas-halo 10s linear infinite;
}

.atlas-core-halo::after {
  content: "";
  position: absolute;
  inset: 8%;
  border: 1px dashed rgba(183,156,255,.23);
  border-radius: inherit;
  animation: atlas-halo 16s linear infinite reverse;
}

.atlas-signal,
.atlas-core-caption {
  position: absolute;
  z-index: 4;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(7, 15, 27, .64);
  box-shadow: var(--atlas-shadow);
  backdrop-filter: blur(18px);
}

.atlas-signal {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3px 10px;
  min-width: 190px;
  padding: 15px 18px;
  border-radius: 18px;
}

.atlas-signal i {
  grid-row: span 2;
  width: 7px;
  height: 7px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--atlas-cyan);
  box-shadow: 0 0 14px var(--atlas-cyan);
}

.atlas-signal span { color: #aab8ca; font-size: .69rem; }
.atlas-signal strong { color: #fff; font-size: .95rem; letter-spacing: -.02em; }
.atlas-signal-one { top: 23%; right: 4%; animation: atlas-float 5s ease-in-out infinite; }
.atlas-signal-two { bottom: 21%; left: 2%; animation: atlas-float 6s ease-in-out -2s infinite; }

.atlas-core-caption {
  right: 4%;
  bottom: 7%;
  padding: 14px 18px;
  border-radius: 16px;
}
.atlas-core-caption span { display: block; color: var(--atlas-cyan); font-size: .62rem; letter-spacing: .18em; }
.atlas-core-caption b { display: block; margin-top: 4px; color: white; font-size: .76rem; }

.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--atlas-muted);
  font-size: .64rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  transform: translateX(-50%);
}
.hero-scroll-cue i { width: 46px; height: 1px; overflow: hidden; background: rgba(255,255,255,.15); }
.hero-scroll-cue i::after { content: ""; display: block; width: 40%; height: 100%; background: var(--atlas-cyan); animation: atlas-scroll 2.2s ease-in-out infinite; }

body.atlas-cinematic section:not(.hero) {
  position: relative;
  width: min(100% - 40px, 1380px);
  margin-inline: auto;
}

body.atlas-cinematic .value-strip {
  border: 1px solid var(--atlas-line);
  border-radius: var(--atlas-radius);
  background:
    linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.018)),
    var(--atlas-panel);
  box-shadow: var(--atlas-shadow);
  backdrop-filter: blur(18px);
}

body.atlas-cinematic[data-theme="light"] .value-strip {
  background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(255,255,255,.7)), var(--atlas-panel);
}

body.atlas-cinematic .value-strip article + article { border-left-color: var(--atlas-line); }
body.atlas-cinematic .value-strip strong { color: var(--atlas-text); }
body.atlas-cinematic .value-strip span { color: var(--atlas-muted); }

body.atlas-cinematic .trust-section,
body.atlas-cinematic .demo-section,
body.atlas-cinematic .integrations,
body.atlas-cinematic .plans,
body.atlas-cinematic .proof-section,
body.atlas-cinematic .benefits-section,
body.atlas-cinematic .operations-section,
body.atlas-cinematic .modules-section,
body.atlas-cinematic .segments-section,
body.atlas-cinematic .faq-section,
body.atlas-cinematic .final-cta-section,
body.atlas-cinematic .privacy-section {
  padding-block: clamp(40px, 4.5vw, 76px);
}

body.atlas-cinematic :is(.demo-card, .integration-card, .plan-card, .proof-card, .benefit-card, .operation-card, .module-card, .segment-card, .faq-item, .privacy-card, .benefits-grid article, .segments-grid article, .faq-list details) {
  border: 1px solid var(--atlas-line);
  background:
    radial-gradient(circle at var(--card-x, 50%) var(--card-y, 0%), rgba(85,229,255,.11), transparent 20rem),
    linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.018)),
    var(--atlas-panel);
  box-shadow: 0 18px 55px rgba(0,0,0,.18);
  backdrop-filter: blur(14px);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s ease, box-shadow .35s ease;
}

body.atlas-cinematic[data-theme="light"] :is(.demo-card, .integration-card, .plan-card, .proof-card, .benefit-card, .operation-card, .module-card, .segment-card, .faq-item, .privacy-card, .benefits-grid article, .segments-grid article, .faq-list details) {
  background:
    radial-gradient(circle at var(--card-x, 50%) var(--card-y, 0%), rgba(45,150,225,.09), transparent 20rem),
    linear-gradient(145deg, rgba(255,255,255,.95), rgba(255,255,255,.8)),
    var(--atlas-panel);
  box-shadow: 0 14px 40px rgba(15,45,80,.08);
}

body.atlas-cinematic :is(.demo-card, .integration-card, .plan-card, .proof-card, .benefit-card, .operation-card, .module-card, .segment-card, .faq-item, .benefits-grid article, .segments-grid article, .faq-list details):hover {
  border-color: var(--atlas-line-hot);
  box-shadow: 0 28px 75px rgba(0,0,0,.3), 0 0 0 1px rgba(85,229,255,.06);
}

body.atlas-cinematic :is(.demo-card, .plan-card, .proof-card, .benefit-card, .operation-card, .module-card, .segment-card, .benefits-grid article, .segments-grid article) h3,
body.atlas-cinematic :is(.demo-head, .integrations-copy, .plans-head, .plans-header, .proof-head, .proof-section, .benefits-head, .operations-head, .modules-copy, .segments-head, .faq-head) h2 {
  color: var(--atlas-text);
}

body.atlas-cinematic :is(.demo-head, .integrations-copy, .plans-head, .plans-header, .proof-head, .proof-section, .benefits-head, .operations-head, .modules-copy, .segments-head, .faq-head) h2 {
  font-size: clamp(2.35rem, 4.5vw, 4.8rem);
  line-height: 1.04;
  letter-spacing: -.055em;
}

body.atlas-cinematic :is(.demo-head, .integrations-copy, .plans-head, .plans-header, .proof-head, .benefits-head, .operations-head, .modules-copy, .segments-head, .faq-head) p,
body.atlas-cinematic :is(.demo-card, .plan-card, .proof-card, .benefit-card, .operation-card, .module-card, .segment-card, .faq-item, .benefits-grid article, .segments-grid article, .faq-list details) p,
body.atlas-cinematic :is(.demo-card, .plan-card, .proof-card, .benefit-card, .operation-card, .module-card, .segment-card, .faq-item) li {
  color: var(--atlas-muted);
}

body.atlas-cinematic .demo-card-main {
  min-height: 370px;
  background:
    radial-gradient(circle at 80% 20%, rgba(139,108,255,.18), transparent 22rem),
    radial-gradient(circle at 10% 80%, rgba(85,229,255,.12), transparent 18rem),
    linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.02)),
    var(--atlas-panel);
}

body.atlas-cinematic .demo-flow span {
  border-color: var(--atlas-line);
  color: var(--atlas-text);
  background: var(--atlas-panel);
}

body.atlas-cinematic .proof-badges span {
  color: var(--atlas-text);
  border: 1px solid var(--atlas-line);
  background: var(--atlas-panel);
  box-shadow: inset 0 1px rgba(255,255,255,.04);
}

body.atlas-cinematic[data-theme="light"] .demo-card-main {
  background:
    radial-gradient(circle at 80% 20%, rgba(124,92,235,.1), transparent 22rem),
    radial-gradient(circle at 10% 80%, rgba(45,150,225,.08), transparent 18rem),
    linear-gradient(145deg, rgba(255,255,255,.95), rgba(255,255,255,.8)),
    var(--atlas-panel);
}

body.atlas-cinematic .proof-stat { color: var(--atlas-muted); }
body.atlas-cinematic .proof-stat strong { color: var(--atlas-cyan); }

body.atlas-cinematic .faq-list details {
  overflow: hidden;
  border-radius: 18px;
}

body.atlas-cinematic .faq-list summary {
  color: var(--atlas-text);
  font-family: "Sora", sans-serif;
}

body.atlas-cinematic .benefits-figure {
  position: relative;
  aspect-ratio: 16 / 8.2;
  overflow: hidden;
  border: 1px solid var(--atlas-line);
  border-radius: 34px;
  box-shadow: var(--atlas-shadow);
}

body.atlas-cinematic .benefits-figure img,
body.atlas-cinematic .benefits-figure video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.72) contrast(1.08);
  transition: transform 1s cubic-bezier(.2,.8,.2,1), filter .6s ease;
}

body.atlas-cinematic .benefits-figure:hover :is(img, video) {
  transform: scale(1.025);
  filter: saturate(.95) contrast(1.08);
}

body.atlas-cinematic .benefits-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 42%, rgba(3,8,15,.82));
}

.benefits-motion-video { display: block; }

.benefits-figure figcaption {
  position: absolute;
  z-index: 3;
  inset: auto clamp(20px, 4vw, 52px) clamp(20px, 3vw, 42px);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.benefits-figure figcaption span {
  color: var(--atlas-cyan);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.benefits-figure figcaption strong {
  max-width: 560px;
  color: #fff;
  font-size: clamp(1.1rem, 2.2vw, 2rem);
  line-height: 1.2;
  text-align: right;
}

body.atlas-cinematic .integrations-carousel {
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

body.atlas-cinematic .plan-card.is-featured,
body.atlas-cinematic .plan-card.featured {
  border-color: rgba(85,229,255,.5);
  box-shadow: 0 30px 100px rgba(25, 164, 213, .16);
  transform: translateY(-14px);
}

body.atlas-cinematic .trust-section {
  overflow: visible;
  border-radius: 40px;
  background:
    radial-gradient(circle at 75% 50%, rgba(64, 125, 255, .18), transparent 30rem),
    linear-gradient(135deg, rgba(12,25,42,.9), rgba(7,13,23,.75));
  border: 1px solid var(--atlas-line);
}

body.atlas-cinematic[data-theme="light"] .trust-section {
  color: #0f172a;
  background:
    radial-gradient(circle at 75% 50%, rgba(64, 125, 255, .1), transparent 30rem),
    linear-gradient(135deg, #ffffff, #edf6ff 74%);
}

body.atlas-cinematic[data-theme="light"] .trust-left h2 {
  color: #0f172a;
}

body.atlas-cinematic[data-theme="light"] .trust-section {
  background:
    radial-gradient(circle at 75% 50%, rgba(45,150,225,.14), transparent 30rem),
    linear-gradient(135deg, #ffffff, #edf6ff 74%);
  box-shadow: 0 30px 70px rgba(71,104,146,.14);
}

body.atlas-cinematic .trust-left h2 {
  color: var(--atlas-text);
  font-size: clamp(2.5rem, 5vw, 5.6rem);
  line-height: .98;
}

body.atlas-cinematic .trust-phone {
  box-shadow: 0 40px 100px rgba(0,0,0,.5), 0 0 60px rgba(85,229,255,.12);
}

body.atlas-cinematic .final-cta-section {
  overflow: hidden;
  text-align: center;
  border: 1px solid rgba(85,229,255,.25);
  border-radius: 44px;
  background:
    radial-gradient(circle at 50% 120%, rgba(85,229,255,.32), transparent 38rem),
    radial-gradient(circle at 100% 0%, rgba(139,108,255,.2), transparent 28rem),
    #07111f;
  box-shadow: var(--atlas-shadow);
}

body.atlas-cinematic[data-theme="light"] .final-cta-section {
  color: #0f172a;
  border-color: rgba(15, 126, 163, .22);
  background:
    radial-gradient(circle at 50% 120%, rgba(45,150,225,.14), transparent 38rem),
    radial-gradient(circle at 100% 0%, rgba(124,92,235,.1), transparent 28rem),
    linear-gradient(150deg, #ffffff, #eef6ff);
}

body.atlas-cinematic[data-theme="light"] .final-cta-section h2,
body.atlas-cinematic[data-theme="light"] .final-cta-section p {
  color: #0f172a;
}

body.atlas-cinematic[data-theme="light"] .final-cta-section {
  border-color: rgba(45,150,225,.28);
  background:
    radial-gradient(circle at 50% 120%, rgba(45,150,225,.18), transparent 38rem),
    radial-gradient(circle at 100% 0%, rgba(124,92,235,.12), transparent 28rem),
    #ffffff;
}

body.atlas-cinematic[data-theme="light"] .final-cta-section h2,
body.atlas-cinematic[data-theme="light"] .final-cta-section p {
  color: var(--atlas-text);
}

body.atlas-cinematic .site-footer {
  margin-top: 100px;
  border-top-color: var(--atlas-line);
  background: #04070c;
}

.cinematic-reveal {
  opacity: 0;
  transform: perspective(1100px) translate3d(0, 40px, 0) rotateX(7deg) scale(.97);
  transform-origin: 50% 100%;
  filter: blur(8px);
  transition:
    opacity .9s cubic-bezier(.22,.8,.2,1) var(--reveal-delay, 0ms),
    transform .9s cubic-bezier(.22,.8,.2,1) var(--reveal-delay, 0ms),
    filter .9s ease var(--reveal-delay, 0ms);
}

.cinematic-reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

.hero-copy > .cinematic-reveal {
  opacity: 1;
  transform: none;
  clip-path: none;
  filter: none;
  animation: atlas-hero-enter .75s cubic-bezier(.16,1,.3,1) both;
  animation-delay: var(--reveal-delay, 0ms);
}

.hero-copy > .cinematic-reveal.is-visible {
  opacity: 1;
  clip-path: none;
  transform: none;
}

.atlas-core-stage {
  opacity: 0;
  transform: translate3d(40px, 0, 0) scale(.96);
  transition: opacity 1.25s ease .2s, transform 1.25s cubic-bezier(.16,1,.3,1) .2s;
}

.atlas-experience-ready .atlas-core-stage {
  opacity: 1;
  transform: none;
}

@keyframes atlas-halo { to { transform: rotate(360deg); } }
@keyframes atlas-float { 50% { transform: translateY(-14px); } }
@keyframes atlas-scroll { 0% { transform: translateX(-120%); } 60%,100% { transform: translateX(280%); } }
@keyframes atlas-hero-enter {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 1180px) {
  body.atlas-cinematic .top-actions .portal-login-link { display: none; }
  .primary-nav { gap: 16px; }
  .primary-nav a { font-size: .68rem; }
  body.atlas-cinematic .hero { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1400px) {
  body.atlas-cinematic .top-actions .careers-login-link { display: none; }
}

@media (max-width: 900px) {
  body.atlas-cinematic .topbar {
    inset: 10px 12px auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
  }
  body.atlas-cinematic .top-actions { display: none; }
  .mobile-menu-toggle { display: grid; grid-column: 3; place-items: center; width: 42px; height: 42px; margin-left: auto; }
  .mobile-menu-toggle::before,
  .mobile-menu-toggle::after { content: ""; width: 21px; height: 1px; background: currentColor; transition: transform .25s ease; }
  .mobile-menu-toggle::after { transform: translateY(6px); }
  .mobile-menu-toggle.is-open::before { transform: translateY(3px) rotate(45deg); }
  .mobile-menu-toggle.is-open::after { transform: translateY(2px) rotate(-45deg); }
  .primary-nav {
    position: absolute;
    inset: calc(100% + 8px) 0 auto;
    display: grid;
    padding: 18px;
    border: 1px solid var(--atlas-line);
    border-radius: 18px;
    background: rgba(5,10,18,.96);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: .25s ease;
  }
  .primary-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  body.atlas-cinematic .top-actions > :not(.primary-cta) { display: none; }
  body.atlas-cinematic .hero {
    grid-template-columns: 1fr;
    padding-top: 140px;
    text-align: center;
  }
  body.atlas-cinematic .hero-copy { margin-inline: auto; }
  body.atlas-cinematic .hero .eyebrow,
  body.atlas-cinematic .hero-actions { justify-content: center; margin-inline: auto; }
  body.atlas-cinematic .hero-text { margin-inline: auto; }
  .atlas-core-stage { min-height: 540px; }
  .hero-scroll-cue { display: none; }
}

@media (max-width: 640px) {
  body.atlas-cinematic section:not(.hero),
  body.atlas-cinematic .hero { width: min(100% - 24px, 1380px); }
  body.atlas-cinematic .topbar { border-radius: 16px; }
  body.atlas-cinematic .top-actions .primary-cta { display: none; }
  body.atlas-cinematic .hero { padding-inline: 8px; }
  body.atlas-cinematic .hero h1 { font-size: clamp(2.85rem, 14vw, 4.5rem); }
  body.atlas-cinematic .hero-actions { flex-direction: column; align-items: stretch; }
  body.atlas-cinematic .hero-metrics { grid-template-columns: 1fr; gap: 16px; text-align: left; }
  body.atlas-cinematic .hero-metrics article { padding: 14px 0 0; border-left: 0; border-top: 1px solid var(--atlas-line); }
  body.atlas-cinematic .hero-metrics article:first-child { border-top: 0; }
  .atlas-core-stage { min-height: 440px; }
  .product-preview-shell { inset: 4% 0; transform: none; border-radius: 18px; }
  .product-preview-top { grid-template-columns: 1fr auto; padding: 0 12px; }
  .product-preview-top > span { display: none; }
  .product-preview-body { grid-template-columns: 1fr; }
  .product-preview-body > aside { display: none; }
  .product-preview-content { padding: 14px; }
  .product-preview-heading > span { display: none; }
  .product-preview-metrics { gap: 6px; }
  .product-preview-metrics article { padding: 10px 8px; }
  .product-preview-metrics strong { font-size: .7rem; }
  .product-preview-grid { grid-template-columns: 1fr; }
  .product-chart svg { height: 135px; }
  .product-pipeline { display: none; }
  .atlas-core-art { inset: 0 -35%; }
  .atlas-signal { min-width: 155px; padding: 11px 13px; }
  .atlas-signal-one { top: 16%; right: 0; }
  .atlas-signal-two { bottom: 19%; left: 0; }
  .atlas-core-caption { display: none; }
  body.atlas-cinematic .benefits-figure { aspect-ratio: 4 / 5; }
  .benefits-figure figcaption { display: grid; }
  .benefits-figure figcaption strong { text-align: left; }
  body.atlas-cinematic .trust-section,
  body.atlas-cinematic .final-cta-section { border-radius: 28px; }
}

/* ---------- Cinematic intro preloader ---------- */

body.atlas-preloading { overflow: hidden; }
body.atlas-preloading #mainContent { opacity: 0; visibility: hidden; }

.atlas-preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 50% 42%, #0c1a2c 0%, #05080f 68%);
  transition: opacity .7s cubic-bezier(.22,.8,.2,1), visibility .7s;
}

.atlas-preloader-grid {
  position: absolute;
  inset: -30%;
  background-image:
    linear-gradient(rgba(85,229,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(85,229,255,.07) 1px, transparent 1px);
  background-size: 44px 44px;
  transform: perspective(600px) rotateX(58deg) scale(1.7);
  animation: atlas-preloader-grid-move 6s linear infinite;
  mask-image: radial-gradient(circle at 50% 28%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 50% 28%, #000 0%, transparent 70%);
}

.atlas-preloader-inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
}

.atlas-preloader-logo {
  width: 92px;
  height: auto;
  filter: drop-shadow(0 0 24px rgba(85,229,255,.45));
  animation: atlas-preloader-pulse 1.8s ease-in-out infinite;
}

.atlas-preloader-logo-fallback {
  display: none;
  font-family: "Sora", sans-serif;
  font-weight: 800;
  letter-spacing: .14em;
  font-size: 1.3rem;
  color: #eaf6ff;
}

.atlas-preloader-bar {
  width: 210px;
  height: 3px;
  border-radius: 99px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
}

.atlas-preloader-bar i {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--atlas-cyan), var(--atlas-violet));
  box-shadow: 0 0 16px var(--atlas-cyan);
  transition: width .3s ease;
}

.atlas-preloader-label {
  color: #9eabc0;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.atlas-preloader.is-leaving {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.04);
  pointer-events: none;
}

@keyframes atlas-preloader-grid-move { to { background-position: 0 44px; } }
@keyframes atlas-preloader-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }

/* ---------- Animated 3D particle background ---------- */

.atlas-bg-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity .8s ease;
}

body.atlas-cinematic .atlas-bg-canvas { opacity: .65; }
body.atlas-cinematic[data-theme="light"] .atlas-bg-canvas { opacity: .5; }

/* ---------- Cursor spotlight glow ---------- */

.atlas-cursor-glow {
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  mix-blend-mode: soft-light;
  background: radial-gradient(480px circle at var(--pointer-x, 50vw) var(--pointer-y, 30vh), rgba(120,210,255,.5), transparent 62%);
  opacity: 0;
  transition: opacity .5s ease;
}

body.atlas-cinematic .atlas-cursor-glow { opacity: 1; }
body.atlas-cinematic[data-theme="light"] .atlas-cursor-glow {
  mix-blend-mode: multiply;
  background: radial-gradient(480px circle at var(--pointer-x, 50vw) var(--pointer-y, 30vh), rgba(45,150,225,.16), transparent 62%);
}

@media (pointer: coarse) {
  .atlas-cursor-glow { display: none; }
}

/* ---------- Ripple micro-interaction ---------- */

body.atlas-cinematic :is(.primary-cta, .secondary-cta, .trust-cta, .plan-cta, .plan-link, .proposal-button) {
  position: relative;
  overflow: hidden;
}

.atlas-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.55);
  transform: scale(0);
  opacity: .55;
  pointer-events: none;
  animation: atlas-ripple-anim .6s ease-out forwards;
}

@keyframes atlas-ripple-anim {
  to { transform: scale(2.6); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .cinematic-reveal { opacity: 1; transform: none; filter: none; }
  .hero-copy > .cinematic-reveal { clip-path: none; }
  .atlas-core-stage { opacity: 1; transform: none; }
  .atlas-cinematic-video,
  .benefits-motion-video { display: none; }
  .atlas-preloader { display: none !important; }
  .atlas-bg-canvas,
  .atlas-cursor-glow { display: none !important; }
  .atlas-preloader-grid { animation: none; }
}
