/* =========================================================
   OpsKore Master Design System & Production Stylesheet
   - State-of-the-art enterprise B2B SaaS aesthetic
   - Scaled typography for high impact and readability
   - Rich color palette, crisp contrast, premium components
   ========================================================= */

:root {
  --blue: #0755d9;
  --blue2: #0b67ef;
  --blue3: #0647bd;
  --navy: #071934;
  --ink: #19314e;
  --text: #526c88;
  --muted: #76889b;
  --line: #dbe7f3;
  --soft: #f6faff;
  --green: #07966f;
  --amber: #e39911;
  --red: #e34a4f;
  --white: #fff;
  --shadow: 0 22px 70px rgba(35, 78, 131, 0.10);
  --max: 1440px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  font-size: 17px;
  line-height: 1.65;
}

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

.wrap {
  width: min(calc(100% - 48px), var(--max));
  margin: auto;
}

.section {
  padding: 92px 0;
}

.soft {
  background: linear-gradient(180deg, #f7fbff, #fff);
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--navy);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

/* =========================================================
   1. STICKY HEADER & NAVBAR
   - Restored Why OpsKore navigation link
   - Bolder, dark navy links with generous flex spacing
   - High-contrast Request Demo button
   ========================================================= */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid #edf2f7;
}

.nav {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0;
  font-weight: 800;
  font-size: 24px;
  color: var(--blue);
  text-decoration: none;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

/* Use the original logo silhouette with the wordmark's exact brand color. */
.brand-mark {
  display: inline-block;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask: url('/images/opskore-logo.png') center / contain no-repeat;
  mask: url('/images/opskore-logo.png') center / contain no-repeat;
}

.brand .brand-mark {
  width: 36px;
  height: 36px;
}

.navlinks {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 32px;
}

.navlinks a {
  font-size: 15px;
  font-weight: 700;
  color: #19314e;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s ease;
}

.navlinks a:hover {
  color: var(--blue);
}

.navcta {
  margin-left: 14px;
  padding: 11.5px 22px;
  background: var(--blue);
  color: #fff;
  border-radius: 9px;
  font-size: 14.5px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(7, 85, 217, 0.22);
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  flex-shrink: 0;
}

.navcta:hover {
  background: #0647bd;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(7, 85, 217, 0.30);
}

.menu {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 9px;
  width: 42px;
  height: 42px;
  font-size: 20px;
  cursor: pointer;
}

/* =========================================================
   2. HERO SECTION
   - Bold, commanding headline typography
   - Increased lead and support paragraph sizes
   - Distinct operating promise pill & CTA buttons
   - Crisp, high-contrast Command Center dashboard mockup
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 80px;
  background: radial-gradient(circle at 76% 10%, rgba(11, 103, 239, 0.12), transparent 28%),
              radial-gradient(circle at 4% 88%, rgba(7, 85, 217, 0.055), transparent 30%),
              linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(7, 85, 217, 0.035) 1px, transparent 1px),
              linear-gradient(rgba(7, 85, 217, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.25), transparent 58%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: center;
}

.hero-copy {
  max-width: 820px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border: 1px solid #c9def9;
  border-radius: 999px;
  background: rgba(242, 247, 255, 0.95);
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(7, 85, 217, 0.06);
}

.hero-kicker-dot {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.hero-copy h1 {
  max-width: 820px;
  margin: 18px 0 0;
  font-size: clamp(44px, 4.45vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.047em;
  color: var(--navy);
  text-wrap: balance;
}

.hero-copy h1 span {
  display: inline;
  background: linear-gradient(90deg, #0755d9 0%, #0b67ef 62%, #1049a8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--blue);
}

.hero .hero-lead {
  margin: 22px 0 0;
  max-width: 730px;
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.55;
  color: #1a3451;
  font-weight: 700;
}

.hero .hero-support {
  margin: 14px 0 0;
  max-width: 710px;
  font-size: clamp(16px, 1.3vw, 18.5px);
  line-height: 1.65;
  color: #516a85;
}

.hero .hero-support strong {
  font-weight: 650;
  color: #0f2742;
}

.hero-promise {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding: 12px 20px;
  width: max-content;
  max-width: 100%;
  border: 1px solid #d7e5f6;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(29, 77, 132, 0.06);
  color: #173e67;
  font-size: 15.5px;
  font-weight: 750;
}

.hero-promise span {
  white-space: nowrap;
}

.hero-promise i {
  font-style: normal;
  color: #7da2ca;
  font-weight: 700;
  margin: 0 4px;
}

.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 25px;
  border-radius: 9px;
  border: 1px solid transparent;
  font-size: 15.5px;
  font-weight: 750;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  text-decoration: none;
}

.btn.primary {
  background: linear-gradient(135deg, #0647bd, #0b67ef);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(7, 85, 217, 0.22);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(7, 85, 217, 0.28);
}

.btn.ghost {
  border-color: #c0d6f2;
  color: var(--blue);
  background: #fff;
  box-shadow: 0 2px 8px rgba(36, 78, 124, 0.05);
}

.btn.ghost:hover {
  background: #f6faff;
  border-color: #9bc3f5;
}

.hero .actions {
  gap: 16px;
}

.hero .actions .btn {
  min-height: 56px;
  min-width: 190px;
  padding: 15px 28px;
  border-radius: 14px;
  letter-spacing: -0.2px;
}

.hero .hero-primary {
  border-color: #0755d9;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 8px 20px rgba(7, 85, 217, 0.18);
}

.hero .hero-secondary {
  border-color: #b6cff0;
  background: linear-gradient(180deg, #fff, #f5f9ff);
}

.hero .actions .btn:focus-visible {
  outline: 3px solid #0755d9;
  outline-offset: 4px;
}

@media (max-width: 480px) {
  .hero .actions .btn {
    width: 100%;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero .actions .btn {
    transition: none;
    transform: none;
  }
}

.micro {
  margin-top: 22px;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  color: #546d85;
  font-size: 14.5px;
  font-weight: 700;
}

.micro span:before {
  content: "✓";
  color: var(--green);
  font-weight: 800;
  margin-right: 7px;
}

/* Command Center Console Mockup */
.console {
  border: 1px solid #c7dcf2;
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(24, 73, 131, 0.12);
  background: #fff;
  overflow: hidden;
}

.console-top {
  min-height: 52px;
  flex-wrap: wrap;
  gap: 6px;
  border-bottom: 1px solid #e5edf5;
  display: flex;
  align-items: center;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 800;
  color: #1f3e60;
}

.console-top img {
  width: 26px;
  height: 26px;
  margin-right: 9px;
  object-fit: contain;
}

.live {
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eaf8f3;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
}

.console-body {
  padding: 18px;
  background: #fbfdff;
}

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

.kpi {
  padding: 15px 12px;
  background: #fff;
  border: 1px solid #e1eaf3;
  border-radius: 10px;
}

.kpi small {
  display: block;
  font-size: 12.5px;
  color: #76889b;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.kpi b {
  display: block;
  font-size: 32px;
  margin-top: 6px;
  color: #123d68;
  font-weight: 850;
  line-height: 1.1;
}

.console-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.panel {
  padding: 16px;
  border: 1px solid #e1eaf3;
  border-radius: 10px;
  background: #fff;
}

.panel h4 {
  margin: 0 0 12px;
  font-size: 14.5px;
  font-weight: 800;
  color: #1c3d5e;
}

.row {
  display: grid;
  grid-template-columns: 8px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid #eef2f6;
  font-size: 13.5px;
  color: #4e667d;
  font-weight: 600;
}

.row:last-child {
  border: 0;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.dot.warn {
  background: var(--amber);
}

.dot.red {
  background: var(--red);
}

.row b {
  font-size: 13.5px;
  font-weight: 750;
  color: #1b3a58;
}

/* =========================================================
   3. THE OPERATIONAL PROBLEM SECTION
   ========================================================= */
.problem {
  padding: 84px 0;
  border-top: 1px solid #edf2f7;
}

.problem-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid #cfe1fa;
  border-radius: 999px;
  background: #f2f7ff;
  color: var(--blue);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow:before {
  content: "✦";
}

.problem-grid h2 {
  margin-top: 18px;
  font-size: clamp(42px, 4.6vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--navy);
  font-weight: 800;
  max-width: 580px;
}

.lead {
  font-size: 20px;
  line-height: 1.68;
  color: #556f89;
  margin-top: 20px;
  max-width: 580px;
}

.problem-map {
  display: grid;
  gap: 14px;
}

.env {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid #dce7f1;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(23, 72, 126, 0.035);
}

.env b {
  display: block;
  font-size: 17.5px;
  font-weight: 750;
  color: var(--navy);
}

.env span {
  display: block;
  font-size: 15px;
  color: #647b92;
  margin-top: 4px;
  line-height: 1.5;
}

.env em {
  font-style: normal;
  font-size: 14px;
  padding: 6px 14px;
  border-radius: 99px;
  background: #fff3dd;
  color: #9b6300;
  font-weight: 800;
}

.env.good em {
  background: #eaf8f3;
  color: var(--green);
}

/* =========================================================
   4. HOW OPSKORE WORKS (7-STEP FLOW)
   ========================================================= */
.section-head {
  text-align: center;
  max-width: 880px;
  margin: 0 auto 50px;
}

.section-head .over {
  font-size: 14px;
  font-weight: 800;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.section-head h2 {
  margin-top: 12px;
  font-size: clamp(36px, 4.2vw, 52px);
}

.section-head p {
  margin-top: 16px;
  color: #58718a;
  line-height: 1.7;
  font-size: 19.5px;
}

.flow {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  align-items: stretch;
}

.flow-item {
  min-height: 150px;
  padding: 22px 14px;
  text-align: center;
  border: 1px solid #dce7f1;
  border-radius: 13px;
  background: #fff;
}

.flow-item i {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #edf5ff;
  color: var(--blue);
  font-style: normal;
  margin: 0 auto 14px;
  font-weight: 800;
  font-size: 16px;
}

.flow-item b {
  display: block;
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
}

.flow-item p {
  font-size: 14px;
  line-height: 1.55;
  color: #61778e;
  margin-top: 7px;
}

/* =========================================================
   5. FLEETOPS & DASHBOARD SECTION
   ========================================================= */
.fleet {
  background: radial-gradient(circle at 82% 14%, rgba(11, 103, 239, 0.08), transparent 30%),
              linear-gradient(180deg, #f7fbff 0%, #fff 86%);
}

.fleet-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 52px;
  align-items: center;
}

.fleet-copy h2 {
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.035em;
  margin-top: 16px;
}

.fleet-copy .lead {
  font-size: 17.5px;
  line-height: 1.65;
  color: #58718a;
  margin-top: 16px;
}

.fleet-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

.fleet-point {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 15px;
  border: 1px solid #dce8f5;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
}

.fleet-point i {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #edf5ff;
  color: var(--blue);
  font-style: normal;
  font-size: 13.5px;
  font-weight: 900;
}

.fleet-point b {
  display: block;
  font-size: 15px;
  font-weight: 750;
  color: #183f67;
  line-height: 1.35;
}

.fleet-point span {
  display: block;
  font-size: 13.5px;
  color: #647c93;
  line-height: 1.5;
  margin-top: 3px;
}

.fleet-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.fleet-dashboard {
  border: 1px solid #cfe0f1;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(38, 88, 145, 0.12);
  overflow: hidden;
}

.fleet-dashboard-top {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid #e7eef6;
  background: #fff;
}

.fleet-dashboard-title {
  font-size: 16.5px;
  font-weight: 800;
  color: #173d64;
  white-space: nowrap;
}

.fleet-tabs {
  display: flex;
  gap: 18px;
  font-size: 14.5px;
  font-weight: 700;
  color: #6d8296;
}

.fleet-tabs span:first-child {
  color: var(--blue);
  position: relative;
}

.fleet-tabs span:first-child:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -19px;
  height: 2px;
  background: var(--blue);
}

.fleet-live {
  margin-left: auto;
  padding: 5px 12px;
  border-radius: 999px;
  background: #eaf8f3;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

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

.fleet-kpi {
  padding: 16px;
  border: 1px solid #e0e9f2;
  border-radius: 12px;
  background: #fbfdff;
}

.fleet-kpi small {
  display: block;
  font-size: 12.5px;
  font-weight: 750;
  color: #788c9f;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fleet-kpi strong {
  display: block;
  font-size: 32px;
  color: #173f69;
  margin-top: 6px;
  font-weight: 850;
}

.fleet-kpi em {
  display: block;
  font-style: normal;
  font-size: 13.5px;
  color: #647c93;
  margin-top: 4px;
}

.fleet-kpi.good { background: #f2fbf7; }
.fleet-kpi.warn { background: #fffaf0; }
.fleet-kpi.bad { background: #fff6f6; }

.fleet-table-wrap {
  padding: 18px;
}

.fleet-table-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.fleet-table-title b {
  font-size: 16.5px;
  font-weight: 800;
  color: #173d64;
}

.fleet-table-title span {
  font-size: 14px;
  color: var(--blue);
  font-weight: 750;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th {
  text-align: left;
  padding: 13px 12px;
  background: #fbfdff;
  color: #667c91;
  font-size: 13px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

td {
  padding: 14px 12px;
  border-top: 1px solid #edf2f6;
  font-size: 15px;
  color: #435e78;
}

td:first-child {
  font-weight: 750;
  color: var(--blue);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
  background: #eaf8f3;
  color: var(--green);
}

.pill.warn { background: #fff4da; color: #b17300; }
.pill.bad { background: #fff0f1; color: #d53a45; }

.fleet-foot {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 0 18px 18px;
}

.fleet-foot div {
  padding: 12px;
  border: 1px solid #e3ebf4;
  border-radius: 10px;
  background: #fafcff;
  text-align: center;
}

.fleet-foot b {
  display: block;
  font-size: 15px;
  font-weight: 750;
  color: #1e3f5d;
}

.fleet-foot span {
  display: block;
  font-size: 13.5px;
  color: #6a8096;
  margin-top: 3px;
}

/* =========================================================
   6. PRODUCT CAPABILITIES GRID
   ========================================================= */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.cap {
  padding: 28px;
  border: 1px solid #dce7f1;
  border-radius: 14px;
  background: #fff;
  min-height: 240px;
  box-shadow: 0 9px 26px rgba(23, 72, 126, 0.035);
}

.cap .icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: #edf5ff;
  color: var(--blue);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 18px;
}

.cap h3 {
  font-size: 21px;
  font-weight: 800;
  margin-top: 18px;
}

.cap p {
  font-size: 16px;
  line-height: 1.65;
  color: #5d748c;
  margin-top: 10px;
}

.cap ul {
  padding-left: 18px;
  margin: 14px 0 0;
  color: #49637c;
  font-size: 15px;
  line-height: 1.75;
}

.cap.featured {
  border-color: #9bc3f5;
  background: linear-gradient(180deg, #f7fbff, #fff);
}

/* =========================================================
   7. USE CASES SECTION
   ========================================================= */
.use-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.use {
  padding: 28px;
  border: 1px solid #dce7f1;
  border-radius: 14px;
  background: #fff;
}

.use b {
  display: block;
  font-size: 19px;
  font-weight: 800;
  color: #163c62;
}

.use p {
  font-size: 16px;
  line-height: 1.65;
  color: #5c748c;
  margin-top: 10px;
}

/* =========================================================
   8. WHY OPSKORE (COMPARISON SECTION)
   ========================================================= */
.comparison-visual-section {
  padding-top: 92px;
  padding-bottom: 92px;
  background: #fff;
}

.comparison-heading {
  max-width: 960px;
  margin-bottom: 34px;
}

.opskore-compare {
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  align-items: stretch;
  margin-top: 40px;
}

.compare-panel {
  border: 1px solid #dbe6f2;
  border-radius: 20px;
  padding: 34px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(17, 55, 96, 0.06);
}

.compare-panel.without {
  border-color: #f1d7da;
  background: linear-gradient(180deg, #fff 0%, #fffafa 100%);
}

.compare-panel.with {
  border-color: #cbdff8;
  background: linear-gradient(180deg, #fff 0%, #f7fbff 100%);
}

.compare-title {
  font-size: 30px;
  font-weight: 850;
  letter-spacing: -0.035em;
  color: var(--navy);
  margin: 0 0 10px;
}

.compare-panel.without .compare-title span { color: #e4474f; }
.compare-panel.with .compare-title span { color: var(--blue); }

.compare-sub {
  font-size: 17.5px;
  color: #5a728a;
  margin: 0 0 26px;
  line-height: 1.55;
  font-weight: 600;
}

.compare-items {
  display: grid;
  gap: 16px;
}

.compare-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: center;
  border-radius: 14px;
  padding: 18px 20px;
}

.without .compare-item { background: #fff2f3; }
.with .compare-item { background: #eef6ff; }

.compare-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 800;
}

.without .compare-icon { background: #ffe0e2; color: #df424b; }
.with .compare-icon { background: #dcecff; color: #1260d8; }

.compare-item b {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}

.compare-item p {
  font-size: 15.5px;
  line-height: 1.58;
  color: #5b738c;
  margin: 0;
}

.compare-arrow {
  display: grid;
  place-items: center;
}

.compare-arrow span {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--blue);
  border: 1px solid #d8e7f8;
  box-shadow: 0 8px 22px rgba(18, 96, 216, 0.10);
  font-size: 28px;
  font-weight: 800;
}

/* =========================================================
   9. ENTERPRISE ARCHITECTURE
   ========================================================= */
#architecture .section-head h2 {
  font-size: clamp(30px, 3.2vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

#architecture .section-head p {
  font-size: 17px;
  line-height: 1.65;
  margin-top: 14px;
}

.arch {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  align-items: stretch;
}

.arch-card {
  padding: 20px 15px;
  text-align: center;
  border: 1px solid #dce7f1;
  border-radius: 14px;
  background: #fff;
}

.arch-card b {
  display: block;
  font-size: 15px;
  font-weight: 750;
  color: var(--navy);
}

.arch-card p {
  font-size: 13.5px;
  line-height: 1.5;
  color: #637a91;
  margin-top: 7px;
}

.security {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.sec {
  padding: 12px 10px;
  border-radius: 10px;
  background: #f7fbff;
  border: 1px solid #e0eaf4;
  text-align: center;
  font-size: 13.5px;
  font-weight: 750;
  color: #2b4968;
}

/* =========================================================
   10. ENTERPRISE DEMO CARD & INTERACTIVE FORM
   ========================================================= */
#demo {
  padding: 84px 0;
  background: #fff;
}

#demo .wrap {
  width: min(calc(100% - 48px), 1180px);
}

.enterprise-contact-card {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(500px, 1.18fr);
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid #bcd5f4;
  background: #0755d9;
  box-shadow: 0 22px 62px rgba(20, 73, 140, 0.14);
}

.enterprise-contact-copy {
  position: relative;
  overflow: hidden;
  padding: 38px 36px;
  color: #fff;
  background: radial-gradient(circle at 8% 0%, rgba(68, 146, 255, 0.62), transparent 34%),
              linear-gradient(155deg, #0b67ef 0%, #0755d9 48%, #043fa8 100%);
}

.enterprise-contact-copy:after {
  content: "";
  position: absolute;
  width: 205px;
  height: 205px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  right: -118px;
  bottom: -122px;
  box-shadow: 0 0 0 30px rgba(255, 255, 255, 0.035), 0 0 0 60px rgba(255, 255, 255, 0.022);
}

.enterprise-contact-copy .contact-kicker {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #e7f1ff;
}

.enterprise-contact-copy h2 {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: clamp(26px, 2.5vw, 34px);
  line-height: 1.16;
  margin-top: 12px;
  letter-spacing: -0.03em;
  max-width: 440px;
}

.enterprise-contact-copy > p {
  position: relative;
  z-index: 1;
  color: #e2efff;
  font-size: 15px;
  line-height: 1.65;
  margin-top: 12px;
  max-width: 440px;
}

.contact-value-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
}

.contact-value-grid > div {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.09);
}

.contact-value-grid i {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
  color: #fff;
  font-style: normal;
  font-size: 13.5px;
  font-weight: 800;
}

.contact-value-grid span {
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
  color: #fff;
}

.sales-direct {
  position: relative;
  z-index: 1;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.sales-direct small {
  display: block;
  color: #bdd8ff;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  margin-bottom: 5px;
}

.sales-direct a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-weight: 800;
  font-size: 14.5px;
  text-decoration: none;
}

.sales-direct a:hover {
  text-decoration: underline;
}

.premium-demo-form {
  min-width: 0;
  background: #fff;
  padding: 34px 36px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.premium-form-heading {
  padding-bottom: 2px;
}

.premium-form-heading > span {
  display: block;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.premium-form-heading h3 {
  font-size: 23px;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.form-intro {
  font-size: 14.5px;
  line-height: 1.58;
  margin: 7px 0 2px;
  color: #647b92;
  max-width: 680px;
}

.premium-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  min-width: 0;
}

.premium-demo-form label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: #24415e;
  font-size: 13.5px;
  font-weight: 750;
}

.premium-demo-form label em {
  font-style: normal;
  font-weight: 500;
  color: #8c9cae;
}

.premium-demo-form input,
.premium-demo-form select,
.premium-demo-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #cbdced;
  border-radius: 10px;
  background: #fbfdff;
  color: #1c3755;
  outline: none;
  font: 500 14.5px Inter, Arial, sans-serif;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
}

.premium-demo-form input,
.premium-demo-form select {
  height: 46px;
  padding: 0 14px;
}

.premium-demo-form textarea {
  padding: 12px 14px;
  resize: vertical;
  min-height: 90px;
  line-height: 1.5;
}

.premium-demo-form input:focus,
.premium-demo-form select:focus,
.premium-demo-form textarea:focus {
  border-color: #5599f2;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(7, 85, 217, 0.09);
}

.premium-submit {
  height: 48px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #0647bd, #0b67ef);
  color: #fff;
  font: 800 15px Inter, Arial, sans-serif;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(7, 85, 217, 0.20);
  transition: transform 0.18s, box-shadow 0.18s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.premium-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(7, 85, 217, 0.25);
}

.premium-submit:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.premium-submit strong {
  font-size: 16px;
  line-height: 1;
}

.form-trust {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: #687f95;
  font-size: 13.5px;
  line-height: 1.45;
  padding-top: 4px;
}

.form-trust a {
  color: var(--blue);
  font-weight: 800;
}

.form-honey {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-status {
  display: none;
  border-radius: 9px;
  padding: 12px 16px;
  font-size: 14.5px;
  line-height: 1.5;
  font-weight: 700;
}

.form-status.show {
  display: block;
}

.form-status.success {
  background: #eefaf6;
  border: 1px solid #c8eadf;
  color: #176b52;
}

.form-status.error {
  background: #fff5f4;
  border: 1px solid #f0d0cc;
  color: #9a3a30;
}

/* =========================================================
   11. FOOTER
   ========================================================= */
footer {
  border-top: 1px solid #e3ecf4;
  padding: 42px 0 26px;
  background: #fff;
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.footbrand {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 21px;
  font-weight: 800;
  color: var(--blue);
}

.footbrand .brand-mark {
  width: 30px;
  height: 30px;
}

.footlinks {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 15.5px;
  font-weight: 650;
  color: #556f89;
}

.footlinks a:hover {
  color: var(--blue);
}

.copyright {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid #edf2f6;
  color: #7b8fa3;
  font-size: 14px;
}

/* =========================================================
   12. RESPONSIVE BREAKPOINTS
   ========================================================= */
@media (max-width: 1050px) {
  .navlinks {
    display: none;
  }
  .navlinks.mobile-open {
    display: flex;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 76px;
    flex-direction: column;
    gap: 0;
    padding: 14px 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
  }
  .navlinks.mobile-open a {
    padding: 13px 0;
    font-size: 16px;
    border-bottom: 1px solid #edf2f6;
  }
  .menu {
    display: block;
  }
  .hero-grid,
  .problem-grid,
  .fleet-grid {
    grid-template-columns: 1fr;
  }
  .cap-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .flow {
    grid-template-columns: repeat(4, 1fr);
  }
  .arch {
    grid-template-columns: repeat(3, 1fr);
  }
  .security {
    grid-template-columns: repeat(3, 1fr);
  }
  .enterprise-contact-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .opskore-compare {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .compare-arrow {
    height: 36px;
  }
  .compare-arrow span {
    transform: rotate(90deg);
    width: 44px;
    height: 44px;
    font-size: 24px;
  }
  .compare-title {
    font-size: 26px;
  }
  .contact-value-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 700px) {
  .wrap {
    width: min(calc(100% - 28px), var(--max));
  }
  .section {
    padding: 70px 0;
  }
  .hero {
    padding-top: 52px;
  }
  h1 {
    font-size: clamp(40px, 10vw, 56px);
  }
  .hero-promise {
    width: 100%;
    gap: 6px 8px;
    font-size: 14px;
  }
  .kpis,
  .console-grid {
    grid-template-columns: 1fr 1fr;
  }
  .flow {
    grid-template-columns: 1fr 1fr;
  }
  .fleet-points {
    grid-template-columns: 1fr;
  }
  .fleet-kpis {
    grid-template-columns: 1fr 1fr;
  }
  .fleet-tabs {
    display: none;
  }
  .fleet-foot {
    grid-template-columns: 1fr 1fr;
  }
  .fleet-dashboard {
    overflow-x: auto;
  }
  .fleet-dashboard table {
    min-width: 650px;
  }
  .cap-grid,
  .use-grid {
    grid-template-columns: 1fr;
  }
  .arch {
    grid-template-columns: 1fr 1fr;
  }
  .security {
    grid-template-columns: 1fr 1fr;
  }
  .contact-value-grid {
    grid-template-columns: 1fr 1fr;
  }
  .premium-form-row {
    grid-template-columns: 1fr;
  }
  .premium-demo-form {
    padding: 28px 22px 26px;
  }
  .enterprise-contact-copy {
    padding: 32px 24px;
  }
}

/* Keep preview labels legible when dashboard headers wrap. */
.live, .fleet-live {
  white-space: nowrap;
  flex-shrink: 0;
}
