/* ==========================================================================
   QUICK ELITE — MAIN STYLESHEET
   Global styles, design tokens, typography, layout, and section styling.
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Backgrounds */
  --bg-primary: #070a12;
  --bg-secondary: #0c1120;
  --bg-tertiary: #10162a;
  --bg-card: #131a2d;
  --bg-card-hover: #171f36;

  /* Accents (from Quick Elite logo blue) */
  --accent-blue: #2f5bff;
  --accent-blue-light: #5b7fff;
  --accent-blue-dim: rgba(47, 91, 255, 0.14);
  --accent-cyan: #38bdf8;
  --accent-amber: #f5a623;
  --accent-green: #34d399;
  --accent-purple: #a78bfa;

  /* Text */
  --text-primary: #f5f7fb;
  --text-secondary: #93a0bd;
  --text-muted: #5f6c8a;

  /* Borders / lines */
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-strong: rgba(255, 255, 255, 0.14);

  /* Gradients */
  --gradient-blue: linear-gradient(135deg, #2f5bff 0%, #1c3fd6 100%);
  --gradient-radial-glow: radial-gradient(circle, rgba(47,91,255,0.35) 0%, rgba(47,91,255,0) 70%);

  /* Typography */
  --font-base: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --container-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-card: 0 20px 40px -20px rgba(0, 0, 0, 0.6);

  /* Motion */
  --transition-base: 0.25s ease;
  --transition-slow: 0.5s ease;
}

/* ---------- Reset ---------- */
* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-base);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

svg { fill: currentColor; width: 100%; height: 100%; }

/* Icon wrapper spans must be flex/block containers — width/height on an
   inline <span> is otherwise ignored by the browser, leaving the inner
   SVG to render at an unconstrained intrinsic size. */
.trust-item__icon,
.tech-card__icon,
.hardware-mini__icon,
.feature-list__icon,
.software-card__icon,
.why-feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ---------- Layout Helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 32px;
}

section { position: relative; padding: 110px 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; color: var(--text-primary); }

.section-title {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 700px;
  margin: 0 auto;
}

.section-subtitle--left { text-align: left; margin: 0 0 28px; max-width: 560px; }

.section-head { text-align: center; margin-bottom: 60px; }

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-blue-light);
  background: var(--accent-blue-dim);
  border: 1px solid rgba(91, 127, 255, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base), border-color var(--transition-base);
  white-space: nowrap;
}

.btn::after {
  content: "\2192";
  display: inline-block;
  transition: transform var(--transition-base);
}

.btn:hover::after { transform: translateX(4px); }

.btn--primary {
  background: var(--gradient-blue);
  color: #fff;
  box-shadow: 0 12px 28px -10px rgba(47, 91, 255, 0.55);
}

.btn--primary:hover { transform: translateY(-2px) scale(1.015); box-shadow: 0 16px 34px -8px rgba(47, 91, 255, 0.75), 0 0 0 1px rgba(91,127,255,0.4); }

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color-strong);
}

.btn--outline:hover { transform: translateY(-2px); border-color: var(--accent-blue-light); background: var(--accent-blue-dim); box-shadow: 0 10px 24px -12px rgba(91,127,255,0.5); }

.btn--nav { padding: 10px 20px; font-size: 0.88rem; }

/* ---------- Tags ---------- */
.tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.tag--blue { background: rgba(47, 91, 255, 0.15); color: var(--accent-blue-light); }
.tag--amber { background: rgba(245, 166, 35, 0.15); color: var(--accent-amber); }
.tag--green { background: rgba(52, 211, 153, 0.15); color: var(--accent-green); }
.tag--purple { background: rgba(167, 139, 250, 0.15); color: var(--accent-purple); }
.tag--cyan { background: rgba(56, 189, 248, 0.15); color: var(--accent-cyan); }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(7, 10, 18, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background var(--transition-base), border-color var(--transition-base);
}

.navbar.is-scrolled {
  background: rgba(7, 10, 18, 0.92);
  border-bottom-color: var(--border-color);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.navbar__brand { display: flex; align-items: center; }
.navbar__logo { height: 50px; width: auto; }

.navbar__links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;  
  justify-content: center;
  position: relative;
}

/* Single sliding indicator that tracks the active/hovered nav link,
   positioned by JS via transform + width (see initNavIndicator). */
.navbar__indicator {
  position: absolute;
  bottom: -1px;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--accent-blue-light);
  border-radius: 2px;
  opacity: 0;
  box-shadow: 0 0 8px 1px rgba(91, 127, 255, 0.6);
  transition: transform var(--transition-base), width var(--transition-base), opacity var(--transition-base);
  pointer-events: none;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-base);
}

.nav-link:hover, .nav-link.is-active { color: var(--text-primary); }

.navbar__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
}

.navbar__toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 168px 0 90px;
  overflow: hidden;
  background: var(--bg-primary);
}

.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 80% 60% at 60% 30%, black 20%, transparent 80%);
}

/* Animated GPS route lines */
.route-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.route-line {
  fill: none;
  stroke: rgba(91, 127, 255, 0.32);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 2 10;
}

.route-marker {
  fill: var(--accent-cyan);
  filter: drop-shadow(0 0 4px rgba(56, 189, 248, 0.85));
}

/* Glowing GPS location pins with expanding radar rings */
.geo-pin {
  position: absolute;
  width: 14px;
  height: 14px;
  transform: translate(-50%, -50%);
}

.geo-pin__core {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-blue-light);
  box-shadow: 0 0 10px 3px rgba(91, 127, 255, 0.7);
}

.geo-pin--alt .geo-pin__core { background: var(--accent-cyan); box-shadow: 0 0 10px 3px rgba(56, 189, 248, 0.7); }

.geo-pin__ring {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(91, 127, 255, 0.55);
}

/* Floating data particles */
.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent-blue-light);
  opacity: 0;
  box-shadow: 0 0 6px 1px rgba(91, 127, 255, 0.6);
}

/* Slow vertical scan sweep */
.hero__scanline {
  position: absolute;
  left: 0;
  right: 0;
  top: -10%;
  height: 140px;
  background: linear-gradient(180deg, transparent, rgba(91, 127, 255, 0.07), transparent);
}

.hero__globe {
  position: absolute;
  top: 8%;
  right: -6%;
  width: 640px;
  height: 640px;
  opacity: 0.9;
}

.globe-svg { overflow: visible; }

.globe-core { fill: var(--gradient-radial-glow); }
.globe-outline { fill: none; stroke: rgba(91,127,255,0.35); stroke-width: 1; }
.globe-outline--faint { stroke: rgba(91,127,255,0.15); }
.globe-ring { fill: none; stroke: rgba(91,127,255,0.28); stroke-width: 1; }

.pulse-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 14px 4px rgba(56, 189, 248, 0.6);
}

.pulse-dot--1 { top: 20%; left: 30%; }
.pulse-dot--2 { top: 60%; left: 70%; }
.pulse-dot--3 { top: 75%; left: 25%; }

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1300px;
  /* .container (also applied to this element) sets margin:0 auto, which
     would center this narrower column instead of keeping it flush with
     the container's left edge — override back to a left-aligned block. */
  margin-left: 0;
  margin-right: auto;
}

.hero__title {
  font-size: clamp(2.6rem, 5.4vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 2px;
}

.hero__title-line { display: block; overflow: hidden; }
.hero__title-word { display: inline-block; }

.hero__subtitle {
  color: var(--text-secondary);
  font-size: 1.08rem;
  max-width: 540px;
  margin-bottom: 30px;
}

.hero__actions { display: flex; gap: 16px; margin-bottom: 42px; flex-wrap: wrap; }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 36px;
  border-top: 1px solid var(--border-color);
  max-width: 640px;
}

.hero-stat { display: flex; gap: 12px; align-items: flex-start; }

.hero-stat__num {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-blue-light);
}

.hero-stat__title { font-size: 0.92rem; font-weight: 600; margin-bottom: 2px; }
.hero-stat__desc { font-size: 0.8rem; color: var(--text-muted); line-height: 1.4; }

/* ---------- Live status badge (hero + dashboard) ---------- */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-green);
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.28);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.live-badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px 2px rgba(52, 211, 153, 0.6);
  flex-shrink: 0;
}

.live-badge--sm { margin-bottom: 0; padding: 6px 12px; font-size: 0.72rem; }

/* ---------- Trust Bar ---------- */
.trust-bar {
  padding: 30px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.trust-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.trust-item__icon {
  width: 20px;
  height: 20px;
  color: var(--accent-blue-light);
  flex-shrink: 0;
}

/* ---------- About / Core Technology ---------- */
.about { background: var(--bg-primary); }

.about__grid { text-align: center; max-width: 780px; margin: 0 auto 50px; }
.about__intro { margin-bottom: 24px; }
.about__copy p { color: var(--text-secondary); margin-bottom: 14px; }
.about__copy p:last-child { margin-bottom: 0; }

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

.tech-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  position: relative;
  transition: transform var(--transition-base), border-color var(--transition-base), background var(--transition-base);
}

.tech-card:hover {
  transform: translateY(-4px);
  border-color: rgba(91,127,255,0.35);
  background: var(--bg-card-hover);
}

.tech-card__icon {
  width: 40px;
  height: 40px;
  color: var(--accent-blue-light);
  background: var(--accent-blue-dim);
  border-radius: 10px;
  padding: 9px;
  margin-bottom: 22px;
}

.tech-card__num {
  position: absolute;
  top: 26px;
  right: 24px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
}

.tech-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.tech-card p { font-size: 0.88rem; color: var(--text-secondary); }

/* ---------- Hardware ---------- */
.hardware { background: var(--bg-secondary); }

.hardware-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 46px;
  margin-bottom: 24px;
}

.hardware-card__content h3 { font-size: 1.4rem; margin-bottom: 14px; }
.hardware-card__content p { color: var(--text-secondary); margin-bottom: 18px; }

.check-list { display: flex; flex-direction: column; gap: 10px; }

.check-list li {
  position: relative;
  padding-left: 26px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-blue-dim);
  border: 1px solid rgba(91,127,255,0.4);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 7px;
  width: 6px;
  height: 3px;
  border-left: 2px solid var(--accent-blue-light);
  border-bottom: 2px solid var(--accent-blue-light);
  transform: rotate(-45deg);
}

.check-list--grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
}

.hardware-card__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.device-svg { width: 100%; max-width: 260px; color: var(--accent-blue-light); }
.device-body { fill: var(--bg-tertiary); stroke: var(--border-color-strong); stroke-width: 1.5; }
.device-screen { fill: rgba(47,91,255,0.18); stroke: rgba(91,127,255,0.4); stroke-width: 1; }
.device-dot { fill: var(--accent-blue-light); }
.device-lines { fill: none; stroke: var(--border-color-strong); stroke-width: 1.5; }
.device-signal { fill: var(--accent-cyan); }

.hardware-split {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.hardware-mini {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: transform var(--transition-base), border-color var(--transition-base);
}

.hardware-mini:hover { transform: translateY(-4px); border-color: rgba(91,127,255,0.35); }

.hardware-mini__icon {
  width: 38px;
  height: 38px;
  color: var(--accent-cyan);
  margin-bottom: 18px;
}

.hardware-mini h3 { font-size: 1.05rem; margin-bottom: 10px; }
.hardware-mini p { font-size: 0.87rem; color: var(--text-secondary); }

/* ---------- Solutions / Ecosystems ---------- */
.solutions { background: var(--bg-primary); }

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

.solution-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 34px;
  transition: transform var(--transition-base), border-color var(--transition-base);
}

.solution-card:hover { transform: translateY(-4px); border-color: rgba(91,127,255,0.3); }

.solution-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.solution-card p { color: var(--text-secondary); font-size: 0.92rem; margin-bottom: 22px; }

.solution-card__visual { border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-tertiary); border: 1px solid var(--border-color); }

.mini-illustration { display: block; width: 100%; height: 120px; }

.line-graph { fill: none; stroke: var(--accent-blue-light); stroke-width: 2; }
.line-dot { fill: var(--accent-blue-light); }
.map-panel { fill: rgba(47,91,255,0.08); stroke: var(--border-color-strong); }
.map-dot { fill: var(--accent-cyan); }
.route-marker-mini { fill: var(--accent-cyan); filter: drop-shadow(0 0 3px rgba(56, 189, 248, 0.8)); }

.container-box { fill: rgba(245,166,35,0.06); stroke: rgba(245,166,35,0.4); }
.container-panel { fill: rgba(245,166,35,0.12); stroke: rgba(245,166,35,0.3); }
.lock-ring { fill: none; stroke: var(--accent-amber); stroke-width: 3; }
.lock-shackle { fill: none; stroke: var(--accent-amber); stroke-width: 3; }

.tablet-frame { fill: rgba(52,211,153,0.06); stroke: rgba(52,211,153,0.35); }
.bus-body { fill: rgba(52,211,153,0.18); stroke: var(--accent-green); stroke-width: 1.5; }
.bus-window { fill: rgba(255,255,255,0.5); }
.bus-wheel { fill: var(--bg-primary); stroke: var(--accent-green); stroke-width: 2; }

.parking-bay { fill: rgba(167,139,250,0.06); stroke: rgba(167,139,250,0.35); }
.parking-bay--occupied { fill: rgba(167,139,250,0.18); }
.parking-p { fill: var(--accent-purple); font-size: 22px; font-weight: 700; }

.waste-panel { fill: rgba(56,189,248,0.06); stroke: rgba(56,189,248,0.35); }
.waste-route-line { fill: none; stroke: var(--accent-cyan); stroke-width: 2; stroke-linecap: round; }
.waste-dot { fill: var(--accent-cyan); }
.waste-marker { fill: var(--accent-cyan); filter: drop-shadow(0 0 3px rgba(56, 189, 248, 0.8)); }
.bin-body { fill: rgba(56,189,248,0.08); stroke: rgba(56,189,248,0.4); stroke-width: 1.5; }
.bin-lid { fill: rgba(56,189,248,0.16); stroke: rgba(56,189,248,0.4); }
.bin-lines { stroke: rgba(56,189,248,0.35); stroke-width: 1.5; }
.tracker-dot { fill: var(--accent-cyan); }
.tracker-ping { fill: none; stroke: var(--accent-cyan); stroke-width: 1.5; }

.emp-panel { fill: rgba(47,91,255,0.06); stroke: rgba(47,91,255,0.3); }
.emp-link { fill: none; stroke: var(--border-color-strong); stroke-width: 1.5; }
.emp-avatar { fill: rgba(47,91,255,0.14); stroke: var(--accent-blue-light); stroke-width: 1.5; }
.emp-status { fill: var(--accent-green); }
.emp-pin { fill: rgba(47,91,255,0.1); stroke: var(--accent-blue-light); stroke-width: 1.6; }
.emp-pin-ring { fill: none; stroke: var(--accent-blue-light); stroke-width: 1.5; }
.emp-pin-head { fill: var(--bg-primary); stroke: var(--accent-blue-light); stroke-width: 1.6; }
.emp-pin-body { fill: none; stroke: var(--accent-blue-light); stroke-width: 1.6; stroke-linecap: round; }

/* ---------- Employee Transportation ---------- */
.ets { background: var(--bg-secondary); }

.ets__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.feature-list { display: flex; flex-direction: column; gap: 20px; }

.feature-list__item { display: flex; gap: 16px; align-items: flex-start; }

.feature-list__icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: var(--accent-green);
  background: rgba(52,211,153,0.12);
  border-radius: 7px;
  padding: 5px;
  margin-top: 2px;
}

.feature-list__item h4 { font-size: 1rem; margin-bottom: 4px; }
.feature-list__item p { font-size: 0.87rem; color: var(--text-secondary); }

.ets__visual { display: flex; justify-content: center; }

.phone-mockup {
  width: 240px;
  height: 480px;
  border-radius: 36px;
  background: linear-gradient(160deg, var(--bg-tertiary), var(--bg-primary));
  border: 1px solid var(--border-color-strong);
  box-shadow: var(--shadow-card);
  padding: 14px;
}

.phone-mockup__screen {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  background: radial-gradient(circle at 50% 50%, rgba(47,91,255,0.18), rgba(7,10,18,0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.phone-network { width: 80%; }
.phone-node { fill: var(--accent-cyan); }
.phone-node--core { fill: var(--accent-blue-light); }
.phone-line { stroke: rgba(91,127,255,0.4); stroke-width: 1; fill: none; }

/* Ecosystem flow diagram: Employee App -> Cloud Platform -> Driver App -> Admin Dashboard */
.ets-flow {
  display: flex;
  align-items: center;
  margin-top: 70px;
}

.flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  flex: 0 0 auto;
  width: 140px;
}

.flow-node__icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue-light);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 13px;
  transition: transform var(--transition-base), border-color var(--transition-base);
}

.flow-node__label { font-size: 0.85rem; font-weight: 600; color: var(--text-primary); }

.flow-connector {
  flex: 1;
  height: 2px;
  min-width: 24px;
  position: relative;
  background: linear-gradient(90deg, rgba(91,127,255,0.05), rgba(91,127,255,0.4), rgba(91,127,255,0.05));
}

.flow-connector__pulse {
  position: absolute;
  top: 50%;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px 3px rgba(56, 189, 248, 0.65);
  transform: translate(-50%, -50%);
}

/* ---------- Software Suite ---------- */
.software { background: var(--bg-primary); }

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

.software-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px;
  transition: transform var(--transition-base), border-color var(--transition-base);
}

.software-card:hover { transform: translateY(-4px); border-color: rgba(91,127,255,0.3); }

.software-card--highlight {
  background: linear-gradient(150deg, rgba(47,91,255,0.14), var(--bg-card));
  border-color: rgba(91,127,255,0.3);
  grid-column: span 1;
}

.software-card__icon {
  width: 36px;
  height: 36px;
  color: var(--accent-blue-light);
  margin-bottom: 18px;
}

.software-card h3 { font-size: 1.02rem; margin-bottom: 8px; }
.software-card p { font-size: 0.87rem; color: var(--text-secondary); }

/* Live dashboard mock panel */
.dashboard-mock {
  margin-top: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
}

.dashboard-mock__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.dashboard-mock__sync {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.dashboard-mock__sync span { color: var(--accent-blue-light); font-weight: 700; }

.dashboard-mock__body {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.dashboard-bars {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 70px;
  flex: 1 1 200px;
  min-width: 180px;
}

.dashboard-bars span {
  flex: 1;
  height: 100%;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--accent-blue-light), var(--accent-blue));
  transform-origin: bottom;
  opacity: 0.9;
}

.dashboard-spark {
  flex: 1 1 260px;
  min-width: 220px;
  height: 70px;
}

.dashboard-spark__line {
  fill: none;
  stroke: var(--accent-cyan);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dashboard-mock__status {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.status-chip {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.status-chip__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 7px;
  flex-shrink: 0;
}

.status-chip--ok .status-chip__dot { background: var(--accent-green); box-shadow: 0 0 8px 2px rgba(52,211,153,0.55); }
.status-chip--alert .status-chip__dot { background: var(--accent-amber); box-shadow: 0 0 8px 2px rgba(245,166,35,0.55); }

/* ---------- Services ---------- */
.services { background: var(--bg-secondary); }

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

.service-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  font-size: 0.92rem;
  font-weight: 500;
  transition: transform var(--transition-base), border-color var(--transition-base);
}

.service-pill:hover { transform: translateY(-3px); border-color: rgba(91,127,255,0.3); }

/* ---------- Why Choose Us ---------- */
.why { background: var(--bg-primary); }

.why-feature {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 26px 32px;
  margin-bottom: 20px;
}

.why-feature__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  color: var(--accent-blue-light);
  background: var(--accent-blue-dim);
  border-radius: 12px;
  padding: 10px;
}

.why-feature h3 { font-size: 1.05rem; margin-bottom: 4px; }
.why-feature p { font-size: 0.88rem; color: var(--text-secondary); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-primary);
  position: relative;
  padding-left: 46px;
  transition: transform var(--transition-base), border-color var(--transition-base);
}

.why-card::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-blue-light);
  box-shadow: 0 0 10px 2px rgba(91,127,255,0.5);
}

.why-card:hover { transform: translateY(-3px); border-color: rgba(91,127,255,0.3); }

/* ---------- Quality & Compliance ---------- */
.quality { background: var(--bg-secondary); }

.quality-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.quality-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-top: 3px solid var(--accent-blue);
  border-radius: var(--radius-sm);
  padding: 24px 20px;
  transition: transform var(--transition-base);
}

.quality-card:hover { transform: translateY(-4px); }

.quality-card__focus {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-blue-light);
  margin-bottom: 12px;
}

.quality-card h3 { font-size: 0.98rem; margin-bottom: 10px; line-height: 1.3; }
.quality-card p { font-size: 0.82rem; color: var(--text-secondary); }

.quality-footnote {
  text-align: center;
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 780px;
  margin: 0 auto;
}

/* ---------- Clients ---------- */
.clients { background: var(--bg-primary); }

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

.client-chip {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: transform var(--transition-base), color var(--transition-base), border-color var(--transition-base);
}

.client-chip:hover {
  transform: translateY(-3px);
  color: var(--text-primary);
  border-color: rgba(91,127,255,0.3);
}

/* ---------- Authorized Partner ---------- */
.partner { background: var(--bg-secondary); }

.partner__inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 50px;
  align-items: center;
}

.partner__badge {
  position: relative;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 2px solid var(--accent-amber);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto;
  color: var(--accent-amber);
  background: rgba(245,166,35,0.06);
}

.partner__badge-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px dashed rgba(245, 166, 35, 0.35);
}

.partner__badge svg { width: 46px; height: 46px; }
.partner__badge span { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-align: center; padding: 0 20px; }

.partner__content .section-title { text-align: left; }

/* ---------- Final CTA ---------- */
.final-cta { background: var(--bg-primary); text-align: center; }

.final-cta__inner { max-width: 680px; margin: 0 auto; }

.final-cta__actions { display: flex; gap: 16px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: #05070d; border-top: 1px solid var(--border-color); padding: 70px 0 0; }

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer__logo { height: 48px; margin-bottom: 16px; }
.footer__brand p { color: var(--text-muted); font-size: 0.88rem; max-width: 320px; }

.footer__col h4 { font-size: 0.9rem; margin-bottom: 18px; color: var(--text-primary); }
.footer__col ul { display: flex; flex-direction: column; gap: 11px; }
.footer__col a { color: var(--text-secondary); font-size: 0.87rem; transition: color var(--transition-base); }
.footer__col a:hover { color: var(--accent-blue-light); }
.footer__col li { color: var(--text-secondary); font-size: 0.87rem; }

.footer__contact li { line-height: 1.5; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 22px 0;
  border-top: 1px solid var(--border-color);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer__legal { display: flex; gap: 22px; }
.footer__legal a { color: var(--text-muted); transition: color var(--transition-base); }
.footer__legal a:hover { color: var(--text-primary); }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gradient-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -8px rgba(47,91,255,0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
  z-index: 900;
}

.back-to-top svg { width: 20px; height: 20px; }

.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------- Contact Modal ---------- */
body.modal-open { overflow: hidden; }

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 7, 14, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

.modal-overlay.is-open { opacity: 1; visibility: visible; }

.contact-modal {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: var(--bg-card);
  border: 1px solid rgba(91, 127, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card), 0 0 0 1px rgba(91, 127, 255, 0.08), 0 0 60px -14px rgba(47, 91, 255, 0.45);
  transform: translateY(24px) scale(0.94);
  opacity: 0;
  transition: transform var(--transition-slow) cubic-bezier(0.16, 1, 0.3, 1), opacity var(--transition-slow);
}

.modal-overlay.is-open .contact-modal { transform: translateY(0) scale(1); opacity: 1; }

.contact-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text-secondary);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  transition: color var(--transition-base), border-color var(--transition-base), background var(--transition-base), transform var(--transition-base);
}

.contact-modal__close svg { width: 16px; height: 16px; }

.contact-modal__close:hover { color: var(--text-primary); border-color: rgba(91, 127, 255, 0.4); background: var(--accent-blue-dim); transform: rotate(90deg); }

.contact-modal__head { margin-bottom: 28px; padding-right: 24px; }

.contact-modal__title { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 10px; }

.contact-modal__subtitle { color: var(--text-secondary); font-size: 0.95rem; }

.contact-form { display: flex; flex-direction: column; gap: 20px; }

.form-field { display: flex; flex-direction: column; gap: 8px; }

.form-field label { font-size: 0.85rem; font-weight: 600; color: var(--text-primary); }

.form-field__required { color: var(--accent-amber); }

.form-field input, .form-field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-primary);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color-strong);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  transition: border-color var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
}

.form-field input::placeholder, .form-field textarea::placeholder { color: var(--text-muted); }

.form-field textarea { resize: vertical; min-height: 100px; }

.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--accent-blue-light);
  background: var(--bg-card-hover);
  box-shadow: 0 0 0 3px rgba(91, 127, 255, 0.18), 0 0 20px -6px rgba(47, 91, 255, 0.5);
}

.form-field.has-error input, .form-field.has-error textarea {
  border-color: var(--accent-amber);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.14);
}

.form-field__error {
  display: none;
  font-size: 0.8rem;
  color: var(--accent-amber);
}

.form-field.has-error .form-field__error { display: block; }

.contact-form__submit { margin-top: 6px; width: 100%; }

.contact-modal__success { text-align: center; padding: 20px 0 4px; }

.contact-modal__success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.14);
  color: var(--accent-green);
  margin-bottom: 20px;
}

.contact-modal__success-icon svg { width: 26px; height: 26px; }

.contact-modal__success p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.6; }
