/* =============================================================
   OSI Solutions — Global Stylesheet
   ============================================================= */

:root {
  --bg-deep:        #050B17;
  --bg:             #0A1628;
  --bg-elev:        #0F1E36;
  --surface:        rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --border:         rgba(255, 255, 255, 0.08);
  --border-strong:  rgba(255, 255, 255, 0.18);

  --text:           #E6EDF7;
  --text-mute:      #9CA9BD;
  --text-dim:       #6C7A92;

  --brand:          #00D4FF;
  --brand-2:        #7C3AED;
  --brand-3:        #4F46E5;
  --brand-glow:     rgba(0, 212, 255, 0.45);
  --gradient:       linear-gradient(135deg, #00D4FF 0%, #4F46E5 50%, #7C3AED 100%);
  --gradient-soft:  linear-gradient(135deg, rgba(0,212,255,0.15) 0%, rgba(124,58,237,0.15) 100%);
  --gradient-text:  linear-gradient(135deg, #00D4FF 0%, #7C3AED 100%);

  --success:        #10B981;
  --warning:        #F59E0B;

  --radius-sm:      8px;
  --radius:         16px;
  --radius-lg:      24px;
  --radius-xl:      32px;

  --shadow-sm:      0 2px 8px rgba(0,0,0,0.2);
  --shadow:         0 12px 40px rgba(0,0,0,0.35);
  --shadow-glow:    0 0 60px rgba(0, 212, 255, 0.25);

  --container:      1200px;
  --header-h:       72px;

  --ease:           cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:       cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  position: relative;
}

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

a { color: inherit; text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--brand); }

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

::selection { background: var(--brand); color: var(--bg-deep); }

/* ---------- Background ---------- */
.bg-stage {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(124, 58, 237, 0.25), transparent 60%),
    radial-gradient(ellipse 60% 50% at 100% 30%, rgba(0, 212, 255, 0.18), transparent 60%),
    radial-gradient(ellipse 80% 60% at 0% 70%, rgba(79, 70, 229, 0.18), transparent 60%),
    var(--bg-deep);
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 80%);
  pointer-events: none;
}

#particle-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.55;
}

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

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

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background 0.3s var(--ease), backdrop-filter 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(5, 11, 23, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom-color: var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  transition: transform 0.3s var(--ease);
  text-decoration: none;
}

.brand:hover { transform: translateY(-1px); }

.brand-logo {
  height: 46px;
  width: auto;
  display: block;
  filter: invert(1) brightness(2) drop-shadow(0 0 14px rgba(0,212,255,0.45));
  transition: filter 0.4s var(--ease);
  user-select: none;
  -webkit-user-drag: none;
}

.brand:hover .brand-logo {
  filter: invert(1) brightness(2) drop-shadow(0 0 20px rgba(0,212,255,0.85)) drop-shadow(0 0 8px rgba(124,58,237,0.55));
}

/* Footer brand: larger, breathes more */
.site-footer .brand-logo { height: 56px; }

@media (max-width: 720px) {
  .brand-logo { height: 38px; }
  .site-footer .brand-logo { height: 44px; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mute);
  position: relative;
  padding: 8px 0;
}

.nav-links a:hover { color: var(--text); }

.nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 26px 56px;
  margin-left: 16px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  background: var(--gradient);
  color: #fff !important;
  box-shadow: 0 10px 36px rgba(0,212,255,0.45), inset 0 1px 0 rgba(255,255,255,0.3);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  white-space: nowrap;
  line-height: 1;
  text-align: center;
}

.nav-cta .nav-cta-text {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
}

.nav-cta .arrow { display: inline-flex; align-items: center; line-height: 1; font-size: 1.1em; }

.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 48px rgba(0,212,255,0.65), inset 0 1px 0 rgba(255,255,255,0.4); }

/* Header gets taller to host the larger CTA */
.site-header { height: 96px; }
:root { --header-h: 96px; }

@media (max-width: 720px) {
  .nav-cta { padding: 16px 32px; font-size: 15px; margin-left: 0; }
  :root { --header-h: 72px; }
  .site-header { height: 72px; }
}

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--text);
  margin: 4px auto;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 8px 28px rgba(0,212,255,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(0,212,255,0.5);
  color: #fff;
}

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: var(--surface-strong);
  border-color: var(--brand);
  color: var(--brand);
}

.btn .arrow {
  display: inline-block;
  transition: transform 0.25s var(--ease);
}
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 60px) 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  pointer-events: none;
  animation: float 12s ease-in-out infinite;
}
.hero-orb.o1 { width: 480px; height: 480px; background: #00D4FF; top: -120px; right: -120px; }
.hero-orb.o2 { width: 380px; height: 380px; background: #7C3AED; bottom: -120px; left: -80px; animation-delay: -4s; }
.hero-orb.o3 { width: 280px; height: 280px; background: #4F46E5; top: 40%; left: 50%; animation-delay: -8s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.05); }
  66% { transform: translate(-20px, 30px) scale(0.95); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mute);
  backdrop-filter: blur(8px);
  margin-bottom: 24px;
  animation: rise 0.8s var(--ease-out) both;
}

.hero-eyebrow .pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
  70%  { box-shadow: 0 0 0 12px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin-bottom: 24px;
  animation: rise 0.9s 0.1s var(--ease-out) both;
}

.hero h1 .grad {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}

.hero p.lead {
  font-size: 1.15rem;
  color: var(--text-mute);
  max-width: 540px;
  margin-bottom: 36px;
  animation: rise 1s 0.2s var(--ease-out) both;
}

.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  animation: rise 1.1s 0.3s var(--ease-out) both;
}

.hero-stats {
  display: flex; gap: 40px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  animation: rise 1.2s 0.4s var(--ease-out) both;
}

.hero-stat .num {
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero-stat .lbl {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 6px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Hero Visual (animated dashboard) ---------- */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  animation: rise 1s 0.4s var(--ease-out) both;
}

.orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
  animation: spin 40s linear infinite;
}
.orbit.r2 { inset: 12%; animation-duration: 30s; animation-direction: reverse; }
.orbit.r3 { inset: 24%; animation-duration: 22s; }

@keyframes spin {
  to { transform: rotate(360deg); }
}

.orbit::before, .orbit::after {
  content: "";
  position: absolute;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 20px var(--brand);
  top: -6px; left: 50%;
  transform: translateX(-50%);
}
.orbit.r2::after { background: var(--brand-2); box-shadow: 0 0 20px var(--brand-2); top: auto; bottom: -6px; }
.orbit.r3::after { background: var(--brand-3); box-shadow: 0 0 20px var(--brand-3); top: 50%; left: -6px; }

.hero-core {
  position: absolute;
  inset: 36%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(0,212,255,0.5), rgba(124,58,237,0.3));
  display: grid;
  place-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  font-size: 1.6rem;
  color: #fff;
  box-shadow: 0 0 80px rgba(0,212,255,0.4), inset 0 2px 20px rgba(255,255,255,0.2);
  animation: breathe 4s ease-in-out infinite;
}
.hero-core::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--gradient);
  z-index: -1;
  filter: blur(20px);
  opacity: 0.6;
}

@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

.float-card {
  position: absolute;
  background: rgba(15, 30, 54, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow);
  animation: floatY 6s ease-in-out infinite;
  white-space: nowrap;
}
.float-card .ico {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--gradient-soft);
  display: grid; place-items: center;
  color: var(--brand);
}
.float-card .ico svg { width: 18px; height: 18px; }
.float-card .label { color: var(--text-dim); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; }
.float-card .value { color: var(--text); font-weight: 600; font-size: 14px; }

.fc-1 { top: 8%; left: -8%; animation-delay: 0s; }
.fc-2 { top: 30%; right: -12%; animation-delay: -2s; }
.fc-3 { bottom: 14%; left: -4%; animation-delay: -4s; }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---------- Section Headings ---------- */
.section-head {
  text-align: center;
  margin-bottom: 64px;
}

.section-eyebrow {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-title .grad {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-sub {
  color: var(--text-mute);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto;
}

/* ---------- Service Cards ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  position: relative;
  padding: 32px 28px;
  background: var(--surface);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.35s var(--ease);
  overflow: hidden;
  isolation: isolate;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-soft);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  z-index: -1;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: var(--gradient);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-6px);
  background: var(--surface-strong);
}
.service-card:hover::before { opacity: 1; }
.service-card:hover::after  { opacity: 1; }

.service-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--gradient);
  display: grid; place-items: center;
  margin-bottom: 24px;
  box-shadow: 0 8px 28px rgba(0,212,255,0.3);
  position: relative;
}
.service-icon svg { width: 26px; height: 26px; color: #fff; }

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.service-card p {
  color: var(--text-mute);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.service-card ul {
  list-style: none;
  margin-top: 16px;
}

.service-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-mute);
  padding: 6px 0;
}
.service-card li::before {
  content: "";
  width: 16px; height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  border-radius: 4px;
  background: var(--gradient-soft);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300D4FF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  margin-top: 20px;
}
.service-link:hover { color: var(--brand); }
.service-link svg { width: 14px; height: 14px; transition: transform 0.2s var(--ease); }
.service-card:hover .service-link svg { transform: translateX(4px); }

/* ---------- Feature blocks (alternating) ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 120px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse .feature-text { order: 2; }

.feature-text h3 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  line-height: 1.2;
}

.feature-text p {
  color: var(--text-mute);
  font-size: 1.02rem;
  margin-bottom: 16px;
}

.feature-text .checks {
  list-style: none;
  margin-top: 24px;
}
.feature-text .checks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.98rem;
  color: var(--text);
}
.feature-text .checks li svg {
  flex-shrink: 0;
  margin-top: 4px;
  width: 18px; height: 18px;
  color: var(--brand);
}

.feature-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 32px;
  overflow: hidden;
}

/* ---------- Values Cards ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.value-card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.value-card:hover {
  border-color: var(--brand);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,212,255,0.12);
}

.value-card .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--brand);
  margin-bottom: 12px;
  letter-spacing: 0.1em;
}
.value-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.value-card p {
  font-size: 0.88rem;
  color: var(--text-mute);
}

/* ---------- Partner Cards ---------- */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.partner-card {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}

.partner-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  background: var(--surface-strong);
}

.partner-logo {
  width: 80px; height: 80px;
  margin: 0 auto 20px;
  border-radius: 20px;
  background: var(--gradient);
  display: grid; place-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  color: #fff;
  font-size: 1.4rem;
  box-shadow: 0 8px 30px rgba(0,212,255,0.25);
  position: relative;
}
.partner-logo::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  background: var(--gradient);
  z-index: -1;
  filter: blur(15px);
  opacity: 0.4;
}

.partner-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.partner-card .role {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--brand);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.partner-card p {
  color: var(--text-mute);
  font-size: 0.92rem;
}

/* ---------- Distributor strip ---------- */
.distributors {
  margin-top: 64px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
}
.distributors .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 24px;
}
.distributors .logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
}
.distributors .logos span {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-mute);
  transition: color 0.2s var(--ease);
  letter-spacing: -0.01em;
}
.distributors .logos span:hover { color: var(--brand); }

/* ---------- Process Steps ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}
.process::before {
  content: "";
  position: absolute;
  top: 28px; left: 8%; right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-2) 100%);
  opacity: 0.2;
  z-index: 0;
}

.step {
  position: relative;
  text-align: center;
  z-index: 1;
}

.step-num {
  width: 56px; height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--border-strong);
  display: grid; place-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--brand);
  position: relative;
  transition: all 0.3s var(--ease);
}

.step:hover .step-num {
  border-color: var(--brand);
  box-shadow: 0 0 0 6px rgba(0,212,255,0.12);
  transform: scale(1.05);
}

.step h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.step p {
  font-size: 0.88rem;
  color: var(--text-mute);
  padding: 0 12px;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  position: relative;
  padding: 64px 48px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(0,212,255,0.08), rgba(124,58,237,0.08));
  border: 1px solid var(--border-strong);
  overflow: hidden;
  text-align: center;
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: -50%; left: -10%;
  width: 60%; height: 200%;
  background: radial-gradient(ellipse, rgba(0,212,255,0.2), transparent 60%);
  animation: drift 12s ease-in-out infinite;
}
.cta-banner::after {
  content: "";
  position: absolute;
  bottom: -50%; right: -10%;
  width: 60%; height: 200%;
  background: radial-gradient(ellipse, rgba(124,58,237,0.2), transparent 60%);
  animation: drift 14s ease-in-out infinite reverse;
}

@keyframes drift {
  0%, 100% { transform: translate(0,0); }
  50% { transform: translate(40px, 20px); }
}

.cta-banner > * { position: relative; z-index: 1; }

.cta-banner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.cta-banner p {
  color: var(--text-mute);
  max-width: 540px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
}
.cta-banner .actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 80px 0 32px;
  border-top: 1px solid var(--border);
  margin-top: 80px;
  background: rgba(5, 11, 23, 0.5);
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand p {
  color: var(--text-mute);
  font-size: 0.95rem;
  margin: 16px 0 24px;
  max-width: 320px;
}

.footer-col h5 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 18px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: var(--text-mute);
  font-size: 14px;
  transition: color 0.2s var(--ease);
}
.footer-col a:hover { color: var(--brand); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-dim);
}

.footer-bottom .socials {
  display: flex; gap: 12px;
}
.footer-bottom .socials a {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid; place-items: center;
  color: var(--text-mute);
  transition: all 0.2s var(--ease);
}
.footer-bottom .socials a:hover {
  background: var(--gradient);
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
}
.footer-bottom .socials svg { width: 16px; height: 16px; }

/* ---------- Page Hero (interior pages) ---------- */
.page-hero {
  padding: calc(var(--header-h) + 80px) 0 60px;
  position: relative;
  overflow: hidden;
}

.page-hero .container { position: relative; z-index: 2; max-width: 800px; text-align: center; }

.page-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}
.page-hero h1 .grad {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-hero p {
  font-size: 1.15rem;
  color: var(--text-mute);
  max-width: 640px;
  margin: 0 auto;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 20px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.05em;
}
.breadcrumb a { color: var(--text-mute); }
.breadcrumb a:hover { color: var(--brand); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

/* On desktop, push the form down so its top aligns with the first contact card */
@media (min-width: 961px) {
  .contact-form { margin-top: 178px; }
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.contact-info > p {
  color: var(--text-mute);
  margin-bottom: 32px;
}

.contact-list {
  list-style: none;
  display: grid;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.25s var(--ease);
}
.contact-item:hover {
  border-color: var(--brand);
  background: var(--surface-strong);
}

.contact-item .ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--gradient-soft);
  display: grid; place-items: center;
  flex-shrink: 0;
  color: var(--brand);
}
.contact-item .ico svg { width: 20px; height: 20px; }

.contact-item .label {
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.contact-item .value {
  color: var(--text);
  font-weight: 500;
  font-size: 0.98rem;
}
.contact-item .value a { color: var(--text); }
.contact-item .value a:hover { color: var(--brand); }

.contact-form {
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mute);
  margin-bottom: 8px;
}
.form-group label .req { color: var(--brand); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(5, 11, 23, 0.5);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.form-group select { cursor: pointer; }
.form-group textarea { resize: vertical; min-height: 120px; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(0,212,255,0.12);
}

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

.contact-form .btn { width: 100%; margin-top: 8px; }

.form-success {
  display: none;
  padding: 16px;
  border-radius: 10px;
  font-size: 14px;
  margin-top: 16px;
  border: 1px solid;
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--success);
  line-height: 1.5;
}
.form-success.show { display: block; }
.form-success.error {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: #F87171;
}

/* Honeypot — hidden from users but reachable to bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Submit button loading state */
.contact-form .btn[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
}
.contact-form .btn .spinner {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  animation: spin-loader 0.8s linear infinite;
  display: inline-block;
}
@keyframes spin-loader {
  to { transform: rotate(360deg); }
}

/* ---------- FAQ ---------- */
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s var(--ease);
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-item[open] { border-color: var(--brand); }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "";
  width: 18px; height: 18px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300D4FF' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><line x1='12' y1='5' x2='12' y2='19'/><line x1='5' y1='12' x2='19' y2='12'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item .answer {
  padding: 0 24px 24px;
  color: var(--text-mute);
  font-size: 0.96rem;
}

/* ---------- Scroll-to-top button ---------- */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 10px 30px rgba(0,212,255,0.35), inset 0 1px 0 rgba(255,255,255,0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease-out), box-shadow 0.25s var(--ease), visibility 0.35s;
  z-index: 90;
  isolation: isolate;
}

.scroll-top::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--gradient);
  z-index: -1;
  filter: blur(14px);
  opacity: 0.5;
  transition: opacity 0.25s var(--ease);
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.scroll-top:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 16px 40px rgba(0,212,255,0.55), inset 0 1px 0 rgba(255,255,255,0.4);
}
.scroll-top:hover::before { opacity: 0.85; }

.scroll-top svg {
  width: 22px;
  height: 22px;
  transition: transform 0.25s var(--ease);
}
.scroll-top:hover svg { transform: translateY(-2px); }

@media (max-width: 720px) {
  .scroll-top { bottom: 20px; right: 20px; width: 46px; height: 46px; }
}

/* ---------- Animations on scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
[data-reveal].in {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal][data-delay="1"] { transition-delay: 0.1s; }
[data-reveal][data-delay="2"] { transition-delay: 0.2s; }
[data-reveal][data-delay="3"] { transition-delay: 0.3s; }
[data-reveal][data-delay="4"] { transition-delay: 0.4s; }

/* ---------- Service detail layout ---------- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 96px;
}
.service-detail:last-child { margin-bottom: 0; }
.service-detail.flip .sd-text { order: 2; }

.sd-icon {
  display: inline-flex;
  width: 64px; height: 64px;
  border-radius: 16px;
  background: var(--gradient);
  align-items: center; justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 8px 28px rgba(0,212,255,0.3);
}
.sd-icon svg { width: 30px; height: 30px; color: #fff; }

.sd-text h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.15;
}
.sd-text > p {
  color: var(--text-mute);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.sd-features {
  list-style: none;
  display: grid;
  gap: 12px;
}
.sd-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.95rem;
}
.sd-features li svg {
  flex-shrink: 0;
  width: 18px; height: 18px;
  color: var(--brand);
  margin-top: 3px;
}

.sd-visual {
  aspect-ratio: 1 / 1;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.sd-visual .glyph {
  width: 80%;
  height: 80%;
  display: grid;
  place-items: center;
  position: relative;
}

/* ---------- Blob shapes for visuals ---------- */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  pointer-events: none;
}

/* ---------- Code window ---------- */
.code-window {
  background: rgba(5, 11, 23, 0.85);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  box-shadow: var(--shadow);
  width: 100%;
}
.code-window .bar {
  display: flex; gap: 6px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}
.code-window .bar span {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--text-dim);
  opacity: 0.5;
}
.code-window .bar span:nth-child(1) { background: #ff5f57; opacity: 0.8; }
.code-window .bar span:nth-child(2) { background: #febc2e; opacity: 0.8; }
.code-window .bar span:nth-child(3) { background: #28c840; opacity: 0.8; }
.code-window .body {
  padding: 18px 20px;
  color: var(--text-mute);
  line-height: 1.7;
}
.code-window .kw  { color: var(--brand-2); }
.code-window .fn  { color: var(--brand); }
.code-window .str { color: #34D399; }
.code-window .num { color: #F59E0B; }
.code-window .com { color: var(--text-dim); }

/* ---------- Document Compiler progress bars ---------- */
.dc-bar {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.4s var(--ease-out);
  transition-delay: var(--d, 0s);
}
[data-reveal].in .dc-bar { transform: scaleX(1); }

/* ---------- Microsoft 365 stack tiles ---------- */
.ms-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 8px;
  border-radius: 14px;
  min-height: 96px;
  text-align: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), filter 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.ms-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, transparent 50%);
  pointer-events: none;
}
.ms-tile:hover {
  transform: translateY(-4px) scale(1.02);
  filter: brightness(1.1);
}
.ms-tile-label {
  font-size: 10.5px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.01em;
  line-height: 1.15;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.ms-tile svg { filter: drop-shadow(0 1px 2px rgba(0,0,0,0.15)); }

@media (max-width: 720px) {
  .ms-tile { padding: 10px 6px; min-height: 80px; gap: 6px; }
  .ms-tile-label { font-size: 9.5px; }
  .ms-tile svg { width: 22px; height: 22px; }
}

/* ---------- Marquee logos ---------- */
.marquee {
  overflow: hidden;
  position: relative;
  padding: 24px 0;
  margin: 0 -24px;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  gap: 64px;
  animation: scroll 30s linear infinite;
  width: max-content;
}
.marquee-track span {
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--text-dim);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

@keyframes scroll {
  to { transform: translateX(-50%); }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 480px; margin: 0 auto; }
  .feature-row { grid-template-columns: 1fr; gap: 40px; margin-bottom: 80px; }
  .feature-row.reverse .feature-text { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .service-detail { grid-template-columns: 1fr; gap: 40px; }
  .service-detail.flip .sd-text { order: 0; }
  .process { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .process::before { display: none; }
}

@media (max-width: 720px) {
  /* ----- Layout fundamentals ----- */
  section { padding: 56px 0; }
  .container { padding: 0 20px; }

  /* ----- Header / nav ----- */
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: var(--header-h); left: 0; right: 0;
    flex-direction: column;
    background: rgba(5, 11, 23, 0.95);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    align-items: flex-start;
  }
  .nav-links.open .nav-cta { align-self: stretch; justify-content: center; }

  /* ----- Hero ----- */
  .hero { padding: calc(var(--header-h) + 32px) 0 56px; min-height: auto; }
  .hero h1 { font-size: 2.1rem; }
  .hero p.lead { font-size: 0.98rem; margin-bottom: 28px; }
  .hero-eyebrow { font-size: 12px; padding: 6px 14px; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1; min-width: 0; padding: 13px 18px; font-size: 14px; }
  .hero-stats { gap: 18px; flex-wrap: wrap; padding-top: 24px; margin-top: 36px; }
  .hero-stat { flex: 1; min-width: 28%; }
  .hero-stat .num { font-size: 1.35rem; }
  .hero-stat .lbl { font-size: 11px; }

  /* Hero visual + floating cards (prevent horizontal overflow) */
  .hero-visual { max-width: 280px; margin: 0 auto; }
  .hero-orb.o1 { width: 280px; height: 280px; top: -60px; right: -60px; }
  .hero-orb.o2 { width: 240px; height: 240px; bottom: -80px; left: -40px; }
  .hero-orb.o3 { width: 180px; height: 180px; }
  .hero-core { font-size: 1.2rem; }
  /* Floating decorative cards crowd at narrow widths — hide them */
  .float-card { display: none; }

  /* ----- Page hero (interior pages) ----- */
  .page-hero { padding: calc(var(--header-h) + 48px) 0 36px; }
  .page-hero h1 { font-size: 1.9rem; }
  .page-hero p { font-size: 1rem; }
  .breadcrumb { font-size: 11px; }

  /* ----- Section heads ----- */
  .section-head { margin-bottom: 40px; }
  .section-title { font-size: 1.55rem; }
  .section-sub { font-size: 0.96rem; }

  /* ----- Service cards ----- */
  .service-grid { gap: 16px; }
  .service-card { padding: 24px 22px; }
  .service-icon { width: 48px; height: 48px; margin-bottom: 18px; }
  .service-icon svg { width: 22px; height: 22px; }
  .service-card h3 { font-size: 1.1rem; }

  /* ----- Service detail ----- */
  .service-detail { gap: 32px; margin-bottom: 56px; }
  .sd-text h2 { font-size: 1.55rem; }
  .sd-text > p { font-size: 0.98rem; }
  .sd-icon { width: 52px; height: 52px; margin-bottom: 18px; }
  .sd-icon svg { width: 24px; height: 24px; }
  .sd-visual { padding: 24px; aspect-ratio: 1.1 / 1; }
  .sd-features li { font-size: 0.9rem; padding: 10px 14px; }

  /* ----- Feature rows ----- */
  .feature-row { margin-bottom: 56px; gap: 32px; }
  .feature-text h3 { font-size: 1.5rem; }
  .feature-visual { padding: 24px; aspect-ratio: auto; min-height: 280px; }
  .feature-text .checks li { font-size: 0.92rem; }

  /* Code window — prevent overflow with long lines */
  .code-window { font-size: 11px; max-width: 100%; }
  .code-window .body { padding: 14px 16px; overflow-x: auto; word-break: break-word; }

  /* ----- Process / steps ----- */
  .process { grid-template-columns: 1fr; gap: 24px; }
  .process::before { display: none; }
  .step-num { width: 48px; height: 48px; font-size: 1rem; margin-bottom: 14px; }

  /* ----- Values ----- */
  .values-grid { grid-template-columns: 1fr; gap: 12px; }
  .value-card { padding: 20px; }

  /* ----- Partner cards ----- */
  .partner-grid { gap: 16px; }
  .partner-card { padding: 24px; }
  .partner-logo { width: 64px; height: 64px; font-size: 1.2rem; margin-bottom: 16px; }

  /* Distributor strip */
  .distributors { padding: 24px 18px; margin-top: 40px; }
  .distributors .logos { gap: 24px; }
  .distributors .logos span { font-size: 1rem; }

  /* ----- CTA banner ----- */
  .cta-banner { padding: 36px 22px; border-radius: 22px; }
  .cta-banner h2 { font-size: 1.55rem; }
  .cta-banner p { font-size: 0.98rem; }
  .cta-banner .actions .btn { width: 100%; }

  /* ----- Marquee (prevent horizontal scroll from negative margin) ----- */
  .marquee { margin: 0 -20px; padding: 18px 0; }
  .marquee-track { gap: 40px; }
  .marquee-track span { font-size: 1.1rem; }

  /* ----- Contact ----- */
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 20px; }
  .contact-info h3 { font-size: 1.3rem; }
  .contact-item { padding: 14px 16px; gap: 12px; }
  .contact-item .ico { width: 38px; height: 38px; }
  .contact-item .value { font-size: 0.92rem; word-break: break-word; }

  /* ----- Footer ----- */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; margin-bottom: 40px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .site-footer { padding: 56px 0 28px; margin-top: 40px; }

  /* ----- Microsoft 365 icons grid (services page) — readable on mobile ----- */
  .sd-visual > div[style*="grid-template-columns:repeat(3"],
  .sd-visual > div[style*="grid-template-columns: repeat(3"] {
    width: 100% !important;
    gap: 10px !important;
  }
  .sd-visual > div > div[style*="font-weight:800"] { font-size: 0.65rem !important; }

  /* ----- Inline stat boxes (about page) ----- */
  .feature-visual > div[style*="grid-template-columns:repeat(2"] {
    gap: 12px !important;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  section { padding: 48px 0; }

  .hero h1 { font-size: 1.8rem; }
  .hero p.lead { font-size: 0.95rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-stat .num { font-size: 1.2rem; }
  .hero-stat .lbl { font-size: 10px; letter-spacing: 0.04em; }

  .page-hero h1 { font-size: 1.65rem; }
  .page-hero p { font-size: 0.95rem; }

  .section-title { font-size: 1.4rem; }
  .feature-text h3 { font-size: 1.35rem; }
  .sd-text h2 { font-size: 1.4rem; }
  .cta-banner h2 { font-size: 1.4rem; }
  .cta-banner { padding: 32px 18px; }

  .marquee { margin: 0 -16px; }
  .marquee-track { gap: 28px; }
  .marquee-track span { font-size: 1rem; }

  .scroll-top { width: 44px; height: 44px; bottom: 18px; right: 18px; }
  .scroll-top svg { width: 18px; height: 18px; }
}
