:root {
  --bg: #06111f;
  --bg-soft: #0c1730;
  --surface: rgba(11, 22, 42, 0.72);
  --surface-strong: #0e1b35;
  --text: #ebf2ff;
  --muted: #99a8c7;
  --line: rgba(173, 191, 232, 0.16);
  --nav: #c6d4ef;
  --page-bg:
    radial-gradient(circle at top left, rgba(25, 136, 210, 0.18), transparent 24%),
    radial-gradient(circle at top right, rgba(72, 132, 214, 0.14), transparent 28%),
    linear-gradient(180deg, #06111f 0%, #081426 30%, #09172b 100%);
  --header-bg: rgba(6, 17, 31, 0.58);
  --header-line: rgba(173, 191, 232, 0.08);
  --ghost-bg: rgba(255, 255, 255, 0.06);
  --ghost-border: rgba(255, 255, 255, 0.12);
  --card-soft-bg: rgba(255, 255, 255, 0.05);
  --chip-bg: rgba(255, 255, 255, 0.05);
  --chip-border: rgba(255, 255, 255, 0.1);
  --chip-text: #e6efff;
  --badge-bg: linear-gradient(180deg, rgba(24, 33, 52, 0.58), rgba(24, 33, 52, 0.46));
  --badge-border: rgba(255, 255, 255, 0.22);
  --badge-strong: #f5f8ff;
  --badge-text: rgba(232, 240, 255, 0.9);
  --accent-text-gradient: linear-gradient(135deg, #f8fbff 0%, #69b4ec 42%, #1988d2 100%);
  --menu-bg: rgba(8, 18, 34, 0.96);
  --cyan: rgb(25, 136, 210);
  --blue: #52aee9;
  --violet: #4b8edb;
  --pink: #83b7ef;
  --mint: #6ef1d8;
  --shadow: 0 24px 70px rgba(2, 8, 22, 0.48);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1180px, calc(100vw - 40px));
}

body[data-theme="light"] {
  --bg: #f7fbff;
  --bg-soft: #edf6ff;
  --surface: rgba(255, 255, 255, 0.76);
  --surface-strong: #ffffff;
  --text: #1f2953;
  --muted: #66749a;
  --line: rgba(151, 182, 227, 0.22);
  --nav: #445277;
  --page-bg:
    radial-gradient(circle at 18% 18%, rgba(166, 222, 255, 0.28), transparent 26%),
    radial-gradient(circle at 82% 20%, rgba(198, 224, 255, 0.26), transparent 28%),
    radial-gradient(circle at 70% 78%, rgba(124, 211, 255, 0.32), transparent 26%),
    radial-gradient(circle at 12% 88%, rgba(215, 204, 255, 0.18), transparent 20%),
    linear-gradient(180deg, #f8fcff 0%, #f5faff 38%, #f7fbff 100%);
  --header-bg: rgba(249, 253, 255, 0.78);
  --header-line: rgba(151, 182, 227, 0.18);
  --ghost-bg: rgba(255, 255, 255, 0.82);
  --ghost-border: rgba(151, 182, 227, 0.2);
  --card-soft-bg: rgba(246, 251, 255, 0.88);
  --chip-bg: rgba(25, 136, 210, 0.05);
  --chip-border: rgba(151, 182, 227, 0.18);
  --chip-text: #406086;
  --badge-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(240, 248, 255, 0.72));
  --badge-border: rgba(151, 182, 227, 0.22);
  --badge-strong: #1f2953;
  --badge-text: rgba(70, 86, 120, 0.9);
  --accent-text-gradient: linear-gradient(135deg, #202a54 0%, #3d72e7 52%, rgb(25, 136, 210) 100%);
  --menu-bg: rgba(250, 253, 255, 0.98);
  --shadow: 0 24px 70px rgba(87, 126, 191, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  background: var(--page-bg);
  color: var(--text);
}

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

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

button,
input {
  font: inherit;
}

.page-shell {
  overflow: clip;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 110px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-line);
}

.nav-wrap {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 48px;
  height: 45px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-text strong {
  font-size: 0.98rem;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.8rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #c6d4ef;
  color: var(--nav);
}

.site-nav a {
  font-size: 0.95rem;
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--ghost-bg);
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 6px auto;
  background: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  color: #04111f;
  background: linear-gradient(135deg, var(--cyan), var(--blue), var(--violet));
  box-shadow: 0 18px 40px rgba(25, 136, 210, 0.25);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 50px rgba(25, 136, 210, 0.32);
}

.button--secondary,
.button--ghost {
  color: var(--text);
  background: var(--ghost-bg);
  border: 1px solid var(--ghost-border);
  box-shadow: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.theme-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border-radius: 999px;
  border: 1px solid var(--ghost-border);
  background: var(--ghost-bg);
  box-shadow: 0 10px 30px rgba(2, 8, 22, 0.08);
}

.theme-option {
  min-height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.theme-option.is-active {
  background: linear-gradient(135deg, rgba(25, 136, 210, 0.18), rgba(82, 174, 233, 0.2));
  color: var(--text);
}

.hero {
  position: relative;
  padding: 64px 0 54px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 36px;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}

.hero-glow--left {
  width: 480px;
  height: 480px;
  left: -120px;
  top: -60px;
  background: rgba(25, 136, 210, 0.14);
}

.hero-glow--right {
  width: 580px;
  height: 580px;
  right: -120px;
  top: -120px;
  background: rgba(82, 174, 233, 0.12);
}

body[data-theme="light"] .hero-glow--left {
  background: rgba(25, 136, 210, 0.16);
}

body[data-theme="light"] .hero-glow--right {
  background: rgba(125, 209, 255, 0.22);
}

body[data-theme="light"] .device-frame {
  border: 1px solid rgba(151, 182, 227, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 248, 255, 0.94)),
    rgba(244, 250, 255, 0.96);
  box-shadow:
    0 28px 80px rgba(87, 126, 191, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

body[data-theme="light"] .device-topbar span {
  background: rgba(122, 150, 195, 0.54);
}

body[data-theme="light"] .floating-badge strong,
body[data-theme="light"] .floating-badge span {
  text-shadow: none;
}

body[data-theme="light"] .trust-bar {
  background: rgba(248, 252, 255, 0.62);
  border-top-color: rgba(151, 182, 227, 0.18);
  border-bottom-color: rgba(151, 182, 227, 0.18);
}

body[data-theme="light"] .theme-switch {
  box-shadow: 0 12px 26px rgba(87, 126, 191, 0.08);
}

body[data-theme="light"] .theme-option.is-active {
  background: linear-gradient(135deg, rgba(25, 136, 210, 0.16), rgba(150, 208, 255, 0.28));
}

body[data-theme="light"] .differentiator-card--primary {
  background:
    radial-gradient(circle at top right, rgba(162, 214, 255, 0.26), transparent 34%),
    radial-gradient(circle at bottom left, rgba(25, 136, 210, 0.12), transparent 30%),
    rgba(252, 254, 255, 0.92);
}

body[data-theme="light"] .brand-mark {
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.55),
    0 10px 22px rgba(87, 126, 191, 0.12);
}

body[data-theme="light"] .hero-shot,
body[data-theme="light"] .platform-metric,
body[data-theme="light"] .feature-tags span {
  background-color: rgba(249, 253, 255, 0.92);
}

body[data-theme="light"] .site-footer {
  border-top: 1px solid rgba(151, 182, 227, 0.12);
}

body[data-theme="light"] .button {
  color: white;
  background: linear-gradient(135deg, #3b67f0, rgb(25, 136, 210));
  box-shadow: 0 20px 44px rgba(53, 111, 235, 0.24);
}

body[data-theme="light"] .button:hover,
body[data-theme="light"] .button:focus-visible {
  box-shadow: 0 24px 54px rgba(53, 111, 235, 0.3);
}

body[data-theme="light"] .button--secondary,
body[data-theme="light"] .button--ghost {
  color: #223158;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(151, 182, 227, 0.24);
  box-shadow: 0 12px 30px rgba(87, 126, 191, 0.08);
}

body[data-theme="light"] .proof-image img {
  box-shadow: 0 22px 60px rgba(87, 126, 191, 0.18);
}

.eyebrow {
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--cyan);
}

.hero h1,
.section-heading h2,
.section-copy h2,
.showcase-card h2,
.results-copy h2,
.contact-panel h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero h1 {
  font-size: clamp(2.9rem, 6.6vw, 5.2rem);
  max-width: 8.8ch;
  line-height: 0.95;
}

.hero h1 span {
  display: block;
  background: var(--accent-text-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text,
.section-heading p,
.section-copy p,
.showcase-card p,
.results-copy p,
.contact-panel p,
.module-card p,
.workflow-step p,
.feature-points span,
.testimonial-card span {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.05rem;
}

.hero-text {
  max-width: 50ch;
  margin: 22px 0 0;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.hero-stats article,
.module-card,
.platform-panel,
.testimonial-card,
.contact-panel,
.workflow-step,
.showcase-card,
.glass-card,
.platform-metric {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.hero-stats article {
  padding: 20px;
  border-radius: var(--radius-md);
}

.hero-stats strong,
.platform-metric strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 8px;
}

.hero-stats span,
.platform-metric span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.hero-visual {
  position: relative;
  padding-left: 12px;
}

.hero-slider {
  position: relative;
}

.hero-slides {
  position: relative;
  min-height: 540px;
}

.hero-shot {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--card-soft-bg);
}

.hero-shot img,
.proof-image img {
  width: 100%;
  height: auto;
  display: block;
}

.device-frame {
  position: relative;
  padding: 16px;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02)),
    rgba(7, 14, 26, 0.8);
  box-shadow: 0 35px 90px rgba(2, 8, 22, 0.65);
  transform: scale(0.94);
  transform-origin: center;
}

.hero-frame {
  position: absolute;
  inset: 0;
  max-width: 100%;
  opacity: 0;
  transform: translateY(18px) scale(0.92);
  pointer-events: none;
  transition: opacity 500ms ease, transform 500ms ease;
}

.hero-frame.is-active {
  opacity: 1;
  transform: translateY(0) scale(0.94);
  pointer-events: auto;
}

.device-topbar {
  display: flex;
  gap: 8px;
  padding-bottom: 16px;
}

.device-topbar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.floating-badge {
  position: absolute;
  max-width: 220px;
  padding: 16px 18px;
  border-radius: 20px;
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  backdrop-filter: blur(18px) saturate(145%);
  box-shadow:
    0 18px 40px rgba(2, 8, 22, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.floating-badge strong {
  display: block;
  margin-bottom: 6px;
  color: var(--badge-strong);
  font-size: 1.02rem;
  line-height: 1.25;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

.floating-badge span {
  color: var(--badge-text);
  font-size: 0.88rem;
  line-height: 1.5;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.16);
}

.floating-badge--left {
  left: -8px;
}

.floating-badge--right {
  right: -8px;
}

.floating-badge--top {
  top: 54px;
}

.floating-badge--bottom {
  bottom: 36px;
}

.hero-slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.16);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.hero-dot.is-active {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  border-color: transparent;
  transform: scale(1.15);
}

.trust-bar {
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
}

.trust-items {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.trust-items > span {
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
}

.trust-items div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.trust-items b {
  color: var(--text);
  font-weight: 700;
}

.split-section,
.showcase-grid,
.results-grid {
  display: grid;
  gap: 28px;
  align-items: start;
}

.split-section {
  grid-template-columns: 1.1fr 0.9fr;
}

.section-copy h2,
.section-heading h2,
.showcase-card h2,
.results-copy h2,
.contact-panel h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.feature-points {
  display: grid;
  gap: 18px;
  margin-top: 36px;
}

.feature-points article {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-points strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.platform-panel {
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: var(--radius-xl);
}

.platform-metric {
  padding: 22px;
  border-radius: 20px;
  background: var(--card-soft-bg);
  box-shadow: none;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.architecture-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  align-items: start;
}

.differentiators-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.differentiator-card {
  padding: 28px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.differentiator-card--primary {
  grid-column: span 2;
  background:
    radial-gradient(circle at top right, rgba(82, 174, 233, 0.14), transparent 32%),
    radial-gradient(circle at bottom left, rgba(25, 136, 210, 0.14), transparent 28%),
    var(--surface);
}

.differentiator-kicker {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.differentiator-card h3 {
  margin: 0 0 14px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.55rem;
  line-height: 1.1;
}

.differentiator-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1rem;
}

.feature-group {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
  align-self: start;
}

.feature-group summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.feature-group summary::-webkit-details-marker {
  display: none;
}

.feature-group summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--cyan);
  font-weight: 800;
}

.feature-group[open] summary::after {
  content: "-";
}

.feature-group summary span {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.32rem;
  font-weight: 700;
}

.feature-group summary small {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 26ch;
  margin-right: auto;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 24px 24px;
}

.feature-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--chip-border);
  background: var(--chip-bg);
  color: var(--chip-text);
  font-size: 0.92rem;
  line-height: 1.4;
}

.module-card {
  padding: 28px;
  border-radius: 24px;
  min-height: 236px;
}

.module-index {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--cyan);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.module-card h3,
.workflow-step h3 {
  margin: 0 0 14px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.45rem;
}

.workflow-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.workflow-line::before {
  content: "";
  position: absolute;
  top: 56px;
  left: 16.5%;
  right: 16.5%;
  height: 1px;
  border-top: 2px dashed rgba(173, 191, 232, 0.28);
}

.workflow-step {
  position: relative;
  padding: 30px;
  border-radius: 28px;
}

.product-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.proof-card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.proof-image {
  padding: 16px 16px 0;
}

.proof-image img {
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(2, 8, 22, 0.34);
}

.proof-copy {
  padding: 20px 24px 28px;
}

.proof-copy h3 {
  margin: 0 0 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  line-height: 1.15;
}

.proof-copy p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.workflow-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(25, 136, 210, 0.92), rgba(82, 174, 233, 0.86));
  color: #07111f;
  font-weight: 800;
}

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

.showcase-card,
.testimonial-card {
  padding: 34px;
  border-radius: 30px;
}

.glass-stack {
  display: grid;
  gap: 18px;
}

.glass-card {
  padding: 28px;
  border-radius: 26px;
}

.glass-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--cyan);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 800;
}

.glass-card strong {
  font-size: 1.25rem;
  line-height: 1.4;
}

.testimonial-card p {
  margin: 0 0 26px;
  font-size: 1.35rem;
  line-height: 1.7;
}

.testimonial-meta strong,
.testimonial-meta span {
  display: block;
}

.contact-panel {
  padding: 38px;
  border-radius: 34px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 10px;
}

.contact-form span {
  color: var(--text);
  font-size: 0.92rem;
}

.contact-form input {
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  color: var(--text);
  border-radius: 18px;
  border: 1px solid var(--ghost-border);
  background: var(--ghost-bg);
  outline: none;
}

.contact-form input::placeholder {
  color: var(--muted);
}

.site-footer {
  padding: 0 0 36px;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

.reveal-delay-1 {
  transition-delay: 120ms;
}

.reveal-delay-2 {
  transition-delay: 220ms;
}

@media (max-width: 1100px) {
  .hero-grid,
  .split-section,
  .showcase-grid,
  .results-grid,
  .contact-panel,
  .product-proof-grid {
    grid-template-columns: 1fr;
  }

  .differentiators-grid,
  .architecture-grid,
  .modules-grid,
  .workflow-line {
    grid-template-columns: repeat(2, 1fr);
  }

  .differentiator-card--primary {
    grid-column: span 2;
  }

  .workflow-line::before {
    display: none;
  }

  .floating-badge {
    position: static;
    margin-top: 18px;
    max-width: none;
  }

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

  .hero-frame,
  .hero-frame.is-active {
    position: static;
    inset: auto;
    opacity: 1;
    transform: scale(0.94);
    pointer-events: auto;
  }

  .hero-slider-dots {
    display: none;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .trust-items {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 820px) {
  .site-nav,
  .desktop-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-header.menu-open .site-nav {
    display: flex;
    position: absolute;
    top: calc(100% + 10px);
    left: 20px;
    right: 20px;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    border-radius: 24px;
    background: var(--menu-bg);
    border: 1px solid var(--ghost-border);
    box-shadow: var(--shadow);
  }

  .site-header.menu-open .desktop-cta {
    display: inline-flex;
    position: absolute;
    top: calc(100% + 250px);
    left: 20px;
  }

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

  .header-actions {
    margin-left: auto;
  }

  .theme-switch {
    padding: 4px;
  }

  .theme-option {
    min-height: 34px;
    padding: 0 12px;
    font-size: 0.88rem;
  }

  .differentiators-grid,
  .architecture-grid {
    grid-template-columns: 1fr;
  }

  .differentiator-card--primary {
    grid-column: span 1;
  }

  .section {
    padding: 86px 0;
  }

  .hero {
    padding-top: 28px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100vw - 24px), 100%);
  }

  .nav-wrap {
    min-height: 74px;
  }

  .brand-text small {
    display: none;
  }

  .hero h1 {
    font-size: 2.9rem;
  }

  .button,
  .button--secondary,
  .button--ghost {
    width: 100%;
  }

  .hero-actions,
  .footer-wrap,
  .footer-links {
    flex-direction: column;
    align-items: stretch;
  }

  .workflow-line {
    grid-template-columns: 1fr;
  }

  .showcase-card,
  .testimonial-card,
  .contact-panel,
  .module-card,
  .workflow-step {
    padding: 24px;
  }
}
