﻿/* ============================================================
   ALGORION SOLUTIONS — DESIGN SYSTEM
   Mobile-first CSS | Single stylesheet
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --bg-base:             #0a0a0a;
  --bg-surface:          #111111;
  --bg-card:             #1a1a1a;
  --text-primary:        #ffffff;
  --text-secondary:      #a0a0a0;
  --accent:              #f97316;
  --accent-hover:        #ea580c;
  --accent-glow:         rgba(249, 115, 22, 0.15);
  --accent-glow-strong:  rgba(249, 115, 22, 0.25);
  --border:              #222222;
  --border-light:        #2a2a2a;
  --divider:             rgba(255, 255, 255, 0.06);
  --section-rule:        #1e1e1e;
  --radius:              12px;
  --radius-sm:           8px;
  --radius-lg:           16px;
  --transition:          0.2s ease;
  --transition-slow:     0.4s ease;
  --shadow-card:         0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-card-hover:   0 8px 40px rgba(249, 115, 22, 0.18);
  --nav-height:          72px;
  --container-max:       1200px;
  --container-wide:      1400px;
  --gap-card:            24px;
  --gap-section:         48px;
  --section-pad:         60px;   /* mobile */
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; transition: color var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
input, select, textarea { font-family: inherit; }

/* ============================================================
   TYPOGRAPHY — mobile-first sizes
   ============================================================ */
h1 {
  font-size: clamp(28px, 6vw, 58px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
h2 {
  font-size: clamp(26px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
h3 { font-size: clamp(17px, 2.5vw, 22px); font-weight: 600; line-height: 1.3; }
h4 { font-size: 15px; font-weight: 600; }
p  { color: var(--text-secondary); line-height: 1.7; }

.text-white    { color: var(--text-primary)   !important; }
.text-accent   { color: var(--accent)         !important; }
.text-secondary{ color: var(--text-secondary)             }
.text-center   { text-align: center;                      }

.label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 16px;
}
.container-wide {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 16px;
}

/* Padding at wider viewports */
@media (min-width: 480px)  { .container, .container-wide { padding: 0 20px; } }
@media (min-width: 768px)  { .container, .container-wide { padding: 0 32px; } }

/* Section base (mobile) */
section {
  padding: var(--section-pad) 0;
  position: relative;
}
@media (min-width: 1024px) {
  section { padding: 100px 0; }
}

/* Section H-rule */
.section-rule {
  height: 1px;
  background: var(--section-rule);
  border: none;
  margin: 0;
}

/* ============================================================
   SECTION HEADERS — with orange underline accent
   ============================================================ */
.section-header { margin-bottom: 48px; }
.section-header.centered { text-align: center; }

.section-header .label   { margin-bottom: 12px; display: block; }
.section-header h2       { margin-bottom: 0; }

/* Orange underline on every section H2 */
.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-top: 14px;
}
.section-header.centered h2::after {
  margin-left: auto;
  margin-right: auto;
}

.section-header p {
  font-size: 16px;
  max-width: 620px;
  margin-top: 20px;
  line-height: 1.7;
}
.section-header.centered p { margin-left: auto; margin-right: auto; }

@media (min-width: 768px) {
  .section-header       { margin-bottom: 56px; }
  .section-header p     { font-size: 18px; }
}
@media (min-width: 1024px) {
  .section-header       { margin-bottom: 64px; }
}

/* ============================================================
   GRIDS — mobile-first
   ============================================================ */
.grid-2, .grid-3, .grid-4, .grid-auto {
  display: grid;
  gap: var(--gap-card);
  grid-template-columns: 1fr;
}
@media (min-width: 600px)  { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px)  {
  .grid-3    { grid-template-columns: repeat(2, 1fr); }
  .grid-auto { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 14px 28px;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid transparent;
  line-height: 1;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: scale(1.02);
  box-shadow: 0 4px 24px var(--accent-glow-strong);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-ghost:hover {
  background: var(--accent-glow);
  color: var(--accent);
}
.btn-sm  { padding: 10px 20px; font-size: 13px; }
.btn-lg  { padding: 17px 40px; font-size: 17px; }
.btn-full{ width: 100%; justify-content: center; }

/* Spinner inline */
.btn-spinner {
  display: inline-block;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all var(--transition-slow);
  position: relative;
}
.card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}
.card-sm { padding: 20px; }

.card-icon {
  width: 48px; height: 48px;
  background: var(--accent-glow);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 22px;
  flex-shrink: 0;
}
.card h3 { margin-bottom: 10px; }
.card p  { font-size: 14px; line-height: 1.65; }

@media (min-width: 768px) {
  .card    { padding: 32px; }
  .card-sm { padding: 24px; }
  .card-icon { width: 52px; height: 52px; font-size: 24px; }
  .card p    { font-size: 15px; }
}

/* ============================================================
   TAG PILLS
   ============================================================ */
.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border: 1px solid #333;
  background: var(--bg-card);
  color: var(--text-secondary);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.tag-pill-accent {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
}
.tags-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background var(--transition-slow), border-color var(--transition-slow), box-shadow var(--transition-slow);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.5);
}
.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}
@media (min-width: 768px) { .nav-container { padding: 0 32px; } }

.nav-logo { display: flex; flex-direction: column; gap: 2px; flex-shrink: 0; }
.logo-text { font-size: 20px; font-weight: 800; letter-spacing: 0.06em; color: var(--text-primary); }
.logo-tagline { font-size: 8px; font-weight: 500; letter-spacing: 0.2em; color: var(--accent); text-transform: uppercase; }

.nav-links {
  display: none;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-cta   { display: inline-flex !important; }
  .hamburger { display: none !important; }
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 13px;
  border-radius: 6px;
  transition: all var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}
.nav-links a.nav-section-active {
  color: var(--accent);
  background: rgba(249,115,22,0.08);
}
.nav-cta { flex-shrink: 0; display: none; }

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg-base);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: var(--nav-height) 32px 40px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--accent); }

/* ============================================================
   HERO — HOME
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(249,115,22,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(249,115,22,0.04) 0%, transparent 50%);
  pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 1;   }
}
.hero-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249,115,22,0.06) 0%, transparent 70%);
  animation: pulse-glow 4s ease-in-out infinite;
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; max-width: 900px; }

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 28px;
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

.hero h1 { margin-bottom: 24px; }
.hero h1 span { color: var(--accent); }

.hero-sub {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 640px;
  margin-bottom: 40px;
  line-height: 1.7;
}
@media (min-width: 768px) { .hero-sub { font-size: 16px; margin-bottom: 48px; } }

.hero-ctas { display: flex; flex-direction: row; gap: 12px; margin-bottom: 48px; }
.hero-ctas .btn { flex: 1 1 0; justify-content: center; min-width: 0; }

.hero-tags { display: none; }
@media (min-width: 640px) { .hero-tags { display: flex; flex-wrap: wrap; gap: 10px; } }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  padding: 28px 0;
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
  overflow: hidden;
}
.trust-bar-label {
  text-align: center;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 18px;
}
.trust-track-wrapper { overflow: hidden; }
.trust-track {
  display: flex;
  gap: 32px;
  align-items: center;
  width: max-content;
  animation: scroll-trust 35s linear infinite;
}
.trust-track:hover { animation-play-state: paused; }
@keyframes scroll-trust {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  background: var(--bg-surface);
  flex-shrink: 0;
}
.trust-item .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* ============================================================
   PAIN POINTS
   ============================================================ */
.pain-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  margin-bottom: 40px;
}
@media (min-width: 640px) { .pain-grid { grid-template-columns: repeat(2, 1fr); } }

.pain-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}
@media (min-width: 768px) { .pain-card { font-size: 15px; padding: 22px 24px; } }
.pain-card:hover { border-color: var(--accent); color: var(--text-primary); background: var(--bg-card); }
.pain-icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: var(--accent-glow);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 15px;
  color: var(--accent);
}
.pain-cta-row {
  text-align: center;
  padding: 32px 24px;
  background: var(--bg-surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.pain-cta-row p {
  font-size: 16px;
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 24px;
}
@media (min-width: 768px) {
  .pain-cta-row { padding: 40px; }
  .pain-cta-row p { font-size: 18px; }
}
.pain-cta-row p strong { color: var(--accent); font-style: normal; }

/* ============================================================
   DOMAIN CARDS
   ============================================================ */
.domain-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all var(--transition-slow);
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) { .domain-card { padding: 36px; } }
.domain-card:hover { border-color: var(--accent); box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }
.domain-card .card-icon { font-size: 26px; }
.domain-card h3 { margin-bottom: 12px; }
.domain-card > p { margin-bottom: 20px; flex: 1; font-size: 14px; }
@media (min-width: 768px) { .domain-card > p { font-size: 15px; margin-bottom: 24px; } }
.domain-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.domain-stat  { font-size: 13px; font-weight: 600; color: var(--accent); }
.card-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
  margin-top: auto;
}
.card-link:hover { gap: 10px; }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--bg-surface);
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
  padding: 48px 0;
}
@media (min-width: 768px)  { .stats-bar { padding: 64px 0; } }
@media (min-width: 1024px) { .stats-bar { padding: 80px 0; } }

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

.stat-item {
  text-align: center;
  padding: 24px 16px;
  border-right: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}
.stat-item:nth-child(even)  { border-right: none; }
.stat-item:nth-last-child(-n+2) { border-bottom: none; }
@media (min-width: 1024px) {
  .stat-item                    { border-bottom: none; padding: 0 32px; }
  .stat-item:nth-child(even)    { border-right: 1px solid var(--divider); }
  .stat-item:last-child         { border-right: none; }
}

.stat-number {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}
.stat-label { font-size: 13px; color: var(--text-secondary); font-weight: 500; }

/* ============================================================
   FEATURE GRID (What Sets Us Apart)
   ============================================================ */
.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-surface);
  transition: border-color var(--transition);
}
@media (min-width: 768px) { .feature-card { padding: 28px; } }
.feature-card:hover { border-color: rgba(249,115,22,0.35); }
.feature-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--accent-glow);
  display: flex; align-items: center; justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
}
.feature-card h4 { margin-bottom: 6px; font-size: 15px; }
.feature-card p  { font-size: 14px; }

/* ============================================================
   SOLUTIONS HORIZONTAL SCROLL
   ============================================================ */
.solutions-scroll-wrapper {
  overflow-x: auto;
  padding-bottom: 16px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.solutions-scroll-wrapper::-webkit-scrollbar { height: 4px; }
.solutions-scroll-wrapper::-webkit-scrollbar-track  { background: transparent; }
.solutions-scroll-wrapper::-webkit-scrollbar-thumb  { background: var(--border-light); border-radius: 4px; }

.solutions-scroll-track { display: flex; gap: 16px; width: max-content; padding: 4px 4px 8px; }
@media (min-width: 768px) { .solutions-scroll-track { gap: 20px; } }

.solution-teaser-card {
  width: 260px;
  flex-shrink: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all var(--transition-slow);
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) { .solution-teaser-card { width: 280px; padding: 28px; } }
.solution-teaser-card:hover { border-color: var(--accent); box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }
.solution-teaser-card .card-icon { width: 42px; height: 42px; font-size: 19px; margin-bottom: 14px; }
.solution-teaser-card h3 { font-size: 16px; margin-bottom: 8px; }
.solution-teaser-card > p { font-size: 13px; margin-bottom: 14px; flex: 1; }

.solution-stats-mini { margin-bottom: 18px; display: flex; flex-direction: column; gap: 4px; }
.solution-stat-mini  { font-size: 12px; font-weight: 600; color: var(--accent); }

.solutions-see-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  transition: gap var(--transition);
  margin-top: 20px;
}
.solutions-see-all:hover { gap: 10px; }

/* ============================================================
   PROCESS TIMELINE
   ============================================================ */
.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media (min-width: 900px) {
  .process-timeline {
    flex-direction: row;
    gap: 0;
    position: relative;
  }
  .process-timeline::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 32px; right: 32px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--border) 100%);
  }
}
.process-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
@media (min-width: 900px) {
  .process-step {
    flex: 1;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 16px;
    gap: 0;
  }
}
.process-step-number {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--accent);
  color: var(--accent);
  font-size: 20px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  position: relative; z-index: 1;
  box-shadow: 0 0 20px var(--accent-glow);
}
@media (min-width: 900px) { .process-step-number { margin-bottom: 20px; } }
.process-step h4 { font-size: 15px; margin-bottom: 6px; }
.process-step p  { font-size: 13px; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--bg-surface);
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
  padding: 64px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
@media (min-width: 1024px) { .cta-banner { padding: 100px 0; } }
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(249,115,22,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h2 { margin-bottom: 16px; }
.cta-banner p  { font-size: 16px; max-width: 520px; margin: 0 auto 32px; }
@media (min-width: 768px) { .cta-banner p { font-size: 18px; } }
.cta-btns {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
@media (min-width: 480px) { .cta-btns { flex-direction: row; justify-content: center; } }

/* ============================================================
   PAGE HEROES (inner pages)
   ============================================================ */
.page-hero {
  padding: calc(var(--nav-height) + 48px) 0 48px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--section-rule);
}
@media (min-width: 768px)  { .page-hero { padding: calc(var(--nav-height) + 72px) 0 72px; } }
@media (min-width: 1024px) { .page-hero { padding: calc(var(--nav-height) + 80px) 0 80px; } }

.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(249,115,22,0.07) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero-content { position: relative; z-index: 1; max-width: 800px; }
.page-hero .label  { margin-bottom: 14px; display: block; }
.page-hero h1      { font-size: clamp(30px, 5vw, 60px); margin-bottom: 20px; }
.page-hero p       { font-size: 16px; max-width: 620px; }
@media (min-width: 768px) { .page-hero p { font-size: 18px; } }

/* ============================================================
   SERVICES TABS
   ============================================================ */
.service-tabs-nav {
  display: flex;
  gap: 4px;
  padding: 6px;
  background: var(--bg-surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}
.service-tabs-nav::-webkit-scrollbar { display: none; }
.tab-btn {
  flex-shrink: 0;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition);
  white-space: nowrap;
}
@media (min-width: 768px) { .tab-btn { padding: 12px 24px; font-size: 14px; } }
.tab-btn:hover  { color: var(--text-primary); background: var(--bg-card); }
.tab-btn.active { background: var(--accent); color: #fff; }

.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-panel > section:first-child { padding-top: 72px; }
@media (min-width: 1024px) { .tab-panel > section:first-child { padding-top: 100px; } }

/* Tech pills */
.tech-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.tech-pill {
  padding: 7px 16px;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-surface);
  transition: all var(--transition);
}
.tech-pill:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-glow); }
.tech-category-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

/* ============================================================
   SOLUTIONS PAGE CARDS
   ============================================================ */
.solution-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all var(--transition-slow);
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) { .solution-card { padding: 36px; } }
.solution-card:hover { border-color: var(--accent); box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }

.solution-card-header { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 8px; flex-wrap: wrap; }
.solution-card-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: var(--accent-glow);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}
.solution-card-title { flex: 1; min-width: 0; }
.solution-card-title h3 { margin-bottom: 6px; }
.audience-pill {
  display: inline-block;
  padding: 3px 11px;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.solution-tagline {
  font-style: italic;
  color: var(--accent) !important;
  font-size: 14px;
  margin-bottom: 16px;
}
@media (min-width: 768px) { .solution-tagline { font-size: 15px; margin-bottom: 20px; } }

.solution-features { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
@media (min-width: 768px) { .solution-features { margin-bottom: 24px; } }
.solution-feature {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--text-secondary);
}
.check-icon { color: var(--accent); font-size: 14px; flex-shrink: 0; }

.solution-outcome-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
  padding: 16px;
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
@media (min-width: 768px) { .solution-outcome-stats { padding: 20px; margin-bottom: 28px; } }
.outcome-stat-num {
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
  display: block;
}
.outcome-stat-label { font-size: 11px; color: var(--text-secondary); }

.solution-card-actions { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
@media (min-width: 480px) { .solution-card-actions { flex-direction: row; gap: 12px; } }

/* ============================================================
   INDUSTRIES PAGE
   ============================================================ */
.industry-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all var(--transition-slow);
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) { .industry-card { padding: 36px; } }
.industry-card:hover { border-color: var(--accent); box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }
.industry-icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: var(--accent-glow);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
}
.industry-solutions-list { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; flex: 1; }
.industry-sol-item {
  font-size: 14px;
  color: var(--text-secondary);
  display: flex; align-items: center; gap: 8px;
}
.industry-sol-item::before { content: '→'; color: var(--accent); font-weight: 700; }
.industry-stat {
  font-size: 17px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 18px;
  padding: 14px 16px;
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
  text-align: center;
}

/* ============================================================
   WHY US PAGE
   ============================================================ */
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all var(--transition-slow);
}
@media (min-width: 768px) { .team-card { padding: 32px; } }
.team-card:hover { border-color: var(--accent); box-shadow: var(--shadow-card-hover); }
.team-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent-glow);
  border: 2px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}
.expertise-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.expertise-tag {
  padding: 4px 11px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 12px;
  color: var(--text-secondary);
}

/* Security steps */
.security-steps { display: flex; flex-direction: column; gap: 0; }
.security-step  { display: flex; gap: 20px; align-items: flex-start; padding-bottom: 36px; position: relative; }
.security-step:last-child { padding-bottom: 0; }
.security-step-line { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.security-step-num {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--accent-glow);
  border: 2px solid var(--accent);
  color: var(--accent);
  font-size: 17px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.security-step-connector {
  width: 2px; flex: 1; min-height: 36px;
  background: linear-gradient(var(--accent), var(--border));
  margin-top: 6px;
}
.security-step:last-child .security-step-connector { display: none; }
.security-step-body { padding-top: 6px; }
.security-step-body h4 { margin-bottom: 6px; font-size: 17px; }

/* Partner cards */
.partner-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}
@media (min-width: 768px) { .partner-card { padding: 32px; } }
.partner-card:hover { border-color: var(--accent); }
.partner-logo { font-size: 28px; margin-bottom: 14px; }
.partner-card h3 { margin-bottom: 8px; font-size: 17px; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}
@media (min-width: 1100px) { .contact-grid { grid-template-columns: 1fr 400px; gap: 60px; } }

/* Form steps */
.form-step { margin-bottom: 40px; }
.form-step-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  display: block;
}
.form-group  { margin-bottom: 18px; }
.form-row    { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 7px;
}
.form-label .optional { font-size: 12px; font-weight: 400; color: var(--text-secondary); margin-left: 6px; }

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 15px;
  padding: 13px 15px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(160,160,160,0.6); }
.form-textarea { min-height: 130px; resize: vertical; }
.form-select   { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a0a0a0' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-select option { background: #1a1a1a; color: var(--text-primary); }

/* Radio/Checkbox pills */
.radio-pills, .checkbox-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-pill input, .checkbox-pill input { position: absolute; opacity: 0; pointer-events: none; }
.radio-pill label, .checkbox-pill label {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 16px;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  font-size: 13px; font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
  background: var(--bg-surface);
  user-select: none;
}
.radio-pill label:hover, .checkbox-pill label:hover { border-color: var(--accent); color: var(--text-primary); }
.radio-pill input:checked + label,
.checkbox-pill input:checked + label { border-color: var(--accent); background: var(--accent-glow); color: var(--accent); }

.conditional-field         { display: none; margin-top: 14px; }
.conditional-field.visible { display: block; }

.form-submit-note {
  font-size: 12px;
  color: var(--text-secondary);
  text-align: center;
  margin-top: 14px;
  line-height: 1.65;
}
.form-submit-note a { color: var(--accent); }

/* ─── FORM SUCCESS OVERLAY ─── */
.form-success-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.form-success-overlay.show { display: flex; }
.form-success-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  animation: popIn 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes popIn {
  0%   { opacity: 0; transform: scale(0.85); }
  100% { opacity: 1; transform: scale(1); }
}

/* Animated SVG checkmark */
.checkmark-circle {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(34,197,94,0.1);
  border: 2px solid #22c55e;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
}
.checkmark-svg { width: 40px; height: 40px; }
.checkmark-path {
  fill: none;
  stroke: #22c55e;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: draw-check 0.5s ease 0.3s forwards;
}
@keyframes draw-check {
  to { stroke-dashoffset: 0; }
}

.form-success-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.form-success-msg {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 8px;
}
.form-success-email {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  word-break: break-all;
}
.form-success-close {
  margin-top: 28px;
  padding: 12px 32px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
}
.form-success-close:hover { background: var(--accent-hover); }

/* Contact sidebar */
.next-steps-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
}
@media (min-width: 768px) { .next-steps-card { padding: 36px; } }
@media (min-width: 1100px) { .next-steps-card { position: sticky; top: calc(var(--nav-height) + 24px); } }
.next-steps-card h3 { margin-bottom: 24px; font-size: 19px; }
.next-step-item { display: flex; gap: 14px; margin-bottom: 22px; }
.next-step-item:last-child { margin-bottom: 0; }
.step-num-circle {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.next-step-item h4 { margin-bottom: 3px; font-size: 14px; }
.next-step-item p  { font-size: 13px; }
.response-callout {
  background: var(--accent-glow);
  border: 1px solid rgba(249,115,22,0.3);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  text-align: center;
  margin-top: 22px;
  font-size: 14px; font-weight: 600;
  color: var(--accent);
}
.contact-direct-cards { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.contact-direct-card {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition);
}
.contact-direct-card:hover { border-color: var(--accent); }
.contact-direct-icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: var(--accent-glow);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; flex-shrink: 0;
}
.contact-direct-card a { color: var(--text-secondary); font-size: 14px; }
.contact-direct-card a:hover { color: var(--accent); }

/* FAQ Accordion */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0;
  font-size: 14px; font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  transition: color var(--transition);
  gap: 14px;
}
@media (min-width: 768px) { .faq-question { font-size: 15px; } }
.faq-question:hover { color: var(--accent); }
.faq-arrow { font-size: 20px; flex-shrink: 0; transition: transform var(--transition); color: var(--text-secondary); }
.faq-item.open .faq-arrow { transform: rotate(45deg); color: var(--accent); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-answer-inner { padding: 0 0 18px; font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.faq-item.open .faq-answer { max-height: 240px; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}
@media (min-width: 1024px) { footer { padding: 80px 0 0; } }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (min-width: 600px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (min-width: 1024px){ .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 56px; } }

.footer-logo { margin-bottom: 20px; }
.footer-desc { font-size: 14px; line-height: 1.7; margin-bottom: 22px; }
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  color: var(--text-secondary);
  transition: all var(--transition);
}
.social-link:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-glow); }

.footer-col h4 {
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 18px;
  color: var(--text-primary);
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: var(--text-secondary); transition: color var(--transition); }
.footer-links a:hover { color: var(--accent); }
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-contact-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-secondary); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}
.footer-bottom p      { font-size: 13px; }
.footer-tagline       { font-size: 13px; font-style: italic; color: var(--text-secondary); }
.footer-legal-links   { display: flex; gap: 20px; }
.footer-legal-links a { font-size: 13px; color: var(--text-secondary); transition: color var(--transition); }
.footer-legal-links a:hover { color: var(--accent); }

/* ============================================================
   SCROLL-IN ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.3s; }
.fade-up.delay-4 { transition-delay: 0.4s; }
.fade-up.delay-5 { transition-delay: 0.5s; }

/* ============================================================
   LOGO MARK
   ============================================================ */
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-mark {
  height: 52px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
[data-theme="light"] .logo-mark {
  filter: brightness(0.55) contrast(1.1);
}
.footer-logo .logo-mark {
  height: 72px;
  filter: drop-shadow(0 0 18px rgba(249,115,22,0.30)) drop-shadow(0 2px 8px rgba(249,115,22,0.15));
  transition: filter 0.35s ease;
}
.footer-logo:hover .logo-mark {
  filter: drop-shadow(0 0 28px rgba(249,115,22,0.55)) drop-shadow(0 2px 12px rgba(249,115,22,0.25));
}
[data-theme="light"] .footer-logo .logo-mark {
  filter: brightness(0.55) contrast(1.1);
  transition: filter 0.35s ease;
}
[data-theme="light"] .footer-logo:hover .logo-mark {
  filter: brightness(0.45) contrast(1.2) drop-shadow(0 2px 10px rgba(0,0,0,0.15));
}

/* ============================================================
   HERO SPLIT LAYOUT & MOCKUP
   ============================================================ */
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 48px;
  width: 100%;
}
.hero-visual { display: none; }

@media (min-width: 1060px) {
  .hero-inner {
    flex-direction: row;
    align-items: center;
    gap: 56px;
  }
  .hero-content { flex: 1; max-width: 560px; }
  .hero-visual {
    display: block;
    flex: 0 0 600px;
    max-width: 600px;
    position: relative;
    padding-bottom: 40px;
  }
}

/* Wrap carries the subtle 3-D tilt */
.hero-mockup-wrap {
  position: relative;
  transform: perspective(900px) rotateY(-3deg) rotateX(1.5deg);
  transition: transform 0.6s ease;
}
.hero-mockup-wrap:hover {
  transform: perspective(900px) rotateY(-1deg) rotateX(0.5deg);
}

/* Dashboard mockup */
.hero-mockup {
  background: #141414;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 0 0 1px rgba(249,115,22,0.12),
    0 32px 80px rgba(0,0,0,0.75),
    0 0 120px rgba(249,115,22,0.04);
}
.mockup-chrome {
  background: #1e1e1e;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 11px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.mockup-dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.mockup-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.mockup-dots span:nth-child(1) { background: #ff5f57; }
.mockup-dots span:nth-child(2) { background: #ffbd2e; }
.mockup-dots span:nth-child(3) { background: #28c840; }
.mockup-url-bar {
  flex: 1;
  height: 22px;
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.07);
}
.mockup-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mockup-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.mockup-kpi {
  background: #1e1e1e;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 12px 10px;
  text-align: center;
}
.mkpi-label {
  font-size: 9px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.mkpi-val {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 4px;
}
.mkpi-trend {
  font-size: 10px;
  font-weight: 600;
  color: #22c55e;
}
.mockup-chart-area {
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 14px;
}
.mockup-chart-title {
  font-size: 10px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 10px;
}
.mockup-line-chart {
  width: 100%;
  height: 70px;
  display: block;
}
.mockup-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 60px;
  padding: 0 4px;
}
.mockup-bar-item {
  flex: 1;
  background: rgba(249,115,22,0.25);
  border-radius: 3px 3px 0 0;
  border-top: 2px solid rgba(249,115,22,0.6);
  transition: background 0.2s;
}
.mockup-status-row {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.mockup-status-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #888;
}
.mstatus-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.mstatus-dot.active { background: #22c55e; box-shadow: 0 0 6px rgba(34,197,94,0.6); }
.mstatus-dot.warn   { background: #f59e0b; box-shadow: 0 0 6px rgba(245,158,11,0.6); }
.mstatus-dot.idle   { background: #6b7280; }

/* ============================================================
   HERO SERVICE CAROUSEL
   ============================================================ */
.hero-carousel {
  position: relative;
  overflow: hidden;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.carousel-track {
  flex: 1;
  display: flex;
  will-change: transform;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  min-width: 100%;
  box-sizing: border-box;
  padding: 20px 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #141414;
}

.cslide-accent {
  height: 3px;
  border-radius: 2px;
  flex-shrink: 0;
}

.cslide-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cslide-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.cslide-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 4px 10px;
  border-radius: 20px;
}

.cslide-title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin: 0;
}

.cslide-metric {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cslide-metric-num {
  font-size: 56px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.04em;
}

.cslide-metric-sup {
  font-size: 28px;
  font-weight: 700;
  color: #f97316;
  vertical-align: super;
  line-height: 0;
}

.cslide-metric-lbl {
  font-size: 11px;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.cslide-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cslide-stats span {
  font-size: 10px;
  font-weight: 600;
  color: #999;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 4px 10px;
  border-radius: 20px;
}

/* Progress bar */
.carousel-progress {
  height: 2px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}

.carousel-progress-bar {
  height: 100%;
  background: #f97316;
  width: 0%;
}

/* Dot indicators */
.carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 10px 0 12px;
  background: #141414;
  border-top: 1px solid rgba(255,255,255,0.05);
  flex-shrink: 0;
}

.cdot {
  width: 6px; height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.18);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease;
}

.cdot.active {
  background: #f97316;
  width: 22px;
}

/* floating badge on mockup */
.mockup-float-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  font-size: 12px;
  white-space: nowrap;
}
.mockup-float-badge .badge-icon {
  width: 32px; height: 32px;
  background: var(--accent-glow);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.mockup-float-badge strong { display: block; font-size: 13px; color: #fff; }
.mockup-float-badge span   { color: var(--text-secondary); font-size: 11px; }

/* ============================================================
   SHOWCASE SECTION (Home — company story split)
   ============================================================ */
.showcase-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 900px) {
  .showcase-split { grid-template-columns: 1fr 1fr; gap: 64px; }
}
.showcase-img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.showcase-img-frame img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: var(--radius-lg);
}
.showcase-img-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(249,115,22,0.12) 0%, transparent 60%);
  z-index: 1;
  border-radius: var(--radius-lg);
  pointer-events: none;
}
.showcase-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 2;
  background: rgba(10,10,10,0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(249,115,22,0.3);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.showcase-badge .badge-icon {
  width: 36px; height: 36px;
  background: var(--accent-glow);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.showcase-badge strong { display: block; font-size: 14px; font-weight: 700; }
.showcase-badge span   { font-size: 11px; color: var(--text-secondary); }
.showcase-mini-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.showcase-stat-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
}
.showcase-stat-lbl {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ============================================================
   INDUSTRY CARD IMAGE HEADERS
   ============================================================ */
.industry-card { overflow: hidden; }
.industry-card-img {
  height: 160px;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-sm);
  margin: -28px -28px 22px;
  width: calc(100% + 56px);
  position: relative;
  overflow: hidden;
}
.industry-card-img::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 70%;
  background: linear-gradient(transparent, var(--bg-card));
}
@media (min-width: 768px) {
  .industry-card-img { margin: -36px -36px 24px; width: calc(100% + 72px); }
}

/* ============================================================
   TEAM PHOTO AVATAR
   ============================================================ */
.team-photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--accent);
  margin-bottom: 20px;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px var(--accent-glow);
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ============================================================
   PARTNER LOGO CARDS
   ============================================================ */
.partner-logo-wrap {
  height: 48px;
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}
.partner-logo-wrap svg {
  height: 32px;
  width: auto;
  opacity: 0.65;
  transition: opacity var(--transition);
}
.partner-card:hover .partner-logo-wrap svg { opacity: 1; }

/* ============================================================
   PAGE HERO IMAGE ACCENT
   ============================================================ */
.page-hero-img-accent {
  position: absolute;
  top: 0; right: 0;
  width: 45%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  mask-image: linear-gradient(to left, rgba(0,0,0,0.8) 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,0.8) 0%, transparent 100%);
  pointer-events: none;
  display: none;
}
@media (min-width: 900px) { .page-hero-img-accent { display: block; } }

/* ============================================================
   SOLUTION CARD VISUAL HEADER
   ============================================================ */
.solution-card-visual {
  height: 6px;
  border-radius: 3px 3px 0 0;
  margin: -28px -28px 24px;
  width: calc(100% + 56px);
}
@media (min-width: 768px) {
  .solution-card-visual { margin: -36px -36px 28px; width: calc(100% + 72px); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
  .trust-track { animation: none; }
  .hero-glow { animation: none; }
  .btn-spinner { animation: none; }
  .checkmark-path { animation: none; stroke-dashoffset: 0; }
}

/* ============================================================
   WIDE SCREEN — 1440px+
   ============================================================ */
@media (min-width: 1440px) {
  :root { --container-max: 1280px; }
  h1   { font-size: 62px; }
  .hero-sub { font-size: 17px; }
}

/* ============================================================
   UTILITY HELPERS
   ============================================================ */
.mt-8  { margin-top:  8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8  { margin-bottom:  8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mb-64 { margin-bottom: 64px; }
.bg-surface { background: var(--bg-surface); }
.flex       { display: flex; }
.items-center    { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.relative { position: relative; }

/* Divider */
.divider { border: none; border-top: 1px solid var(--divider); }

/* ============================================================
   PAGE PROGRESS BAR
   ============================================================ */
#pageProgressBar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #f97316, #fb923c);
  z-index: 9999;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ============================================================
   STICKY CTA BAR
   ============================================================ */
#stickyCtaBar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(12,12,12,0.92);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(249,115,22,0.25);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 900;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  flex-wrap: wrap;
}
#stickyCtaBar.visible { transform: translateY(0); }
.sticky-cta-text {
  font-size: 14px;
  color: var(--text-secondary);
  flex: 1;
  min-width: 0;
}
.sticky-cta-text strong { color: #fff; }
.sticky-cta-actions { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
.sticky-cta-dismiss {
  background: none; border: none; color: #555; font-size: 18px;
  cursor: pointer; padding: 4px 8px; line-height: 1;
  transition: color 0.2s;
}
.sticky-cta-dismiss:hover { color: #888; }

/* ============================================================
   CHAT WIDGET
   ============================================================ */
#chatWidget {
  position: fixed;
  bottom: 78px;
  right: 24px;
  z-index: 950;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.chat-fab {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #25d366;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}
.chat-fab:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37,211,102,0.55); }
.chat-fab svg { width: 26px; height: 26px; fill: #fff; }
.chat-popup {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 18px;
  width: 260px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.6);
  display: none;
  flex-direction: column;
  gap: 10px;
}
.chat-popup.open { display: flex; }
.chat-popup-header {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}
.chat-popup-sub {
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}
.chat-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s;
}
.chat-option-wa  { background: rgba(37,211,102,0.12); color: #25d366; }
.chat-option-wa:hover  { background: rgba(37,211,102,0.22); }
.chat-option-cal { background: rgba(249,115,22,0.12); color: #f97316; }
.chat-option-cal:hover { background: rgba(249,115,22,0.22); }
.chat-option-icon { font-size: 18px; }

/* ============================================================
   COOKIE CONSENT BANNER
   ============================================================ */
#cookieBanner {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  width: min(620px, calc(100vw - 32px));
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 14px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.6);
  z-index: 960;
  transition: transform 0.45s cubic-bezier(0.4,0,0.2,1);
  flex-wrap: wrap;
}
#cookieBanner.visible { transform: translateX(-50%) translateY(0); }
.cookie-text {
  flex: 1;
  font-size: 13px;
  color: var(--text-secondary);
  min-width: 200px;
}
.cookie-text a { color: var(--accent); text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* ============================================================
   TEAM PAGE
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-card);
}
@media (min-width: 600px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }

.team-card-full {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-slow), box-shadow var(--transition-slow), transform var(--transition-slow);
}
.team-card-full:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.team-card-photo {
  width: 100%;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

.team-card-info {
  padding: 24px;
}
@media (min-width: 768px) { .team-card-info { padding: 28px; } }

.team-card-name {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.team-card-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.team-card-bio {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 16px;
}

.team-card-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.team-skill-tag {
  padding: 4px 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
}

.team-join {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.team-join .label { display: block; margin-bottom: 12px; }
.team-join h2 { margin-bottom: 20px; }
.team-join p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 32px;
}
@media (min-width: 768px) { .team-join p { font-size: 18px; } }

/* ============================================================
   QUIZ PAGE
   ============================================================ */
.quiz-wrap {
  max-width: 720px;
  margin: 0 auto;
}

.quiz-progress-bar {
  height: 5px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 48px;
}
.quiz-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #fb923c);
  border-radius: 999px;
  width: 0%;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.quiz-step {
  display: none;
}
.quiz-step.active {
  display: block;
  animation: quizFadeIn 0.35s ease;
}
@keyframes quizFadeIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.quiz-step-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.quiz-question {
  font-size: clamp(20px, 3.5vw, 28px);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  text-align: left;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
}
.quiz-option::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border-light);
  flex-shrink: 0;
  transition: all var(--transition);
}
.quiz-option:hover {
  border-color: var(--accent);
  color: var(--text-primary);
  background: var(--bg-surface);
}
.quiz-option:hover::before {
  border-color: var(--accent);
}
.quiz-option.selected {
  border-color: var(--accent);
  background: var(--accent-glow);
  color: var(--text-primary);
}
.quiz-option.selected::before {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow-strong);
}

.quiz-submit-wrap {
  margin-top: 28px;
  text-align: center;
}

.quiz-result {
  text-align: center;
  padding: 20px 0;
  animation: quizFadeIn 0.4s ease;
}

.quiz-result-icon {
  font-size: 64px;
  margin-bottom: 20px;
  line-height: 1;
}

.quiz-result h2 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.quiz-result p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
@media (min-width: 768px) { .quiz-result p { font-size: 18px; } }

.quiz-result-recs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 36px;
}

.quiz-result-rec-tag {
  padding: 8px 18px;
  background: var(--accent-glow);
  border: 1px solid rgba(249,115,22,0.3);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

.quiz-result-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
@media (min-width: 480px) {
  .quiz-result-actions { flex-direction: row; justify-content: center; }
}

/* ============================================================
   CASE STUDIES PAGE
   ============================================================ */
.cs-grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.cs-card {
  background: var(--bg-card);
  border: 1px solid var(--divider);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.3s;
}
.cs-card:hover { border-color: rgba(249,115,22,0.3); }
.cs-card-header {
  padding: 28px 32px 24px;
  border-bottom: 1px solid var(--divider);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cs-industry-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(249,115,22,0.1);
  border: 1px solid rgba(249,115,22,0.2);
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.cs-card-header h2 { font-size: 22px; margin: 0; }
.cs-outcome-pills { display: flex; gap: 8px; flex-wrap: wrap; flex-shrink: 0; }
.cs-outcome-pill {
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.2);
  color: #22c55e;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
}
.cs-card-body {
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 768px) {
  .cs-card-body { grid-template-columns: 1fr 1fr 1fr; }
}
.cs-section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 8px;
}
.cs-section-content {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.cs-metrics-grid {
  padding: 20px 32px 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  background: rgba(249,115,22,0.03);
  border-top: 1px solid var(--divider);
}
@media (min-width: 640px) {
  .cs-metrics-grid { grid-template-columns: repeat(4, 1fr); }
}
.cs-metric {
  text-align: center;
  padding: 12px;
}
.cs-metric-num {
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}
.cs-metric-num span { color: var(--accent); }
.cs-metric-lbl {
  font-size: 10px;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* ============================================================
   BLOG / INSIGHTS PAGE
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 640px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--divider);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, transform 0.3s;
}
.blog-card:hover { border-color: rgba(249,115,22,0.3); transform: translateY(-4px); }
.blog-card-img {
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.blog-card-category {
  position: absolute;
  top: 14px; left: 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent);
  color: #fff;
  padding: 4px 10px;
  border-radius: 20px;
}
.blog-card-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.blog-card-meta {
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: #555;
}
.blog-card h3 { font-size: 16px; font-weight: 700; color: #fff; line-height: 1.4; margin: 0; }
.blog-card p  { font-size: 13px; color: var(--text-secondary); line-height: 1.6; margin: 0; flex: 1; }
.blog-card-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  margin-top: auto;
  padding-top: 4px;
}
.blog-card-link:hover { text-decoration: underline; }
.blog-featured {
  background: var(--bg-card);
  border: 1px solid var(--divider);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  margin-bottom: 40px;
  transition: border-color 0.3s;
}
@media (min-width: 768px) { .blog-featured { grid-template-columns: 1.4fr 1fr; } }
.blog-featured:hover { border-color: rgba(249,115,22,0.3); }
.blog-featured-img {
  min-height: 280px;
  background-size: cover;
  background-position: center;
}
.blog-featured-body {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}
.blog-featured-tag {
  display: inline-block;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(249,115,22,0.12); color: var(--accent);
  border: 1px solid rgba(249,115,22,0.2);
  padding: 4px 12px; border-radius: 20px;
  width: fit-content;
}
.blog-featured-body h2 { font-size: 22px; margin: 0; color: #fff; line-height: 1.3; }
.blog-featured-body p  { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin: 0; }

/* ============================================================
   PRICING / ENGAGEMENT MODEL SECTION
   ============================================================ */
.pricing-track {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  position: relative;
}
@media (min-width: 768px) {
  .pricing-track { grid-template-columns: repeat(3, 1fr); }
}
.pricing-phase {
  background: var(--bg-card);
  border: 1px solid var(--divider);
  border-radius: 0;
  padding: 36px 32px;
  position: relative;
  transition: background 0.3s, border-color 0.3s;
}
.pricing-phase:first-child { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.pricing-phase:last-child  { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
@media (min-width: 768px) {
  .pricing-phase:first-child { border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
  .pricing-phase:last-child  { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
  .pricing-phase + .pricing-phase { border-left: none; }
}
.pricing-phase.featured {
  background: rgba(249,115,22,0.06);
  border-color: rgba(249,115,22,0.3);
  z-index: 1;
}
@media (min-width: 768px) {
  .pricing-phase.featured {
    transform: scaleY(1.02);
    border-radius: var(--radius-lg) !important;
    border-left: 1px solid rgba(249,115,22,0.3) !important;
  }
}
.pricing-phase-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.pricing-phase.featured .pricing-phase-num { background: #fff; color: var(--accent); }
.pricing-phase-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.pricing-phase h3 { font-size: 20px; margin: 0 0 10px; color: #fff; }
.pricing-phase-price {
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.pricing-phase-price-note {
  font-size: 12px;
  color: #555;
  margin-bottom: 20px;
}
.pricing-feature-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pricing-feature-list li {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.pricing-feature-list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.pricing-cta-row {
  margin-top: 36px;
  padding: 24px 32px;
  background: rgba(255,255,255,0.02);
  border-top: 1px solid var(--divider);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.pricing-cta-row p { font-size: 14px; color: var(--text-secondary); margin: 0; }
.pricing-cta-row strong { color: #fff; }

/* ============================================================
   404 PAGE
   ============================================================ */
.not-found-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}
.not-found-code {
  font-size: clamp(80px, 15vw, 160px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px rgba(249,115,22,0.4);
  margin-bottom: 8px;
}
.not-found-section h1 { font-size: clamp(22px, 4vw, 36px); margin-bottom: 16px; }
.not-found-section p  { font-size: 16px; color: var(--text-secondary); max-width: 440px; margin: 0 auto 36px; }

/* ============================================================
   BACK TO TOP
   ============================================================ */
#backToTop {
  position: fixed;
  bottom: 136px;
  right: 24px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.1);
  color: #aaa;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 899;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s, background 0.2s, color 0.2s;
  pointer-events: none;
}
#backToTop.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
#backToTop:hover   { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-scroll { overflow: hidden; }
.testimonials-track-wrap {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: testimonials-scroll 40s linear infinite;
}
.testimonials-track-wrap:hover { animation-play-state: paused; }
@keyframes testimonials-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--divider);
  border-radius: var(--radius-lg);
  padding: 28px;
  width: 320px;
  flex-shrink: 0;
  transition: border-color 0.3s;
}
.testimonial-card:hover { border-color: rgba(249,115,22,0.3); }
.testimonial-stars { color: #f59e0b; font-size: 14px; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-quote {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 22px;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent-glow);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: #fff; font-size: 13px; flex-shrink: 0;
}
.testimonial-name { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 2px; }
.testimonial-role { font-size: 11px; color: #555; }

/* ============================================================
   ACCREDITATION BADGES
   ============================================================ */
.accred-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.accred-badge {
  background: var(--bg-card);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #777;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
  text-decoration: none;
}
.accred-badge:hover { border-color: rgba(249,115,22,0.35); color: #fff; transform: translateY(-2px); }
.accred-badge-icon { font-size: 20px; }

/* ============================================================
   ROI CALCULATOR
   ============================================================ */
.roi-calc-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  background: var(--bg-card);
  border: 1px solid var(--divider);
  border-radius: var(--radius-lg);
  padding: 40px;
}
@media (min-width: 768px) { .roi-calc-wrap { grid-template-columns: 1.1fr 1fr; } }

.roi-slider-group { margin-bottom: 28px; }
.roi-slider-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 10px;
}
.roi-slider-label strong { color: #fff; font-size: 15px; }

input[type="range"].roi-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.1);
  outline: none;
  cursor: pointer;
}
input[type="range"].roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 0 0 4px rgba(249,115,22,0.2);
  transition: box-shadow 0.2s;
}
input[type="range"].roi-slider::-webkit-slider-thumb:hover {
  box-shadow: 0 0 0 6px rgba(249,115,22,0.3);
}
.roi-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #444;
  margin-top: 4px;
}

.roi-results-panel {
  background: rgba(249,115,22,0.05);
  border: 1px solid rgba(249,115,22,0.18);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  justify-content: center;
}
.roi-result-item { text-align: center; padding: 20px 0; }
.roi-result-item + .roi-result-item { border-top: 1px solid rgba(249,115,22,0.1); }
.roi-result-num {
  font-size: 38px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.035em;
  line-height: 1;
  margin-bottom: 6px;
}
.roi-result-num .accent { color: var(--accent); }
.roi-result-lbl { font-size: 11px; color: #555; text-transform: uppercase; letter-spacing: 0.07em; }
.roi-disclaimer { font-size: 11px; color: #444; margin-top: 20px; line-height: 1.5; }

/* ============================================================
   VIDEO SECTION
   ============================================================ */
.video-section-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  max-width: 860px;
  margin: 0 auto;
}
.video-thumbnail {
  width: 100%;
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  display: block;
}
.video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.45);
  transition: background 0.3s;
}
.video-section-wrap:hover .video-play-overlay { background: rgba(0,0,0,0.25); }
.video-play-btn-large {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 16px rgba(249,115,22,0.18);
  transition: transform 0.25s, box-shadow 0.25s;
}
.video-section-wrap:hover .video-play-btn-large {
  transform: scale(1.1);
  box-shadow: 0 0 0 22px rgba(249,115,22,0.12);
}
.video-play-btn-large svg { fill: #fff; width: 30px; height: 30px; margin-left: 5px; }
.video-caption {
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
  color: #555;
}

.video-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9997;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.video-modal-overlay.open { opacity: 1; pointer-events: auto; }
.video-modal-inner {
  position: relative;
  width: min(900px, calc(100vw - 48px));
}
.video-modal-inner iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
  border-radius: 12px;
}
.video-modal-close {
  position: absolute;
  top: -44px; right: 0;
  background: none; border: none; color: #fff;
  font-size: 28px; cursor: pointer; line-height: 1;
  transition: color 0.2s;
}
.video-modal-close:hover { color: var(--accent); }

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.comparison-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 580px;
}
.comparison-table th {
  padding: 16px 20px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  background: var(--bg-card);
  border-bottom: 2px solid var(--divider);
  color: #888;
}
.comparison-table th:first-child { text-align: left; color: #555; font-weight: 600; }
.comparison-table th.col-highlight { background: rgba(249,115,22,0.08); border-bottom-color: var(--accent); color: var(--accent); }
.comparison-table td {
  padding: 13px 20px;
  font-size: 13px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--divider);
  text-align: center;
  vertical-align: middle;
}
.comparison-table td:first-child { text-align: left; color: #fff; font-weight: 600; }
.comparison-table td.col-highlight { background: rgba(249,115,22,0.04); }
.comparison-table tbody tr:hover td { background: rgba(255,255,255,0.02); }
.comparison-table tbody tr:hover td.col-highlight { background: rgba(249,115,22,0.07); }
.comparison-table tr:last-child td { border-bottom: none; }
.ct-yes     { color: #22c55e; font-size: 18px; line-height: 1; }
.ct-no      { color: #ef4444; font-size: 18px; line-height: 1; }
.ct-partial { color: #f59e0b; font-size: 12px; font-weight: 600; }
.comparison-table th.compare-algorion-col {
  background: rgba(249,115,22,0.10);
  border-bottom: 2px solid var(--accent);
  color: var(--accent);
  position: relative;
}
.comparison-table th.compare-feature-col { text-align: left; color: var(--text-secondary); font-weight: 600; }
.comparison-table td.col-algorion { background: rgba(249,115,22,0.04); font-weight: 600; color: var(--text-primary); }
.comparison-table tbody tr:hover td.col-algorion { background: rgba(249,115,22,0.09); }
.comparison-table td.feature-label { text-align: left; color: var(--text-primary); font-weight: 600; }
.compare-badge-top {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--accent);
  color: #fff;
  border-radius: 4px;
  padding: 2px 8px;
  margin: 0 auto 6px;
  width: fit-content;
}
.cmp-yes  { color: #22c55e; font-weight: 700; margin-right: 4px; }
.cmp-no   { color: #ef4444; font-weight: 700; margin-right: 4px; }
.cmp-warn { color: #f59e0b; font-weight: 700; margin-right: 4px; }
.comparison-legend {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-secondary);
  flex-wrap: wrap;
}

/* ============================================================
   SEARCH OVERLAY
   ============================================================ */
#searchOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(10px);
  z-index: 9998;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 100px 24px 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
#searchOverlay.open { opacity: 1; pointer-events: auto; }
.search-box {
  width: min(640px, 100%);
  background: var(--bg-card);
  border: 1px solid rgba(249,115,22,0.35);
  border-radius: 14px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.search-box input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-size: 18px;
  color: #fff;
  padding: 18px 0;
  font-family: inherit;
}
.search-box input::placeholder { color: #444; }
.search-icon { color: #555; font-size: 16px; flex-shrink: 0; }
.search-close { background: none; border: none; color: #555; font-size: 22px; cursor: pointer; padding: 4px; line-height: 1; flex-shrink: 0; transition: color 0.2s; }
.search-close:hover { color: #fff; }
.search-hint { font-size: 11px; color: #333; margin-top: 10px; width: min(640px, 100%); }
.search-results {
  width: min(640px, 100%);
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 50vh;
  overflow-y: auto;
}
.search-result-item {
  background: var(--bg-card);
  border: 1px solid var(--divider);
  border-radius: 10px;
  padding: 14px 18px;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.search-result-item:hover { border-color: rgba(249,115,22,0.3); background: rgba(249,115,22,0.04); }
.search-result-title { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 3px; }
.search-result-desc  { font-size: 12px; color: #555; }
.search-no-results   { font-size: 13px; color: #444; padding: 16px 18px; }

/* ============================================================
   PRELOADER
   ============================================================ */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-base);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  opacity: 0;
  animation: preloaderFade 0.5s ease forwards;
}
@keyframes preloaderFade {
  from { opacity: 0; transform: scale(0.8); }
  to   { opacity: 1; transform: scale(1); }
}

/* ============================================================
   SKIP TO CONTENT
   ============================================================ */
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  background: var(--accent);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  z-index: 10000;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; outline: 2px solid #fff; }

/* ============================================================
   NEWSLETTER SLIDE-IN
   ============================================================ */
#newsletterSlideIn {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(110%);
  width: min(500px, calc(100vw - 24px));
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 28px 28px 24px;
  z-index: 2000;
  box-shadow: 0 -8px 48px rgba(0,0,0,0.5);
  transition: transform 0.55s cubic-bezier(0.34,1.56,0.64,1);
}
#newsletterSlideIn.visible { transform: translateX(-50%) translateY(0); }
.newsletter-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  padding: 4px 6px;
  border-radius: 4px;
}
.newsletter-close:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }
.newsletter-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.newsletter-title  { font-size: 18px; font-weight: 700; color: var(--text-primary); line-height: 1.35; margin-bottom: 8px; }
.newsletter-sub    { font-size: 13px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 18px; }
.newsletter-row    { display: flex; gap: 10px; }
.newsletter-email-input {
  flex: 1;
  padding: 11px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
  min-width: 0;
}
.newsletter-email-input:focus { border-color: var(--accent); }
.newsletter-submit-btn {
  padding: 11px 18px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  transition: background 0.2s, transform 0.1s;
  flex-shrink: 0;
}
.newsletter-submit-btn:hover { background: #ea6c10; }
.newsletter-submit-btn:active { transform: scale(0.97); }
.newsletter-fine { font-size: 11px; color: var(--text-secondary); margin-top: 10px; }
.newsletter-success { text-align: center; padding: 8px 0 4px; }
.newsletter-success-icon { font-size: 36px; }
.newsletter-success h4 { margin: 10px 0 4px; color: var(--text-primary); font-size: 16px; }
.newsletter-success p  { font-size: 13px; color: var(--text-secondary); }

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumb-wrap { padding: 10px 0 0; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-secondary);
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
.breadcrumb a { color: var(--text-secondary); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { opacity: 0.35; font-size: 11px; }
.breadcrumb .bc-current { color: var(--accent); font-weight: 500; }

/* ============================================================
   SECTION DOTS
   ============================================================ */
#sectionDots {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 11px;
  z-index: 490;
}
.section-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  border: 1.5px solid rgba(255,255,255,0.28);
  cursor: pointer;
  transition: background 0.25s, transform 0.25s, border-color 0.25s;
  position: relative;
  padding: 0;
}
.section-dot:hover, .section-dot.active { background: var(--accent); border-color: var(--accent); transform: scale(1.45); }
.section-dot-tip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 5px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s;
}
.section-dot:hover .section-dot-tip, .section-dot.active .section-dot-tip { opacity: 1; }
@media (max-width: 1100px) { #sectionDots { display: none; } }

/* ============================================================
   FAQ ACCORDION — FULL PAGE
   ============================================================ */
.faq-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 768px) { .faq-two-col { grid-template-columns: 1fr; } }

/* ============================================================
   FLOATING LABEL INPUTS
   ============================================================ */
.float-group { position: relative; }
.float-group .form-input { padding-top: 22px; padding-bottom: 7px; }
.float-label {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 14px;
  color: var(--text-secondary);
  pointer-events: none;
  transition: top 0.18s ease, font-size 0.18s ease, color 0.18s ease;
  line-height: 1;
}
.float-label .fl-req { color: var(--accent); margin-left: 2px; }
.float-group .form-input:focus ~ .float-label,
.float-group .form-input:not(:placeholder-shown) ~ .float-label {
  top: 5px;
  font-size: 10px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* ============================================================
   INLINE FORM VALIDATION
   ============================================================ */
.form-input.is-valid, .form-textarea.is-valid   { border-color: #22c55e !important; }
.form-input.is-invalid, .form-textarea.is-invalid { border-color: #ef4444 !important; }
.field-msg { font-size: 12px; margin-top: 5px; display: none; line-height: 1.3; }
.field-msg.show-msg { display: block; }
.field-msg.ok-msg   { color: #22c55e; }
.field-msg.err-msg  { color: #ef4444; }

/* ============================================================
   COOKIE PREFERENCE CENTER
   ============================================================ */
#cookiePrefModal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3010;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  padding: 16px;
}
#cookiePrefModal.open { opacity: 1; pointer-events: all; }
.cookie-pref-box {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  width: min(540px, 100%);
  max-height: 88vh;
  overflow-y: auto;
}
.cookie-pref-box h3 { font-size: 20px; margin-bottom: 8px; color: var(--text-primary); }
.cookie-pref-box > p { font-size: 13px; color: var(--text-secondary); line-height: 1.65; margin-bottom: 20px; }
.cookie-pref-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--divider);
}
.cookie-pref-row:last-of-type { border-bottom: 1px solid var(--divider); margin-bottom: 4px; }
.cookie-pref-info { flex: 1; }
.cookie-pref-info strong { display: block; font-size: 14px; color: var(--text-primary); margin-bottom: 4px; }
.cookie-pref-info span  { font-size: 12px; color: var(--text-secondary); line-height: 1.5; }
.pref-toggle { position: relative; width: 46px; height: 26px; flex-shrink: 0; margin-top: 2px; }
.pref-toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.pref-toggle-slider {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  border-radius: 26px;
  cursor: pointer;
  transition: background 0.2s;
}
.pref-toggle-slider::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.pref-toggle input:checked + .pref-toggle-slider { background: var(--accent); }
.pref-toggle input:checked + .pref-toggle-slider::before { transform: translateX(20px); }
.pref-toggle input:disabled + .pref-toggle-slider { opacity: 0.45; cursor: not-allowed; }
.cookie-pref-actions { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; align-items: center; }
.cookie-pref-close-x {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 22px;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  line-height: 1;
}
.cookie-pref-close-x:hover { color: var(--text-primary); }
.cookie-manage-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
  padding: 2px 0;
  font-family: inherit;
  display: block;
  margin-top: 8px;
}
.cookie-manage-btn:hover { color: var(--text-primary); }

/* ============================================================
   ONLINE INDICATOR
   ============================================================ */
.online-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-secondary);
  padding: 5px 11px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 20px;
  margin: 0 0 10px;
}
.status-dot-green {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  animation: statusPulse 2.2s infinite;
}
.status-dot-grey { width: 7px; height: 7px; border-radius: 50%; background: #6b7280; flex-shrink: 0; }
@keyframes statusPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34,197,94,0.45); }
  50%       { opacity: 0.7; box-shadow: 0 0 0 4px rgba(34,197,94,0); }
}
/* ============================================================
   LIGHT / DARK THEME TOGGLE
   ============================================================ */

/* --- Toggle button --- */
#themeToggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: none;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  flex-shrink: 0;
}
#themeToggle:hover {
  background: var(--accent-glow);
  border-color: var(--accent);
  color: var(--accent);
}
#themeToggle svg { width: 17px; height: 17px; display: block; }

/* --- Light mode variable overrides --- */
[data-theme="light"] {
  --bg-base:             #f3f4f6;
  --bg-surface:          #e9eaec;
  --bg-card:             #ffffff;
  --text-primary:        #0f0f0f;
  --text-secondary:      #525252;
  --accent:              #f97316;
  --accent-hover:        #ea580c;
  --accent-glow:         rgba(249, 115, 22, 0.12);
  --accent-glow-strong:  rgba(249, 115, 22, 0.22);
  --border:              #d8d8d8;
  --border-light:        #e4e4e4;
  --divider:             rgba(0, 0, 0, 0.07);
  --section-rule:        #e2e2e2;
  --shadow-card:         0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-card-hover:   0 8px 40px rgba(249, 115, 22, 0.2);
}

/* --- Navbar scrolled (uses hardcoded dark bg) --- */
[data-theme="light"] .navbar.scrolled {
  background: rgba(243, 244, 246, 0.95);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

/* --- Nav hover (uses hardcoded rgba white) --- */
[data-theme="light"] .nav-links a:hover,
[data-theme="light"] .nav-links a.active {
  background: rgba(0, 0, 0, 0.06);
}

/* --- Hero grid (white lines → dark lines) --- */
[data-theme="light"] .hero-grid {
  background-image:
    linear-gradient(rgba(0,0,0,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.05) 1px, transparent 1px);
}

/* --- Hero glow (boost slightly for light bg) --- */
[data-theme="light"] .hero-glow {
  background: radial-gradient(circle, rgba(249,115,22,0.1) 0%, transparent 70%);
}

/* --- Hero h1 span (orange gradient stays) --- */
[data-theme="light"] .hero-content h1 { color: var(--text-primary); }

/* --- Hero badge border --- */
[data-theme="light"] .hero-badge {
  border-color: var(--border);
  background: rgba(0,0,0,0.04);
}

/* --- Sticky CTA bar --- */
[data-theme="light"] #stickyCtaBar {
  background: #ffffff;
  border-top-color: var(--border);
  color: var(--text-primary);
}

/* --- Cookie banner --- */
[data-theme="light"] #cookieBanner {
  background: #ffffff;
  border-color: var(--border);
}

/* --- Search overlay --- */
[data-theme="light"] #searchOverlay {
  background: rgba(243, 244, 246, 0.97);
}
[data-theme="light"] .search-box {
  background: #ffffff;
  border-color: rgba(249,115,22,0.4);
}
[data-theme="light"] .search-input { color: var(--text-primary); }
[data-theme="light"] .search-input::placeholder { color: #aaa; }
[data-theme="light"] .search-result-title { color: var(--text-primary); }
[data-theme="light"] .search-result-desc  { color: #888; }

/* --- Form inputs --- */
[data-theme="light"] .form-input,
[data-theme="light"] .form-textarea,
[data-theme="light"] .form-select {
  background: #ffffff;
  color: var(--text-primary);
  border-color: var(--border);
}
[data-theme="light"] .form-input::placeholder,
[data-theme="light"] .form-textarea::placeholder { color: #b0b0b0; }

/* --- Newsletter slide-in --- */
[data-theme="light"] .newsletter-email-input {
  background: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--border);
}

/* --- Mobile nav overlay --- */
[data-theme="light"] .mobile-nav { background: var(--bg-base); }
[data-theme="light"] .mobile-nav a { color: var(--text-primary); }

/* --- Carousel slides (uses hardcoded dark) --- */
[data-theme="light"] .carousel-slide {
  background: #ffffff;
  border-color: var(--border);
}
[data-theme="light"] .carousel-chrome {
  background: #f7f7f7;
  border-color: var(--border);
}
[data-theme="light"] .slide-metric-num { color: var(--text-primary); }

/* --- ROI calculator inputs --- */
[data-theme="light"] .roi-slider { accent-color: var(--accent); }
[data-theme="light"] .roi-results-panel {
  background: #ffffff;
  border-color: var(--border);
}

/* --- Chat widget popup --- */
[data-theme="light"] .chat-popup {
  background: #ffffff;
  border-color: var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
[data-theme="light"] .chat-popup-header { color: var(--text-primary); }
[data-theme="light"] .chat-option {
  background: var(--bg-surface);
  border-color: var(--border);
  color: var(--text-primary);
}
[data-theme="light"] .chat-option:hover {
  background: var(--accent-glow);
  border-color: var(--accent);
}

/* --- Cookie pref modal --- */
[data-theme="light"] .cookie-pref-box {
  background: #ffffff;
}

/* --- FAQ answers --- */
[data-theme="light"] .faq-answer-inner {
  background: var(--bg-surface);
}

/* --- Tech pills --- */
[data-theme="light"] .tech-pill {
  background: rgba(0,0,0,0.07);
  color: var(--text-secondary);
}

/* --- Tag pills --- */
[data-theme="light"] .tag-pill {
  background: rgba(0,0,0,0.06);
  color: var(--text-secondary);
}

/* --- Section dots --- */
[data-theme="light"] .section-dot {
  background: rgba(0,0,0,0.18);
  border-color: rgba(0,0,0,0.25);
}

/* --- Back to top --- */
[data-theme="light"] #backToTop {
  background: var(--accent);
  color: #fff;
}

/* --- Preloader --- */
[data-theme="light"] #preloader { background: var(--bg-base); }

/* --- Progress bar track --- */
[data-theme="light"] #pageProgressBar { background: rgba(0,0,0,0.08); }

/* --- Testimonial cards --- */
[data-theme="light"] .testimonial-card {
  background: #ffffff;
  border-color: var(--border);
}

/* --- Accreditation badges --- */
[data-theme="light"] .accred-badge {
  background: #ffffff;
  border-color: var(--border);
  color: var(--text-secondary);
}

/* --- Video section overlay --- */
[data-theme="light"] .video-play-overlay {
  background: rgba(0,0,0,0.35);
}

/* --- Comparison table header row --- */
[data-theme="light"] .comparison-table th {
  background: var(--bg-surface);
  color: var(--text-secondary);
}
[data-theme="light"] .comparison-table td {
  color: var(--text-secondary);
  border-bottom-color: var(--divider);
}

/* --- Quiz options --- */
[data-theme="light"] .quiz-option {
  background: var(--bg-surface);
  border-color: var(--border);
  color: var(--text-primary);
}

/* --- Page hero section --- */
[data-theme="light"] .page-hero {
  background: var(--bg-surface);
}

/* Smooth theme transition */
body, .navbar, .card, .hero, footer,
.mobile-nav, #cookieBanner, #stickyCtaBar,
.chat-popup, .carousel-slide {
  transition:
    background-color 0.35s ease,
    border-color 0.35s ease,
    color 0.2s ease;
}
/* ============================================================
   LIGHT MODE — HERO MOCKUP OVERRIDES
   ============================================================ */

/* Outer mockup container */
[data-theme="light"] .hero-mockup {
  background: #ffffff;
  border-color: rgba(0,0,0,0.1);
  box-shadow:
    0 0 0 1px rgba(249,115,22,0.15),
    0 24px 60px rgba(0,0,0,0.14),
    0 0 80px rgba(249,115,22,0.06);
}

/* Browser chrome bar */
[data-theme="light"] .mockup-chrome {
  background: #f0f0f0;
  border-bottom-color: rgba(0,0,0,0.09);
}

/* Fake URL bar */
[data-theme="light"] .mockup-url-bar {
  background: rgba(0,0,0,0.06);
  border-color: rgba(0,0,0,0.1);
}

/* Slide body */
[data-theme="light"] .carousel-slide {
  background: #ffffff;
}

/* Service tag pill */
[data-theme="light"] .cslide-tag {
  color: #555;
  background: rgba(0,0,0,0.05);
  border-color: rgba(0,0,0,0.1);
}

/* Slide title */
[data-theme="light"] .cslide-title {
  color: #0f0f0f;
}

/* Metric number */
[data-theme="light"] .cslide-metric-num {
  color: #0f0f0f;
}

/* Metric label */
[data-theme="light"] .cslide-metric-lbl {
  color: #777;
}

/* Stats pill row */
[data-theme="light"] .cslide-stats span {
  color: #555;
  background: rgba(0,0,0,0.05);
  border-color: rgba(0,0,0,0.1);
}

/* Progress track */
[data-theme="light"] .carousel-progress {
  background: rgba(0,0,0,0.1);
}

/* Dot indicators bar */
[data-theme="light"] .carousel-dots {
  background: #f7f7f7;
  border-top-color: rgba(0,0,0,0.08);
}

/* Inactive dots */
[data-theme="light"] .cdot {
  background: rgba(0,0,0,0.15);
}

/* KPI cards inside mockup body */
[data-theme="light"] .mockup-kpi {
  background: #f4f4f4;
  border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .mkpi-label { color: #888; }
[data-theme="light"] .mkpi-val   { color: #0f0f0f; }

/* Chart area */
[data-theme="light"] .mockup-chart-area {
  background: #f4f4f4;
  border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .mockup-chart-title { color: #888; }

/* Status items */
[data-theme="light"] .mockup-status-item { color: #666; }
/* ============================================================
   LIGHT MODE — COMPREHENSIVE SITE-WIDE OVERRIDES
   ============================================================ */

/* Form select dropdown options */
[data-theme="light"] .form-select option {
  background: #ffffff;
  color: #0f0f0f;
}

/* Form success overlay backdrop */
[data-theme="light"] .form-success-overlay {
  background: rgba(243, 244, 246, 0.97);
}

/* Showcase image badge (company story section) */
[data-theme="light"] .showcase-badge {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(249, 115, 22, 0.25);
}
[data-theme="light"] .showcase-badge strong { color: #0f0f0f; }

/* Float badge text (CSS kept even though element removed) */
[data-theme="light"] .mockup-float-badge strong { color: #0f0f0f; }

/* Sticky CTA bar — strong/bold text */
[data-theme="light"] .sticky-cta-text strong { color: var(--text-primary); }
[data-theme="light"] .sticky-cta-dismiss { color: #888; }

/* Comparison table — feature column and row hover */
[data-theme="light"] .comparison-table td:first-child { color: var(--text-primary); }
[data-theme="light"] .comparison-table tbody tr:hover td {
  background: rgba(0, 0, 0, 0.03);
}
[data-theme="light"] .comparison-table tbody tr:hover td.col-highlight {
  background: rgba(249, 115, 22, 0.07);
}

/* Pricing phases — headings and price text */
[data-theme="light"] .pricing-phase h3         { color: var(--text-primary); }
[data-theme="light"] .pricing-phase-price       { color: var(--text-primary); }
[data-theme="light"] .pricing-phase-price-note  { color: var(--text-secondary); }
[data-theme="light"] .pricing-cta-row           { background: rgba(0, 0, 0, 0.03); }
[data-theme="light"] .pricing-cta-row strong    { color: var(--text-primary); }

/* Case study metrics */
[data-theme="light"] .cs-metric-num  { color: var(--text-primary); }
[data-theme="light"] .cs-metric-lbl  { color: var(--text-secondary); }
[data-theme="light"] .cs-section-label { color: var(--text-secondary); }

/* Blog cards — headings */
[data-theme="light"] .blog-card h3         { color: var(--text-primary); }
[data-theme="light"] .blog-card-meta       { color: var(--text-secondary); }
[data-theme="light"] .blog-featured-body h2 { color: var(--text-primary); }

/* Testimonials — name + role */
[data-theme="light"] .testimonial-name { color: var(--text-primary); }
[data-theme="light"] .testimonial-role { color: var(--text-secondary); }

/* Accreditation badge hover */
[data-theme="light"] .accred-badge:hover { color: var(--text-primary); }

/* ROI calculator — slider track + labels + result numbers */
[data-theme="light"] input[type="range"].roi-slider {
  background: rgba(0, 0, 0, 0.12);
}
[data-theme="light"] .roi-slider-label strong { color: var(--text-primary); }
[data-theme="light"] .roi-range-labels         { color: var(--text-secondary); }
[data-theme="light"] .roi-result-num           { color: var(--text-primary); }
[data-theme="light"] .roi-result-lbl           { color: var(--text-secondary); }
[data-theme="light"] .roi-disclaimer           { color: var(--text-secondary); }

/* Cookie pref toggle track (off-state) */
[data-theme="light"] .pref-toggle-slider {
  background: rgba(0, 0, 0, 0.18);
}

/* Online indicator badge */
[data-theme="light"] .online-status-badge {
  background: rgba(0, 0, 0, 0.05);
  border-color: var(--border);
}

/* Newsletter close button hover */
[data-theme="light"] .newsletter-close:hover {
  background: rgba(0, 0, 0, 0.07);
}

/* Search overlay — input text and controls */
[data-theme="light"] .search-box input { color: var(--text-primary); }
[data-theme="light"] .search-box input::placeholder { color: #aaa; }
[data-theme="light"] .search-close:hover { color: var(--text-primary); }
[data-theme="light"] .search-hint       { color: var(--text-secondary); }
[data-theme="light"] .search-no-results { color: var(--text-secondary); }
[data-theme="light"] .search-result-desc { color: var(--text-secondary); }

/* Video caption */
[data-theme="light"] .video-caption { color: var(--text-secondary); }

/* Chat popup border */
[data-theme="light"] .chat-popup {
  border-color: var(--border);
}

/* Cookie banner border */
[data-theme="light"] #cookieBanner {
  border-color: var(--border);
}