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

/* ── DARK MODE (default) ── */
:root {
  --blue: #004aad; --blue-light: #1a6fe8; --accent: #feb311;
  --green: #00c97a; --orange: #feb311; --purple: #8b5cf6;
  --bg: #04091a; --bg2: #060d22; --surface: #0a1530; --surface2: #0e1c3c;
  --text: #e8edf8; --muted: #8a9bbf; --border: rgba(0,74,173,.22);
  --gradient: linear-gradient(135deg, var(--blue), var(--blue-light));
  --gradient-gold: linear-gradient(135deg, #feb311, #f97316);
  --font: 'Inter', sans-serif; --font2: 'Space Grotesk', sans-serif;
  --radius: 16px; --shadow: 0 8px 32px rgba(0,0,0,.4);
  --logo-filter: none;
  --nav-bg: rgba(4,9,26,.92);
}

/* ── LIGHT MODE ── */
[data-theme="light"] {
  --bg: #f4f7ff; --bg2: #eaf0ff; --surface: #ffffff; --surface2: #e8eeff;
  --text: #0d1a3a; --muted: #5a6a8a; --border: rgba(0,74,173,.14);
  --shadow: 0 8px 32px rgba(0,74,173,.12);
  --logo-filter: none;
  --nav-bg: rgba(244,247,255,.94);
}

/* ── THEME TRANSITION ── */
body, .navbar, .hero, section, .service-card, .tool-card, .industry-block,
.its-block, .contact-form, footer, .bot-showcase, .chat-window,
.pipeline-viz, .security-viz, .arch-viz, .infra-grid, .newsletter-strip {
  transition: background .35s ease, border-color .35s ease, color .35s ease, box-shadow .35s ease;
}
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); overflow-x: hidden; cursor: none; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ── CURSOR ── */
.cursor { width: 10px; height: 10px; background: var(--accent); border-radius: 50%; position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; transform: translate(-50%,-50%); }
.cursor-follower { width: 36px; height: 36px; border: 1.5px solid rgba(254,179,17,.35); border-radius: 50%; position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9998; transform: translate(-50%,-50%); transition: width .3s, height .3s; }

/* ── BUTTONS ── */
.btn-primary { display: inline-flex; align-items: center; gap: .5rem; background: var(--gradient); color: #fff; padding: .8rem 1.8rem; border-radius: 50px; font-weight: 600; font-size: .95rem; border: none; cursor: pointer; transition: transform .2s, box-shadow .2s; box-shadow: 0 4px 20px rgba(61,99,245,.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(61,99,245,.55); }
.btn-primary span { transition: transform .2s; }
.btn-primary:hover span { transform: translateX(4px); }
.btn-ghost { display: inline-flex; align-items: center; gap: .4rem; color: var(--text); padding: .8rem 1.8rem; border-radius: 50px; font-weight: 600; font-size: .95rem; border: 1.5px solid var(--border); cursor: pointer; transition: border-color .2s, background .2s; background: rgba(255,255,255,.04); }
.btn-ghost:hover { border-color: var(--blue-light); background: rgba(61,99,245,.1); }
.btn-full { width: 100%; justify-content: center; }

/* ── NAVBAR ── */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; transition: background .35s, box-shadow .3s; padding: .9rem 0; }
.navbar.scrolled { background: var(--nav-bg); backdrop-filter: blur(20px); box-shadow: 0 1px 0 var(--border); padding: .6rem 0; }
.nav-inner { max-width: 1240px; margin: auto; padding: 0 2rem; display: flex; align-items: center; gap: 1.5rem; }
.nav-logo .logo-img { height: 48px; width: 48px; object-fit: contain; filter: var(--logo-filter); display: block; }
.logo-icon-nav { border-radius: 10px; }

/* ── THEME TOGGLE ── */
.theme-toggle {
  width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--border);
  background: rgba(0,74,173,.08); color: var(--text); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: background .2s, border-color .2s, transform .3s;
  flex-shrink: 0;
}
.theme-toggle:hover { background: rgba(0,74,173,.18); border-color: var(--blue-light); transform: rotate(20deg); }
[data-theme="light"] .theme-toggle { background: rgba(0,74,173,.1); }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }
.nav-links { display: flex; gap: 1.8rem; margin-left: auto; }
.nav-links a { font-size: .88rem; font-weight: 500; color: var(--muted); transition: color .2s; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--gradient); transition: width .3s; border-radius: 2px; }
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.btn-nav { background: var(--gradient-gold); color: #fff; padding: .52rem 1.3rem; border-radius: 50px; font-weight: 700; font-size: .85rem; box-shadow: 0 4px 14px rgba(254,179,17,.35); transition: transform .2s, box-shadow .2s; white-space: nowrap; }
.btn-nav:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(254,179,17,.5); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }

/* ── HERO ── */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; padding: 7rem 2rem 4rem; max-width: 1240px; margin: auto; gap: 4rem; }
#particleCanvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; opacity: .4; }
.hero-content { flex: 1; position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: .5rem; background: rgba(254,179,17,.1); border: 1px solid rgba(254,179,17,.35); color: var(--accent); padding: .4rem 1rem; border-radius: 50px; font-size: .82rem; font-weight: 700; margin-bottom: 1.5rem; letter-spacing: .02em; }
.badge-dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(1.4)} }
.hero h1 { font-family: var(--font2); font-size: clamp(2.6rem,5vw,4rem); font-weight: 800; line-height: 1.1; margin-bottom: 1.2rem; }
.gradient-text { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p { font-size: 1.05rem; color: var(--muted); max-width: 540px; line-height: 1.8; margin-bottom: 2rem; }
.hero p strong { color: var(--text); }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.hero-industries { display: flex; gap: .8rem; flex-wrap: wrap; }
.ind-chip { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem 1.1rem; border-radius: 50px; font-size: .85rem; font-weight: 600; border: 1px solid; transition: transform .2s, box-shadow .2s; cursor: pointer; }
.ind-chip:hover { transform: translateY(-2px); }
.ind-health { background: rgba(0,201,122,.1); border-color: rgba(0,201,122,.3); color: var(--green); }
.ind-edu { background: rgba(139,92,246,.1); border-color: rgba(139,92,246,.3); color: var(--purple); }
.ind-real { background: rgba(255,107,53,.1); border-color: rgba(255,107,53,.3); color: var(--orange); }

/* Bot showcase in hero */
.hero-visual { flex: 0 0 400px; position: relative; z-index: 1; }
.bot-showcase { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 1.5rem; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.bot-card { display: flex; flex-direction: column; gap: 1rem; }
.bot-header { display: flex; align-items: center; gap: .8rem; }
.bot-avatar { width: 42px; height: 42px; background: var(--gradient); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.bot-name { font-weight: 700; font-size: .95rem; }
.bot-status { font-size: .75rem; color: var(--muted); display: flex; align-items: center; gap: .3rem; }
.online-dot { width: 7px; height: 7px; background: var(--green); border-radius: 50%; animation: pulse 2s infinite; }
.bot-chat { display: flex; flex-direction: column; gap: .6rem; background: var(--bg2); border-radius: 12px; padding: 1rem; min-height: 140px; }
.chat-msg { padding: .6rem .9rem; border-radius: 12px; font-size: .82rem; line-height: 1.5; max-width: 90%; }
.bot-msg { background: rgba(61,99,245,.15); border: 1px solid rgba(61,99,245,.2); color: var(--text); align-self: flex-start; }
.user-msg { background: var(--gradient); color: #fff; align-self: flex-end; }
.cursor-blink { animation: blink .8s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
.bot-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.bot-tags span { background: rgba(255,255,255,.05); border: 1px solid var(--border); color: var(--muted); font-size: .72rem; padding: .2rem .6rem; border-radius: 50px; }
.bot-switcher { display: flex; gap: .5rem; padding-top: .5rem; border-top: 1px solid var(--border); }
.bs-btn { flex: 1; padding: .45rem .5rem; border-radius: 8px; background: none; border: 1px solid var(--border); color: var(--muted); font-size: .78rem; font-weight: 600; cursor: pointer; transition: .2s; }
.bs-btn.active, .bs-btn:hover { background: rgba(61,99,245,.15); border-color: var(--blue-light); color: var(--text); }

/* Scroll hint */
.scroll-hint { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: .5rem; color: var(--muted); font-size: .78rem; }
.scroll-arrow { width: 18px; height: 18px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); animation: bounce 1.5s infinite; }
@keyframes bounce { 0%,100%{transform:rotate(45deg) translateY(0)} 50%{transform:rotate(45deg) translateY(5px)} }

/* ── GLOBE SECTION ── */
.globe-section {
  background: var(--bg);
  padding: 5rem 2rem;
  overflow: hidden;
}
.globe-inner {
  max-width: 1240px; margin: auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.globe-text .section-label { text-align: left; }
.globe-text h2 { font-family: var(--font2); font-size: clamp(1.8rem,3vw,2.6rem); font-weight: 800; margin-bottom: 1rem; line-height: 1.2; }
.globe-text > p { color: var(--muted); font-size: .95rem; line-height: 1.8; margin-bottom: 1.8rem; }
.globe-legend { display: flex; gap: 1.5rem; margin-bottom: 1rem; flex-wrap: wrap; }
.gl-item { display: flex; align-items: center; gap: .5rem; font-size: .88rem; font-weight: 600; color: var(--muted); }
.gl-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 6px currentColor; }
.globe-hint { font-size: .78rem; color: var(--muted); opacity: .6; }
.globe-canvas-wrap {
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.globe-canvas-wrap::before {
  content: '';
  position: absolute; inset: -40px;
  background: radial-gradient(circle, rgba(0,74,173,.1) 0%, transparent 70%);
  pointer-events: none;
}
#globeCanvas {
  cursor: grab; display: block;
  filter: drop-shadow(0 0 40px rgba(0,74,173,.3));
}
#globeCanvas:active { cursor: grabbing; }

@media (max-width: 768px) {
  .globe-inner { grid-template-columns: 1fr; gap: 2rem; }
  .globe-text h2 { font-size: 1.6rem; }
}

/* ── MARQUEE ── */
.marquee-bar { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: .85rem 0; overflow: hidden; }
.marquee-track { display: flex; align-items: center; gap: 2rem; width: max-content; animation: marquee 30s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-track span { font-size: .83rem; color: var(--muted); font-weight: 500; white-space: nowrap; }
.marquee-track .sep { color: var(--blue-light); }

/* ── SECTION UTILS ── */
.section { padding: 6rem 0; }
.container { max-width: 1240px; margin: auto; padding: 0 2rem; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-label { display: inline-block; background: rgba(0,74,173,.14); border: 1px solid rgba(0,74,173,.32); color: var(--blue-light); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .35rem 1rem; border-radius: 50px; margin-bottom: 1rem; }
.section-header h2 { font-family: var(--font2); font-size: clamp(1.9rem,3.5vw,2.8rem); font-weight: 800; margin-bottom: 1rem; }
.section-header p { color: var(--muted); max-width: 580px; margin: auto; line-height: 1.8; }

/* ── SERVICES ── */
.services { background: var(--bg); }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem; }
.service-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.8rem; transition: transform .3s, border-color .3s, box-shadow .3s; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.service-card::before { content: ''; position: absolute; inset: 0; opacity: 0; background: linear-gradient(135deg, rgba(61,99,245,.07), rgba(0,212,255,.03)); transition: opacity .3s; }
.service-card:hover { transform: translateY(-6px); border-color: rgba(61,99,245,.38); box-shadow: 0 12px 40px rgba(0,0,0,.35); }
.service-card:hover::before { opacity: 1; }
.service-card.featured { border-color: rgba(61,99,245,.4); background: linear-gradient(160deg, var(--surface), rgba(61,99,245,.08)); grid-column: span 1; }
.featured-badge { position: absolute; top: 1rem; right: 1rem; background: var(--gradient-gold); color: #fff; font-size: .7rem; font-weight: 700; padding: .2rem .7rem; border-radius: 50px; }
.service-icon { font-size: 2.2rem; margin-bottom: 1rem; }
.service-card h3 { font-family: var(--font2); font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; }
.service-card > p { color: var(--muted); font-size: .87rem; line-height: 1.7; margin-bottom: 1rem; }
.service-card ul { flex: 1; margin-bottom: 1rem; }
.service-card ul li { color: var(--muted); font-size: .82rem; padding: .22rem 0 .22rem 1rem; position: relative; }
.service-card ul li::before { content: '→'; position: absolute; left: 0; color: var(--blue-light); }
.service-link { color: var(--blue-light); font-size: .87rem; font-weight: 600; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--border); display: block; transition: letter-spacing .2s; }
.service-link:hover { letter-spacing: .02em; }

/* ── IT SERVICES ── */
.it-services { background: var(--bg2); }

.its-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  padding: 3rem; margin-bottom: 1.5rem;
  transition: border-color .3s;
}
.its-block:hover { border-color: rgba(61,99,245,.3); }
.its-block.alt { background: linear-gradient(160deg, var(--surface), rgba(61,99,245,.04)); }
.order-first { order: -1; }

.its-icon-wrap {
  width: 52px; height: 52px; border-radius: 14px; font-size: 1.6rem;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, color-mix(in srgb, var(--c1) 20%, transparent), color-mix(in srgb, var(--c2) 10%, transparent));
  border: 1px solid color-mix(in srgb, var(--c1) 30%, transparent);
  margin-bottom: .8rem;
}
.its-label {
  font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue-light); margin-bottom: .5rem;
}
.its-left h3 { font-family: var(--font2); font-size: 1.7rem; font-weight: 800; line-height: 1.2; margin-bottom: .9rem; }
.its-left > p { color: var(--muted); font-size: .9rem; line-height: 1.8; margin-bottom: 1.4rem; }
.its-list { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1.8rem; }
.its-list li { display: flex; align-items: flex-start; gap: .6rem; font-size: .87rem; color: var(--muted); }
.its-check { color: var(--green); font-weight: 700; flex-shrink: 0; margin-top: .05rem; }

/* DevOps pipeline viz */
.its-right { display: flex; flex-direction: column; gap: 1.5rem; }
.pipeline-viz {
  display: flex; align-items: center; gap: .4rem; flex-wrap: wrap;
  background: var(--bg2); border: 1px solid var(--border); border-radius: 14px; padding: 1.5rem;
}
.pipe-step {
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  background: rgba(61,99,245,.08); border: 1px solid rgba(61,99,245,.15);
  border-radius: 10px; padding: .7rem .9rem; flex: 1; min-width: 64px;
  transition: border-color .3s, background .3s;
}
.pipe-step.active { background: rgba(61,99,245,.2); border-color: rgba(61,99,245,.4); }
.ps-icon { font-size: 1.4rem; }
.ps-label { font-size: .7rem; font-weight: 600; color: var(--muted); text-align: center; }
.pipe-arrow { color: var(--blue-light); font-size: 1rem; font-weight: 700; flex-shrink: 0; }
.its-metrics { display: flex; gap: 1rem; }
.its-metric { flex: 1; background: var(--bg2); border: 1px solid var(--border); border-radius: 12px; padding: 1rem; text-align: center; }
.its-metric span { font-family: var(--font2); font-size: 1.5rem; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; display: block; margin-bottom: .25rem; }
.its-metric p { color: var(--muted); font-size: .75rem; line-height: 1.4; }

/* Security viz */
.security-viz {
  position: relative; height: 220px; display: flex; align-items: center; justify-content: center;
  background: var(--bg2); border: 1px solid var(--border); border-radius: 14px; padding: 1.5rem;
}
.sec-center { display: flex; flex-direction: column; align-items: center; gap: .3rem; z-index: 2; }
.shield-icon { font-size: 2.8rem; filter: drop-shadow(0 0 12px rgba(0,201,122,.4)); }
.sec-label { font-size: .75rem; font-weight: 700; color: var(--green); }
.sec-rings { position: absolute; inset: 0; }
.sec-ring {
  position: absolute; border-radius: 50%; border: 1px solid rgba(61,99,245,.15);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  animation: spinSlow linear infinite;
}
.r1 { width: 80px; height: 80px; animation-duration: 8s; }
.r2 { width: 120px; height: 120px; animation-duration: 12s; animation-direction: reverse; }
.r3 { width: 160px; height: 160px; animation-duration: 16s; }
.r4 { width: 195px; height: 195px; animation-duration: 20s; animation-direction: reverse; }
.r5 { width: 220px; height: 220px; animation-duration: 24s; }
@keyframes spinSlow { to { transform: translate(-50%,-50%) rotate(360deg); } }
.sec-dot { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); font-size: 1.1rem; }

/* Architecture viz */
.arch-viz {
  background: var(--bg2); border: 1px solid var(--border); border-radius: 14px;
  padding: 1.5rem; display: flex; flex-direction: column; align-items: center; gap: .5rem;
}
.arch-layer { display: flex; gap: .6rem; justify-content: center; width: 100%; }
.arch-box {
  background: rgba(61,99,245,.1); border: 1px solid rgba(61,99,245,.2);
  border-radius: 8px; padding: .4rem .8rem; font-size: .75rem; font-weight: 600;
  color: var(--muted); white-space: nowrap; text-align: center;
}
.arch-box.accent { background: rgba(61,99,245,.2); border-color: rgba(61,99,245,.4); color: var(--blue-light); }
.arch-box.dim { background: rgba(255,255,255,.03); border-color: var(--border); color: var(--muted); opacity: .7; }
.arch-arrows { color: var(--blue-light); font-size: .85rem; font-weight: 700; letter-spacing: 1rem; }

/* Infrastructure grid */
.infra-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: .7rem;
  background: var(--bg2); border: 1px solid var(--border); border-radius: 14px; padding: 1.2rem;
}
.infra-card {
  display: flex; align-items: center; gap: .6rem;
  background: rgba(61,99,245,.06); border: 1px solid rgba(61,99,245,.12);
  border-radius: 10px; padding: .7rem .8rem; transition: border-color .2s, background .2s;
}
.infra-card:hover { background: rgba(61,99,245,.12); border-color: rgba(61,99,245,.28); }
.ic-icon { font-size: 1.3rem; flex-shrink: 0; }
.infra-card div { display: flex; flex-direction: column; }
.infra-card div:last-child { font-size: .78rem; font-weight: 700; color: var(--text); }
.infra-card span { font-size: .68rem; color: var(--muted); margin-top: .1rem; }

@media (max-width: 1024px) {
  .its-block { grid-template-columns: 1fr; gap: 2rem; }
  .order-first { order: 0; }
  .infra-grid { grid-template-columns: repeat(2,1fr); }
  .pipeline-viz { flex-wrap: wrap; }
}

/* ── INDUSTRIES ── */
.industries { background: var(--bg2); }
.industry-block { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 2.5rem; margin-bottom: 2rem; }
.industry-block.alt { background: linear-gradient(160deg, var(--surface), rgba(139,92,246,.06)); border-color: rgba(139,92,246,.18); }
.industry-header { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 2rem; flex-wrap: wrap; }
.ind-icon { width: 56px; height: 56px; background: rgba(61,99,245,.15); border: 1px solid rgba(61,99,245,.25); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; flex-shrink: 0; }
.ind-label { font-size: .72rem; font-weight: 700; color: var(--blue-light); letter-spacing: .08em; text-transform: uppercase; margin-bottom: .2rem; }
.industry-header h3 { font-family: var(--font2); font-size: 1.4rem; font-weight: 800; }
.ind-badge { margin-left: auto; background: var(--gradient); color: #fff; font-size: .78rem; font-weight: 700; padding: .35rem 1rem; border-radius: 50px; box-shadow: 0 4px 14px rgba(61,99,245,.3); white-space: nowrap; }
.industry-grid { display: grid; grid-template-columns: 1fr 380px; gap: 3rem; align-items: start; }
.industry-grid.reverse { grid-template-columns: 380px 1fr; }
.industry-text > p { color: var(--muted); line-height: 1.8; margin-bottom: 1.5rem; }
.use-cases { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.8rem; }
.use-case { display: flex; gap: 1rem; align-items: flex-start; }
.uc-icon { width: 38px; height: 38px; background: rgba(61,99,245,.12); border: 1px solid rgba(61,99,245,.2); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.use-case strong { display: block; font-size: .9rem; font-weight: 700; margin-bottom: .2rem; }
.use-case p { color: var(--muted); font-size: .83rem; line-height: 1.6; }
.industry-stats { display: flex; flex-direction: column; gap: 1rem; }
.ind-stat { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.3rem 1.5rem; }
.stat-big { font-family: var(--font2); font-size: 2.4rem; font-weight: 900; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; display: block; line-height: 1; margin-bottom: .3rem; }
.ind-stat p { color: var(--muted); font-size: .83rem; line-height: 1.5; }
.compliance-tags { display: flex; flex-wrap: wrap; gap: .4rem; padding-top: .5rem; }
.compliance-tags span { background: rgba(0,201,122,.1); border: 1px solid rgba(0,201,122,.25); color: var(--green); font-size: .72rem; font-weight: 700; padding: .22rem .7rem; border-radius: 50px; }

/* ── AI BOTS SECTION ── */
.ai-bots { background: var(--bg); }
.bot-demo-tabs { display: flex; gap: .6rem; justify-content: center; margin-bottom: 2rem; flex-wrap: wrap; }
.bdt { padding: .6rem 1.4rem; border-radius: 50px; background: rgba(255,255,255,.05); border: 1px solid var(--border); color: var(--muted); font-size: .9rem; font-weight: 600; cursor: pointer; transition: .25s; }
.bdt:hover, .bdt.active { background: var(--gradient); border-color: transparent; color: #fff; box-shadow: 0 4px 16px rgba(61,99,245,.35); }
.bot-demo-area { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; }
.demo-panel { display: none; grid-template-columns: 1fr 1fr; }
.demo-panel.active { display: grid; animation: fadeIn .35s ease; }
@keyframes fadeIn { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:translateY(0)} }
.demo-left { padding: 2.5rem; border-right: 1px solid var(--border); }
.demo-left h4 { font-family: var(--font2); font-size: 1.2rem; font-weight: 700; margin-bottom: .6rem; }
.demo-left > p { color: var(--muted); font-size: .9rem; line-height: 1.75; margin-bottom: 1.5rem; }
.demo-capabilities { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.5rem; }
.demo-capabilities span { background: rgba(61,99,245,.1); border: 1px solid rgba(61,99,245,.22); color: var(--blue-light); font-size: .77rem; font-weight: 600; padding: .25rem .75rem; border-radius: 50px; }
.demo-platforms { display: flex; gap: .6rem; margin-bottom: 1.8rem; flex-wrap: wrap; }
.plat { background: rgba(255,255,255,.05); border: 1px solid var(--border); color: var(--muted); font-size: .8rem; font-weight: 600; padding: .3rem .8rem; border-radius: 8px; }
.demo-right { padding: 2.5rem; display: flex; align-items: center; justify-content: center; }
.chat-window { width: 100%; max-width: 380px; background: var(--bg2); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,.3); }
.chat-header { display: flex; align-items: center; gap: .8rem; padding: 1rem 1.2rem; background: var(--surface); border-bottom: 1px solid var(--border); }
.bot-avatar-sm { width: 36px; height: 36px; background: var(--gradient); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.chat-header strong { font-size: .9rem; font-weight: 700; display: block; }
.online { font-size: .73rem; color: var(--green); }
.chat-body { padding: 1rem; display: flex; flex-direction: column; gap: .6rem; min-height: 220px; max-height: 260px; overflow-y: auto; }
.cm { padding: .6rem .9rem; border-radius: 12px; font-size: .82rem; line-height: 1.55; max-width: 88%; }
.cm.bot { background: rgba(61,99,245,.14); border: 1px solid rgba(61,99,245,.2); align-self: flex-start; }
.cm.user { background: var(--gradient); color: #fff; align-self: flex-end; }
.chat-input-row { display: flex; gap: .5rem; padding: .8rem 1rem; border-top: 1px solid var(--border); background: var(--surface); }
.chat-input-row input { flex: 1; background: rgba(255,255,255,.05); border: 1px solid var(--border); border-radius: 8px; padding: .5rem .8rem; color: var(--text); font-family: var(--font); font-size: .82rem; outline: none; }
.chat-input-row input:focus { border-color: var(--blue-light); }
.chat-input-row button { background: var(--gradient); border: none; color: #fff; width: 34px; height: 34px; border-radius: 8px; cursor: pointer; font-size: 1rem; transition: transform .2s; }
.chat-input-row button:hover { transform: scale(1.1); }

/* ── FREE TOOLS ── */
.free-tools { background: var(--bg2); }
.tools-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem; margin-bottom: 2.5rem; }
.tool-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.8rem; position: relative; transition: transform .3s, border-color .3s, box-shadow .3s; display: flex; flex-direction: column; }
.tool-card:hover { transform: translateY(-5px); border-color: rgba(61,99,245,.38); box-shadow: 0 12px 40px rgba(0,0,0,.35); }
.tool-card.hot { border-color: rgba(255,107,53,.25); background: linear-gradient(160deg, var(--surface), rgba(255,107,53,.06)); }
.tool-card.hot:hover { border-color: rgba(255,107,53,.4); }
.tool-icon { font-size: 2.4rem; margin-bottom: 1rem; }
.tool-badge { position: absolute; top: 1.2rem; right: 1.2rem; font-size: .7rem; font-weight: 800; padding: .22rem .75rem; border-radius: 50px; }
.tool-badge.free { background: rgba(0,201,122,.15); border: 1px solid rgba(0,201,122,.3); color: var(--green); }
.tool-badge.hot-badge { background: linear-gradient(135deg,#ff6b35,#f59e0b); color: #fff; }
.tool-card h4 { font-family: var(--font2); font-size: 1rem; font-weight: 700; margin-bottom: .5rem; padding-right: 3rem; }
.tool-card p { color: var(--muted); font-size: .86rem; line-height: 1.7; margin-bottom: 1rem; }
.tool-perks { margin-bottom: 1.4rem; display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.tool-perks li { color: var(--muted); font-size: .82rem; }
.btn-tool { display: inline-flex; align-items: center; background: rgba(61,99,245,.12); border: 1px solid rgba(61,99,245,.28); color: var(--blue-light); padding: .55rem 1.2rem; border-radius: 50px; font-size: .85rem; font-weight: 600; cursor: pointer; transition: .25s; margin-top: auto; }
.btn-tool:hover { background: var(--gradient); border-color: transparent; color: #fff; }
.tool-card.hot .btn-tool { background: rgba(255,107,53,.12); border-color: rgba(255,107,53,.28); color: var(--orange); }
.tool-card.hot .btn-tool:hover { background: linear-gradient(135deg,#ff6b35,#f59e0b); border-color: transparent; color: #fff; }

/* Newsletter strip */
.newsletter-strip { background: linear-gradient(135deg, rgba(61,99,245,.15), rgba(0,212,255,.08)); border: 1px solid rgba(61,99,245,.28); border-radius: var(--radius); padding: 2.2rem 2.5rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.nl-text h3 { font-family: var(--font2); font-size: 1.15rem; font-weight: 700; margin-bottom: .3rem; }
.nl-text p { color: var(--muted); font-size: .87rem; }
.nl-form { display: flex; gap: .6rem; flex-wrap: wrap; }
.nl-form input { background: rgba(255,255,255,.06); border: 1px solid var(--border); border-radius: 50px; padding: .65rem 1.2rem; color: var(--text); font-family: var(--font); font-size: .88rem; outline: none; width: 240px; transition: border-color .2s; }
.nl-form input:focus { border-color: var(--blue-light); }
.nl-form button { background: var(--gradient); border: none; color: #fff; padding: .65rem 1.4rem; border-radius: 50px; font-weight: 700; font-size: .88rem; cursor: pointer; transition: box-shadow .2s; }
.nl-form button:hover { box-shadow: 0 4px 16px rgba(61,99,245,.4); }

/* ── CONTACT ── */
.contact { background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 5rem; align-items: start; }
.contact-left .section-label { text-align: left; }
.contact-left h2 { font-family: var(--font2); font-size: clamp(1.6rem,2.5vw,2.4rem); font-weight: 800; margin-bottom: 1rem; }
.contact-left > p { color: var(--muted); line-height: 1.8; margin-bottom: 1.8rem; }
.contact-offers { display: flex; flex-direction: column; gap: .7rem; margin-bottom: 2rem; }
.co-item { display: flex; align-items: center; gap: .6rem; font-size: .9rem; }
.contact-info { display: flex; flex-direction: column; gap: .9rem; }
.info-item { display: flex; align-items: flex-start; gap: .9rem; }
.info-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: .1rem; }
.info-item strong { display: block; font-size: .83rem; font-weight: 700; margin-bottom: .1rem; }
.info-item p { color: var(--muted); font-size: .86rem; }
.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2.3rem; }
.contact-form h3 { font-family: var(--font2); font-size: 1.25rem; font-weight: 700; margin-bottom: .3rem; }
.form-sub { color: var(--muted); font-size: .83rem; margin-bottom: 1.6rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.form-group label { font-size: .81rem; font-weight: 600; color: var(--text); }
.form-group input, .form-group select, .form-group textarea { background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: 10px; padding: .7rem 1rem; color: var(--text); font-family: var(--font); font-size: .88rem; transition: border-color .2s; outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--blue-light); background: rgba(61,99,245,.04); }
.form-group select { appearance: none; cursor: pointer; }
.form-group textarea { resize: vertical; }
.checkbox-group { flex-direction: row; align-items: center; }
.checkbox-label { display: flex; align-items: center; gap: .6rem; cursor: pointer; font-size: .86rem; color: var(--muted); }
.checkbox-label input { width: 16px; height: 16px; accent-color: var(--blue-light); cursor: pointer; }
.form-note { text-align: center; color: var(--muted); font-size: .76rem; margin-top: .7rem; }
.form-success { display: none; text-align: center; margin-top: 1rem; padding: 1rem; background: rgba(0,201,122,.1); border: 1px solid rgba(0,201,122,.28); border-radius: 10px; color: var(--green); font-weight: 600; font-size: .88rem; }

/* ── FOOTER ── */
.footer { background: var(--surface); border-top: 1px solid var(--border); padding: 4rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.2fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-logo { height: auto; margin-bottom: 1rem; display: block; }
.footer-brand p { color: var(--muted); font-size: .85rem; line-height: 1.75; max-width: 280px; margin-bottom: 1.2rem; }
.footer-social { display: flex; gap: .5rem; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.05); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: .85rem; font-weight: 700; transition: .3s; }
.footer-social a:hover { background: var(--gradient); border-color: transparent; }
.footer-col h5 { font-weight: 700; margin-bottom: 1.1rem; font-size: .88rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .55rem; }
.footer-col ul li a { color: var(--muted); font-size: .84rem; transition: color .2s; }
.footer-col ul li a:hover { color: var(--blue-light); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 1.4rem; display: flex; align-items: center; justify-content: space-between; font-size: .8rem; color: var(--muted); flex-wrap: wrap; gap: 1rem; }
.footer-bottom a { color: var(--muted); margin-left: 1.5rem; transition: color .2s; }
.footer-bottom a:hover { color: var(--blue-light); }

/* ── BACK TO TOP ── */
.back-to-top { position: fixed; bottom: 2rem; right: 2rem; z-index: 999; width: 44px; height: 44px; border-radius: 50%; background: var(--gradient); color: #fff; border: none; font-size: 1.2rem; cursor: pointer; opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .3s; box-shadow: 0 4px 16px rgba(61,99,245,.4); }
.back-to-top.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .tools-grid { grid-template-columns: repeat(2,1fr); }
  .industry-grid, .industry-grid.reverse { grid-template-columns: 1fr; }
  .demo-panel.active { grid-template-columns: 1fr; }
  .demo-left { border-right: none; border-bottom: 1px solid var(--border); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .btn-nav { display: none; }
  .hamburger { display: flex; }
  .nav-links.open { display: flex; flex-direction: column; align-items: center; position: fixed; inset: 0; background: rgba(5,11,31,.97); justify-content: center; gap: 2rem; z-index: 999; }
  .nav-links.open a { font-size: 1.3rem; color: var(--text); }
  .hero { flex-direction: column; text-align: center; padding-top: 8rem; gap: 2.5rem; }
  .hero-visual { width: 100%; }
  .hero p { max-width: 100%; }
  .hero-cta, .hero-industries { justify-content: center; }
  .services-grid, .tools-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .newsletter-strip { flex-direction: column; text-align: center; }
  .nl-form input { width: 100%; }
  .industry-block { padding: 1.5rem; }
  .industry-header { gap: .8rem; }
  .ind-badge { margin-left: 0; }
}

/* ── LIGHT MODE OVERRIDES ── */
[data-theme="light"] body { background: var(--bg); color: var(--text); }
[data-theme="light"] #particleCanvas { opacity: .2; }
[data-theme="light"] .service-card,
[data-theme="light"] .tool-card,
[data-theme="light"] .industry-block,
[data-theme="light"] .its-block,
[data-theme="light"] .bot-showcase,
[data-theme="light"] .contact-form { background: var(--surface); border-color: var(--border); box-shadow: 0 4px 24px rgba(0,74,173,.08); }
[data-theme="light"] .service-card.featured { background: linear-gradient(160deg, #fff, rgba(0,74,173,.06)); }
[data-theme="light"] .its-block.alt { background: linear-gradient(160deg, #fff, rgba(0,74,173,.04)); }
[data-theme="light"] .chat-window,
[data-theme="light"] .pipeline-viz,
[data-theme="light"] .security-viz,
[data-theme="light"] .arch-viz,
[data-theme="light"] .infra-grid { background: var(--bg2); }
[data-theme="light"] .chat-body,
[data-theme="light"] .bot-chat { background: var(--bg2); }
[data-theme="light"] .chat-header,
[data-theme="light"] .chat-input-row { background: var(--bg); }
[data-theme="light"] .marquee-bar { background: var(--bg2); }
[data-theme="light"] .section-label { background: rgba(0,74,173,.09); color: var(--blue); }
[data-theme="light"] .bot-msg,
[data-theme="light"] .cm.bot { background: rgba(0,74,173,.09); border-color: rgba(0,74,173,.16); color: var(--text); }
[data-theme="light"] .ind-stat { background: var(--bg2); }
[data-theme="light"] .pipe-step { background: rgba(0,74,173,.07); border-color: rgba(0,74,173,.15); }
[data-theme="light"] .pipe-step.active { background: rgba(0,74,173,.16); border-color: rgba(0,74,173,.38); }
[data-theme="light"] .its-metric { background: var(--bg2); }
[data-theme="light"] .infra-card { background: rgba(0,74,173,.06); border-color: rgba(0,74,173,.12); }
[data-theme="light"] .infra-card:hover { background: rgba(0,74,173,.12); border-color: rgba(0,74,173,.25); }
[data-theme="light"] .demo-capabilities span { background: rgba(0,74,173,.08); border-color: rgba(0,74,173,.2); }
[data-theme="light"] .newsletter-strip { background: linear-gradient(135deg, rgba(0,74,173,.09), rgba(254,179,17,.07)); border-color: rgba(0,74,173,.2); }
[data-theme="light"] .nl-form input { background: rgba(0,74,173,.05); }
[data-theme="light"] .footer { background: var(--surface); border-top-color: var(--border); }
[data-theme="light"] .footer-social a { background: rgba(0,74,173,.07); }
[data-theme="light"] .nav-links.open { background: rgba(244,247,255,.98); }
[data-theme="light"] .nav-links.open a { color: var(--text); }
[data-theme="light"] .globe-canvas-wrap::before { background: radial-gradient(circle, rgba(0,74,173,.06) 0%, transparent 70%); }
[data-theme="light"] #globeCanvas { filter: drop-shadow(0 0 30px rgba(0,74,173,.2)); }
[data-theme="light"] .bot-tags span { background: rgba(0,0,0,.04); border-color: var(--border); }
[data-theme="light"] .plat { background: rgba(0,74,173,.06); }
[data-theme="light"] .hero-badge { background: rgba(254,179,17,.12); border-color: rgba(254,179,17,.4); }
[data-theme="light"] .btn-ghost { background: rgba(0,74,173,.06); border-color: rgba(0,74,173,.22); color: var(--text); }
[data-theme="light"] .btn-ghost:hover { background: rgba(0,74,173,.12); }
[data-theme="light"] .arch-box { background: rgba(0,74,173,.08); border-color: rgba(0,74,173,.18); }
[data-theme="light"] .arch-box.accent { background: rgba(0,74,173,.18); border-color: rgba(0,74,173,.38); }
