/* ================================================================
   OASIS TECH SOLUTIONS — FULL RESPONSIVE CSS v7.0
   Performance-first, 120fps smooth, zero backdrop-filter
   ================================================================ */

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: #080808;
  color: #9CA3AF;
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;               /* horizontal only — never block vertical */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  touch-action: pan-y;              /* tell browser: vertical scroll is always ok */
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ===== CSS VARIABLES ===== */
:root {
  --primary: #815EFF;
  --blue: #3B82F6;
  --dark: #080808;
  --gray: #a8afba;
  --border: rgba(255,255,255,0.08);
  --glass: rgba(255,255,255,0.04);
  --header-h: 80px;
}

/* ===== TYPOGRAPHY ===== */
h1 { font-size: clamp(2.6rem,6vw,5rem); font-weight: 900; color: #fff; line-height: 1.1; }
h2 { font-size: clamp(2rem,4vw,3rem); font-weight: 800; color: #fff; line-height: 1.2; }
h3 { font-size: 1.35rem; font-weight: 700; color: #fff; }
h4 { font-size: 1.1rem;  font-weight: 700; color: #fff; }
h5 { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
p  { color: var(--gray); line-height: 1.75; }

/* ===== LAYOUT ===== */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section    { padding: 6rem 0; }
.two-col    { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header p { max-width: 580px; margin: 1rem auto 0; }
.section-tag {
  display: inline-block;
  background: rgba(129,94,255,0.1); border: 1px solid rgba(129,94,255,0.25);
  color: #a78bfa; padding: 0.3rem 1rem;
  border-radius: 2rem; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem;
}
.text-primary { color: var(--primary); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem; border-radius: 3rem;
  font-size: 0.9rem; font-weight: 700; text-decoration: none;
  transition: all 0.3s; cursor: pointer; white-space: nowrap;
}
.btn-primary  { background: var(--primary); color: #000; }
.btn-primary:hover  { background: var(--blue); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(129,94,255,0.35); }
.btn-outline  { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.btn-outline:hover  { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ===== HEADER ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  display: flex; align-items: center; padding: 0 2rem;
  background: rgba(8,8,8,0.92);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.site-header.scrolled { background: rgba(8,8,8,0.98); }
.header-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 1280px; margin: 0 auto; }

/* Logo */
.logo-link { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.logo-link img {
  height: 80px !important; width: auto !important;
  max-width: 200px !important; object-fit: contain;
  transition: transform 0.3s;
}
.logo-link:hover img { transform: scale(1.05); }

/* Desktop Nav */
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav a {
  color: var(--gray); font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; transition: color 0.25s; white-space: nowrap;
}
.nav a:hover, .nav a.active { color: #fff; }
.btn-contact {
  background: var(--primary) !important; color: #000 !important;
  padding: 0.5rem 1.35rem; border-radius: 2rem;
  font-size: 0.73rem !important; font-weight: 800 !important;
  letter-spacing: 0.06em !important;
  transition: all 0.3s !important; white-space: nowrap;
}
.btn-contact:hover { background: var(--blue) !important; color: #fff !important; transform: scale(1.05); }
.nav .menu-item a { color: var(--gray); font-size: 0.76rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; transition: color 0.25s; text-decoration: none; }
.nav .menu-item a:hover, .nav .current-menu-item a { color: #fff; }

/* Hamburger */
.hamburger {
  display: none; background: none; border: none;
  cursor: pointer; flex-direction: column; gap: 5px; padding: 8px;
  z-index: 1002; border-radius: 0.5rem; transition: background 0.2s;
}
.hamburger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav — NO backdrop-filter (causes lag) */
.mobile-nav {
  display: none;
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: #0a0a0a;
  flex-direction: column;
  padding: 5rem 1.5rem 2rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-nav.open { display: flex; }
.mob-close {
  position: absolute; top: 1.1rem; right: 1.1rem;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.6rem; width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: #fff;
}
.mob-logo { margin-bottom: 2rem; }
.mob-logo img { height: 60px; width: auto; max-width: 160px; object-fit: contain; }
.mob-link {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 0.95rem 1rem; margin-bottom: 0.2rem;
  color: rgba(255,255,255,0.75); font-size: 1.05rem; font-weight: 500;
  text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.07);
  border-radius: 0.6rem; transition: color 0.2s, background 0.2s;
}
.mob-link:hover { color: #fff; background: rgba(129,94,255,0.1); }
.mob-icon-wrap {
  width: 34px; height: 34px; border-radius: 0.5rem; flex-shrink: 0;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
}
.mob-cta {
  display: block; text-align: center; margin-top: 1.5rem;
  background: var(--primary); color: #000 !important;
  font-weight: 800; font-size: 1rem; padding: 1rem 2rem;
  border-radius: 3rem; text-decoration: none; transition: all 0.3s;
}
.mob-cta:hover { background: var(--blue); color: #fff !important; }
body.menu-open { overflow: hidden; }

/* Page content below fixed header */
.oasis-main { padding-top: var(--header-h); display: block; }

/* ===== HERO ===== */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: #080808;
  overflow: hidden;
  touch-action: pan-y;   /* always allow vertical scroll through hero */
}
#heroCanvas {
  position: absolute;
  top: 0; left: 0;
  width: 100% !important;
  height: 100% !important;
  z-index: 1;
  display: block;
  pointer-events: none;  /* CRITICAL: let all touch/click events pass through to page */
  touch-action: none;    /* canvas does not consume any gestures */
}
/* Hero content — floats above canvas, NO container */
.hero-content {
  position: relative; z-index: 10;
  text-align: center; width: 100%;
  max-width: 720px; margin: 0 auto;
  padding: 3rem 2rem;
}
.hero-content h1 { text-shadow: 0 2px 30px rgba(0,0,0,0.7); margin-bottom: 1rem; }
.hero-content p  { text-shadow: 0 1px 15px rgba(0,0,0,0.6); margin-bottom: 2rem; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(129,94,255,0.1); border: 1px solid rgba(129,94,255,0.3);
  color: var(--primary); padding: 0.4rem 1.1rem;
  border-radius: 2rem; font-size: 0.8rem; font-weight: 600;
  margin-bottom: 1.5rem; letter-spacing: 0.05em;
}
.hero-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); display: block; animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.3)} }

/* Hero h1 & desc responsive classes */
.hero-h1 {
  margin-bottom: 1.5rem;
  max-width: 860px;
  margin-left: auto; margin-right: auto;
  line-height: 1.08;
  font-size: clamp(2.4rem, 7vw, 5rem);
}
.hero-ai-text { color: var(--primary); display: block; }
.hero-desc {
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* ===== GALAXY SVG OVERLAY ===== */
.hero-galaxy-svg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 2;
  pointer-events: none;
  touch-action: none;
}

/* ===== JS ORBIT BADGE SYSTEM ===== */
/* orbitContainer: fills the hero, clip to prevent overflow */
#orbitContainer {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  touch-action: none;
  overflow: hidden;
}

/* Each badge is absolutely positioned by JS via left/top */
.orbit-badge {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 5px;
  background: rgba(8,8,8,0.90);
  border: 1px solid rgba(129,94,255,0.35);
  border-radius: 2rem;
  padding: 0.3rem 0.65rem;
  font-size: 0.62rem; font-weight: 700;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
  letter-spacing: 0.03em;
  will-change: left, top;
  transition: opacity 0.3s;
}

/* ===== GLASS CARDS ===== */
.glass-card {
  background: var(--glass); border: 1px solid var(--border); border-radius: 1.25rem;
  padding: 2rem; transition: transform 0.35s ease, border-color 0.3s ease, box-shadow 0.35s ease;
  will-change: transform;
}
.glass-card:hover { transform: translate3d(0,-6px,0); border-color: rgba(129,94,255,0.3); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.card-grid   { display: grid; gap: 1.5rem; }
.card-grid-2 { grid-template-columns: repeat(2,1fr); }
.card-grid-3 { grid-template-columns: repeat(3,1fr); }
.service-icon { width: 56px; height: 56px; border-radius: 1rem; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }
.service-icon svg { width: 28px; height: 28px; }
.icon-primary { background: rgba(129,94,255,0.12); color: var(--primary); }
.icon-blue    { background: rgba(59,130,246,0.12);  color: var(--blue); }
.badge { display: inline-block; padding: 0.25rem 0.75rem; border-radius: 2rem; font-size: 0.72rem; font-weight: 700; }
.badge-primary { background: rgba(129,94,255,0.15); color: var(--primary); }
.badge-blue    { background: rgba(59,130,246,0.15);  color: var(--blue); }
.tag-row { display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* ===== STATS BAR ===== */
.stats-bar { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--border); border-radius: 1rem; overflow: hidden; }
.stat-item { padding: 2rem; text-align: center; border-right: 1px solid var(--border); }
.stat-item:last-child { border-right: none; }
.stat-num { font-size: 2.5rem; font-weight: 900; color: #fff; line-height: 1; }
.stat-label { font-size: 0.85rem; color: var(--gray); margin-top: 0.4rem; }

/* ===== PAGE HERO ===== */
.page-hero { padding: 5rem 0 3rem; text-align: center; }
.page-hero h1 { font-size: clamp(2.2rem,5vw,3.8rem); }
.page-hero p  { max-width: 600px; margin: 1rem auto 0; font-size: 1.1rem; }

/* ===== CTA SECTION ===== */
.cta-section { text-align: center; padding: 4rem 2rem; background: var(--glass); border: 1px solid var(--border); border-radius: 2rem; }
.cta-section h2 { margin-bottom: 1rem; }
.cta-section p  { margin-bottom: 2.5rem; }

/* ===== FOOTER ===== */
.site-footer {
  background: #050505;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
  align-items: start;
}
.footer-brand img { height: 60px !important; width: auto !important; max-width: 160px !important; object-fit: contain; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; max-width: 280px; }
.footer-social { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1.25rem; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 0.5rem;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  transition: transform 0.2s, background 0.2s;
  text-decoration: none;
}
.footer-social a:hover { transform: translateY(-3px); background: rgba(255,255,255,0.1); }
.footer-col h3 { color: #fff; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1.25rem; }
.footer-col a { display: block; color: var(--gray); font-size: 0.88rem; margin-bottom: 0.65rem; text-decoration: none; transition: color 0.25s; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07); padding-top: 1.75rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.83rem; color: var(--gray); }

/* ===== WORKFLOW ===== */
.workflow-nodes { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.node { text-align: center; }
.node h3 { font-size: 1.1rem; }
.node-icon { width: 72px; height: 72px; border-radius: 1.25rem; background: var(--glass); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; color: var(--primary); }
.connector-row { display: flex; align-items: center; justify-content: center; gap: 0; margin: 1.5rem 0; }
.connector-line { flex: 1; height: 1px; background: linear-gradient(to right, transparent, rgba(129,94,255,0.3), transparent); }
.connector-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--primary); flex-shrink: 0; }

/* ===== SCROLL REVEAL (GPU composited) ===== */
.reveal { opacity: 0; transform: translate3d(0,24px,0); transition: opacity 0.6s ease, transform 0.6s ease; will-change: opacity, transform; }
.reveal.visible { opacity: 1; transform: translate3d(0,0,0); }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.glow-orb { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.glow-blue { background: rgba(59,130,246,0.15); }

/* ===== PORTFOLIO ===== */
.portfolio-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.portfolio-item {
  border-radius: 1.25rem; overflow: hidden;
  border: 1px solid var(--border); background: #111;
  position: relative; aspect-ratio: 4/3;
  transition: opacity 0.4s, transform 0.4s;
  cursor: pointer;
}
.portfolio-item:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.5); border-color: rgba(129,94,255,0.3); }
/* Center content (icon + title) — always visible */
.portfolio-center {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 2rem; text-align: center; gap: 0.5rem;
  transition: opacity 0.35s;
}
.portfolio-item:hover .portfolio-center { opacity: 0.15; }
/* Overlay (description) — hidden, show on hover */
.portfolio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.98) 0%, rgba(8,8,8,0.85) 60%, rgba(8,8,8,0.5) 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem;
  opacity: 0; transition: opacity 0.35s ease;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-tag {
  display: inline-block; padding: 0.2rem 0.6rem; border-radius: 2rem;
  font-size: 0.72rem; font-weight: 700;
  background: rgba(129,94,255,0.15); color: var(--primary);
  margin-top: 0.3rem; width: fit-content;
}
/* Filter bar */
.filter-bar { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 2rem; }
.filter-btn { padding: 0.5rem 1.25rem; border-radius: 2rem; border: 1px solid var(--border); background: transparent; color: var(--gray); font-size: 0.8rem; font-weight: 600; cursor: pointer; transition: all 0.3s; }
.filter-btn.active, .filter-btn:hover { background: var(--primary); color: #000; border-color: var(--primary); }

/* ===== CHAT BOT ===== */
.chat-box {
  background: #0d0d0d; border: 1px solid rgba(129,94,255,0.15);
  border-radius: 1.25rem; overflow: hidden;
  box-shadow: 0 8px 32px rgba(129,94,255,0.08);
}
.chat-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 0.75rem;
}
.chat-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #25D366; flex-shrink: 0;
  animation: pulse-dot 2s infinite;
}
.chat-name { color: #fff; font-weight: 700; font-size: 0.9rem; }
.chat-status { color: var(--gray); font-size: 0.75rem; }
.chat-messages {
  max-height: 300px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 1.5rem; display: flex; flex-direction: column; gap: 0.8rem;
}
.msg {
  padding: 0.75rem 1.1rem; border-radius: 1rem;
  font-size: 0.88rem; max-width: 82%; line-height: 1.5;
}
.msg-bot, .msg-bot-reply {
  background: rgba(129,94,255,0.12); color: #fff;
  align-self: flex-start; border-bottom-left-radius: 0.3rem;
}
.msg-user {
  background: rgba(255,255,255,0.08); color: #e0e0e0;
  align-self: flex-end; border-bottom-right-radius: 0.3rem;
}
.chat-input {
  display: flex; gap: 0.5rem; padding: 0.75rem 1rem;
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.chat-input input {
  flex: 1; background: rgba(255,255,255,0.05);
  border: 1px solid var(--border); border-radius: 0.6rem;
  padding: 0.6rem 1rem; color: #fff; font-size: 0.85rem;
  outline: none; transition: border-color 0.3s;
  -webkit-appearance: none;
}
.chat-input input:focus { border-color: var(--primary); }
.chat-send {
  background: var(--primary); border: none; border-radius: 0.6rem;
  width: 38px; height: 38px; display: flex; align-items: center;
  justify-content: center; cursor: pointer; transition: all 0.2s;
}
.chat-send:hover { background: var(--blue); transform: scale(1.05); }

/* Mobile: chat-box on home page is DECORATIVE — remove all scroll interception */
@media (max-width: 768px) {
  .chat-box {
    pointer-events: none; /* does not capture any touch events */
  }
  .chat-messages {
    overflow: hidden;       /* no scrollable area = no touch event conflict */
    max-height: none;
    -webkit-overflow-scrolling: unset;
    overscroll-behavior: unset;
  }
}

/* ===== ICON SYSTEM ===== */
.icon { display: inline-block; flex-shrink: 0; }

/* ================================================================
   RESPONSIVE — Mobile-first comprehensive breakpoints
   ================================================================ */

/* ── TABLET LANDSCAPE (≤1024px) ── */
@media (max-width: 1024px) {
  .card-grid-3 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .workflow-nodes { grid-template-columns: repeat(2,1fr); }
  .portfolio-grid { grid-template-columns: repeat(2,1fr); gap: 1.25rem; }
  .nav { gap: 1.25rem; }
  .nav a { font-size: 0.7rem; }
  .logo-link img { height: 70px !important; }
  .hero-content { padding: 5rem 2rem 3.5rem; }
  .stats-bar { grid-template-columns: repeat(2,1fr); }
  .stat-item { padding: 1.5rem 1rem; }
  .stat-num { font-size: 2rem; }
  .two-col { gap: 2.5rem; }
}

/* ── TABLET PORTRAIT (≤768px) ── */
@media (max-width: 768px) {
  :root { --header-h: 66px; }
  .container { padding: 0 1.25rem; }
  .section { padding: 3.5rem 0; }
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .card-grid-2, .card-grid-3 { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2,1fr); gap: 1rem; }
  .stats-bar { grid-template-columns: repeat(2,1fr); }
  .stat-item { padding: 1.25rem 0.75rem; }
  .stat-num { font-size: 1.8rem; }
  .stat-label { font-size: 0.78rem; }
  .workflow-nodes { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: 100%; }
  /* Nav swap */
  .nav { display: none !important; }
  .hamburger { display: flex !important; }
  /* Hero */
  .hero { min-height: 90vh; }
  .hero-content { padding: 2.5rem 1.5rem; z-index: 10; }
  .hero-h1 { font-size: clamp(2rem,8vw,3rem); }
  .hero-badge { font-size: 0.7rem; padding: 0.35rem 0.9rem; }
  /* Orbit badges: slightly smaller on tablet */
  .orbit-badge { font-size: 0.55rem; padding: 0.25rem 0.5rem; gap: 3px; }
  .orbit-badge svg { width: 11px; height: 11px; }
  /* Galaxy SVG: simplify on mobile (opacity drop) */
  .hero-galaxy-svg { opacity: 0.6; }
  /* Cards */
  .glass-card { padding: 1.5rem; }
  .service-icon { width: 48px; height: 48px; margin-bottom: 1rem; }
  .service-icon svg { width: 24px; height: 24px; }
  /* CTA */
  .cta-section { padding: 2.5rem 1.25rem; border-radius: 1.25rem; }
  .section-header { margin-bottom: 2.5rem; }
  .section-header p { font-size: 0.9rem; }
  /* Buttons */
  .btn { padding: 0.75rem 1.5rem; font-size: 0.85rem; }
  .btn-row { justify-content: center; }
  /* Chat */
  .chat-messages { max-height: 240px; padding: 1rem; }
  .msg { font-size: 0.82rem; max-width: 88%; }
  /* Logo */
  .logo-link img { height: 58px !important; max-width: 150px !important; }
  /* Page hero */
  .page-hero { padding: 3rem 0 2rem; }
  .page-hero h1 { font-size: clamp(1.8rem,6vw,2.5rem); }
  .page-hero p { font-size: 0.95rem; }
}

/* ── MOBILE (≤480px) ── */
@media (max-width: 480px) {
  :root { --header-h: 60px; }
  .site-header { padding: 0 0.75rem; }
  .container { padding: 0 1rem; }
  .section { padding: 2.5rem 0; }
  /* Hero */
  .hero { min-height: 85vh; }
  .hero-content { padding: 2rem 1.25rem; }
  .hero-h1 { font-size: clamp(1.7rem,7.5vw,2.4rem); margin-bottom: 0.75rem !important; }
  .hero-desc { font-size: 0.9rem; margin-bottom: 1.5rem !important; line-height: 1.6; }
  .hero-badge { font-size: 0.65rem; padding: 0.3rem 0.75rem; margin-bottom: 0.75rem; }
  /* Orbit: hide on phones — too small and overlaps hero text */
  #orbitContainer { display: none; }
  .orbit-badge { display: none; }
  .hero-galaxy-svg { opacity: 0.4; }
  /* Buttons */
  .btn { padding: 0.7rem 1.25rem; font-size: 0.82rem; border-radius: 2.5rem; }
  .btn-row { flex-direction: column; align-items: center; gap: 0.75rem; width: 100%; }
  .btn-row .btn { width: 100%; max-width: 280px; justify-content: center; }
  /* Stats */
  .stats-bar { grid-template-columns: 1fr 1fr; border-radius: 0.75rem; }
  .stat-item { padding: 1rem 0.5rem; }
  .stat-num { font-size: 1.5rem; }
  .stat-label { font-size: 0.72rem; }
  /* Cards */
  .glass-card { padding: 1.25rem; border-radius: 1rem; }
  h2 { font-size: clamp(1.5rem,5.5vw,2rem); }
  h3 { font-size: 1.15rem; }
  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .site-footer { padding: 2.5rem 0 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.5rem; }
  /* Portfolio */
  .portfolio-grid { grid-template-columns: 1fr; gap: 1rem; }
  .portfolio-item { aspect-ratio: 16/10; }
  .portfolio-overlay { opacity: 1; } /* always show on mobile (no hover) */
  .portfolio-center { opacity: 0.15; }
  /* Chat */
  .chat-messages { max-height: 200px; padding: 0.75rem; gap: 0.6rem; }
  .chat-header { padding: 0.75rem 1rem; }
  .msg { font-size: 0.8rem; padding: 0.6rem 0.9rem; }
  .chat-input { padding: 0.5rem 0.75rem; }
  .chat-input input { padding: 0.5rem 0.75rem; font-size: 0.8rem; }
  .chat-send { width: 34px; height: 34px; }
  /* CTA */
  .cta-section { padding: 2rem 1rem; border-radius: 1rem; }
  .cta-section h2 { font-size: 1.4rem; }
  /* Logo */
  .logo-link img { height: 50px !important; max-width: 130px !important; }
  /* Mobile nav adjustments */
  .mob-link { padding: 0.85rem 0.75rem; font-size: 0.95rem; }
  .mob-icon-wrap { width: 30px; height: 30px; }
  .mob-cta { padding: 0.85rem 1.5rem; font-size: 0.9rem; }
  .mob-logo img { height: 50px; }
  /* Two-col list items */
  .two-col ul li { font-size: 0.88rem; }
  /* Section tags */
  .section-tag { font-size: 0.65rem; padding: 0.25rem 0.75rem; }
  .section-header { margin-bottom: 2rem; }
}

/* ── SMALL MOBILE (≤360px) ── */
@media (max-width: 360px) {
  :root { --header-h: 56px; }
  .container { padding: 0 0.75rem; }
  .hero-content { padding: 2rem 0.75rem 1.5rem; }
  .hero-content h1 { font-size: 1.6rem; }
  .hero-content p { font-size: 0.85rem; }
  .btn { padding: 0.65rem 1rem; font-size: 0.78rem; }
  .stat-num { font-size: 1.3rem; }
  .glass-card { padding: 1rem; }
  h2 { font-size: 1.35rem; }
  .logo-link img { height: 44px !important; max-width: 110px !important; }
  .mob-link { font-size: 0.88rem; padding: 0.75rem 0.5rem; }
}

/* ── Touch device optimizations ── */
@media (hover: none) {
  .portfolio-overlay { opacity: 1; }
  .portfolio-center { opacity: 0.15; }
  .glass-card:hover { transform: none; }
  .btn:hover { transform: none; }
}

/* Scroll animation counter */
.counter { display: inline; }

/* ===== MISSING UTILITY CLASSES ===== */
.text-blue { color: var(--blue); }
.btn-blue {
  background: var(--blue); color: #fff;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem; border-radius: 3rem;
  font-size: 0.9rem; font-weight: 700; text-decoration: none;
  transition: all 0.3s; cursor: pointer; white-space: nowrap;
}
.btn-blue:hover { background: var(--primary); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(59,130,246,0.35); }

/* ===== TWO-COL REVERSE (Digital Solutions) ===== */
.two-col-reverse { direction: rtl; }
.two-col-reverse > * { direction: ltr; }
@media (max-width: 768px) {
  .two-col-reverse { direction: ltr; }
}

/* ===== PROCESS STEPS (Digital Solutions) ===== */
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: flex; gap: 1.25rem; align-items: flex-start;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step-num {
  width: 48px; height: 48px; border-radius: 0.85rem; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 900; letter-spacing: 0.03em;
}
.step-num-primary { background: rgba(129,94,255,0.12); color: var(--primary); border: 1px solid rgba(129,94,255,0.2); }
.step-num-blue { background: rgba(59,130,246,0.12); color: var(--blue); border: 1px solid rgba(59,130,246,0.2); }
.step-body h4 { color: #fff; margin-bottom: 0.35rem; }
.step-body p { font-size: 0.9rem; }

/* ===== GLOW ORB VARIANTS ===== */
.glow-primary { background: radial-gradient(circle,rgba(129,94,255,0.15),transparent 70%); }

/* ===== ABOUT PAGE — RESPONSIVE STAT ROWS ===== */
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (max-width: 768px) {
  /* Mission stats row (150+, 50+, 3+) */
  .two-col [style*="display:flex"][style*="gap:2rem"] {
    flex-wrap: wrap;
    gap: 1.25rem;
  }
  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .about-stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  /* About page timeline */
  .timeline-item { flex-direction: column; gap: 0.5rem; }
  .timeline-year { width: auto; }
  /* About page value items */
  .value-item { flex-direction: column; gap: 0.75rem; padding: 1.25rem; }
}

/* ===== CONTACT PAGE — RESPONSIVE ===== */
@media (max-width: 768px) {
  .contact-hero { padding: 5rem 0 2rem; }
  .contact-hero h1 { font-size: clamp(1.8rem,6vw,2.5rem); }
  .form-card { padding: 1.5rem; }
}
@media (max-width: 480px) {
  .contact-hero { padding: 4rem 0 1.5rem; }
  .form-card { padding: 1.25rem; border-radius: 1rem; }
  .info-card { padding: 1rem; }
  .info-icon { width: 40px; height: 40px; }
  .info-icon svg { width: 18px; height: 18px; }
  .info-card h4 { font-size: 0.9rem; }
  .info-card p, .info-card a { font-size: 0.82rem; }
  .map-placeholder { height: 200px; margin-top: 2rem; }
  .btn-submit { padding: 0.85rem 1.5rem; font-size: 0.9rem; }
}

/* ===== DIGITAL SOLUTIONS — RESPONSIVE ===== */
@media (max-width: 480px) {
  .step { padding: 1rem 0; gap: 1rem; }
  .step-num { width: 40px; height: 40px; font-size: 0.85rem; }
}

/* ===== CHATBOTS PAGE — RESPONSIVE ===== */
@media (max-width: 480px) {
  .feature-item { padding: 0.65rem 0.75rem; font-size: 0.88rem; gap: 0.5rem; }
}

/* ===== BOTPRESS BRANDING OVERRIDE ===== */
/* Hide "⚡ by Botpress" default footer text in the widget */
[class*="bpw-powered"],
[class*="bp-powered"],
[class*="powered-by"],
.bpw-powered-by,
.bp-powered-by,
[data-testid="powered-by"],
[class*="PoweredBy"],
[class*="poweredBy"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* Force vertical scroll on mobile to prevent third-party scripts (like Botpress) from lock-freezing the page */
*:has(.bpOpen) {
  overflow: visible !important;
}
html, body {
  overflow-y: auto !important;
}
