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

:root {
  --ai-blue:       #00d4ff;
  --ai-blue-dim:   rgba(0, 212, 255, 0.12);
  --ai-purple:     #7c3aed;
  --ai-purple-dim: rgba(124, 58, 237, 0.12);
  --ai-green:      #00ff88;
  --glass-bg:      rgba(255, 255, 255, 0.04);
  --glass-border:  rgba(255, 255, 255, 0.09);
  --glow-blue:     0 0 40px rgba(0, 212, 255, 0.18), 0 0 80px rgba(0, 212, 255, 0.06);
  --glow-gold:     0 0 40px rgba(255, 196, 0, 0.18), 0 0 80px rgba(255, 196, 0, 0.06);
  --glow-purple:   0 0 40px rgba(124, 58, 237, 0.2);
}

/* ── Gradient animated heading ───────────────────────────── */
.ai-gradient-text {
  background: linear-gradient(135deg, #fff 0%, var(--ai-blue) 45%, var(--gold-400) 100%);
  -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 ─────────────────────────────────── */
.ai-glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 16px;
}
.ai-glass:hover {
  border-color: rgba(0, 212, 255, 0.2);
  box-shadow: var(--glow-blue);
  transition: border-color .3s, box-shadow .3s;
}

/* ── Glow CTA button ─────────────────────────────────────── */
.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 ─────────────────────────────────── */
.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 ────────────────────────── */
.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 ──────────────────────────────────────────── */
.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(0,212,255,0.25); }
.ai-tag-purple { background: var(--ai-purple-dim); color: #a78bfa; border: 1px solid rgba(124,58,237,0.25); }
.ai-tag-gold   { background: rgba(255,196,0,0.1); color: var(--gold-400); border: 1px solid rgba(255,196,0,0.25); }
.ai-tag-green  { background: rgba(0,255,136,0.08); color: var(--ai-green); border: 1px solid rgba(0,255,136,0.2); }

/* ── Terminal aesthetic block ────────────────────────────── */
.ai-terminal {
  background: #0d1117;
  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); }
.ai-terminal .hi   { color: var(--gold-400); }
.ai-terminal .blue { color: var(--ai-blue); }

/* ── Capability card (for AI section) ───────────────────── */
.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(0,212,255,0.25);
  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 ─────────────────────────────────────── */
.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; }

/* ── Section with dark navy + dot grid ──────────────────── */
.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 ────────────────────────────────── */
.ai-cursor::after {
  content: '|';
  color: var(--ai-blue);
  animation: ai-blink .8s step-end infinite;
}
@keyframes ai-blink {
  50% { opacity: 0; }
}

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

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