/* ══════════════════════════════════════════════════════════════════
   AIxBI Website — styles.css   |   Light Theme   |   2026
   ══════════════════════════════════════════════════════════════════ */

/* ── Reset & Base ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  background: #f8fafc;
  color: #0f172a;
  overflow-x: hidden;
  line-height: 1.65;
}

/* ── Design Tokens ─────────────────────────────────────────────── */
:root {
  --blue:    #0ea5e9;
  --indigo:  #6366f1;
  --violet:  #8b5cf6;
  --green:   #10b981;
  --amber:   #f59e0b;
  --red:     #ef4444;

  --bg:      #f8fafc;
  --bg2:     #f1f5f9;
  --surface: #ffffff;
  --border:  rgba(99,102,241,0.14);

  --text:    #0f172a;
  --sub:     #475569;
  --dim:     #94a3b8;

  --grad-primary: linear-gradient(135deg, #0ea5e9 0%, #6366f1 60%, #8b5cf6 100%);
  --grad-green:   linear-gradient(135deg, #10b981 0%, #0ea5e9 100%);
  --shadow-sm:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:  0 4px 16px rgba(99,102,241,.10), 0 2px 8px rgba(0,0,0,.05);
  --shadow-lg:  0 12px 40px rgba(99,102,241,.15), 0 4px 16px rgba(0,0,0,.06);
  --radius:  16px;
  --radius-sm: 10px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Utility ───────────────────────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.grad-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.grad-text2 {
  background: var(--grad-green);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Animations ────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes orbit {
  from { transform: rotate(0deg) translateX(130px) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(130px) rotate(-360deg); }
}
@keyframes orbit2 {
  from { transform: rotate(180deg) translateX(100px) rotate(-180deg); }
  to   { transform: rotate(540deg) translateX(100px) rotate(-540deg); }
}
@keyframes orbitRing {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .6; transform: scale(1.3); }
}
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

.animate-fade-up { animation: fadeUp .7s ease both; }
.delay-1 { animation-delay: .12s; }
.delay-2 { animation-delay: .24s; }
.delay-3 { animation-delay: .36s; }
.delay-4 { animation-delay: .5s; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: .1s; }
.reveal.delay-2 { transition-delay: .2s; }
.reveal.delay-3 { transition-delay: .3s; }

/* ── Navbar ────────────────────────────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(248,250,252,.85);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(99,102,241,.10);
  transition: box-shadow .3s;
}
#navbar.scrolled {
  box-shadow: 0 2px 20px rgba(99,102,241,.10);
}
.nav-container {
  max-width: 1160px; margin: 0 auto; padding: 0 24px;
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; }
.logo-svg { height: 34px; width: auto; }

.nav-links {
  display: flex; list-style: none; gap: 8px; align-items: center;
}
.nav-links a {
  font-size: .9rem; font-weight: 500; color: var(--sub);
  padding: 8px 14px; border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--indigo); background: rgba(99,102,241,.07); }
.nav-links .nav-cta {
  background: var(--grad-primary); color: #fff !important;
  padding: 9px 20px; border-radius: 8px; font-weight: 600;
  transition: opacity .2s, transform .2s, box-shadow .2s;
}
.nav-links .nav-cta:hover {
  opacity: .9; transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(99,102,241,.3);
}

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all .3s;
}

/* ── Hero ──────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: linear-gradient(145deg, #f0f6ff 0%, #faf5ff 50%, #f0fbf9 100%);
  display: flex; align-items: center; padding: 100px 24px 80px;
  position: relative; overflow: hidden;
}
#heroCanvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; opacity: .45;
}
.hero-content {
  max-width: 600px; position: relative; z-index: 2;
  margin-left: calc((100vw - 1160px) / 2);
  margin-left: max(24px, calc((100vw - 1160px) / 2));
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(99,102,241,.08); border: 1px solid rgba(99,102,241,.18);
  border-radius: 999px; padding: 6px 18px;
  font-size: .78rem; font-weight: 600; color: var(--indigo);
  letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 28px;
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--indigo);
  animation: pulse-dot 2s ease-in-out infinite;
}
.hero-title {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700; line-height: 1.12;
  color: var(--text); margin-bottom: 24px;
}
.hero-sub {
  font-size: clamp(.95rem, 1.6vw, 1.1rem);
  color: var(--sub); line-height: 1.75; margin-bottom: 40px;
  max-width: 540px;
}
.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 28px; border-radius: 10px;
  font-weight: 600; font-size: .95rem;
  border: none; cursor: pointer; transition: all .25s;
  text-decoration: none;
}
.btn-primary {
  background: var(--grad-primary); color: #fff;
  box-shadow: 0 4px 18px rgba(99,102,241,.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(99,102,241,.4);
}
.btn-ghost {
  background: var(--surface); color: var(--text);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover {
  background: rgba(99,102,241,.05);
  border-color: rgba(99,102,241,.3);
  transform: translateY(-1px);
}
.btn.full-width { width: 100%; justify-content: center; }

/* Hero stats */
.hero-stats {
  display: flex; align-items: center; gap: 0; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 28px;
  box-shadow: var(--shadow-sm);
}
.hero-stat { text-align: center; padding: 0 20px; }
.stat-n {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.7rem; font-weight: 700;
  background: var(--grad-primary);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.plus { font-size: 1.2rem; }
.stat-l { font-size: .74rem; color: var(--dim); text-transform: uppercase; letter-spacing: .07em; }
.stat-sep { width: 1px; height: 40px; background: var(--border); }

/* Hero graphic */
.hero-graphic {
  position: absolute; right: max(24px, calc((100vw - 1160px) / 2));
  top: 50%; transform: translateY(-50%);
  width: 340px; height: 340px;
  display: flex; align-items: center; justify-content: center;
  z-index: 1;
}
.orbit-ring {
  position: absolute; border-radius: 50%;
  border: 1.2px dashed rgba(99,102,241,.2);
  animation: orbitRing 30s linear infinite;
}
.ring-1 { width: 260px; height: 260px; }
.ring-2 { width: 310px; height: 310px; animation-duration: 45s; animation-direction: reverse; }
.ring-3 { width: 200px; height: 200px; animation-duration: 20s; }
.orbit-center { width: 100px; height: 100px; z-index: 5; }
.orbit-center svg { width: 100%; height: 100%; }

.orbit-node {
  position: absolute; width: 38px; height: 38px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--surface);
  box-shadow: 0 4px 16px rgba(99,102,241,.18);
  font-size: .9rem; color: var(--indigo);
  border: 1.5px solid rgba(99,102,241,.15);
  animation: orbit 18s linear infinite;
}
.n1 { animation-delay: 0s;     color: var(--blue); }
.n2 { animation-delay: -3s;    color: var(--green); animation-name: orbit2; animation-duration: 14s; }
.n3 { animation-delay: -6s;    color: var(--violet); }
.n4 { animation-delay: -9s;    color: var(--amber); animation-name: orbit2; animation-duration: 22s; }
.n5 { animation-delay: -12s;   color: var(--indigo); }
.n6 { animation-delay: -15s;   color: var(--red);   animation-name: orbit2; animation-duration: 16s; }

/* ── Marquee Strip ─────────────────────────────────────────────── */
.marquee-strip {
  background: var(--grad-primary);
  padding: 12px 0; overflow: hidden;
}
.marquee-track {
  display: inline-flex; gap: 0;
  white-space: nowrap;
  animation: marqueeScroll 28s linear infinite;
}
.marquee-track span {
  font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.9);
  padding: 0 18px; letter-spacing: .07em; text-transform: uppercase;
}
.marquee-track .mdot { color: rgba(255,255,255,.45); padding: 0 4px; }

/* ── Sections ──────────────────────────────────────────────────── */
.section { padding: 100px 0; }
.section-tag {
  display: inline-block;
  font-size: .72rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--indigo);
  background: rgba(99,102,241,.09);
  padding: 5px 14px; border-radius: 999px;
  margin-bottom: 16px;
}
.section-h2 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700; line-height: 1.2;
  color: var(--text); margin-bottom: 16px;
}
.section-header { text-align: center; margin-bottom: 60px; }
.section-desc {
  font-size: 1.05rem; color: var(--sub); max-width: 580px;
  margin: 0 auto; line-height: 1.75;
}

/* ── About ─────────────────────────────────────────────────────── */
.about-section { background: var(--bg); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
}
.about-left p { color: var(--sub); line-height: 1.8; }
.about-left strong { color: var(--text); }
.about-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.pill {
  background: rgba(99,102,241,.09); border: 1px solid rgba(99,102,241,.18);
  color: var(--indigo); border-radius: 999px;
  padding: 5px 16px; font-size: .8rem; font-weight: 600;
}

.about-card-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px;
}
.about-kpi {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
}
.about-kpi:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.kpi-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: color-mix(in srgb, var(--c) 12%, transparent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--c); margin: 0 auto 12px;
}
.kpi-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem; font-weight: 700;
  background: var(--grad-primary);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.kpi-lbl { font-size: .75rem; color: var(--dim); margin-top: 4px; }

.about-quote {
  background: linear-gradient(135deg, #f0f6ff 0%, #f5f0ff 100%);
  border: 1px solid rgba(99,102,241,.15);
  border-left: 4px solid var(--indigo);
  border-radius: var(--radius); padding: 24px 28px;
}
.quote-icon { font-size: 1.4rem; color: var(--indigo); margin-bottom: 12px; display: block; }
.about-quote p { color: var(--sub); font-style: italic; line-height: 1.7; font-size: .95rem; }
.quote-attr { font-size: .78rem; color: var(--dim); margin-top: 10px; font-weight: 600; }

/* ── Services ──────────────────────────────────────────────────── */
.services-section { background: var(--bg2); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 28px;
  position: relative; overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  box-shadow: var(--shadow-sm);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(99,102,241,.3);
}
.featured-card {
  border-color: rgba(99,102,241,.3);
  background: linear-gradient(145deg, #fafbff 0%, #f5f3ff 100%);
}
.service-glow {
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-primary); opacity: 0;
  transition: opacity .3s;
}
.service-card:hover .service-glow,
.featured-card .service-glow { opacity: 1; }

.service-icon-wrap {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--c1) 12%, transparent), color-mix(in srgb, var(--c2) 12%, transparent));
  border: 1px solid color-mix(in srgb, var(--c1) 20%, transparent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: var(--c1); margin-bottom: 20px;
}
.service-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 10px;
}
.service-card p { color: var(--sub); font-size: .9rem; line-height: 1.7; margin-bottom: 20px; }
.service-list {
  list-style: none; margin-bottom: 24px;
}
.service-list li {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: .85rem; color: var(--sub); padding: 4px 0;
}
.service-list li i { color: var(--green); font-size: .75rem; margin-top: 4px; flex-shrink: 0; }
.service-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .85rem; font-weight: 600; color: var(--indigo);
  transition: gap .2s;
}
.service-link:hover { gap: 12px; }

/* ── Industries Tabs ───────────────────────────────────────────── */
.industries-section { background: var(--bg); }
.ind-tab-buttons {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 32px; justify-content: center;
}
.ind-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 999px;
  background: var(--surface); border: 1.5px solid var(--border);
  font-size: .85rem; font-weight: 600; color: var(--sub);
  cursor: pointer; transition: all .25s;
}
.ind-btn:hover { border-color: rgba(99,102,241,.35); color: var(--indigo); background: rgba(99,102,241,.05); }
.ind-btn.active {
  background: var(--grad-primary); color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(99,102,241,.3);
}

.ind-panel { display: none; }
.ind-panel.active { display: block; animation: fadeUp .4s ease; }

.ind-panel-content {
  display: grid; grid-template-columns: 1fr 320px; gap: 48px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 40px;
  box-shadow: var(--shadow-sm);
}
.ind-text h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem; font-weight: 700; color: var(--text); margin-bottom: 12px;
}
.ind-text p { color: var(--sub); line-height: 1.75; margin-bottom: 28px; }
.ind-use-cases { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.uc-item {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px;
}
.uc-item i { color: var(--green); font-size: .9rem; margin-top: 2px; flex-shrink: 0; }
.uc-item strong { font-size: .85rem; color: var(--text); display: block; margin-bottom: 2px; }
.uc-item span { font-size: .78rem; color: var(--sub); }

.ind-visual {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start;
}
.ind-stat-card {
  background: linear-gradient(145deg, #f0f6ff, #f5f0ff);
  border: 1px solid rgba(99,102,241,.15);
  border-radius: var(--radius-sm); padding: 18px 14px;
  text-align: center;
}
.ind-stat-card .big-num {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem; font-weight: 700;
  background: var(--grad-primary);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 4px;
}
.ind-stat-card span:last-child { font-size: .72rem; color: var(--sub); text-transform: uppercase; letter-spacing: .07em; }

/* ── Value / Compare ───────────────────────────────────────────── */
.value-section { background: var(--bg2); }
.compare-table {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm); margin-bottom: 56px;
}
.compare-header, .compare-row {
  display: grid; grid-template-columns: 1.4fr 2fr 2.2fr; gap: 0;
}
.compare-header {
  background: var(--grad-primary); color: #fff;
  padding: 14px 20px; font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
}
.compare-row {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  transition: background .2s;
}
.compare-row:last-child { border-bottom: none; }
.compare-row:hover { background: rgba(99,102,241,.03); }
.comp-dim, .comp-them, .comp-us {
  padding: 16px 20px; display: flex; align-items: center; gap: 10px;
  font-size: .88rem; border-right: 1px solid var(--border);
}
.comp-us { border-right: none; }
.comp-dim { font-weight: 600; color: var(--text); }
.comp-dim i { color: var(--indigo); width: 16px; }
.comp-them { color: var(--sub); }
.comp-us { color: var(--text); }
.neg { color: var(--red); }
.pos { color: var(--green); }
.badge-us {
  background: var(--grad-primary);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  font-size: .7rem; font-weight: 700; margin-left: 8px; letter-spacing: .08em;
}

.commitments {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 40px;
  box-shadow: var(--shadow-sm);
}
.commitments h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem; font-weight: 700; color: var(--text); margin-bottom: 28px;
}
.commit-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.commit-item {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: .9rem; color: var(--sub);
}
.commit-item i { color: var(--green); font-size: 1rem; margin-top: 2px; flex-shrink: 0; }

/* ── Tech Stack ────────────────────────────────────────────────── */
.tech-section { background: var(--bg); }
.tech-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 32px;
}
.tech-category {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-sm);
}
.tech-cat-title {
  font-weight: 700; font-size: .9rem; color: var(--tc);
  margin-bottom: 16px; display: flex; align-items: center; gap: 8px;
}
.tech-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tchip {
  background: rgba(99,102,241,.07); border: 1px solid rgba(99,102,241,.15);
  color: var(--sub); border-radius: 999px;
  padding: 4px 14px; font-size: .78rem; font-weight: 500;
  transition: all .2s;
}
.tchip:hover { background: rgba(99,102,241,.14); color: var(--indigo); }
.security-bar {
  background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
  border: 1px solid rgba(16,185,129,.2);
  border-radius: var(--radius-sm); padding: 16px 24px;
  display: flex; align-items: flex-start; gap: 14px;
  font-size: .88rem; color: var(--sub);
}
.security-bar i { color: var(--green); font-size: 1.1rem; margin-top: 1px; flex-shrink: 0; }
.security-bar strong { color: var(--text); }

/* ── Process ───────────────────────────────────────────────────── */
.process-section { background: linear-gradient(135deg, #f0f6ff 0%, #faf5ff 100%); }
.process-flow {
  display: flex; align-items: flex-start; gap: 0;
  flex-wrap: nowrap; overflow-x: auto;
  padding-bottom: 8px;
}
.proc-step {
  flex: 1; min-width: 160px; text-align: center; padding: 0 12px;
}
.proc-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  color: var(--indigo); text-transform: uppercase; margin-bottom: 12px;
}
.proc-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--surface); border: 1.5px solid rgba(99,102,241,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--indigo);
  margin: 0 auto 14px;
  box-shadow: 0 4px 16px rgba(99,102,241,.1);
}
.proc-step h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .95rem; font-weight: 700; color: var(--text); margin-bottom: 8px;
}
.proc-step p { font-size: .82rem; color: var(--sub); line-height: 1.65; }
.proc-arrow {
  color: rgba(99,102,241,.3); font-size: 1.1rem;
  padding-top: 22px; flex-shrink: 0;
}

/* ── Contact ───────────────────────────────────────────────────── */
.contact-section { background: var(--bg2); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: start;
}
.contact-left p { color: var(--sub); line-height: 1.75; margin-bottom: 32px; }
.contact-infos { display: flex; flex-direction: column; gap: 18px; }
.contact-info-item {
  display: flex; align-items: flex-start; gap: 14px;
}
.ci-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(99,102,241,.09);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; color: var(--indigo); flex-shrink: 0;
}
.ci-label { font-size: .72rem; color: var(--dim); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 2px; }
.ci-value { font-size: .9rem; font-weight: 600; color: var(--text); }
a.ci-value:hover { color: var(--indigo); }

.contact-form {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px;
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: .78rem; font-weight: 600;
  color: var(--text); margin-bottom: 6px; letter-spacing: .04em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 11px 14px;
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: 10px; font-size: .9rem; color: var(--text);
  font-family: inherit; transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(99,102,241,.12);
}
.form-group select { appearance: none; cursor: pointer; }
.form-note { text-align: center; font-size: .76rem; color: var(--dim); margin-top: 12px; }

/* ── Footer ────────────────────────────────────────────────────── */
.footer {
  background: #0f172a; color: #94a3b8;
  padding: 72px 0 32px;
}
.footer-logo { height: 32px; margin-bottom: 16px; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 32px; margin-bottom: 56px;
}
.footer-tagline { font-size: .88rem; line-height: 1.65; color: #64748b; margin-bottom: 12px; }
.footer-addr { font-size: .8rem; color: #475569; line-height: 1.7; }
.footer-col h4 {
  font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: #cbd5e1; margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  font-size: .85rem; color: #64748b;
  transition: color .2s;
}
.footer-col ul a:hover { color: #6366f1; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 28px; text-align: center;
}
.footer-bottom p { font-size: .78rem; color: #334155; margin-bottom: 6px; }
.footer-legal { font-size: .7rem; color: #1e293b; }

/* ── Back to Top ───────────────────────────────────────────────── */
.back-to-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--grad-primary); color: #fff;
  border: none; cursor: pointer;
  box-shadow: 0 4px 16px rgba(99,102,241,.35);
  opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-3px); }

/* ══════════════════════════════════════════════════════════════════
   PRODUCTS SECTION
   ══════════════════════════════════════════════════════════════════ */
.products-section { background: var(--bg); }

/* ── Shared product tag pill ─────────────────────────────────── */
.prod-tag {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 20px; font-size: .72rem;
  font-weight: 600; letter-spacing: .03em;
  background: #ede9fe; color: #6d28d9;
  border: 1px solid rgba(109,40,217,.15);
}
.live-tag {
  background: #dcfce7; color: #15803d;
  border-color: rgba(21,128,61,.2);
}
.live-tag i { font-size: .5rem; animation: pulse-dot 1.6s infinite; }

/* ── Competency Areas ────────────────────────────────────────── */
.competency-areas {
  background: linear-gradient(135deg, #f0f4ff 0%, #faf5ff 60%, #eff6ff 100%);
  border: 1px solid rgba(99,102,241,.2);
  border-radius: var(--radius);
  padding: 40px 40px 36px;
  margin-bottom: 48px;
  position: relative;
  overflow: hidden;
}
.competency-areas::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-primary);
}

.competency-header {
  display: flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--indigo); margin-bottom: 28px;
}

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

.competency-item { display: flex; flex-direction: column; gap: 12px; }

.comp-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(99,102,241,.1);
  border: 1.5px solid rgba(99,102,241,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--cc);
}

.competency-item h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem; font-weight: 700; color: var(--text); line-height: 1.3;
}
.competency-item p { font-size: .88rem; color: var(--sub); line-height: 1.75; }

.product-tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }

/* ── Product Grid (other products) ──────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px 28px;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative; overflow: hidden;
}
.product-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--indigo) 3%, transparent), transparent 60%);
  opacity: 0; transition: opacity .3s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(99,102,241,.3); }
.product-card:hover::before { opacity: 1; }

.product-card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, var(--pc1), var(--pc2));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: #fff;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--pc1) 35%, transparent);
}

.product-card-tags { display: flex; flex-wrap: wrap; gap: 6px; }

.product-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.12rem; font-weight: 700; color: var(--text);
  line-height: 1.25;
}
.product-card p { font-size: .9rem; color: var(--sub); line-height: 1.7; flex: 1; }

.product-stack {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px;
}
.product-stack span {
  font-size: .7rem; font-weight: 600; letter-spacing: .03em;
  padding: 2px 8px; border-radius: 5px;
  background: var(--bg2); color: var(--sub);
  border: 1px solid var(--border);
}

.product-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .86rem; font-weight: 600; color: var(--indigo);
  margin-top: 4px; transition: gap .2s ease;
}
.product-link:hover { gap: 10px; }

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-graphic { display: none; }
  .hero-content { max-width: 100%; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .ind-panel-content { grid-template-columns: 1fr; }
  .ind-visual { grid-template-columns: repeat(4,1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .competency-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; gap: 4px;
    position: fixed; top: 68px; left: 0; right: 0;
    background: rgba(248,250,252,.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px; z-index: 999;
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .nav-links .nav-cta { display: inline-flex; width: auto; }

  .hero { padding: 100px 24px 60px; }
  .hero-title { font-size: 2.1rem; }
  .hero-stats { flex-direction: column; gap: 12px; padding: 20px; }
  .stat-sep { width: 100%; height: 1px; }

  .services-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .competency-areas { padding: 28px 24px; }
  .competency-grid { grid-template-columns: 1fr; gap: 20px; }
  .ind-use-cases { grid-template-columns: 1fr; }
  .ind-visual { grid-template-columns: 1fr 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .compare-header, .compare-row { grid-template-columns: 1fr; }
  .compare-header > *:not(:first-child) { display: none; }
  .comp-them { display: none; }
  .comp-dim, .comp-us { border-right: none; }
  .compare-row { padding: 4px 0; }
  .commit-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process-flow { flex-direction: column; align-items: flex-start; }
  .proc-arrow { transform: rotate(90deg); padding: 8px 0 8px 22px; }
}

@media (max-width: 480px) {
  .section { padding: 70px 0; }
  .hero-title { font-size: 1.9rem; }
  .section-h2 { font-size: 1.7rem; }
  .about-card-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .ind-visual { grid-template-columns: 1fr 1fr; }
}

/* ── Print ─────────────────────────────────────────────────────── */
@media print {
  #navbar, .back-to-top, #heroCanvas, .orbit-ring, .orbit-node, .marquee-strip { display: none; }
  .hero { min-height: auto; padding: 40px 0; }
  .section { padding: 40px 0; page-break-inside: avoid; }
}
