/* Predictive Machine Learning & MLOps — v1 */

:root {
  --ml-purple: #7C3AED;
  --ml-violet: #A855F7;
  --ml-blue: #3B82F6;
  --ml-indigo: #4F46E5;
  --ml-cyan: #00D4FF;
  --ml-green: #00FF88;
  --ml-bg: #05030F;
  --ml-bg2: #070412;
}

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

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

/* ── BUTTONS ── */
.ml-cta-btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 32px; background: linear-gradient(135deg, var(--ml-purple), var(--ml-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); }
.ml-cta-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(168,85,247,0.5); }
.ml-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; }
.ml-cta-btn:hover i { transform: translateX(4px); }
.ml-cta-large { font-size: 17px; padding: 20px 44px; }

/* ── HERO ── */
.ml-hero { position: relative; min-height: 92vh; display: flex; align-items: center; justify-content: center; background: var(--ml-bg); padding: 130px 60px 80px; overflow: hidden; text-align: center; }
.ml-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.ml-hero-inner { position: relative; z-index: 10; max-width: 900px; width: 100%; display: flex; flex-direction: column; align-items: center; }
.ml-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(--ml-violet); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 28px; }
.ml-hero-badge i { color: var(--ml-violet) !important; -webkit-text-fill-color: var(--ml-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; }
.ml-hero-title { font-size: 62px; font-weight: 900; color: #fff; line-height: 1.08; margin-bottom: 24px; letter-spacing: -2px; }
.ml-hero-sub { font-size: 18px; color: rgba(255,255,255,0.62); line-height: 1.8; max-width: 740px; margin-bottom: 48px; }

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

.ml-mandate-card { position: relative; background: rgba(10,5,30,0.6); 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, border-color 0.35s ease; overflow: hidden; }
.ml-mandate-card::before { content: ''; position: absolute; inset: 0; border-radius: 20px; background: radial-gradient(circle at 50% 0%, rgba(124,58,237,0.07) 0%, transparent 60%); opacity: 0; transition: opacity 0.35s ease; pointer-events: none; }
.ml-mandate-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(124,58,237,0.18); border-color: rgba(168,85,247,0.35); }
.ml-mandate-card:hover::before { opacity: 1; }

.ml-mandate-icon { width: 52px; height: 52px; background: linear-gradient(135deg, var(--ml-purple), var(--ml-violet)); border-radius: 13px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; position: relative; z-index: 1; transition: box-shadow 0.35s ease; }
.ml-mandate-card:hover .ml-mandate-icon { box-shadow: 0 0 28px rgba(168,85,247,0.55); }
.ml-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; }
.ml-mandate-card h3 { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 12px; line-height: 1.35; position: relative; z-index: 1; }
.ml-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; }
.ml-card-tags { display: flex; flex-wrap: wrap; gap: 6px; position: relative; z-index: 1; }
.ml-card-tags span { padding: 3px 10px; background: rgba(124,58,237,0.08); border: 1px solid rgba(168,85,247,0.2); border-radius: 50px; font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.4); }

/* ── LIFECYCLE TIMELINE ── */
.ml-lifecycle { background: var(--ml-bg); padding: 100px 60px; }
.ml-timeline-layout { max-width: 960px; margin: 0 auto; display: grid; grid-template-columns: 56px 1fr; gap: 0 40px; }
.ml-timeline-track { position: relative; display: flex; justify-content: center; }
.ml-track-line { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 2px; height: 100%; background: rgba(124,58,237,0.1); border-radius: 2px; }
.ml-track-glow { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 2px; height: 0%; background: linear-gradient(180deg, var(--ml-violet), var(--ml-cyan)); border-radius: 2px; box-shadow: 0 0 12px var(--ml-violet); transition: height 0.05s linear; }

.ml-phases { display: flex; flex-direction: column; }
.ml-phase { display: flex; gap: 28px; align-items: flex-start; padding: 48px 0; border-bottom: 1px solid rgba(124,58,237,0.07); opacity: 0.3; transition: opacity 0.4s ease, transform 0.5s ease; transform: translateX(20px); }
.ml-phase:last-child { border-bottom: none; }
.ml-phase.active { opacity: 1; transform: translateX(0); }
.ml-phase-node { width: 52px; height: 52px; border-radius: 50%; border: 2px solid rgba(124,58,237,0.18); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.4s ease; background: rgba(10,5,30,0.6); }
.ml-phase.active .ml-phase-node { border-color: var(--ml-violet); box-shadow: 0 0 24px rgba(168,85,247,0.5); background: rgba(124,58,237,0.08); }
.ml-phase-node span { font-size: 11px; font-weight: 800; color: rgba(255,255,255,0.3); letter-spacing: 1px; font-family: 'Courier New', monospace; }
.ml-phase.active .ml-phase-node span { color: var(--ml-violet); }
.ml-phase-body h3 { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 12px; line-height: 1.3; }
.ml-phase-body p { font-size: 15px; color: rgba(255,255,255,0.55); line-height: 1.8; margin: 0 0 14px; }
.ml-code-tag { display: inline-block; font-family: 'Courier New', monospace; font-size: 12px; color: var(--ml-green); background: rgba(0,255,136,0.07); border: 1px solid rgba(0,255,136,0.2); padding: 5px 12px; border-radius: 6px; letter-spacing: 0.3px; }

/* ── TECH STACK ── */
.ml-stack { background: var(--ml-bg2); padding: 100px 60px; }
.ml-stack-groups { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.ml-stack-group { display: flex; align-items: center; gap: 32px; padding: 24px 32px; background: rgba(10,5,30,0.5); border: 1px solid rgba(124,58,237,0.08); border-radius: 16px; transition: border-color 0.3s ease; }
.ml-stack-group:hover { border-color: rgba(168,85,247,0.22); }
.ml-group-label { display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; color: var(--ml-violet); min-width: 220px; flex-shrink: 0; font-family: 'Courier New', monospace; }
.ml-group-label i { color: var(--ml-violet) !important; -webkit-text-fill-color: var(--ml-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: 13px; }
.ml-stack-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ml-chip { padding: 7px 16px; background: rgba(124,58,237,0.06); border: 1px solid rgba(168,85,247,0.14); border-radius: 50px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.4); cursor: default; transition: all 0.25s ease; }
.ml-chip:hover { background: rgba(124,58,237,0.16); border-color: rgba(168,85,247,0.45); color: rgba(255,255,255,0.85); }

/* ── TESTIMONIALS ── */
.ml-testimonials { background: var(--ml-bg); padding: 100px 60px; }
.ml-quotes-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.ml-quote-card { background: rgba(10,5,30,0.55); backdrop-filter: blur(20px); border: 1px solid rgba(124,58,237,0.1); border-radius: 20px; padding: 44px 40px; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.ml-quote-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(124,58,237,0.14); }
.ml-qmark { font-size: 80px; line-height: 0.6; color: var(--ml-violet); opacity: 0.2; font-family: Georgia, serif; display: block; margin-bottom: 20px; }
.ml-quote-card blockquote { font-size: 16px; color: rgba(255,255,255,0.8); line-height: 1.8; font-style: italic; margin: 0 0 28px; border: none; padding: 0; }
.ml-quote-meta { display: flex; flex-direction: column; gap: 12px; }
.ml-quote-stat-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; background: rgba(0,255,136,0.08); border: 1px solid rgba(0,255,136,0.2); border-radius: 50px; font-size: 11px; font-weight: 700; color: var(--ml-green); width: fit-content; }
.ml-quote-stat-pill i { color: var(--ml-green) !important; -webkit-text-fill-color: var(--ml-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; }
.ml-quote-card cite { font-size: 13px; color: rgba(255,255,255,0.4); font-style: normal; }
.ml-quote-card cite span { color: var(--ml-violet); }

/* ── FINAL CTA ── */
.ml-final-cta { position: relative; padding: 130px 60px; text-align: center; overflow: hidden; background: #030108; border-top: 1px solid rgba(124,58,237,0.1); }
.ml-cta-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.ml-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(79,70,229,0.12) 0%, transparent 55%); pointer-events: none; }
.ml-final-inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.ml-final-cta h2 { font-size: 52px; font-weight: 900; color: #fff; line-height: 1.1; margin-bottom: 20px; letter-spacing: -1.5px; }
.ml-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.ml-hero { background: #ffffff !important; }
body.light-theme section.ml-mandates { background: #f8f7ff !important; }
body.light-theme section.ml-lifecycle { background: #ffffff !important; }
body.light-theme section.ml-stack { background: #f8f7ff !important; }
body.light-theme section.ml-testimonials { background: #ffffff !important; }
body.light-theme section.ml-final-cta { background: #ffffff !important; border-top-color: rgba(0,0,0,0.06) !important; }
body.light-theme section.ml-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 .ml-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 .ml-hero-title { color: #1a1f3a !important; }
body.light-theme .ml-hero-sub { color: rgba(26,31,58,0.65) !important; }
body.light-theme .ml-hero-badge { border-color: rgba(255,123,0,0.4) !important; color: var(--original-orange) !important; }
body.light-theme .ml-hero-badge i { color: var(--original-orange) !important; -webkit-text-fill-color: var(--original-orange) !important; }
body.light-theme .ml-section-header h2 { color: #1a1f3a !important; }
body.light-theme .ml-section-header p { color: rgba(26,31,58,0.6) !important; }

body.light-theme .ml-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 .ml-mandate-card:hover { box-shadow: 0 24px 60px rgba(255,123,0,0.12) !important; border-color: rgba(255,123,0,0.3) !important; }
body.light-theme .ml-mandate-card:hover .ml-mandate-icon { box-shadow: 0 0 28px rgba(255,123,0,0.35) !important; }
body.light-theme .ml-mandate-icon { background: linear-gradient(135deg, var(--original-orange), var(--original-orange-hover)) !important; }
body.light-theme .ml-mandate-icon i { color: #fff !important; -webkit-text-fill-color: #fff !important; }
body.light-theme .ml-mandate-card h3 { color: #1a1f3a !important; }
body.light-theme .ml-mandate-card p { color: rgba(26,31,58,0.6) !important; }
body.light-theme .ml-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 .ml-track-line { background: rgba(255,123,0,0.1) !important; }
body.light-theme .ml-track-glow { background: linear-gradient(180deg, var(--original-orange), var(--original-orange-hover)) !important; box-shadow: 0 0 12px var(--original-orange) !important; }
body.light-theme .ml-phase { border-bottom-color: rgba(0,0,0,0.06) !important; }
body.light-theme .ml-phase-node { border-color: rgba(255,123,0,0.2) !important; background: #fff !important; }
body.light-theme .ml-phase.active .ml-phase-node { border-color: var(--original-orange) !important; box-shadow: 0 0 24px rgba(255,123,0,0.3) !important; background: rgba(255,123,0,0.06) !important; }
body.light-theme .ml-phase-node span { color: rgba(26,31,58,0.3) !important; }
body.light-theme .ml-phase.active .ml-phase-node span { color: var(--original-orange) !important; }
body.light-theme .ml-phase-body h3 { color: #1a1f3a !important; }
body.light-theme .ml-phase-body p { color: rgba(26,31,58,0.6) !important; }
body.light-theme .ml-code-tag { color: #1a6b3a !important; background: rgba(0,100,50,0.06) !important; border-color: rgba(0,100,50,0.2) !important; }

body.light-theme .ml-stack-group { background: #ffffff !important; border-color: rgba(0,0,0,0.08) !important; }
body.light-theme .ml-stack-group:hover { border-color: rgba(255,123,0,0.25) !important; }
body.light-theme .ml-group-label { color: var(--original-orange) !important; }
body.light-theme .ml-group-label i { color: var(--original-orange) !important; -webkit-text-fill-color: var(--original-orange) !important; }
body.light-theme .ml-chip { background: rgba(255,123,0,0.05) !important; border-color: rgba(255,123,0,0.15) !important; color: rgba(26,31,58,0.5) !important; }
body.light-theme .ml-chip:hover { background: rgba(255,123,0,0.1) !important; border-color: rgba(255,123,0,0.35) !important; color: rgba(26,31,58,0.85) !important; }

body.light-theme .ml-quote-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 .ml-quote-card:hover { box-shadow: 0 20px 50px rgba(255,123,0,0.1) !important; }
body.light-theme .ml-qmark { color: var(--original-orange) !important; }
body.light-theme .ml-quote-card blockquote { color: rgba(26,31,58,0.85) !important; }
body.light-theme .ml-quote-card cite { color: rgba(26,31,58,0.45) !important; }
body.light-theme .ml-quote-card cite span { color: var(--original-orange) !important; }
body.light-theme .ml-quote-stat-pill { background: rgba(255,123,0,0.08) !important; border-color: rgba(255,123,0,0.2) !important; color: var(--original-orange) !important; }
body.light-theme .ml-quote-stat-pill i { color: var(--original-orange) !important; -webkit-text-fill-color: var(--original-orange) !important; }

body.light-theme .ml-final-cta h2 { color: #1a1f3a !important; }
body.light-theme .ml-final-cta p { color: rgba(26,31,58,0.65) !important; }
body.light-theme .ml-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) {
  .ml-mandates-grid { grid-template-columns: repeat(2, 1fr); }
  .ml-quotes-grid { grid-template-columns: 1fr; }
  .ml-stack-group { flex-direction: column; align-items: flex-start; gap: 16px; }
  .ml-group-label { min-width: unset; }
}
@media (max-width: 700px) {
  .ml-mandates-grid { grid-template-columns: 1fr; }
  .ml-hero-title { font-size: 38px; }
  .ml-section-header h2 { font-size: 32px; }
  .ml-final-cta h2 { font-size: 32px; }
  .ml-hero, .ml-mandates, .ml-lifecycle, .ml-stack, .ml-testimonials, .ml-final-cta { padding: 80px 24px; }
  .ml-timeline-layout { grid-template-columns: 1fr; }
  .ml-timeline-track { display: none; }
}
