/* ══════════════════════════════════════════════
   DESIGN SYSTEM — Brooks & Glane  v2
   Dual-Mode: "Command Center" (Dark) + "Studio Loft" (Light)
   ══════════════════════════════════════════════ */
:root {
  /* ── Dark Mode: "The Command Center" ── */
  --ink: #050505;
  --midnight: #0a0a0f;
  --graphite: #111118;
  --surface: #161622;
  --slate: #94a3b8;
  --text-primary: #E2E8F0;   /* Off-white for OLED readability */
  --text-muted: #94a3b8;

  /* ── Light Mode: "The Studio Loft" ── */
  --light-bg: #F8FAFC;
  --light-card: #ffffff;
  --light-text: #1E293B;     /* Deep Indigo */
  --light-muted: #64748b;
  --light-glass: rgba(255, 255, 255, 0.7);
  --light-glass-border: rgba(0, 0, 0, 0.05);

  /* ── Accent Palette ── */
  --primary: #2D5BFF;         /* Neon Cobalt */
  --primary-light: #6B8AFF;   /* Softened cobalt */
  --primary-pastel: #B3C7FF;  /* Desaturated for light mode */
  --electric: #2D5BFF;
  --cyan: #06b6d4;
  --neon: #22d3ee;
  --lime: #a3e635;
  --pink: #ec4899;
  --orange: #f97316;
  --sun: #eab308;
  --purple: #7c3aed;          /* Secondary accent */

  /* ── Glass System ── */
  --glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-hover: rgba(255, 255, 255, 0.08);

  /* ── Glow (Dark Mode Shadows) ── */
  --glow-primary: rgba(45, 91, 255, 0.35);
  --glow-cyan: rgba(6, 182, 212, 0.35);
  --glow-pink: rgba(236, 72, 153, 0.3);

  /* ── Soft Depth (Light Mode Shadows) ── */
  --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.05);
  --shadow-soft-hover: 0 16px 40px rgba(0, 0, 0, 0.08);

  /* ── Gradients ── */
  --gradient-primary: linear-gradient(135deg, #2D5BFF, #06b6d4);
  --gradient-warm: linear-gradient(135deg, #f97316, #ec4899);
  --gradient-neon: linear-gradient(135deg, #22d3ee, #a3e635);
  --gradient-mesh: radial-gradient(ellipse at 20% 0%, rgba(45, 91, 255, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(6, 182, 212, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 40% 80%, rgba(124, 58, 237, 0.06) 0%, transparent 50%);

  /* ── Tokens ── */
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ── Typography Scale ── */
  --font-display: 'Clash Display', 'Inter', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  background: var(--ink);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: var(--gradient-mesh);
  pointer-events: none;
  z-index: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

a { transition: color var(--transition); }
img { max-width: 100%; height: auto; }

/* ═══ Monospace Stats ═══ */
.stat-mono, .counter, .ticker-value, .kcc-fat-stat-value,
[data-ticker-target], [data-fat-target], [data-cs-counter], .bento-stat {
  font-family: var(--font-mono);
  font-weight: 600;
}

/* ═══ Gradient Text ═══ */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-warm {
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-slate { color: var(--slate); }
.bg-ink { background: var(--ink); }

/* ═══ Animated Background Blobs ═══ */
.bg-blobs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.3;
  animation: blobFloat 20s ease-in-out infinite;
}

.bg-blob:nth-child(1) {
  width: 600px; height: 600px;
  background: rgba(45, 91, 255, 0.15);
  top: -10%; left: -5%;
  animation-delay: 0s;
}

.bg-blob:nth-child(2) {
  width: 500px; height: 500px;
  background: rgba(6, 182, 212, 0.12);
  top: 30%; right: -10%;
  animation-delay: -7s;
  animation-duration: 25s;
}

.bg-blob:nth-child(3) {
  width: 400px; height: 400px;
  background: rgba(124, 58, 237, 0.08);
  bottom: -5%; left: 30%;
  animation-delay: -14s;
  animation-duration: 22s;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -50px) scale(1.1); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(40px, 30px) scale(1.05); }
}

/* ═══ Floating Shapes (Decorative) ═══ */
.floating-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.float-shape {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(45, 91, 255, 0.12);
  animation: shapeFloat 12s ease-in-out infinite;
}

.float-shape:nth-child(1) { width: 80px; height: 80px; top: 10%; left: 5%; animation-delay: 0s; }
.float-shape:nth-child(2) { width: 120px; height: 120px; top: 60%; right: 8%; animation-delay: -3s; border-color: rgba(6, 182, 212, 0.12); }
.float-shape:nth-child(3) { width: 60px; height: 60px; bottom: 20%; left: 15%; animation-delay: -6s; border-color: rgba(236, 72, 153, 0.12); }
.float-shape:nth-child(4) { width: 40px; height: 40px; top: 30%; right: 20%; animation-delay: -9s; border-radius: 8px; transform: rotate(45deg); border-color: rgba(163, 230, 53, 0.15); }

@keyframes shapeFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.4; }
  50% { transform: translateY(-30px) rotate(180deg); opacity: 0.7; }
}

/* ═══════════════════════════════════════
   HEADER / NAVIGATION
   ═══════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  background: rgba(5, 5, 5, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: rgba(5, 5, 5, 0.92);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

.navbar { padding: 16px 0; }

.navbar-brand {
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-logo {
  height: 38px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter var(--transition);
}

/* Light mode: Solid Charcoal logo */
body.theme-light .brand-logo { filter: none; }

.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-link {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  font-size: 0.88rem;
  transition: color var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 999px;
  transition: width var(--transition), left var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 70%;
  left: 15%;
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.15);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.8)' stroke-linecap='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mega Menu */
.mega-menu {
  background: rgba(10, 1, 24, 0.97);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(45, 91, 255, 0.12);
  border-radius: var(--radius-lg);
  min-width: 640px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), 0 0 40px rgba(45, 91, 255, 0.06);
}

.mega-menu h6 {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  font-weight: 700;
}

.mega-menu .dropdown-item {
  color: rgba(255, 255, 255, 0.55);
  padding: 4px 0;
  font-size: 0.88rem;
  transition: all 0.2s ease;
}

.mega-menu .dropdown-item:hover {
  color: #fff;
  background: transparent;
  padding-left: 8px;
}

/* ═══ Buttons ═══ */
.btn-electric {
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  font-weight: 600;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 30px var(--glow-primary);
  transition: all var(--transition-bounce);
  position: relative;
  overflow: hidden;
}

.btn-electric::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-electric:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 50px var(--glow-primary), 0 0 20px rgba(45, 91, 255, 0.3);
  color: #fff;
}

.btn-electric:hover::before { opacity: 1; }

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.btn-outline-light:hover {
  background: rgba(45, 91, 255, 0.1);
  border-color: rgba(45, 91, 255, 0.4);
  color: var(--text-primary);
  box-shadow: 0 0 20px rgba(45, 91, 255, 0.12);
}

.theme-toggle { min-width: 110px; }

/* ═══════════════════════════════════════
   PAGE INTRO ANIMATION
   ═══════════════════════════════════════ */
.page-intro {
  position: fixed;
  inset: 0;
  background: #050505;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 9999;
  /* NO transition — it conflicts with the animation on opacity */
  animation: introAutoHide 0.5s ease 1.6s forwards;
}

body.theme-light .page-intro { background: #F8FAFC; }
body.theme-light .page-intro .intro-logo {
  color: #1E293B;
  -webkit-text-fill-color: #1E293B;
}
body.theme-light .page-intro p { color: #64748b; }

.page-intro.hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  display: none !important;
}

@keyframes introAutoHide {
  0% { opacity: 1; }
  99% { opacity: 0; visibility: hidden; pointer-events: none; }
  100% { opacity: 0; visibility: hidden; pointer-events: none; height: 0; overflow: hidden; }
}

.intro-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.intro-line {
  width: 100px;
  height: 2px;
  background: var(--gradient-primary);
  animation: linePulse 1.8s ease-in-out infinite;
}

.page-intro p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

@keyframes linePulse {
  0%, 100% { transform: scaleX(0.4); opacity: 0.6; }
  50% { transform: scaleX(1); opacity: 1; }
}

/* ═══ Custom Cursor ═══ */
.cursor, .cursor-dot {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  border-radius: 50%;
  z-index: 9000;
  mix-blend-mode: difference;
}

.cursor {
  width: 40px; height: 40px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
}

.cursor-dot {
  width: 6px; height: 6px;
  background: #fff;
}

.cursor.hover {
  width: 60px; height: 60px;
  border-color: var(--primary-light);
  background: rgba(45, 91, 255, 0.08);
}

/* ═══════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════ */
.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 100px 0 80px;
}

.hero-video-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-video {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.3) brightness(0.4) contrast(1.1);
  transform: scale(1.08);
}

.hero-video-layer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 0, 20, 0.7) 0%, rgba(3, 0, 20, 0.3) 40%, rgba(3, 0, 20, 0.8) 100%);
}

.hero-video-mask {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 30%, rgba(124, 58, 237, 0.3), transparent 50%),
    radial-gradient(ellipse at 80% 60%, rgba(6, 182, 212, 0.2), transparent 50%);
  mix-blend-mode: screen;
  animation: maskFloat 18s ease-in-out infinite;
}

.hero-video-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(124, 58, 237, 0.15), transparent 60%);
  opacity: 0.4;
  filter: blur(100px);
  animation: glowPulse 12s ease-in-out infinite;
}

@keyframes maskFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  33% { transform: translate3d(15px, -20px, 0) scale(1.02); }
  66% { transform: translate3d(-10px, 15px, 0) scale(0.98); }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.5; }
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  display: inline-block;
}

.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  margin-bottom: 20px;
  line-height: 1.05;
}

.hero-subtext {
  font-size: 1.1rem;
  max-width: 540px;
  color: rgba(255, 255, 255, 0.6);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

/* Hero Card (Glassmorphism) */
.hero-card {
  padding: 32px;
  border-radius: var(--radius-xl);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.hero-card-label {
  font-weight: 700;
  letter-spacing: 0.15em;
  font-size: 0.65rem;
  text-transform: uppercase;
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.hero-metrics span {
  display: block;
  font-weight: 800;
  font-size: 1.3rem;
  color: #fff;
}

.hero-metrics small {
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.6rem;
}

/* ═══════════════════════════════════════
   MARQUEE SECTION
   ═══════════════════════════════════════ */
.marquee-section {
  padding: 20px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(124, 58, 237, 0.03);
}

.marquee-track {
  display: flex;
  gap: 60px;
  animation: marqueeScroll 30s linear infinite;
  width: max-content;
  padding: 8px 0;
}

.marquee-track:hover { animation-play-state: paused; }

.marquee-item {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 700;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.08);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 60px;
  transition: color 0.3s ease;
}

.marquee-item:hover { color: rgba(255, 255, 255, 0.15); }

.marquee-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gradient-primary);
  flex-shrink: 0;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════ */
.section-dark {
  padding: 100px 0;
  position: relative;
  background: transparent;
}

.section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 0, 20, 0.5), rgba(3, 0, 20, 0.8));
  pointer-events: none;
}

.section-dark > .container { position: relative; z-index: 1; }

.section-light {
  padding: 100px 0;
  position: relative;
  background: rgba(3, 0, 20, 0.6);
}

body:not(.theme-light) .section-light {
  background: rgba(3, 0, 20, 0.6);
  color: #e2e8f0;
}

body:not(.theme-light) .section-light .text-slate { color: var(--slate); }

.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  margin-top: 14px;
  background: var(--gradient-primary);
  border-radius: 999px;
}

.section-title.center { text-align: center; }
.section-title.center::after { margin-left: auto; margin-right: auto; }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--slate);
  max-width: 600px;
}

.center-text { text-align: center; }
.center-text .section-title::after,
.center-text .section-subtitle { margin-left: auto; margin-right: auto; }

/* ═══════════════════════════════════════
   3D CARDS (Glass)
   ═══════════════════════════════════════ */
.glass {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.card-3d {
  transition: transform var(--transition), box-shadow var(--transition);
  transform-style: preserve-3d;
  perspective: 1000px;
}

.card-3d:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), 0 0 30px var(--glow-primary);
}

/* Animated Gradient Border */
.glow-border {
  position: relative;
}

.glow-border::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: conic-gradient(from var(--angle, 0deg), #7c3aed, #06b6d4, #ec4899, #7c3aed);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: rotateBorder 4s linear infinite;
}

.glow-border:hover::before { opacity: 1; }

@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes rotateBorder {
  to { --angle: 360deg; }
}

/* ═══════════════════════════════════════
   STAT CARDS
   ═══════════════════════════════════════ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.stat-card {
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.6s ease;
}

.stat-card:hover::before { transform: scaleX(1); }

.stat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 58, 237, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 30px var(--glow-primary);
}

.stat-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.2);
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  font-size: 1.3rem;
  color: var(--primary-light);
  transition: all var(--transition);
}

.stat-card:hover .stat-icon {
  background: rgba(124, 58, 237, 0.2);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
  transform: scale(1.1);
}

.stat-label { font-weight: 600; margin: 0 0 4px; color: var(--slate); font-size: 0.88rem; }

.stat-value, .stat-card .counter {
  font-size: 2.4rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

/* ═══════════════════════════════════════
   SERVICE CARDS
   ═══════════════════════════════════════ */
.service-listing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.service-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 28px;
  min-height: 280px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.5s ease;
  transform-origin: left;
}

.service-item:hover::after { transform: scaleX(1); }

.service-item:hover {
  transform: translateY(-8px);
  border-color: rgba(124, 58, 237, 0.2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), 0 0 30px var(--glow-primary);
  background: rgba(255, 255, 255, 0.05);
}

.service-item-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: rgba(124, 58, 237, 0.12);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: var(--primary-light);
  font-size: 1.5rem;
  transition: all var(--transition);
}

.service-item:hover .service-item-icon {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 8px 24px var(--glow-primary);
  transform: scale(1.1) rotate(-5deg);
}

.service-item h3 { font-size: 1.15rem; margin-bottom: 12px; }

.service-item ul {
  padding-left: 0;
  margin-top: 12px;
  list-style: none;
  color: var(--slate);
}

.service-item li {
  padding: 4px 0 4px 20px;
  position: relative;
}

.service-item li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gradient-primary);
  transform: translateY(-50%);
}

/* ═══ Service Ref Cards (Home) ═══ */
.service-ref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.service-ref-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-ref-card:hover {
  transform: translateY(-8px);
  border-color: rgba(124, 58, 237, 0.2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), 0 0 30px var(--glow-primary);
}

body:not(.theme-light) .services-ref { background: transparent; }
body:not(.theme-light) .service-ref-card { background: rgba(255, 255, 255, 0.03); border-color: rgba(255, 255, 255, 0.06); color: #e2e8f0; }
body:not(.theme-light) .service-ref-card p { color: var(--slate); }
body:not(.theme-light) .service-ref-card ul { color: var(--slate); }

.service-ref-icon {
  width: 68px; height: 68px;
  border-radius: 20px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  transition: all var(--transition);
}

.service-ref-icon i { font-size: 1.6rem; }

.service-ref-icon.orange { background: rgba(249, 115, 22, 0.12); color: var(--orange); border: 1px solid rgba(249, 115, 22, 0.2); }
.service-ref-icon.blue { background: rgba(59, 130, 246, 0.12); color: #3b82f6; border: 1px solid rgba(59, 130, 246, 0.2); }
.service-ref-icon.teal { background: rgba(6, 182, 212, 0.12); color: var(--cyan); border: 1px solid rgba(6, 182, 212, 0.2); }

.service-ref-card:hover .service-ref-icon { transform: scale(1.15) rotate(-5deg); box-shadow: 0 8px 24px rgba(124, 58, 237, 0.2); }

.service-ref-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.service-ref-card p { color: var(--slate); line-height: 1.6; margin-bottom: 16px; font-size: 0.92rem; }

.service-ref-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  text-align: left;
  font-size: 0.9rem;
}

.service-ref-card ul li::before {
  content: '→';
  margin-right: 8px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

/* ═══ Speciality Cards ═══ */
.speciality-ref { background: transparent; }
body:not(.theme-light) .speciality-ref { background: transparent; }

.speciality-ref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.speciality-ref-card {
  border-radius: var(--radius-lg);
  padding: 20px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  transition: all var(--transition-bounce);
  position: relative;
  overflow: hidden;
}

.speciality-ref-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.4) 100%);
  pointer-events: none;
}

.speciality-ref-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.speciality-ref-art {
  height: 110px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
}

.speciality-ref-art i { font-size: 2rem; }

.speciality-ref-card h3 { margin: 14px 0 0; font-size: 0.95rem; position: relative; z-index: 1; }

.speciality-ref-card.mustard { background: linear-gradient(135deg, #f59e0b, #d97706); }
.speciality-ref-card.teal { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.speciality-ref-card.midnight { background: linear-gradient(135deg, #1e1b4b, #312e81); }
.speciality-ref-card.blue { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.speciality-ref-card.cobalt { background: linear-gradient(135deg, #4f46e5, #4338ca); }
.speciality-ref-card.coral { background: linear-gradient(135deg, #f43f5e, #e11d48); }
.speciality-ref-card.violet { background: linear-gradient(135deg, #a855f7, #7c3aed); }
.speciality-ref-card.sun { background: linear-gradient(135deg, #eab308, #ca8a04); }

/* ═══ Featured Grid ═══ */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
}

.featured-logo {
  padding: 18px 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-weight: 600;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  transition: all var(--transition);
}

.featured-logo:hover {
  background: rgba(124, 58, 237, 0.08);
  border-color: rgba(124, 58, 237, 0.2);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* ═══ Process Steps ═══ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 36px;
  counter-reset: process;
}

.process-step {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
  transition: all var(--transition);
  position: relative;
}

.process-step:hover {
  transform: translateY(-8px);
  border-color: rgba(124, 58, 237, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 25px var(--glow-primary);
}

.process-step span {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 8px;
}

.process-step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.process-step p { color: var(--slate); font-size: 0.9rem; }

/* ═══════════════════════════════════════
   PORTFOLIO
   ═══════════════════════════════════════ */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 32px;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all var(--transition);
  cursor: pointer;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 20px var(--glow-primary);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.portfolio-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.portfolio-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.5s ease;
}

.portfolio-card:hover::before { transform: scaleX(1); }

.portfolio-card:hover {
  transform: translateY(-8px);
  border-color: rgba(124, 58, 237, 0.2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 30px var(--glow-primary);
}

.portfolio-head h3 { font-size: 1.1rem; margin-bottom: 4px; }
.portfolio-head span { color: var(--slate); font-size: 0.82rem; }

.portfolio-card ul {
  padding-left: 0;
  list-style: none;
  color: var(--slate);
  margin-top: 14px;
}

.portfolio-card li {
  padding: 3px 0 3px 18px;
  position: relative;
  font-size: 0.9rem;
}

.portfolio-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--neon);
  font-size: 0.8rem;
}

/* Portfolio Gallery */
.portfolio-showcase .section-title::after {
  background: var(--gradient-warm);
}

.portfolio-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.portfolio-thumb {
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 0;
  aspect-ratio: 1;
  cursor: pointer;
  overflow: hidden;
  background-size: cover;
  background-position: top;
  transition: all 0.5s ease, background-position 4s ease;
  position: relative;
}

.portfolio-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(124, 58, 237, 0.3) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-thumb:hover::after { opacity: 1; }

.portfolio-thumb:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 25px var(--glow-primary);
  background-position: bottom;
}

.portfolio-thumb-img { width: 100%; height: 100%; display: block; opacity: 0; pointer-events: none; }

.portfolio-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9500;
}

.portfolio-modal.show { opacity: 1; visibility: visible; }

.portfolio-modal img {
  max-width: min(1200px, 92vw);
  max-height: 86vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.portfolio-modal-close {
  position: absolute;
  top: 20px; right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.portfolio-modal-close:hover { background: rgba(255, 255, 255, 0.2); transform: rotate(90deg); }

/* ═══════════════════════════════════════
   AWARDS SECTION
   ═══════════════════════════════════════ */
.award-section { text-align: center; }

body:not(.theme-light) .section-light.award-section { background: transparent; }

.award-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 12px;
}

.award-title::after {
  content: '';
  display: block;
  width: 60px; height: 3px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: var(--gradient-warm);
}

.award-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.award-card {
  border-radius: var(--radius-lg);
  padding: 16px;
  transition: all var(--transition);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

body:not(.theme-light) .award-card { background: rgba(255, 255, 255, 0.03); border-color: rgba(255, 255, 255, 0.06); }

.award-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.award-frame {
  border: 2px solid rgba(124, 58, 237, 0.3);
  border-radius: var(--radius-md);
  background: rgba(3, 0, 20, 0.6);
  padding: 24px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

body:not(.theme-light) .award-frame { background: rgba(3, 0, 20, 0.6); border-color: rgba(124, 58, 237, 0.3); }
body:not(.theme-light) .award-frame p { color: var(--slate); }
body:not(.theme-light) .award-title, body:not(.theme-light) .section-subtitle { color: #e2e8f0; }

.award-badge {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  box-shadow: 0 8px 24px var(--glow-primary);
}

.award-frame h4 { font-size: 0.95rem; }
.award-frame p { color: #6b7280; font-size: 0.8rem; }

.award-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.award-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); }
.award-dots span.active { background: var(--primary); box-shadow: 0 0 10px var(--glow-primary); }

body:not(.theme-light) .award-dots span { background: rgba(255, 255, 255, 0.2); }
body:not(.theme-light) .award-dots span.active { background: var(--primary); }

/* ═══════════════════════════════════════
   BLOG CARDS
   ═══════════════════════════════════════ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.blog-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.blog-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(124, 58, 237, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.blog-card:hover::before { opacity: 1; }

.blog-card:hover {
  transform: translateY(-8px);
  border-color: rgba(124, 58, 237, 0.2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), 0 0 25px var(--glow-primary);
}

.blog-card h3 { font-size: 1.15rem; margin-bottom: 10px; position: relative; }
.blog-card p { color: var(--slate); font-size: 0.92rem; position: relative; }

.blog-card-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.15);
  color: var(--primary-light);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  position: relative;
}

.blog-card-link {
  color: var(--neon);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s ease;
  position: relative;
}

.blog-card-link:hover { gap: 12px; color: var(--neon); }

.blog-card a { color: var(--neon); text-decoration: none; font-weight: 600; }

/* ═══════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════ */
.cta-section {
  padding: 100px 0;
  position: relative;
  background: transparent;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(124, 58, 237, 0.15), transparent 55%);
}

.cta-section.intense::before {
  background: radial-gradient(ellipse at 30% 40%, rgba(6, 182, 212, 0.15), transparent 55%);
}

.cta-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: conic-gradient(from 0deg, transparent, rgba(124, 58, 237, 0.3), transparent, rgba(6, 182, 212, 0.2), transparent);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.cta-card:hover::before { opacity: 1; }

.cta-card:hover {
  box-shadow: 0 0 60px var(--glow-primary), 0 30px 80px rgba(0, 0, 0, 0.3);
}

.cta-card h2 { font-size: 1.8rem; margin-bottom: 8px; }

/* ═══════════════════════════════════════
   PAGE HERO / BANNER
   ═══════════════════════════════════════ */
.page-hero { padding: 80px 0 50px; }

.page-banner {
  background: linear-gradient(135deg, #2D5BFF, #06b6d4) center/cover;
  padding: 50px 0;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/banner2.webp') center/cover;
  opacity: 0.15;
}

.page-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.85), rgba(6, 182, 212, 0.7));
}

.page-banner .container { position: relative; z-index: 1; }
.page-banner-inner { text-align: center; }
.page-banner-inner h1 { font-size: 2rem; font-weight: 800; color: #fff; margin-bottom: 8px; }
.page-banner-inner p { margin: 0; font-weight: 500; color: rgba(255, 255, 255, 0.8); }

/* ═══════════════════════════════════════
   CASE STUDIES
   ═══════════════════════════════════════ */
.case-study-grid { display: grid; gap: 32px; }

.case-study {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  padding: 28px;
  transition: all var(--transition);
}

.case-study:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), 0 0 30px var(--glow-primary);
  border-color: rgba(124, 58, 237, 0.15);
}

.case-cover {
  height: 280px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.case-cover-one { background: linear-gradient(135deg, rgba(124, 58, 237, 0.3), rgba(6, 182, 212, 0.2)); }
.case-cover-two { background: linear-gradient(135deg, rgba(163, 230, 53, 0.2), rgba(124, 58, 237, 0.3)); }
.case-cover-three { background: linear-gradient(135deg, rgba(6, 182, 212, 0.3), rgba(236, 72, 153, 0.2)); }

.case-content h2 { font-size: 1.4rem; margin-bottom: 10px; }
.case-content p { color: var(--slate); margin-bottom: 16px; }

.case-metrics { display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }

.case-metrics span {
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.08);
  color: var(--neon);
  font-weight: 600;
  font-size: 0.82rem;
  border: 1px solid rgba(34, 211, 238, 0.15);
}

.case-points { display: grid; gap: 16px; }

.case-points > div {
  padding: 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--transition);
}

.case-points > div:hover {
  transform: translateX(8px);
  border-color: rgba(124, 58, 237, 0.2);
}

/* ═══════════════════════════════════════
   ABOUT PAGE
   ═══════════════════════════════════════ */
.about-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  padding: 24px;
  align-items: center;
  margin-bottom: 24px;
  transition: all var(--transition);
}

.about-card:hover { box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3); }

.about-card-image img {
  width: 100%; height: 240px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.about-card-content h2 { font-size: 1.4rem; margin: 8px 0; }
.about-card-content p { color: var(--slate); }

.about-card-stats { display: flex; gap: 24px; margin-top: 14px; }

.about-card-stats strong {
  font-size: 1.4rem;
  display: block;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-card-stats span { color: var(--slate); font-size: 0.85rem; }

.about-story h3 { margin-top: 12px; }
.about-story p { color: var(--slate); }

/* Milestones */
.milestone-row { margin-top: 32px; }

.milestone-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.milestone-box {
  padding: 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 600;
  text-align: center;
  transition: all var(--transition-bounce);
}

.milestone-box.is-floating { animation: milestoneFloat 5s ease-in-out infinite; }
.milestone-box.is-floating:nth-child(2) { animation-delay: 0.2s; }
.milestone-box.is-floating:nth-child(3) { animation-delay: 0.4s; }
.milestone-box.is-floating:nth-child(4) { animation-delay: 0.6s; }

@keyframes milestoneFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.milestone-box:hover {
  border-color: rgba(124, 58, 237, 0.3);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3), 0 0 20px var(--glow-primary);
}

/* Innovation */
.innov-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: center;
}

.innov-image img {
  width: 100%; max-width: 520px;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.innov-icons { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }

.innov-icons span {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}

/* Features */
.features-head { text-align: center; margin-bottom: 28px; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.feature-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 58, 237, 0.2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3), 0 0 20px var(--glow-primary);
}

.feature-icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.2);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  color: var(--primary-light);
  font-size: 1.3rem;
  transition: all var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 8px 24px var(--glow-primary);
}

.feature-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature-card p { color: var(--slate); font-size: 0.9rem; }

/* Skills */
.skills-section {
  display: grid;
  grid-template-columns: minmax(260px, 1.05fr) minmax(320px, 1fr);
  gap: 44px;
  align-items: start;
}

.skills-copy .section-title { margin-bottom: 16px; }
.skills-copy p { line-height: 1.75; color: var(--slate); max-width: 520px; }

.skills-bars { display: grid; gap: 20px; }

.skills-bars .skill-row { display: grid; gap: 10px; }

.skills-bars .skill-meta {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 0.92rem;
}

.skills-bars .skill-meta strong { color: var(--slate); }

.skill-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.skill-bar div {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 999px;
  width: 0;
  transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 4px 16px var(--glow-primary);
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.team-card {
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--transition);
}

.team-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 21px;
  background: linear-gradient(160deg, rgba(124, 58, 237, 0.12), transparent 40%, transparent 60%, rgba(14, 165, 233, 0.08));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.team-card:hover::before { opacity: 1; }

.team-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 30px rgba(124, 58, 237, 0.08);
  border-color: rgba(124, 58, 237, 0.15);
}

.team-card-img-wrap {
  position: relative;
  overflow: hidden;
  height: 280px;
}

.team-card-img-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(5, 5, 16, 0.95), transparent);
  pointer-events: none;
  z-index: 1;
}

.team-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-card:hover img { transform: scale(1.08); }

.team-card-info {
  padding: 20px 22px 24px;
  position: relative;
  z-index: 2;
  margin-top: -40px;
}

.team-card-info strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.team-card-info .team-card-role {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, #7c3aed, #0ea5e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 10px;
}

.team-card-socials {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}

.team-card-social {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
  text-decoration: none;
}

.team-card-social:hover {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(14, 165, 233, 0.1));
  border-color: rgba(124, 58, 237, 0.25);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.15);
}

/* Team card number decoration */
.team-card-num {
  position: absolute;
  top: 16px; right: 18px;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.04);
  line-height: 1;
  z-index: 2;
  pointer-events: none;
}

.team-card:hover .team-card-num {
  color: rgba(124, 58, 237, 0.08);
}

/* Old fallback */
.team-card span:not(.team-card-role):not(.team-card-num) { color: var(--slate); font-size: 0.85rem; }

/* Auto-scroll marquee */
.auto-scroll { overflow: hidden; position: relative; padding: 8px 0; }

.auto-scroll-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: scroll-x var(--scroll-duration, 40s) linear infinite;
  padding: 10px 4px;
}

.auto-scroll:hover .auto-scroll-track { animation-play-state: paused; }

@keyframes scroll-x {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-1 * var(--scroll-distance, 50%))); }
}

.auto-scroll .team-card { min-width: 280px; }

/* Logo Cards */
.logo-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  padding: 16px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
  aspect-ratio: 4 / 3;
  width: clamp(160px, 18vw, 220px);
  transition: all var(--transition);
}

.logo-card img { width: 100%; height: 100%; object-fit: contain; }

.logo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 58, 237, 0.2);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.auto-scroll .logo-card { min-width: clamp(160px, 18vw, 220px); }
.auto-scroll-track.logos-grid { display: flex; }

/* ═══════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════ */
.contact-panel { padding: 80px 0; }

body:not(.theme-light) .contact-panel { background: transparent; }

.contact-card-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: start;
}

.contact-form-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 32px;
  border-radius: var(--radius-xl);
  text-align: center;
}

.contact-form-card h2 { font-size: 1.5rem; margin-bottom: 12px; }

.contact-accent {
  width: 60px; height: 3px;
  background: var(--gradient-primary);
  margin: 0 auto 16px;
  border-radius: 999px;
}

.contact-subtitle { font-weight: 600; color: var(--slate); margin-bottom: 20px; }

.contact-form-card form { display: grid; gap: 14px; }

.contact-form-card input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.92rem;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  transition: all 0.3s ease;
}

.contact-form-card input::placeholder { color: rgba(255, 255, 255, 0.3); }

.contact-form-card input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 20px var(--glow-primary);
}

.contact-info-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px;
  border-radius: var(--radius-xl);
}

.contact-info-card h3 {
  font-size: 1.2rem;
  margin-bottom: 18px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }

.contact-info-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.contact-icon { width: 28px; display: grid; place-items: center; font-size: 1rem; color: var(--primary-light); }

.contact-metrics {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  text-align: center;
}

.contact-metrics .metric {
  padding: 20px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: grid;
  gap: 8px;
  justify-items: center;
}

.metric-icon { font-size: 1.6rem; color: var(--primary-light); }
.metric-icon i { font-size: 1.6rem; }
.metric-label { font-weight: 600; color: var(--slate); font-size: 0.88rem; }

.metric-value {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.site-footer {
  background: radial-gradient(ellipse at top right, rgba(124, 58, 237, 0.06), transparent 50%), #050510;
  color: #94a3b8;
  padding: 80px 0 40px;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.site-footer .container { position: relative; z-index: 1; }

.footer-top {
  display: grid;
  gap: 28px;
  grid-template-columns: 1.35fr 0.8fr 0.8fr 1fr 1.1fr;
  margin-bottom: 40px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}

.footer-brand p { color: rgba(148, 163, 184, 0.8); margin-bottom: 20px; font-size: 0.92rem; line-height: 1.65; }

.footer-contact { display: grid; gap: 10px; font-size: 0.9rem; color: rgba(148, 163, 184, 0.8); }
.footer-contact span { margin-right: 8px; }

.footer-links { display: grid; gap: 8px; }
.footer-links h4, .footer-social h4, .footer-map h4 {
  color: #fff;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.7rem;
}

.footer-links a {
  display: block;
  color: rgba(148, 163, 184, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 6px;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links a:hover { color: #fff; padding-left: 4px; }

.footer-social-icons { display: flex; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }

.footer-social-icons a {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--social, #94a3b8);
  display: grid;
  place-items: center;
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-social-icons a svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }

.footer-social-icons a:hover {
  transform: translateY(-2px);
  background: color-mix(in srgb, var(--social, #fff) 12%, transparent);
  border-color: color-mix(in srgb, var(--social, #fff) 35%, transparent);
}

.footer-cta {
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: grid;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-cta span { color: rgba(148, 163, 184, 0.7); font-size: 0.88rem; }
.footer-cta a { color: var(--primary-light); font-weight: 700; text-decoration: none; font-size: 0.92rem; }

.footer-map-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

.footer-map-frame iframe { width: 100%; height: 260px; border: 0; display: block; filter: saturate(0.8) contrast(1.1); }

.footer-map { align-self: stretch; display: grid; gap: 12px; }

.footer-bottom {
  display: flex;
  justify-content: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  color: rgba(148, 163, 184, 0.5);
  font-size: 0.82rem;
}

.footer-bottom-center { text-align: center; }

/* ═══════════════════════════════════════
   REVIEW PAGE
   ═══════════════════════════════════════ */
/* ══════════════════════════════════════════════
   REVIEW PAGE — Premium 3D Glassmorphism
   Always dark immersive bg regardless of theme
   ══════════════════════════════════════════════ */
.review-hero {
  padding: 100px 0 80px;
  position: relative;
  background:
    radial-gradient(ellipse at 15% 15%, rgba(124, 58, 237, 0.25), transparent 45%),
    radial-gradient(ellipse at 85% 85%, rgba(14, 165, 233, 0.15), transparent 45%),
    radial-gradient(ellipse at 50% 50%, rgba(232, 121, 249, 0.06), transparent 50%),
    linear-gradient(160deg, #07051a 0%, #0d0525 35%, #080832 70%, #06061a 100%) !important;
  color: #e2e8f0 !important;
  overflow: hidden;
}

/* Force dark context inside review-hero regardless of theme */
body.theme-light .review-hero { background: linear-gradient(160deg, #07051a 0%, #0d0525 35%, #080832 70%, #06061a 100%) !important; color: #e2e8f0 !important; }
body.theme-light .review-hero * { color: inherit; }
body.theme-light .review-hero .eyebrow { color: var(--primary); }

.review-hero-grid {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.review-hero-left h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }

.review-accent { width: 60px; height: 3px; border-radius: 999px; background: var(--gradient-primary); margin-bottom: 18px; }
.review-accent--center { margin: 0 auto 18px; }

/* Legacy .review-card for fallback */
.review-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  padding: 28px;
  border-radius: var(--radius-lg);
  position: relative;
}

.review-card--featured { max-width: 520px; }

.review-slider { display: grid; justify-items: start; gap: 16px; }

.review-card[data-review-slide] {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s ease;
  pointer-events: none;
  height: 0;
  overflow: hidden;
}

.review-card[data-review-slide].is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  height: auto;
  overflow: visible;
}

.review-card::after { content: '\201D'; position: absolute; right: 22px; bottom: 14px; font-size: 2.2rem; color: rgba(255, 255, 255, 0.1); }

.review-text { font-size: 0.95rem; line-height: 1.7; margin-bottom: 16px; font-style: italic; }

.review-footer { display: flex; align-items: center; gap: 12px; }

.review-avatar {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--gradient-primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.review-footer span { font-size: 0.72rem; color: rgba(255, 255, 255, 0.45); }

.review-dots { display: flex; gap: 8px; justify-content: start; margin-top: 20px; }

.review-dots button {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.review-dots button.active { width: 28px; background: linear-gradient(135deg, #7c3aed, #0ea5e9); }
.review-dots button:hover { background: rgba(255, 255, 255, 0.3); }

.review-empty {
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  color: var(--slate);
}

/* Legacy form-card */
.review-form-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px;
  border-radius: var(--radius-xl);
}

.review-form-card h3 { font-size: 1.5rem; margin-bottom: 8px; text-align: center; color: #fff; }
.review-form-card form { display: grid; gap: 14px; }
.review-form-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }

.review-form-card input, .review-form-card textarea, .review-form-card select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  transition: all 0.3s ease;
}

.review-form-card input:focus, .review-form-card textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 20px var(--glow-primary);
}

.review-btn {
  padding: 12px 28px;
  border-radius: 999px;
  border: none;
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  box-shadow: 0 8px 24px var(--glow-primary);
  cursor: pointer;
  transition: all var(--transition);
}

.review-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px var(--glow-primary); }

.review-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.review-actions--center { justify-content: center; }

.review-alert { padding: 10px 14px; border-radius: var(--radius-sm); background: rgba(34, 197, 94, 0.12); color: #4ade80; margin: 12px 0; font-size: 0.85rem; text-align: center; border: 1px solid rgba(34, 197, 94, 0.2); }

.review-error { color: #f87171; font-size: 0.85rem; }

/* ═══════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════ */
[data-animate] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate].show { opacity: 1; transform: translateY(0); }

.split-word, .split-letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(25px);
  filter: blur(6px);
  transition: opacity 0.6s ease, transform 0.6s ease, filter 0.6s ease;
}

.split-word.reveal, .split-letter.reveal {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.magnetic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

body.reduce-motion [data-animate],
body.reduce-motion .split-word,
body.reduce-motion .split-letter { opacity: 1; transform: none; filter: none; transition: none; }

body.reduce-motion .cursor, body.reduce-motion .cursor-dot { display: none; }
body.reduce-motion .auto-scroll-track { animation: none; }

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 1100px) {
  .footer-top { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}

@media (max-width: 991px) {
  .hero-content { padding-top: 80px; }
  .cta-card { justify-content: center; text-align: center; }
  .mega-menu { min-width: 100%; }
  .skills-section { grid-template-columns: 1fr; }
  .case-study { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .section-dark, .section-light { padding: 70px 0; }
  .cta-section { padding: 70px 0; }
  .hero-metrics { grid-template-columns: repeat(2, 1fr); }
  .cursor, .cursor-dot { display: none; }
  .about-card { grid-template-columns: 1fr; }
  .innov-grid { grid-template-columns: 1fr; }
  .case-cover { height: 180px; }
  .page-hero { padding: 50px 0 30px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .cursor, .cursor-dot { display: none; }
}

/* ═══════════════════════════════════════════════════
   "THE STUDIO LOFT" — Light Theme
   Clean, professional, airy, high-trust
   ═══════════════════════════════════════════════════ */
body.theme-light {
  --ink: #F8FAFC;
  --midnight: #F1F5F9;
  --graphite: #E2E8F0;
  --surface: #FFFFFF;
  --text-primary: #0F172A;
  --text-muted: #475569;
  --slate: #475569;
  --light-text: #0F172A;
  --light-muted: #475569;
  --glass: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(0, 0, 0, 0.08);
  --glass-hover: rgba(255, 255, 255, 0.95);
  /* Desaturated pastel accents for light mode */
  --primary: #2D5BFF;
  --primary-light: #6B8AE0;
  --glow-primary: rgba(45, 91, 255, 0.1);
  --glow-cyan: rgba(6, 182, 212, 0.08);
  --glow-pink: rgba(236, 72, 153, 0.06);
  --gradient-mesh: none;
  background: #F8FAFC;
  color: #0F172A;
}

body.theme-light::before {
  display: none !important;
}

body.theme-light h1, body.theme-light h2, body.theme-light h3,
body.theme-light h4, body.theme-light h5, body.theme-light h6 {
  color: #0F172A !important;
  -webkit-text-fill-color: #0F172A;
}

body.theme-light .text-slate { color: #475569 !important; }

/* ── Header ── */
body.theme-light .site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
}
body.theme-light .site-header.scrolled { background: rgba(255, 255, 255, 0.97); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); }
body.theme-light .navbar-brand { color: #0F172A !important; }
body.theme-light .nav-link { color: #334155 !important; }
body.theme-light .nav-link:hover, body.theme-light .nav-link.active { color: #0F172A !important; }
body.theme-light .navbar-toggler { border-color: rgba(0, 0, 0, 0.12); }
body.theme-light .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(30,41,59,0.6)' stroke-linecap='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ── Sections ── */
body.theme-light .section-dark { background: #F1F5F9; }
body.theme-light .section-dark::before { opacity: 0; display: none; }
body.theme-light .section-light { background: #FFFFFF; color: #0F172A; }

/* ── Cards: Soft Glass + Soft Depth Shadows ── */
body.theme-light .glass, body.theme-light .stat-card, body.theme-light .service-item,
body.theme-light .portfolio-card, body.theme-light .process-step, body.theme-light .blog-card,
body.theme-light .service-ref-card, body.theme-light .feature-card, body.theme-light .team-card,
body.theme-light .about-card, body.theme-light .milestone-box, body.theme-light .contact-form-card,
body.theme-light .contact-info-card, body.theme-light .kcc-svc-card, body.theme-light .kcc-momentum-card,
body.theme-light .st-node, body.theme-light .pillar-card, body.theme-light .award-card {
  background: var(--light-glass);
  backdrop-filter: blur(12px);
  border-color: var(--light-glass-border);
  color: var(--light-text);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

body.theme-light .glass:hover, body.theme-light .stat-card:hover, body.theme-light .service-item:hover,
body.theme-light .feature-card:hover, body.theme-light .kcc-svc-card:hover, body.theme-light .st-node:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

/* ── Text Colors ── */
body.theme-light .service-item ul, body.theme-light .portfolio-card ul, body.theme-light .feature-card p,
body.theme-light .about-card-content p, body.theme-light .about-story p, body.theme-light .team-card span,
body.theme-light .about-card-stats span, body.theme-light .process-step p, body.theme-light .blog-card p,
body.theme-light .contact-subtitle, body.theme-light .skills-copy p, body.theme-light .st-node-stat { color: #475569 !important; }

/* ── Inputs ── */
body.theme-light .contact-form-card input { background: #F8FAFC; border-color: rgba(0, 0, 0, 0.08); color: var(--light-text); }
body.theme-light .contact-form-card input::placeholder { color: var(--light-muted); }

/* ── Buttons ── */
body.theme-light .btn-outline-light { color: var(--light-text); border-color: rgba(30, 41, 59, 0.15); }
body.theme-light .btn-outline-light:hover { background: rgba(45, 91, 255, 0.06); border-color: rgba(45, 91, 255, 0.25); color: var(--light-text); }
body.theme-light .btn-electric { box-shadow: 0 4px 16px rgba(45, 91, 255, 0.15); }
body.theme-light .btn-electric:hover { box-shadow: 0 8px 30px rgba(45, 91, 255, 0.2); }

/* ── Hero Sections ── */
body.theme-light .hero-card { background: var(--light-glass); border-color: var(--light-glass-border); }
body.theme-light .hero-video-layer { opacity: 0.1; }
body.theme-light .hero, body.theme-light .page-hero { color: #0F172A !important; }
body.theme-light .hero { background: #F8FAFC; }
body.theme-light .hero-metrics span { color: #0F172A !important; }

/* Ensure page-hero text is always visible (portfolio and all pages) */
body.theme-light .page-hero .display-2,
body.theme-light .page-hero h1 {
  color: #0F172A !important;
  -webkit-text-fill-color: #0F172A !important;
}
body.theme-light .page-hero .lead { color: #334155 !important; }
body.theme-light .page-hero .eyebrow {
  -webkit-text-fill-color: initial;
}
/* Ensure hero subtext is visible */
body.theme-light .hero-subtext { color: #475569 !important; }
body.theme-light .hero-title {
  color: #0F172A !important;
  -webkit-text-fill-color: #0F172A !important;
}
/* Split text elements in light mode must be dark */
body.theme-light .split-word,
body.theme-light .split-letter {
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
}

/* ── Mega Menu ── */
body.theme-light .mega-menu { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(20px); border-color: rgba(0, 0, 0, 0.06); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08); }
body.theme-light .mega-menu .dropdown-item { color: var(--light-muted); }
body.theme-light .mega-menu .dropdown-item:hover { color: var(--light-text); }
body.theme-light .mega-menu h6 { background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* ── Footer ── */
body.theme-light .site-footer { background: #0f172a; }

/* ── CTA ── */
body.theme-light .cta-section { background: #F1F5F9; }
body.theme-light .cta-card { background: #FFFFFF; border-color: rgba(0, 0, 0, 0.06); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05); }

/* ── Eyebrow ── */
body.theme-light .eyebrow { -webkit-text-fill-color: unset; background: none; color: #3B63CF; }

/* ── Featured / Filter / Marquee ── */
body.theme-light .featured-logo { background: #FFFFFF; border: 1px solid rgba(45, 91, 255, 0.06); color: var(--light-text); font-weight: 700; box-shadow: 0 4px 16px rgba(45, 91, 255, 0.04); }
body.theme-light .filter-btn { color: var(--light-text); border-color: rgba(0, 0, 0, 0.12); background: #FFFFFF; }
body.theme-light .marquee-section { background: rgba(45, 91, 255, 0.02); border-color: rgba(0, 0, 0, 0.04); }
body.theme-light .marquee-item { color: rgba(30, 41, 59, 0.08); }

/* ── Contact ── */
body.theme-light .contact-panel { background: #FFFFFF; }
body.theme-light .contact-info-card { background: #F8FAFC; color: var(--light-text); }
body.theme-light .contact-info-list li { color: var(--light-text); }
body.theme-light .metric-label { color: var(--light-muted); }
body.theme-light .contact-metrics .metric { background: #FFFFFF; border-color: rgba(0, 0, 0, 0.06); }

/* ── Review (stays dark in both modes) ── */
body.theme-light .review-form-card input, body.theme-light .review-form-card textarea { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.1); color: #e2e8f0; }
body.theme-light .review-card { background: rgba(255,255,255,0.04); color: #e2e8f0; }

/* ── Skills ── */
body.theme-light .skill-bar { background: rgba(0, 0, 0, 0.06); }
body.theme-light .skills-bars .skill-meta { color: var(--light-text); }
body.theme-light .skills-bars .skill-meta strong { color: var(--light-muted); }

/* ── Awards ── */
body.theme-light .award-card { background: #FFFFFF; border-color: rgba(0, 0, 0, 0.06); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04); }
body.theme-light .award-frame { background: #F8FAFC; border-color: rgba(45, 91, 255, 0.1); }
body.theme-light .award-title { color: var(--light-text); }
body.theme-light .section-subtitle { color: var(--light-muted); }
body.theme-light .award-dots span { background: rgba(0, 0, 0, 0.08); }
body.theme-light .award-dots span.active { background: var(--primary); }

/* ── Innovation ── */
body.theme-light .innov-icons span { background: #F1F5F9; border-color: rgba(0, 0, 0, 0.06); color: var(--light-text); }

/* ── 3D Objects: Glow → Soft Shadow swap ── */
body.theme-light .card-3d { box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05); }
body.theme-light .card-3d:hover { box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08); }
body.theme-light .glow-border { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04); border-color: rgba(0, 0, 0, 0.06); }

/* ── Chrome text in light mode → Dark gradient ── */
body.theme-light .chrome-text {
  background: linear-gradient(135deg, #0F172A, #1E293B, #0F172A) !important;
  background-size: 200% auto;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text;
}

/* ── Blobs: softer in light mode ── */
body.theme-light .bg-blobs { display: none !important; }
body.theme-light .bg-blob { display: none !important; }

/* ── Page Intro ── */
body.theme-light .page-intro { background: #F8FAFC; }
body.theme-light .page-intro p { color: rgba(30, 41, 59, 0.4); }
body.theme-light .intro-line { background: var(--gradient-primary); }

/* ── Cursor ── */
body.theme-light .cursor { border-color: rgba(30, 41, 59, 0.3); mix-blend-mode: normal; }
body.theme-light .cursor-dot { background: var(--light-text); mix-blend-mode: normal; }

/* ── KCC Homepage ── */
body.theme-light .kcc-hero { background: #F8FAFC; }
body.theme-light .kcc-headline { color: var(--light-text); }
body.theme-light .kcc-headline .kcc-kinetic-word { color: var(--light-text); }
body.theme-light .kcc-subtext { color: var(--light-muted); }
body.theme-light .kcc-services { background: #F1F5F9; }
body.theme-light .kcc-svc-card h3 { color: var(--light-text); }
body.theme-light .kcc-svc-card p { color: var(--light-muted); }
body.theme-light .kcc-bento { background: #F8FAFC; }
body.theme-light .kcc-fat-footer { background: linear-gradient(135deg, #F8FAFC, #EFF6FF); border-top: 1px solid rgba(45, 91, 255, 0.06); }

/* ── Skill Tree ── */
body.theme-light .skill-tree-section { background: #F1F5F9; }
body.theme-light .st-hub { background: radial-gradient(circle, rgba(45, 91, 255, 0.08), rgba(6, 182, 212, 0.04), transparent 70%); border-color: rgba(45, 91, 255, 0.12); box-shadow: 0 0 30px rgba(45, 91, 255, 0.06); }
body.theme-light .st-node { background: var(--light-glass); border-color: var(--light-glass-border); }
body.theme-light .st-node h3 { color: var(--light-text); }
body.theme-light .st-node-stat { color: var(--light-muted); }
body.theme-light .st-subskill { background: rgba(0, 0, 0, 0.03); border-color: rgba(0, 0, 0, 0.05); color: var(--light-muted); }

/* ── Page Banner (keep gradient, white text) ── */
body.theme-light .page-banner { background: linear-gradient(135deg, #3B63CF, #0891b2); }
body.theme-light .page-banner-inner h1 { color: #fff; }
body.theme-light .page-banner-inner p { color: rgba(255, 255, 255, 0.8); }

/* ── Speciality Cards (keep gradients, lighten them) ── */
body.theme-light .speciality-ref-card { box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08); }
body.theme-light .speciality-ref-card::after { background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.15) 100%); }
body.theme-light .speciality-ref-card h3 { color: #fff; }
body.theme-light .speciality-ref-card:hover { box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15); }
body.theme-light .speciality-ref-art { background: rgba(255,255,255,0.25) !important; }
body.theme-light .speciality-ref-art i { color: #fff !important; }

/* ── Process Steps ── */
body.theme-light .process-step { background: var(--light-glass); }
body.theme-light .process-step h3 { color: var(--light-text); }
body.theme-light .process-step p { color: var(--light-muted); }
body.theme-light .process-step span { color: rgba(45, 91, 255, 0.3); }

/* ── Founders ── */
body.theme-light .founders-section { background: #F8FAFC; }

/* ── Live Ticker ── */
body.theme-light .live-ticker { background: rgba(45, 91, 255, 0.03); border-color: rgba(0, 0, 0, 0.04); }
body.theme-light .ticker-label { color: var(--light-muted); }

/* ══════════════════════════════════════════════
   "THE GLASS ENGINE" — Premium Additions
   ══════════════════════════════════════════════ */

/* ═══ Chrome / Metallic Text ═══ */
.chrome-text {
  background: linear-gradient(135deg, #c0c0c0 0%, #f5f5f5 25%, #a8a8a8 50%, #e8e8e8 75%, #b8b8b8 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: chromeShimmer 4s linear infinite;
}

@keyframes chromeShimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.silver-text {
  background: linear-gradient(135deg, #e2e8f0, #f8fafc, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══ Neon Blue Glow Utilities ═══ */
.glow-blue { box-shadow: 0 0 30px rgba(14, 165, 233, 0.3), 0 0 60px rgba(14, 165, 233, 0.1); }
.glow-neon { box-shadow: 0 0 20px rgba(34, 211, 238, 0.25), 0 8px 30px rgba(0, 0, 0, 0.3); }

.neon-border {
  border: 1px solid rgba(14, 165, 233, 0.2);
  box-shadow: inset 0 0 20px rgba(14, 165, 233, 0.05), 0 0 20px rgba(14, 165, 233, 0.08);
}

/* ═══ Enhanced Frosted Glass ═══ */
.glass-heavy {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(30px) saturate(1.6);
  -webkit-backdrop-filter: blur(30px) saturate(1.6);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.glass-heavy:hover {
  border-color: rgba(14, 165, 233, 0.2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), 0 0 40px rgba(14, 165, 233, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* ═══ Bento Grid — Services "Power Six" ═══ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
  margin-top: 36px;
}

.bento-cell {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.bento-cell::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(14, 165, 233, 0.06), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.bento-cell:hover::before { opacity: 1; }

.bento-cell:hover {
  border-color: rgba(14, 165, 233, 0.2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), 0 0 30px rgba(14, 165, 233, 0.1);
  transform: translateY(-6px);
}

/* Bento span variants */
.bento-cell.span-2 { grid-column: span 2; }
.bento-cell.span-row { grid-row: span 2; }

.bento-icon {
  width: 64px; height: 64px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  transition: all var(--transition);
}

.bento-icon i { font-size: 1.6rem; }

.bento-icon.icon-blue { background: rgba(14, 165, 233, 0.12); color: #38bdf8; border: 1px solid rgba(14, 165, 233, 0.2); }
.bento-icon.icon-purple { background: rgba(124, 58, 237, 0.12); color: var(--primary-light); border: 1px solid rgba(124, 58, 237, 0.2); }
.bento-icon.icon-cyan { background: rgba(6, 182, 212, 0.12); color: var(--neon); border: 1px solid rgba(6, 182, 212, 0.2); }
.bento-icon.icon-pink { background: rgba(236, 72, 153, 0.12); color: var(--pink); border: 1px solid rgba(236, 72, 153, 0.2); }
.bento-icon.icon-orange { background: rgba(249, 115, 22, 0.12); color: var(--orange); border: 1px solid rgba(249, 115, 22, 0.2); }
.bento-icon.icon-lime { background: rgba(163, 230, 53, 0.12); color: var(--lime); border: 1px solid rgba(163, 230, 53, 0.2); }

.bento-cell:hover .bento-icon {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.2);
}

.bento-cell h3 { font-size: 1.2rem; margin-bottom: 10px; position: relative; z-index: 1; }
.bento-cell p { color: var(--slate); font-size: 0.9rem; line-height: 1.65; position: relative; z-index: 1; flex: 1; }

.bento-cell ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--slate);
  position: relative;
  z-index: 1;
}

.bento-cell li { padding-left: 18px; position: relative; }
.bento-cell li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0ea5e9, #06b6d4);
  transform: translateY(-50%);
}

.bento-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.1);
  color: #38bdf8;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

/* ══════════════════════════════════════════════════════════════
   "STUDIO LOFT" — Premium Light Mode Deep Enhancement
   3D Depth, Colored Shadows, Gradient Accents, Rich Hovers
   ══════════════════════════════════════════════════════════════ */

/* ── Bento Grid Cells (Case Studies) ── */
body.theme-light .kcc-bento { background: #FFFFFF; }
body.theme-light .kcc-bento-grid { gap: 16px; }

body.theme-light .kcc-bento-cell {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(45, 91, 255, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(45, 91, 255, 0.06);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

body.theme-light .kcc-bento-cell:hover {
  box-shadow: 0 20px 50px rgba(45, 91, 255, 0.12), 0 8px 20px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(45, 91, 255, 0.12);
}

body.theme-light .kcc-bento-cell .bento-front::after {
  background: linear-gradient(180deg, transparent 30%, rgba(30, 41, 59, 0.85) 100%);
}

body.theme-light .kcc-bento-cell .bento-front h3 { color: #fff; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); }
body.theme-light .kcc-bento-cell .bento-front .bento-cat { color: #fff; background: rgba(45, 91, 255, 0.7); }

body.theme-light .kcc-bento-cell .bento-back {
  background: linear-gradient(135deg, #FFFFFF 0%, #F1F5F9 100%);
  border: 1px solid rgba(45, 91, 255, 0.08);
  color: var(--light-text);
}

body.theme-light .kcc-bento-cell .bento-back h4 { color: var(--light-text); }
body.theme-light .kcc-bento-cell .bento-back p { color: var(--light-muted); }
body.theme-light .kcc-bento-cell .bento-back .bento-stat {
  background: linear-gradient(135deg, #2D5BFF, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.theme-light .kcc-bento-cell .bento-flip-hint {
  background: rgba(45, 91, 255, 0.08);
  color: #2D5BFF;
  border: 1px solid rgba(45, 91, 255, 0.12);
}

body.theme-light .kcc-bento-cell:hover .bento-flip-hint {
  background: rgba(45, 91, 255, 0.15);
  color: #2D5BFF;
}

/* ── Old Bento Cells (Services) ── */
body.theme-light .bento-cell {
  background: #FFFFFF;
  border: 1px solid rgba(45, 91, 255, 0.06);
  box-shadow: 0 6px 24px rgba(45, 91, 255, 0.05), 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

body.theme-light .bento-cell:hover {
  box-shadow: 0 16px 48px rgba(45, 91, 255, 0.1), 0 4px 12px rgba(0, 0, 0, 0.04);
  transform: translateY(-4px);
  border-color: rgba(45, 91, 255, 0.12);
}

body.theme-light .bento-cell ul, body.theme-light .bento-cell p { color: var(--light-muted); }
body.theme-light .bento-cell h3 { color: var(--light-text); }

body.theme-light .bento-icon {
  box-shadow: 0 4px 16px rgba(45, 91, 255, 0.08);
}

/* ── KCC Service Cards ── */
body.theme-light .kcc-svc-card {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 8px 30px rgba(45, 91, 255, 0.05), 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

body.theme-light .kcc-svc-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 24px 60px rgba(45, 91, 255, 0.1), 0 8px 20px rgba(0, 0, 0, 0.04);
  border-color: rgba(45, 91, 255, 0.1);
}

body.theme-light .kcc-svc-card .kcc-svc-tag {
  color: var(--light-muted);
  background: rgba(45, 91, 255, 0.04);
  border: 1px solid rgba(45, 91, 255, 0.06);
}

body.theme-light .kcc-svc-3d-icon {
  box-shadow: 0 8px 24px rgba(45, 91, 255, 0.08);
}

/* ── KCC Momentum Card ── */
body.theme-light .kcc-momentum-card {
  background: linear-gradient(135deg, #FFFFFF, #F8FAFC);
  border: 1px solid rgba(45, 91, 255, 0.08);
  box-shadow: 0 12px 40px rgba(45, 91, 255, 0.08), 0 4px 12px rgba(0, 0, 0, 0.03);
}

body.theme-light .kcc-momentum-card .kcc-momentum-label { color: #3B63CF; }
body.theme-light .kcc-momentum-card .chrome-text {
  background: linear-gradient(135deg, #1E293B, #475569);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
body.theme-light .kcc-momentum-metrics div span { color: var(--light-text); }

/* ── Stat Cards ── */
body.theme-light .stat-card {
  background: #FFFFFF;
  border: 1px solid rgba(45, 91, 255, 0.06);
  box-shadow: 0 8px 28px rgba(45, 91, 255, 0.05);
  transition: all 0.4s ease;
}

body.theme-light .stat-card:hover {
  box-shadow: 0 16px 48px rgba(45, 91, 255, 0.1);
  transform: translateY(-4px);
}

body.theme-light .stat-card .counter {
  background: linear-gradient(135deg, #2D5BFF, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.theme-light .stat-icon i { color: #3B63CF; }

/* ── Process Steps ── */
body.theme-light .process-step {
  background: #FFFFFF;
  border: 1px solid rgba(45, 91, 255, 0.06);
  box-shadow: 0 6px 20px rgba(45, 91, 255, 0.04);
}

body.theme-light .process-step:hover {
  box-shadow: 0 14px 40px rgba(45, 91, 255, 0.08);
  transform: translateY(-4px);
  border-color: rgba(45, 91, 255, 0.1);
}

body.theme-light .process-step span {
  background: linear-gradient(135deg, #2D5BFF, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Award Cards ── */
body.theme-light .award-card {
  background: #FFFFFF;
  border: 1px solid rgba(45, 91, 255, 0.06);
  box-shadow: 0 6px 24px rgba(45, 91, 255, 0.05);
}

body.theme-light .award-card:hover {
  box-shadow: 0 16px 48px rgba(45, 91, 255, 0.1);
  transform: translateY(-4px);
}

body.theme-light .award-frame {
  background: linear-gradient(135deg, #F8FAFC, #EFF6FF);
  border: 1px solid rgba(45, 91, 255, 0.08);
}

body.theme-light .award-badge {
  background: linear-gradient(135deg, #2D5BFF, #06b6d4);
  color: #fff;
  box-shadow: 0 4px 12px rgba(45, 91, 255, 0.2);
}

/* ── Feature Cards ── */
body.theme-light .feature-card {
  background: #FFFFFF;
  border: 1px solid rgba(45, 91, 255, 0.05);
  box-shadow: 0 6px 24px rgba(45, 91, 255, 0.04);
  transition: all 0.4s ease;
}

body.theme-light .feature-card:hover {
  box-shadow: 0 18px 50px rgba(45, 91, 255, 0.1);
  transform: translateY(-6px);
  border-color: rgba(45, 91, 255, 0.1);
}

body.theme-light .feature-icon { background: linear-gradient(135deg, #EFF6FF, #DBEAFE); }
body.theme-light .feature-icon i { color: #2D5BFF; }

/* ── Speciality Cards (keep vibrant gradients in light mode) ── */
body.theme-light .speciality-ref-card.mustard { background: linear-gradient(135deg, #fbbf24, #f59e0b); }
body.theme-light .speciality-ref-card.teal { background: linear-gradient(135deg, #22d3ee, #06b6d4); }
body.theme-light .speciality-ref-card.midnight { background: linear-gradient(135deg, #6366f1, #4f46e5); }
body.theme-light .speciality-ref-card.blue { background: linear-gradient(135deg, #60a5fa, #3b82f6); }
body.theme-light .speciality-ref-card.cobalt { background: linear-gradient(135deg, #818cf8, #6366f1); }
body.theme-light .speciality-ref-card.coral { background: linear-gradient(135deg, #fb7185, #f43f5e); }
body.theme-light .speciality-ref-card.violet { background: linear-gradient(135deg, #c084fc, #a855f7); }
body.theme-light .speciality-ref-card.sun { background: linear-gradient(135deg, #facc15, #eab308); }

body.theme-light .speciality-ref-card {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
  border: none;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

body.theme-light .speciality-ref-card::after {
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.15) 100%);
}

body.theme-light .speciality-ref-card:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
  transform: translateY(-8px) scale(1.03);
}

body.theme-light .speciality-ref-card h3 { color: #fff; }
body.theme-light .speciality-ref-art { background: rgba(255, 255, 255, 0.2) !important; }
body.theme-light .speciality-ref-art i { color: #fff !important; font-size: 2rem; }

/* ── Featured Logos ── */
body.theme-light .featured-logo {
  background: #FFFFFF;
  border: 1px solid rgba(45, 91, 255, 0.06);
  box-shadow: 0 4px 16px rgba(45, 91, 255, 0.04);
  color: var(--light-text);
  font-weight: 700;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

body.theme-light .featured-logo:hover {
  box-shadow: 0 12px 36px rgba(45, 91, 255, 0.12);
  transform: translateY(-4px);
  border-color: rgba(45, 91, 255, 0.12);
  background: linear-gradient(135deg, #FFFFFF, #EFF6FF);
  color: #2D5BFF;
}

/* ── Pillar Cards (About Blueprint) ── */
body.theme-light .pillar-card {
  background: #FFFFFF;
  border: 1px solid rgba(45, 91, 255, 0.06);
  box-shadow: 0 8px 28px rgba(45, 91, 255, 0.05);
}

body.theme-light .pillar-card:hover {
  box-shadow: 0 16px 50px rgba(45, 91, 255, 0.1);
  transform: translateY(-6px);
}

body.theme-light .pillar-card h4 { color: var(--light-text); }
body.theme-light .pillar-card p { color: var(--light-muted); }

/* ── Service Item Cards ── */
body.theme-light .service-item {
  background: #FFFFFF;
  border: 1px solid rgba(45, 91, 255, 0.05);
  box-shadow: 0 6px 24px rgba(45, 91, 255, 0.04);
  transition: all 0.4s ease;
}

body.theme-light .service-item:hover {
  box-shadow: 0 20px 50px rgba(45, 91, 255, 0.1);
  transform: translateY(-6px);
  border-color: rgba(45, 91, 255, 0.1);
}

body.theme-light .service-item-icon i { color: #2D5BFF; }
body.theme-light .service-item h3 { color: var(--light-text); }

/* ── Milestone Boxes ── */
body.theme-light .milestone-box {
  background: #FFFFFF;
  border: 1px solid rgba(45, 91, 255, 0.06);
  box-shadow: 0 4px 16px rgba(45, 91, 255, 0.04);
}

body.theme-light .milestone-box span { color: var(--light-text); }

/* ── About Card ── */
body.theme-light .about-card {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 12px 40px rgba(45, 91, 255, 0.06);
}

body.theme-light .about-card-content h2 { color: var(--light-text); }
body.theme-light .about-card-stats strong { color: var(--light-text); }
body.theme-light .about-card-stats span { color: var(--light-muted); }

/* ── Glass Heavy Cards ── */
body.theme-light .glass-heavy {
  background: rgba(255, 255, 255, 0.85) !important;
  border: 1px solid rgba(45, 91, 255, 0.06) !important;
  box-shadow: 0 8px 30px rgba(45, 91, 255, 0.05) !important;
  backdrop-filter: blur(12px);
}

body.theme-light .glass-heavy:hover {
  box-shadow: 0 18px 50px rgba(45, 91, 255, 0.1) !important;
  transform: translateY(-4px);
}

body.theme-light .glass-heavy p { color: var(--light-muted) !important; }
body.theme-light .glass-heavy h3 { color: var(--light-text) !important; }

/* ── KCC Fat Footer ── */
body.theme-light .kcc-fat-footer {
  background: linear-gradient(135deg, #F8FAFC, #EFF6FF);
  border-top: 1px solid rgba(45, 91, 255, 0.06);
}

body.theme-light .kcc-fat-stat {
  background: #FFFFFF;
  border: 1px solid rgba(45, 91, 255, 0.08);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 6px 24px rgba(45, 91, 255, 0.06);
  transition: all 0.4s ease;
}

body.theme-light .kcc-fat-stat:hover {
  box-shadow: 0 14px 40px rgba(45, 91, 255, 0.12);
  transform: translateY(-4px);
  border-color: rgba(45, 91, 255, 0.14);
}

body.theme-light .kcc-fat-stat-value,
body.theme-light .kcc-fat-stat-value span,
body.theme-light .kcc-fat-stat [data-fat-target] {
  background: linear-gradient(135deg, #1E293B, #2D5BFF) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

body.theme-light .kcc-fat-stat-icon i { color: #2D5BFF; }
body.theme-light .kcc-fat-stat-label { color: var(--light-muted) !important; }
body.theme-light .kcc-fat-stat-label { color: var(--light-muted) !important; }
body.theme-light .kcc-fat-stat-live { background: #2D5BFF; }

/* ── CTA Card ── */
body.theme-light .cta-card {
  background: linear-gradient(135deg, #FFFFFF, #F8FAFC);
  border: 1px solid rgba(45, 91, 255, 0.08);
  box-shadow: 0 12px 40px rgba(45, 91, 255, 0.06);
}

body.theme-light .cta-card:hover {
  box-shadow: 0 20px 60px rgba(45, 91, 255, 0.1);
}

/* ── Live Ticker ── */
body.theme-light .live-ticker {
  background: linear-gradient(90deg, rgba(45, 91, 255, 0.03), rgba(6, 182, 212, 0.03), rgba(45, 91, 255, 0.03));
  border-top: 1px solid rgba(45, 91, 255, 0.06);
  border-bottom: 1px solid rgba(45, 91, 255, 0.06);
}

body.theme-light .ticker-value {
  background: linear-gradient(135deg, #1E293B, #2D5BFF) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}
body.theme-light .ticker-label { color: var(--light-muted); }
body.theme-light .ticker-pulse { background: #2D5BFF; }

/* ── Marquee ── */
body.theme-light .marquee-section {
  background: linear-gradient(90deg, rgba(45, 91, 255, 0.02), rgba(6, 182, 212, 0.02));
  border-top: 1px solid rgba(45, 91, 255, 0.04);
  border-bottom: 1px solid rgba(45, 91, 255, 0.04);
}

body.theme-light .marquee-item { color: rgba(45, 91, 255, 0.12); }
body.theme-light .marquee-dot { background: rgba(45, 91, 255, 0.15); }

/* ── Section Titles in Light Mode ── */
body.theme-light .section-title { color: var(--light-text); }
body.theme-light .gradient-text {
  background: linear-gradient(135deg, #1D4ED8, #0E7490) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text;
}

/* ── Page Banner (override — keep colored gradient + white text) ── */
body.theme-light .page-banner {
  background: linear-gradient(135deg, #3B63CF, #0891b2);
}

body.theme-light .page-banner-inner h1 { color: #fff; }
body.theme-light .page-banner-inner p { color: rgba(255, 255, 255, 0.85); }

/* ── Founders Tagline — handled in about-specific overrides below ── */

/* ── Innov Icons ── */
body.theme-light .innov-icons span {
  background: #FFFFFF;
  border: 1px solid rgba(45, 91, 255, 0.06);
  color: var(--light-text);
  box-shadow: 0 2px 8px rgba(45, 91, 255, 0.04);
}

/* ── Skill Bars ── */
body.theme-light .skill-bar { background: rgba(45, 91, 255, 0.06); }
body.theme-light .skill-bar > div { background: linear-gradient(90deg, #2D5BFF, #06b6d4); }

/* ── Blog Cards ── */
body.theme-light .blog-card {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 6px 24px rgba(45, 91, 255, 0.04);
}

body.theme-light .blog-card:hover {
  box-shadow: 0 16px 48px rgba(45, 91, 255, 0.08);
  transform: translateY(-4px);
}

/* ── Skill Tree ── */
body.theme-light .skill-tree-section {
  background: linear-gradient(180deg, #F8FAFC, #EFF6FF, #F8FAFC);
}

body.theme-light .st-node {
  background: #FFFFFF;
  border: 1px solid rgba(45, 91, 255, 0.06);
  box-shadow: 0 6px 24px rgba(45, 91, 255, 0.04);
}

body.theme-light .st-node:hover {
  box-shadow: 0 16px 48px rgba(45, 91, 255, 0.1);
  transform: scale(1.05) translateY(-4px);
  border-color: rgba(45, 91, 255, 0.12);
}

body.theme-light .st-node.active {
  border-color: rgba(45, 91, 255, 0.15);
  box-shadow: 0 20px 60px rgba(45, 91, 255, 0.12);
}

body.theme-light .st-node-icon.n-video { background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(14, 165, 233, 0.02)); }
body.theme-light .st-node-icon.n-social { background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(124, 58, 237, 0.02)); }
body.theme-light .st-node-icon.n-ads { background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(245, 158, 11, 0.02)); }
body.theme-light .st-node-icon.n-graphics { background: linear-gradient(135deg, rgba(232, 121, 249, 0.08), rgba(232, 121, 249, 0.02)); }

body.theme-light .st-subskill {
  background: rgba(45, 91, 255, 0.03);
  border: 1px solid rgba(45, 91, 255, 0.06);
  color: var(--light-muted);
}

body.theme-light .st-levelup {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(45, 91, 255, 0.1);
  color: var(--light-text);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
}

body.theme-light .st-levelup p { color: var(--light-muted); }
body.theme-light .st-levelup-close {
  border-color: rgba(0, 0, 0, 0.08);
  color: var(--light-muted);
  background: rgba(0, 0, 0, 0.03);
}

/* ── Background Blobs: Colored in Light Mode ── */
body.theme-light .bg-blob:nth-child(1) { background: rgba(45, 91, 255, 0.06); }
body.theme-light .bg-blob:nth-child(2) { background: rgba(6, 182, 212, 0.04); }
body.theme-light .bg-blob:nth-child(3) { background: rgba(124, 58, 237, 0.03); }

/* ── KCC Hero in Light Mode ── */
body.theme-light .kcc-hero {
  background: linear-gradient(180deg, #F8FAFC, #EFF6FF);
}

body.theme-light .kcc-hero-overlay {
  background: transparent;
}

body.theme-light .kcc-accent-electric {
  background: linear-gradient(135deg, #2D5BFF, #3B82F6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.theme-light .kcc-accent-acid {
  background: linear-gradient(135deg, #059669, #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Service Section Background ── */
body.theme-light .kcc-services {
  background: linear-gradient(180deg, #FFFFFF, #F8FAFC);
}

/* ── Glow Border → Subtle Blue Shadow in Light ── */
body.theme-light .glow-border {
  box-shadow: 0 8px 30px rgba(45, 91, 255, 0.06);
  border-color: rgba(45, 91, 255, 0.06);
}

body.theme-light .neon-border {
  box-shadow: 0 4px 16px rgba(45, 91, 255, 0.04);
  border-color: rgba(45, 91, 255, 0.06);
}

/* ═══ Philosophy Section (About) ═══ */
.philosophy-section {
  position: relative;
  overflow: hidden;
}

.philosophy-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 27, 75, 0.8));
  animation: philBg 20s ease-in-out infinite;
}

@keyframes philBg {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.philosophy-title-3d {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.philosophy-crystals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.crystal-card {
  padding: 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(14, 165, 233, 0.12);
  text-align: center;
  transition: all var(--transition-bounce);
  position: relative;
}

.crystal-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(124, 58, 237, 0.1));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.crystal-card:hover::before { opacity: 1; }
.crystal-card:hover { transform: translateY(-8px) scale(1.02); }

.crystal-icon { font-size: 1.6rem; margin-bottom: 8px; display: block; }
.crystal-card h4 { font-size: 0.9rem; margin-bottom: 4px; }
.crystal-card p { font-size: 0.78rem; color: var(--slate); margin: 0; }

/* ═══ Magazine Blog Grid ═══ */
.magazine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.magazine-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition);
  position: relative;
}

.magazine-card:hover {
  transform: translateY(-8px);
  border-color: rgba(14, 165, 233, 0.2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), 0 0 30px rgba(14, 165, 233, 0.1);
}

.magazine-thumb {
  height: 200px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(14, 165, 233, 0.15));
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.magazine-thumb .thumb-icon {
  font-size: 2.4rem;
  color: rgba(255, 255, 255, 0.3);
}

.magazine-thumb .thumb-icon i { font-size: 2.4rem; }

.magazine-thumb.thumb-seo { background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(14, 165, 233, 0.3)); }
.magazine-thumb.thumb-marketing { background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(236, 72, 153, 0.15)); }
.magazine-thumb.thumb-growth { background: linear-gradient(135deg, rgba(163, 230, 53, 0.15), rgba(6, 182, 212, 0.2)); }
.magazine-thumb.thumb-video { background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(234, 179, 8, 0.15)); }
.magazine-thumb.thumb-design { background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(124, 58, 237, 0.15)); }
.magazine-thumb.thumb-social { background: linear-gradient(135deg, rgba(14, 165, 233, 0.25), rgba(124, 58, 237, 0.1)); }

.magazine-body { padding: 24px; }

.magazine-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.magazine-badge {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.12);
  color: #38bdf8;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.magazine-read-time {
  color: var(--slate);
  font-size: 0.72rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}

.magazine-card h3 { font-size: 1.1rem; margin-bottom: 8px; line-height: 1.3; }
.magazine-card p { color: var(--slate); font-size: 0.88rem; margin-bottom: 14px; }

.magazine-link {
  color: #38bdf8;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s ease, color 0.3s ease;
}

.magazine-link:hover { gap: 12px; color: var(--neon); }

body.theme-light .magazine-card { background: #fff; border-color: rgba(0, 0, 0, 0.06); }
body.theme-light .magazine-card p { color: var(--light-muted); }
body.theme-light .magazine-card h3 { color: var(--light-text); }

/* ═══ Wall of Fame (Portfolio) ═══ */
.wof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.wof-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  padding: 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.wof-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0ea5e9, #7c3aed);
  transform: scaleX(0);
  transition: transform 0.6s ease;
  transform-origin: left;
}

.wof-card:hover::before { transform: scaleX(1); }

.wof-card:hover {
  transform: translateY(-8px);
  border-color: rgba(14, 165, 233, 0.2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(14, 165, 233, 0.12);
}

.wof-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}

.wof-header h3 { font-size: 1.1rem; margin: 0 0 2px; }
.wof-header span { color: var(--slate); font-size: 0.8rem; }

.wof-badge {
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.08);
  color: var(--neon);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid rgba(34, 211, 238, 0.15);
  white-space: nowrap;
}

.wof-results { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }

.wof-results li {
  padding: 8px 12px 8px 28px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  transition: all 0.2s ease;
}

.wof-results li::before {
  content: '✓';
  position: absolute;
  left: 10px;
  color: #22d3ee;
  font-weight: 700;
  font-size: 0.75rem;
}

.wof-results li:hover {
  background: rgba(14, 165, 233, 0.05);
  border-color: rgba(14, 165, 233, 0.1);
  transform: translateX(4px);
}

body.theme-light .wof-card { background: #fff; border-color: rgba(0, 0, 0, 0.06); }
body.theme-light .wof-results li { background: #f8fafc; border-color: rgba(0, 0, 0, 0.04); color: var(--light-muted); }

/* ═══ Floating Form ═══ */
.floating-form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(30px) saturate(1.5);
  -webkit-backdrop-filter: blur(30px) saturate(1.5);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.floating-form::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 2px;
  background: linear-gradient(90deg, #0ea5e9, #7c3aed, #ec4899);
}

.floating-form h2 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.floating-form .form-group { display: grid; gap: 14px; }

.floating-form input, .floating-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.92rem;
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.floating-form input::placeholder, .floating-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.floating-form input:focus, .floating-form textarea:focus {
  outline: none;
  border-color: #0ea5e9;
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.2), inset 0 0 8px rgba(14, 165, 233, 0.05);
}

body.theme-light .floating-form { background: #fff; border-color: rgba(0, 0, 0, 0.06); }
body.theme-light .floating-form input, body.theme-light .floating-form textarea { background: #f8fafc; border-color: rgba(0, 0, 0, 0.1); color: var(--light-text); }

/* ═══ Assembly Scroll (data-assemble) ═══ */
[data-assemble] {
  opacity: 0;
  transform: translateY(60px) scale(0.95);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-assemble].assembled {
  opacity: 1;
  transform: translateY(0) scale(1);
}

[data-assemble="left"] { transform: translateX(-60px) scale(0.95); }
[data-assemble="left"].assembled { transform: translateX(0) scale(1); }

[data-assemble="right"] { transform: translateX(60px) scale(0.95); }
[data-assemble="right"].assembled { transform: translateX(0) scale(1); }

[data-assemble="scale"] { transform: scale(0.8); }
[data-assemble="scale"].assembled { transform: scale(1); }

/* Stagger children */
[data-assemble-stagger] > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-assemble-stagger].assembled > *:nth-child(1) { transition-delay: 0.05s; }
[data-assemble-stagger].assembled > *:nth-child(2) { transition-delay: 0.1s; }
[data-assemble-stagger].assembled > *:nth-child(3) { transition-delay: 0.15s; }
[data-assemble-stagger].assembled > *:nth-child(4) { transition-delay: 0.2s; }
[data-assemble-stagger].assembled > *:nth-child(5) { transition-delay: 0.25s; }
[data-assemble-stagger].assembled > *:nth-child(6) { transition-delay: 0.3s; }

[data-assemble-stagger].assembled > * {
  opacity: 1;
  transform: translateY(0);
}

/* ═══ Responsive Bento ═══ */
@media (max-width: 991px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-cell.span-2 { grid-column: span 1; }
  .philosophy-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-cell.span-2 { grid-column: span 1; }
  .bento-cell.span-row { grid-row: span 1; }
}

/* ══════════════════════════════════════════════
   ADVANCED EFFECTS — Scramble, Highlight, Ticker
   ══════════════════════════════════════════════ */

/* ═══ Text Scramble ═══ */
[data-scramble] {
  font-family: var(--font-display);
  display: inline-block;
}

.scramble-char {
  display: inline-block;
  transition: color 0.15s ease;
}

.scramble-char.scrambling {
  color: var(--neon);
  text-shadow: 0 0 8px rgba(34, 211, 238, 0.5);
}

/* ═══ Scroll-Triggered Highlighting ═══ */
[data-scroll-highlight] {
  color: rgba(255, 255, 255, 0.12);
  transition: color 0.6s ease, text-shadow 0.6s ease;
}

[data-scroll-highlight].is-lit {
  color: #fff;
  text-shadow: 0 0 30px rgba(14, 165, 233, 0.4), 0 0 60px rgba(14, 165, 233, 0.15);
}

[data-scroll-highlight].is-lit .highlight-word {
  background: linear-gradient(135deg, #0ea5e9, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.theme-light [data-scroll-highlight] { color: rgba(0, 0, 0, 0.1); }
body.theme-light [data-scroll-highlight].is-lit { color: var(--light-text); text-shadow: none; }

/* ═══ Live Results Ticker ═══ */
.live-ticker {
  display: flex;
  gap: 24px;
  overflow: hidden;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(14, 165, 233, 0.02);
}

.ticker-track {
  display: flex;
  gap: 48px;
  animation: tickerScroll 40s linear infinite;
  width: max-content;
}

.ticker-track:hover { animation-play-state: paused; }

.ticker-item {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  padding: 6px 0;
}

.ticker-value {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #0ea5e9, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.ticker-value::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.4), transparent);
}

.ticker-label {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ticker-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22d3ee;
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.5);
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

body.theme-light .live-ticker { background: rgba(14, 165, 233, 0.03); }
body.theme-light .ticker-label { color: var(--light-muted); }

/* ═══ Architecture Sections (About) ═══ */
.arch-hook {
  min-height: 60vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.arch-hook-title {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.arch-hook-sub {
  font-size: 1.15rem;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.12);
  line-height: 1.75;
  transition: color 0.8s ease;
}

.arch-hook-sub.is-lit {
  color: rgba(255, 255, 255, 0.7);
}

/* Blueprint Section */
.blueprint-section {
  position: relative;
  overflow: hidden;
}

.blueprint-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(14, 165, 233, 0.08), transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(124, 58, 237, 0.06), transparent 50%);
  pointer-events: none;
}

.blueprint-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.blueprint-quote {
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-style: italic;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  border-left: 3px solid;
  border-image: var(--gradient-primary) 1;
  padding-left: 20px;
  margin: 24px 0;
}

.blueprint-quote.is-lit { color: rgba(255, 255, 255, 0.85); }

.blueprint-pillars {
  display: grid;
  gap: 20px;
}

.pillar-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gradient-primary);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.6s ease;
}

.pillar-card:hover::before { transform: scaleY(1); }

.pillar-card:hover {
  border-color: rgba(14, 165, 233, 0.15);
  transform: translateX(8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(14, 165, 233, 0.08);
}

.pillar-icon {
  font-size: 1.4rem;
  margin-bottom: 8px;
  display: block;
}

.pillar-card h4 { font-size: 1.05rem; margin-bottom: 6px; }
.pillar-card p { color: var(--slate); font-size: 0.88rem; margin: 0; }

/* Founders Section */
.founders-section {
  position: relative;
}

.founders-text {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.founders-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 20px;
}

.founders-text p {
  color: rgba(255, 255, 255, 0.12);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.founders-text p.is-lit { color: rgba(255, 255, 255, 0.7); }

.founders-tagline {
  margin-top: 28px;
  padding: 20px 28px;
  border-radius: var(--radius-lg);
  background: rgba(14, 165, 233, 0.06);
  border: 1px solid rgba(14, 165, 233, 0.12);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: #38bdf8;
  text-align: center;
}

body.theme-light .pillar-card { background: #fff; border-color: rgba(0, 0, 0, 0.06); }
body.theme-light .pillar-card h4 { color: var(--light-text); }
body.theme-light .pillar-card p { color: var(--light-muted); }
body.theme-light .blueprint-quote { color: rgba(30, 41, 59, 0.35); }
body.theme-light .blueprint-quote.is-lit { color: var(--light-text); }
body.theme-light .arch-hook-sub { color: rgba(30, 41, 59, 0.3); }
body.theme-light .arch-hook-sub.is-lit { color: var(--light-muted); }
body.theme-light .arch-hook-title { color: var(--light-text); }
body.theme-light .founders-text h2 { color: var(--light-text); }
body.theme-light .founders-text p { color: rgba(30, 41, 59, 0.3); }
body.theme-light .founders-text p.is-lit { color: var(--light-muted); }
body.theme-light [data-scroll-highlight] { color: rgba(30, 41, 59, 0.25); }
body.theme-light [data-scroll-highlight].is-lit { color: var(--light-text); text-shadow: none; }
body.theme-light .founders-tagline {
  background: linear-gradient(135deg, #EFF6FF, #F0F9FF) !important;
  border: 1px solid rgba(45, 91, 255, 0.1) !important;
  color: #2D5BFF !important;
  -webkit-text-fill-color: #2D5BFF !important;
}
body.theme-light .highlight-word { color: #2D5BFF; }

@media (max-width: 991px) {
  .blueprint-grid { grid-template-columns: 1fr; }
  .arch-hook { min-height: auto; padding: 80px 0; }
}

/* ══════════════════════════════════════════════════════════════
   "INTERACTIVE ORBIT" — Portfolio Gallery System
   ══════════════════════════════════════════════════════════════ */

/* ═══ Chrome Sphere (Cursor Follower) ═══ */
.chrome-sphere {
  position: fixed;
  top: 0; left: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #f5f5f5, #a8a8a8 40%, #555 80%, #222);
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.15), inset 0 0 10px rgba(255, 255, 255, 0.2);
  pointer-events: none;
  z-index: 9998;
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.5s ease, width 0.3s ease, height 0.3s ease;
}

.chrome-sphere.visible { opacity: 0.7; }
.chrome-sphere.active { width: 64px; height: 64px; opacity: 0.9; box-shadow: 0 0 35px rgba(14, 165, 233, 0.35); }

/* ═══ Service Switcher — Orb Navigation ═══ */
.orbit-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 8px;
  margin-bottom: 48px;
}

.orbit-orb {
  position: relative;
  width: 100px; height: 100px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.orbit-orb i { font-size: 1.5rem; margin-bottom: 4px; transition: color 0.3s; }
.orbit-orb span { font-size: 0.65rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--slate); }

.orbit-orb::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0%, rgba(14, 165, 233, 0.3) 25%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
  animation: orbSpin 4s linear infinite;
}

.orbit-orb:hover::before, .orbit-orb.active::before { opacity: 1; }

.orbit-orb:hover {
  transform: scale(1.12);
  border-color: rgba(14, 165, 233, 0.2);
  box-shadow: 0 0 30px rgba(14, 165, 233, 0.15);
}

.orbit-orb.active {
  background: rgba(14, 165, 233, 0.08);
  border-color: rgba(14, 165, 233, 0.25);
  box-shadow: 0 0 40px rgba(14, 165, 233, 0.2), 0 0 80px rgba(14, 165, 233, 0.05);
}

.orbit-orb.active i { color: #38bdf8; }

@keyframes orbSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Orb theme colours */
.orbit-orb[data-service="video"] i { color: #e879f9; }
.orbit-orb[data-service="video"].active i { color: #e879f9; }
.orbit-orb[data-service="video"].active { border-color: rgba(232, 121, 249, 0.25); box-shadow: 0 0 40px rgba(232, 121, 249, 0.2); }
.orbit-orb[data-service="video"]::before { background: conic-gradient(from 0deg, transparent 0%, rgba(232, 121, 249, 0.3) 25%, transparent 50%); }

.orbit-orb[data-service="graphics"] i { color: #34d399; }
.orbit-orb[data-service="graphics"].active i { color: #34d399; }
.orbit-orb[data-service="graphics"].active { border-color: rgba(52, 211, 153, 0.25); box-shadow: 0 0 40px rgba(52, 211, 153, 0.2); }
.orbit-orb[data-service="graphics"]::before { background: conic-gradient(from 0deg, transparent 0%, rgba(52, 211, 153, 0.3) 25%, transparent 50%); }

.orbit-orb[data-service="social"] i { color: #fb923c; }
.orbit-orb[data-service="social"].active i { color: #fb923c; }
.orbit-orb[data-service="social"].active { border-color: rgba(251, 146, 60, 0.25); box-shadow: 0 0 40px rgba(251, 146, 60, 0.2); }
.orbit-orb[data-service="social"]::before { background: conic-gradient(from 0deg, transparent 0%, rgba(251, 146, 60, 0.3) 25%, transparent 50%); }

.orbit-orb[data-service="seo"] i { color: #38bdf8; }

/* ═══ Theme Warp Transitions ═══ */
.orbit-portfolio { transition: background 0.8s ease, color 0.6s ease; }

.orbit-portfolio[data-active-theme="video"] {
  background: linear-gradient(180deg, rgba(15, 5, 25, 0.98) 0%, rgba(10, 2, 18, 0.99) 100%);
}

.orbit-portfolio[data-active-theme="graphics"] {
  background: linear-gradient(180deg, rgba(5, 20, 15, 0.98) 0%, rgba(2, 12, 8, 0.99) 100%);
}

.orbit-portfolio[data-active-theme="social"] {
  background: linear-gradient(180deg, rgba(25, 12, 5, 0.98) 0%, rgba(18, 8, 2, 0.99) 100%);
}

/* Glitch warp overlay */
.warp-overlay {
  position: fixed;
  inset: 0;
  z-index: 9990;
  pointer-events: none;
  opacity: 0;
}

.warp-overlay.active {
  animation: warpGlitch 0.4s ease forwards;
}

@keyframes warpGlitch {
  0% { opacity: 0.6; background: rgba(14, 165, 233, 0.06); }
  50% { opacity: 0.3; background: rgba(139, 92, 246, 0.04); }
  100% { opacity: 0; background: transparent; }
}

/* ═══ Portfolio Section Panels ═══ */
.orbit-panel {
  display: none;
}

.orbit-panel.active {
  display: block;
  opacity: 1;
}

/* ═══ Cinema Cubes (Video Editing) ═══ */
.cinema-stage {
  perspective: 1200px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
  padding: 20px 0;
}

.cinema-cube-wrap {
  perspective: 800px;
  height: 240px;
  cursor: pointer;
}

.cinema-cube {
  width: 100%; height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  animation: cubeFloat 6s ease-in-out infinite;
}

.cinema-cube:hover {
  animation-play-state: paused;
}

.cinema-cube-face {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.cinema-cube-face img, .cinema-cube-face video {
  width: 100%; height: 100%;
  object-fit: cover;
}

.cinema-cube-face--front  { transform: translateZ(120px); }
.cinema-cube-face--back   { transform: rotateY(180deg) translateZ(120px); }
.cinema-cube-face--left   { transform: rotateY(-90deg) translateZ(140px); }
.cinema-cube-face--right  { transform: rotateY(90deg) translateZ(140px); }
.cinema-cube-face--top    { transform: rotateX(90deg) translateZ(120px); }
.cinema-cube-face--bottom { transform: rotateX(-90deg) translateZ(120px); }

.cinema-cube-face .face-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.7) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
}

.cinema-cube-face .face-title { font-size: 0.9rem; font-weight: 700; color: #fff; }
.cinema-cube-face .face-cat { font-size: 0.7rem; color: #e879f9; text-transform: uppercase; letter-spacing: 0.08em; }

@keyframes cubeFloat {
  0%, 100% { transform: rotateX(5deg) rotateY(0deg); }
  25% { transform: rotateX(-3deg) rotateY(90deg); }
  50% { transform: rotateX(5deg) rotateY(180deg); }
  75% { transform: rotateX(-3deg) rotateY(270deg); }
}

/* Cube explode to theater */
.cinema-theater {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.cinema-theater.open {
  opacity: 1;
  pointer-events: auto;
}

.cinema-theater-inner {
  width: 90vw;
  max-width: 960px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #000;
  box-shadow: 0 0 80px rgba(232, 121, 249, 0.15);
  transform: scale(0.8);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cinema-theater.open .cinema-theater-inner { transform: scale(1); }

.cinema-theater-close {
  position: absolute;
  top: 24px; right: 32px;
  background: none; border: none;
  color: #fff; font-size: 2rem;
  cursor: pointer;
  z-index: 10;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  transition: background 0.3s;
}

.cinema-theater-close:hover { background: rgba(255, 255, 255, 0.1); }

.cinema-theater-inner img,
.cinema-theater-inner video {
  width: 100%;
  display: block;
}

.cinema-theater-meta {
  padding: 20px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cinema-theater-meta h3 { font-size: 1.1rem; margin-bottom: 4px; }
.cinema-theater-meta p { color: var(--slate); font-size: 0.85rem; margin: 0; }

/* ═══ Card Fan (Graphic Design) ═══ */
.fan-stage {
  position: relative;
  height: 480px;
  perspective: 1500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.fan-card {
  position: absolute;
  width: 280px;
  height: 380px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: grab;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.6s ease,
              filter 0.4s ease;
  transform-origin: center 120%;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  backface-visibility: hidden;
}

.fan-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.fan-card:hover {
  z-index: 50 !important;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(52, 211, 153, 0.15);
}

.fan-card .fan-flare {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--flare-x, 50%) var(--flare-y, 50%),
    rgba(255, 255, 255, 0.15) 0%,
    transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.fan-card:hover .fan-flare { opacity: 1; }

.fan-card .fan-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.fan-card:hover .fan-overlay { transform: translateY(0); }
.fan-card .fan-overlay h4 { font-size: 0.9rem; color: #fff; margin-bottom: 2px; }
.fan-card .fan-overlay span { font-size: 0.72rem; color: #34d399; text-transform: uppercase; letter-spacing: 0.06em; }

/* Fan expanded view */
.fan-card.expanded {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) scale(1.3) !important;
  width: 400px !important;
  height: 540px !important;
  z-index: 10001 !important;
  cursor: zoom-out;
  border-radius: var(--radius-xl);
}

.fan-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

body.theme-light .fan-backdrop {
  background: rgba(248, 250, 252, 0.92);
}

.fan-backdrop.show { opacity: 1; pointer-events: auto; }

/* ═══ Social Cloud (Social Media) ═══ */
.social-cloud {
  position: relative;
  height: 420px;
  perspective: 1000px;
  overflow: hidden;
}

.social-cloud-node {
  position: absolute;
  width: 90px; height: 90px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  cursor: default;
  animation: cloudFloat var(--float-dur, 6s) ease-in-out infinite;
  animation-delay: var(--float-delay, 0s);
  z-index: 2;
}

.social-cloud-node i {
  font-size: 1.6rem;
  margin-bottom: 2px;
}

.social-cloud-node .cloud-metric {
  font-size: 0.55rem;
  font-weight: 700;
  color: #38bdf8;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.social-cloud-node:nth-child(1) i { color: #E4405F; }
.social-cloud-node:nth-child(2) i { color: #1DA1F2; }
.social-cloud-node:nth-child(3) i { color: #0A66C2; }
.social-cloud-node:nth-child(4) i { color: #ff0050; }
.social-cloud-node:nth-child(5) i { color: #FF0000; }
.social-cloud-node:nth-child(6) i { color: #25D366; }
.social-cloud-node:nth-child(7) i { color: #1877F2; }

@keyframes cloudFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  25%  { transform: translate3d(10px, -15px, 20px) scale(1.05); }
  50%  { transform: translate3d(-5px, -25px, 10px) scale(1); }
  75%  { transform: translate3d(-10px, -10px, 15px) scale(1.03); }
}

/* Social parallax layers */
.social-parallax {
  position: relative;
  overflow: hidden;
  padding: 40px 0;
}

.social-parallax-layer {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  animation: socialDrift var(--drift-dur, 30s) linear infinite;
}

.social-parallax-layer.reverse { animation-direction: reverse; }

.social-parallax-layer.slow { --drift-dur: 50s; }

.social-parallax-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 60px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.social-parallax-item i { font-size: 1.2rem; }
.social-parallax-item span { color: var(--slate); font-size: 0.82rem; font-weight: 500; }
.social-parallax-item strong { color: #fb923c; font-size: 0.82rem; }

@keyframes socialDrift {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ═══ Scroll-Based Scaling (Apple-Style) ═══ */
[data-scroll-scale] {
  opacity: 0;
  transform: scale(0.82);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-scroll-scale].scaled-in {
  opacity: 1;
  transform: scale(1);
}

/* ═══ Horizontal Parallax Container ═══ */
.h-parallax-wrap {
  position: relative;
  overflow: hidden;
  padding: 60px 0;
}

.h-parallax-bg {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 8rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.015);
  letter-spacing: -0.03em;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

.h-parallax-content {
  position: relative;
  z-index: 1;
}

/* ═══ Case Study Cards ═══ */
.case-study-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.case-study-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-study-card:hover {
  border-color: rgba(14, 165, 233, 0.15);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 25px rgba(14, 165, 233, 0.08);
}

.case-study-thumb {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.case-study-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.case-study-card:hover .case-study-thumb img { transform: scale(1.06); }

.case-study-badge {
  position: absolute;
  top: 12px; left: 12px;
  padding: 4px 12px;
  border-radius: 60px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #38bdf8;
}

.case-study-body { padding: 20px; }
.case-study-body h3 { font-size: 1.1rem; margin-bottom: 6px; }
.case-study-body p { color: var(--slate); font-size: 0.85rem; margin-bottom: 16px; line-height: 1.6; }

.case-study-metrics {
  display: flex;
  gap: 20px;
}

.case-study-metric {
  text-align: center;
}

.case-study-metric strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #0ea5e9, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.case-study-metric span { font-size: 0.68rem; color: var(--slate); text-transform: uppercase; }

/* ═══ FORCE VISIBLE: Active orbit panel elements ═══
   GSAP sets inline opacity:0 / scale(0.82) / blur(6px) on elements
   inside hidden panels. When a panel becomes active, those inline
   styles persist because ScrollTrigger never observed the elements.
   This rule overrides all of them so content is ALWAYS visible
   inside the currently active panel. */
.orbit-panel.active [data-scroll-scale],
.orbit-panel.active [data-animate],
.orbit-panel.active [data-assemble],
.orbit-panel.active [data-assemble-stagger] > * {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}
.orbit-panel.active .split-word,
.orbit-panel.active .split-letter {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}
.orbit-panel.active [data-scramble] {
  opacity: 1 !important;
}

/* Also force the orbit-nav visible (it has data-scroll-scale) */
.orbit-portfolio .orbit-nav {
  opacity: 1 !important;
  transform: none !important;
}

/* Remove dark overlay from orbit-portfolio section */
.orbit-portfolio::before {
  display: none !important;
}

/* Light theme overrides */
body.theme-light .orbit-portfolio,
body.theme-light .orbit-portfolio[data-active-theme="video"],
body.theme-light .orbit-portfolio[data-active-theme="graphics"],
body.theme-light .orbit-portfolio[data-active-theme="social"] {
  background: #F8FAFC !important;
}

/* Portfolio section headings / text — light mode clarity */
body.theme-light .orbit-portfolio .section-title,
body.theme-light .orbit-portfolio h2,
body.theme-light .orbit-portfolio h3 {
  color: #0F172A !important;
  -webkit-text-fill-color: #0F172A !important;
}
body.theme-light .orbit-portfolio .eyebrow {
  -webkit-text-fill-color: initial;
}
body.theme-light .orbit-portfolio .text-slate,
body.theme-light .orbit-portfolio p {
  color: #475569 !important;
}

/* WOF cards in light mode */
body.theme-light .wof-card {
  background: #FFFFFF !important;
  border: 1px solid rgba(45, 91, 255, 0.08) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
}
body.theme-light .wof-card h3 { color: #1E293B !important; }
body.theme-light .wof-card span { color: #64748b !important; }
body.theme-light .wof-results li { color: #334155 !important; }
body.theme-light .wof-badge {
  background: rgba(45, 91, 255, 0.08) !important;
  color: #3B63CF !important;
}

/* Case study cards in light mode */
body.theme-light .case-study-card {
  background: #FFFFFF !important;
  border: 1px solid rgba(45, 91, 255, 0.06) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
}
body.theme-light .case-study-card:hover {
  box-shadow: 0 12px 40px rgba(45, 91, 255, 0.1) !important;
  border-color: rgba(45, 91, 255, 0.15) !important;
}
body.theme-light .case-study-body h3 { color: #1E293B !important; }
body.theme-light .case-study-body p { color: #64748b !important; }
body.theme-light .case-study-badge {
  background: rgba(45, 91, 255, 0.9) !important;
  color: #fff !important;
}
body.theme-light .orbit-orb { background: #FFFFFF; border-color: rgba(45, 91, 255, 0.08); box-shadow: 0 4px 16px rgba(45, 91, 255, 0.06); }
body.theme-light .orbit-orb.active { border-color: rgba(45, 91, 255, 0.2); box-shadow: 0 8px 24px rgba(45, 91, 255, 0.12); }
body.theme-light .orbit-orb i { color: var(--light-text); }
body.theme-light .orbit-orb span { color: var(--light-muted); }
body.theme-light .cinema-cube-face { border-color: rgba(0, 0, 0, 0.06); }
body.theme-light .fan-card { box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1); border: 1px solid rgba(45, 91, 255, 0.06); }
body.theme-light .fan-overlay { background: linear-gradient(0deg, rgba(255,255,255,0.95) 0%, transparent 100%); }
body.theme-light .fan-overlay h4 { color: #1E293B; }
body.theme-light .fan-overlay span { color: #64748b; }
body.theme-light .social-cloud-node { background: #FFFFFF; border-color: rgba(45, 91, 255, 0.08); box-shadow: 0 4px 16px rgba(45, 91, 255, 0.06); }
body.theme-light .social-cloud-node i { color: var(--light-text); }
body.theme-light .cloud-metric { color: #1E293B; }
body.theme-light .social-parallax-item { background: #FFFFFF; border-color: rgba(45, 91, 255, 0.06); box-shadow: 0 4px 16px rgba(45, 91, 255, 0.05); }
body.theme-light .social-parallax-item i { color: #3B63CF; }
body.theme-light .social-parallax-item span { color: #1E293B; }
body.theme-light .social-parallax-item strong { color: #3B63CF; }
body.theme-light .h-parallax-bg { color: rgba(45, 91, 255, 0.04); }
body.theme-light .wof-card { background: #FFFFFF; border-color: rgba(45, 91, 255, 0.06); box-shadow: 0 8px 32px rgba(45, 91, 255, 0.06); }
body.theme-light .wof-card:hover { box-shadow: 0 16px 48px rgba(45, 91, 255, 0.1); border-color: rgba(45, 91, 255, 0.12); }
body.theme-light .wof-header h3 { color: #1E293B; }
body.theme-light .wof-header span { color: #64748b; }
body.theme-light .wof-results li { color: #334155; border-color: rgba(45, 91, 255, 0.06); }
body.theme-light .wof-badge { background: rgba(45, 91, 255, 0.08); color: #3B63CF; }
body.theme-light .face-overlay { background: linear-gradient(0deg, rgba(255,255,255,0.9) 0%, transparent 100%); }
body.theme-light .face-cat { color: #3B63CF; }
body.theme-light .face-title { color: #1E293B; }
body.theme-light .social-parallax-item { background: rgba(0, 0, 0, 0.02); border-color: rgba(0, 0, 0, 0.06); }
body.theme-light .case-study-card { background: #fff; border-color: rgba(0, 0, 0, 0.06); }
body.theme-light .case-study-body p { color: var(--light-muted); }

/* Responsive */
@media (max-width: 991px) {
  .orbit-orb { width: 80px; height: 80px; }
  .orbit-orb i { font-size: 1.2rem; }
  .orbit-orb span { font-size: 0.55rem; }
  .cinema-stage { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  .fan-stage { height: 380px; }
  .fan-card { width: 220px; height: 300px; }
  .social-cloud { height: 340px; }
  .h-parallax-bg { font-size: 5rem; }
}

@media (max-width: 767px) {
  .orbit-orb { width: 64px; height: 64px; }
  .orbit-orb i { font-size: 1rem; }
  .orbit-orb span { font-size: 0.5rem; }
  .cinema-cube-wrap { height: 200px; }
  .fan-stage { height: 320px; }
  .fan-card { width: 180px; height: 260px; }
  .fan-card.expanded { width: 300px !important; height: 420px !important; }
  .social-cloud { height: 280px; }
  .social-cloud-node { width: 70px; height: 70px; }
  .social-cloud-node i { font-size: 1.2rem; }
  .case-study-grid { grid-template-columns: 1fr; }
  .h-parallax-bg { font-size: 3rem; }
  .chrome-sphere { display: none; }
}

/* ══════════════════════════════════════════════════════════════
   PREMIUM REVIEWS — Split-Screen 3D Glassmorphism
   ══════════════════════════════════════════════════════════════ */

/* ═══ Mesh Gradient Background Orbs ═══ */
.review-mesh-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.review-mesh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}

.review-mesh-orb:nth-child(1) {
  width: 400px; height: 400px;
  background: rgba(124, 58, 237, 0.3);
  top: -10%; left: -5%;
  animation: meshDrift 12s ease-in-out infinite;
}

.review-mesh-orb:nth-child(2) {
  width: 350px; height: 350px;
  background: rgba(14, 165, 233, 0.25);
  bottom: -8%; right: -3%;
  animation: meshDrift 15s ease-in-out infinite reverse;
}

.review-mesh-orb:nth-child(3) {
  width: 250px; height: 250px;
  background: rgba(232, 121, 249, 0.2);
  top: 40%; left: 50%;
  animation: meshDrift 10s ease-in-out infinite;
  animation-delay: -3s;
}

@keyframes meshDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.08); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

/* ═══ Silver Metallic Title ═══ */
.review-hero-left h2.review-silver-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #c0c0c0 0%, #f5f5f5 25%, #a8a8a8 50%, #e8e8e8 75%, #b8b8b8 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: chromeShimmer 4s linear infinite;
  margin-bottom: 20px;
  line-height: 1.1;
}

/* ═══ 3D Perspective Stage ═══ */
.review-3d-stage {
  perspective: 1200px;
  position: relative;
  min-height: 380px;
  padding-top: 12px;
}

/* ═══ Floating Testimonial Card ═══ */
.review-float-card {
  position: relative;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12) 0%, rgba(14, 165, 233, 0.08) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 36px 32px;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.5),
    0 0 50px rgba(124, 58, 237, 0.12),
    0 0 100px rgba(14, 165, 233, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(255, 255, 255, 0.03);
  max-width: 520px;
  transform-style: preserve-3d;
  will-change: transform;
  animation: reviewFloat 6s ease-in-out infinite;
  transition: box-shadow 0.4s ease;
  z-index: 2;
}

/* Animated border glow ring */
.review-float-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  background: conic-gradient(from 0deg, transparent 0%, rgba(124, 58, 237, 0.4) 25%, transparent 50%, rgba(14, 165, 233, 0.3) 75%, transparent 100%);
  z-index: -1;
  opacity: 0.5;
  animation: orbSpin 8s linear infinite;
}

.review-float-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.05), rgba(14, 165, 233, 0.03));
  z-index: -1;
}

.review-float-card:hover {
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 80px rgba(124, 58, 237, 0.2),
    0 0 120px rgba(14, 165, 233, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

@keyframes reviewFloat {
  0%, 100% { transform: translateY(0) rotateX(3deg) rotateY(-2deg); }
  50% { transform: translateY(-18px) rotateX(-3deg) rotateY(2deg); }
}

/* Card content */
.review-float-card .review-quote-mark {
  font-size: 4rem;
  line-height: 1;
  font-weight: 900;
  background: linear-gradient(135deg, #7c3aed, #0ea5e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  text-shadow: none;
}

.review-float-card .review-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.82) !important;
  font-style: italic;
  margin-bottom: 24px;
  -webkit-text-fill-color: initial;
}

.review-float-card .review-footer {
  display: flex;
  align-items: center;
  gap: 14px;
}

.review-float-card .review-avatar-ring {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #0ea5e9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  box-shadow: 0 0 25px rgba(124, 58, 237, 0.4), 0 0 50px rgba(124, 58, 237, 0.15);
  flex-shrink: 0;
}

.review-float-card .review-author strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #fff !important;
  -webkit-text-fill-color: initial;
}

.review-float-card .review-author span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45) !important;
  -webkit-text-fill-color: initial;
}

/* Star rating */
.review-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
}

.review-stars i {
  color: #fbbf24 !important;
  -webkit-text-fill-color: #fbbf24;
  font-size: 0.9rem;
  filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.3));
}

/* ═══ Floating Particles ═══ */
.review-particles {
  position: absolute;
  inset: -20px;
  pointer-events: none;
  z-index: 1;
}

.review-particle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.7), rgba(124, 58, 237, 0.05));
  box-shadow: 0 0 15px rgba(124, 58, 237, 0.4);
  animation: particleDrift var(--p-dur, 8s) ease-in-out infinite;
  animation-delay: var(--p-delay, 0s);
}

.review-particle:nth-child(odd) {
  background: radial-gradient(circle, rgba(14, 165, 233, 0.6), rgba(14, 165, 233, 0.05));
  box-shadow: 0 0 15px rgba(14, 165, 233, 0.35);
}

.review-particle:nth-child(3n) {
  background: radial-gradient(circle, rgba(232, 121, 249, 0.5), rgba(232, 121, 249, 0.05));
  box-shadow: 0 0 12px rgba(232, 121, 249, 0.3);
}

@keyframes particleDrift {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.7; }
  25% { transform: translate(20px, -25px) scale(1.3); opacity: 0.9; }
  50% { transform: translate(-15px, -40px) scale(0.8); opacity: 0.5; }
  75% { transform: translate(25px, -15px) scale(1.15); opacity: 0.8; }
}

/* ═══ Glassmorphism Review Form ═══ */
.review-glass-form {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 40px 36px;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.4),
    0 0 50px rgba(124, 58, 237, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
}

/* Subtle gradient border */
.review-glass-form::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 25px;
  background: linear-gradient(160deg, rgba(124, 58, 237, 0.2), transparent 40%, transparent 60%, rgba(14, 165, 233, 0.15));
  z-index: -1;
}

.review-glass-form h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff !important;
  -webkit-text-fill-color: initial;
  margin-bottom: 6px;
  text-align: center;
}

.review-glass-form .form-subtitle {
  text-align: center;
  color: rgba(255, 255, 255, 0.4) !important;
  -webkit-text-fill-color: initial;
  font-size: 0.88rem;
  margin-bottom: 28px;
}

.review-glass-form form { display: grid; gap: 18px; }

.review-glass-form .form-row {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
}

.review-glass-form input,
.review-glass-form textarea,
.review-glass-form select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0 !important;
  -webkit-text-fill-color: initial;
  padding: 16px 18px;
  font-family: inherit;
  font-size: 0.9rem;
  transition: all 0.35s ease;
}

.review-glass-form input::placeholder,
.review-glass-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.25) !important;
  -webkit-text-fill-color: initial;
}

.review-glass-form input:focus,
.review-glass-form textarea:focus {
  outline: none;
  border-color: rgba(124, 58, 237, 0.5);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.15), 0 0 30px rgba(124, 58, 237, 0.1);
  background: rgba(255, 255, 255, 0.08);
}

.review-glass-form textarea { resize: vertical; min-height: 130px; }

/* Gradient CTA Button */
.review-gradient-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 42px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #7c3aed 0%, #0ea5e9 100%);
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3), 0 0 50px rgba(124, 58, 237, 0.1);
  position: relative;
  overflow: hidden;
}

.review-gradient-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #0ea5e9, #7c3aed);
  opacity: 0;
  transition: opacity 0.4s;
}

.review-gradient-btn:hover::before { opacity: 1; }
.review-gradient-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 18px 50px rgba(124, 58, 237, 0.4), 0 0 60px rgba(124, 58, 237, 0.15);
}

.review-gradient-btn:active { transform: scale(0.95); }

.review-gradient-btn span { position: relative; z-index: 1; }
.review-gradient-btn i { position: relative; z-index: 1; }

/* ═══ Review Slider ═══ */
.review-3d-stage .review-slider {
  position: relative;
  display: grid;
}

.review-float-card[data-review-slide] {
  grid-area: 1 / 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.review-float-card[data-review-slide]:not(.is-active) {
  animation: none !important;
  transform: translateY(15px) scale(0.95) rotateX(5deg);
}

.review-float-card[data-review-slide].is-active {
  opacity: 1;
  pointer-events: auto;
}

/* ═══ Gallery Grid Cards ═══ */
.review-gallery {
  padding: 100px 0 80px;
  position: relative;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(124, 58, 237, 0.06), transparent 50%),
    radial-gradient(ellipse at 70% 50%, rgba(14, 165, 233, 0.04), transparent 50%);
}

.review-gallery-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 28px 24px;
  position: relative;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

/* Glowing top edge */
.review-gallery-card::before {
  content: '';
  position: absolute;
  top: 0; left: 20%; right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.5), rgba(14, 165, 233, 0.5), transparent);
  border-radius: 999px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.review-gallery-card:hover::before { opacity: 1; }

.review-gallery-card:hover {
  border-color: rgba(124, 58, 237, 0.15);
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35), 0 0 40px rgba(124, 58, 237, 0.08);
}

.review-gallery-card .review-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}

.review-gallery-card .review-avatar-ring {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #0ea5e9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  box-shadow: 0 0 15px rgba(124, 58, 237, 0.3);
  flex-shrink: 0;
}

.review-gallery-card .review-author strong { color: #fff; font-size: 0.92rem; display: block; }
.review-gallery-card .review-author span { color: rgba(255, 255, 255, 0.4); font-size: 0.75rem; }

/* Light theme — Gallery stays dark-ish for contrast */
body.theme-light .review-gallery-card {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

body.theme-light .review-gallery-card:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1), 0 0 30px rgba(124, 58, 237, 0.06);
}

body.theme-light .review-gallery-card .review-text { color: var(--light-muted); }
body.theme-light .review-gallery-card .review-author strong { color: var(--light-text); }
body.theme-light .review-gallery-card .review-author span { color: var(--light-muted); }

/* ═══ Review Responsive ═══ */
@media (max-width: 991px) {
  .review-hero-grid { grid-template-columns: 1fr !important; gap: 36px !important; }
  .review-3d-stage { min-height: auto; }
  .review-float-card { max-width: 100%; }
  .review-glass-form .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .review-hero { padding: 60px 0; }
  .review-glass-form { padding: 28px 22px; border-radius: 18px; }
  .review-float-card { padding: 28px 22px; border-radius: 16px; }
  .review-gradient-btn { padding: 14px 32px; }
}

/* ══════════════════════════════════════════════════════════════
   "NEO-CYBER TECH LIBRARY" — Blog System
   Knowledge Grid (List) + Immersive Read (Detail)
   ══════════════════════════════════════════════════════════════ */

/* ═══ Reading Progress Bar ═══ */
.reading-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #7c3aed, #0ea5e9, #22d3ee);
  z-index: 99999;
  transition: width 0.1s linear;
  box-shadow: 0 0 12px rgba(14, 165, 233, 0.5), 0 0 25px rgba(124, 58, 237, 0.2);
}

/* ═══ Nebula Background ═══ */
.blog-nebula {
  position: relative;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(124, 58, 237, 0.15), transparent 45%),
    radial-gradient(ellipse at 80% 90%, rgba(14, 165, 233, 0.1), transparent 45%),
    radial-gradient(ellipse at 50% 50%, rgba(232, 121, 249, 0.04), transparent 50%),
    linear-gradient(170deg, #06061a 0%, #0a0525 30%, #080a30 60%, #050518 100%);
  color: #e2e8f0;
  overflow: hidden;
}

body.theme-light .blog-nebula {
  background: linear-gradient(170deg, #06061a, #0a0525 30%, #080a30 60%, #050518 100%) !important;
  color: #e2e8f0 !important;
}
body.theme-light .blog-nebula * { color: inherit; }
body.theme-light .blog-nebula .eyebrow { color: var(--primary); }

/* Nebula pulsing nodes */
.nebula-nodes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.nebula-node {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.4), transparent 70%);
  animation: nebulaPulse var(--nd-dur, 6s) ease-in-out infinite;
  animation-delay: var(--nd-delay, 0s);
}

.nebula-node:nth-child(odd) {
  background: radial-gradient(circle, rgba(14, 165, 233, 0.3), transparent 70%);
}

.nebula-node:nth-child(3n) {
  background: radial-gradient(circle, rgba(232, 121, 249, 0.25), transparent 70%);
}

/* Connection lines between nodes */
.nebula-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.15), rgba(14, 165, 233, 0.1), transparent);
  transform-origin: left center;
}

@keyframes nebulaPulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.5); opacity: 0.8; }
}

/* ═══ Blog Hero ═══ */
.blog-hero {
  padding: 100px 0 60px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.blog-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.blog-hero-title .word-glow {
  background: linear-gradient(135deg, #7c3aed, #0ea5e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.blog-hero-sub {
  color: rgba(255, 255, 255, 0.45);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ═══ Category Filter Bar ═══ */
.blog-filter-bar {
  display: flex;
  gap: 10px;
  padding: 16px 0 40px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.blog-filter-bar::-webkit-scrollbar { display: none; }

.blog-filter-btn {
  padding: 8px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.35s ease;
  white-space: nowrap;
}

.blog-filter-btn:hover {
  border-color: rgba(124, 58, 237, 0.2);
  color: rgba(255, 255, 255, 0.8);
  background: rgba(124, 58, 237, 0.06);
}

.blog-filter-btn.active {
  border-color: rgba(124, 58, 237, 0.3);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(14, 165, 233, 0.1));
  color: #fff;
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.12);
}

/* ═══ Knowledge Grid ═══ */
.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
  z-index: 1;
}

/* ═══ Blog Card — 3D Glass ═══ */
.blog-glass-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.blog-glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 15%; right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.3), rgba(14, 165, 233, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.blog-glass-card:hover::before { opacity: 1; }

.blog-glass-card:hover {
  transform: translateY(-10px);
  border-color: rgba(124, 58, 237, 0.15);
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(124, 58, 237, 0.08);
}

/* Card Thumbnail */
.blog-card-thumb {
  height: 200px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card-thumb .thumb-bg {
  position: absolute;
  inset: 0;
  opacity: 0.8;
}

.blog-card-thumb .thumb-3d-icon {
  position: relative;
  z-index: 1;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  font-size: 1.6rem;
  color: #fff;
  animation: iconFloat 4s ease-in-out infinite;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0) rotateY(0deg); }
  50% { transform: translateY(-8px) rotateY(15deg); }
}

.blog-glass-card:hover .thumb-3d-icon {
  animation-duration: 2s;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(124, 58, 237, 0.15);
}

/* Card category overlay */
.blog-card-category {
  position: absolute;
  top: 14px; left: 14px;
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #22d3ee;
  z-index: 2;
}

/* Card body */
.blog-card-body { padding: 24px; }

.blog-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.blog-card-body p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.85rem;
  line-height: 1.65;
  margin-bottom: 16px;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.blog-card-meta span {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.blog-card-meta span i { font-size: 0.75rem; }

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  color: #38bdf8;
  font-weight: 600;
  font-size: 0.82rem;
  text-decoration: none;
  transition: gap 0.3s, color 0.3s;
}

.blog-card-link:hover { gap: 10px; color: #22d3ee; }

/* Thumb gradient variants */
.blog-thumb-marketing { background: linear-gradient(135deg, rgba(124, 58, 237, 0.3), rgba(236, 72, 153, 0.2)); }
.blog-thumb-seo { background: linear-gradient(135deg, rgba(6, 182, 212, 0.3), rgba(14, 165, 233, 0.4)); }
.blog-thumb-growth { background: linear-gradient(135deg, rgba(52, 211, 153, 0.2), rgba(6, 182, 212, 0.3)); }
.blog-thumb-video { background: linear-gradient(135deg, rgba(249, 115, 22, 0.3), rgba(234, 179, 8, 0.2)); }
.blog-thumb-design { background: linear-gradient(135deg, rgba(236, 72, 153, 0.3), rgba(124, 58, 237, 0.2)); }
.blog-thumb-social { background: linear-gradient(135deg, rgba(14, 165, 233, 0.35), rgba(124, 58, 237, 0.15)); }
.blog-thumb-network { background: linear-gradient(135deg, rgba(52, 211, 153, 0.3), rgba(124, 58, 237, 0.2)); }
.blog-thumb-ads { background: linear-gradient(135deg, rgba(251, 146, 60, 0.3), rgba(239, 68, 68, 0.15)); }

/* ═══ Blog Detail — Immersive Read ═══ */
.blog-detail-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 120px 0 60px;
}

.blog-detail-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.blog-detail-hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.blog-detail-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 20%, rgba(6, 6, 26, 0.95) 80%);
}

.blog-detail-hero-content {
  position: relative;
  z-index: 1;
}

.blog-detail-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #f5f5f5, #cbd5e1, #e2e8f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.blog-detail-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.blog-detail-meta span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-detail-meta span i { color: #7c3aed; }

/* Content Area */
.blog-content-wrap {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  padding: 60px 0 80px;
  position: relative;
  z-index: 1;
}

.blog-content {
  max-width: 100%;
}

.blog-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.02rem;
  line-height: 1.85;
  margin-bottom: 24px;
}

.blog-content h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  margin: 40px 0 16px;
  background: linear-gradient(135deg, #c0c0c0, #f5f5f5, #a8a8a8);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.blog-content h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 32px 0 12px;
  color: #cbd5e1;
}

.blog-content img {
  width: 100%;
  border-radius: 16px;
  margin: 24px 0;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.blog-content ul, .blog-content ol {
  color: rgba(255, 255, 255, 0.65);
  padding-left: 24px;
  margin-bottom: 24px;
  line-height: 1.8;
}

.blog-content li { margin-bottom: 8px; }

/* Callout/Quote Block */
.blog-callout {
  background: rgba(124, 58, 237, 0.06);
  border-left: 3px solid;
  border-image: linear-gradient(180deg, #7c3aed, #0ea5e9) 1;
  border-radius: 0 16px 16px 0;
  padding: 24px 28px;
  margin: 32px 0;
  position: relative;
  font-style: italic;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  line-height: 1.7;
}

.blog-callout::before {
  content: '\201C';
  position: absolute;
  top: -10px; left: 20px;
  font-size: 3rem;
  background: linear-gradient(135deg, #7c3aed, #0ea5e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

/* Sidebar */
.blog-sidebar {
  position: sticky;
  top: 100px;
}

.blog-sidebar-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  padding: 24px;
  backdrop-filter: blur(12px);
  margin-bottom: 24px;
}

.blog-sidebar-card h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #e2e8f0;
}

.blog-sidebar-mini {
  display: flex;
  gap: 12px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: transform 0.3s ease;
}

.blog-sidebar-mini:last-child { border-bottom: none; }
.blog-sidebar-mini:hover { transform: translateX(4px); }

.blog-sidebar-mini-thumb {
  width: 48px; height: 48px;
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
}

.blog-sidebar-mini h5 {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 3px;
  color: #cbd5e1;
}

.blog-sidebar-mini span {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.3);
}

/* Share module */
.blog-share-icons {
  display: flex;
  gap: 10px;
}

.blog-share-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.9rem;
  transition: all 0.3s;
  text-decoration: none;
}

.blog-share-icon:hover {
  background: rgba(124, 58, 237, 0.12);
  border-color: rgba(124, 58, 237, 0.2);
  color: #7c3aed;
  transform: translateY(-3px);
}

/* ═══ Blog Responsive ═══ */
@media (max-width: 1199px) {
  .blog-content-wrap { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
}

@media (max-width: 991px) {
  .knowledge-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .blog-hero { padding: 80px 0 40px; }
}

@media (max-width: 767px) {
  .knowledge-grid { grid-template-columns: 1fr; }
  .blog-card-thumb { height: 160px; }
  .blog-filter-bar { justify-content: flex-start; flex-wrap: nowrap; }
  .blog-detail-hero { min-height: 40vh; padding: 80px 0 40px; }
  .blog-content p { font-size: 0.95rem; }
  .blog-callout { padding: 20px 22px; }
}

/* ══════════════════════════════════════════════════════════════
   "COMMAND CENTER" — Contact Page
   ══════════════════════════════════════════════════════════════ */

/* Force dark immersive bg */
.command-center {
  background:
    radial-gradient(ellipse at 15% 20%, rgba(124, 58, 237, 0.18), transparent 45%),
    radial-gradient(ellipse at 85% 80%, rgba(14, 165, 233, 0.12), transparent 45%),
    radial-gradient(ellipse at 50% 50%, rgba(232, 121, 249, 0.04), transparent 50%),
    linear-gradient(160deg, #050510 0%, #0a0522 35%, #060830 70%, #050510 100%) !important;
  color: #e2e8f0 !important;
  position: relative;
  overflow: hidden;
  padding: 100px 0 0;
}

body.theme-light .command-center {
  background: linear-gradient(160deg, #050510, #0a0522 35%, #060830 70%, #050510 100%) !important;
  color: #e2e8f0 !important;
}
body.theme-light .command-center * { color: inherit; }
body.theme-light .command-center .eyebrow { color: var(--primary); }

/* Animated grid lines background */
.cmd-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124, 58, 237, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.3), transparent 70%);
}

/* ═══ Command Center Layout ═══ */
.cmd-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  position: relative;
  z-index: 1;
}

/* ═══ Left Column — Info Hub ═══ */
.cmd-headline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 12px;
}

.cmd-headline .glow-word {
  background: linear-gradient(135deg, #7c3aed, #0ea5e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cmd-sub {
  color: rgba(255, 255, 255, 0.4) !important;
  -webkit-text-fill-color: initial;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

/* Glass Info Cards */
.cmd-info-cards {
  display: grid;
  gap: 14px;
}

.cmd-info-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}

.cmd-info-card:hover {
  border-color: rgba(124, 58, 237, 0.2);
  transform: translateX(8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3), 0 0 25px rgba(124, 58, 237, 0.06);
}

.cmd-info-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(14, 165, 233, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #7c3aed;
  transition: all 0.3s;
}

.cmd-info-card:hover .cmd-info-icon {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(14, 165, 233, 0.15));
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.15);
}

.cmd-info-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.35) !important;
  -webkit-text-fill-color: initial;
  margin-bottom: 2px;
}

.cmd-info-value {
  font-size: 0.92rem;
  font-weight: 500;
  color: #e2e8f0 !important;
  -webkit-text-fill-color: initial;
}

.cmd-info-value a {
  color: inherit !important;
  -webkit-text-fill-color: initial;
  text-decoration: none;
  transition: color 0.3s;
}

.cmd-info-value a:hover { color: #38bdf8 !important; }

/* ═══ Right Column — Inquiry Form ═══ */
.cmd-form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 40px 36px;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
}

.cmd-form::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 25px;
  background: linear-gradient(160deg, rgba(124, 58, 237, 0.15), transparent 40%, transparent 60%, rgba(14, 165, 233, 0.1));
  z-index: -1;
}

.cmd-form h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff !important;
  -webkit-text-fill-color: initial;
  margin-bottom: 4px;
}

.cmd-form .cmd-form-sub {
  color: rgba(255, 255, 255, 0.35) !important;
  -webkit-text-fill-color: initial;
  font-size: 0.85rem;
  margin-bottom: 28px;
}

.cmd-form form { display: grid; gap: 16px; }

.cmd-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.cmd-form input,
.cmd-form textarea,
.cmd-form select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: #e2e8f0 !important;
  -webkit-text-fill-color: initial;
  padding: 16px 18px;
  font-family: inherit;
  font-size: 0.9rem;
  transition: all 0.35s ease;
}

.cmd-form input::placeholder,
.cmd-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.2) !important;
  -webkit-text-fill-color: initial;
}

.cmd-form input:focus,
.cmd-form textarea:focus {
  outline: none;
  border-color: rgba(14, 165, 233, 0.5);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1), 0 0 25px rgba(14, 165, 233, 0.08);
  background: rgba(255, 255, 255, 0.06);
}

.cmd-form textarea { resize: vertical; min-height: 110px; }

/* ═══ Service Selector Toggles ═══ */
.cmd-services-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.4) !important;
  -webkit-text-fill-color: initial;
  margin-bottom: 10px;
}

.cmd-services {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cmd-service-tag {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.45) !important;
  -webkit-text-fill-color: initial;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.35s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cmd-service-tag i { font-size: 0.85rem; transition: transform 0.3s; }

.cmd-service-tag:hover {
  border-color: rgba(124, 58, 237, 0.2);
  color: rgba(255, 255, 255, 0.7) !important;
}

.cmd-service-tag.selected {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(14, 165, 233, 0.1));
  border-color: rgba(124, 58, 237, 0.3);
  color: #fff !important;
  box-shadow: 0 0 15px rgba(124, 58, 237, 0.1);
}

.cmd-service-tag.selected i { transform: scale(1.2); }

/* 3D icon pop on selection */
.cmd-selected-icons {
  display: flex;
  gap: 8px;
  min-height: 36px;
  align-items: center;
  flex-wrap: wrap;
}

.cmd-pop-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(14, 165, 233, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #7c3aed;
  animation: iconPop 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes iconPop {
  from { opacity: 0; transform: scale(0.5) rotateY(-90deg); }
  to { opacity: 1; transform: scale(1) rotateY(0deg); }
}

/* Submit button */
.cmd-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 18px 32px;
  border: none;
  border-radius: 16px;
  background: linear-gradient(135deg, #7c3aed 0%, #0ea5e9 100%);
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.25);
  position: relative;
  overflow: hidden;
}

.cmd-submit-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #0ea5e9, #7c3aed);
  opacity: 0;
  transition: opacity 0.4s;
}

.cmd-submit-btn:hover::before { opacity: 1; }
.cmd-submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 45px rgba(124, 58, 237, 0.35);
}
.cmd-submit-btn:active { transform: scale(0.97); }
.cmd-submit-btn span, .cmd-submit-btn i { position: relative; z-index: 1; }

/* ═══ Success Animation ═══ */
.cmd-success {
  text-align: center;
  padding: 40px 20px;
}

.cmd-success-plane {
  font-size: 3rem;
  animation: planeFly 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  display: inline-block;
}

@keyframes planeFly {
  0% { transform: translate(0, 0) rotate(0deg); opacity: 1; }
  50% { transform: translate(80px, -60px) rotate(-15deg); opacity: 1; }
  100% { transform: translate(200px, -150px) rotate(-30deg); opacity: 0; }
}

.cmd-success h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  margin: 16px 0 8px;
  background: linear-gradient(135deg, #7c3aed, #0ea5e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cmd-success p {
  color: rgba(255, 255, 255, 0.5) !important;
  -webkit-text-fill-color: initial;
  font-size: 0.9rem;
}

.cmd-success-lead {
  max-width: 380px;
  margin: 0 auto 28px !important;
  line-height: 1.7;
}

.cmd-success-lead strong {
  color: #38bdf8 !important;
  -webkit-text-fill-color: initial;
}

/* Next Steps */
.cmd-success-steps {
  display: grid;
  gap: 12px;
  text-align: left;
  max-width: 360px;
  margin: 0 auto 24px;
}

.cmd-success-step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5) !important;
  -webkit-text-fill-color: initial;
}

.cmd-success-step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  background: linear-gradient(135deg, #7c3aed, #0ea5e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cmd-success-cta-text {
  font-size: 0.82rem !important;
  margin-bottom: 10px !important;
}

.cmd-success-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 999px;
  background: #25D366;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.35s ease;
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.3);
}

.cmd-success-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(37, 211, 102, 0.4);
}

.cmd-success-whatsapp i { font-size: 1.1rem; }

/* ═══ Live Pulse Stats ═══ */
.cmd-pulse-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 64px;
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  position: relative;
  z-index: 1;
}

.cmd-pulse-stat {
  text-align: center;
  padding: 20px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.4s ease;
}

.cmd-pulse-stat:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(124, 58, 237, 0.1);
  transform: translateY(-4px);
}

.cmd-pulse-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
  animation: pulse 2s ease-in-out infinite;
  margin-right: 6px;
  vertical-align: middle;
}

.cmd-pulse-value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, #e2e8f0, #f5f5f5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 4px;
}

.cmd-pulse-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.3) !important;
  -webkit-text-fill-color: initial;
}

.cmd-pulse-icon {
  font-size: 1.2rem;
  color: #7c3aed;
  margin-bottom: 8px;
  display: block;
}

/* ═══ WhatsApp Floating Button ═══ */
.cmd-whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 9990;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  background: #25D366;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.35), 0 0 60px rgba(37, 211, 102, 0.1);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  animation: whatsappBounce 3s ease-in-out infinite;
}

.cmd-whatsapp-float i { font-size: 1.2rem; }
.cmd-whatsapp-float:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 14px 40px rgba(37, 211, 102, 0.45);
}

@keyframes whatsappBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ═══ Responsive ═══ */
@media (max-width: 991px) {
  .cmd-split { grid-template-columns: 1fr; gap: 40px; }
  .cmd-pulse-bar { grid-template-columns: repeat(2, 1fr); }
  .command-center { padding: 80px 0 0; }
}

@media (max-width: 767px) {
  .cmd-form { padding: 28px 22px; border-radius: 18px; }
  .cmd-form-row { grid-template-columns: 1fr; }
  .cmd-pulse-bar { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cmd-whatsapp-float span { display: none; }
  .cmd-whatsapp-float { padding: 14px; border-radius: 50%; }
}

/* ══════════════════════════════════════════════════════════════
   TEAM SECTION — Premium 3D Redesign
   ══════════════════════════════════════════════════════════════ */
.team-premium {
  position: relative;
  padding: 100px 0 80px;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(124, 58, 237, 0.1), transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(14, 165, 233, 0.06), transparent 50%),
    transparent;
  overflow: hidden;
}

.team-premium-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.team-premium .team-card {
  transform-style: preserve-3d;
  perspective: 800px;
}

/* Team section heading */
.team-premium .team-head {
  margin-bottom: 56px;
}

.team-premium .team-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
}

.team-premium .team-head .team-head-line {
  display: block;
  width: 0; height: 3px;
  margin: 16px auto 0;
  background: linear-gradient(135deg, #7c3aed, #0ea5e9);
  border-radius: 999px;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-premium .team-head .team-head-line.is-visible { width: 80px; }

/* ═══ Floating Photo Animation ═══ */
@keyframes teamPhotoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.team-card img {
  animation: teamPhotoFloat 4s ease-in-out infinite;
  animation-play-state: paused;
}

.team-card:hover img {
  animation-play-state: running;
  transform: scale(1.08);
}

/* ═══ Name/Role Mask Reveal ═══ */
.team-card-info strong,
.team-card-info .team-card-role {
  transform: translateY(12px);
  opacity: 0;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-card-info .team-card-role { transition-delay: 0.06s; }

.team-card-info .team-card-socials {
  transform: translateY(10px);
  opacity: 0;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.12s;
}

/* Show on hover */
.team-card:hover .team-card-info strong,
.team-card:hover .team-card-info .team-card-role,
.team-card:hover .team-card-info .team-card-socials {
  transform: translateY(0);
  opacity: 1;
}

/* OR show when visible on mobile (no hover) */
.team-card.is-visible .team-card-info strong,
.team-card.is-visible .team-card-info .team-card-role,
.team-card.is-visible .team-card-info .team-card-socials {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 991px) {
  .team-premium-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}

@media (max-width: 575px) {
  .team-premium-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .team-card-img-wrap { height: 240px; }
  /* Always show info on mobile since no hover */
  .team-card-info strong,
  .team-card-info .team-card-role,
  .team-card-info .team-card-socials { transform: translateY(0); opacity: 1; }
}

/* ══════════════════════════════════════════════════════════════
   GLOBAL — SVG Grain Noise Overlay (Apple-style finish)
   ══════════════════════════════════════════════════════════════ */
.grain-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  mix-blend-mode: overlay;
  border-radius: inherit;
}

/* ══════════════════════════════════════════════════════════════
   REVIEW — Typewriter Reveal
   ══════════════════════════════════════════════════════════════ */
.review-text[data-typewriter] {
  overflow: hidden;
}

.review-text[data-typewriter] .tw-char {
  opacity: 0;
  transition: opacity 0.04s ease;
}

.review-text[data-typewriter].tw-done .tw-char { opacity: 1; }

/* ═══ Liquid Gradient Ripple Button ═══ */
.review-gradient-btn {
  position: relative;
  overflow: hidden;
}

.review-gradient-btn .btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: liquidRipple 0.65s ease-out forwards;
  pointer-events: none;
}

@keyframes liquidRipple {
  to { transform: scale(4); opacity: 0; }
}

/* ═══ Review — Color-Shift Mega Orb ═══ */
.review-color-orb {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.2), rgba(14, 165, 233, 0.15), transparent 70%);
  filter: blur(100px);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: orbColorShift 8s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

@keyframes orbColorShift {
  0% {
    background: radial-gradient(circle, rgba(124, 58, 237, 0.25), rgba(14, 165, 233, 0.1), transparent 70%);
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    background: radial-gradient(circle, rgba(14, 165, 233, 0.25), rgba(232, 121, 249, 0.15), transparent 70%);
    transform: translate(-50%, -50%) scale(1.15);
  }
  100% {
    background: radial-gradient(circle, rgba(232, 121, 249, 0.2), rgba(124, 58, 237, 0.2), transparent 70%);
    transform: translate(-50%, -50%) scale(0.95);
  }
}

/* ═══ Review — Particle Scatter on Mouse ═══ */
.review-particle.scattered {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s;
}

/* ══════════════════════════════════════════════════════════════
   CONTACT — Gold-Silver Shimmer on "Legendary"
   ══════════════════════════════════════════════════════════════ */
.shimmer-gold {
  background: linear-gradient(
    135deg,
    #c0a040 0%, #ffd700 20%, #f5f5f5 40%,
    #ffd700 55%, #c0a040 70%, #f5f5f5 85%, #ffd700 100%
  );
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: goldShimmer 3s linear infinite;
}

@keyframes goldShimmer {
  0% { background-position: 0% center; }
  100% { background-position: 300% center; }
}

/* ═══ Contact Stats — Dark Glass Strip ═══ */
.cmd-pulse-bar {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-top: 2px solid rgba(14, 165, 233, 0.4);
  border-radius: 20px;
  padding: 28px 20px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(14, 165, 233, 0.04);
}

/* ═══ Contact Stats — 3D Rotating Icons ═══ */
.cmd-pulse-icon {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
}

.cmd-pulse-stat:hover .cmd-pulse-icon {
  transform: rotateY(360deg);
}

/* ═══ Contact — Floating Z-layered Cards ═══ */
.cmd-form {
  position: relative;
  z-index: 3;
  transform: translateZ(0);
}

.cmd-info-cards {
  position: relative;
  z-index: 1;
}

/* ═══ Cursor Trail Enhancement ═══ */
.cursor-trail-dot {
  position: fixed;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.4);
  pointer-events: none;
  z-index: 9998;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* ══════════════════════════════════════════════════════════════
   "KINETIC COMMAND CENTER" — Homepage v2
   ══════════════════════════════════════════════════════════════ */

/* ═══ 3D Network Canvas Hero ═══ */
.kcc-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0A0A0A;
}

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

.kcc-hero-canvas canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.kcc-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(124, 58, 237, 0.15), transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(0, 220, 130, 0.08), transparent 50%);
  z-index: 1;
  pointer-events: none;
}

.kcc-hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 0 80px;
}

/* Kinetic Typography */
.kcc-headline {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 20px;
  color: #fff;
}

.kcc-headline .kcc-kinetic-word {
  display: inline-block;
  transition: font-weight 0.4s ease, letter-spacing 0.4s ease;
}

.kcc-headline .kcc-accent-electric {
  background: linear-gradient(135deg, #0ea5e9, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.kcc-headline .kcc-accent-acid {
  background: linear-gradient(135deg, #00dc82, #7cff6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.kcc-subtext {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.45);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.kcc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

/* Hero Momentum Card */
.kcc-momentum-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 28px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  position: relative;
}

.kcc-momentum-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 21px;
  background: linear-gradient(160deg, rgba(0, 220, 130, 0.12), transparent 40%, transparent 60%, rgba(14, 165, 233, 0.08));
  z-index: -1;
}

.kcc-momentum-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #00dc82;
  margin-bottom: 10px;
  display: block;
}

.kcc-momentum-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.kcc-momentum-card .text-slate { font-size: 0.88rem; }

.kcc-momentum-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.kcc-momentum-metrics div {
  text-align: center;
}

.kcc-momentum-metrics span {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #0ea5e9, #00dc82);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.kcc-momentum-metrics small {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.35);
}

/* ═══ 3D Service Cards ═══ */
.kcc-services {
  position: relative;
  padding: 100px 0 80px;
  background: #0A0A0A;
  overflow: hidden;
}

.kcc-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.kcc-svc-card {
  position: relative;
  border-radius: 24px;
  padding: 36px 28px 32px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
  perspective: 800px;
  min-height: 340px;
  display: flex;
  flex-direction: column;
}

.kcc-svc-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 25px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s;
}

.kcc-svc-card:hover::before { opacity: 1; }

.kcc-svc-card:nth-child(1)::before { background: linear-gradient(160deg, rgba(14, 165, 233, 0.15), transparent 50%); }
.kcc-svc-card:nth-child(2)::before { background: linear-gradient(160deg, rgba(0, 220, 130, 0.15), transparent 50%); }
.kcc-svc-card:nth-child(3)::before { background: linear-gradient(160deg, rgba(124, 58, 237, 0.15), transparent 50%); }
.kcc-svc-card:nth-child(4)::before { background: linear-gradient(160deg, rgba(232, 121, 249, 0.15), transparent 50%); }
.kcc-svc-card:nth-child(5)::before { background: linear-gradient(160deg, rgba(245, 158, 11, 0.15), transparent 50%); }
.kcc-svc-card:nth-child(6)::before { background: linear-gradient(160deg, rgba(239, 68, 68, 0.15), transparent 50%); }

.kcc-svc-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.45), 0 0 35px rgba(14, 165, 233, 0.06);
}

.kcc-svc-3d-icon {
  width: 72px; height: 72px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  position: relative;
  animation: svcIconFloat 4s ease-in-out infinite;
  animation-play-state: paused;
}

.kcc-svc-card:hover .kcc-svc-3d-icon { animation-play-state: running; }

@keyframes svcIconFloat {
  0%, 100% { transform: translateY(0) rotateY(0deg); }
  50% { transform: translateY(-8px) rotateY(15deg); }
}

.kcc-svc-3d-icon.icon-video { background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(14, 165, 233, 0.05)); color: #0ea5e9; border: 1px solid rgba(14, 165, 233, 0.1); }
.kcc-svc-3d-icon.icon-network { background: linear-gradient(135deg, rgba(0, 220, 130, 0.15), rgba(0, 220, 130, 0.05)); color: #00dc82; border: 1px solid rgba(0, 220, 130, 0.1); }
.kcc-svc-3d-icon.icon-social { background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(124, 58, 237, 0.05)); color: #7c3aed; border: 1px solid rgba(124, 58, 237, 0.1); }
.kcc-svc-3d-icon.icon-design { background: linear-gradient(135deg, rgba(232, 121, 249, 0.15), rgba(232, 121, 249, 0.05)); color: #e879f9; border: 1px solid rgba(232, 121, 249, 0.1); }
.kcc-svc-3d-icon.icon-ads { background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.05)); color: #f59e0b; border: 1px solid rgba(245, 158, 11, 0.1); }
.kcc-svc-3d-icon.icon-web { background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(239, 68, 68, 0.05)); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.1); }

.kcc-svc-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.kcc-svc-card p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.65;
  flex: 1;
}

.kcc-svc-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.45);
  margin-top: auto;
  align-self: flex-start;
}

/* ═══ Bento Grid 2.0 — Expanding Flip Cells ═══ */
.kcc-bento {
  padding: 100px 0 80px;
  background: #0A0A0A;
  position: relative;
}

.kcc-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 20px;
}

.kcc-bento-cell {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  perspective: 1000px;
}

.kcc-bento-cell .bento-front,
.kcc-bento-cell .bento-back {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  backface-visibility: hidden;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.kcc-bento-cell .bento-front {
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.kcc-bento-cell .bento-front::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 5, 10, 0.85) 0%, rgba(5, 5, 10, 0.2) 60%, transparent 100%);
  border-radius: 20px;
}

.kcc-bento-cell .bento-front > * { position: relative; z-index: 1; }

.kcc-bento-cell .bento-back {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transform: rotateY(180deg);
  justify-content: center;
  padding: 28px;
}

.kcc-bento-cell.flipped .bento-front { transform: rotateY(-180deg); }
.kcc-bento-cell.flipped .bento-back { transform: rotateY(0deg); }

.kcc-bento-cell .bento-front h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.kcc-bento-cell .bento-front .bento-cat {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #00dc82;
}

.kcc-bento-cell .bento-back h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.kcc-bento-cell .bento-back p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  margin-bottom: 12px;
}

.kcc-bento-cell .bento-back .bento-stat {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  background: linear-gradient(135deg, #0ea5e9, #00dc82);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.kcc-bento-cell.span-2 { grid-column: span 2; }
.kcc-bento-cell.span-row { grid-row: span 2; }

.kcc-bento-cell:hover .bento-front img,
.kcc-bento-cell:hover .bento-front { filter: brightness(1.1); }

/* Expand indicator */
.kcc-bento-cell .bento-flip-hint {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  z-index: 2;
  transition: all 0.3s;
}

.kcc-bento-cell:hover .bento-flip-hint {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* ═══ Fat Footer — Live Dashboard ═══ */
.kcc-fat-footer {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 40px 0 28px;
  position: relative;
}

.kcc-fat-footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.kcc-fat-stat {
  text-align: center;
  padding: 20px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.4s;
}

.kcc-fat-stat:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(14, 165, 233, 0.1);
  transform: translateY(-4px);
}

.kcc-fat-stat-icon {
  font-size: 1.3rem;
  color: #0ea5e9;
  margin-bottom: 8px;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.kcc-fat-stat:hover .kcc-fat-stat-icon { transform: rotateY(360deg); }

.kcc-fat-stat-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  display: block;
  margin-bottom: 4px;
  background: linear-gradient(135deg, #e2e8f0, #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.kcc-fat-stat-label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.3);
}

.kcc-fat-stat-live {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #00dc82;
  box-shadow: 0 0 8px rgba(0, 220, 130, 0.5);
  animation: pulse 2s ease-in-out infinite;
  margin-right: 4px;
  vertical-align: middle;
}

/* ═══ KCC Responsive ═══ */
@media (max-width: 991px) {
  .kcc-services-grid { grid-template-columns: repeat(2, 1fr); }
  .kcc-bento-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
  .kcc-bento-cell.span-2 { grid-column: span 1; }
  .kcc-fat-footer-grid { grid-template-columns: repeat(3, 1fr); }
  .kcc-hero-content .row { flex-direction: column; }
}

@media (max-width: 767px) {
  .kcc-services-grid { grid-template-columns: 1fr; }
  .kcc-bento-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .kcc-fat-footer-grid { grid-template-columns: repeat(2, 1fr); }
  .kcc-hero { min-height: auto; }
  .kcc-hero-content { padding: 80px 0 60px; }
  .kcc-momentum-metrics { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .kcc-fat-footer-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}

/* ══════════════════════════════════════════════════════════════
   CASE STUDY DETAIL — "Hero's Journey" Design
   ══════════════════════════════════════════════════════════════ */

/* ═══ Results Header — Full-Width Video/Gradient ═══ */
.cs-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #0A0A0A;
}

.cs-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cs-hero-bg img,
.cs-hero-bg video {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.3) saturate(1.2);
}

.cs-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, #0A0A0A 0%, rgba(10, 10, 10, 0.6) 50%, transparent 100%),
    radial-gradient(ellipse at 20% 80%, rgba(124, 58, 237, 0.2), transparent 50%);
}

.cs-hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 0 60px;
  width: 100%;
}

.cs-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
}

.cs-hero-eyebrow i { color: #7c3aed; }

.cs-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
  max-width: 700px;
}

.cs-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}

.cs-hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cs-hero-meta-label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.3);
}

.cs-hero-meta-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}

/* ═══ Story Section — 2 Column (Fixed 3D Left + Scrollable Right) ═══ */
.cs-story {
  background: #0A0A0A;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cs-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* Left — 3D Object Stage */
.cs-3d-stage {
  position: sticky;
  top: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.cs-3d-object {
  width: 280px; height: 280px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  animation: cs3dFloat 5s ease-in-out infinite;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cs3dFloat {
  0%, 100% { transform: translateY(0) rotateY(0deg); }
  50% { transform: translateY(-18px) rotateY(10deg); }
}

.cs-3d-object.obj-camera {
  background: radial-gradient(circle, rgba(14, 165, 233, 0.15), rgba(14, 165, 233, 0.03));
  border: 1px solid rgba(14, 165, 233, 0.1);
  box-shadow: 0 30px 80px rgba(14, 165, 233, 0.1), 0 0 120px rgba(14, 165, 233, 0.05);
  color: #0ea5e9;
}

.cs-3d-object.obj-funnel {
  background: radial-gradient(circle, rgba(0, 220, 130, 0.15), rgba(0, 220, 130, 0.03));
  border: 1px solid rgba(0, 220, 130, 0.1);
  box-shadow: 0 30px 80px rgba(0, 220, 130, 0.1), 0 0 120px rgba(0, 220, 130, 0.05);
  color: #00dc82;
}

/* Particles around 3D object */
.cs-3d-particles {
  position: absolute;
  inset: -60px;
  pointer-events: none;
}

.cs-3d-particle {
  position: absolute;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.3;
  animation: cs3dParticle var(--p-dur, 6s) ease-in-out infinite var(--p-delay, 0s);
}

@keyframes cs3dParticle {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
  50% { transform: translate(var(--p-tx, 10px), var(--p-ty, -15px)) scale(1.5); opacity: 0.6; }
}

/* Scale 3D object as user scrolls through story phases */
.cs-3d-object[data-cs-phase="challenge"] {
  filter: grayscale(0.6) brightness(0.7);
  transform: scale(0.85);
}

.cs-3d-object[data-cs-phase="solution"] {
  filter: grayscale(0) brightness(1);
  transform: scale(1);
}

.cs-3d-object[data-cs-phase="result"] {
  filter: grayscale(0) brightness(1.1);
  transform: scale(1.1);
  box-shadow: 0 30px 100px rgba(124, 58, 237, 0.15), 0 0 160px rgba(14, 165, 233, 0.08);
}

/* Right — Scrollable Story Steps */
.cs-story-steps {
  display: grid;
  gap: 56px;
}

.cs-step {
  padding: 36px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  transition: all 0.5s ease;
  position: relative;
}

.cs-step::before {
  content: '';
  position: absolute;
  top: 0; left: 32px;
  width: 3px; height: 100%;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
}

.cs-step.is-active {
  border-color: rgba(124, 58, 237, 0.15);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.cs-step.is-active::before {
  background: linear-gradient(to bottom, #7c3aed, #0ea5e9);
}

.cs-step-num {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.cs-step-num.num-challenge { color: #ef4444; }
.cs-step-num.num-solution { color: #0ea5e9; }
.cs-step-num.num-result { color: #00dc82; }

.cs-step h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.cs-step p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
}

/* ═══ Giant Result Counter ═══ */
.cs-result-showcase {
  padding: 80px 0;
  background: #0A0A0A;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cs-result-showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.06), transparent 60%);
  pointer-events: none;
}

.cs-big-counter {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #0ea5e9, #00dc82, #7c3aed);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: counterGradient 4s linear infinite;
  margin-bottom: 12px;
}

@keyframes counterGradient {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.cs-big-counter-label {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
}

.cs-result-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.cs-result-stat {
  text-align: center;
}

.cs-result-stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  display: block;
}

.cs-result-stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 4px;
  display: block;
}

/* ═══ Self-Drawing Line Graph ═══ */
.cs-graph-wrap {
  max-width: 600px;
  margin: 48px auto 0;
  position: relative;
}

.cs-graph-wrap svg {
  width: 100%;
  height: auto;
}

.cs-graph-line {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 2.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cs-graph-line.drawn { stroke-dashoffset: 0; }

/* ═══ Tech Stack Footer ═══ */
.cs-tech-stack {
  padding: 48px 0;
  background: rgba(255, 255, 255, 0.01);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.cs-tech-stack-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.cs-tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s;
}

.cs-tech-badge i { color: #7c3aed; font-size: 0.9rem; }

.cs-tech-badge:hover {
  border-color: rgba(124, 58, 237, 0.2);
  color: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
}

/* ═══ Case Study CTA ═══ */
.cs-cta {
  padding: 80px 0;
  background: #0A0A0A;
  text-align: center;
  position: relative;
}

.cs-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 22px 48px;
  border: none;
  border-radius: 20px;
  background: linear-gradient(135deg, #7c3aed, #0ea5e9);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 16px 50px rgba(124, 58, 237, 0.3), 0 0 80px rgba(124, 58, 237, 0.08);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.cs-cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, #0ea5e9, #00dc82);
  opacity: 0;
  transition: opacity 0.4s;
}

.cs-cta-btn:hover::before { opacity: 1; }

.cs-cta-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 24px 70px rgba(124, 58, 237, 0.4);
  color: #fff;
}

.cs-cta-btn span, .cs-cta-btn i { position: relative; z-index: 1; }

/* ═══ More Case Studies Nav ═══ */
.cs-more {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.cs-more a {
  padding: 10px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

.cs-more a:hover {
  border-color: rgba(124, 58, 237, 0.2);
  color: #fff;
}

/* ═══ CS Responsive ═══ */
@media (max-width: 991px) {
  .cs-story-grid { grid-template-columns: 1fr; gap: 40px; }
  .cs-3d-stage { position: relative; top: 0; min-height: 260px; }
  .cs-3d-object { width: 200px; height: 200px; font-size: 3.5rem; }
}

@media (max-width: 767px) {
  .cs-hero { min-height: 50vh; }
  .cs-step { padding: 24px 20px; }
  .cs-result-stats { gap: 28px; }
  .cs-big-counter { font-size: clamp(3rem, 15vw, 6rem); }
}

/* ══════════════════════════════════════════════════════════════
   TEAM — 3D Album Gallery ("Game Character Select")
   ══════════════════════════════════════════════════════════════ */
.team-album {
  position: relative;
  padding: 100px 0 80px;
  background: #0A0A0A;
  overflow: hidden;
  min-height: 100vh;
}

/* Starfield Canvas */
.team-starfield {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.team-starfield canvas { width: 100%; height: 100%; display: block; }

/* ═══ Team Title — 3D Perspective Drop with Metallic Shimmer ═══ */
.team-scanline-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.2vw, 2.4rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  position: relative;
  display: inline-block;
  /* 3D metallic text */
  background: linear-gradient(180deg, #ffffff 0%, #a5b4fc 30%, #e2e8f0 55%, #818cf8 75%, #ffffff 100%);
  background-size: 100% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: teamTitleShimmer 5s ease-in-out infinite;
  /* 3D depth via drop shadows falling down */
  filter:
    drop-shadow(0 1px 0 rgba(45, 91, 255, 0.4))
    drop-shadow(0 3px 0 rgba(45, 91, 255, 0.2))
    drop-shadow(0 6px 8px rgba(45, 91, 255, 0.15))
    drop-shadow(0 14px 28px rgba(0, 0, 0, 0.35));
  /* Perspective tilt for 3D feel */
  transform: perspective(600px) rotateX(4deg);
  transform-origin: center bottom;
}

@keyframes teamTitleShimmer {
  0%, 100% { background-position: 0% 0%; }
  50% { background-position: 0% 100%; }
}

/* Remove broken ::before / ::after glitch duplicates */
.team-scanline-title::before,
.team-scanline-title::after {
  content: none !important;
  display: none !important;
}

/* Clean scanline sweep — subtle light pass */
.team-scanline-title .scanline-sweep {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(165, 180, 252, 0.06) 42%,
    rgba(255, 255, 255, 0.15) 50%,
    rgba(165, 180, 252, 0.06) 58%,
    transparent 100%
  );
  animation: scanSweepClean 4s linear infinite;
  pointer-events: none;
}

@keyframes scanSweepClean {
  0% { transform: translateY(-120%); }
  100% { transform: translateY(220%); }
}

/* Light mode: Dark metallic gradient */
body.theme-light .team-scanline-title {
  background: linear-gradient(180deg, #1E293B 0%, #3B63CF 30%, #475569 55%, #2D5BFF 75%, #1E293B 100%);
  background-size: 100% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter:
    drop-shadow(0 1px 0 rgba(45, 91, 255, 0.15))
    drop-shadow(0 3px 0 rgba(45, 91, 255, 0.08))
    drop-shadow(0 8px 16px rgba(45, 91, 255, 0.1))
    drop-shadow(0 16px 32px rgba(0, 0, 0, 0.08));
}

/* ═══ 3D Carousel Container ═══ */
.team-carousel-wrap {
  position: relative;
  z-index: 1;
  perspective: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 520px;
  margin-top: 48px;
}

.team-carousel {
  position: relative;
  width: 340px;
  height: 480px;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ═══ Album Card ═══ */
.team-album-card {
  position: absolute;
  width: 340px;
  height: 480px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
  display: flex;
  flex-direction: column;
}

.team-album-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 25px;
  background: linear-gradient(160deg, rgba(14, 165, 233, 0.12), transparent 40%, transparent 60%, rgba(124, 58, 237, 0.08));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s;
}

/* Active center card */
.team-album-card.is-center {
  z-index: 10;
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.6),
    0 0 50px rgba(124, 58, 237, 0.06);
}

.team-album-card.is-center::before { opacity: 1; }

/* Side cards */
.team-album-card.is-left {
  transform: translateX(-280px) translateZ(-150px) rotateY(35deg) scale(0.85);
  opacity: 0.5;
  z-index: 5;
  filter: brightness(0.6);
}

.team-album-card.is-right {
  transform: translateX(280px) translateZ(-150px) rotateY(-35deg) scale(0.85);
  opacity: 0.5;
  z-index: 5;
  filter: brightness(0.6);
}

.team-album-card.is-far-left {
  transform: translateX(-480px) translateZ(-300px) rotateY(45deg) scale(0.7);
  opacity: 0.2;
  z-index: 2;
  filter: brightness(0.4);
}

.team-album-card.is-far-right {
  transform: translateX(480px) translateZ(-300px) rotateY(-45deg) scale(0.7);
  opacity: 0.2;
  z-index: 2;
  filter: brightness(0.4);
}

.team-album-card.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateZ(-500px) scale(0.5);
}

/* ═══ Light Streak Effect ═══ */
.team-album-card .light-streak {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 0%, transparent 40%,
    rgba(255, 255, 255, 0.06) 45%,
    rgba(255, 255, 255, 0.15) 50%,
    rgba(255, 255, 255, 0.06) 55%,
    transparent 60%, transparent 100%
  );
  transform: translateX(-150%);
  transition: transform 0.8s ease;
  pointer-events: none;
  z-index: 10;
  border-radius: 24px;
}

.team-album-card.is-center:hover .light-streak {
  transform: translateX(150%);
}

/* ═══ Card Photo ═══ */
.team-album-photo {
  height: 260px;
  overflow: hidden;
  position: relative;
}

.team-album-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.team-album-card.is-center:hover .team-album-photo img {
  transform: scale(1.05);
}

.team-album-photo::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.95), transparent);
}

/* ═══ Card Content ═══ */
.team-album-content {
  padding: 20px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
  margin-top: -24px;
}

.team-album-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #c0c0c0, #f5f5f5, #a8a8a8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 2px;
}

.team-album-role {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, #0ea5e9, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}

.team-album-bio {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.6;
  margin-bottom: 14px;
  flex: 1;
}

/* ═══ Skill Bars ("Power Level") ═══ */
.team-album-skills {
  display: grid;
  gap: 8px;
}

.team-skill-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 8px;
  align-items: center;
}

.team-skill-label {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.3);
}

.team-skill-bar {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.team-skill-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #7c3aed, #0ea5e9);
  width: 0;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-album-card.is-center .team-skill-bar-fill {
  width: var(--skill-val);
}

/* ═══ Navigation Arrows ═══ */
.team-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
  position: relative;
  z-index: 10;
}

.team-nav-btn {
  width: 48px; height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  backdrop-filter: blur(8px);
}

.team-nav-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(124, 58, 237, 0.2);
  color: #fff;
  transform: translateY(-2px);
}

/* Dot indicators */
.team-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  position: relative;
  z-index: 10;
}

.team-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  cursor: pointer;
  transition: all 0.4s;
  padding: 0;
}

.team-dot.active {
  background: linear-gradient(135deg, #7c3aed, #0ea5e9);
  box-shadow: 0 0 12px rgba(124, 58, 237, 0.4);
  width: 24px;
  border-radius: 999px;
}

/* ═══ Album Responsive ═══ */
@media (max-width: 991px) {
  .team-album-card,
  .team-carousel {
    width: 300px; height: 440px;
  }
  .team-album-card.is-left { transform: translateX(-220px) translateZ(-120px) rotateY(30deg) scale(0.85); }
  .team-album-card.is-right { transform: translateX(220px) translateZ(-120px) rotateY(-30deg) scale(0.85); }
  .team-album-card.is-far-left,
  .team-album-card.is-far-right { opacity: 0; pointer-events: none; }
}

@media (max-width: 767px) {
  .team-album-card,
  .team-carousel {
    width: 280px; height: 420px;
  }
  .team-album-photo { height: 220px; }
  .team-album-card.is-left { transform: translateX(-160px) translateZ(-100px) rotateY(25deg) scale(0.8); }
  .team-album-card.is-right { transform: translateX(160px) translateZ(-100px) rotateY(-25deg) scale(0.8); }
  .team-carousel-wrap { min-height: 460px; }
  .team-album { padding: 80px 0 60px; min-height: auto; }
}

@media (max-width: 480px) {
  .team-album-card.is-left { transform: translateX(-120px) translateZ(-80px) rotateY(20deg) scale(0.75); opacity: 0.3; }
  .team-album-card.is-right { transform: translateX(120px) translateZ(-80px) rotateY(-20deg) scale(0.75); opacity: 0.3; }
}

/* ══════════════════════════════════════════════════════════════
   SKILL TREE — Interactive 3D Neural Network (Services)
   ══════════════════════════════════════════════════════════════ */
.skill-tree-section {
  position: relative;
  padding: 100px 0 80px;
  background: #050505;
  overflow: hidden;
  transition: background 0.8s ease;
}

/* Background color shift on node exploration */
.skill-tree-section[data-active-branch="video"]    { background: #050510; }
.skill-tree-section[data-active-branch="social"]   { background: #050812; }
.skill-tree-section[data-active-branch="ads"]      { background: #0a0508; }
.skill-tree-section[data-active-branch="graphics"] { background: #080510; }

/* ═══ Central Hub — "The Brain" ═══ */
.st-hub {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.2), rgba(14, 165, 233, 0.1), transparent 70%);
  border: 2px solid rgba(124, 58, 237, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  cursor: default;
  box-shadow: 0 0 60px rgba(124, 58, 237, 0.15), 0 0 120px rgba(14, 165, 233, 0.06);
  animation: hubPulse 3s ease-in-out infinite;
}

@keyframes hubPulse {
  0%, 100% { box-shadow: 0 0 60px rgba(124, 58, 237, 0.15), 0 0 120px rgba(14, 165, 233, 0.06); }
  50% { box-shadow: 0 0 80px rgba(124, 58, 237, 0.25), 0 0 160px rgba(14, 165, 233, 0.1); }
}

.st-hub-inner {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #0ea5e9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.3);
}

/* ═══ SVG Branch Lines Container ═══ */
.st-svg-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.st-svg-container svg { width: 100%; height: 100%; }

.st-branch-line {
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  transition: stroke-dashoffset 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.st-branch-line.grown { stroke-dashoffset: 0; }

/* Energy pulse traveling along path */
.st-energy-pulse {
  fill: none;
  stroke-width: 3;
  stroke-dasharray: 8 292;
  stroke-dashoffset: 0;
  opacity: 0;
  transition: opacity 0.4s;
}

.st-energy-pulse.active {
  opacity: 1;
  animation: energyTravel 2s linear infinite;
}

@keyframes energyTravel {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -300; }
}

/* ═══ Skill Nodes ═══ */
.st-nodes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
  position: relative;
  z-index: 5;
}

.st-node {
  text-align: center;
  cursor: pointer;
  position: relative;
  padding: 28px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(0.85);
  opacity: 0;
}

/* Grown state — nodes appear */
.st-node.grown {
  transform: scale(1);
  opacity: 1;
}

/* Dimmed when another node is active */
.st-node.dimmed {
  opacity: 0.2;
  filter: grayscale(0.6);
  transform: scale(0.9);
  pointer-events: none;
}

.st-node:hover {
  transform: scale(1.05) translateZ(50px);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.st-node.active {
  border-color: rgba(124, 58, 237, 0.25);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 40px var(--node-glow, rgba(124, 58, 237, 0.08));
  transform: scale(1.05);
}

/* Node icon */
.st-node-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 14px;
  transition: all 0.4s;
}

.st-node:hover .st-node-icon,
.st-node.active .st-node-icon { transform: scale(1.1) rotate(-5deg); }

.st-node-icon.n-video { background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(14, 165, 233, 0.05)); color: #0ea5e9; border: 1px solid rgba(14, 165, 233, 0.1); }
.st-node-icon.n-social { background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(124, 58, 237, 0.05)); color: #7c3aed; border: 1px solid rgba(124, 58, 237, 0.1); }
.st-node-icon.n-ads { background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.05)); color: #f59e0b; border: 1px solid rgba(245, 158, 11, 0.1); }
.st-node-icon.n-graphics { background: linear-gradient(135deg, rgba(232, 121, 249, 0.15), rgba(232, 121, 249, 0.05)); color: #e879f9; border: 1px solid rgba(232, 121, 249, 0.1); }

/* Rank title */
.st-node-rank {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 10px;
}

.st-node-rank.rank-master { background: rgba(14, 165, 233, 0.1); color: #38bdf8; border: 1px solid rgba(14, 165, 233, 0.15); }
.st-node-rank.rank-elite { background: rgba(245, 158, 11, 0.1); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.15); }
.st-node-rank.rank-global { background: rgba(124, 58, 237, 0.1); color: #a78bfa; border: 1px solid rgba(124, 58, 237, 0.15); }
.st-node-rank.rank-legend { background: rgba(232, 121, 249, 0.1); color: #e879f9; border: 1px solid rgba(232, 121, 249, 0.15); }

.st-node h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #fff;
}

.st-node-stat {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.3);
  font-weight: 600;
}

/* ═══ Sub-Skills Panel (Level 2) ═══ */
.st-subskills {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1), margin 0.4s;
  margin-top: 0;
}

.st-node.active .st-subskills {
  max-height: 300px;
  margin-top: 16px;
}

.st-subskill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.04);
  margin-bottom: 6px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  transform: translateX(-10px);
  opacity: 0;
  transition: all 0.4s ease;
}

.st-node.active .st-subskill {
  transform: translateX(0);
  opacity: 1;
}

.st-node.active .st-subskill:nth-child(1) { transition-delay: 0.1s; }
.st-node.active .st-subskill:nth-child(2) { transition-delay: 0.2s; }
.st-node.active .st-subskill:nth-child(3) { transition-delay: 0.3s; }

.st-subskill i { font-size: 0.7rem; color: var(--node-color, #7c3aed); }

/* ═══ Level-Up Notification ═══ */
.st-levelup {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  z-index: 9999;
  padding: 32px 48px;
  border-radius: 20px;
  background: rgba(10, 10, 20, 0.95);
  border: 1px solid rgba(124, 58, 237, 0.2);
  backdrop-filter: blur(20px);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 80px rgba(124, 58, 237, 0.1);
}

.st-levelup.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}

.st-levelup-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  display: block;
  animation: levelUpBounce 0.6s ease;
}

@keyframes levelUpBounce {
  0% { transform: scale(0) rotate(-20deg); }
  50% { transform: scale(1.2) rotate(5deg); }
  100% { transform: scale(1) rotate(0); }
}

.st-levelup h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #7c3aed, #0ea5e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}

.st-levelup p { font-size: 0.82rem; color: rgba(255, 255, 255, 0.4); }

.st-levelup-close {
  margin-top: 16px;
  padding: 8px 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.78rem;
  cursor: pointer;
  transition: all 0.3s;
}

.st-levelup-close:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }

/* ═══ Skill Tree Responsive ═══ */
@media (max-width: 991px) {
  .st-nodes { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575px) {
  .st-nodes { grid-template-columns: 1fr; max-width: 360px; margin-left: auto; margin-right: auto; }
  .st-hub { width: 90px; height: 90px; }
  .st-hub-inner { width: 50px; height: 50px; font-size: 1.1rem; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   CAREERS PAGE — "Character Selection" Immersive Experience
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Hero ── */
.career-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 30%, rgba(45, 91, 255, 0.12) 0%, transparent 60%), #050505;
}

.career-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.5;
}

.career-hero-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 24px;
  max-width: 780px;
}

.career-hero-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #2D5BFF;
  margin-bottom: 20px;
}

.career-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
}

.career-hero-sub {
  font-size: 1.05rem;
  color: rgba(226, 232, 240, 0.6);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.career-hero-cta {
  font-size: 0.95rem;
  padding: 14px 36px;
}

/* ── Role Cards Grid ── */
.career-roles {
  padding: 100px 0 80px;
  position: relative;
}

.career-role-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
  perspective: 1200px;
}

/* ── Individual Role Card (Flip) ── */
.career-role-card {
  height: 420px;
  cursor: pointer;
  perspective: 1000px;
}

.career-role-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.career-role-card:hover .career-role-card-inner {
  transform: rotateY(180deg);
}

.career-role-front,
.career-role-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 20px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.career-role-front {
  background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  align-items: center;
  justify-content: center;
  text-align: center;
}

.career-role-front::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, transparent 40%, rgba(45, 91, 255, 0.05) 100%);
  pointer-events: none;
}

.career-role-back {
  background: linear-gradient(135deg, rgba(45, 91, 255, 0.08), rgba(139, 92, 246, 0.06));
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transform: rotateY(180deg);
  justify-content: center;
}

.career-role-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(45, 91, 255, 0.15), rgba(139, 92, 246, 0.1));
  display: grid;
  place-items: center;
  font-size: 2rem;
  color: #2D5BFF;
  margin-bottom: 24px;
  position: relative;
  transition: all 0.5s;
  box-shadow: 0 0 40px rgba(45, 91, 255, 0.15);
}

.career-role-card:hover .career-role-icon {
  animation: careerIconSpin 0.8s ease forwards;
}

@keyframes careerIconSpin {
  0% { transform: rotateY(0deg) scale(1); }
  50% { transform: rotateY(180deg) scale(1.1); box-shadow: 0 0 60px rgba(45, 91, 255, 0.35); }
  100% { transform: rotateY(360deg) scale(1); }
}

.career-role-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #E2E8F0;
}

.career-role-type {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: rgba(226, 232, 240, 0.4);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.career-role-hint {
  font-size: 0.75rem;
  color: rgba(45, 91, 255, 0.6);
  margin-top: auto;
  transition: color 0.3s;
}

.career-role-card:hover .career-role-hint { color: #2D5BFF; }

/* Back card styles */
.career-role-back h4 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: #2D5BFF;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.career-stat-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.career-stat-bar span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: rgba(226, 232, 240, 0.5);
  min-width: 80px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.career-bar {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.career-bar-fill {
  height: 100%;
  border-radius: 999px;
  width: 0;
  background: linear-gradient(90deg, #2D5BFF, #8B5CF6);
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 10px rgba(45, 91, 255, 0.4);
}

.career-role-card:hover .career-bar-fill {
  width: var(--bar-w, 0%);
}

.career-role-desc {
  font-size: 0.8rem;
  color: rgba(226, 232, 240, 0.5);
  line-height: 1.6;
  margin: 16px 0 20px;
}

.career-role-back .btn {
  align-self: flex-start;
  font-size: 0.78rem;
  padding: 8px 24px;
}

/* ── Culture Bento ── */
.career-culture {
  padding: 80px 0 100px;
  position: relative;
}

.career-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.career-bento-cell {
  border-radius: 20px;
  padding: 32px 24px;
  background: linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.career-bento-cell::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(45, 91, 255, 0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.career-bento-cell:hover::before { opacity: 1; }

.career-bento-cell:hover {
  transform: translateY(-6px);
  border-color: rgba(45, 91, 255, 0.15);
  box-shadow: 0 20px 60px rgba(45, 91, 255, 0.08);
}

.career-bento-wide { grid-column: span 2; }

.career-bento-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(45, 91, 255, 0.12), rgba(139, 92, 246, 0.08));
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  color: #2D5BFF;
  margin-bottom: 16px;
}

.career-bento-cell h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: #E2E8F0;
  margin-bottom: 8px;
}

.career-bento-cell p {
  font-size: 0.85rem;
  color: rgba(226, 232, 240, 0.45);
  line-height: 1.65;
  margin: 0;
}

/* ── Application Form ── */
.career-apply {
  padding: 80px 0 120px;
  position: relative;
}

.career-apply-card {
  border-radius: 24px;
  padding: 48px 40px;
  background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.career-field {
  margin-bottom: 20px;
}

.career-field label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(226, 232, 240, 0.7);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.career-field label .req { color: #2D5BFF; }

.career-field input,
.career-field select,
.career-field textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #E2E8F0;
  font-size: 0.9rem;
  font-family: var(--font-body);
  transition: all 0.3s;
  outline: none;
}

.career-field input::placeholder,
.career-field textarea::placeholder {
  color: rgba(226, 232, 240, 0.25);
}

.career-field input:focus,
.career-field select:focus,
.career-field textarea:focus {
  border-color: rgba(45, 91, 255, 0.4);
  box-shadow: 0 0 0 4px rgba(45, 91, 255, 0.08), 0 0 20px rgba(45, 91, 255, 0.06);
  background: rgba(255, 255, 255, 0.05);
}

.career-field select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23667' fill='none' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.career-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Dropzone */
.career-dropzone {
  border: 2px dashed rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.career-dropzone:hover,
.career-dropzone.is-dragover {
  border-color: rgba(45, 91, 255, 0.4);
  background: rgba(45, 91, 255, 0.04);
}

.career-dropzone.is-dragover {
  animation: careerDropPulse 1s ease infinite;
}

@keyframes careerDropPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(45, 91, 255, 0.15); }
  50% { box-shadow: 0 0 0 12px rgba(45, 91, 255, 0); }
}

.career-dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.career-dropzone-inner {
  pointer-events: none;
}

.career-dropzone-inner i { color: #2D5BFF; display: block; margin-bottom: 8px; }
.career-dropzone-inner p { font-size: 0.85rem; color: rgba(226, 232, 240, 0.5); margin: 0; }
.career-dropzone-inner p span { color: #2D5BFF; text-decoration: underline; }
.career-dropzone-inner small { font-size: 0.72rem; color: rgba(226, 232, 240, 0.25); }

/* Submit Button */
.career-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 32px;
  border: none;
  border-radius: 16px;
  background: linear-gradient(135deg, #2D5BFF, #8B5CF6);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 40px rgba(45, 91, 255, 0.25);
}

.career-submit:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 20px 60px rgba(45, 91, 255, 0.35);
}

.career-submit::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -100%;
  width: 200%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: translateY(-50%) skewX(-15deg);
  transition: left 0.6s;
}

.career-submit:hover::before { left: 100%; }

.career-submit-text { position: relative; z-index: 1; }
.career-submit-plane {
  position: relative;
  z-index: 1;
  display: inline-flex;
  transition: transform 0.4s;
}

.career-submit:hover .career-submit-plane {
  transform: translate(4px, -4px) rotate(-10deg);
}

/* Success Message */
.career-success-msg {
  text-align: center;
  padding: 40px 20px;
  animation: careerSuccessFade 0.8s ease forwards;
}

@keyframes careerSuccessFade {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.career-success-msg h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #10b981;
  margin: 20px 0 10px;
}

.career-success-msg p {
  color: rgba(226, 232, 240, 0.5);
  font-size: 0.9rem;
}

/* Paper Plane Animation */
.career-plane-anim {
  display: inline-flex;
  color: #2D5BFF;
  animation: careerPlaneFly 1.5s ease-out forwards;
}

@keyframes careerPlaneFly {
  0% { transform: translate(0, 0) rotate(0deg); opacity: 1; }
  40% { transform: translate(40px, -60px) rotate(-15deg); opacity: 1; }
  70% { transform: translate(80px, -120px) rotate(-25deg); opacity: 0.6; }
  100% { transform: translate(0, 0) rotate(0deg); opacity: 1; }
}

/* ═══ Light Mode Overrides ═══ */
body.theme-light .career-hero {
  background: radial-gradient(ellipse at 50% 30%, rgba(45, 91, 255, 0.06) 0%, transparent 60%), #F8FAFC;
}

body.theme-light .career-hero-sub { color: #64748b; }
body.theme-light .career-hero-tag { color: #3B63CF; }

body.theme-light .career-role-front {
  background: #FFFFFF;
  backdrop-filter: none;
  border-color: rgba(45, 91, 255, 0.06);
  box-shadow: 0 8px 32px rgba(45, 91, 255, 0.06), 0 2px 8px rgba(0,0,0,0.04);
}

body.theme-light .career-role-back {
  background: linear-gradient(135deg, #f0f4ff, #f5f3ff);
  backdrop-filter: none;
  border-color: rgba(45, 91, 255, 0.08);
}

body.theme-light .career-role-name { color: #1E293B; }
body.theme-light .career-role-type { color: #64748b; }
body.theme-light .career-role-hint { color: #3B63CF; }
body.theme-light .career-role-desc { color: #64748b; }
body.theme-light .career-role-back h4 { color: #3B63CF; }
body.theme-light .career-stat-bar span { color: #64748b; }
body.theme-light .career-bar { background: rgba(45, 91, 255, 0.08); }
body.theme-light .career-bar-fill { box-shadow: none; }

body.theme-light .career-role-icon {
  background: linear-gradient(135deg, rgba(45, 91, 255, 0.1), rgba(139, 92, 246, 0.06));
  box-shadow: 0 4px 16px rgba(45, 91, 255, 0.08);
  color: #3B63CF;
}

body.theme-light .career-bento-cell {
  background: #FFFFFF;
  backdrop-filter: none;
  border-color: rgba(45, 91, 255, 0.06);
  box-shadow: 0 8px 32px rgba(45, 91, 255, 0.06);
}

body.theme-light .career-bento-cell:hover {
  box-shadow: 0 20px 60px rgba(45, 91, 255, 0.12);
  border-color: rgba(45, 91, 255, 0.12);
}

body.theme-light .career-bento-cell h4 { color: #1E293B; }
body.theme-light .career-bento-cell p { color: #64748b; }
body.theme-light .career-bento-icon { color: #3B63CF; }

body.theme-light .career-apply-card {
  background: #FFFFFF;
  backdrop-filter: none;
  border-color: rgba(45, 91, 255, 0.06);
  box-shadow: 0 20px 60px rgba(45, 91, 255, 0.08), 0 4px 16px rgba(0,0,0,0.04);
}

body.theme-light .career-field label { color: #334155; }
body.theme-light .career-field label .req { color: #3B63CF; }

body.theme-light .career-field input,
body.theme-light .career-field select,
body.theme-light .career-field textarea {
  background: #F8FAFC;
  border-color: rgba(45, 91, 255, 0.1);
  color: #1E293B;
}

body.theme-light .career-field input::placeholder,
body.theme-light .career-field textarea::placeholder { color: #94a3b8; }

body.theme-light .career-field input:focus,
body.theme-light .career-field select:focus,
body.theme-light .career-field textarea:focus {
  border-color: rgba(45, 91, 255, 0.3);
  box-shadow: 0 0 0 4px rgba(45, 91, 255, 0.06), 0 0 16px rgba(45, 91, 255, 0.04);
  background: #fff;
}

body.theme-light .career-dropzone {
  border-color: rgba(45, 91, 255, 0.12);
  background: #fafbff;
}

body.theme-light .career-dropzone:hover,
body.theme-light .career-dropzone.is-dragover {
  border-color: rgba(45, 91, 255, 0.3);
  background: rgba(45, 91, 255, 0.03);
}

body.theme-light .career-dropzone-inner p { color: #64748b; }
body.theme-light .career-dropzone-inner p span { color: #3B63CF; }
body.theme-light .career-dropzone-inner small { color: #94a3b8; }
body.theme-light .career-dropzone-inner i { color: #3B63CF; }

body.theme-light .career-submit {
  box-shadow: 0 10px 40px rgba(59, 99, 207, 0.2);
}

body.theme-light .career-submit:hover {
  box-shadow: 0 20px 60px rgba(59, 99, 207, 0.3);
}

body.theme-light .career-success-msg p { color: #64748b; }

/* ═══ Career Page Responsive ═══ */
@media (max-width: 991px) {
  .career-role-grid { grid-template-columns: repeat(2, 1fr); }
  .career-bento { grid-template-columns: 1fr 1fr; }
  .career-bento-wide { grid-column: span 2; }
}

@media (max-width: 575px) {
  .career-hero { min-height: 80vh; }
  .career-role-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .career-role-card { height: 380px; }
  .career-bento { grid-template-columns: 1fr; }
  .career-bento-wide { grid-column: span 1; }
  .career-field-row { grid-template-columns: 1fr; }
  .career-apply-card { padding: 32px 20px; }
}
