/* ==========================================================================
   DISTRICT MEDIA PRESS / BEHIND THE JOURNEY
   Modern Creative Rebuild - Luminous Light Editorial Theme
   ========================================================================== */

/* @import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  /* Luminous Bright Palette */
  --bg-main: #ffffff;
  --bg-surface: #f8fafc;
  --bg-surface-alt: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-elevated: #f8fafc;
  
  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-active: rgba(0, 0, 0, 0.18);
  --border-glow: rgba(0, 0, 0, 0.12);
  
  /* High-Contrast Obsidian Typography */
  --text-white: #0f172a;
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-muted: #64748b;
  
  /* Refined Muted Color Palette */
  --muted-champagne: #9a7b56;
  --muted-bronze: #b08968;
  --muted-bronze-bg: rgba(176, 137, 104, 0.1);
  --muted-slate: #64748b;
  --muted-slate-dark: #334155;
  --muted-sage: #5b7065;
  --muted-sage-bg: rgba(91, 112, 101, 0.1);
  --muted-cyan: #0284c7;
  --muted-cyan-bg: rgba(2, 132, 199, 0.08);
  --muted-indigo: #4f46e5;
  --muted-indigo-bg: rgba(79, 70, 229, 0.08);
  
  /* Radii & Shadows */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 0 35px rgba(176, 137, 104, 0.15);
  --shadow-card-hover: 0 20px 45px rgba(0, 0, 0, 0.08);

  /* Layout */
  --container-max: 1240px;
  --header-height: 80px;
  
  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   Reset & Global Base Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Particle Canvas */
#particleCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
}

/* Ambient Background Light Mesh */
.ambient-glow-mesh {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  background: 
    radial-gradient(circle at 15% 15%, rgba(197, 168, 128, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 85% 60%, rgba(120, 144, 131, 0.1) 0%, transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(56, 189, 248, 0.08) 0%, transparent 50%);
  opacity: 0.85;
}

/* Dynamic Cursor Spotlight on Cards */
.spotlight-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.spotlight-card::after {
  content: '';
  position: absolute;
  top: var(--mouse-y, -200px);
  left: var(--mouse-x, -200px);
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(176, 137, 104, 0.08) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3;
}

.spotlight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-active);
}

.spotlight-card:hover::after {
  opacity: 1;
}

/* Border Beam Animation */
.border-beam-box {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 2px;
  background: linear-gradient(90deg, rgba(0,0,0,0.06), rgba(0,0,0,0.06));
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.border-beam-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    transparent,
    transparent,
    transparent,
    var(--muted-bronze),
    var(--muted-champagne),
    transparent
  );
  animation: rotateBeam 6s linear infinite;
  z-index: 0;
}

.border-beam-inner {
  position: relative;
  background: #ffffff;
  border-radius: calc(var(--radius-lg) - 2px);
  z-index: 1;
  overflow: hidden;
}

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

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  color: var(--text-white);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 2;
}

.container-narrow {
  max-width: 980px;
}

/* Section Common Spacing */
.section {
  padding-top: 110px;
  padding-bottom: 110px;
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .section {
    padding-top: 70px;
    padding-bottom: 70px;
  }
}

/* --------------------------------------------------------------------------
   Badges, Pills & Accent Elements
   -------------------------------------------------------------------------- */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  backdrop-filter: blur(10px);
  margin-bottom: 20px;
}

.badge-pill.bronze {
  background: var(--muted-bronze-bg);
  border-color: rgba(176, 137, 104, 0.25);
  color: var(--muted-bronze);
}

.badge-pill.sage {
  background: var(--muted-sage-bg);
  border-color: rgba(91, 112, 101, 0.25);
  color: var(--muted-sage);
}

.badge-pill.cyan {
  background: var(--muted-cyan-bg);
  border-color: rgba(2, 132, 199, 0.25);
  color: var(--muted-cyan);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--muted-bronze);
  box-shadow: 0 0 10px var(--muted-bronze);
  animation: pulseAnimation 2s infinite ease-in-out;
}

@keyframes pulseAnimation {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(176, 137, 104, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(176, 137, 104, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(176, 137, 104, 0); }
}

/* Section Header Structure */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header.text-left {
  text-align: left;
}

.section-title {
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--text-white);
}

.section-subtitle {
  font-size: 1.15rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-secondary);
}

.section-header.text-left .section-subtitle {
  margin-left: 0;
}

.gradient-text {
  background: linear-gradient(135deg, #0f172a 30%, #475569 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bronze-gradient-text {
  background: linear-gradient(135deg, #0f172a 0%, #b08968 60%, #9a7b56 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition-smooth);
  text-align: center;
}

.btn-white {
  background: #0f172a;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.15);
}

.btn-white:hover {
  background: #1e293b;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.25);
}

.btn-black {
  background: #0f172a;
  color: #ffffff;
  border: 1px solid transparent;
}

.btn-black:hover {
  background: #1e293b;
  transform: translateY(-2px);
}

.btn-outline {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  background: #f8fafc;
  border-color: rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.btn-bronze {
  background: linear-gradient(135deg, #b08968 0%, #9a7b56 100%);
  color: #ffffff;
  font-weight: 700;
  box-shadow: var(--shadow-glow);
}

.btn-bronze:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   Navigation Bar (Sticky Luminous Glassmorphic)
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  transition: var(--transition-smooth);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-img {
  height: 54px;
  max-height: 58px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #0f172a;
  transition: width 0.25s ease;
}

.nav-link:hover, .nav-link.active {
  color: #0f172a;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hamburger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #0f172a;
  z-index: 102;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background-color: #0f172a;
  transition: var(--transition-smooth);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 340px;
  height: 100vh;
  background: #ffffff;
  border-left: 1px solid var(--border-subtle);
  padding: 100px 32px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 101;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.15);
}

.mobile-drawer.open {
  right: 0;
}

.mobile-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(6px);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.mobile-nav-link {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: block;
}

.mobile-nav-link.active, .mobile-nav-link:hover {
  color: #0f172a;
}

@media (max-width: 900px) {
  .nav-links, .nav-actions .btn {
    display: none;
  }
  .hamburger-btn {
    display: block;
  }
}

/* --------------------------------------------------------------------------
   Hero Section (#home)
   -------------------------------------------------------------------------- */
.hero-section {
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 80px;
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-headline {
  font-size: clamp(2.4rem, 4.6vw, 4.1rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}

.hero-subheadline {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 30px;
  border-top: 1px solid var(--border-subtle);
}

.stat-item-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-item-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Video Showcase Container */
.video-showcase-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.video-player-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-player-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-custom-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 16px 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-showcase-wrapper:hover .video-custom-controls,
.video-player-container.paused .video-custom-controls {
  opacity: 1;
}

.video-btn {
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

.video-btn:hover {
  background: #fff;
  color: #000;
  transform: scale(1.08);
}

.video-badge-overlay {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  color: #ffffff;
}

/* Video Chapter Markers */
.video-chapters-row {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.chapter-pill {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.chapter-pill:hover {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  transform: translateY(-2px);
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* --------------------------------------------------------------------------
   Infinite Authority Marquee
   -------------------------------------------------------------------------- */
.authority-bar {
  padding: 24px 0;
  background: #f8fafc;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
  gap: 40px;
}

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

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

.marquee-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  white-space: nowrap;
}

.marquee-item .divider-star {
  color: var(--muted-bronze);
  font-size: 0.7rem;
}

/* --------------------------------------------------------------------------
   Services & 4 Strategic Pillars (#services)
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--muted-bronze), var(--muted-slate));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover, .service-card.active {
  background: #ffffff;
  border-color: var(--border-active);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.service-card:hover::before, .service-card.active::before {
  opacity: 1;
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.service-number-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: none;
}

.service-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-bronze);
  background: var(--muted-bronze-bg);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.service-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-white);
  line-height: 1.25;
}

.service-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 24px;
}

.service-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-white);
}

.service-footer svg {
  transition: transform 0.2s ease;
}

.service-card:hover .service-footer svg {
  transform: translateX(4px);
}

/* Service Detail Modal / Interactive Panel */
.service-detail-panel {
  background: #f8fafc;
  border: 1px solid var(--border-active);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-top: 20px;
  display: none;
  box-shadow: var(--shadow-md);
  animation: fadeIn 0.4s ease;
}

.service-detail-panel.active {
  display: block;
}

.detail-panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.detail-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}

.detail-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.detail-feature-item svg {
  color: var(--muted-bronze);
  flex-shrink: 0;
  margin-top: 3px;
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .detail-panel-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* --------------------------------------------------------------------------
   Comparison Matrix (Traditional Agency vs. DMP AI Workforce)
   -------------------------------------------------------------------------- */
.comparison-section {
  position: relative;
  background: #f8fafc;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
  margin-top: 40px;
}

.comparison-card {
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.comparison-card.traditional {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.comparison-card.dmp {
  background: #ffffff;
  border: 2px solid rgba(176, 137, 104, 0.35);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.06), var(--shadow-glow);
}

.comparison-header {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #0f172a;
}

.comparison-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.comparison-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.95rem;
}

.comp-icon-cross {
  color: #ef4444;
  flex-shrink: 0;
  margin-top: 3px;
  font-weight: 700;
}

.comp-icon-check {
  color: #059669;
  flex-shrink: 0;
  margin-top: 3px;
  font-weight: 700;
}

@media (max-width: 850px) {
  .comparison-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   AI Workforce & Autonomous Demo (#ai-workforce)
   -------------------------------------------------------------------------- */
.ai-workforce-section {
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.ai-workforce-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: center;
}

.ai-video-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #000;
  box-shadow: var(--shadow-lg);
}

.ai-video-box video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.ai-interactive-simulator {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 30px;
  margin-top: 30px;
}

.simulator-role-selector {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.role-btn {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.role-btn.active, .role-btn:hover {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
}

.sim-display-screen {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 20px;
  min-height: 140px;
  font-family: 'Space Grotesk', monospace;
  font-size: 0.9rem;
  color: #a5f3fc;
}

.sim-log-line {
  margin-bottom: 8px;
  display: flex;
  gap: 10px;
}

.sim-log-timestamp {
  color: #64748b;
}

.sim-slider-container {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.sim-slider-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.custom-range-slider {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #e2e8f0;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.custom-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #0f172a;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(15, 23, 42, 0.3);
}

.sim-results-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 18px;
}

.sim-result-box {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.sim-result-val {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-white);
}

.sim-result-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

@media (max-width: 960px) {
  .ai-workforce-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* --------------------------------------------------------------------------
   Case Studies & Storytelling Showcase (#case-studies)
   -------------------------------------------------------------------------- */
.filter-tabs-wrapper {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-tab {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.filter-tab.active, .filter-tab:hover {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.portfolio-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.portfolio-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-active);
  box-shadow: var(--shadow-card-hover);
}

.portfolio-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
  background: #0f172a;
}

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

.portfolio-card:hover .portfolio-img-wrap img {
  transform: scale(1.06);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.7) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.portfolio-category {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-bronze);
  margin-bottom: 8px;
}

.portfolio-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 10px;
}

.portfolio-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
}

.portfolio-link-action {
  font-size: 0.88rem;
  font-weight: 600;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 992px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Results & Proof Section (#results)
   -------------------------------------------------------------------------- */
.results-section {
  position: relative;
  background: #f8fafc;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.results-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.results-graphic-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.results-graphic-card img {
  border-radius: var(--radius-md);
  width: 100%;
}

.proof-metrics-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.proof-metric-box {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.proof-metric-box h4 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 6px;
  font-family: 'Space Grotesk', sans-serif;
}

.proof-metric-box p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

@media (max-width: 900px) {
  .results-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Founder Spotlight (#about)
   -------------------------------------------------------------------------- */
.founder-section {
  position: relative;
  background: #ffffff;
}

.founder-card-wrapper {
  background: #f8fafc;
  border: 1px solid var(--border-active);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.founder-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
}

.founder-image-col {
  position: relative;
  height: 100%;
  min-height: 480px;
  background: #0f172a;
}

.founder-image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.founder-content-col {
  padding: 60px 50px;
}

.founder-quote {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--muted-champagne);
  margin-bottom: 20px;
  padding-left: 18px;
  border-left: 3px solid var(--muted-champagne);
}

.press-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.press-badge {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 900px) {
  .founder-grid {
    grid-template-columns: 1fr;
  }
  .founder-image-col {
    min-height: 380px;
  }
  .founder-content-col {
    padding: 40px 24px;
  }
}

/* --------------------------------------------------------------------------
   FAQ Accordion Section (#faq)
   -------------------------------------------------------------------------- */
.faq-section {
  position: relative;
  background: #f8fafc;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 880px;
  margin: 0 auto;
}

.faq-accordion-item {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.faq-accordion-item.open {
  border-color: rgba(0, 0, 0, 0.2);
  box-shadow: var(--shadow-md);
}

.faq-header {
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  gap: 16px;
}

.faq-question {
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--text-white);
  line-height: 1.4;
}

.faq-icon-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--muted-bronze);
  font-size: 1.1rem;
  font-weight: 600;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.faq-accordion-item.open .faq-icon-toggle {
  transform: rotate(45deg);
  background: #0f172a;
  color: #ffffff;
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease;
  padding: 0 28px;
}

.faq-accordion-item.open .faq-body {
  max-height: 300px;
  padding: 0 28px 24px;
}

.faq-answer {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   Interactive Contact Section (#contact)
   -------------------------------------------------------------------------- */
.contact-section {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.contact-card-box {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 60px;
  box-shadow: var(--shadow-lg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-direct-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 30px;
}

.contact-direct-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon-bubble {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(176, 137, 104, 0.12);
  border: 1px solid rgba(176, 137, 104, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-champagne);
  flex-shrink: 0;
}

.contact-item-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-item-val {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-white);
}

/* Form Elements */
.contact-form-col {
  position: relative;
}

.form-group {
  margin-bottom: 22px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: #0f172a;
  outline: none;
  transition: var(--transition-smooth);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: #0f172a;
  background: #ffffff;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.budget-tier-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 6px;
}

.budget-tier-btn {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  text-align: center;
  transition: var(--transition-smooth);
}

.budget-tier-btn.active, .budget-tier-btn:hover {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.service-pills-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.service-pill-checkbox {
  display: none;
}

.service-pill-label {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.service-pill-checkbox:checked + .service-pill-label {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  font-weight: 600;
}

.form-status-alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-top: 18px;
  font-size: 0.92rem;
  display: none;
}

.form-status-alert.success {
  display: block;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #065f46;
}

.form-status-alert.error {
  display: block;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #991b1b;
}

@media (max-width: 900px) {
  .contact-card-box {
    padding: 36px 20px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .budget-tier-selector {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Floating Quick Action Pill
   -------------------------------------------------------------------------- */
.floating-quick-pill {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 99;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-active);
  padding: 6px 8px 6px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.floating-quick-pill.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.quick-pill-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: #0f172a;
  cursor: pointer;
}

.quick-pill-btn {
  background: #0f172a;
  color: #ffffff;
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.quick-pill-btn:hover {
  transform: scale(1.1);
  background: var(--muted-bronze);
}

/* --------------------------------------------------------------------------
   Footer (Deep Luxury Grounded Anchor)
   -------------------------------------------------------------------------- */
.site-footer {
  background: #0a0b0e;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 70px 0 35px;
  position: relative;
  z-index: 2;
  color: #f1f5f9;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-col p {
  margin-top: 16px;
  max-width: 320px;
  font-size: 0.92rem;
  color: #94a3b8;
}

.footer-col-title {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: 20px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: 0.9rem;
  color: #94a3b8;
}

.footer-link:hover {
  color: #ffffff;
}

.social-icons-row {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.social-icon-btn img {
  width: 18px;
  height: 18px;
  filter: invert(1);
}

.social-icon-btn:hover {
  background: #ffffff;
  transform: translateY(-3px);
}

.social-icon-btn:hover img {
  filter: invert(0);
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  font-size: 0.85rem;
  color: #64748b;
}

@media (max-width: 850px) {
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 500px) {
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom-row {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   Lightbox Modal for Visuals & Videos
   -------------------------------------------------------------------------- */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(15px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox-modal.open {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.lightbox-content-box {
  max-width: 1000px;
  width: 100%;
  max-height: 90vh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content-box img, .lightbox-content-box video {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  object-fit: contain;
}

.lightbox-caption {
  margin-top: 16px;
  color: #f1f5f9;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
}

.lightbox-close-btn {
  position: absolute;
  top: -45px;
  right: 0;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.lightbox-close-btn:hover {
  background: #fff;
  color: #000;
}

/* --------------------------------------------------------------------------
   Animations & Keyframes
   -------------------------------------------------------------------------- */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}
