/* Applied Generative AI & LLM Integration — v1 */

:root {
  --ai-purple: #7C3AED;
  --ai-violet: #A855F7;
  --ai-indigo: #4F46E5;
  --ai-cyan: #00D4FF;
  --ai-green: #00FF88;
  --ai-bg: #04081A;
  --ai-bg2: #060B1F;
}

.ai-accent { background: linear-gradient(135deg, var(--ai-violet) 0%, var(--ai-cyan) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ── SHARED ── */
.ai-section-header { text-align: center; max-width: 800px; margin: 0 auto 64px; }
.ai-section-header h2 { font-size: 44px; font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 14px; }
.ai-section-header p { font-size: 17px; color: rgba(255,255,255,0.5); line-height: 1.7; }

/* ── BUTTONS ── */
.ai-cta-btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 32px; background: linear-gradient(135deg, var(--ai-purple), var(--ai-violet)); color: #fff; border: none; border-radius: 10px; font-size: 15px; font-weight: 700; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 8px 30px rgba(124,58,237,0.4); }
.ai-cta-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(168,85,247,0.5); }
.ai-cta-btn i { color: #fff !important; -webkit-text-fill-color: #fff !important; font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; background: none !important; -webkit-background-clip: initial !important; background-clip: initial !important; transition: transform 0.2s; }
.ai-cta-btn:hover i { transform: translateX(4px); }
.ai-cta-large { font-size: 17px; padding: 20px 44px; }

/* ── HERO ── */
.ai-hero { position: relative; min-height: 92vh; display: flex; align-items: center; justify-content: center; background: var(--ai-bg); padding: 130px 60px 80px; overflow: hidden; text-align: center; }
.ai-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.ai-hero-inner { position: relative; z-index: 10; max-width: 900px; width: 100%; display: flex; flex-direction: column; align-items: center; }
.ai-hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border: 1px solid rgba(168,85,247,0.4); border-radius: 50px; font-size: 12px; font-weight: 600; color: var(--ai-violet); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 28px; }
.ai-hero-badge i { color: var(--ai-violet) !important; -webkit-text-fill-color: var(--ai-violet) !important; font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; background: none !important; -webkit-background-clip: initial !important; background-clip: initial !important; }
.ai-hero-title { font-size: 62px; font-weight: 900; color: #fff; line-height: 1.08; margin-bottom: 24px; letter-spacing: -2px; }
.ai-hero-sub { font-size: 18px; color: rgba(255,255,255,0.62); line-height: 1.8; max-width: 740px; margin-bottom: 48px; }

/* ── MANDATES GRID ── */
.ai-mandates { background: var(--ai-bg2); padding: 100px 60px; }
.ai-mandates-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1200px; margin: 0 auto; }

.ai-mandate-card { position: relative; background: rgba(12,8,40,0.55); backdrop-filter: blur(20px); border: 1px solid rgba(124,58,237,0.1); border-radius: 20px; padding: 36px 28px; transition: transform 0.35s ease, box-shadow 0.35s ease; overflow: hidden; }
.ai-mandate-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(124,58,237,0.18); }

/* neural-trace border animation via conic-gradient mask */
.ai-trace-border { position: absolute; inset: -1px; border-radius: 21px; pointer-events: none; background: conic-gradient(from 0deg, var(--ai-violet) 0%, transparent 0%); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; padding: 1.5px; transition: none; }
.ai-mandate-card:hover .ai-trace-border { background: conic-gradient(from 0deg, var(--ai-violet) 100%, transparent 100%); transition: background 1s ease; }

.ai-mandate-icon { width: 52px; height: 52px; background: linear-gradient(135deg, var(--ai-purple), var(--ai-violet)); border-radius: 13px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; position: relative; z-index: 1; }
.ai-mandate-icon i { font-size: 20px; color: #fff !important; -webkit-text-fill-color: #fff !important; font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; background: none !important; -webkit-background-clip: initial !important; background-clip: initial !important; }
.ai-mandate-card h3 { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 12px; line-height: 1.35; position: relative; z-index: 1; }
.ai-mandate-card p { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.8; margin: 0 0 18px; position: relative; z-index: 1; }
.ai-card-tags { display: flex; flex-wrap: wrap; gap: 6px; position: relative; z-index: 1; }
.ai-card-tags span { padding: 3px 10px; background: rgba(124,58,237,0.1); border: 1px solid rgba(168,85,247,0.2); border-radius: 50px; font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.45); letter-spacing: 0.3px; }

/* ── INDUSTRY STICKY SCROLL ── */
.ai-industries { background: var(--ai-bg); padding: 100px 60px; }
.ai-industry-layout { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.ai-industry-nav { display: flex; flex-direction: column; gap: 8px; position: sticky; top: 100px; }
.ai-ind-btn { background: rgba(12,8,40,0.4); border: 1px solid rgba(124,58,237,0.1); border-radius: 12px; padding: 16px 20px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.4); cursor: pointer; text-align: left; transition: all 0.3s ease; line-height: 1.4; }
.ai-ind-btn:hover { border-color: rgba(168,85,247,0.3); color: rgba(255,255,255,0.7); }
.ai-ind-btn.active { background: rgba(124,58,237,0.12); border-color: var(--ai-violet); color: #fff; box-shadow: 0 0 20px rgba(124,58,237,0.15); }

.ai-industry-panels { position: relative; min-height: 400px; }
.ai-ind-panel { display: none; background: rgba(12,8,40,0.55); backdrop-filter: blur(20px); border: 1px solid rgba(124,58,237,0.12); border-radius: 20px; padding: 44px 40px; animation: aiPanelIn 0.4s ease; }
.ai-ind-panel.active { display: block; }
@keyframes aiPanelIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.ai-ind-icon { width: 56px; height: 56px; background: linear-gradient(135deg, var(--ai-purple), var(--ai-violet)); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.ai-ind-icon i { font-size: 22px; color: #fff !important; -webkit-text-fill-color: #fff !important; font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; background: none !important; -webkit-background-clip: initial !important; background-clip: initial !important; }
.ai-ind-tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--ai-violet); margin-bottom: 10px; font-family: 'Courier New', monospace; }
.ai-ind-panel h3 { font-size: 26px; font-weight: 800; color: #fff; margin-bottom: 16px; line-height: 1.25; }
.ai-ind-panel p { font-size: 15px; color: rgba(255,255,255,0.6); line-height: 1.8; margin-bottom: 24px; }
.ai-ind-bullets { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 10px; }
.ai-ind-bullets li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255,255,255,0.65); }
.ai-ind-bullets li i { color: var(--ai-green) !important; -webkit-text-fill-color: var(--ai-green) !important; font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; background: none !important; -webkit-background-clip: initial !important; background-clip: initial !important; font-size: 11px; flex-shrink: 0; }
.ai-ind-code { display: inline-block; font-family: 'Courier New', monospace; font-size: 12px; color: var(--ai-green); background: rgba(0,255,136,0.07); border: 1px solid rgba(0,255,136,0.2); padding: 6px 14px; border-radius: 6px; letter-spacing: 0.3px; }

/* ── CASE STUDIES CAROUSEL ── */
.ai-casestudies { background: var(--ai-bg2); padding: 100px 60px; }
.ai-carousel-wrapper { max-width: 900px; margin: 0 auto; }
.ai-carousel-track { overflow: hidden; border-radius: 20px; }
.ai-slide { display: none; background: rgba(12,8,40,0.6); backdrop-filter: blur(20px); border: 1px solid rgba(124,58,237,0.14); border-radius: 20px; padding: 52px 52px 44px; }
.ai-slide.active { display: block; animation: aiSlideIn 0.45s ease; }
@keyframes aiSlideIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: translateX(0); } }

.ai-slide-metric { font-size: 96px; font-weight: 900; line-height: 1; letter-spacing: -4px; background: linear-gradient(135deg, var(--ai-violet), var(--ai-cyan)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 4px; }
.ai-slide-label { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.35); margin-bottom: 28px; font-family: 'Courier New', monospace; }
.ai-slide h3 { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 14px; line-height: 1.3; }
.ai-slide p { font-size: 15px; color: rgba(255,255,255,0.6); line-height: 1.8; margin-bottom: 28px; }
.ai-slide-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ai-slide-chips span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; background: rgba(124,58,237,0.1); border: 1px solid rgba(168,85,247,0.2); border-radius: 50px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.55); }
.ai-slide-chips span i { color: var(--ai-violet) !important; -webkit-text-fill-color: var(--ai-violet) !important; font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; background: none !important; -webkit-background-clip: initial !important; background-clip: initial !important; font-size: 11px; }

.ai-carousel-controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 28px; }
.ai-carousel-btn { width: 44px; height: 44px; border-radius: 50%; background: rgba(124,58,237,0.1); border: 1px solid rgba(168,85,247,0.2); color: rgba(255,255,255,0.6); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.25s ease; font-size: 14px; }
.ai-carousel-btn:hover { background: rgba(124,58,237,0.25); border-color: var(--ai-violet); color: #fff; }
.ai-carousel-btn i { color: inherit !important; -webkit-text-fill-color: inherit !important; font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; background: none !important; -webkit-background-clip: initial !important; background-clip: initial !important; }
.ai-carousel-dots { display: flex; gap: 8px; }
.ai-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.15); cursor: pointer; transition: all 0.25s ease; border: none; padding: 0; }
.ai-dot.active { background: var(--ai-violet); box-shadow: 0 0 10px rgba(168,85,247,0.5); width: 24px; border-radius: 4px; }

/* ── FINAL CTA ── */
.ai-final-cta { position: relative; padding: 130px 60px; text-align: center; overflow: hidden; background: #030614; border-top: 1px solid rgba(124,58,237,0.1); }
.ai-cta-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.ai-final-cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 25% 50%, rgba(124,58,237,0.16) 0%, transparent 55%), radial-gradient(circle at 75% 50%, rgba(0,212,255,0.1) 0%, transparent 55%); pointer-events: none; }
.ai-final-inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.ai-final-cta h2 { font-size: 52px; font-weight: 900; color: #fff; line-height: 1.1; margin-bottom: 20px; letter-spacing: -1.5px; }
.ai-final-cta p { font-size: 17px; color: rgba(255,255,255,0.6); line-height: 1.75; margin-bottom: 44px; }

/* ── LIGHT THEME ── */
body.light-theme section.ai-hero { background: #ffffff !important; }
body.light-theme section.ai-mandates { background: #f8f9ff !important; }
body.light-theme section.ai-industries { background: #ffffff !important; }
body.light-theme section.ai-casestudies { background: #f8f9ff !important; }
body.light-theme section.ai-final-cta { background: #ffffff !important; border-top-color: rgba(0,0,0,0.06) !important; }
body.light-theme section.ai-final-cta::before { background: radial-gradient(circle at 25% 50%, rgba(255,123,0,0.07) 0%, transparent 55%), radial-gradient(circle at 75% 50%, rgba(255,123,0,0.05) 0%, transparent 55%) !important; }

body.light-theme .ai-accent { background: linear-gradient(135deg, var(--original-orange), var(--original-orange-hover)) !important; -webkit-background-clip: text !important; -webkit-text-fill-color: transparent !important; background-clip: text !important; }
body.light-theme .ai-hero-title { color: #1a1f3a !important; }
body.light-theme .ai-hero-sub { color: rgba(26,31,58,0.65) !important; }
body.light-theme .ai-hero-badge { border-color: rgba(255,123,0,0.4) !important; color: var(--original-orange) !important; }
body.light-theme .ai-hero-badge i { color: var(--original-orange) !important; -webkit-text-fill-color: var(--original-orange) !important; }
body.light-theme .ai-section-header h2 { color: #1a1f3a !important; }
body.light-theme .ai-section-header p { color: rgba(26,31,58,0.6) !important; }

body.light-theme .ai-mandate-card { background: #ffffff !important; border-color: rgba(0,0,0,0.08) !important; box-shadow: 0 4px 20px rgba(0,0,0,0.05) !important; }
body.light-theme .ai-mandate-card:hover { box-shadow: 0 24px 60px rgba(255,123,0,0.12) !important; }
body.light-theme .ai-mandate-card:hover .ai-trace-border { background: conic-gradient(from 0deg, var(--original-orange) 100%, transparent 100%) !important; }
body.light-theme .ai-mandate-icon { background: linear-gradient(135deg, var(--original-orange), var(--original-orange-hover)) !important; }
body.light-theme .ai-mandate-icon i { color: #fff !important; -webkit-text-fill-color: #fff !important; }
body.light-theme .ai-mandate-card h3 { color: #1a1f3a !important; }
body.light-theme .ai-mandate-card p { color: rgba(26,31,58,0.6) !important; }
body.light-theme .ai-card-tags span { background: rgba(255,123,0,0.06) !important; border-color: rgba(255,123,0,0.18) !important; color: rgba(26,31,58,0.5) !important; }

body.light-theme .ai-ind-btn { background: #ffffff !important; border-color: rgba(0,0,0,0.08) !important; color: rgba(26,31,58,0.45) !important; }
body.light-theme .ai-ind-btn:hover { border-color: rgba(255,123,0,0.3) !important; color: rgba(26,31,58,0.7) !important; }
body.light-theme .ai-ind-btn.active { background: rgba(255,123,0,0.06) !important; border-color: var(--original-orange) !important; color: #1a1f3a !important; box-shadow: 0 0 20px rgba(255,123,0,0.1) !important; }
body.light-theme .ai-ind-panel { background: #ffffff !important; border-color: rgba(0,0,0,0.08) !important; box-shadow: 0 4px 20px rgba(0,0,0,0.05) !important; }
body.light-theme .ai-ind-icon { background: linear-gradient(135deg, var(--original-orange), var(--original-orange-hover)) !important; }
body.light-theme .ai-ind-icon i { color: #fff !important; -webkit-text-fill-color: #fff !important; }
body.light-theme .ai-ind-tag { color: var(--original-orange) !important; }
body.light-theme .ai-ind-panel h3 { color: #1a1f3a !important; }
body.light-theme .ai-ind-panel p { color: rgba(26,31,58,0.6) !important; }
body.light-theme .ai-ind-bullets li { color: rgba(26,31,58,0.65) !important; }
body.light-theme .ai-ind-bullets li i { color: #1a6b3a !important; -webkit-text-fill-color: #1a6b3a !important; }
body.light-theme .ai-ind-code { color: #1a6b3a !important; background: rgba(0,100,50,0.06) !important; border-color: rgba(0,100,50,0.2) !important; }

body.light-theme .ai-slide { background: #ffffff !important; border-color: rgba(0,0,0,0.08) !important; box-shadow: 0 4px 20px rgba(0,0,0,0.05) !important; }
body.light-theme .ai-slide-metric { background: linear-gradient(135deg, var(--original-orange), var(--original-orange-hover)) !important; -webkit-background-clip: text !important; -webkit-text-fill-color: transparent !important; background-clip: text !important; }
body.light-theme .ai-slide-label { color: rgba(26,31,58,0.35) !important; }
body.light-theme .ai-slide h3 { color: #1a1f3a !important; }
body.light-theme .ai-slide p { color: rgba(26,31,58,0.6) !important; }
body.light-theme .ai-slide-chips span { background: rgba(255,123,0,0.06) !important; border-color: rgba(255,123,0,0.18) !important; color: rgba(26,31,58,0.55) !important; }
body.light-theme .ai-slide-chips span i { color: var(--original-orange) !important; -webkit-text-fill-color: var(--original-orange) !important; }
body.light-theme .ai-carousel-btn { background: rgba(255,123,0,0.06) !important; border-color: rgba(255,123,0,0.2) !important; color: rgba(26,31,58,0.6) !important; }
body.light-theme .ai-carousel-btn:hover { background: rgba(255,123,0,0.12) !important; border-color: var(--original-orange) !important; color: #1a1f3a !important; }
body.light-theme .ai-dot { background: rgba(26,31,58,0.15) !important; }
body.light-theme .ai-dot.active { background: var(--original-orange) !important; box-shadow: 0 0 10px rgba(255,123,0,0.4) !important; }

body.light-theme .ai-final-cta h2 { color: #1a1f3a !important; }
body.light-theme .ai-final-cta p { color: rgba(26,31,58,0.65) !important; }
body.light-theme .ai-cta-btn { background: linear-gradient(135deg, var(--original-orange), var(--original-orange-hover)) !important; box-shadow: 0 8px 30px rgba(255,123,0,0.3) !important; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .ai-mandates-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-industry-layout { grid-template-columns: 1fr; }
  .ai-industry-nav { position: static; flex-direction: row; flex-wrap: wrap; }
  .ai-ind-btn { flex: 1; min-width: 140px; text-align: center; }
}
@media (max-width: 700px) {
  .ai-mandates-grid { grid-template-columns: 1fr; }
  .ai-hero-title { font-size: 38px; }
  .ai-section-header h2 { font-size: 32px; }
  .ai-final-cta h2 { font-size: 32px; }
  .ai-hero, .ai-mandates, .ai-industries, .ai-casestudies, .ai-final-cta { padding: 80px 24px; }
  .ai-slide { padding: 36px 28px; }
  .ai-slide-metric { font-size: 64px; }
  .ai-ind-panel { padding: 32px 24px; }
}
