:root {
  --blue: #2556f5;
  --blue-dark: #1437b8;
  --blue-soft: #e8efff;
  --ink: #111827;
  --ink-soft: #364152;
  --muted: #6f7c90;
  --line: #d9e1ee;
  --surface: #ffffff;
  --surface-soft: #f4f7fb;
  --surface-strong: #eaf0f8;
  --green: #04996c;
  --green-soft: #e4f7ef;
  --orange: #d87800;
  --orange-soft: #fff1dc;
  --red: #d62839;
  --red-soft: #ffe8eb;
  --shadow: 0 18px 55px rgba(17, 24, 39, 0.14);
  --soft-shadow: 0 10px 34px rgba(31, 44, 67, 0.09);
  --radius: 8px;
  --header-height: 80px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #f7f9fc;
}

.connections-app-body {
  min-height: 100vh;
  margin: 0;
  color: #0f172a;
  background: #fff;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.connections-app {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.connections-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  border-bottom: 1px solid #edf1f7;
  margin-bottom: 28px;
  padding-bottom: 18px;
}

.connections-header img {
  width: 218px;
  height: auto;
}

.connections-primary,
.connections-secondary,
.connections-danger,
.connection-actions button,
.new-connection-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 8px;
  border: 0;
  padding: 0 16px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  appearance: none;
}

.connections-secondary,
.connection-actions button {
  border: 1px solid #cbd5e1;
  color: #2563eb;
  background: #fff;
}

.connections-primary,
.new-connection-card button {
  color: #fff;
  background: #2563eb;
}

.connections-danger {
  color: #fff;
  background: #dc2626;
}

.connection-actions button:disabled {
  cursor: not-allowed;
  opacity: .48;
}

.connections-page {
  width: 100%;
}

.connections-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 48px;
  margin-bottom: 18px;
}

.connections-titlebar h1 {
  margin: 0;
  color: #0f172a;
  font-size: 28px;
  line-height: 1.12;
  font-weight: 850;
  letter-spacing: 0;
}

.connections-titlebar--back {
  justify-content: flex-start;
}

.connections-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #dbe3ef;
  border-radius: 999px;
  background: #fff;
  color: #2563eb;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.connections-list {
  border-top: 1px solid #edf1f7;
}

.connection-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid #edf1f7;
  background: #fff;
  padding: 16px 2px;
  transition: background .18s ease, padding .18s ease;
}

.connection-card:hover {
  border-radius: 8px;
  background: #f8fafc;
  padding-left: 12px;
  padding-right: 12px;
}

.connection-main {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.connection-logo,
.new-connection-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: #eef4ff;
  color: #2158f4;
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
  flex: 0 0 auto;
}

.connection-copy,
.new-connection-copy {
  min-width: 0;
}

.connection-copy strong,
.new-connection-copy strong {
  display: block;
  color: #0f172a;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 850;
}

.connection-copy span,
.new-connection-copy span,
.connections-empty p {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-size: 13px;
}

.connection-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.connection-status,
.connection-badge {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-height: 26px;
  border-radius: 999px;
  background: #eef2f7;
  color: #64748b !important;
  padding: 0 10px;
  font-size: 11px !important;
  font-weight: 900;
  line-height: 1;
}

.connection-status.is-active,
.connection-badge {
  background: #e7f8ef;
  color: #07894f !important;
}

.connection-badge--erp {
  background: #eaf2ff;
  color: #2563eb !important;
}

.connections-search {
  margin: 0 0 18px;
}

.connections-search input {
  width: min(420px, 100%);
  height: 42px;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
  font: inherit;
  font-size: 14px;
  outline: none;
  padding: 0 14px;
}

.connections-search input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .10);
}

.new-connections-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.new-connection-card {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 132px;
  border: 1px solid #e5edf7;
  border-radius: 8px;
  background: #fff;
  padding: 14px;
  transition: border-color .18s ease, background .18s ease;
}

.new-connection-card:hover {
  border-color: #c8d5ea;
  background: #fbfdff;
}

.new-connection-card.is-highlighted {
  border-color: rgba(33, 88, 244, 0.48);
  background: #f7faff;
}

.new-connection-card button {
  grid-column: 1 / -1;
  width: 100%;
}

.connections-loading,
.connections-empty {
  border: 1px dashed #dbe3ef;
  border-radius: 8px;
  padding: 28px;
  color: #64748b;
  text-align: center;
}

.connections-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
  max-width: min(420px, calc(100vw - 32px));
  border-radius: 8px;
  background: #0f172a;
  color: #fff;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 750;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .22);
}

.connections-toast[data-type="success"] {
  background: #047857;
}

.connections-toast[data-type="warning"] {
  background: #b45309;
}

.connections-toast[data-type="error"] {
  background: #b91c1c;
}

@media (max-width: 980px) {
  .new-connections-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .connections-app {
    width: min(100% - 20px, 1240px);
    padding-top: 16px;
  }

  .connections-header img {
    width: 190px;
  }

  .connections-titlebar h1 {
    font-size: 24px;
  }

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

  .connection-actions {
    flex-wrap: wrap;
    width: 100%;
  }

  .new-connections-list {
    grid-template-columns: 1fr;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f7f9fc;
  line-height: 1.5;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: 6px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(217, 225, 238, 0.78);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 28px rgba(17, 24, 39, 0.08);
  background: rgba(255, 255, 255, 0.96);
}

.header-inner {
  width: min(1180px, calc(100% - 40px));
  height: var(--header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  min-width: 180px;
}

.brand-link img {
  width: 188px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-left: auto;
}

.main-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 8px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
  transition: background 0.18s ease, color 0.18s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: var(--blue-soft);
  color: var(--blue);
  outline: none;
}

.header-cta,
.button,
.ghost-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.header-cta {
  padding: 0 18px;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 10px 24px rgba(37, 86, 245, 0.26);
  white-space: nowrap;
}

.button {
  padding: 0 20px;
}

.button:hover,
.header-cta:hover,
.ghost-button:hover {
  transform: translateY(-1px);
}

.button:focus-visible,
.header-cta:focus-visible,
.ghost-button:focus-visible,
.menu-button:focus-visible {
  outline: 3px solid rgba(37, 86, 245, 0.26);
  outline-offset: 3px;
}

.button-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 14px 28px rgba(37, 86, 245, 0.26);
}

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

.ghost-button {
  padding: 0 14px;
  color: var(--blue);
  background: #fff;
  border-color: #dce5f4;
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid #dce5f4;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.menu-button span {
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.menu-button[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-button[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 86dvh;
  padding: calc(var(--header-height) + 72px) 0 68px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: #08111f;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(8, 17, 31, 0), rgba(8, 17, 31, 0.82));
  z-index: -1;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(8, 17, 31, 0.96) 0%, rgba(8, 17, 31, 0.88) 38%, rgba(8, 17, 31, 0.34) 60%, rgba(8, 17, 31, 0) 78%);
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 74% 45%, rgba(37, 86, 245, 0.24), transparent 25%),
    linear-gradient(135deg, #08111f 0%, #142033 46%, #f4f7fb 46.4%, #f4f7fb 100%);
}

.dot-field {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: radial-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 28px 28px;
  animation: dotDrift 24s linear infinite;
}

.hero-content {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  max-width: 650px;
  margin-left: max(20px, calc((100vw - 1180px) / 2));
  padding: 34px 0 48px;
}

.hero-logo {
  width: 250px;
  height: auto;
  margin-bottom: 26px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #95b0ff;
}

.hero h1 {
  margin: 0;
  font-size: 70px;
  line-height: 0.95;
  font-weight: 900;
}

.hero-copy {
  max-width: 620px;
  margin: 22px 0 0;
  color: #dbe5f7;
  font-size: 20px;
  line-height: 1.55;
}

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

.hero-kpis {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-kpis span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #e9efff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 800;
}

.hero-dashboard {
  position: absolute;
  right: max(34px, calc((100vw - 1180px) / 2));
  top: 132px;
  width: min(570px, 48vw);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(203, 215, 238, 0.76);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: boardFloat 7s ease-in-out infinite;
}

.dashboard-topbar {
  height: 52px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.dashboard-topbar strong {
  margin-left: auto;
  color: var(--blue);
}

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

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

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 16px;
}

.dash-tile {
  min-height: 116px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.dash-tile span,
.dash-tile small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.dash-tile strong {
  display: block;
  margin: 8px 0 6px;
  color: var(--ink);
  font-size: 25px;
  line-height: 1.05;
}

.tile-blue {
  background: var(--blue);
  border-color: var(--blue);
}

.tile-blue span,
.tile-blue small,
.tile-blue strong {
  color: #fff;
}

.tile-alert strong {
  color: var(--orange);
}

.mock-table {
  margin: 0 16px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.mock-table-head,
.mock-table-row {
  display: grid;
  grid-template-columns: 1.55fr 0.8fr 0.8fr 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
}

.mock-table-head {
  background: #f0f4fb;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.mock-table-row {
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-soft);
}

.mock-table-row strong {
  font-variant-numeric: tabular-nums;
}

.mock-table-row em {
  justify-self: start;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--blue);
  background: var(--blue-soft);
  font-style: normal;
  font-size: 11px;
  font-weight: 900;
}

.mock-table-row.active {
  background: #f7faff;
}

.product-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border-radius: 50%;
}

.product-dot.blue {
  background: var(--blue);
}

.product-dot.green {
  background: var(--green);
}

.product-dot.orange {
  background: var(--orange);
}

.floating-panel {
  position: absolute;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  border: 1px solid rgba(203, 215, 238, 0.82);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.panel-market {
  right: 34px;
  bottom: 92px;
  width: 250px;
  padding: 14px;
  animation: panelSlide 8s ease-in-out infinite;
}

.panel-title {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.competitor-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.competitor-row strong {
  color: var(--blue);
  white-space: nowrap;
}

.panel-radar {
  right: 520px;
  bottom: 152px;
  width: 215px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px;
  animation: panelSlideAlt 7s ease-in-out infinite;
}

.radar-ring {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 3px solid var(--blue);
  position: relative;
}

.radar-ring::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 2px solid rgba(37, 86, 245, 0.24);
}

.radar-copy span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.radar-copy strong {
  color: var(--red);
  font-size: 22px;
}

.signal-strip {
  width: min(1180px, calc(100% - 40px));
  margin: -34px auto 0;
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.signal-item {
  min-height: 92px;
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 12px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.signal-icon,
.smart-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--blue);
  background: var(--blue-soft);
}

.signal-icon svg,
.smart-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.signal-item strong {
  display: block;
  font-size: 15px;
}

.signal-item span:last-child {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
}

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

.section-heading h2,
.operation-copy h2,
.ads-copy h2,
.final-content h2 {
  margin: 0;
  color: var(--ink);
  font-size: 44px;
  line-height: 1.08;
  font-weight: 900;
}

.section-heading p:not(.eyebrow),
.operation-copy p,
.ads-copy p,
.final-content p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  max-width: 720px;
}

.metric-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, 0.75fr);
  gap: 20px;
  align-items: start;
}

.metric-board,
.operation-shell,
.ads-dashboard,
.ads-rhythm {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.metric-board {
  overflow: hidden;
}

.board-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.board-header span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.board-header strong {
  display: block;
  font-size: 22px;
}

.chart-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 14px;
  padding: 20px;
}

.line-chart {
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdff;
}

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

.grid-line {
  fill: none;
  stroke: #dfe7f2;
  stroke-width: 1;
}

.chart-blue,
.chart-green,
.chart-orange {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
}

.chart-blue {
  stroke: var(--blue);
}

.chart-green {
  stroke: var(--green);
}

.chart-orange {
  stroke: var(--orange);
}

.metric-stack {
  display: grid;
  gap: 14px;
}

.metric-pill {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.metric-pill span,
.funnel-grid span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.metric-pill strong {
  display: block;
  margin-top: 10px;
  color: var(--blue);
  font-size: 34px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.funnel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 0 20px 20px;
}

.funnel-grid div {
  min-height: 94px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.funnel-grid strong {
  display: block;
  margin-top: 10px;
  font-size: 28px;
  font-variant-numeric: tabular-nums;
}

.insight-list {
  display: grid;
  gap: 14px;
}

.insight-card,
.smart-card,
.price-card,
.competitor-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.insight-card {
  padding: 24px;
}

.insight-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border-radius: 8px;
  color: var(--blue);
  background: var(--blue-soft);
  font-weight: 900;
}

.insight-card h3,
.smart-card h3,
.price-card h3,
.competitor-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.2;
}

.insight-card p,
.smart-card p,
.price-card p,
.competitor-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.competitor-section {
  padding-top: 74px;
}

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

.competitor-card {
  position: relative;
  padding: 18px;
  display: grid;
  gap: 16px;
}

.product-thumb {
  height: 150px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f3f6fb;
  position: relative;
  overflow: hidden;
}

.product-thumb::before,
.product-thumb::after {
  content: "";
  position: absolute;
  border-radius: 8px;
}

.thumb-seat::before {
  width: 86px;
  height: 96px;
  left: 50%;
  top: 22px;
  border: 12px solid #e8edf6;
  outline: 9px solid var(--blue);
  transform: translateX(-50%);
}

.thumb-seat::after {
  width: 128px;
  height: 34px;
  left: 50%;
  bottom: 22px;
  background: #dce5f4;
  transform: translateX(-50%);
}

.thumb-seal::before {
  width: 190px;
  height: 34px;
  left: 55px;
  top: 50px;
  background: #d7b86d;
  transform: rotate(-11deg);
}

.thumb-seal::after {
  width: 150px;
  height: 26px;
  left: 80px;
  top: 84px;
  background: #f0d998;
  transform: rotate(-11deg);
}

.thumb-mirror::before {
  width: 82px;
  height: 82px;
  left: 50%;
  top: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d7e0ee, #fff);
  border: 8px solid var(--blue);
  transform: translateX(-50%);
}

.thumb-mirror::after {
  width: 116px;
  height: 20px;
  left: 50%;
  bottom: 28px;
  background: #b9c4d6;
  transform: translateX(-50%);
}

.competitor-card dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0;
}

.competitor-card dl div {
  padding: 12px;
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.competitor-card dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.competitor-card dd {
  margin: 4px 0 0;
  font-size: 18px;
  font-weight: 900;
}

.status-tag {
  justify-self: start;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.status-tag.warning {
  color: var(--orange);
  background: var(--orange-soft);
}

.status-tag.success {
  color: var(--green);
  background: var(--green-soft);
}

.status-tag.danger {
  color: var(--red);
  background: var(--red-soft);
}

.operation-section {
  width: 100%;
  padding: 88px 0;
  background:
    linear-gradient(180deg, rgba(247, 249, 252, 0), rgba(234, 240, 248, 0.78)),
    #f7f9fc;
}

.operation-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 26px;
  align-items: center;
}

.operation-copy .button {
  margin-top: 24px;
}

.ops-board {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

.ops-row,
.campaign-row {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.8fr 0.9fr;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border-top: 1px solid var(--line);
}

.ops-row.head,
.campaign-row.head {
  border-top: 0;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.ops-row span,
.campaign-row span {
  font-weight: 900;
}

.ops-row strong,
.campaign-row strong {
  font-variant-numeric: tabular-nums;
}

.good {
  color: var(--green);
}

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

.risk {
  color: var(--red);
}

.ops-footer {
  padding: 16px 18px;
  border-top: 1px solid var(--line);
  color: var(--orange);
  background: var(--orange-soft);
  font-size: 14px;
  font-weight: 900;
}

.smart-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.smart-card {
  padding: 22px;
}

.smart-icon {
  margin-bottom: 18px;
}

.ads-section {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 22px;
  align-items: start;
}

.ads-copy {
  padding-top: 6px;
}

.ads-rhythm {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  overflow: hidden;
}

.week-step {
  min-height: 108px;
  padding: 20px;
  border-left: 1px solid var(--line);
  background: #fff;
}

.week-step:first-child {
  border-left: 0;
}

.week-step.active {
  background: var(--blue);
  color: #fff;
}

.week-step span {
  display: block;
  color: inherit;
  opacity: 0.74;
  font-size: 13px;
  font-weight: 900;
}

.week-step strong {
  display: block;
  margin-top: 10px;
  font-size: 24px;
}

.ads-dashboard {
  overflow: hidden;
}

.campaign-row em {
  justify-self: start;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--blue);
  background: var(--blue-soft);
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}

.pricing-section {
  padding-top: 72px;
}

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

.price-card {
  position: relative;
  padding: 24px;
  display: grid;
  gap: 18px;
}

.price-card.featured {
  border-color: rgba(37, 86, 245, 0.45);
  box-shadow: 0 20px 60px rgba(37, 86, 245, 0.16);
}

.featured-label {
  justify-self: start;
  padding: 7px 10px;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.price-card strong {
  font-size: 22px;
}

.price-card ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.price-card li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  color: var(--ink-soft);
  font-weight: 700;
}

.price-card li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--blue);
}

.price-card .button {
  margin-top: auto;
}

.final-cta {
  width: 100%;
  padding: 86px 20px;
  margin: 0;
  color: #fff;
  background: #08111f;
}

.final-content {
  width: min(900px, 100%);
  margin: 0 auto;
  text-align: center;
}

.final-content img {
  width: 258px;
  margin: 0 auto 26px;
}

.final-content h2,
.final-content p {
  color: #fff;
}

.final-content p {
  color: #dbe5f7;
  margin-left: auto;
  margin-right: auto;
}

.final-content .button {
  margin-top: 30px;
}

.site-footer {
  width: min(1180px, calc(100% - 40px));
  min-height: 130px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  color: var(--muted);
}

.site-footer img {
  width: 170px;
  margin-bottom: 10px;
}

.site-footer p {
  margin: 0;
  font-weight: 700;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.site-footer a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 8px;
  font-weight: 800;
}

.site-footer a:hover {
  color: var(--blue);
  background: var(--blue-soft);
}

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

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

@keyframes dotDrift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 56px 56px;
  }
}

@keyframes boardFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(12px);
  }
}

@keyframes panelSlide {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes panelSlideAlt {
  0%,
  100% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(8px) translateX(-8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1100px) {
  .hero {
    min-height: auto;
    padding-bottom: 420px;
  }

  .hero-content {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-dashboard {
    top: auto;
    right: 50%;
    bottom: 58px;
    width: min(720px, calc(100% - 40px));
    transform: translateX(50%);
    animation: none;
  }

  .panel-market,
  .panel-radar {
    display: none;
  }

  .metric-layout,
  .operation-shell,
  .ads-section {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 860px) {
  :root {
    --header-height: 70px;
  }

  .header-inner {
    width: min(100% - 28px, 1180px);
  }

  .brand-link img {
    width: 160px;
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

  .main-nav.is-open {
    position: fixed;
    inset: var(--header-height) 14px auto;
    display: grid;
    gap: 8px;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open a {
    justify-content: flex-start;
  }

  .hero {
    padding-top: calc(var(--header-height) + 44px);
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .signal-strip {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .section-heading h2,
  .operation-copy h2,
  .ads-copy h2,
  .final-content h2 {
    font-size: 34px;
  }

  .dashboard-grid,
  .funnel-grid,
  .ads-rhythm {
    grid-template-columns: 1fr 1fr;
  }

  .mock-table {
    overflow-x: auto;
  }

  .mock-table-head,
  .mock-table-row {
    min-width: 620px;
  }

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

  .metric-stack {
    grid-template-columns: 1fr 1fr;
  }

  .competitor-grid,
  .pricing-grid,
  .smart-grid {
    grid-template-columns: 1fr;
  }

  .ops-row,
  .campaign-row {
    grid-template-columns: 1fr 1fr;
  }

  .ops-row.head,
  .campaign-row.head {
    display: none;
  }

  .site-footer {
    padding: 28px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .header-inner,
  .hero-content,
  .section,
  .signal-strip,
  .operation-shell,
  .site-footer {
    width: calc(100% - 28px);
  }

  .brand-link img {
    width: 146px;
  }

  .hero {
    padding-bottom: 58px;
  }

  .hero::before {
    background: rgba(8, 17, 31, 0.76);
  }

  .hero-logo {
    width: 210px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

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

  .hero-kpis span {
    width: 100%;
    justify-content: center;
  }

  .dashboard-grid,
  .funnel-grid,
  .metric-stack,
  .ads-rhythm {
    grid-template-columns: 1fr;
  }

  .hero-dashboard {
    display: none;
  }

  .dash-tile {
    min-height: 96px;
  }

  .section-heading h2,
  .operation-copy h2,
  .ads-copy h2,
  .final-content h2 {
    font-size: 29px;
  }

  .section-heading p:not(.eyebrow),
  .operation-copy p,
  .ads-copy p,
  .final-content p {
    font-size: 16px;
  }

  .signal-item {
    grid-template-columns: 44px 1fr;
  }

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

  .ghost-button {
    width: 100%;
  }

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

  .price-card .button {
    width: 100%;
  }
}
