/* Dimension x Seline refresh: executive dark command center + crisp data canvas */
:root {
  --ink: #0b1120;
  --muted: #596579;
  --line: #dfe5ef;
  --soft: #f5f7fb;
  --panel: #ffffff;
  --navy: #0b1120;
  --primary: #355cff;
  --violet: #7a4dff;
  --cyan: #38a7ff;
  --amber: #b86b12;
  --red: #c7354b;
  --shadow: 0 28px 80px rgba(9, 14, 28, 0.14);
}

body {
  background: #f6f8fb;
}

.site-header {
  background: rgba(8, 13, 26, 0.84);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  color: #f8fafc;
}

.site-header .brand-mark {
  background: linear-gradient(135deg, #f8fafc, #7dd3fc);
  color: #0b1120;
}

.site-header .nav-links {
  color: #aeb9ca;
}

.site-header .nav-links a:hover {
  color: #fff;
}

.site-header .button.small {
  background: #f8fafc;
  border-color: rgba(255, 255, 255, 0.2);
  color: #0b1120;
  box-shadow: none;
}

.lang-switch {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.lang-button {
  color: #c7d2e3;
}

.lang-button.active {
  background: #f8fafc;
  color: #0b1120;
}

main {
  overflow: hidden;
}

.hero {
  width: 100%;
  max-width: none;
  min-height: calc(100vh - 72px);
  padding: 78px clamp(20px, 4vw, 56px) 82px;
  background:
    linear-gradient(rgba(99, 102, 241, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 72% 28%, rgba(53, 92, 255, 0.34), transparent 28%),
    radial-gradient(circle at 18% 20%, rgba(122, 77, 255, 0.2), transparent 24%),
    #070b16;
  background-size: 72px 72px, 72px 72px, auto, auto, auto;
  color: #fff;
}

.hero.section-shell {
  width: 100%;
}

.hero-copy {
  max-width: 670px;
  justify-self: end;
}

.hero .eyebrow {
  color: #89b4ff;
}

.hero h1 {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(44px, 5.2vw, 72px);
}

.hero-subtitle {
  color: #c0c9d8;
  font-size: 19px;
}

.hero .button {
  background: #f8fafc;
  border-color: rgba(255, 255, 255, 0.18);
  color: #0b1120;
  box-shadow: 0 18px 44px rgba(125, 172, 255, 0.22);
}

.hero .button.secondary {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
  color: #e5edf8;
}

.trust-strip span {
  color: #d9e5f8;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
}

.hero-visual-card.command-visual {
  position: relative;
  min-height: 620px;
  padding: 0;
  background: #070b16;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 12px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 40px 120px rgba(0, 0, 0, 0.42);
}

.command-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: blur(3px) brightness(0.48) saturate(1.08);
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
}

.command-glass {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 48%, rgba(74, 106, 255, 0.34), transparent 23%),
    linear-gradient(180deg, rgba(7, 11, 22, 0.2), rgba(7, 11, 22, 0.72));
}

.command-visual .org-chip,
.command-visual .org-output,
.command-visual .org-card,
.command-visual .org-core {
  z-index: 2;
}

.command-visual .org-card {
  width: 190px;
  background: rgba(11, 17, 32, 0.72);
  border-color: rgba(155, 178, 255, 0.24);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
}

.command-visual .org-core {
  width: 190px;
  height: 146px;
  background:
    radial-gradient(circle at 50% 30%, rgba(151, 171, 255, 0.28), transparent 44%),
    rgba(8, 13, 26, 0.86);
  border: 1px solid rgba(155, 178, 255, 0.28);
  border-radius: 999px;
  box-shadow:
    0 0 54px rgba(74, 106, 255, 0.45),
    0 0 0 10px rgba(74, 106, 255, 0.08);
}

.command-visual .org-core span {
  display: none;
}

.command-visual .org-output,
.command-visual .org-chip {
  background: rgba(11, 17, 32, 0.72);
  border-color: rgba(155, 178, 255, 0.24);
}

.comparison-stage,
.pain,
.modules,
.cases,
.outputs,
.deliverables,
.closing {
  padding: 104px 0;
}

.section-heading {
  max-width: 900px;
}

.eyebrow {
  color: #355cff;
  text-transform: none;
}

h2 {
  color: #0b1120;
}

.interactive-compare,
.case-card,
.panel-gallery article,
.device-showcase,
.visual-stack,
.officer-map,
.closing-inner {
  border-radius: 12px;
}

.compare-controls,
.analysis-tabs {
  background: #eef2f8;
}

.compare-tab.active,
.analysis-tab.active,
.workflow-output,
.command-footer {
  background: #0b1120;
}

.compare-diagram,
.diagram-lane,
.compare-metrics article,
.module-grid article,
.capability,
.compare-grid article,
.timeline article {
  background: #fff;
  border-color: #e1e7f0;
}

.diagram-lane.ai-lane {
  background:
    linear-gradient(180deg, rgba(53, 92, 255, 0.08), rgba(255, 255, 255, 0.92)),
    #fff;
}

.ai-flow span {
  background: #0b1120;
}

.ai-flow span:nth-child(2) {
  color: #355cff;
  background: #edf3ff;
}

.platform,
.workflow,
.comparison {
  background: #f0f3f8;
}

.workflow-visual,
.mini-command {
  background:
    linear-gradient(rgba(125, 151, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 151, 255, 0.1) 1px, transparent 1px),
    #0b1120;
  background-size: 56px 56px, 56px 56px, auto;
}

.workflow-node,
.command-list article {
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(155, 178, 255, 0.2);
}

.module-grid article {
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.05);
}

.module-grid article h3::before {
  content: "";
  display: block;
  width: 32px;
  height: 3px;
  margin-bottom: 18px;
  background: #355cff;
  border-radius: 999px;
}

.outputs {
  grid-template-columns: minmax(0, 0.74fr) minmax(560px, 1.26fr);
}

.device-showcase {
  background:
    linear-gradient(rgba(125, 151, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 151, 255, 0.1) 1px, transparent 1px),
    radial-gradient(circle at 82% 18%, rgba(122, 77, 255, 0.24), transparent 32%),
    #0b1120;
  background-size: 54px 54px, 54px 54px, auto, auto;
  border-color: rgba(155, 178, 255, 0.18);
  border-radius: 16px;
}

.desktop-frame {
  border-radius: 12px;
  background: linear-gradient(180deg, #252d3f, #0f172a);
}

.desktop-frame img {
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.phone-frame {
  border-color: #252d3f;
}

.demo-banner {
  color: #5e440d;
  background: #fff6dd;
  border-color: #ead7a7;
}

.analysis-logic article {
  background:
    linear-gradient(rgba(125, 151, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 151, 255, 0.1) 1px, transparent 1px),
    #0b1120;
  background-size: 54px 54px, 54px 54px, auto;
  border: 1px solid rgba(155, 178, 255, 0.18);
}

.panel-gallery article {
  padding: 0;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.panel-shot {
  position: relative;
  min-height: 252px;
  padding: 18px;
  color: #0b1120;
  background: #f8fafc;
  border-bottom: 1px solid #e1e7f0;
  border-radius: 0;
}

.panel-shot::before {
  content: "";
  position: absolute;
  inset: 52px 18px 18px;
  background:
    linear-gradient(90deg, #355cff 0 22%, transparent 22% 100%) 0 18px / 100% 8px no-repeat,
    linear-gradient(90deg, #7a4dff 0 38%, transparent 38% 100%) 0 58px / 100% 8px no-repeat,
    linear-gradient(90deg, #38a7ff 0 61%, transparent 61% 100%) 0 98px / 100% 8px no-repeat,
    linear-gradient(#e5ebf5 0 0) 0 0 / 100% 1px no-repeat,
    linear-gradient(#e5ebf5 0 0) 0 40px / 100% 1px no-repeat,
    linear-gradient(#e5ebf5 0 0) 0 80px / 100% 1px no-repeat,
    linear-gradient(#e5ebf5 0 0) 0 120px / 100% 1px no-repeat;
  border: 1px solid #e1e7f0;
  border-radius: 8px;
}

.panel-shot::after {
  content: "";
  position: absolute;
  right: 30px;
  bottom: 30px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: conic-gradient(from 90deg, #355cff 0 38%, #7a4dff 38% 68%, #38a7ff 68% 88%, #d9e3f3 88% 100%);
  box-shadow: inset 0 0 0 28px #f8fafc;
}

.panel-shot span,
.panel-shot strong,
.panel-shot p {
  position: relative;
  z-index: 1;
}

.panel-shot span {
  display: inline-flex;
  padding: 5px 8px;
  color: #355cff;
  background: #edf3ff;
  border: 1px solid #d8e3ff;
  border-radius: 999px;
}

.panel-shot strong {
  margin-top: 116px;
  color: #0b1120;
  font-size: 22px;
}

.panel-shot p {
  color: #596579;
}

.amazon-shot::before {
  background:
    linear-gradient(90deg, #355cff 0 66%, transparent 66% 100%) 0 18px / 100% 8px no-repeat,
    linear-gradient(90deg, #f59e0b 0 44%, transparent 44% 100%) 0 58px / 100% 8px no-repeat,
    linear-gradient(90deg, #7a4dff 0 28%, transparent 28% 100%) 0 98px / 100% 8px no-repeat,
    linear-gradient(#e5ebf5 0 0) 0 0 / 100% 1px no-repeat,
    linear-gradient(#e5ebf5 0 0) 0 40px / 100% 1px no-repeat,
    linear-gradient(#e5ebf5 0 0) 0 80px / 100% 1px no-repeat,
    linear-gradient(#e5ebf5 0 0) 0 120px / 100% 1px no-repeat;
}

.content-shot::after,
.hiring-shot::after {
  border-radius: 12px;
  background: linear-gradient(180deg, #355cff, #7a4dff);
  box-shadow:
    -42px 12px 0 -18px #38a7ff,
    -78px 30px 0 -24px #b8c6df;
}

.finance-shot::before,
.voice-shot::before {
  background:
    linear-gradient(135deg, transparent 20%, rgba(53, 92, 255, 0.14) 20% 21%, transparent 21%),
    linear-gradient(160deg, transparent 28%, rgba(122, 77, 255, 0.16) 28% 29%, transparent 29%),
    linear-gradient(#e5ebf5 0 0) 0 0 / 100% 1px no-repeat,
    linear-gradient(#e5ebf5 0 0) 0 40px / 100% 1px no-repeat,
    linear-gradient(#e5ebf5 0 0) 0 80px / 100% 1px no-repeat,
    linear-gradient(#e5ebf5 0 0) 0 120px / 100% 1px no-repeat;
}

.panel-gallery h3,
.panel-gallery > article > p {
  padding: 0 18px;
}

.panel-gallery > article > p {
  padding-bottom: 18px;
}

.case-card {
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 52px rgba(15, 23, 42, 0.08);
}

.case-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
  background: #0b1120;
  border-bottom: 1px solid #e1e7f0;
}

.closing-inner {
  background:
    radial-gradient(circle at 78% 20%, rgba(53, 92, 255, 0.28), transparent 28%),
    #0b1120;
  color: #fff;
}

.closing-inner h2 {
  color: #fff;
}

.closing-inner p:not(.eyebrow) {
  color: #c0c9d8;
}

.closing-inner .button.secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.site-footer {
  background: #0b1120;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  color: #cbd5e1;
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    justify-self: start;
  }

  .hero-visual-card.command-visual {
    min-height: 560px;
  }

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

@media (max-width: 900px) {
  .site-header {
    padding: 12px 18px;
  }

  .nav-links,
  .header-actions .button.small {
    display: none;
  }

  .hero h1 {
    white-space: normal;
  }

  .hero-visual-card.command-visual {
    min-height: 520px;
  }

  .command-visual .org-card {
    width: 42%;
  }

  .command-visual .org-card-a,
  .command-visual .org-card-c,
  .command-visual .org-card-e {
    left: 5%;
  }

  .command-visual .org-card-b,
  .command-visual .org-card-d,
  .command-visual .org-card-f {
    right: 5%;
  }

  .panel-gallery,
  .module-grid,
  .officer-lab .module-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 56px 20px 64px;
  }

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

  .hero-visual-card.command-visual {
    min-height: 640px;
  }

  .command-visual .org-card {
    position: absolute;
    width: calc(100% - 40px);
    left: 20px !important;
    right: 20px !important;
  }

  .command-visual .org-card-a { top: 72px; }
  .command-visual .org-card-b { top: 146px; }
  .command-visual .org-card-c { top: 220px; }
  .command-visual .org-card-d { top: 294px; }
  .command-visual .org-card-e { top: 368px; bottom: auto; }
  .command-visual .org-card-f { top: 442px; bottom: auto; }

  .command-visual .org-core {
    top: auto;
    bottom: 54px;
    width: 154px;
    height: 104px;
  }

  .command-visual .org-output {
    bottom: 14px;
    max-width: calc(100% - 40px);
    white-space: normal;
    text-align: center;
  }

  .device-showcase {
    grid-template-columns: 1fr;
  }

  .phone-frame {
    justify-self: center;
    width: min(220px, 82vw);
  }

  .desktop-frame img,
  .phone-frame img {
    height: auto;
  }

  .analysis-tabs {
    display: grid;
    width: 100%;
  }
}
