/* ════════════ VEQRA Marketing Site — Shared Base ════════════
   Imports the design tokens, sets typographic defaults, and
   defines the shared layout primitives (page width, sections,
   header, footer, buttons). All site pages link this file. */

@import url('./colors_and_type.css');

/* ════════════ VEQRA v4 — Premium tokens override ════════════
   Deep night-blue surfaces, cyan accent, off-white body text. */
:root {
  --veqra-navy:         #070D1A;
  --veqra-navy-card:    #0D1525;
  --veqra-navy-deep:    #050913;
  --veqra-cyan:         #00B4D8;
  --veqra-cyan-soft:    #4DC9E2;
  --veqra-text:         #E8EDF5;
  --veqra-text-muted:   #A8B5C7;
  --veqra-text-faint:   #6B7A8E;
  --veqra-border:       rgba(0, 180, 216, 0.10);
  --veqra-border-strong:rgba(0, 180, 216, 0.22);
  --veqra-alert:        #FF4D6D;
  --veqra-success:      #00E5A0;
  --veqra-gold:         #FFD166;
}

/* Re-declare Inter relative to /site so paths resolve correctly */
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url('./fonts/Inter_18pt-Regular.ttf') format('truetype'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-display: swap; src: url('./fonts/Inter_24pt-Medium.ttf') format('truetype'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url('./fonts/Inter_18pt-SemiBold.ttf') format('truetype'); }
@font-face { font-family: 'Inter'; font-weight: 700; font-display: swap; src: url('./fonts/Inter_24pt-Bold.ttf') format('truetype'); }

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(ellipse at top right, rgba(0,180,216,0.06), transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(0,180,216,0.04), transparent 60%),
    var(--veqra-navy);
  background-attachment: fixed;
  color: var(--veqra-text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ────── Typography ────── */
h1, h2, h3, h4, h5, .display, .heading {
  font-family: 'Geist', 'Inter', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.1;
  color: var(--veqra-text);
}
h1 { font-size: clamp(48px, 6.2vw, 104px); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(34px, 4vw, 64px); letter-spacing: -0.02em; }
h3 { font-size: clamp(22px, 2.2vw, 36px); }
h4 { font-size: 18px; letter-spacing: 0; }

.kpi, .mono { font-family: 'Geist Mono', 'JetBrains Mono', ui-monospace, monospace; font-feature-settings: 'tnum' 1, 'zero' 1; }

.eyebrow {
  font-family: 'Geist Mono', monospace;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--veqra-cyan);
}

p { color: var(--veqra-text-muted); line-height: 1.65; }

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

/* ────── Page layout primitives ────── */
.shell { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.shell-wide { max-width: 1440px; }

section { padding: 96px 0; position: relative; }
section.tight { padding: 64px 0; }
section.alt { background: var(--veqra-navy-deep); }

.cyan-rule {
  width: 64px; height: 2px;
  background: var(--veqra-cyan);
  border-radius: 2px;
  margin-bottom: 18px;
}

/* ────── Header ────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #000000;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--veqra-border);
}
.site-header .row {
  display: flex; align-items: center; justify-content: space-between;
  height: 140px; gap: 32px;
}
.site-header .brand {
  display: flex; align-items: center; gap: 12px;
  font-family: 'Geist', sans-serif; font-weight: 800; font-size: 20px;
  letter-spacing: 0.04em;
  color: #fff;
}
.site-header .brand .q { color: var(--veqra-cyan); }
.site-header .brand .tag {
  font-family: 'Geist Mono', monospace; font-size: 10px;
  letter-spacing: 0.18em; color: var(--veqra-text-faint);
  margin-left: 6px; padding-left: 12px; border-left: 1px solid var(--veqra-border-strong);
  text-transform: uppercase; font-weight: 500;
}
.site-header nav { display: flex; align-items: center; gap: 28px; }
.site-header nav a {
  font-size: 14px; font-weight: 500; color: var(--veqra-text-muted);
  transition: color 0.15s ease;
}
.site-header nav a:hover, .site-header nav a.active { color: #fff; }
.site-header .lang {
  font-family: 'Geist Mono', monospace;
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
  padding: 6px 10px; border: 1px solid var(--veqra-border-strong); border-radius: 6px;
  color: var(--veqra-text-muted); cursor: pointer;
  transition: all 0.15s ease;
}
.site-header .lang:hover { border-color: var(--veqra-cyan); color: var(--veqra-cyan); }

/* ────── Lang toggle (FR/EN switcher) ────── */
.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--veqra-border-strong);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(0,0,0,0.40);
}
.lang-toggle button {
  padding: 7px 14px;
  background: transparent;
  border: 0;
  color: var(--veqra-text-muted);
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  text-transform: uppercase;
  line-height: 1;
}
.lang-toggle button:not(.active):hover {
  color: var(--veqra-cyan);
  background: rgba(0,180,216,0.06);
}
.lang-toggle button.active {
  background: var(--veqra-cyan);
  color: var(--veqra-navy);
}

/* ────── Buttons ────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 8px;
  font-family: 'Geist', sans-serif; font-size: 14px; font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer; transition: all 0.15s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--veqra-cyan); color: #0A2E5C;
  box-shadow: 0 4px 24px -4px rgba(0, 180, 216, 0.40);
}
.btn-primary:hover { background: var(--veqra-cyan-soft); transform: translateY(-1px); box-shadow: 0 8px 32px -4px rgba(0, 180, 216, 0.55); }
.btn-ghost {
  background: transparent; color: #fff;
  border-color: var(--veqra-border-strong);
}
.btn-ghost:hover { border-color: var(--veqra-cyan); color: var(--veqra-cyan); }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn .arr { transition: transform 0.15s ease; }
.btn:hover .arr { transform: translateX(3px); }

/* ────── Cards ────── */
.card {
  background:
    linear-gradient(180deg, rgba(0,180,216,0.025), rgba(255,255,255,0) 60%),
    var(--veqra-navy-card);
  border: 1px solid var(--veqra-border-strong);
  border-radius: 14px;
  padding: 28px;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0,180,216,0.30), rgba(0,180,216,0.04) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: 0.6;
  transition: opacity 0.25s ease;
}
.card:hover {
  border-color: rgba(0, 180, 216, 0.45);
  box-shadow:
    0 16px 48px -12px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(0, 180, 216, 0.15),
    0 0 60px -10px rgba(0, 180, 216, 0.30);
  transform: translateY(-3px);
}
.card:hover::before { opacity: 1; }

/* ────── Mega stat (hero / showcase) ────── */
.stat-mega {
  display: flex; flex-direction: column; gap: 14px;
  padding: 36px 32px;
  background:
    radial-gradient(circle at top right, rgba(0,180,216,0.10), transparent 60%),
    linear-gradient(180deg, var(--veqra-navy-card), var(--veqra-navy));
  border: 1px solid var(--veqra-border-strong);
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.stat-mega::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--veqra-cyan), transparent);
  opacity: 0.5;
}
.stat-mega:hover {
  border-color: rgba(0, 180, 216, 0.55);
  transform: translateY(-4px);
  box-shadow: 0 24px 64px -16px rgba(0, 180, 216, 0.30);
}
.stat-mega .num {
  font-family: 'Geist', sans-serif;
  font-weight: 800;
  font-size: clamp(56px, 6.4vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  color: var(--veqra-cyan);
  font-feature-settings: 'tnum' 1;
  text-shadow: 0 0 60px rgba(0,180,216,0.25);
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 14px;
}
.stat-mega .num .unit {
  font-size: 0.30em;
  font-weight: 700;
  color: var(--veqra-text);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.stat-mega .lbl {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--veqra-text-faint);
}
.stat-mega .desc {
  font-size: 15px;
  color: var(--veqra-text-muted);
  line-height: 1.5;
  margin-top: 4px;
}

/* ────── Footer ────── */
.site-footer {
  background: var(--veqra-navy-deep);
  border-top: 1px solid var(--veqra-border);
  padding: 56px 0 32px;
}
.site-footer .row { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.site-footer h5 {
  font-family: 'Geist Mono', monospace;
  font-size: 11px; font-weight: 600; letter-spacing: 0.20em;
  text-transform: uppercase; color: var(--veqra-text-faint);
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.site-footer ul a { font-size: 14px; color: var(--veqra-text-muted); }
.site-footer ul a:hover { color: var(--veqra-cyan); }
.site-footer .brand-block { max-width: 360px; }
.site-footer .brand-block p { font-size: 13px; line-height: 1.6; margin-top: 12px; color: var(--veqra-text-faint); }
.site-footer .copy {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid var(--veqra-border);
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'Geist Mono', monospace; font-size: 11px;
  color: var(--veqra-text-faint); letter-spacing: 0.04em;
}

/* ────── Decorative ────── */
.glow-orb {
  position: absolute; pointer-events: none;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.18), transparent 70%);
  filter: blur(60px);
  z-index: 0;
}

/* ────── Animations ────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; }
.fade-up.d1 { animation-delay: 0.10s; }
.fade-up.d2 { animation-delay: 0.20s; }
.fade-up.d3 { animation-delay: 0.30s; }
.fade-up.d4 { animation-delay: 0.40s; }
.fade-up.d5 { animation-delay: 0.50s; }

@keyframes pulseDot { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0, 180, 216, 0.5); } 50% { opacity: 0.6; box-shadow: 0 0 0 8px rgba(0, 180, 216, 0); } }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--veqra-cyan); animation: pulseDot 1.8s ease-in-out infinite; }

/* ────── Power BI window frame (real screenshots) ────── */
.pbi-window {
  background: #0a0a0a;
  border: 1px solid var(--veqra-border-strong);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 64px -16px rgba(0,0,0,0.65), 0 0 0 1px rgba(0,180,216,0.06), 0 0 60px -20px rgba(0,180,216,0.25);
  transition: box-shadow 0.4s ease;
}
.pbi-window:hover {
  box-shadow: 0 28px 80px -16px rgba(0,0,0,0.70), 0 0 0 1px rgba(0,180,216,0.18), 0 0 100px -20px rgba(0,180,216,0.45);
}
.pbi-chrome {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 16px;
  background: linear-gradient(180deg, #15294a, #0d1f3d);
  border-bottom: 1px solid var(--veqra-border);
}
.pbi-chrome .dot { width: 11px; height: 11px; border-radius: 50%; flex: none; }
.pbi-chrome .dot.r { background: #ff5f57; }
.pbi-chrome .dot.y { background: #febc2e; }
.pbi-chrome .dot.g { background: #28c840; }
.pbi-chrome .pbi-url {
  flex: 1;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px;
  margin: 0 8px;
  background: rgba(10,46,92,0.55);
  border: 1px solid var(--veqra-border);
  border-radius: 999px;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--veqra-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pbi-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0a0a;
  padding: 0;
  /* hero square-ish — image is ~1.0–1.2 ratio, give it natural fit */
  min-height: 420px;
}
.pbi-screen img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 540px;
  object-fit: contain;
  object-position: center center;
}
/* full-bleed tall dashboard demo */
.pbi-screen--tall {
  min-height: auto;
  max-height: 880px;
  overflow: hidden;
  position: relative;
}
.pbi-screen--tall img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}
.pbi-screen--tall::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 80px;
  background: linear-gradient(180deg, rgba(10,10,10,0), rgba(10,10,10,0.85));
  pointer-events: none;
}
.pbi-window--wide {
  max-width: 1100px;
  margin: 0 auto;
}

/* ────── KPI counter style ────── */
.stat {
  display: flex; flex-direction: column; gap: 8px;
}
.stat .num {
  font-family: 'Geist Mono', monospace;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--veqra-cyan);
}
.stat .lbl {
  font-size: 13px; color: var(--veqra-text-muted);
  letter-spacing: 0.02em;
  max-width: 200px;
}

/* ────── Responsive ────── */
@media (max-width: 900px) {
  .site-header nav { display: none; }
  .site-footer .row { grid-template-columns: 1fr 1fr; }
  section { padding: 64px 0; }
}

/* ────── Mobile Responsive Fix ────── */
@media (max-width: 768px) {
  /* Header */
  .site-header .shell.row { flex-wrap: wrap; gap: 12px; }
  .site-header nav { display: none; }
  .brand img { width: 160px !important; height: auto !important; }

  /* Hero */
  .hero { padding: 48px 0 64px !important; }
  .hero h1 { font-size: clamp(28px, 8vw, 48px) !important; }
  .hero p { font-size: 16px !important; }

  /* Stat grid - 3 cols → 1 col */
  div[style*="grid-template-columns: repeat(3, 1fr)"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }

  /* Any 3-col grid → 1 col */
  .shell [style*="grid-template-columns: 1fr 1fr 1fr"],
  .shell [style*="repeat(3"] {
    grid-template-columns: 1fr !important;
  }

  /* 2-col grids → 1 col on mobile */
  .shell [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Cards grid */
  .row { grid-template-columns: 1fr !important; flex-direction: column !important; }
  
  /* Shell padding */
  .shell { padding-left: 20px !important; padding-right: 20px !important; }

  /* Buttons - stack vertically */
  div[style*="display: inline-flex"][style*="gap: 14px"] {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
  }
  .btn { text-align: center !important; }

  /* Footer */
  .site-footer .row { grid-template-columns: 1fr !important; }

  /* Sections */
  section { padding: 48px 0 !important; }

  /* Logos row */
  div[style*="gap: 28px 36px"] {
    gap: 16px 20px !important;
    justify-content: flex-start !important;
  }

  /* Glow orbs - hide on mobile */
  .glow-orb { display: none !important; }

  /* Stat mega cards */
  .stat-mega { padding: 20px !important; }
  .stat-mega .num { font-size: 40px !important; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: clamp(24px, 7vw, 36px) !important; }
  .shell { padding-left: 16px !important; padding-right: 16px !important; }
}

/* ────── Fix 4-column grids on mobile ────── */
@media (max-width: 768px) {
  /* Target all repeat(4) inline grids */
  div[style*="repeat(4, 1fr)"],
  div[style*="repeat(4,1fr)"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }
  /* Also target repeat(3) */
  div[style*="repeat(3, 1fr)"],
  div[style*="repeat(3,1fr)"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }
  /* Fix hero black space */
  .hero .shell { padding-top: 20px !important; }
  section.hero { padding-top: 40px !important; }
}

/* ────── Mobile header fixes ────── */
@media (max-width: 768px) {
  .site-header { padding: 12px 0 !important; }
  .site-header .shell.row { 
    flex-wrap: wrap !important; 
    gap: 8px !important;
    align-items: center !important;
  }
  .brand img { 
    width: 120px !important; 
    height: auto !important; 
  }
  /* Lang toggle + CTA on same row */
  .site-header > div > div,
  .site-header .shell > div:last-child {
    gap: 8px !important;
  }
}

/* ────── Hero section mobile fix ────── */
@media (max-width: 768px) {
  /* Hero visible height fix */
  section.hero {
    padding: 32px 0 48px !important;
    min-height: auto !important;
  }
  .hero .shell {
    padding-top: 0 !important;
  }
  /* Hero h1 */
  .hero h1 {
    font-size: clamp(26px, 7vw, 42px) !important;
    margin-bottom: 20px !important;
  }
  /* Hero p */
  .hero p {
    font-size: 16px !important;
    margin-bottom: 32px !important;
  }
  /* Hero pill badge */
  .hero .fade-up:first-child {
    margin-bottom: 20px !important;
  }
  /* Stats grid */
  .hero .fade-up.d3 {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin-bottom: 32px !important;
  }

  /* Comparison table - scrollable */
  div[style*="grid-template-columns: 1fr 1fr 1fr 1fr"],
  div[style*="repeat(4, 1fr)"] {
    display: block !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  /* Make comparison table scrollable instead of breaking */
  table {
    min-width: 500px !important;
    display: block !important;
    overflow-x: auto !important;
  }
}

/* ────── Hero overflow fix ────── */
@media (max-width: 768px) {
  section.hero[style*="overflow: hidden"] {
    overflow: visible !important;
  }
  /* Ensure hero content is always visible */
  .hero .shell > * {
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* ────── Header height mobile fix ────── */
@media (max-width: 768px) {
  .site-header .row {
    height: 60px !important;
    gap: 12px !important;
  }
  .site-header {
    padding: 0 !important;
  }
}

/* ────── Steps grid mobile ────── */
@media (max-width: 768px) {
  .steps-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }
}

/* ════════ STEPS PREMIUM ════════ */
.steps-premium {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 860px;
  margin: 0 auto;
}

.step-item {
  position: relative;
  display: flex;
  gap: 0;
}

.step-num-bg {
  font-family: 'Space Mono', 'Courier New', monospace;
  font-size: 96px;
  font-weight: 700;
  line-height: 1;
  color: rgba(0,180,216,0.07);
  min-width: 140px;
  text-align: right;
  padding-right: 24px;
  padding-top: 8px;
  user-select: none;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
  background: var(--veqra-navy-card);
  border: 1px solid var(--veqra-border);
  border-radius: 16px;
  padding: 32px 36px;
  margin-bottom: 16px;
  position: relative;
  transition: border-color 0.2s;
}
.step-content:hover {
  border-color: rgba(0,180,216,0.35);
}

.step-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.step-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0,180,216,0.10);
  border: 1px solid rgba(0,180,216,0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-icon-gold {
  background: rgba(244,164,35,0.10);
  border-color: rgba(244,164,35,0.20);
}

.step-label {
  font-family: 'Courier New', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.20em;
  color: var(--veqra-cyan);
  margin-bottom: 4px;
}

.step-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--veqra-text);
  margin: 0;
}

.step-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--veqra-text-muted);
  margin-bottom: 20px;
}

.step-badge {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.step-badge span {
  font-family: 'Courier New', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--veqra-cyan);
  background: rgba(0,180,216,0.08);
  border: 1px solid rgba(0,180,216,0.20);
  border-radius: 6px;
  padding: 4px 10px;
}

.step-badge-alert span {
  color: #FF7043;
  background: rgba(255,112,67,0.08);
  border-color: rgba(255,112,67,0.20);
}

.step-badge-gold span {
  color: var(--veqra-gold);
  background: rgba(244,164,35,0.08);
  border-color: rgba(244,164,35,0.20);
}

.step-connector {
  position: absolute;
  left: 139px;
  bottom: -16px;
  width: 1px;
  height: 16px;
  background: linear-gradient(to bottom, rgba(0,180,216,0.3), rgba(0,180,216,0));
}

/* Mobile steps */
@media (max-width: 768px) {
  .step-num-bg {
    display: none;
  }
  .step-content {
    padding: 24px 20px;
  }
  .step-title {
    font-size: 18px;
  }
  .step-connector {
    left: 0;
  }
}

/* ════════ SECURITE PAGE MOBILE ════════ */
@media (max-width: 768px) {
  /* All 2-col grids → 1 col */
  div[style*="grid-template-columns: repeat(2, 1fr)"],
  div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  /* 4-col security badges → 2 col */
  div[style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  /* Flow diagram → stack */
  div[style*="grid-template-columns: 1fr auto 1fr auto 1fr"] {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }
}

/* ════════ TARIFS PAGE MOBILE ════════ */
@media (max-width: 768px) {
  /* Pricing cards → 1 col */
  div[style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
  }
  /* Pricing comparison table → scrollable */
  div[style*="overflow-x"] table,
  table {
    min-width: 480px;
  }
  /* Wrap table in scrollable container */
  .pricing-table-wrap {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    border-radius: 12px;
  }
}

/* ════════ GLOBAL 2-COL FIX MOBILE ════════ */
@media (max-width: 640px) {
  /* Force all 2-col grids to 1 col on small screens */
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns: repeat(2, 1fr)"],
  [style*="grid-template-columns: repeat(2,1fr)"] {
    grid-template-columns: 1fr !important;
  }
}

/* ════════ POC PRICING BLOCK MOBILE ════════ */
@media (max-width: 768px) {
  .poc-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    padding: 32px 24px !important;
    text-align: center !important;
  }
  .poc-grid > div:last-child {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    border-left: none !important;
    border-top: 1px solid rgba(0,180,216,0.20) !important;
    padding-top: 24px !important;
    padding-left: 0 !important;
  }
  /* Font size reduction for big price */
  .poc-grid [style*="font-size: 56px"] {
    font-size: 48px !important;
  }
}

/* ════════ COMPARISON TABLE / CARDS ════════ */
/* Desktop: show table, hide cards */
.comp-table-desktop { display: block; }
.comp-cards-mobile { display: none; }

/* Mobile: hide table, show cards */
@media (max-width: 768px) {
  .comp-table-desktop { display: none !important; }
  .comp-cards-mobile {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--veqra-border);
    border-radius: 12px;
    overflow: hidden;
  }
  .comp-row-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background: rgba(0,180,216,0.06);
    padding: 12px 16px;
    border-bottom: 1px solid var(--veqra-border);
  }
  .comp-row-header .comp-label {
    font-size: 10px;
    color: var(--veqra-text-faint);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
  }
  .comp-row-header .comp-others {
    font-size: 10px;
    color: var(--veqra-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    text-align: center;
  }
  .comp-row-header .comp-veqra {
    font-size: 10px;
    color: var(--veqra-cyan);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    text-align: center;
  }
  .comp-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 14px 16px;
    border-bottom: 1px solid var(--veqra-border);
    align-items: center;
    gap: 8px;
  }
  .comp-row:last-child { border-bottom: none; }
  .comp-row .comp-label {
    font-size: 13px;
    color: var(--veqra-text-muted);
    font-weight: 500;
  }
  .comp-row .comp-others {
    font-size: 12px;
    color: var(--veqra-text-faint);
    text-align: center;
  }
  .comp-row .comp-veqra {
    font-size: 12px;
    color: var(--veqra-success);
    font-weight: 600;
    text-align: center;
    background: rgba(0,180,216,0.04);
    border-radius: 6px;
    padding: 6px 4px;
  }
}
