/* ═══════════════════════════════════════════════════════════
   AI THEME — UVTech Global 2026 Design Language
   Layered on top of uvtech.css — do not modify uvtech.css
═══════════════════════════════════════════════════════════ */

:root {
  /* ── AI accent colors ──────────────────────────────────
     CHANGED: --ai-blue shifted warmer (cyan → violet-blue)
     to complement the new purple base instead of navy.
     OLD: #00d4ff  NEW: #818cf8  (indigo-400)              */
  --ai-blue:       #818cf8;                          /* CHANGED */
  --ai-blue-dim:   rgba(129, 140, 248, 0.12);        /* CHANGED — was rgba(0,212,255,0.12) */

  /* UNCHANGED — purple already matches new scheme */
  --ai-purple:     #7c3aed;
  --ai-purple-dim: rgba(124, 58, 237, 0.12);

  /* UNCHANGED — green terminal text, keep as-is */
  --ai-green:      #00ff88;

  /* ── Glass surfaces ────────────────────────────────────
     UNCHANGED — white-alpha glass works on any dark base  */
  --glass-bg:      rgba(255, 255, 255, 0.04);
  --glass-border:  rgba(255, 255, 255, 0.09);

  /* ── Glow shadows ──────────────────────────────────────
     CHANGED: glow-blue updated to match new --ai-blue
     OLD: rgba(0,212,255,…)  NEW: rgba(129,140,248,…)      */
  --glow-blue:     0 0 40px rgba(129, 140, 248, 0.22), 0 0 80px rgba(129, 140, 248, 0.08); /* CHANGED */

  /* UNCHANGED — gold glow stays, gold accent is unchanged */
  --glow-gold:     0 0 40px rgba(255, 196, 0, 0.18), 0 0 80px rgba(255, 196, 0, 0.06);

  /* UNCHANGED — purple glow matches --ai-purple */
  --glow-purple:   0 0 40px rgba(124, 58, 237, 0.2);
}

/* ── Gradient animated heading ───────────────────────────── */
/* CHANGED: middle stop updated from cyan (#00d4ff)
   to new --ai-blue (#818cf8) so shimmer flows
   white → indigo → gold instead of white → cyan → gold */
.ai-gradient-text {
  background: linear-gradient(135deg, #fff 0%, var(--ai-blue) 45%, var(--gold-400) 100%); /* CHANGED middle color */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: ai-shimmer 4s linear infinite;
}
@keyframes ai-shimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* ── Glass morphism card ─────────────────────────────────── */
/* UNCHANGED — glass-bg and glass-border are neutral alphas */
.ai-glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 16px;
}
/* CHANGED: hover border-color updated from cyan to new --ai-blue
   OLD: rgba(0,212,255,0.2)  NEW: rgba(129,140,248,0.25)         */
.ai-glass:hover {
  border-color: rgba(129, 140, 248, 0.25);           /* CHANGED */
  box-shadow: var(--glow-blue);
  transition: border-color .3s, box-shadow .3s;
}

/* ── Glow CTA button ─────────────────────────────────────── */
/* UNCHANGED — gradient uses variables, auto-updates */
.ai-glow-btn {
  position: relative;
  overflow: hidden;
  animation: ai-pulse-glow 2.5s ease-in-out infinite;
}
.ai-glow-btn::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--gold-400), var(--ai-blue), var(--ai-purple));
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity .3s;
}
.ai-glow-btn:hover::before { opacity: 1; }
@keyframes ai-pulse-glow {
  0%, 100% { box-shadow: var(--glow-gold); }
  50%       { box-shadow: var(--glow-blue); }
}

/* ── Dot grid background ─────────────────────────────────── */
/* UNCHANGED — white-alpha dots work on any dark background */
.ai-dot-grid {
  position: relative;
}
.ai-dot-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* ── Orb glow decorative element ────────────────────────── */
/* UNCHANGED — orbs use variables, auto-updates */
.ai-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.45;
}
.ai-orb-blue   { background: var(--ai-blue); }
.ai-orb-purple { background: var(--ai-purple); }
.ai-orb-gold   { background: var(--gold-400); }

/* ── Badge tags ──────────────────────────────────────────── */
/* CHANGED: .ai-tag-blue hardcoded rgba values updated to match
   new --ai-blue (#818cf8 / indigo)
   OLD border: rgba(0,212,255,0.25)  NEW: rgba(129,140,248,0.3) */
.ai-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.ai-tag-blue   { background: var(--ai-blue-dim); color: var(--ai-blue); border: 1px solid rgba(129, 140, 248, 0.3); } /* CHANGED border */
.ai-tag-purple { background: var(--ai-purple-dim); color: #a78bfa; border: 1px solid rgba(124,58,237,0.25); } /* UNCHANGED */
.ai-tag-gold   { background: rgba(255,196,0,0.1); color: var(--gold-400); border: 1px solid rgba(255,196,0,0.25); } /* UNCHANGED */
.ai-tag-green  { background: rgba(0,255,136,0.08); color: var(--ai-green); border: 1px solid rgba(0,255,136,0.2); } /* UNCHANGED */

/* ── Terminal aesthetic block ────────────────────────────── */
/* CHANGED: .blue text class inside terminal updated from cyan
   to new --ai-blue so terminal highlights stay consistent
   Everything else unchanged — terminal bg is its own #0d1117 */
.ai-terminal {
  background: #0d1117;                               /* UNCHANGED — fixed dark, intentional */
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 20px 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ai-green);
  line-height: 1.8;
  position: relative;
  overflow: hidden;
}
.ai-terminal::before {
  content: '● ● ●';
  position: absolute;
  top: 10px;
  left: 16px;
  font-size: 10px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 4px;
}
.ai-terminal-body { margin-top: 18px; }
.ai-terminal .dim  { color: rgba(255,255,255,0.3); }    /* UNCHANGED */
.ai-terminal .hi   { color: var(--gold-400); }           /* UNCHANGED */
.ai-terminal .blue { color: var(--ai-blue); }            /* CHANGED — now uses variable, was hardcoded #00d4ff */

/* ── Capability card (for AI section) ───────────────────── */
/* CHANGED: hover border-color updated to match new --ai-blue
   OLD: rgba(0,212,255,0.25)  NEW: rgba(129,140,248,0.3)  */
.ai-cap-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.ai-cap-card:hover {
  transform: translateY(-4px);
  border-color: rgba(129, 140, 248, 0.3);            /* CHANGED */
  box-shadow: var(--glow-blue);
}
.ai-cap-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

/* ── Tech stack pill ─────────────────────────────────────── */
/* CHANGED: hover border now uses --ai-blue variable
   Previously hardcoded to cyan, now inherits indigo       */
.ai-tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-300);
  transition: border-color .2s, color .2s;
}
.ai-tech-pill:hover { border-color: var(--ai-blue); color: #fff; } /* CHANGED — variable updates auto */

/* ── Section with dark navy + dot grid ──────────────────── */
/* UNCHANGED — uses --navy-950 from uvtech.css, which you'll
   update there to the new purple-950: #07051e              */
.ai-dark-section {
  background: var(--navy-950);
  position: relative;
  overflow: hidden;
}
.ai-dark-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* ── Typing cursor effect ────────────────────────────────── */
/* UNCHANGED — uses --ai-blue variable, auto-updates */
.ai-cursor::after {
  content: '|';
  color: var(--ai-blue);
  animation: ai-blink .8s step-end infinite;
}
@keyframes ai-blink {
  50% { opacity: 0; }
}

/* ── Neural canvas backdrop ──────────────────────────────── */
/* UNCHANGED */
#neural-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.55;
}

/* ── Responsive overrides ────────────────────────────────── */
/* UNCHANGED */
@media (max-width: 640px) {
  .ai-cap-card { padding: 24px 20px; }
  .ai-terminal { font-size: 12px; }
}