/* ============================================================
   NANDO IT SOLUTIONS — Design System v1
   Saliou Diedhiou PhD | Expert LLM & Agentic IA
   ============================================================ */

/* ── Google Fonts are loaded via <link> in each HTML page ── */

/* ===== DESIGN TOKENS ===== */
:root {
  --bg:          #07080f;
  --bg2:         #0d0f1c;
  --bg3:         #131629;
  --bg4:         #1a1d35;
  --surface:     rgba(255,255,255,0.03);
  --surface2:    rgba(255,255,255,0.06);
  --surface3:    rgba(255,255,255,0.10);
  --border:      rgba(255,255,255,0.06);
  --border2:     rgba(255,255,255,0.12);
  --border3:     rgba(255,255,255,0.18);
  --text:        #f0f2ff;
  --text2:       #c8cce8;
  --muted:       #7a82a8;
  --muted2:      #5a6080;

  --purple:      #7c3aed;
  --purple2:     #6d28d9;
  --purple-light:#a78bfa;
  --purple-glow: rgba(124,58,237,0.3);

  --blue:        #4f8ef7;
  --blue2:       #3b7af5;
  --blue-light:  #93c5fd;
  --blue-glow:   rgba(79,142,247,0.25);

  --teal:        #2dd4bf;
  --teal-glow:   rgba(45,212,191,0.2);

  --gold:        #f59e0b;
  --gold-glow:   rgba(245,158,11,0.2);

  --green:       #34d399;
  --green-glow:  rgba(52,211,153,0.2);

  --red:         #f87171;

  --radius-sm:   0.5rem;
  --radius:      0.875rem;
  --radius-lg:   1.25rem;
  --radius-xl:   2rem;

  --shadow-sm:   0 4px 12px rgba(0,0,0,0.3);
  --shadow:      0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg:   0 20px 60px rgba(0,0,0,0.5);
  --shadow-purple: 0 0 40px rgba(124,58,237,0.2);
  --shadow-blue:   0 0 40px rgba(79,142,247,0.2);

  --header-h:    72px;
  --max-w:       1200px;
  --transition:  all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  padding-top: var(--header-h);
}

/* Grain texture */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px;
}

img, video { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }
ul, ol { list-style: none; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text);
}
h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(2.2rem, 4.5vw, 3.5rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
h4 { font-size: clamp(1.05rem, 2vw, 1.25rem); }

p { color: var(--text2); line-height: 1.75; }
a { color: var(--blue); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--teal); }

/* Gradient text */
.text-gradient {
  background: linear-gradient(135deg, var(--purple-light) 0%, var(--blue) 50%, var(--teal) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-gold {
  background: linear-gradient(135deg, var(--gold) 0%, #fb923c 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== LAYOUT ===== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative; z-index: 1;
}
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 1.5rem; position: relative; z-index: 1; }
.section    { padding: 7rem 0; }
.section-sm { padding: 4rem 0; }
.section-xs { padding: 2.5rem 0; }

.grid-2  { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.grid-3  { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4  { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }

.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; gap: 1rem; }

/* ===== HEADER / NAV ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-h); z-index: 9999;
  background: rgba(7,8,15,0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.site-header.scrolled {
  background: rgba(7,8,15,0.95);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); max-width: var(--max-w);
  margin: 0 auto; padding: 0 1.5rem;
}

.nav-logo {
  display: flex; align-items: center; gap: 0.75rem; text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-icon { width: 36px; height: 36px; }
.nav-logo-text {
  font-family: 'Arial Black', 'Arial', sans-serif;
  font-weight: 900; font-style: normal;
  font-size: 1.15rem; letter-spacing: -0.02em;
  color: var(--text);
}
.nav-logo-dot { color: var(--blue); }

.nav-links {
  display: flex; align-items: center; gap: 2rem;
}
.nav-links > a {
  color: var(--muted); font-size: 0.875rem; font-weight: 500;
  transition: color 0.2s; white-space: nowrap;
  text-decoration: none;
}
.nav-links > a:hover, .nav-links > a.active { color: var(--text); }

/* Dropdown */
.nav-drop { position: relative; }
.nav-drop > button {
  color: var(--muted); font-size: 0.875rem; font-weight: 500;
  display: flex; align-items: center; gap: 0.3rem;
  transition: color 0.2s; padding: 0.25rem 0;
  background: none; border: none; cursor: pointer; font-family: inherit;
}
.nav-drop:hover > button { color: var(--text); }
.nav-drop > button svg { transition: transform 0.2s; }
.nav-drop:hover > button svg { transform: rotate(180deg); }

.drop-menu {
  position: absolute; top: calc(100% + 1.2rem); left: -1rem;
  background: var(--bg2); border: 1px solid var(--border2);
  border-radius: var(--radius-lg); padding: 0.6rem; min-width: 260px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--border);
}
.nav-drop:hover .drop-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.drop-menu a {
  display: block; padding: 0.7rem 0.875rem;
  border-radius: var(--radius-sm); transition: background 0.15s;
  color: var(--muted); text-decoration: none;
}
.drop-menu a:hover { background: var(--surface2); color: var(--text); }
.d-title { font-weight: 600; color: var(--text); font-size: 0.875rem; margin-bottom: 0.1rem; }
.d-sub   { font-size: 0.75rem; color: var(--muted); }
.drop-menu a:hover .d-title { color: var(--blue); }

/* CTA Button in nav */
.btn-cta {
  background: var(--purple) !important;
  color: #fff !important;
  padding: 0.55rem 1.4rem !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important; font-size: 0.875rem !important;
  transition: var(--transition) !important;
  box-shadow: 0 0 20px var(--purple-glow) !important;
  white-space: nowrap; text-decoration: none !important;
}
.btn-cta:hover {
  background: var(--purple2) !important;
  box-shadow: 0 0 35px var(--purple-glow) !important;
  transform: translateY(-2px) !important;
  color: #fff !important;
}

/* Mobile menu */
.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  padding: 0.5rem; flex-direction: column; gap: 5px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: var(--transition);
}
.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); }

.mob-menu {
  display: none; position: fixed; top: var(--header-h); left: 0; right: 0;
  background: var(--bg2); border-bottom: 1px solid var(--border2);
  padding: 1.5rem; z-index: 9998;
  flex-direction: column; gap: 0;
  box-shadow: var(--shadow-lg);
}
.mob-menu.open { display: flex; }
.mob-menu a {
  color: var(--text); padding: 0.85rem 0;
  font-size: 1rem; font-weight: 500;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: color 0.2s;
}
.mob-menu a:hover { color: var(--purple-light); }
.mob-menu a:last-child { border: none; margin-top: 0.75rem; }
.mob-menu .btn-cta { display: block; text-align: center; padding: 0.85rem !important; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.95rem; transition: var(--transition);
  cursor: pointer; text-decoration: none; border: none;
  white-space: nowrap; position: relative; overflow: hidden;
}
.btn-primary {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 0 30px var(--purple-glow);
}
.btn-primary:hover {
  background: var(--purple2);
  box-shadow: 0 0 50px var(--purple-glow);
  transform: translateY(-2px);
  color: #fff;
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border2);
}
.btn-secondary:hover {
  background: var(--surface2);
  border-color: var(--border3);
  color: var(--text);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent; color: var(--blue);
  padding: 0.5rem 0; border-radius: 0;
}
.btn-ghost:hover { color: var(--teal); gap: 0.75rem; }
.btn-outline-blue {
  border: 1px solid rgba(79,142,247,0.4);
  color: var(--blue); background: rgba(79,142,247,0.05);
}
.btn-outline-blue:hover {
  background: rgba(79,142,247,0.12); border-color: var(--blue);
  transform: translateY(-2px); color: var(--blue);
}
.btn svg { flex-shrink: 0; }
.btn-sm { padding: 0.55rem 1.2rem; font-size: 0.85rem; }
.btn-lg { padding: 1.1rem 2.5rem; font-size: 1.05rem; }

/* ===== BADGES / TAGS ===== */
.badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.3rem 0.85rem; border-radius: 100px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em;
}
.badge-purple {
  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.25);
  color: var(--purple-light);
}
.badge-blue {
  background: rgba(79,142,247,0.12);
  border: 1px solid rgba(79,142,247,0.25);
  color: var(--blue-light);
}
.badge-teal {
  background: rgba(45,212,191,0.1);
  border: 1px solid rgba(45,212,191,0.2);
  color: var(--teal);
}
.badge-gold {
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.2);
  color: var(--gold);
}
.badge-green {
  background: rgba(52,211,153,0.1);
  border: 1px solid rgba(52,211,153,0.2);
  color: var(--green);
}

/* ===== SECTION HEADERS ===== */
.section-label {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--purple-light); margin-bottom: 1.25rem;
}
.section-label::before {
  content: ''; display: block; width: 24px; height: 2px;
  background: var(--purple); border-radius: 2px;
}
.section-title { margin-bottom: 1rem; }
.section-desc { color: var(--muted); font-size: 1.05rem; max-width: 600px; line-height: 1.8; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header .section-label { justify-content: center; }
.section-header::before { display: none; }
.section-header .section-label::before { display: block; }

/* ===== CARDS ===== */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  transition: var(--transition); position: relative; overflow: hidden;
}
.card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,58,237,0.4), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.card:hover {
  border-color: rgba(124,58,237,0.2);
  background: var(--surface2);
  transform: translateY(-4px);
  box-shadow: var(--shadow), 0 0 0 1px rgba(124,58,237,0.1);
}
.card:hover::after { opacity: 1; }

.card-icon {
  width: 52px; height: 52px; border-radius: 0.875rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1.4rem; flex-shrink: 0;
}
.icon-purple { background: rgba(124,58,237,0.12); border: 1px solid rgba(124,58,237,0.2); }
.icon-blue   { background: rgba(79,142,247,0.12); border: 1px solid rgba(79,142,247,0.2); }
.icon-teal   { background: rgba(45,212,191,0.1); border: 1px solid rgba(45,212,191,0.2); }
.icon-gold   { background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.2); }
.icon-green  { background: rgba(52,211,153,0.1); border: 1px solid rgba(52,211,153,0.2); }
.icon-red    { background: rgba(248,113,113,0.1); border: 1px solid rgba(248,113,113,0.2); }

.card-title { font-size: 1.2rem; margin-bottom: 0.6rem; color: var(--text); font-style: italic; font-family: 'Cormorant Garamond', serif; font-weight: 700; }
.card-desc  { color: var(--muted); font-size: 0.9rem; line-height: 1.7; }

.card-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.25rem; }
.tag {
  padding: 0.2rem 0.65rem; border-radius: 100px;
  font-size: 0.72rem; font-weight: 600;
  background: var(--surface3); border: 1px solid var(--border2);
  color: var(--muted);
}

/* ===== HERO ===== */
.hero {
  min-height: calc(100vh - var(--header-h));
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 5rem 0;
}

.hero-canvas {
  position: absolute; inset: 0; z-index: 0;
  opacity: 0.5;
}

.hero-glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(124,58,237,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 60%, rgba(79,142,247,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 50% 80%, rgba(45,212,191,0.06) 0%, transparent 70%);
}

.hero-content { position: relative; z-index: 2; max-width: 820px; }
.hero-badge { margin-bottom: 2rem; display: flex; align-items: center; gap: 0.75rem; }
.hero-badge .badge { font-size: 0.82rem; }
.hero-badge-line { width: 40px; height: 1px; background: var(--purple); border-radius: 2px; }

.hero-title { margin-bottom: 1.5rem; }
.hero-subtitle {
  font-size: 1.15rem; color: var(--muted); max-width: 640px; margin-bottom: 2.5rem;
  line-height: 1.8;
}
.hero-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; margin-bottom: 4rem; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, auto);
  gap: 0; border-top: 1px solid var(--border2); padding-top: 2.5rem;
  width: fit-content;
}
.hero-stat {
  padding: 0 2.5rem 0 0; margin-right: 2.5rem;
  border-right: 1px solid var(--border2);
}
.hero-stat:first-child { padding-left: 0; }
.hero-stat:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.hero-stat-num {
  font-family: 'Cormorant Garamond', serif; font-size: 2.4rem;
  font-weight: 700; font-style: italic; color: var(--text);
  line-height: 1; margin-bottom: 0.25rem;
  background: linear-gradient(135deg, var(--purple-light), var(--blue));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-stat-label { font-size: 0.78rem; color: var(--muted); font-weight: 500; }

/* ===== ANIMATED VIDEO HERO (Seedance placeholder) ===== */
.hero-visual {
  position: relative; z-index: 2;
}
.hero-video-wrap {
  position: relative; border-radius: var(--radius-xl);
  overflow: hidden; border: 1px solid var(--border2);
  box-shadow: var(--shadow-lg), 0 0 60px rgba(124,58,237,0.15);
  aspect-ratio: 16/10;
  background: var(--bg2);
}
.hero-video-wrap video {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-video-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1rem;
  background: linear-gradient(135deg, var(--bg2) 0%, #0f1128 50%, var(--bg3) 100%);
  position: relative; overflow: hidden;
}
.hero-video-placeholder .anim-rings {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.ring {
  position: absolute;
  border: 1px solid rgba(124,58,237,0.2);
  border-radius: 50%;
  animation: ringPulse 3s ease-in-out infinite;
}
.ring:nth-child(1) { width: 120px; height: 120px; animation-delay: 0s; }
.ring:nth-child(2) { width: 200px; height: 200px; animation-delay: 0.5s; border-color: rgba(79,142,247,0.15); }
.ring:nth-child(3) { width: 300px; height: 300px; animation-delay: 1s; border-color: rgba(45,212,191,0.1); }
.ring:nth-child(4) { width: 400px; height: 400px; animation-delay: 1.5s; border-color: rgba(124,58,237,0.08); }

@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.05); opacity: 1; }
}
.hero-video-label {
  position: relative; z-index: 2; text-align: center;
}
.hero-video-label span {
  display: block; font-size: 0.78rem; color: var(--muted); margin-top: 0.5rem;
  font-style: italic;
}

/* ===== LOGOS BAND ===== */
.logos-band {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.logos-band-label {
  text-align: center; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted2); margin-bottom: 1.75rem;
}
.logos-track {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 2.5rem 3.5rem;
}
.tech-logo {
  display: flex; align-items: center; gap: 0.5rem;
  color: var(--muted2); font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.05em; transition: color 0.2s;
  opacity: 0.6;
}
.tech-logo:hover { opacity: 1; color: var(--muted); }
.tech-logo-icon { font-size: 1.3rem; }

/* ===== STATS SECTION ===== */
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  text-align: center; position: relative; overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--blue), var(--teal));
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.stat-number {
  font-family: 'Cormorant Garamond', serif; font-size: 3.5rem;
  font-weight: 700; font-style: italic;
  background: linear-gradient(135deg, var(--purple-light), var(--blue));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1; margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.9rem; font-weight: 600; color: var(--text); margin-bottom: 0.25rem;
}
.stat-sub { font-size: 0.78rem; color: var(--muted); }

/* ===== PROCESS / TIMELINE ===== */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.process-steps::before {
  content: '';
  position: absolute; top: 28px; left: calc(12.5% + 24px); right: calc(12.5% + 24px);
  height: 1px; background: linear-gradient(90deg, var(--purple), var(--blue), var(--teal));
  z-index: 0;
}
.process-step { text-align: center; padding: 0 1rem; position: relative; z-index: 1; }
.process-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--bg2); border: 2px solid var(--purple);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 700;
  font-style: italic; color: var(--purple-light);
  margin: 0 auto 1.5rem; position: relative; z-index: 2;
  box-shadow: 0 0 20px var(--purple-glow);
}
.process-title { font-size: 1.1rem; margin-bottom: 0.75rem; color: var(--text); }
.process-desc  { font-size: 0.875rem; color: var(--muted); line-height: 1.65; }

/* ===== CASE STUDIES ===== */
.case-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl); overflow: hidden;
  transition: var(--transition);
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(124,58,237,0.2); }
.case-img {
  height: 200px; background: linear-gradient(135deg, var(--bg2), var(--bg3));
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem; position: relative; overflow: hidden;
}
.case-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(79,142,247,0.1));
}
.case-body { padding: 1.75rem; }
.case-meta { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.case-industry { font-size: 0.78rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.case-title { font-size: 1.3rem; margin-bottom: 0.75rem; color: var(--text); }
.case-desc { font-size: 0.875rem; color: var(--muted); line-height: 1.7; margin-bottom: 1.5rem; }
.case-results {
  display: flex; gap: 1.25rem; padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.case-result-item { text-align: center; }
.case-result-num {
  font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-weight: 700; font-style: italic;
  color: var(--green); line-height: 1; display: block;
}
.case-result-label { font-size: 0.7rem; color: var(--muted); display: block; margin-top: 0.15rem; }

/* ===== BLOG CARDS ===== */
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: var(--transition); display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(79,142,247,0.2); }
.blog-img {
  height: 180px; background: linear-gradient(135deg, var(--bg2), var(--bg3));
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; position: relative; overflow: hidden;
  flex-shrink: 0;
}
.blog-img-inner { position: relative; z-index: 2; }
.blog-img-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(79,142,247,0.08), rgba(45,212,191,0.05));
}
.blog-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-meta {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.78rem; color: var(--muted); margin-bottom: 0.875rem;
}
.blog-meta-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted2); }
.blog-title {
  font-size: 1.1rem; font-family: 'Cormorant Garamond', serif; font-weight: 700;
  font-style: italic; color: var(--text); line-height: 1.35; margin-bottom: 0.75rem;
}
.blog-excerpt { font-size: 0.85rem; color: var(--muted); line-height: 1.7; flex: 1; margin-bottom: 1.25rem; }
.blog-read-more {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.83rem; font-weight: 600; color: var(--blue);
  transition: var(--transition); text-decoration: none;
}
.blog-read-more:hover { color: var(--teal); gap: 0.65rem; }

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute; top: 1.5rem; right: 1.75rem;
  font-family: 'Cormorant Garamond', serif; font-size: 5rem;
  color: var(--purple); opacity: 0.15; line-height: 1;
}
.testimonial-stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 1rem; letter-spacing: 0.05em; }
.testimonial-text { font-size: 0.95rem; color: var(--text2); font-style: italic; line-height: 1.8; margin-bottom: 1.5rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.875rem; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; color: #fff; flex-shrink: 0;
}
.testimonial-name { font-weight: 600; font-size: 0.9rem; color: var(--text); }
.testimonial-role { font-size: 0.78rem; color: var(--muted); }

/* ===== CTA SECTION ===== */
.cta-section {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(124,58,237,0.1) 0%, rgba(79,142,247,0.08) 50%, rgba(45,212,191,0.05) 100%);
  border: 1px solid rgba(124,58,237,0.15);
  border-radius: var(--radius-xl);
  padding: 5rem 3rem; text-align: center; margin: 0 1.5rem;
}
.cta-section::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 60%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,58,237,0.5), transparent);
}
.cta-section .cta-title { margin-bottom: 1.25rem; }
.cta-section .cta-desc { color: var(--muted); font-size: 1.1rem; max-width: 580px; margin: 0 auto 2.5rem; line-height: 1.8; }
.cta-buttons { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 1rem; }
.cta-badge { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); white-space: nowrap; }

/* ===== FEATURES LIST ===== */
.feature-list { display: flex; flex-direction: column; gap: 0.875rem; }
.feature-item {
  display: flex; align-items: flex-start; gap: 0.875rem;
}
.feature-icon {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(52,211,153,0.1); border: 1px solid rgba(52,211,153,0.25);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 0.15rem;
  color: var(--green); font-size: 0.65rem;
}
.feature-text { font-size: 0.9rem; color: var(--text2); }

/* ===== SKILLS / EXPERTISE ===== */
.skill-bar { margin-bottom: 1.25rem; }
.skill-label { display: flex; justify-content: space-between; font-size: 0.85rem; font-weight: 600; color: var(--text); margin-bottom: 0.5rem; }
.skill-pct { color: var(--purple-light); }
.skill-track {
  height: 6px; background: var(--surface2); border-radius: 100px; overflow: hidden;
}
.skill-fill {
  height: 100%; border-radius: 100px;
  background: linear-gradient(90deg, var(--purple), var(--blue));
  transform-origin: left;
}

.tech-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill {
  padding: 0.35rem 0.9rem; border-radius: 100px;
  font-size: 0.8rem; font-weight: 500;
  background: var(--surface2); border: 1px solid var(--border2);
  color: var(--text2); transition: var(--transition);
}
.pill:hover {
  background: rgba(124,58,237,0.1); border-color: rgba(124,58,237,0.3);
  color: var(--purple-light);
}

/* ===== TIMELINE ===== */
.timeline { position: relative; }
.timeline::before {
  content: '';
  position: absolute; left: 20px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--purple), var(--blue), transparent);
}
.timeline-item {
  display: flex; gap: 2rem; padding-bottom: 2.5rem; position: relative;
}
.timeline-dot {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--bg2); border: 2px solid var(--purple);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1rem; position: relative; z-index: 2;
  box-shadow: 0 0 15px var(--purple-glow);
}
.timeline-content { padding-top: 0.5rem; }
.timeline-date { font-size: 0.78rem; font-weight: 600; color: var(--purple-light); margin-bottom: 0.5rem; letter-spacing: 0.05em; }
.timeline-title { font-size: 1.2rem; margin-bottom: 0.5rem; }
.timeline-subtitle { font-size: 0.9rem; color: var(--blue); margin-bottom: 0.75rem; }
.timeline-desc { font-size: 0.875rem; color: var(--muted); line-height: 1.7; }

/* ===== PRICING CARDS ===== */
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 2.5rem;
  position: relative; transition: var(--transition);
}
.pricing-card.featured {
  border-color: var(--purple);
  background: rgba(124,58,237,0.05);
  box-shadow: 0 0 40px rgba(124,58,237,0.15);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
}
.pricing-name { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 0.75rem; }
.pricing-price {
  display: flex; align-items: flex-end; gap: 0.25rem; margin-bottom: 0.5rem;
}
.pricing-amount {
  font-family: 'Cormorant Garamond', serif; font-size: 3rem; font-weight: 700; font-style: italic; color: var(--text); line-height: 1;
}
.pricing-period { font-size: 0.85rem; color: var(--muted); padding-bottom: 0.3rem; }
.pricing-desc { font-size: 0.875rem; color: var(--muted); margin-bottom: 1.75rem; }
.pricing-features { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
.pricing-feature { display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; color: var(--text2); }
.pricing-feature .check { color: var(--green); font-size: 0.85rem; }

/* ===== CONTACT FORM ===== */
.form-group { margin-bottom: 1.5rem; }
.form-label {
  display: block; font-size: 0.875rem; font-weight: 600;
  color: var(--text2); margin-bottom: 0.5rem;
}
.form-input, .form-textarea, .form-select {
  width: 100%; padding: 0.875rem 1rem;
  background: var(--surface); border: 1px solid var(--border2);
  border-radius: var(--radius-sm); color: var(--text);
  font-size: 0.9rem; transition: var(--transition);
  outline: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--muted2); }
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--purple);
  background: var(--surface2);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.12);
}
.form-textarea { resize: vertical; min-height: 140px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

/* ===== PAGE HERO (internal pages) ===== */
.page-hero {
  padding: 5rem 0 4rem;
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% -20%, rgba(124,58,237,0.1) 0%, transparent 70%);
}
.page-hero-label { margin-bottom: 1.5rem; display: flex; }
.page-hero-title { margin-bottom: 1.25rem; }
.page-hero-desc { font-size: 1.1rem; color: var(--muted); max-width: 680px; line-height: 1.85; margin-bottom: 2rem; }
.page-hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ===== VIDEO SECTION ===== */
.video-section { margin: 2rem 0; border-radius: var(--radius-xl); overflow: hidden; position: relative; }
.video-placeholder {
  aspect-ratio: 16/9; background: var(--bg2);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1rem; position: relative; overflow: hidden; border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}
.video-play-btn {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(124,58,237,0.2); border: 2px solid rgba(124,58,237,0.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; cursor: pointer; transition: var(--transition);
  position: relative; z-index: 2;
}
.video-play-btn:hover { background: rgba(124,58,237,0.35); transform: scale(1.1); }
.video-caption {
  font-size: 0.85rem; color: var(--muted); font-style: italic; position: relative; z-index: 2;
}
.animated-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0d0f1c 0%, #10122a 50%, #0a0c1a 100%);
}
.animated-grid {
  position: absolute; inset: 0; opacity: 0.06;
  background-image:
    linear-gradient(rgba(124,58,237,0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,58,237,0.5) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: gridMove 20s linear infinite;
}
@keyframes gridMove {
  0% { transform: translate(0,0); }
  100% { transform: translate(40px, 40px); }
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 5rem 0 2rem;
  margin-top: 5rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 4rem;
}
.footer-brand {}
.footer-brand .brand-logo {
  display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem;
}
.footer-brand .brand-name {
  font-family: 'Arial Black', 'Arial', sans-serif; font-weight: 900;
  font-size: 1.1rem; color: var(--text); letter-spacing: -0.02em;
}
.footer-brand p { font-size: 0.875rem; color: var(--muted); line-height: 1.75; max-width: 280px; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: 0.75rem; }
.social-link {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--surface2); border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; color: var(--muted); transition: var(--transition);
  text-decoration: none;
}
.social-link:hover { background: rgba(124,58,237,0.15); border-color: rgba(124,58,237,0.3); color: var(--purple-light); }

.footer-col h4 {
  font-family: 'Inter', sans-serif; font-style: normal; font-size: 0.82rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted); margin-bottom: 1.25rem;
}
.footer-col a {
  display: block; color: var(--text2); font-size: 0.875rem;
  margin-bottom: 0.65rem; transition: color 0.2s; text-decoration: none;
}
.footer-col a:hover { color: var(--purple-light); }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.875rem; color: var(--muted); margin-bottom: 0.65rem;
}
.footer-contact-icon { flex-shrink: 0; margin-top: 0.1rem; }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 2rem; border-top: 1px solid var(--border);
  font-size: 0.8rem; color: var(--muted2); flex-wrap: wrap; gap: 1rem;
}
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: var(--muted2); transition: color 0.2s; text-decoration: none; }
.footer-bottom-links a:hover { color: var(--muted); }

/* ===== SCROLL INDICATOR ===== */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 10000;
  background: linear-gradient(90deg, var(--purple), var(--blue), var(--teal));
  transform-origin: left; transform: scaleX(0);
  transition: transform 0.1s;
}

/* ===== FLOATING ELEMENTS ===== */
.float-badge {
  position: absolute;
  background: var(--bg2); border: 1px solid var(--border2);
  border-radius: var(--radius); padding: 0.75rem 1rem;
  display: flex; align-items: center; gap: 0.75rem;
  box-shadow: var(--shadow); font-size: 0.85rem; color: var(--text);
  white-space: nowrap;
  animation: floatBadge 4s ease-in-out infinite;
}
.float-badge-icon { font-size: 1.2rem; }
.float-badge-val { font-weight: 700; color: var(--green); }
@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ===== DIVIDER ===== */
.divider { height: 1px; background: var(--border); margin: 0; }
.divider-gradient {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border2), transparent);
  margin: 0;
}

/* ===== HIGHLIGHT BOX ===== */
.highlight-box {
  background: rgba(124,58,237,0.06); border: 1px solid rgba(124,58,237,0.15);
  border-radius: var(--radius); padding: 1.5rem;
  position: relative; overflow: hidden;
}
.highlight-box::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(to bottom, var(--purple), var(--blue));
}

/* ===== NUMBER LIST ===== */
.num-list { counter-reset: numList; display: flex; flex-direction: column; gap: 1.5rem; }
.num-item { display: flex; gap: 1.5rem; counter-increment: numList; }
.num-item::before {
  content: counter(numList, decimal-leading-zero);
  font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 700; font-style: italic;
  color: var(--purple); opacity: 0.4; line-height: 1; flex-shrink: 0; width: 2rem;
}
.num-item-content {}
.num-item h4 { font-size: 1.05rem; margin-bottom: 0.4rem; color: var(--text); }
.num-item p { font-size: 0.875rem; color: var(--muted); }

/* ===== BREADCRUMBS ===== */
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; color: var(--muted); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb-sep { color: var(--muted2); }
.breadcrumb-current { color: var(--text2); }

/* ===== BACK TO TOP ===== */
.back-top {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--purple); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; box-shadow: 0 4px 20px var(--purple-glow);
  opacity: 0; pointer-events: none; transition: var(--transition);
  z-index: 1000; cursor: pointer; border: none;
}
.back-top.visible { opacity: 1; pointer-events: all; }
.back-top:hover { background: var(--purple2); transform: translateY(-3px); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* GSAP initial states */
.gsap-hidden { opacity: 0; }
.gsap-from-bottom { opacity: 0; transform: translateY(40px); }
.gsap-from-left { opacity: 0; transform: translateX(-40px); }
.gsap-from-right { opacity: 0; transform: translateX(40px); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .process-steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .hero-stats { grid-template-columns: repeat(2, auto); row-gap: 1.5rem; }
  .hero-stat { border-right: none; margin-right: 0; padding-right: 0; }
  .hero-stat:nth-child(odd) { border-right: 1px solid var(--border2); padding-right: 2rem; margin-right: 2rem; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  body { font-size: 15px; }
  h1 { font-size: clamp(2.2rem, 8vw, 3.5rem); }
  h2 { font-size: clamp(1.8rem, 6vw, 2.5rem); }
  .section { padding: 4.5rem 0; }
  .grid-2, .grid-3, .grid-auto { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, auto); }
  .hero-stat:nth-child(even) { border-right: none; padding-right: 0; margin-right: 0; }
  .cta-section { padding: 3.5rem 1.75rem; margin: 0; border-radius: var(--radius-lg); }
  .form-grid-2 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .back-top { bottom: 1.25rem; right: 1.25rem; }
}

@media (max-width: 480px) {
  h1 { font-size: clamp(1.9rem, 9vw, 2.8rem); }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stat:nth-child(odd) { border-right: 1px solid var(--border2); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .pricing-card { padding: 1.75rem; }
  .cta-section { padding: 2.75rem 1.25rem; }
}

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.hidden { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
