:root {
  --royal: #0057ff;
  --deep: #0039b8;
  --sky: #00aeef;
  --white: #ffffff;
  --ice: #f6f8fc;
  --text: #0f172a;
  --muted: #64748b;
  --magenta: #ec008c;
  --green: #22c55e;
  --orange: #f97316;
  --border: rgba(226, 232, 240, 0.9);
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(rgba(0, 87, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 87, 255, 0.026) 1px, transparent 1px),
    radial-gradient(circle at 88% 8%, rgba(0, 174, 239, 0.17), transparent 28rem),
    radial-gradient(circle at 78% 22%, rgba(236, 0, 140, 0.08), transparent 24rem),
    radial-gradient(circle at 6% 88%, rgba(0, 87, 255, 0.11), transparent 28rem),
    var(--ice);
  background-size: 34px 34px, 34px 34px, auto, auto, auto;
}

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

button,
input {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.section-soft {
  background: rgba(255, 255, 255, 0.38);
}

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(20px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.92);
}

.header-inner,
.brand,
.nav,
.hero-actions,
.hero-trust,
.mock-top {
  display: flex;
  align-items: center;
}

.header-inner {
  min-height: 76px;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand-logo {
  position: relative;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 57, 184, 0.12);
}

.brand-logo img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.logo-fallback {
  display: none;
  font-weight: 900;
  color: var(--royal);
}

.brand-logo img:not([src]),
.brand-logo img[src=""] {
  display: none;
}

.brand-logo img:not([src]) + .logo-fallback,
.brand-logo img[src=""] + .logo-fallback {
  display: inline;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
  font-weight: 900;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.nav {
  gap: 20px;
}

.nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--royal);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

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

.btn {
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 16px;
  cursor: pointer;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--royal), var(--deep));
  color: white;
  box-shadow: 0 14px 28px rgba(0, 87, 255, 0.22);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.82);
  color: var(--royal);
  border: 1px solid rgba(0, 87, 255, 0.18);
}

.hero {
  padding-top: 96px;
}

.hero-grid,
.two-col,
.roi-grid,
.before-after,
.pricing-grid {
  display: grid;
  gap: 32px;
}

.hero-grid {
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(0, 87, 255, 0.08);
  color: var(--royal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 10px;
}

p {
  color: var(--muted);
  line-height: 1.75;
}

.lead {
  color: #334155;
  font-size: 19px;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-trust {
  gap: 18px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.hero-trust div {
  min-width: 140px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-trust strong,
.hero-trust span {
  display: block;
}

.hero-trust strong {
  color: var(--royal);
  font-size: 28px;
  font-weight: 950;
}

.hero-trust span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.glass-card,
.mock-window,
.interactive-demo,
.roi-card,
.roi-result,
.compare-card,
.pricing-card,
.positioning-card,
.comparison-table-wrap,
.coverage-card,
.commercial-copy,
.model-comparison article {
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.mock-window {
  padding: 18px;
}

.mock-top {
  gap: 8px;
  padding-bottom: 18px;
  color: var(--muted);
}

.mock-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}

.mock-top strong {
  margin-left: auto;
  font-size: 13px;
}

.metric-grid,
.demo-grid,
.finance-grid,
.problem-grid,
.module-grid {
  display: grid;
  gap: 16px;
}

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

.metric-grid article,
.demo-kpi,
.finance-grid article {
  padding: 18px;
  border-radius: 22px;
  background: rgba(248, 250, 252, 0.92);
}

.metric-grid small,
.demo-kpi small,
.finance-grid small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.metric-grid strong,
.demo-kpi strong,
.finance-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 24px;
  font-weight: 950;
}

.metric-grid em {
  display: inline-flex;
  margin-top: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #dcfce7;
  color: #15803d;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.css-chart,
.demo-chart {
  display: flex;
  align-items: end;
  gap: 14px;
  height: 190px;
  margin-top: 18px;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(0, 87, 255, 0.06), rgba(255, 255, 255, 0.78));
}

.css-chart i,
.demo-chart i {
  flex: 1;
  border-radius: 999px 999px 10px 10px;
  background: linear-gradient(180deg, var(--royal), var(--sky));
  animation: rise 1.1s ease both;
}

.demo-chart i:nth-child(1) { height: 35%; }
.demo-chart i:nth-child(2) { height: 58%; }
.demo-chart i:nth-child(3) { height: 46%; }
.demo-chart i:nth-child(4) { height: 72%; }
.demo-chart i:nth-child(5) { height: 88%; }

.order-line {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
  padding: 14px;
  border-radius: 18px;
  background: white;
}

.order-line span,
.order-line em {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

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

.problem-grid {
  grid-template-columns: repeat(3, 1fr);
}

.glass-card,
.module-card {
  padding: 24px;
}

.glass-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.glass-card:hover,
.module-card:hover,
.pricing-card:hover,
.positioning-card:hover,
.model-comparison article:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
}

.glass-card > :first-child {
  font-size: 28px;
}

.module-grid {
  grid-template-columns: repeat(4, 1fr);
}

.module-card {
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 26px;
  background: white;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.module-card span {
  font-size: 30px;
}

.interactive-demo {
  padding: 20px;
}

.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.tab {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(0, 87, 255, 0.14);
  border-radius: 999px;
  background: white;
  color: var(--muted);
  cursor: pointer;
  font-weight: 900;
}

.tab.active {
  background: var(--royal);
  color: white;
}

.tab-panel {
  display: none;
  min-height: 270px;
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.92), rgba(255, 255, 255, 0.95));
}

.tab-panel.active {
  display: block;
  animation: fadeUp 0.28s ease both;
}

.demo-grid,
.finance-grid {
  grid-template-columns: repeat(3, 1fr);
}

.os-sheet,
.stock-list,
.chat-demo {
  display: grid;
  gap: 12px;
}

.os-sheet {
  max-width: 520px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: white;
}

.os-sheet strong {
  color: var(--royal);
  font-size: 28px;
}

.stock-list span,
.check-list span,
.content-pills span {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border-radius: 18px;
  background: white;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.warning {
  color: var(--orange);
}

.chat-demo p {
  max-width: 640px;
  padding: 16px;
  border-radius: 20px;
}

.chat-demo .user {
  margin-left: auto;
  background: var(--royal);
  color: white;
}

.chat-demo .bot {
  background: white;
}

.two-col {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.important {
  padding: 18px;
  border-left: 4px solid var(--royal);
  border-radius: 18px;
  background: white;
  color: #334155;
  font-weight: 800;
}

.check-list,
.content-pills {
  display: grid;
  gap: 12px;
}

.roi-grid {
  grid-template-columns: 0.9fr 1fr;
  align-items: start;
}

.roi-card {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.roi-card label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.roi-card input {
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0 14px;
}

.roi-result {
  grid-column: 2;
  display: grid;
  gap: 14px;
  padding: 22px;
}

.roi-result div {
  padding: 18px;
  border-radius: 20px;
  background: white;
}

.roi-result small,
.roi-result em {
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.roi-result strong {
  display: block;
  margin-top: 8px;
  color: var(--royal);
  font-size: 28px;
  font-weight: 950;
}

.roi-result p {
  margin: 0;
  padding: 16px;
  border-radius: 18px;
  background: #ecfdf5;
  color: #15803d;
  font-weight: 900;
}

.comparison-section {
  background:
    radial-gradient(circle at 12% 18%, rgba(0, 87, 255, 0.12), transparent 26rem),
    radial-gradient(circle at 86% 80%, rgba(0, 174, 239, 0.12), transparent 24rem);
}

.comparison-intro {
  max-width: 920px;
  margin-bottom: 28px;
  color: #334155;
  font-size: 18px;
  font-weight: 750;
}

.positioning-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.positioning-card {
  position: relative;
  padding: 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.positioning-card.featured {
  border-color: rgba(0, 87, 255, 0.55);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(219, 234, 254, 0.84));
  box-shadow: 0 24px 70px rgba(0, 87, 255, 0.15);
}

.positioning-card h3 {
  margin-top: 16px;
  font-size: 24px;
}

.positioning-card ul,
.model-comparison ul {
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.9;
}

.value-badge,
.choice-seal,
.status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 950;
}

.value-badge.neutral {
  background: #f1f5f9;
  color: #475569;
}

.value-badge.orange {
  background: #fff7ed;
  color: #c2410c;
}

.value-badge.blue,
.status.high {
  background: rgba(0, 87, 255, 0.1);
  color: var(--royal);
}

.choice-seal {
  position: absolute;
  top: -14px;
  right: 18px;
  background: linear-gradient(135deg, var(--royal), var(--deep));
  color: white;
  box-shadow: 0 12px 24px rgba(0, 87, 255, 0.22);
}

.comparison-table-wrap {
  margin-top: 30px;
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 16px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  text-align: left;
  vertical-align: middle;
}

.comparison-table th {
  color: #0f172a;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.comparison-table td:first-child {
  color: #334155;
  font-weight: 850;
}

.comparison-table tr:last-child td {
  border-bottom: 0;
}

.status.yes {
  background: #dcfce7;
  color: #15803d;
}

.status.no {
  background: #f8fafc;
  color: #991b1b;
}

.status.partial {
  background: #fff7ed;
  color: #c2410c;
}

.coverage-card {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 28px;
  margin-top: 28px;
  padding: 28px;
}

.coverage-card h3 {
  margin-top: 18px;
  font-size: 28px;
}

.coverage-bars {
  display: grid;
  gap: 18px;
  align-content: center;
}

.coverage-row {
  display: grid;
  grid-template-columns: 150px 1fr 58px;
  gap: 14px;
  align-items: center;
}

.coverage-row span,
.coverage-row strong {
  font-weight: 950;
}

.coverage-row strong {
  color: var(--royal);
  text-align: right;
}

.coverage-track {
  height: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.22);
}

.coverage-track i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--royal), var(--sky));
  transition: width 1s cubic-bezier(0.2, 0.85, 0.25, 1);
}

.coverage-row.highlight .coverage-track i {
  background: linear-gradient(90deg, var(--deep), var(--royal), var(--sky));
}

.coverage-note {
  grid-column: 1 / -1;
  margin: 0;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  color: #334155;
  font-weight: 800;
}

.commercial-copy {
  margin-top: 28px;
  padding: 32px;
  background: linear-gradient(135deg, rgba(0, 87, 255, 0.95), rgba(0, 57, 184, 0.94));
  color: white;
}

.commercial-copy h2,
.commercial-copy p {
  color: white;
}

.commercial-copy p {
  color: rgba(255, 255, 255, 0.84);
}

.commercial-copy strong {
  display: block;
  margin-top: 18px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.13);
  font-size: 18px;
  line-height: 1.6;
}

.before-after,
.pricing-grid {
  grid-template-columns: 1fr 1fr;
}

.compare-card,
.pricing-card {
  padding: 28px;
}

.compare-card ul,
.pricing-card ul {
  padding-left: 20px;
  color: var(--muted);
  line-height: 2;
}

.before h2 {
  color: var(--orange);
}

.after h2,
.pricing-card strong {
  color: var(--royal);
}

.pricing-card strong {
  display: block;
  margin: 12px 0;
  font-size: 42px;
  font-weight: 950;
}

.pricing-card.featured {
  border-color: rgba(0, 87, 255, 0.22);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(219, 234, 254, 0.78));
}

.investment-note {
  max-width: 780px;
  margin: 26px auto 0;
  text-align: center;
  font-size: 17px;
  font-weight: 900;
}

.model-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 26px;
}

.model-comparison article {
  padding: 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.model-comparison article.featured {
  border-color: rgba(0, 87, 255, 0.38);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(219, 234, 254, 0.82));
}

.model-comparison strong {
  display: block;
  margin: 10px 0 12px;
  color: var(--royal);
  font-size: 32px;
  font-weight: 950;
}

.final-cta {
  text-align: center;
}

.final-cta .container {
  padding: 58px 28px;
  border-radius: 34px;
  background: linear-gradient(135deg, var(--royal), var(--deep));
  color: white;
  box-shadow: 0 24px 70px rgba(0, 57, 184, 0.28);
}

.final-cta h2 {
  color: white;
}

.final-cta p {
  max-width: 760px;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.82);
}

.final-cta .btn-secondary {
  background: rgba(255, 255, 255, 0.16);
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

.footer {
  padding: 34px 0;
  color: var(--muted);
  text-align: center;
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rise {
  from {
    transform: scaleY(0.35);
    transform-origin: bottom;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .two-col,
  .roi-grid,
  .before-after,
  .pricing-grid,
  .positioning-grid,
  .coverage-card,
  .model-comparison {
    grid-template-columns: 1fr;
  }

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

  .roi-result {
    grid-column: auto;
  }

  .nav {
    position: absolute;
    top: 76px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border-radius: 24px;
    background: white;
    box-shadow: var(--shadow);
  }

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

  .menu-toggle {
    display: inline-block;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    padding-top: 70px;
  }

  h1 {
    font-size: 42px;
  }

  .problem-grid,
  .module-grid,
  .metric-grid,
  .demo-grid,
  .finance-grid {
    grid-template-columns: 1fr;
  }

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

  .coverage-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .coverage-row strong {
    text-align: left;
  }

  .hero-actions,
  .final-cta .container div {
    display: grid;
  }
}
