/* ═══════════════════════════════════════════════════════════════
   MIDCAV DIGITAL — Premium Purple Editorial Agency
   ═══════════════════════════════════════════════════════════════ */

/* ─── CSS CUSTOM PROPERTIES (DARK THEME DEFAULT) ─── */
:root {
  /* Core Colors */
  --clr-bg:           #0a0812;
  --clr-bg-alt:       #110e1d;
  --clr-surface:      #181528;
  --clr-border:       rgba(255,255,255,0.08);
  --clr-border-hover: rgba(255,255,255,0.2);

  /* Typography Colors */
  --clr-text:         #fdfbfd;
  --clr-text-muted:   rgba(253,251,253,0.65);
  
  /* Brand Accents */
  --clr-primary:      #8952ff;
  --clr-primary-light:#b48eff;
  --clr-secondary:    #d9c4ff;
  
  /* Gradients */
  --grad-primary:     linear-gradient(135deg, var(--clr-primary), var(--clr-primary-light));
  --grad-overlay:     linear-gradient(to top, rgba(10,8,18,0.9) 0%, rgba(10,8,18,0) 80%);

  /* Typography */
  --font-body:        'Plus Jakarta Sans', sans-serif;
  --font-display:     'Playfair Display', serif;

  /* Spacing */
  --nav-h:            80px;
  --space-sm:         1rem;
  --space-md:         2rem;
  --space-lg:         5rem;
  --space-xl:         8rem;

  /* Easing */
  --ease-out:         cubic-bezier(0.2, 0.8, 0.2, 1);
  
  /* Network Scale */
  --net-scale: 1;
  --dm-scale: 1;
}

/* ─── LIGHT THEME OVERRIDES ─── */
:root[data-theme="light"] {
  --clr-bg:           #ffffff;
  --clr-bg-alt:       #f8f7fa;
  --clr-surface:      #ffffff;
  --clr-border:       rgba(0,0,0,0.08);
  --clr-border-hover: rgba(0,0,0,0.2);
  
  --clr-text:         #0a0812;
  --clr-text-muted:   rgba(10,8,18,0.65);
  
  --clr-primary:      #6b2eff;
  --clr-primary-light:#8952ff;
  
  --grad-overlay:     linear-gradient(to top, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0) 80%);
}

/* Theme Transition */
.theme-transitioning, .theme-transitioning * {
  transition: background-color 0.5s var(--ease-out), color 0.5s var(--ease-out), border-color 0.5s var(--ease-out) !important;
}

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; overflow-x: hidden; }
body {
  background-color: var(--clr-bg); color: var(--clr-text);
  font-family: var(--font-body); line-height: 1.6;
  max-width: 100vw; overflow-x: hidden; cursor: none;
}
/* Touch devices: restore normal cursor & enable smooth scroll */
@media (pointer: coarse) {
  body, button, a { cursor: auto !important; }
  .cursor-follower { display: none !important; }
  * { -webkit-tap-highlight-color: transparent; }
}
a { color: inherit; text-decoration: none; }
button { border: none; background: none; font-family: inherit; cursor: none; }
img { display: block; max-width: 100%; object-fit: cover; }
::selection { background: var(--clr-primary); color: #fff; }

/* ─── UTILITIES & LAYOUT ─── */
.container { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }
.pt-lg { padding-top: var(--space-xl); }
.pb-lg { padding-bottom: var(--space-xl); }
.pt-md { padding-top: var(--space-lg); }
.pb-md { padding-bottom: var(--space-lg); }
.bg-alt { background-color: var(--clr-bg-alt); }
.text-center { text-align: center; }
.img-fluid { width: 100%; height: auto; }
.rounded { border-radius: 12px; }
.shadow { box-shadow: 0 20px 40px rgba(0,0,0,0.15); }
.shadow-lg { box-shadow: 0 30px 60px rgba(0,0,0,0.25); }

/* ─── CUSTOM CURSOR ─── */
.cursor-follower {
  position: fixed; top: 0; left: 0; width: 12px; height: 12px;
  background: var(--clr-primary); border-radius: 50%;
  pointer-events: none; z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, background 0.3s, opacity 0.3s;
  mix-blend-mode: difference;
}
body:has(a:hover) .cursor-follower, body:has(button:hover) .cursor-follower {
  width: 48px; height: 48px; background: #fff; mix-blend-mode: difference;
}

/* ─── TYPOGRAPHY ─── */
h1 { font-size: clamp(2.8rem, 5.5vw, 5rem); }
h2 { font-size: clamp(2.2rem, 4vw, 3.8rem); }
h3 { font-size: clamp(1.6rem, 2.8vw, 2.6rem); }
h4 { font-size: clamp(1.3rem, 2vw, 2rem); }
h1, h2, h3, h4 { font-weight: 400; line-height: 1.1; }
.section-title {
  font-family: var(--font-display); font-size: clamp(3rem, 6vw, 5.5rem);
  margin-bottom: 1.5rem; letter-spacing: -0.02em;
}
.section-title em { font-style: italic; color: var(--clr-primary-light); }
.section-desc { font-size: 1.125rem; color: var(--clr-text-muted); max-width: 600px; }
.about-tagline-sub {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-primary-light);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}
.text-center .section-desc { margin: 0 auto; }
.eyebrow {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--clr-primary-light); font-weight: 600; margin-bottom: 1rem;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1rem 2.5rem; font-size: 0.875rem; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase; border-radius: 100px;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s; position: relative; overflow: hidden;
}
.btn-primary { background: var(--clr-primary); color: #fff; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(107,46,255,0.4); }
.btn-outline { border: 1px solid var(--clr-border-hover); color: var(--clr-text); }
.btn-outline:hover { border-color: var(--clr-text); transform: translateY(-3px); }

/* ─── NAVIGATION ─── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h);
  z-index: 1000; transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(10,8,18,0.85); backdrop-filter: blur(16px);
  border-color: var(--clr-border);
}
[data-theme="light"] .navbar.scrolled { background: rgba(255,255,255,0.9); }
.nav-container {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; padding: 0 2rem; max-width: 1600px; margin: 0 auto;
}
.nav-brand { display: flex; align-items: center; gap: 0.5rem; }
.brand-logo { object-fit: contain; }
.brand-logo-icon { height: 38px; width: auto; }
.brand-logo-wordmark { height: 28px; width: auto; }
.brand-tagline {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--clr-accent, #00e5ff);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-left: 0.5rem;
  border-left: 1px solid rgba(0, 229, 255, 0.35);
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0.85;
}


.nav-links { display: flex; gap: 2.5rem; }
.nav-links a { font-size: 0.875rem; font-weight: 500; color: var(--clr-text-muted); transition: color 0.3s; }
.nav-links a:hover { color: var(--clr-text); }

.nav-actions { display: flex; align-items: center; gap: 1.5rem; }
.theme-toggle { color: var(--clr-text-muted); transition: color 0.3s; }
.theme-toggle:hover { color: var(--clr-text); }
.menu-toggle { display: none; flex-direction: column; gap: 6px; width: 30px; }
.menu-toggle span { display: block; width: 100%; height: 2px; background: var(--clr-text); transition: 0.3s; }

.mobile-menu {
  position: fixed; top: var(--nav-h); left: 0; width: 100%;
  background: var(--clr-bg); border-bottom: 1px solid var(--clr-border);
  padding: 2rem; display: none; flex-direction: column; gap: 1.5rem; z-index: 999;
}
.mobile-menu.open { display: flex; }
.mobile-links a { font-size: 1.25rem; font-weight: 500; border-bottom: 1px solid var(--clr-border); padding-bottom: 1rem; display: block; }

/* ─── ANIMATIONS (Intersection Observer) ─── */
.reveal-fade { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal-fade.visible { opacity: 1; transform: translateY(0); }
.reveal-image { overflow: hidden; position: relative; }
.reveal-image img, .reveal-image .collage-img, .reveal-image .video-thumb { transform: scale(1.1); transition: transform 1.2s var(--ease-out); }
.reveal-image.visible img, .reveal-image.visible .collage-img, .reveal-image.visible .video-thumb { transform: scale(1); }

/* ─── HERO SECTION ─── */
.hero-section {
  height: 100svh; position: relative; display: flex; align-items: center;
  justify-content: center; text-align: center; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.05); transition: transform 0.5s ease-out; }
.hero-overlay { position: absolute; inset: 0; background: rgba(10,8,18,0.6); }
[data-theme="light"] .hero-overlay { background: rgba(255,255,255,0.4); }
.hero-content { position: relative; z-index: 2; max-width: 1100px; padding: 0 2rem; display: flex; flex-direction: column; align-items: center; }

/* ─── 3D CUBE CAROUSEL SHOWCASE (M - I - D - C - A) ─── */
.cube-stage-wrap {
  position: relative;
  width: 100%;
  max-width: 1250px;
  height: 480px;
  perspective: 1500px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2.5rem;
  overflow: visible;
  z-index: 5;
}

/* Glowing Circular Stage Floor (Matching Reference Photo) */
.stage-neon-ring {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%) rotateX(78deg);
  width: 92%;
  height: 260px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 229, 255, 0.65);
  box-shadow:
    0 0 25px rgba(0, 229, 255, 0.4),
    0 0 50px rgba(0, 229, 255, 0.2),
    inset 0 0 30px rgba(0, 229, 255, 0.35);
  pointer-events: none;
}

.stage-floor-glow {
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 90px;
  background: radial-gradient(ellipse at center, rgba(0, 229, 255, 0.22) 0%, rgba(137, 82, 255, 0.08) 40%, transparent 70%);
  filter: blur(25px);
  pointer-events: none;
}

/* Left / Right Navigation Arrows (as seen in reference image) */
.stage-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(8, 12, 28, 0.65);
  border: 1px solid rgba(0, 229, 255, 0.4);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}
.stage-arrow.prev { left: 10px; }
.stage-arrow.next { right: 10px; }
.stage-arrow:hover {
  background: rgba(0, 229, 255, 0.2);
  border-color: rgba(0, 229, 255, 0.9);
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.6);
  transform: translateY(-50%) scale(1.1);
}

/* 3D Curved Arc Stage Container */
.cube-stage {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(26px, 2.6vw, 38px);
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

/* Individual Fixed Cube Slot (Position remains 100% stationary) */
.stage-cube-slot {
  position: relative;
  width: 135px;
  height: 215px;
  transform-style: preserve-3d;
  perspective: 1200px;
  flex-shrink: 0;
  transition: transform 0.5s ease;
}

/* 3D Arc Perspective Layout for all 6 Cubes (M - I - D - C - A - V) */
.stage-cube-slot.slot-0 { transform: rotateY(12deg) translateZ(-20px) scale(0.95); }
.stage-cube-slot.slot-1 { transform: rotateY(7deg) translateZ(-6px) scale(0.98); }
.stage-cube-slot.slot-2 { transform: rotateY(2deg) translateZ(10px) scale(1.04); z-index: 10; }
.stage-cube-slot.slot-3 { transform: rotateY(-2deg) translateZ(10px) scale(1.04); z-index: 10; }
.stage-cube-slot.slot-4 { transform: rotateY(-7deg) translateZ(-6px) scale(0.98); }
.stage-cube-slot.slot-5 { transform: rotateY(-12deg) translateZ(-20px) scale(0.95); }

/* The 3D Rotating Cube Box (Continuous in-place rotation with no jumping) */
.cube-3d-box {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform-origin: center center;
  animation: spinCubeSeamless 22s linear infinite;
  will-change: transform;
  cursor: pointer;
}
.cube-3d-box:hover {
  animation-play-state: paused;
}

/* Seamless Continuous Hardware-Accelerated 360-degree Y-Axis Spin */
@keyframes spinCubeSeamless {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

/* Cube Faces */
.cube-face {
  position: absolute;
  width: 135px;
  height: 215px;
  border-radius: 12px;
  box-sizing: border-box;
  background: rgba(8, 12, 28, 0.94);
  border: 1.5px solid rgba(0, 229, 255, 0.5);
  box-shadow:
    inset 0 0 25px rgba(0, 229, 255, 0.12),
    0 10px 30px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

/* FRONT FACE (Main Letter & Info) */
.cube-face.front {
  transform: translateZ(67.5px);
  padding: 1.1rem 0.7rem;
  justify-content: space-between;
}

/* 3 Neon LED dots (as in reference image) */
.cube-leds {
  display: flex;
  gap: 3.5px;
  align-self: flex-end;
  margin-top: -2px;
}
.cube-leds span {
  width: 3.5px;
  height: 3.5px;
  border-radius: 50%;
  background: #00e5ff;
  box-shadow: 0 0 6px #00e5ff;
}

/* Big Glowing Letter */
.cube-letter {
  font-family: var(--font-display), var(--font-body);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
  text-shadow:
    0 0 20px rgba(0, 229, 255, 0.8),
    0 0 40px rgba(0, 229, 255, 0.4),
    0 2px 10px rgba(0, 0, 0, 0.9);
  margin-top: -6px;
}

/* Word Title */
.cube-word {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

/* Description Subtitle */
.cube-desc {
  font-family: var(--font-body);
  font-size: 0.52rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: capitalize;
  letter-spacing: 0.05em;
  margin: 0;
  line-height: 1.25;
}

/* RIGHT FACE (High-res Photography) */
.cube-face.right {
  transform: rotateY(90deg) translateZ(67.5px);
  background-size: cover;
  background-position: center;
  border-color: rgba(0, 229, 255, 0.4);
}

/* BACK FACE (Cyber Brand Identity Panel) */
.cube-face.back {
  transform: rotateY(180deg) translateZ(67.5px);
  background: linear-gradient(135deg, rgba(6, 9, 22, 0.96) 0%, rgba(12, 18, 42, 0.94) 100%);
  border-color: rgba(0, 229, 255, 0.35);
}
.cube-back-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}
.back-logo-text {
  font-family: var(--font-display), var(--font-body);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(0, 229, 255, 0.9);
  text-shadow: 0 0 25px rgba(0, 229, 255, 0.7);
}
.back-logo-sub {
  font-family: var(--font-body);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
}

/* LEFT FACE (Creative Artwork) */
.cube-face.left {
  transform: rotateY(-90deg) translateZ(67.5px);
  background-size: cover;
  background-position: center;
  border-color: rgba(0, 229, 255, 0.4);
}

/* TOP FACE (Glass Ceiling) */
.cube-face.top {
  width: 135px;
  height: 135px;
  transform: rotateX(90deg) translateZ(67.5px);
  background: linear-gradient(180deg, rgba(0, 229, 255, 0.35) 0%, rgba(10, 16, 36, 0.8) 100%);
  border: 1.5px solid rgba(0, 229, 255, 0.6);
  border-radius: 12px;
}

/* BOTTOM FACE (Base) */
.cube-face.bottom {
  width: 135px;
  height: 135px;
  transform: rotateX(-90deg) translateZ(147.5px);
  background: rgba(4, 6, 14, 0.95);
  border-radius: 12px;
}

/* Glossy Glass Reflection Glare */
.face-glass-glare {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

/* Ground Mirror Reflection */
.cube-ground-reflection {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 20px;
  background: radial-gradient(ellipse at center, rgba(0, 229, 255, 0.4) 0%, transparent 70%);
  filter: blur(8px);
  pointer-events: none;
  transition: background 0.4s ease;
}

/* Focal / Center Hero Cube (D - DESIGN) & Hover States */
.stage-cube-slot.focal-hero .cube-face,
.stage-cube-slot:hover .cube-face {
  border-color: #00e5ff;
  box-shadow:
    inset 0 0 30px rgba(0, 229, 255, 0.25),
    0 0 35px rgba(0, 229, 255, 0.65),
    0 15px 40px rgba(0, 0, 0, 0.8);
}
.stage-cube-slot.focal-hero .cube-ground-reflection,
.stage-cube-slot:hover .cube-ground-reflection {
  background: radial-gradient(ellipse at center, rgba(0, 229, 255, 0.75) 0%, transparent 70%);
  filter: blur(12px);
}

@media (max-width: 1100px) {
  .cube-stage-wrap {
    height: 380px;
    max-width: 100%;
  }
  .cube-stage {
    gap: 20px;
  }
  .stage-cube-slot {
    width: 110px;
    height: 175px;
  }
  .cube-face {
    width: 110px;
    height: 175px;
  }
  .cube-face.front { transform: translateZ(55px); padding: 0.9rem 0.5rem; }
  .cube-face.right { transform: rotateY(90deg) translateZ(55px); }
  .cube-face.back { transform: rotateY(180deg) translateZ(55px); }
  .cube-face.left { transform: rotateY(-90deg) translateZ(55px); }
  .cube-face.top { width: 110px; height: 110px; transform: rotateX(90deg) translateZ(55px); }
  .cube-face.bottom { width: 110px; height: 110px; transform: rotateX(-90deg) translateZ(120px); }
  .cube-letter { font-size: 3.2rem; }
  .cube-word { font-size: 0.68rem; }
  .cube-desc { font-size: 0.48rem; }
  .stage-arrow { width: 36px; height: 36px; }
  .hero-ctas { flex-direction: column; width: 100%; padding: 0 2rem; }
}



.btn-glass-neon {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
.btn-glass-neon::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: all 0.6s ease;
}
.btn-glass-neon:hover {
  background: rgba(0, 229, 255, 0.15);
  border-color: rgba(0, 229, 255, 0.8);
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.5);
  transform: translateY(-4px);
  color: #fff;
}
.btn-glass-neon:hover::before {
  left: 100%;
}
.btn-glass-neon.outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.15);
}
.btn-glass-neon.outline:hover {
  border-color: #fff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Existing hero CTAs */
.hero-ctas { display: flex; gap: 1.5rem; justify-content: center; }
[data-theme="light"] .hero-ctas .btn-outline { border-color: rgba(0,0,0,0.2); background: rgba(255,255,255,0.5); backdrop-filter: blur(5px); }
[data-theme="light"] .hero-ctas .btn-outline:hover { background: #fff; border-color: #000; }


/* ─── SPLIT LAYOUT (About, Branding, Technology) ─── */
.about-grid, .split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split-layout.reverse .split-visuals { order: -1; }
.tech-split { grid-template-columns: 1fr; gap: 3rem; }
.tech-split .split-text { order: 1; text-align: center; }
.tech-split .split-visuals {
  order: 2;
  width: 100%;
  height: calc(570px * var(--net-scale));
  position: relative;
  overflow: hidden;
  border-radius: 24px;
}

/* ─── TECHNOLOGY SECTION FULL-PAGE ─── */
.technology-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 0;
}
.technology-section .container { width: 100%; max-width: 100%; padding: 0 2rem; }
.image-card { border-radius: 12px; overflow: hidden; }

/* ─── INTERACTIVE NETWORK COMPONENT (Creative Technology) ─── */
.interactive-network {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1200px;
  height: 570px;
  background: radial-gradient(circle at 50% 55%, rgba(0, 229, 255, 0.08) 0%, rgba(6, 9, 24, 0.98) 70%);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.8), 0 0 70px rgba(0, 229, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%) scale(var(--net-scale));
  transform-origin: center center;
  flex-shrink: 0;
}

.network-grid-bg {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0, 229, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center center;
  opacity: 0.7;
  z-index: 1;
}

/* ─── NETWORK TEXT OVERLAY (top-centre of diagram) ─── */
.network-text-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 2.2rem 3rem 4rem;
  background: linear-gradient(
    to bottom,
    rgba(6, 9, 24, 0.95) 0%,
    rgba(6, 9, 24, 0.75) 45%,
    rgba(6, 9, 24, 0.15) 80%,
    transparent 100%
  );
  text-align: center;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.network-overlay-title {
  font-size: clamp(2.5rem, 4.2vw, 4.2rem) !important;
  color: #ffffff;
  margin: 0 0 0.35rem;
  line-height: 1.15;
  text-shadow: 0 0 25px rgba(0, 229, 255, 0.3);
}

.network-overlay-sub {
  margin-top: 0 !important;
  font-size: clamp(0.9rem, 1.2vw, 1.05rem) !important;
  text-transform: none !important;
  letter-spacing: 0.08em !important;
  color: #00e5ff;
  font-weight: 600;
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.5);
}

.network-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

/* Dual Track & Orbital Visibility */
.desktop-orbitals,
.desktop-tracks,
.desktop-particles {
  display: block;
}
.mobile-orbitals,
.mobile-tracks,
.mobile-particles {
  display: none;
}

/* Thinner Connecting Lines (Unified Single Neon Blue) */
.track-line {
  fill: none;
  stroke: rgba(0, 229, 255, 0.35);
  stroke-width: 0.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Smooth Rotating Orbital Rings around Central Node */
.desktop-orbitals {
  transform-origin: 50px 58px;
  animation: orbitalSpin 40s linear infinite;
  will-change: transform;
}
.desktop-orbitals .r-mid {
  transform-origin: 50px 58px;
  animation: orbitalSpinRev 28s linear infinite;
  will-change: transform;
}

.mobile-orbitals {
  transform-origin: 50px 54px;
  animation: orbitalSpin 40s linear infinite;
  will-change: transform;
}
.mobile-orbitals .r-mid {
  transform-origin: 50px 54px;
  animation: orbitalSpinRev 28s linear infinite;
  will-change: transform;
}

.orbit-ring {
  fill: none;
  stroke: rgba(0, 229, 255, 0.2);
  stroke-width: 0.4;
}

.r-inner {
  stroke: rgba(0, 229, 255, 0.35);
  stroke-width: 0.5;
}

.r-mid {
  stroke: rgba(0, 229, 255, 0.4);
  stroke-width: 0.5;
}

.r-outer {
  stroke: rgba(0, 229, 255, 0.25);
  stroke-width: 0.4;
}

.r-faint {
  stroke: rgba(0, 229, 255, 0.12);
  stroke-width: 0.3;
}

@keyframes orbitalSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes orbitalSpinRev {
  0% { transform: rotate(360deg); }
  100% { transform: rotate(0deg); }
}

/* Animated Particles (Single Neon Blue) */
.net-particle {
  fill: none;
  stroke: #00e5ff;
  stroke-width: 0.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 12 140;
  animation: netFlow 3.2s linear infinite;
  filter: drop-shadow(0 0 3px #00e5ff);
}

.p1 { animation-delay: 0s; stroke-width: 0.8; }
.p2 { animation-delay: 1.1s; stroke-width: 1.0; }
.p3 { animation-delay: 0.5s; stroke-width: 0.8; }
.p4 { animation-delay: 2.0s; stroke-width: 0.9; }
.p5 { animation-delay: 0.8s; stroke-width: 0.8; }
.p6 { animation-delay: 1.6s; stroke-width: 1.0; }

@keyframes netFlow {
  0% { stroke-dashoffset: 150; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}

.net-nodes-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

.net-node {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
}

/* Central MIDCAV Node (20-25% Larger & Prominent) */
.center-node {
  left: 50%;
  top: 58%;
  width: 22%;
  min-width: 180px;
  aspect-ratio: 1;
  background: rgba(6, 10, 26, 0.92);
  border: 1.5px solid rgba(0, 229, 255, 0.65);
  box-shadow:
    inset 0 0 30px rgba(0, 229, 255, 0.2),
    0 0 50px rgba(0, 229, 255, 0.45),
    0 0 90px rgba(0, 229, 255, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  position: relative;
}

.center-core-glow {
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle at center, rgba(0, 229, 255, 0.35) 0%, transparent 60%);
  animation: pulseNeonBlue 3.5s ease-in-out infinite alternate;
}

.center-corner-accents span {
  position: absolute;
  width: 8px;
  height: 8px;
  border: 2px solid #00e5ff;
  box-shadow: 0 0 6px #00e5ff;
}
.center-corner-accents span:nth-child(1) { top: 6px; left: 6px; border-right: none; border-bottom: none; }
.center-corner-accents span:nth-child(2) { top: 6px; right: 6px; border-left: none; border-bottom: none; }
.center-corner-accents span:nth-child(3) { bottom: 6px; left: 6px; border-right: none; border-top: none; }
.center-corner-accents span:nth-child(4) { bottom: 6px; right: 6px; border-left: none; border-top: none; }

.nexus-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.8vw, 3rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #ffffff;
  position: relative;
  z-index: 2;
  margin: 0;
  text-shadow:
    0 0 15px rgba(0, 229, 255, 0.9),
    0 0 30px rgba(0, 229, 255, 0.6),
    0 0 50px rgba(0, 229, 255, 0.3);
}

/* Outer Technology Nodes (Unified Single Blue Theme) */
.outer-node {
  width: auto;
  min-width: 155px;
  padding: 0.65rem 1.15rem;
  background: rgba(8, 12, 28, 0.92);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 12px;
  box-shadow:
    inset 0 0 15px rgba(0, 229, 255, 0.08),
    0 10px 25px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  pointer-events: auto;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Desktop Positioning Classes */
.node-ai { left: 18%; top: 36%; }
.node-data { left: 11%; top: 58%; }
.node-cyber { left: 18%; top: 80%; }
.node-block { left: 82%; top: 36%; }
.node-edge { left: 89%; top: 58%; }
.node-quantum { left: 82%; top: 80%; }

.outer-node .node-icon {
  font-size: 1.2rem;
  color: #00e5ff !important;
  filter: drop-shadow(0 0 6px rgba(0, 229, 255, 0.8));
  flex-shrink: 0;
}

.node-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.outer-node:hover {
  transform: translate(-50%, -50%) scale(1.08);
  border-color: #00e5ff;
  box-shadow:
    inset 0 0 20px rgba(0, 229, 255, 0.2),
    0 0 30px rgba(0, 229, 255, 0.5),
    0 15px 30px rgba(0, 0, 0, 0.8);
}

@keyframes pulseNeonBlue {
  0% { transform: scale(0.85); opacity: 0.5; }
  100% { transform: scale(1.15); opacity: 0.9; }
}

/* ─── ABOUT 2×2 QUAD GRID ─── */
.about-quad-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.75rem;
}

.about-img-card {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  cursor: none;
  border: 1px solid rgba(255,255,255,0.07);
}

.about-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1),
              filter 0.65s ease;
  filter: brightness(0.85) saturate(1.1);
  will-change: transform;
}

.about-img-card:hover img {
  transform: scale(1.1);
  filter: brightness(1) saturate(1.2);
}

.about-img-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(100,160,255,0);
  transition: box-shadow 0.65s ease;
  pointer-events: none;
}

.about-img-card:hover::after {
  box-shadow:
    inset 0 0 0 1px rgba(100,160,255,0.45),
    0 0 25px rgba(80,140,255,0.2),
    0 0 50px rgba(60,120,255,0.1);
}

.about-img-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.6rem 0.75rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.75);
  background: linear-gradient(to top, rgba(8,10,20,0.85) 0%, transparent 100%);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
}

.about-img-card:hover .about-img-label {
  opacity: 1;
  transform: translateY(0);
}



/* ─── STATISTICS ─── */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; border-top: 1px solid var(--clr-border); padding-top: 4rem; }
.stat-item { text-align: center; }
.stat-number { font-family: var(--font-display); font-size: clamp(2.5rem, 4vw, 4rem); color: var(--clr-primary-light); margin-bottom: 0.5rem; }
.stat-label { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--clr-text-muted); }

/* ─── DIGITAL MARKETING EXPLORER ─── */
.marketing-section .section-header { margin-bottom: 2rem; }
.dm-subtitle { font-size: 1.1rem; color: var(--clr-primary-light); margin-top: 0.5rem; }

.dm-explorer-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 2rem 0 4rem;
}

.dm-explorer {
  width: 100%;
}

.dm-explorer-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.dm-explorer-group {
  display: flex;
  gap: 2rem;
  padding-right: 2rem;
}

.dm-card {
  flex: 0 0 320px;
  height: 420px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  transition: transform 0.5s var(--ease-out), border-color 0.5s var(--ease-out);
  user-select: none;
}
.dm-card:hover {
  transform: translateY(-10px);
  border-color: rgba(137, 82, 255, 0.4);
}

.dm-card-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s var(--ease-out), filter 0.8s var(--ease-out);
  filter: brightness(0.7) contrast(1.2);
}
.dm-card:hover .dm-card-img {
  transform: scale(1.05);
  filter: brightness(0.9) contrast(1.1);
}

.dm-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,8,18,0.95) 0%, rgba(10,8,18,0.4) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
  z-index: 2;
  pointer-events: none;
}

.dm-card-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: rgba(255,255,255,0.2);
  font-weight: 600;
}

.dm-card-title {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0.5rem;
  font-weight: 600;
  transform: translateY(10px);
  transition: transform 0.5s var(--ease-out);
}
.dm-card-desc {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  line-height: 1.5;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s var(--ease-out);
}
.dm-card:hover .dm-card-title { transform: translateY(0); }
.dm-card:hover .dm-card-desc { opacity: 1; transform: translateY(0); }

.dm-card-glow {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background: radial-gradient(circle at bottom, rgba(137,82,255,0.3) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
  pointer-events: none;
}
.dm-card:hover .dm-card-glow { opacity: 1; }

.dm-scroll-hint {
  text-align: center;
  margin-top: 2rem;
  color: var(--clr-text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.dm-scroll-arrow { color: var(--clr-primary); font-size: 1.2rem; }

/* ─── CSS ART VISUALS (Cards 7, 8, 9) ─── */
.dm-card-art {
  position: absolute;
  inset: 0;
  background: #0a0812;
  overflow: hidden;
  z-index: 0;
}

/* 7: Audience */
.dm-art-audience { display: flex; align-items: center; justify-content: center; }
.aud-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(137,82,255,0.2); }
.r1 { width: 120px; height: 120px; animation: spin 10s linear infinite; }
.r2 { width: 180px; height: 180px; border-style: dashed; border-color: rgba(79,172,254,0.3); animation: spin 15s linear infinite reverse; }
.r3 { width: 260px; height: 260px; border: 1px solid rgba(255,255,255,0.05); }
.aud-core { position: absolute; z-index: 2; filter: drop-shadow(0 0 10px rgba(137,82,255,0.5)); }
.aud-metric { position: absolute; font-size: 0.75rem; color: #fff; font-weight: bold; background: rgba(255,255,255,0.1); padding: 4px 8px; border-radius: 20px; backdrop-filter: blur(4px); }
.aud-metric span { color: var(--clr-primary-light); font-weight: normal; font-size: 0.65rem; display: block; }
.m1 { top: 25%; left: 15%; }
.m2 { bottom: 35%; right: 15%; }
.m3 { top: 15%; right: 25%; }

@keyframes spin { 100% { transform: rotate(360deg); } }

/* 8: Conversion */
.dm-art-conversion { padding-top: 3rem; display: flex; flex-direction: column; align-items: center; }
.funnel-wrap { display: flex; flex-direction: column; gap: 8px; align-items: center; width: 100%; z-index: 2; }
.funnel-stage {
  height: 24px; background: rgba(137,82,255,0.15); border: 1px solid rgba(137,82,255,0.4);
  border-radius: 4px; display: flex; justify-content: space-between; align-items: center; padding: 0 1rem;
  font-size: 0.7rem; font-weight: 600;
}
.fs-label { color: var(--clr-text-muted); }
.fs-val { color: #fff; }
.fs1 { width: 70%; } .fs2 { width: 55%; } .fs3 { width: 40%; } .fs4 { width: 25%; background: rgba(79,172,254,0.2); border-color: rgba(79,172,254,0.6); }
.conv-cta {
  margin-top: 2rem; padding: 10px 20px; background: #fff; color: #0a0812; border-radius: 30px;
  font-weight: bold; font-size: 0.8rem; box-shadow: 0 0 20px rgba(255,255,255,0.4); z-index: 2;
}
.conv-cta span { color: var(--clr-primary); }

/* 9: Growth */
.dm-art-growth { position: relative; }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 20px 20px; transform: perspective(500px) rotateX(60deg) scale(2); transform-origin: top;
}
.growth-graph { position: absolute; bottom: 30%; left: 0; width: 100%; height: 120px; z-index: 2; }
.growth-kpi { position: absolute; top: 15%; right: 10%; font-size: 1.5rem; font-weight: bold; color: #00e5ff; text-align: right; text-shadow: 0 0 10px rgba(0,229,255,0.5); }
.growth-kpi span { display: block; font-size: 0.7rem; color: var(--clr-text-muted); text-transform: uppercase; letter-spacing: 0.05em; font-weight: normal; }
.growth-nodes { position: absolute; inset: 0; pointer-events: none; }
.gnode { position: absolute; font-size: 0.6rem; color: rgba(255,255,255,0.6); background: rgba(0,0,0,0.5); padding: 2px 6px; border-radius: 4px; border: 1px solid rgba(255,255,255,0.1); }
.gn1 { bottom: 40%; left: 10%; } .gn2 { bottom: 50%; left: 30%; } .gn3 { bottom: 65%; left: 55%; }


/* ─── SOCIAL MEDIA GRID ─── */
.social-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 4rem; }
.social-post {
  position: relative; aspect-ratio: 4/5; border-radius: 12px;
  background-size: cover; background-position: center; overflow: hidden;
}
.social-hover {
  position: absolute; inset: 0; background: rgba(107,46,255,0.85);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.4s ease; backdrop-filter: blur(4px);
}
.social-post:hover .social-hover { opacity: 1; }
.social-hover span { font-weight: 600; font-size: 1.125rem; color: #fff; transform: translateY(10px); transition: transform 0.4s ease; }
.social-post:hover .social-hover span { transform: translateY(0); }

/* ─── VIDEO STUDIO ─── */
.video-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; margin-top: 4rem; }
.video-card { position: relative; border-radius: 12px; overflow: hidden; height: 450px; }
.video-thumb { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.6s var(--ease-out); filter: brightness(0.8); }
.video-card:hover .video-thumb { transform: scale(1.03); filter: brightness(1); }
.video-info { position: absolute; bottom: 0; left: 0; width: 100%; padding: 2rem; background: var(--grad-overlay); }

/* ─── MASONRY PORTFOLIO ─── */
.portfolio-header { display: flex; flex-direction: column; align-items: center; margin-bottom: 4rem; }
.portfolio-filters { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-top: 1.5rem; }
.filter-btn {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em;
  padding: 0.5rem 1.25rem; border: 1px solid var(--clr-border); border-radius: 100px;
  color: var(--clr-text-muted); transition: all 0.3s;
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--clr-primary); color: var(--clr-text); background: rgba(137,82,255,0.1);
}

.masonry-gallery {
  column-count: 2; column-gap: 1.5rem;
}
.masonry-item {
  break-inside: avoid; margin-bottom: 1.5rem; position: relative;
  border-radius: 12px; overflow: hidden; cursor: none;
}
.masonry-item img { transition: transform 0.6s var(--ease-out); }
.masonry-item:hover img { transform: scale(1.05); }
.masonry-overlay {
  position: absolute; inset: 0; background: rgba(10,8,18,0.4);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 2rem;
  opacity: 0; transition: opacity 0.4s ease, background 0.4s ease;
}
.masonry-item:hover .masonry-overlay { opacity: 1; background: rgba(107,46,255,0.7); backdrop-filter: blur(2px); }
.m-category { font-size: 0.65rem; letter-spacing: 0.15em; font-weight: 700; color: #fff; margin-bottom: 0.5rem; transform: translateY(10px); transition: 0.4s ease; }
.m-title { font-family: var(--font-display); font-size: 1.5rem; color: #fff; transform: translateY(10px); transition: 0.4s ease; transition-delay: 0.05s; }
.masonry-item:hover .m-category, .masonry-item:hover .m-title { transform: translateY(0); }

/* ─── CONTACT SECTION ─── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; }
.contact-details { margin-top: 3rem; display: flex; flex-direction: column; gap: 1.5rem; }
.c-detail span { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--clr-primary-light); margin-bottom: 0.25rem; }
.c-detail a { font-size: 1.25rem; transition: color 0.3s; }
.c-detail a:hover { color: var(--clr-primary); }

.contact-form { background: var(--clr-surface); padding: 3rem; border-radius: 16px; border: 1px solid var(--clr-border); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.5rem; }
.form-group label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--clr-text-muted); }
.form-group input, .form-group select, .form-group textarea {
  background: var(--clr-bg); border: 1px solid var(--clr-border); border-radius: 8px;
  padding: 1rem; color: var(--clr-text); font-family: var(--font-body); outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--clr-primary); box-shadow: 0 0 0 3px rgba(107,46,255,0.15);
}
.w-100 { width: 100%; }

/* ─── FOOTER ─── */
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; border-top: 1px solid var(--clr-border); }
.footer-logo { max-height: 40px; margin-bottom: 1rem; filter: brightness(0.9); }
.footer-brand p { color: var(--clr-text-muted); max-width: 300px; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { color: var(--clr-text-muted); transition: color 0.3s; }
.footer-links a:hover { color: var(--clr-text); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 2rem; border-top: 1px solid var(--clr-border); color: var(--clr-text-muted); font-size: 0.875rem; }
.social-links { display: flex; gap: 1.5rem; }
.social-links a:hover { color: var(--clr-primary); }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤1024px) & MOBILE (≤768px, ≤480px)
   ═══════════════════════════════════════════════════════════════ */

/* ─── GLOBAL BASE: prevent horizontal overflow on ALL pages ─── */
html {
  overflow-x: hidden;
  max-width: 100vw;
}
body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* ─── TABLET ≤ 1024px ─── */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }

  .about-grid,
  .split-layout,
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .tech-split { grid-template-columns: 1fr; gap: 2rem; }
  .split-layout.reverse .split-visuals { order: -1; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .social-grid { grid-template-columns: 1fr 1fr; }
  .video-grid { grid-template-columns: 1fr 1fr; }
  .collage-grid { grid-template-columns: 1fr; }
  .collage-item.large { grid-column: span 1; }



  /* DM Hero layout (old pages) */
  .dm-hero-layout { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .dm-hero-content p { margin: 20px auto; }
  .stat-card-1, .stat-card-2 {
    position: relative;
    top: auto; left: auto; bottom: auto; right: auto;
    display: inline-block;
    margin: 10px;
  }
  .dm-services-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─── MOBILE ≤ 768px ─── */
@media (max-width: 768px) {
  /* === GLOBAL === */
  html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    cursor: auto !important;
  }
  * { box-sizing: border-box; }
  button, a { cursor: pointer !important; }
  .cursor-follower { display: none !important; }

  .container { padding: 0 1rem; max-width: 100%; }
  .pt-lg { padding-top: clamp(2.5rem, 8vw, 4rem); }
  .pb-lg { padding-bottom: clamp(2.5rem, 8vw, 4rem); }
  .section-title {
    font-size: clamp(2rem, 7vw, 3rem);
    word-break: break-word;
    overflow-wrap: break-word;
  }
  .section-desc { font-size: 0.95rem; max-width: 100%; }
  .eyebrow { font-size: 0.68rem; letter-spacing: 0.16em; }

  /* === NAVBAR === */
  .navbar { height: 64px; }
  .nav-container { padding: 0 1rem; height: 64px; }
  .brand-logo-icon { height: 30px; }
  .brand-logo-wordmark { height: 22px; }
  .mobile-menu {
    top: 64px;
    padding: 1.5rem 1rem;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }
  .mobile-links a {
    font-size: 1.1rem;
    padding-bottom: 0.85rem;
    margin-bottom: 0.15rem;
  }

  /* === HERO — 3D CUBE CAROUSEL === */
  .hero-section {
    min-height: 100svh;
    padding: 64px 0 1.5rem;
    align-items: center;
    overflow: hidden;
  }
  .hero-content {
    padding: 0;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
  }
  .cube-stage-wrap {
    width: 100%;
    max-width: 100vw;
    height: clamp(180px, 42vw, 240px);
    margin-bottom: 1.5rem;
    overflow: visible;
    perspective: 800px;
  }
  .cube-stage {
    gap: clamp(3px, 1.2vw, 6px);
    width: 100%;
    justify-content: center;
    align-items: flex-end;
    padding: 0 4px;
  }
  .stage-cube-slot {
    width: clamp(42px, 12vw, 50px);
    height: clamp(70px, 20vw, 88px);
    perspective: 700px;
    flex-shrink: 0;
  }
  /* Mobile arc layout — flatten it */
  .stage-cube-slot.slot-0 { transform: rotateY(8deg) translateZ(-8px) scale(0.95); }
  .stage-cube-slot.slot-1 { transform: rotateY(4deg) translateZ(-3px) scale(0.97); }
  .stage-cube-slot.slot-2 { transform: rotateY(0deg) translateZ(3px) scale(1.02); }
  .stage-cube-slot.slot-3 { transform: rotateY(0deg) translateZ(3px) scale(1.02); }
  .stage-cube-slot.slot-4 { transform: rotateY(-4deg) translateZ(-3px) scale(0.97); }
  .stage-cube-slot.slot-5 { transform: rotateY(-8deg) translateZ(-8px) scale(0.95); }

  .cube-face {
    width: 100%;
    height: 100%;
    border-radius: 7px;
    border-width: 1px;
  }
  .cube-face.front {
    transform: translateZ(clamp(21px, 6vw, 25px));
    padding: 0.3rem 0.1rem;
    justify-content: center;
    gap: 0.2rem;
  }
  .cube-face.right  { transform: rotateY(90deg)   translateZ(clamp(21px, 6vw, 25px)); }
  .cube-face.back   { transform: rotateY(180deg)  translateZ(clamp(21px, 6vw, 25px)); }
  .cube-face.left   { transform: rotateY(-90deg)  translateZ(clamp(21px, 6vw, 25px)); }
  .cube-face.top {
    width: clamp(42px, 12vw, 50px);
    height: clamp(42px, 12vw, 50px);
    transform: rotateX(90deg) translateZ(clamp(21px, 6vw, 25px));
  }
  .cube-face.bottom {
    width: clamp(42px, 12vw, 50px);
    height: clamp(42px, 12vw, 50px);
    transform: rotateX(-90deg) translateZ(clamp(49px, 14vw, 63px));
  }

  .cube-letter {
    font-size: clamp(1.3rem, 4.2vw, 1.6rem);
    margin-top: 0;
  }
  .cube-word {
    font-size: clamp(0.3rem, 1vw, 0.38rem);
    letter-spacing: 0.05em;
    margin-bottom: 0;
  }
  .cube-leds { display: none; }
  .cube-desc { display: none; }
  .back-logo-text { font-size: 1.3rem; }
  .back-logo-sub  { font-size: 0.3rem; }
  .cube-ground-reflection { display: none; }

  .stage-neon-ring {
    width: 96%;
    height: clamp(100px, 26vw, 150px);
  }
  .stage-floor-glow { display: none; }
  .stage-arrow {
    width: 30px;
    height: 30px;
    top: 40%;
  }
  .stage-arrow.prev { left: 2px; }
  .stage-arrow.next { right: 2px; }

  .hero-ctas {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 90%;
    max-width: 300px;
    margin: 0 auto;
  }
  .hero-ctas .btn,
  .hero-ctas .btn-glass-neon {
    width: 100%;
    padding: 0.8rem 1.2rem;
    font-size: 0.75rem;
    text-align: center;
  }

  /* === ABOUT SECTION === */
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-tagline-sub {
    font-size: clamp(0.75rem, 2.5vw, 0.9rem);
    letter-spacing: 0.1em;
    line-height: 1.6;
    margin-bottom: 1rem;
  }
  .about-quad-grid { gap: 0.4rem; }
  .about-img-card { aspect-ratio: 1/1; }
  .about-img-label { font-size: 0.5rem; padding: 0.3rem 0.4rem; }

  /* === DIGITAL MARKETING 4-SLIDE SECTION === */
  .marketing-section .section-header { margin-bottom: 1.5rem; }
  .dm-subtitle { font-size: 0.85rem; margin-bottom: 1.2rem; }

  .dm-slide-nav-pills {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
    width: 100%;
    margin-bottom: 1.5rem;
  }
  .dm-nav-pill {
    padding: 0.5rem 0.4rem;
    justify-content: center;
    text-align: center;
    width: 100%;
    min-height: 44px; /* touch target */
  }
  .dm-nav-pill .pill-num {
    font-size: 0.62rem;
    padding: 0.12rem 0.32rem;
    border-radius: 6px;
  }
  .dm-nav-pill .pill-title {
    font-size: 0.68rem;
    letter-spacing: 0.01em;
    line-height: 1.2;
  }



  .dm-slider-footer { margin-top: 1.2rem; gap: 1rem; }
  .dm-slide-arrow { width: 36px; height: 36px; min-width: 36px; }
  .dm-slide-dots .dm-dot { width: 8px; height: 8px; }
  .dm-slide-dots .dm-dot.active { width: 22px; }

  /* === BRANDING SECTION === */
  .split-layout { grid-template-columns: 1fr; gap: 2rem; }
  .split-layout.reverse .split-visuals { order: -1; }
  .image-card img { width: 100%; height: auto; border-radius: 10px; }

  /* === SOCIAL MEDIA GRID === */
  .social-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
  .social-post {
    aspect-ratio: 1/1;
    border-radius: 10px;
    min-height: 140px;
  }

  /* === DIGITAL EXPERIENCES SECTION === */
  .showcase-large img { border-radius: 10px; }

  /* === VIDEO STUDIO SECTION === */
  .video-grid { grid-template-columns: 1fr; gap: 1rem; }
  .video-card { height: auto; min-height: 220px; border-radius: 12px; }
  .video-thumb { height: 180px; }

  /* === CREATIVE TECHNOLOGY SECTION === */
  .technology-section {
    min-height: auto !important;
    height: auto !important;
    padding: 2.5rem 0 1rem 0 !important;
  }
  .technology-section .container {
    padding: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  .tech-split {
    gap: 0 !important;
  }
  .tech-split .split-visuals {
    border-radius: 0 !important;
    height: calc(570px * var(--net-scale)) !important;
  }
  .interactive-network {
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
  }
  /* === PORTFOLIO SECTION === */
  .portfolio-header {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
  .portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
  }
  .filter-btn {
    padding: 0.35rem 0.7rem;
    font-size: 0.65rem;
    min-height: 36px;
  }
  .masonry-gallery { column-count: 1; gap: 0.75rem; }
  .masonry-item {
    break-inside: avoid;
    margin-bottom: 0.75rem;
    border-radius: 10px;
    overflow: hidden;
  }
  .masonry-item img { width: 100%; height: auto; }

  /* === CONTACT SECTION === */
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-form { padding: 1.25rem 1rem; border-radius: 14px; }
  .form-row { grid-template-columns: 1fr; gap: 0.75rem; }
  .form-group { margin-bottom: 1rem; }
  /* Prevent iOS auto-zoom on inputs (must be ≥16px) */
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px !important;
    padding: 0.8rem 0.9rem;
  }
  .contact-details { gap: 1.2rem; }

  /* === FOOTER === */
  .footer-top {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    padding-top: 2rem;
    padding-bottom: 1.5rem;
  }
  .footer-brand p { max-width: 100%; font-size: 0.85rem; }
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
    font-size: 0.8rem;
  }
  .social-links { justify-content: center; }
}

/* ─── SMALL MOBILE ≤ 480px ─── */
@media (max-width: 480px) {
  .container { padding: 0 0.85rem; }

  /* Hero Cubes — smallest phones */
  .cube-stage-wrap { height: clamp(160px, 40vw, 200px); }
  .cube-stage { gap: clamp(2px, 1vw, 4px); }
  .stage-cube-slot {
    width: clamp(38px, 11.5vw, 44px);
    height: clamp(65px, 19vw, 78px);
  }
  .cube-face.front  { transform: translateZ(clamp(19px, 5.75vw, 22px)); }
  .cube-face.right  { transform: rotateY(90deg)  translateZ(clamp(19px, 5.75vw, 22px)); }
  .cube-face.back   { transform: rotateY(180deg) translateZ(clamp(19px, 5.75vw, 22px)); }
  .cube-face.left   { transform: rotateY(-90deg) translateZ(clamp(19px, 5.75vw, 22px)); }
  .cube-face.top,
  .cube-face.bottom { width: clamp(38px, 11.5vw, 44px); height: clamp(38px, 11.5vw, 44px); }
  .cube-face.top    { transform: rotateX(90deg)  translateZ(clamp(19px, 5.75vw, 22px)); }
  .cube-face.bottom { transform: rotateX(-90deg) translateZ(clamp(46px, 13.75vw, 56px)); }
  .cube-letter { font-size: clamp(1.1rem, 3.5vw, 1.4rem); }
  .cube-word   { font-size: 0.28rem; }



  /* DM Slider pills — wrap on very small */
  .dm-nav-pill .pill-title { font-size: 0.62rem; }

  /* Social grid */
  .social-post { min-height: 120px; }

  /* Portfolio */
  .filter-btn { font-size: 0.6rem; padding: 0.3rem 0.6rem; }
}




/* ======================================================================= */
/* DIGITAL MARKETING SECTION (3 PAGES)                                     */
/* ======================================================================= */

/* Sub Navigation */
.dm-sub-nav {
  background: rgba(6, 6, 12, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 229, 255, 0.15);
  position: sticky;
  top: 80px;
  z-index: 90;
  padding: 15px 0;
}
.dm-sub-nav .container {
  display: flex;
  gap: 30px;
  justify-content: center;
}
.dm-sub-nav a {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  position: relative;
}
.dm-sub-nav a:hover, .dm-sub-nav a.active {
  color: #fff;
}
.dm-sub-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -18px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--clr-primary);
  box-shadow: 0 0 10px var(--clr-primary);
}

/* Common Layouts */
.dm-page main {
  padding-top: 40px;
}
.glow-text {
  color: var(--clr-primary);
  text-shadow: 0 0 15px rgba(0, 229, 255, 0.5);
}

/* Page 1: Hero Layout */
.dm-hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: 70vh;
}
.dm-hero-content h1 {
  font-size: 4rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-top: 10px;
}
.dm-hero-content p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 500px;
}
.dm-visual-wrapper {
  position: relative;
  width: 100%;
}
.main-dm-img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(0, 229, 255, 0.2);
  box-shadow: 0 0 40px rgba(0, 229, 255, 0.15);
}
.floating-card {
  position: absolute;
  background: rgba(6, 6, 12, 0.7);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(0, 229, 255, 0.3);
  padding: 20px 25px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  animation: float 6s ease-in-out infinite;
}
.stat-card-1 {
  top: 10%;
  left: -10%;
}
.stat-card-2 {
  bottom: 10%;
  right: -5%;
  animation-delay: -3s;
}
.stat-value {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 5px;
}

/* Page 2: Services */
.dm-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.dm-service-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
}
.dm-service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: 0 15px 40px rgba(0, 229, 255, 0.1);
}
.dm-svc-img {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.dm-svc-content {
  padding: 30px;
}
.dm-svc-content h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #fff;
}
.dm-svc-content p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

/* Page 3: Strategy & Results */
.dm-process-section .process-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.dm-process-section .process-step {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 229, 255, 0.2);
  padding: 30px 40px;
  border-radius: 15px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.dm-process-section .step-num {
  font-size: 3rem;
  font-weight: 900;
  color: rgba(0, 229, 255, 0.1);
  position: absolute;
  top: -10px;
  left: 10px;
  z-index: 0;
}
.dm-process-section h4 {
  font-size: 1.2rem;
  margin: 0;
  position: relative;
  z-index: 1;
  color: #fff;
}
.dm-process-section .process-arrow {
  font-size: 1.5rem;
  color: var(--clr-primary);
  opacity: 0.7;
}

.strategy-item h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.strategy-item p {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}
.platform-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.platform-tag {
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.3);
  color: var(--clr-primary);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ─────────────────────────────────────────────────────────────── */
/*  DIGITAL MARKETING 4-SLIDE INTERACTIVE SECTION                  */
/* ─────────────────────────────────────────────────────────────── */
.marketing-section {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 30%, rgba(0, 229, 255, 0.05) 0%, rgba(6, 9, 20, 0.98) 70%);
}

.dm-subtitle {
  font-size: 1.05rem;
  color: var(--clr-text-muted);
  max-width: 540px;
  margin: -0.5rem auto 2.5rem;
}

.dm-slider-wrap {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Nav Pills Bar */
.dm-slide-nav-pills {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.dm-nav-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  padding: 0.7rem 1.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.35s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.dm-nav-pill .pill-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--clr-primary-light);
  background: rgba(0, 229, 255, 0.12);
  padding: 0.2rem 0.5rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 229, 255, 0.3);
}

.dm-nav-pill .pill-title {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dm-nav-pill:hover {
  background: rgba(0, 229, 255, 0.08);
  border-color: rgba(0, 229, 255, 0.35);
  color: #fff;
  transform: translateY(-2px);
}

.dm-nav-pill.active {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.18) 0%, rgba(107, 46, 255, 0.22) 100%);
  border-color: rgba(0, 229, 255, 0.7);
  color: #ffffff;
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.35);
}

.dm-nav-pill.active .pill-num {
  background: #00e5ff;
  color: #060914;
  border-color: #00e5ff;
}

/* Viewport and Track */
.dm-slide-viewport {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  width: 100%;
  height: calc(580px * var(--dm-scale));
}

.dm-slide-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
  width: 100%;
  height: 100%;
}

/* Individual Slide Card */
.dm-slide-card {
  min-width: 100%;
  height: 100%;
  box-sizing: border-box;
  opacity: 0.4;
  transition: opacity 0.5s ease, transform 0.5s ease;
  transform: scale(0.97);
  position: relative;
}

.dm-slide-card.active {
  opacity: 1;
  transform: scale(1);
}

.dm-slide-grid {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1150px;
  height: 580px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  background: rgba(8, 12, 28, 0.85);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 20px;
  padding: 3.5rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    inset 0 0 35px rgba(0, 229, 255, 0.08),
    0 15px 40px rgba(0, 0, 0, 0.7);
  transform: translate(-50%, -50%) scale(var(--dm-scale));
  transform-origin: center center;
  overflow: hidden;
}

.dm-slide-grid::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

/* Slide Info */
.dm-slide-info {
  position: relative;
  z-index: 2;
}

.dm-slide-badge {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--clr-primary-light);
  margin-bottom: 0.8rem;
  display: inline-block;
  background: rgba(0, 229, 255, 0.1);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  border: 1px solid rgba(0, 229, 255, 0.3);
}

.dm-slide-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}

.dm-slide-summary {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
  max-width: 520px;
}

/* Deliverables List (5 Points Required) */
.dm-deliverables-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem 1.5rem;
  margin-bottom: 2.2rem;
}

.dm-deliv-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 229, 255, 0.15);
  border-radius: 8px;
  padding: 0.6rem 0.9rem;
  transition: all 0.3s ease;
}

.dm-deliv-item:hover {
  background: rgba(0, 229, 255, 0.08);
  border-color: rgba(0, 229, 255, 0.4);
  transform: translateX(3px);
}

.dm-deliv-item .deliv-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00e5ff;
  box-shadow: 0 0 8px #00e5ff;
  flex-shrink: 0;
}

.dm-deliv-item .deliv-name {
  font-size: 0.86rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.02em;
}

/* Slide Media */
.dm-slide-media {
  position: relative;
  z-index: 2;
}

.dm-media-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid rgba(0, 229, 255, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 229, 255, 0.2);
}

.dm-media-frame img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.dm-slide-card:hover .dm-media-frame img {
  transform: scale(1.04);
}

.dm-media-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 9, 20, 0.95) 100%);
  padding: 2rem 1.5rem 1.2rem;
  display: flex;
  justify-content: space-around;
  gap: 1rem;
}

.dm-stat-box {
  text-align: center;
}

.dm-stat-box .stat-v {
  font-family: var(--font-display), var(--font-body);
  font-size: 1.6rem;
  font-weight: 800;
  color: #00e5ff;
  display: block;
  line-height: 1;
  text-shadow: 0 0 15px rgba(0, 229, 255, 0.6);
  margin-bottom: 0.3rem;
}

.dm-stat-box .stat-l {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Slider Controls (Footer) */
.dm-slider-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 2.2rem;
}

.dm-slide-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(8, 12, 28, 0.85);
  border: 1px solid rgba(0, 229, 255, 0.4);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.dm-slide-arrow:hover {
  background: rgba(0, 229, 255, 0.25);
  border-color: #00e5ff;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.6);
  transform: scale(1.1);
}

.dm-slide-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dm-slide-dots .dm-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: all 0.35s ease;
  padding: 0;
}


.dm-slide-dots .dm-dot.active {
  width: 32px;
  border-radius: 20px;
  background: #00e5ff;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.8);
}

/* ═══════════════════════════════════════════════════════════════
   DM SLIDER — MOBILE FULL-FLUID OVERRIDE (max-width: 768px)
   Drops the desktop-scale transform. Card fills viewport width
   with natural auto height, giving ~25-30% more visual size.
   Desktop layout and JS scale engine remain completely untouched.
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* 1 — Viewport: auto height so the card drives its own size */
  .dm-slide-viewport {
    height: auto !important;
    overflow: hidden;
    border-radius: 18px;
  }

  /* 2 — Track height matches card content */
  .dm-slide-track {
    height: auto;
  }

  /* 3 — Each slide card: full viewport width, auto height */
  .dm-slide-card {
    min-width: 100%;
    height: auto !important;
  }

  /* 4 — Grid: fluid layout, slightly larger padding & gap */
  .dm-slide-grid {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    width: 100% !important;
    height: auto !important;
    display: grid !important;
    grid-template-columns: 1.15fr 0.85fr !important;
    gap: 1.2rem !important;
    padding: 1.6rem 1.4rem !important;
    border-radius: 18px !important;
    align-items: center !important;
  }

  /* 5 — Info column typography (slightly larger) */
  .dm-slide-badge {
    font-size: 0.68rem !important;
    padding: 0.3rem 0.7rem !important;
    margin-bottom: 0.65rem !important;
  }

  .dm-slide-heading {
    font-size: clamp(1.25rem, 5vw, 1.65rem) !important;
    margin-bottom: 0.6rem !important;
    line-height: 1.15 !important;
  }

  .dm-slide-summary {
    font-size: 0.75rem !important;
    line-height: 1.55 !important;
    margin-bottom: 1rem !important;
    max-width: 100% !important;
  }

  /* 6 — Deliverables: single-column, slightly more breathing room */
  .dm-deliverables-list {
    grid-template-columns: 1fr !important;
    gap: 0.5rem !important;
    margin-bottom: 1.1rem !important;
  }

  .dm-deliv-item {
    padding: 0.5rem 0.7rem !important;
    border-radius: 7px !important;
  }

  .dm-deliv-item .deliv-dot {
    width: 5px !important;
    height: 5px !important;
  }

  .dm-deliv-item .deliv-name {
    font-size: 0.74rem !important;
  }

  /* 7 — CTA button */
  .dm-slide-action .btn-glass-neon {
    font-size: 0.68rem !important;
    padding: 0.65rem 1.1rem !important;
    letter-spacing: 0.08em !important;
  }

  /* 8 — Media column: full image visible, no cropping */
  .dm-media-frame {
    /* give the frame a dark bg so contain-mode blank areas blend in */
    background: rgba(6, 9, 22, 0.95) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
  }

  .dm-media-frame img {
    width: 100% !important;
    height: 200px !important;
    object-fit: contain !important;   /* full image, no cropping */
    object-position: center !important;
    display: block !important;
  }

  .dm-media-stats {
    position: relative !important;   /* pull out of absolute so it sits below img */
    bottom: auto !important;
    background: rgba(6, 9, 20, 0.92) !important;
    padding: 0.75rem !important;
    display: flex !important;
    justify-content: space-around !important;
    gap: 0.5rem !important;
    border-top: 1px solid rgba(0, 229, 255, 0.15) !important;
  }

  .dm-stat-box .stat-v {
    font-size: 1.15rem !important;
    margin-bottom: 0.15rem !important;
  }

  .dm-stat-box .stat-l {
    font-size: 0.6rem !important;
  }

  /* 9 — Slider wrapper: minimal side padding for max card width */
  .dm-slider-wrap {
    padding: 0 0.5rem !important;
  }

  /* 10 — Footer nav controls */
  .dm-slider-footer {
    margin-top: 1.3rem !important;
    gap: 1.3rem !important;
  }

  .dm-slide-arrow {
    width: 40px !important;
    height: 40px !important;
  }
}
