:root {
  --primary: #533afd;
  --primary-deep: #4434d4;
  --primary-press: #2e2b8c;
  --primary-soft: #665efd;
  --brand-dark: #1c1e54;
  --ink: #0d253d;
  --ink-secondary: #273951;
  --muted: #64748d;
  --canvas: #ffffff;
  --canvas-soft: #f6f9fc;
  --canvas-cream: #f5e9d4;
  --hairline: #e3e8ee;
  --ruby: #ea2261;
  --font: Inter, "SF Pro Display", "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.yzh-marketing {
  margin: 0;
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.4;
  font-feature-settings: "ss01";
}

.yzh-marketing a {
  color: inherit;
  text-decoration: none;
}

.yzh-marketing a:hover,
.yzh-marketing a:focus {
  color: inherit;
  text-decoration: none;
}

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

.marketing-container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  padding: 14px 0;
  transition: padding 220ms ease, background-color 220ms ease, box-shadow 220ms ease, backdrop-filter 220ms ease;
}

.site-header.is-scrolled {
  padding: 8px 0;
  border-bottom: 1px solid rgba(227, 232, 238, 0.72);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 32px rgba(13, 37, 61, 0.06);
  backdrop-filter: blur(18px);
}

.marketing-nav {
  display: flex;
  min-height: 58px;
  align-items: center;
  padding: 0 18px 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 40px rgba(13, 37, 61, 0.06);
  backdrop-filter: blur(16px);
}

.brand-wordmark {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  color: var(--ink);
  font-size: 19px;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.brand-mark {
  position: relative;
  width: 25px;
  height: 25px;
  margin-right: 11px;
  border-radius: 7px 13px 7px 13px;
  background: var(--primary);
  box-shadow: 8px -5px 0 rgba(234, 34, 97, 0.58);
}

.brand-mark::after {
  position: absolute;
  right: 5px;
  bottom: 5px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  content: "";
}

.marketing-nav .navbar-toggle {
  margin: 10px 0 10px auto;
  padding: 9px;
  border: 0;
  border-radius: 8px;
  background: var(--canvas-soft);
}

.marketing-nav .navbar-toggle .icon-bar {
  background: var(--ink);
}

.marketing-nav-collapse {
  display: flex !important;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
}

.marketing-links {
  display: flex;
  align-items: center;
  margin: 0 auto;
  padding: 0 28px;
  list-style: none;
}

.marketing-links a {
  display: block;
  padding: 19px 14px;
  color: var(--ink-secondary);
  font-size: 14px;
  font-weight: 400;
  transition: color 180ms ease;
}

.marketing-links a:hover {
  color: var(--primary);
}

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

.button-pill {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  transition: transform 160ms ease, color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

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

.button-pill:active {
  transform: scale(0.98);
}

.button-primary {
  background: var(--primary);
  color: #fff !important;
}

.button-primary:hover {
  background: var(--primary-deep);
  box-shadow: 0 10px 28px rgba(83, 58, 253, 0.24);
}

.button-secondary {
  border-color: rgba(83, 58, 253, 0.26);
  background: rgba(255, 255, 255, 0.72);
  color: var(--primary-deep) !important;
}

.button-secondary:hover {
  border-color: var(--primary);
  background: #fff;
}

.button-dark {
  background: var(--brand-dark);
  color: #fff !important;
}

.button-ghost {
  color: var(--ink-secondary) !important;
}

.button-arrow {
  margin-left: 8px;
  transition: transform 180ms ease;
}

.button-pill:hover .button-arrow {
  transform: translateX(3px);
}

.hero-section {
  position: relative;
  min-height: 850px;
  overflow: hidden;
  padding: 154px 0 92px;
  background: var(--canvas-soft) url('../images/mesh.svg') center top / cover no-repeat;
}

.hero-section::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 170px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 82%);
  content: "";
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(540px, 1.05fr);
  gap: 54px;
  align-items: center;
}

.hero-copy {
  max-width: 540px;
  padding-bottom: 42px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 20px;
  color: var(--primary-deep);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 20px;
  height: 1px;
  margin-right: 9px;
  background: currentColor;
  content: "";
}

.hero-title {
  max-width: 530px;
  margin-bottom: 24px;
  color: var(--ink);
  font-size: clamp(46px, 4.6vw, 64px);
  font-weight: 300;
  letter-spacing: -0.052em;
  line-height: 0.98;
}

.hero-title span {
  color: var(--primary);
}

.hero-lead {
  max-width: 490px;
  margin-bottom: 30px;
  color: var(--ink-secondary);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions .button-pill {
  min-height: 46px;
  padding: 13px 21px;
  font-size: 15px;
}

.hero-footnote {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 12px;
}

.hero-footnote span {
  display: inline-flex;
  align-items: center;
}

.hero-footnote i {
  margin-right: 6px;
  color: var(--primary);
  font-size: 9px;
}

.product-stage {
  position: relative;
  min-width: 0;
  padding: 36px 0 18px;
  perspective: 1500px;
}

.product-stage::before {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 78%;
  height: 70%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
  filter: blur(40px);
  content: "";
}

.product-window {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 44px 100px rgba(28, 30, 84, 0.24), 0 8px 26px rgba(13, 37, 61, 0.1);
  transform: rotateY(-4deg) rotateX(1.5deg);
  transform-origin: center;
}

.window-topbar {
  display: flex;
  height: 44px;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.96);
}

.window-dots {
  display: flex;
  gap: 5px;
}

.window-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cbd5e1;
}

.window-dots span:first-child { background: var(--ruby); }
.window-dots span:nth-child(2) { background: #f5b84c; }
.window-dots span:nth-child(3) { background: #34b997; }

.window-status {
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.window-status::before {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: #19a974;
  box-shadow: 0 0 0 3px rgba(25, 169, 116, 0.12);
  content: "";
}

.window-shell {
  display: grid;
  min-height: 440px;
  grid-template-columns: 62px 1fr;
}

.window-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  background: var(--brand-dark);
}

.mini-brand {
  width: 24px;
  height: 24px;
  margin-bottom: 8px;
  border-radius: 7px 12px 7px 12px;
  background: var(--primary-soft);
}

.sidebar-icon {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
}

.sidebar-icon.active {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.window-content {
  min-width: 0;
  padding: 23px;
  background: #f8fafc;
}

.workspace-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.workspace-head h3 {
  margin: 0 0 3px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 300;
  letter-spacing: -0.03em;
}

.workspace-head p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.workspace-action {
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 9px;
  font-weight: 400;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

.metric-card {
  padding: 14px;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  background: #fff;
}

.metric-label {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 400;
}

.metric-value {
  color: var(--ink);
  font-size: 21px;
  font-weight: 300;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}

.metric-trend {
  margin-left: 3px;
  color: #0b8f72;
  font-size: 8px;
}

.chart-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  gap: 12px;
  margin-bottom: 12px;
  padding: 15px;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  background: #fff;
}

.mini-chart {
  position: relative;
  height: 92px;
  overflow: hidden;
}

.chart-gridline {
  position: absolute;
  right: 0;
  left: 0;
  height: 1px;
  background: #edf1f5;
}

.chart-gridline:nth-child(1) { top: 18px; }
.chart-gridline:nth-child(2) { top: 46px; }
.chart-gridline:nth-child(3) { top: 74px; }

.chart-line {
  position: absolute;
  right: 2px;
  bottom: 8px;
  left: 2px;
  height: 68px;
}

.chart-line svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.chart-summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 12px;
  border-left: 1px solid var(--hairline);
}

.chart-summary span {
  color: var(--muted);
  font-size: 9px;
}

.chart-summary strong {
  margin: 5px 0 3px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 300;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}

.transaction-table {
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  background: #fff;
}

.transaction-row {
  display: grid;
  grid-template-columns: 1.4fr 0.85fr 0.65fr 0.8fr;
  align-items: center;
  min-height: 37px;
  padding: 0 13px;
  border-bottom: 1px solid #edf1f5;
  color: var(--ink-secondary);
  font-size: 9px;
}

.transaction-row:last-child { border-bottom: 0; }
.transaction-row.header { background: #fbfcfe; color: var(--muted); font-weight: 400; }
.transaction-row span:nth-child(3) { font-variant-numeric: tabular-nums; }

.status-pill {
  justify-self: start;
  padding: 3px 7px;
  border-radius: 999px;
  background: #e8f8f2;
  color: #08745e;
  font-size: 8px;
  font-weight: 400;
}

.floating-proof {
  position: absolute;
  right: -22px;
  bottom: -16px;
  width: 188px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 46px rgba(28, 30, 84, 0.16);
  backdrop-filter: blur(12px);
}

.proof-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 9px;
  font-weight: 400;
}

.proof-label i {
  color: #0b8f72;
}

.proof-value {
  display: block;
  margin: 7px 0 9px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 300;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.proof-bar {
  height: 4px;
  overflow: hidden;
  border-radius: 4px;
  background: #e8ebf5;
}

.proof-bar span {
  display: block;
  width: 98.6%;
  height: 100%;
  border-radius: inherit;
  background: var(--primary);
}

.trust-strip {
  position: relative;
  z-index: 2;
  padding: 30px 0 72px;
  background: #fff;
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--hairline);
}

.trust-copy {
  flex: 0 0 220px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.partner-list {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(30px, 5vw, 72px);
  filter: grayscale(1);
  opacity: 0.58;
}

.partner-list img {
  max-width: 112px;
  max-height: 34px;
  object-fit: contain;
}

.section {
  padding: 96px 0;
}

.section-soft {
  background: var(--canvas-soft);
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 0.55fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 58px;
}

.section-title {
  max-width: 700px;
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(38px, 4.4vw, 56px);
  font-weight: 300;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.section-description {
  max-width: 430px;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.feature-split {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
  gap: 78px;
  align-items: center;
}

.feature-copy h3 {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 32px;
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.feature-copy > p {
  max-width: 440px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.feature-list {
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid var(--hairline);
  color: var(--ink-secondary);
}

.feature-list li:last-child {
  border-bottom: 1px solid var(--hairline);
}

.feature-list i {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: #eceaff;
  color: var(--primary);
  font-size: 9px;
}

.inline-link {
  color: var(--primary) !important;
  font-size: 15px;
  font-weight: 400;
}

.code-composite {
  position: relative;
  min-height: 478px;
  padding: 28px 24px 34px 54px;
  border-radius: 18px;
  background: var(--brand-dark);
  box-shadow: 0 28px 70px rgba(28, 30, 84, 0.2);
}

.code-window {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: #111338;
  box-shadow: 0 16px 40px rgba(5, 7, 34, 0.25);
}

.code-tabs {
  display: flex;
  height: 42px;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.46);
  font-size: 10px;
}

.code-tabs span.active {
  color: #fff;
}

.code-block {
  margin: 0;
  padding: 24px 24px 30px;
  color: #e4e4ff;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  line-height: 1.75;
  white-space: pre-wrap;
}

.code-dim { color: #777ca8; }
.code-key { color: #f5a8e9; }
.code-string { color: #f7d29c; }
.code-value { color: #aaa3ff; }

.event-panel {
  position: absolute;
  right: -24px;
  bottom: -22px;
  width: 275px;
  padding: 20px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(5, 7, 34, 0.28);
}

.event-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 400;
}

.event-tag {
  padding: 3px 7px;
  border-radius: 999px;
  background: #e8f8f2;
  color: #08745e;
  font-size: 8px;
}

.event-row {
  display: grid;
  grid-template-columns: 8px 1fr auto;
  gap: 9px;
  align-items: center;
  padding: 9px 0;
  border-top: 1px solid var(--hairline);
  color: var(--muted);
  font-size: 9px;
}

.event-row i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.event-row strong {
  color: var(--ink-secondary);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

.cream-band {
  padding: 92px 0;
  background: var(--canvas-cream);
}

.workflow-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 80px;
  align-items: start;
}

.workflow-intro {
  position: sticky;
  top: 120px;
}

.workflow-intro h2 {
  margin-bottom: 20px;
  color: var(--ink);
  font-size: clamp(38px, 4vw, 52px);
  font-weight: 300;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.workflow-intro p {
  max-width: 390px;
  color: var(--ink-secondary);
  font-size: 16px;
  line-height: 1.65;
}

.workflow-list {
  border-top: 1px solid rgba(13, 37, 61, 0.16);
}

.workflow-step {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 24px;
  padding: 36px 0 38px;
  border-bottom: 1px solid rgba(13, 37, 61, 0.16);
}

.step-number {
  color: var(--primary-deep);
  font-size: 13px;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

.workflow-step h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 26px;
  font-weight: 300;
  letter-spacing: -0.03em;
}

.workflow-step p {
  max-width: 570px;
  margin: 0;
  color: var(--ink-secondary);
  line-height: 1.65;
}

.workspace-section {
  padding: 104px 0 112px;
  overflow: hidden;
  background: #fff;
}

.workspace-showcase {
  position: relative;
  margin-top: 54px;
  padding: 34px;
  border-radius: 18px;
  background: var(--brand-dark);
  box-shadow: 0 34px 90px rgba(28, 30, 84, 0.2);
}

.workspace-showcase::before {
  position: absolute;
  top: -110px;
  right: -120px;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: rgba(83, 58, 253, 0.44);
  filter: blur(100px);
  content: "";
}

.console-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 14px;
}

.console-rail {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(9, 11, 48, 0.8);
  color: #fff;
}

.console-rail h3 {
  margin-bottom: 24px;
  color: #fff;
  font-size: 22px;
  font-weight: 300;
  letter-spacing: -0.03em;
}

.console-stat {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.console-stat span {
  display: block;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
}

.console-stat strong {
  color: #fff;
  font-size: 26px;
  font-weight: 300;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.console-main {
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
}

.console-main-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--hairline);
}

.console-main-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 300;
}

.console-filter {
  padding: 6px 10px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  color: var(--muted);
  font-size: 9px;
}

.console-list {
  padding: 0 22px 12px;
}

.console-row {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 0.65fr 0.7fr;
  align-items: center;
  min-height: 54px;
  border-bottom: 1px solid var(--hairline);
  color: var(--ink-secondary);
  font-size: 11px;
}

.console-row span:nth-child(3) {
  font-variant-numeric: tabular-nums;
}

.console-row.head {
  min-height: 42px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 400;
}

.capability-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 54px;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.capability-item {
  padding: 32px 34px 34px 0;
}

.capability-item + .capability-item {
  padding-left: 34px;
  border-left: 1px solid var(--hairline);
}

.capability-item i {
  margin-bottom: 18px;
  color: var(--primary);
  font-size: 20px;
}

.capability-item h3 {
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 300;
  letter-spacing: -0.02em;
}

.capability-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.final-cta {
  padding: 0 0 96px;
  background: #fff;
}

.cta-band {
  position: relative;
  display: grid;
  min-height: 320px;
  overflow: hidden;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 62px 68px;
  border-radius: 18px;
  background: var(--brand-dark);
  color: #fff;
}

.cta-band::before,
.cta-band::after {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  content: "";
}

.cta-band::before {
  top: -160px;
  right: 12%;
  width: 440px;
  height: 360px;
  background: rgba(83, 58, 253, 0.75);
}

.cta-band::after {
  right: -100px;
  bottom: -180px;
  width: 390px;
  height: 390px;
  background: rgba(234, 34, 97, 0.5);
}

.cta-copy,
.cta-actions {
  position: relative;
  z-index: 1;
}

.cta-copy h2 {
  max-width: 690px;
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(38px, 4.6vw, 58px);
  font-weight: 300;
  letter-spacing: -0.05em;
  line-height: 1;
}

.cta-copy p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
}

.cta-actions .button-primary {
  background: #fff;
  color: var(--primary-deep) !important;
}

.site-footer {
  padding: 72px 0 30px;
  border-top: 1px solid var(--hairline);
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 50px;
  padding-bottom: 58px;
}

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

.footer-column h3 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-column a,
.footer-column span {
  display: block;
  margin: 10px 0;
  color: var(--muted);
  font-size: 13px;
  transition: color 180ms ease;
}

.footer-column a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  color: var(--muted);
  font-size: 11px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease, transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

.hero-copy > * {
  opacity: 0;
  transform: translateY(18px);
  animation: hero-enter 700ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-copy > :nth-child(1) { animation-delay: 80ms; }
.hero-copy > :nth-child(2) { animation-delay: 150ms; }
.hero-copy > :nth-child(3) { animation-delay: 220ms; }
.hero-copy > :nth-child(4) { animation-delay: 290ms; }
.hero-copy > :nth-child(5) { animation-delay: 360ms; }

.product-stage {
  opacity: 0;
  animation: product-enter 900ms 180ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.floating-proof {
  animation: proof-float 5s ease-in-out infinite;
}

@keyframes hero-enter {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes product-enter {
  from { opacity: 0; transform: translateY(28px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes proof-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 32px;
  }

  .product-window {
    transform: none;
  }

  .floating-proof {
    right: -6px;
  }

  .feature-split {
    gap: 50px;
  }

  .nav-actions .button-ghost {
    display: none;
  }
}

@media (max-width: 920px) {
  .marketing-nav .navbar-toggle {
    display: block;
  }

  .marketing-nav-collapse {
    display: none !important;
    position: absolute;
    top: 68px;
    right: 24px;
    left: 24px;
    padding: 12px;
    border: 1px solid var(--hairline);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 18px 50px rgba(13, 37, 61, 0.14);
  }

  .marketing-nav-collapse.in {
    display: block !important;
  }

  .marketing-links {
    display: block;
    padding: 0;
  }

  .marketing-links a {
    padding: 12px 10px;
    border-radius: 8px;
  }

  .marketing-links a:hover {
    background: var(--canvas-soft);
  }

  .nav-actions {
    padding: 9px 0 0;
    border-top: 1px solid var(--hairline);
  }

  .nav-actions .button-ghost {
    display: inline-flex;
  }

  .hero-section {
    min-height: auto;
    padding: 140px 0 110px;
  }

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

  .hero-copy {
    max-width: 680px;
    padding-bottom: 10px;
  }

  .product-stage {
    max-width: 760px;
  }

  .section-header,
  .feature-split,
  .workflow-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .workflow-intro {
    position: static;
  }

  .code-composite {
    margin-right: 24px;
  }

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

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

  .capability-item,
  .capability-item + .capability-item {
    padding: 26px 0;
    border-left: 0;
    border-bottom: 1px solid var(--hairline);
  }

  .capability-item:last-child {
    border-bottom: 0;
  }

  .cta-band {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 30px;
  }
}

@media (max-width: 680px) {
  .marketing-container {
    width: min(100% - 28px, 1200px);
  }

  .site-header {
    padding: 8px 0;
  }

  .marketing-nav {
    min-height: 54px;
    padding: 0 12px 0 15px;
  }

  .marketing-nav-collapse {
    top: 62px;
    right: 14px;
    left: 14px;
  }

  .hero-section {
    padding: 118px 0 88px;
    background-position: 57% top;
  }

  .hero-title {
    font-size: clamp(38px, 12vw, 52px);
    line-height: 1.01;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions .button-pill {
    min-height: 44px;
  }

  .hero-footnote {
    display: grid;
    gap: 8px;
  }

  .product-stage {
    padding-top: 18px;
  }

  .window-shell {
    min-height: 390px;
    grid-template-columns: 44px 1fr;
  }

  .window-sidebar {
    gap: 10px;
  }

  .window-content {
    padding: 14px;
  }

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

  .metric-card:nth-child(3) {
    display: none;
  }

  .metric-value {
    font-size: 17px;
  }

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

  .chart-summary {
    display: none;
  }

  .transaction-row {
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
  }

  .transaction-row span:nth-child(2) {
    display: none;
  }

  .floating-proof {
    display: none;
  }

  .trust-strip {
    padding-bottom: 48px;
  }

  .trust-inner {
    display: block;
  }

  .trust-copy {
    margin-bottom: 24px;
  }

  .partner-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    justify-items: start;
  }

  .partner-list img {
    max-width: 100px;
  }

  .section,
  .cream-band,
  .workspace-section {
    padding: 72px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-title,
  .workflow-intro h2 {
    font-size: 38px;
  }

  .feature-copy h3 {
    font-size: 28px;
  }

  .code-composite {
    min-height: 420px;
    margin-right: 0;
    padding: 18px 14px 118px;
  }

  .code-block {
    padding: 18px;
    font-size: 10px;
  }

  .event-panel {
    right: 14px;
    bottom: 14px;
    left: 14px;
    width: auto;
  }

  .workflow-step {
    grid-template-columns: 42px 1fr;
    gap: 12px;
  }

  .workspace-showcase {
    padding: 14px;
  }

  .console-rail {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 20px;
  }

  .console-rail h3 {
    grid-column: 1 / -1;
  }

  .console-row {
    grid-template-columns: 1.1fr 0.7fr 0.7fr;
  }

  .console-row span:nth-child(2) {
    display: none;
  }

  .cta-band {
    min-height: 360px;
    padding: 42px 26px;
  }

  .cta-copy h2 {
    font-size: 40px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom span {
    display: block;
    margin-top: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
