/* ============================================================
   ARVION.STUDIO — Design System CSS
   Based on: arvion-uiux skill + Microsoft Fluent 2
   Colors derived from Arvion logo gradient
   ============================================================ */

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

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  /* Brand Colors — logo derived */
  --ap: #3B1FE0;        /* Brand Purple */
  --ab: #2B5CE6;        /* Brand Blue */
  --ai: #1A0A8C;        /* Brand Indigo */
  --ac: #00D4FF;        /* Brand Cyan */
  --at: #EEF0FF;        /* Purple Tint */
  --ag: linear-gradient(135deg, #5B21FF 0%, #3B5BFF 50%, #00D4FF 100%);

  /* Neutrals */
  --n0: #FFFFFF;
  --n1: #FAFAFA;
  --n2: #F5F5F5;
  --n3: #EBEBEB;
  --n4: #E0E0E0;
  --n5: #C7C7C7;
  --n6: #595959;        /* WCAG AA compliant on #fff (7.00:1) */
  --n7: #616161;
  --n8: #424242;
  --n9: #1A1A1A;

  /* Semantic */
  --success: #107C10;
  --success-bg: #F1FAF1;
  --success-bd: #54B054;
  --warning: #BC4A00;
  --warning-bg: #FFF4CE;
  --error: #C50F1F;

  /* Elevation */
  --s2:  0 1px 2px rgba(0,0,0,.10), 0 0 2px rgba(0,0,0,.06);
  --s4:  0 2px 4px rgba(0,0,0,.10), 0 0 4px rgba(0,0,0,.06);
  --s8:  0 4px 8px rgba(0,0,0,.10), 0 0 8px rgba(0,0,0,.06);
  --s16: 0 8px 24px rgba(0,0,0,.12), 0 0 16px rgba(0,0,0,.06);
  --sb:  0 4px 32px rgba(91,33,255,.18);

  /* Motion */
  --fast: 100ms; --norm: 200ms; --slow: 300ms;
  --ease: cubic-bezier(.17,.17,0,1);
  --dec:  cubic-bezier(0,0,0,1);

  /* Typography */
  --ff: 'Inter', 'Segoe UI Variable', 'Segoe UI', system-ui, sans-serif;

  /* Spacing (4px grid) */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px; --sp-8: 32px; --sp-10: 40px;
  --sp-12: 48px; --sp-16: 64px; --sp-20: 80px;

  /* Layout */
  --mw: 1200px;
  --nav-h: 64px;

  /* Radius */
  --r2: 2px; --r4: 4px; --r6: 6px; --r8: 8px; --r12: 12px;
  --r16: 16px; --r24: 24px; --rfull: 9999px;
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
}
body {
  font-family: var(--ff);
  font-size: 15px;
  line-height: 1.6;
  color: var(--n9);
  background: var(--n0);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--ff); }
ul, ol { list-style: none; }

/* ── LAYOUT ──────────────────────────────────────────────── */
.container { max-width: var(--mw); margin: 0 auto; padding: 0 var(--sp-8); width: 100%; }
.section { padding: var(--sp-20) 0; }
.section-sm { padding: var(--sp-12) 0; }
.section-lg { padding: 100px 0; }

/* Grid helpers */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); }
.capability-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--sp-3); }
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-16); align-items: center; }
.lab-grid-preview { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-gap-2 { gap: var(--sp-2); }
.flex-gap-4 { gap: var(--sp-4); }
.flex-gap-6 { gap: var(--sp-6); }

/* ── NAVIGATION ──────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--n3);
  transition: background var(--norm), box-shadow var(--norm);
}
.nav.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: var(--s4);
}
/* ── GRADIENT TEXT ────────────────────────────────────────── */
.gr, .text-gradient {
  background: var(--ag);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.nav-inner {
  max-width: var(--mw); margin: 0 auto; padding: 0 var(--sp-8);
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 17px; font-weight: 800; color: var(--n9);
  letter-spacing: -0.3px; text-decoration: none;
  flex-shrink: 0;
}
.nav-logo img { width: 30px; height: 30px; object-fit: contain; flex-shrink: 0; }
.nav-brand-text {
  display: inline;
  white-space: nowrap;
}
.nav-brand-text .gr,
.nav-logo .gr {
  background: var(--ag);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  display: inline;
  margin: 0;
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 6px 14px; border-radius: var(--r4);
  font-size: 14px; font-weight: 500; color: var(--n7);
  transition: color var(--fast), background var(--fast);
}
.nav-link:hover, .nav-link.active {
  color: var(--n9); background: var(--n2);
}
.nav-actions { display: flex; align-items: center; gap: var(--sp-3); }

/* ── LANGUAGE SWITCHER ───────────────────────────────────── */
.lang-switch {
  display: inline-flex;
  align-items: center;
  background: var(--n2);
  border: 1px solid var(--n4);
  border-radius: var(--rfull);
  padding: 3px;
  gap: 2px;
  box-sizing: border-box;
  vertical-align: middle;
}
.lang-btn {
  background: transparent;
  border: none;
  font-family: var(--ff);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--n7);
  padding: 0 10px;
  height: 26px;
  min-height: 26px !important;
  line-height: 26px;
  border-radius: var(--rfull);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all var(--fast) var(--ease);
  box-sizing: border-box;
}
.lang-btn.active {
  background: var(--ap);
  color: #fff;
  box-shadow: 0 1px 3px rgba(59, 31, 224, 0.28);
}
.lang-btn:hover:not(.active) {
  color: var(--n9);
}
.lang-sep {
  display: none;
}

/* Mobile nav */
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: var(--sp-2); cursor: pointer;
}
.nav-burger span {
  display: block; width: 22px; height: 2px;
  background: var(--n8); border-radius: 2px;
  transition: all var(--norm);
}
.nav-mobile {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: var(--n0); border-bottom: 1px solid var(--n3);
  padding: var(--sp-5) var(--sp-6) var(--sp-6); z-index: 999;
  flex-direction: column; gap: var(--sp-2);
  box-shadow: var(--s16);
  animation: slideDown 200ms var(--ease);
}
.nav-mobile.open { display: flex; }
.nav-mobile .nav-link {
  padding: 12px 14px;
  border-radius: var(--r6);
  font-size: 15px;
  font-weight: 600;
}
.nav-mobile .nav-link.active {
  background: var(--at);
  color: var(--ap);
}
.nav-mobile .nav-mobile-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--sp-4);
  margin-top: var(--sp-2);
  border-top: 1px solid var(--n3);
}
.nav-mobile .btn-primary { width: 100%; justify-content: center; margin-top: var(--sp-2); }

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--sp-2); font-family: var(--ff); font-size: 14px; font-weight: 600;
  border-radius: var(--r4); padding: 10px 22px;
  border: 1.5px solid transparent;
  transition: all var(--fast) var(--ease);
  white-space: nowrap; cursor: pointer; min-height: 44px; line-height: 1;
}
.btn:active { transform: scale(.98); }

/* Focus indicator for keyboard accessibility (R-32) */
.btn:focus-visible,
.nav-link:focus-visible,
.footer-link:focus-visible,
.slot-btn:focus-visible,
.filter-btn:focus-visible,
.filter-pill:focus-visible,
.card:focus-visible,
a:focus-visible {
  outline: 2px solid var(--ap);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--ap); color: #fff; border-color: var(--ap);
}
.btn-primary:hover { background: var(--ab); border-color: var(--ab); box-shadow: var(--sb); }

.btn-outline {
  background: transparent; color: var(--ap); border-color: var(--ap);
}
.btn-outline:hover { background: var(--at); }

.btn-ghost {
  background: transparent; color: var(--n8); border-color: transparent;
}
.btn-ghost:hover { background: var(--n2); color: var(--n9); }

.btn-white {
  background: #fff; color: var(--ap); border-color: #fff;
}
.btn-white:hover { background: var(--at); }

.btn-outline-white {
  background: transparent; color: #fff; border-color: rgba(255,255,255,.5);
}
.btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: #fff; }

.btn-sm { font-size: 12.5px; padding: 6px 14px; min-height: 36px; }
.btn-lg { font-size: 15px; padding: 13px 28px; min-height: 48px; }
.btn-xl { font-size: 16px; padding: 16px 36px; min-height: 56px; border-radius: var(--r6); }

.btn-icon { gap: 6px; }
.btn svg { flex-shrink: 0; }

/* ── BADGE ───────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 700; padding: 3px 8px;
  border-radius: var(--rfull); border: 1px solid transparent;
  letter-spacing: .3px;
  line-height: 1.3;
}
.badge-category { background: var(--n2); color: var(--n8); border-color: var(--n3); font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; }
.badge-teal   { background: #ecfdf5; color: #065f46; border-color: #a7f3d0; } /* WCAG AA compliant on #ecfdf5 (7.29:1) */
.badge-blue   { background: #eff6ff; color: #2563eb; border-color: #bfdbfe; }
.badge-purple { background: var(--at); color: var(--ap); border-color: rgba(59,31,224,.2); }
.badge-green  { background: var(--success-bg); color: var(--success); border-color: var(--success-bd); }
.badge-yellow { background: var(--warning-bg); color: var(--warning); border-color: #F7B55C; }
.badge-gray   { background: var(--n2); color: var(--n7); border-color: var(--n4); }
.badge-dot::before { content: '●'; margin-right: 3px; font-size: 9px; line-height: 1; }

/* ── SECTION HEADERS ─────────────────────────────────────── */
.sec-label, .section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--ap); margin-bottom: var(--sp-4);
}
.sec-label::before, .section-label::before {
  content: ''; display: block; width: 18px; height: 2px;
  background: var(--ag); border-radius: 2px;
}
.sec-title, .section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800; line-height: 1.2;
  letter-spacing: -0.8px; color: var(--n9);
  margin-top: var(--sp-3);
  margin-bottom: var(--sp-3);
}
.sec-title span, .section-title span { background: var(--ag); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.sec-sub, .section-sub {
  font-size: 16px; font-weight: 400; color: var(--n7);
  line-height: 1.65; max-width: 680px;
  margin-top: 0;
  margin-bottom: 0;
}
.sec-header, .section-header {
  margin-bottom: var(--sp-10); /* 40px comfortable spacing between header/sub and card grid */
}
.sec-header-center, .section-header-center { text-align: center; }
.sec-header-center .sec-label, .section-header-center .sec-label { justify-content: center; }
.sec-header-center .sec-sub, .section-header-center .section-sub { margin: 0 auto; }

/* ── CARD ────────────────────────────────────────────────── */
.card {
  background: var(--n0); border: 1px solid var(--n3);
  border-radius: var(--r12); padding: var(--sp-6);
  box-shadow: var(--s2);
  transition: box-shadow var(--norm) var(--ease), transform var(--norm) var(--ease), border-color var(--norm);
}
.card:hover { box-shadow: var(--s8); }
.card-lift:hover { transform: translateY(-4px); box-shadow: var(--s16); border-color: var(--n4); }

/* ── SOLUTION CARDS ──────────────────────────────────────── */
.sol-card {
  background: var(--n0); border: 1px solid var(--n3);
  border-radius: var(--r12); overflow: hidden;
  transition: box-shadow var(--norm) var(--ease), transform var(--norm) var(--ease), border-color var(--norm);
  cursor: pointer; display: flex; flex-direction: column;
}
.sol-card:hover {
  box-shadow: var(--s16); transform: translateY(-4px); border-color: rgba(59,31,224,.2);
}
.sol-thumb {
  height: 160px; overflow: hidden;
  background: linear-gradient(135deg, var(--at) 0%, #e8ecff 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; position: relative;
}
.sol-thumb-screen {
  width: 100%; height: 100%; object-fit: cover;
}
.sol-body { padding: var(--sp-5); flex: 1; display: flex; flex-direction: column; }
.sol-cat {
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--ap); margin-bottom: var(--sp-2);
}
.sol-status { margin-bottom: var(--sp-3); }
.sol-name { font-size: 17px; font-weight: 700; color: var(--n9); margin-bottom: 6px; }
.sol-desc { font-size: 13.5px; color: var(--n7); line-height: 1.6; flex: 1; margin-bottom: var(--sp-4); }
.sol-actions { display: flex; gap: var(--sp-2); margin-top: auto; }

/* Solution thumb gradients per category */
.thumb-business { background: linear-gradient(135deg, #EEF0FF, #dce0ff); }
.thumb-education { background: linear-gradient(135deg, #F1FAF1, #dcfce7); }
.thumb-health    { background: linear-gradient(135deg, #FFF5F5, #ffe4e4); }
.thumb-ai        { background: linear-gradient(135deg, #F0F4FF, #e0e9ff); }
.thumb-org       { background: linear-gradient(135deg, #FFF8EC, #ffecc4); }
.thumb-logistics { background: linear-gradient(135deg, #F0FFFC, #ccfbf1); }

/* ── UNIFIED SOLUTION CARD (.card-sol) ─────────────────── */
.card-sol {
  background: var(--n0);
  border: 1px solid var(--n3);
  border-radius: var(--r12);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow var(--norm) var(--ease), transform var(--norm) var(--ease), border-color var(--norm);
  box-shadow: var(--s2);
}
.card-sol:hover {
  box-shadow: var(--s16);
  transform: translateY(-4px);
  border-color: rgba(59, 31, 224, 0.25);
}
.card-sol-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--sp-3);
  gap: 8px;
}
.card-sol-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--n9);
  line-height: 1.25;
  margin-bottom: var(--sp-2);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-sol-desc {
  font-size: 13.5px;
  color: var(--n7);
  line-height: 1.55;
  margin-bottom: var(--sp-4);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 42px;
}
.card-sol-features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--sp-4) 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 72px;
}
.card-sol-feature-item {
  font-size: 12.5px;
  color: var(--n8);
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.4;
}
.card-sol-feature-item .bullet {
  color: var(--ap);
  font-size: 10px;
  flex-shrink: 0;
  margin-top: 2px;
}
.card-sol-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: var(--sp-5);
  min-height: 26px;
}
.card-sol-actions {
  display: flex;
  gap: var(--sp-2);
  margin-top: auto;
}
.card-sol-actions .btn {
  flex: 1;
  justify-content: center;
  white-space: nowrap;
}

/* ── HERO BANNER & BROWSER MOCKUP (DETAIL PAGE) ────────── */
.detail-hero-banner-wrap {
  margin-top: var(--sp-8);
  width: 100%;
}
.detail-hero-banner-card {
  background: var(--n9);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r16);
  overflow: hidden;
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.5);
  position: relative;
}

/* ── MODERN SHOWCASE CAROUSEL / SLIDER ───────────────────── */
.showcase-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  user-select: none;
}
.showcase-track {
  display: flex;
  transition: transform 450ms cubic-bezier(0.2, 0.8, 0.2, 1);
  width: 100%;
}
.showcase-slide {
  min-width: 100%;
  flex-shrink: 0;
  position: relative;
  background: #000;
}
.showcase-slide img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.showcase-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(13, 13, 20, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}
.showcase-nav-btn:hover {
  background: var(--ap);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5);
}
.showcase-nav-prev { left: 16px; }
.showcase-nav-next { right: 16px; }

.showcase-pagination {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
  background: rgba(13, 13, 20, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.showcase-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 250ms ease;
  border: none;
  padding: 0;
}
.showcase-dot.active {
  width: 22px;
  border-radius: 10px;
  background: var(--teal);
  box-shadow: 0 0 10px rgba(0, 212, 160, 0.5);
}

.showcase-counter-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  background: rgba(13, 13, 20, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.showcase-caption-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 10;
  background: rgba(13, 13, 20, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  max-width: 60%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 640px) {
  .showcase-caption-badge { display: none; }
  .showcase-nav-btn { width: 36px; height: 36px; }
  .showcase-nav-prev { left: 8px; }
  .showcase-nav-next { right: 8px; }
}

/* ── FEATURE CARDS ───────────────────────────────────────── */
.feature-card {
  display: flex; flex-direction: column; gap: var(--sp-3);
  padding: var(--sp-6);
  border: 1px solid var(--n3); border-radius: var(--r12);
  background: var(--n0);
  transition: border-color var(--norm), box-shadow var(--norm);
}
.feature-card:hover { border-color: rgba(59,31,224,.25); box-shadow: var(--sb); }
.feature-icon {
  width: 44px; height: 44px; border-radius: var(--r8);
  background: var(--at); display: flex; align-items: center;
  justify-content: center; font-size: 20px;
}
.feature-num {
  font-size: 11px; font-weight: 800; color: var(--ap);
  letter-spacing: 1px; text-transform: uppercase;
}
.feature-title { font-size: 16px; font-weight: 700; color: var(--n9); }
.feature-body { font-size: 14px; color: var(--n7); line-height: 1.65; }

/* ── STEP CARDS (How It Works) ───────────────────────────── */
.step-row {
  display: flex; gap: var(--sp-8); align-items: flex-start;
  padding: var(--sp-8) 0; border-bottom: 1px solid var(--n3);
}
.step-row:last-child { border-bottom: none; }
.step-num-wrap { flex-shrink: 0; width: 52px; }
.step-num {
  width: 48px; height: 48px; border-radius: var(--r8);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800;
  background: var(--at); color: var(--ap);
  border: 2px solid rgba(59,31,224,.15);
}
.step-content { flex: 1; }
.step-title { font-size: 19px; font-weight: 700; color: var(--n9); margin-bottom: 6px; }
.step-body { font-size: 14.5px; color: var(--n7); line-height: 1.7; }

/* ── SERVICE ITEMS ───────────────────────────────────────── */
.svc-item {
  display: flex; align-items: flex-start; gap: var(--sp-4);
  padding: var(--sp-5); border-radius: var(--r8);
  border: 1px solid var(--n3); background: var(--n0);
  transition: border-color var(--norm), box-shadow var(--norm);
}
.svc-item:hover { border-color: rgba(59,31,224,.25); box-shadow: var(--s4); }
.svc-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: var(--r6); background: var(--at);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.svc-title { font-size: 15px; font-weight: 700; color: var(--n9); margin-bottom: 3px; }
.svc-body { font-size: 13px; color: var(--n7); line-height: 1.6; }

/* ── LAB CARDS ───────────────────────────────────────────── */
.lab-card {
  border: 1px solid var(--n3); border-radius: var(--r12);
  overflow: hidden; background: var(--n0);
  transition: all var(--norm) var(--ease);
}
.lab-card:hover { transform: translateY(-4px); box-shadow: var(--s16); border-color: rgba(59,31,224,.2); }
.lab-thumb {
  height: 140px; background: var(--n9);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.lab-thumb-inner {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; font-size: 36px;
}
.lab-body { padding: var(--sp-5); }
.lab-type { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--n6); margin-bottom: var(--sp-2); }
.lab-title { font-size: 16px; font-weight: 700; color: var(--n9); margin-bottom: 6px; }
.lab-desc { font-size: 13px; color: var(--n7); line-height: 1.6; margin-bottom: var(--sp-4); }
.lab-footer { display: flex; align-items: center; justify-content: space-between; }

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  padding-top: calc(var(--nav-h) + var(--sp-20));
  padding-bottom: var(--sp-20);
  background: var(--n0);
  position: relative; overflow: hidden;
}
.hero-dark {
  background: var(--n9); color: #fff;
}
.hero-gradient {
  background: var(--ag); color: #fff;
}

.hero-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--ap); margin-bottom: var(--sp-4);
  display: flex; align-items: center; gap: 8px;
}
.hero-eyebrow::before {
  content: ''; width: 18px; height: 2px;
  background: var(--ag); border-radius: 2px;
}
.hero-dark .hero-eyebrow { color: rgba(255,255,255,.7); }
.hero-dark .hero-eyebrow::before { background: rgba(255,255,255,.5); }
.hero-gradient .hero-eyebrow { color: rgba(255,255,255,.8); }

.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900; line-height: 1.08;
  letter-spacing: -1.5px; margin-bottom: var(--sp-6);
  color: var(--n9);
}
.hero-title .gr { background: var(--ag); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-dark .hero-title,
.hero-gradient .hero-title { color: #fff; }

.hero-sub {
  font-size: 18px; font-weight: 400; line-height: 1.7;
  color: var(--n7); max-width: 560px; margin-bottom: var(--sp-8);
}
.hero-dark .hero-sub { color: rgba(255,255,255,.75); }
.hero-gradient .hero-sub { color: rgba(255,255,255,.85); }

.hero-actions { display: flex; gap: var(--sp-3); flex-wrap: wrap; }

/* ── HOMEPAGE HERO VISUAL (UI mockup composition) ────────── */
.hero-split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-12); align-items: center; }
.hero-visual {
  position: relative; height: 480px;
}
.ui-frame {
  background: var(--n0); border-radius: var(--r12);
  border: 1px solid var(--n3); overflow: hidden;
  box-shadow: var(--s16);
  position: absolute;
}
.ui-frame-main {
  width: 85%; right: 0; top: 0; z-index: 2;
}
.ui-frame-float {
  width: 55%; left: 0; bottom: 0; z-index: 3;
  box-shadow: 0 12px 40px rgba(91,33,255,.2);
}
.ui-bar {
  height: 28px; background: var(--n2); border-bottom: 1px solid var(--n3);
  display: flex; align-items: center; padding: 0 10px; gap: 5px;
}
.ui-dot { width: 8px; height: 8px; border-radius: 50%; }
.ui-screen { padding: 14px; }
.ui-card-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 10px; }
.ui-stat {
  background: var(--n1); border: 1px solid var(--n3); border-radius: 6px;
  padding: 10px; text-align: center;
}
.ui-stat-val { font-size: 18px; font-weight: 800; color: var(--n9); }
.ui-stat-lbl { font-size: 9px; color: var(--n6); margin-top: 2px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.ui-chart {
  height: 80px; background: linear-gradient(135deg, var(--at), #e8ecff);
  border-radius: 6px; display: flex; align-items: flex-end;
  padding: 8px 10px; gap: 4px; overflow: hidden;
}
.ui-bar-chart {
  flex: 1; border-radius: 3px 3px 0 0;
  background: linear-gradient(to top, var(--ap), var(--ab));
  transition: height var(--norm);
}
.ui-table-row {
  display: flex; gap: 8px; align-items: center;
  padding: 7px 0; border-bottom: 1px solid var(--n3); font-size: 11px;
}
.ui-table-row:last-child { border: none; }
.ui-avatar {
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700; color: white; flex-shrink: 0;
}
.ui-tag { border-radius: 3px; padding: 2px 6px; font-size: 9px; font-weight: 700; }

/* ── FILTERS & CATEGORY PILLS ────────────────────────────── */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--sp-6);
}
.filter-pill, .filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 16px;
  border-radius: var(--rfull);
  font-family: var(--ff);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.1px;
  line-height: 1.2;
  border: 1.5px solid var(--n4);
  color: var(--n7);
  background: var(--n0);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  outline: none;
  transition: background var(--fast) var(--ease), border-color var(--fast) var(--ease), color var(--fast) var(--ease), box-shadow var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.filter-pill:hover, .filter-btn:hover {
  border-color: var(--ap);
  color: var(--ap);
  background: var(--at);
  transform: translateY(-1px);
}
.filter-pill.active, .filter-btn.active {
  background: var(--ap);
  color: #ffffff !important;
  border-color: var(--ap);
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(59, 31, 224, 0.32);
}
.filter-pill:active, .filter-btn:active {
  transform: scale(0.97);
}
.filter-pill:focus-visible, .filter-btn:focus-visible {
  box-shadow: 0 0 0 2px var(--n0), 0 0 0 4px var(--ap);
}

/* Search */
.search-wrap { position: relative; margin-bottom: var(--sp-6); }
.search-input {
  width: 100%; padding: 11px 16px 11px 44px;
  border: 1.5px solid var(--n4); border-radius: var(--rfull);
  font-family: var(--ff); font-size: 14px; color: var(--n9);
  background: var(--n0); outline: none;
  transition: border-color var(--fast), box-shadow var(--fast);
}
.search-input:focus { border-color: var(--ap); box-shadow: 0 0 0 3px rgba(59,31,224,.08); }
.search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--n6); font-size: 18px; }

/* ── CTA BANNER ──────────────────────────────────────────── */
.cta-banner {
  background: var(--n9); border-radius: var(--r16);
  padding: var(--sp-16) var(--sp-12); text-align: center;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 320px; height: 320px; border-radius: 50%;
  background: rgba(59,31,224,.12);
}
.cta-banner::after {
  content: ''; position: absolute; bottom: -60px; left: -60px;
  width: 240px; height: 240px; border-radius: 50%;
  background: rgba(0,212,255,.08);
}
.cta-banner-title {
  font-size: clamp(28px, 4vw, 44px); font-weight: 900;
  line-height: 1.1; letter-spacing: -1px; color: #fff;
  margin-bottom: var(--sp-4); position: relative; z-index: 1;
}
.cta-banner-sub {
  font-size: 17px; color: rgba(255,255,255,.7);
  margin-bottom: var(--sp-8); max-width: 520px; margin-left: auto; margin-right: auto;
  line-height: 1.7; position: relative; z-index: 1;
}
.cta-banner-actions { position: relative; z-index: 1; display: flex; gap: var(--sp-3); justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ──────────────────────────────────────────────── */
.footer { background: var(--n9); color: rgba(255,255,255,.65); padding: var(--sp-16) 0 var(--sp-8); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-10);
  margin-bottom: var(--sp-12);
}
.footer-brand { display: flex; align-items: center; gap: var(--sp-2); margin-bottom: var(--sp-4); }
.footer-brand img { width: 28px; height: 28px; object-fit: contain; }
.footer-brand-name {
  font-size: 16px; font-weight: 800;
  color: #fff; letter-spacing: -.3px;
}
.footer-brand-name .gr {
  background: var(--ag);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-tagline { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,.45); line-height: 1.6; margin-bottom: var(--sp-4); }
.footer-desc { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,.6); margin-bottom: var(--sp-3); }

/* ── FOOTER BADGE (R-09 clean) ─────────────────────────── */
.badge-footer-b2b {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(0, 212, 255, 0.12);
  color: #00D4FF;
  border: 1px solid rgba(0, 212, 255, 0.35);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: var(--rfull);
}

.footer-col-title {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: rgba(255,255,255,.85); margin-bottom: var(--sp-4);
}
.footer-link {
  display: block; font-size: 13.5px; color: rgba(255,255,255,.6);
  padding: 4px 0; transition: color var(--fast);
}
.footer-link:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: var(--sp-6);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--sp-4);
}
.footer-copy { font-size: 12.5px; color: rgba(255,255,255,.45); }
.footer-socials { display: flex; gap: var(--sp-3); }
.footer-social {
  width: 36px; height: 36px; border-radius: var(--r6);
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.05);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.75);
  transition: all var(--fast);
}
.footer-social svg {
  width: 17px;
  height: 17px;
  transition: transform var(--fast);
}
/* X (Twitter) uses fill not stroke */
.footer-social svg[fill="currentColor"] { stroke: none; }
.footer-social:hover {
  background: rgba(0,212,255,.15);
  color: #00D4FF;
  border-color: rgba(0,212,255,.45);
  transform: translateY(-2px);
}
.footer-social:hover svg {
  transform: scale(1.1);
}

/* ── DEMO MODAL ──────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,.5); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: var(--sp-4); opacity: 0; visibility: hidden;
  transition: all var(--slow) var(--dec);
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  background: var(--n0); border-radius: var(--r16);
  width: 100%; max-width: 560px;
  box-shadow: 0 24px 80px rgba(0,0,0,.25);
  transform: scale(.95) translateY(12px);
  transition: transform var(--slow) var(--dec);
  max-height: 90vh; overflow-y: auto;
}
.modal-overlay.open .modal { transform: scale(1) translateY(0); }
.modal-header {
  padding: var(--sp-6) var(--sp-6) 0;
  display: flex; align-items: flex-start; justify-content: space-between;
}
.modal-title { font-size: 20px; font-weight: 800; color: var(--n9); }
.modal-sub { font-size: 13.5px; color: var(--n7); margin-top: 4px; }
.modal-close {
  width: 32px; height: 32px; border-radius: var(--r6);
  border: 1px solid var(--n3); background: var(--n1);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--n7); flex-shrink: 0;
  transition: all var(--fast);
}
.modal-close:hover { background: var(--n2); color: var(--n9); }
.modal-body { padding: var(--sp-5) var(--sp-6); }
.modal-footer { padding: var(--sp-4) var(--sp-6) var(--sp-6); border-top: 1px solid var(--n3); }

/* ── FORM ────────────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: var(--sp-4); }
.form-label { font-size: 13px; font-weight: 600; color: var(--n9); }
.form-input, .form-select, .form-textarea {
  font-family: var(--ff); font-size: 14px; color: var(--n9);
  background: var(--n0); border: 1.5px solid var(--n4);
  border-radius: var(--r6); padding: 9px 13px;
  outline: none; width: 100%;
  transition: border-color var(--fast), box-shadow var(--fast);
}
.form-input:hover, .form-select:hover { border-color: var(--n5); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--ap); border-bottom-width: 2px;
  box-shadow: 0 0 0 3px rgba(59,31,224,.06);
}
.form-textarea { resize: vertical; min-height: 100px; }
.form-hint { font-size: 12px; color: var(--n6); }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }

/* ── CAPABILITY GRID ─────────────────────────────────────── */
.cap-item {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-4); border-radius: var(--r8);
  border: 1px solid var(--n3); background: var(--n0);
  transition: border-color var(--fast), background var(--fast);
}
.cap-item:hover { border-color: rgba(59,31,224,.2); background: var(--at); }
.cap-icon { font-size: 24px; }
.cap-text { font-size: 14px; font-weight: 600; color: var(--n9); }

/* ── PROCESS STEPS (horizontal timeline) ─────────────────── */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-1); position: relative; }
.process-grid::before {
  content: ''; position: absolute; top: 24px; left: 10%; right: 10%;
  height: 2px; background: linear-gradient(90deg, var(--ap), var(--ac));
  z-index: 0;
}
.process-item { display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; z-index: 1; }
.process-dot {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--n0); border: 2px solid var(--n4);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; color: var(--n7);
  margin-bottom: var(--sp-4); position: relative;
  transition: all var(--norm);
}
.process-item:hover .process-dot,
.process-dot.active {
  background: var(--ap); color: #fff; border-color: var(--ap);
  box-shadow: var(--sb);
}
.process-label { font-size: 14px; font-weight: 700; color: var(--n9); margin-bottom: 4px; }
.process-sub { font-size: 12.5px; color: var(--n6); line-height: 1.5; }

/* ── WHY CARDS ───────────────────────────────────────────── */
.why-card {
  padding: var(--sp-6); border-left: 3px solid var(--ap);
  background: var(--n0); border-radius: 0 var(--r8) var(--r8) 0;
  transition: box-shadow var(--norm), background var(--norm);
  border-top: 1px solid var(--n3); border-right: 1px solid var(--n3); border-bottom: 1px solid var(--n3);
}
.why-card:hover { background: var(--at); box-shadow: var(--sb); }
.why-num { font-size: 11px; font-weight: 800; color: var(--ap); letter-spacing: 1px; margin-bottom: var(--sp-3); }
.why-title { font-size: 17px; font-weight: 700; color: var(--n9); margin-bottom: 6px; }
.why-body { font-size: 14px; color: var(--n7); line-height: 1.65; }

/* ── ABOUT ───────────────────────────────────────────────── */
.value-card {
  padding: var(--sp-5); border: 1px solid var(--n3); border-radius: var(--r8);
  background: var(--n0);
}
.value-icon { font-size: 24px; margin-bottom: var(--sp-3); }
.value-title { font-size: 15px; font-weight: 700; color: var(--n9); margin-bottom: 4px; }
.value-body { font-size: 13.5px; color: var(--n7); line-height: 1.6; }

/* ── DIVIDER ─────────────────────────────────────────────── */
.divider { height: 1px; background: var(--n3); margin: var(--sp-10) 0; }

/* ── HELPERS ─────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-gradient { background: var(--ag); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.mt-auto { margin-top: auto; }
.w-full { width: 100%; }
.gap-2 { gap: var(--sp-2); }
.gap-3 { gap: var(--sp-3); }
.mb-2 { margin-bottom: var(--sp-2); }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-6 { margin-bottom: var(--sp-6); }
.mb-8 { margin-bottom: var(--sp-8); }

/* ── SCROLL ANIMATIONS ───────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 400ms var(--dec), transform 400ms var(--dec);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── PAGE HEADER (inner pages) ───────────────────────────── */
.page-hero {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 80px;
  background: var(--n9); color: #fff;
  position: relative;
}
.page-hero.has-hero-bg {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
.page-hero.has-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 13, 20, 0.95) 0%, rgba(13, 13, 20, 0.86) 45%, rgba(13, 13, 20, 0.68) 100%),
              linear-gradient(to bottom, rgba(13, 13, 20, 0.5) 0%, transparent 35%, rgba(13, 13, 20, 0.98) 100%);
  pointer-events: none;
  z-index: 1;
}
.page-hero.has-hero-bg > .container {
  position: relative;
  z-index: 2;
}
.page-hero-sm {
  padding-top: calc(var(--nav-h) + 48px);
  padding-bottom: 48px;
}

/* ── BREADCRUMB ──────────────────────────────────────────── */
.breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: rgba(255,255,255,.5);
  margin-bottom: var(--sp-5);
}
.breadcrumb a { color: rgba(255,255,255,.6); transition: color var(--fast); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { color: rgba(255,255,255,.3); }

/* ── SOLUTION DETAIL ─────────────────────────────────────── */
.detail-layout { display: grid; grid-template-columns: 1fr 340px; gap: var(--sp-12); align-items: start; }
.detail-sticky { position: sticky; top: calc(var(--nav-h) + 24px); }
.detail-cta-card {
  background: var(--n0); border: 1px solid var(--n3);
  border-radius: var(--r12); padding: var(--sp-6); box-shadow: var(--s8);
}
.detail-section { margin-bottom: var(--sp-10); }
.detail-section-title { font-size: 18px; font-weight: 700; color: var(--n9); margin-bottom: var(--sp-4); padding-bottom: var(--sp-3); border-bottom: 1px solid var(--n3); }
.feature-list { display: flex; flex-direction: column; gap: var(--sp-2); }
.feature-list-item {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-3); border-radius: var(--r6);
  border: 1px solid var(--n3); background: var(--n1);
  font-size: 14px; font-weight: 500; color: var(--n8);
}
.feature-list-item::before { content: '✦'; color: var(--ap); font-size: 10px; flex-shrink: 0; }
.screenshot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.screenshot-ph {
  height: 160px; background: var(--n2); border-radius: var(--r8);
  border: 1px solid var(--n4); display: flex; align-items: center;
  justify-content: center; font-size: 30px; color: var(--n5);
}
.tech-stack { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.tech-tag { padding: 5px 12px; border-radius: var(--rfull); background: var(--n2); color: var(--n8); font-size: 12.5px; font-weight: 600; border: 1px solid var(--n4); }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-split { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-sticky { position: static; }
  .contact-layout { grid-template-columns: 1fr !important; }
  .capability-grid { grid-template-columns: repeat(3, 1fr); }
  .split-layout { grid-template-columns: 1fr; gap: var(--sp-8); }
}

@media (max-width: 768px) {
  /* Layout & Containers */
  .container { padding: 0 var(--sp-4); width: 100%; box-sizing: border-box; }
  .section { padding: var(--sp-10) 0; }
  .section-sm { padding: var(--sp-8) 0; }
  .section-lg { padding: 50px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

  /* Navbar */
  .nav-inner { padding: 0 var(--sp-4); }
  .nav-logo { font-size: 15px; gap: 7px; }
  .nav-logo img { width: 24px; height: 24px; }
  .nav-brand-text { font-size: 15px; }
  .nav-links, .nav-actions .btn { display: none !important; }
  .nav-actions { margin-left: auto; gap: 0; }
  .nav-burger { display: flex; margin-left: 8px; padding: 6px 2px; }

  /* Hero */
  .hero { padding-top: calc(var(--nav-h) + 20px); padding-bottom: 32px; overflow: hidden; }
  .hero-eyebrow { font-size: 11px; letter-spacing: 1px; flex-wrap: wrap; }
  .hero-title { font-size: clamp(24px, 7.5vw, 36px); letter-spacing: -0.5px; line-height: 1.15; word-break: break-word; overflow-wrap: break-word; }
  .hero-sub { font-size: 14.5px; margin-bottom: var(--sp-6); line-height: 1.6; }
  .hero-actions { flex-direction: column; width: 100%; gap: 10px; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* Capability section */
  .capability-grid { grid-template-columns: repeat(2, 1fr) !important; gap: var(--sp-2) !important; }
  .cap-item { padding: var(--sp-3) var(--sp-2); min-width: 0; }
  .cap-text { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  /* Split layout & Lab */
  .split-layout { grid-template-columns: 1fr !important; gap: var(--sp-8) !important; }
  .lab-grid-preview { grid-template-columns: 1fr 1fr !important; }

  /* Process steps */
  .process-grid { grid-template-columns: 1fr !important; gap: var(--sp-6) !important; }
  .process-grid::before { display: none !important; }
  .why-card { border-radius: var(--r8); }

  /* Inner Page Hero */
  .page-hero { padding-top: calc(var(--nav-h) + 28px); padding-bottom: 36px; }
  .page-hero-sm { padding-top: calc(var(--nav-h) + 24px); padding-bottom: 28px; }

  /* Filter pills horizontal swipeable on mobile */
  .filter-bar {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    gap: 8px;
    scrollbar-width: thin;
    margin-bottom: var(--sp-4);
  }
  .filter-pill, .filter-btn {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    padding: 7px 14px;
    font-size: 13px;
  }

  /* Cards & Forms */
  .card { padding: var(--sp-5); }
  .form-grid-2 { grid-template-columns: 1fr; }
  .form-input, .form-select, .form-textarea { font-size: 16px; } /* Prevents iOS auto-zoom */

  /* Contact layout */
  .contact-layout { grid-template-columns: 1fr !important; gap: var(--sp-6) !important; }

  /* Snapshot stat card (about.html) */
  .snapshot-grid { grid-template-columns: repeat(2, 1fr) !important; gap: var(--sp-4) !important; }

  /* Pos terminal simulated mockup (solutions/arvion-pos.html) */
  .pos-mockup-screen { grid-template-columns: 1fr !important; }
  .pos-mockup-sidebar { border-left: none !important; border-top: 1px solid var(--n3); padding-left: 0 !important; padding-top: var(--sp-4) !important; }
  .pos-mockup-catalog { grid-template-columns: repeat(2, 1fr) !important; }

  /* How it works steps */
  .step-card { flex-direction: column !important; gap: var(--sp-3) !important; }

  /* CTA Banner */
  .cta-banner { padding: var(--sp-10) var(--sp-5); }
  .cta-banner-title { font-size: 26px; }
  .cta-banner-sub { font-size: 15px; }
  .cta-banner-actions { flex-direction: column; width: 100%; gap: 10px; }
  .cta-banner-actions .btn { width: 100%; justify-content: center; }

  /* Footer */
  .footer { padding: var(--sp-10) 0 var(--sp-6); }
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-8); margin-bottom: var(--sp-8); }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: var(--sp-4); }

  /* Modal */
  .modal { margin: var(--sp-3); max-height: 92vh; }
  .modal-header { padding: var(--sp-5) var(--sp-5) 0; }
  .modal-body { padding: var(--sp-4) var(--sp-5); }
  .modal-footer { padding: var(--sp-3) var(--sp-5) var(--sp-5); }

  /* Mobile Touch Target Standards (R-03) */
  .btn, .btn-sm, .btn-outline, .btn-primary {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .snapshot-grid { grid-template-columns: 1fr !important; }
  .pos-mockup-catalog { grid-template-columns: 1fr !important; }
  .capability-grid { grid-template-columns: 1fr !important; }
  .lab-grid-preview { grid-template-columns: 1fr !important; }
  .hero-title { font-size: 26px !important; }
}
