/* ============================================================
   RESET & VARIABLES
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --bg: #080808;
  --bg2: #0d0d0d;
  --bg3: #111111;
  --surface: #161616;
  --border: rgba(255,255,255,0.07);
  --border2: rgba(255,255,255,0.12);
  --white: #ffffff;
  --off: #f0ece4;
  --muted: #6b6b6b;
  --muted2: #999;
  --gold: #c9a84c;
  --gold2: #e8c96d;
  --gold-dim: rgba(201,168,76,0.08);
  --gold-border: rgba(201,168,76,0.2);
  --gold-glow: rgba(201,168,76,0.15);
  --red: #e05c4b;
  --green: #4ade80;
  --r: 16px;
  --r2: 24px;
}
/* ============================================================
   APEX BRAND PRELOADER (CINEMATIC SVG ASSEMBLY)
============================================================ */
body.loading-lock { overflow: hidden; height: 100vh; }

.preloader-container {
  position: fixed; inset: 0;
  background-color: #050505; 
  z-index: 999999;
  display: flex; justify-content: center; align-items: center;
  transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.8s ease;
}

.preloader-container.loaded {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.preloader-inner {
  width: 100%; max-width: 450px;
  padding: 0 40px;
  display: flex; flex-direction: column; align-items: center;
}

/* --- The SVG Vector Assembly --- */
.ddp-logo-anim-wrapper {
  position: relative;
  width: 140px;
  height: 140px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ddp-vector-logo {
  width: 100%;
  height: 100%;
  color: var(--gold);
  filter: drop-shadow(0 0 10px rgba(201, 168, 76, 0.4));
  position: absolute;
  z-index: 2;
}

/* The Drawing Physics */
/* The Drawing Physics (JS Controlled) */
.ddp-path {
  /* No hardcoded transitions here; JS controls the exact frame-by-frame offset */
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* The Final Image Crossfade */
.ddp-final-logo-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 3;
  opacity: 0; /* Hidden while drawing */
  transform: scale(0.95);
  transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

/* --- Brand Typography --- */
.preloader-brand-wrap { text-align: center; margin-bottom: 50px; }
.preloader-brand {
  font-family: 'Syne', sans-serif;
  font-size: 2.2rem; font-weight: 800; color: var(--off);
  letter-spacing: -0.03em; line-height: 1; margin-bottom: 12px;
  opacity: 0; transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}
.preloader-brand .dot { color: var(--gold); }

.preloader-sub {
  font-family: 'Syne', sans-serif; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
  opacity: 0; transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1) 0.1s;
}

/* Activate Typography (Fired by JS) */
.preloader-container.text-active .preloader-brand,
.preloader-container.text-active .preloader-sub {
  opacity: 1;
  transform: translateY(0);
}

/* Activate Final Image (Fired by JS at 100%) */
.preloader-container.image-active .ddp-final-logo-img {
  opacity: 1;
  transform: scale(1.1); /* Cinematic slow push */
  filter: drop-shadow(0px 10px 30px rgba(201, 168, 76, 0.3));
}
.preloader-container.image-active .ddp-vector-logo {
  opacity: 0; /* Fade out the vector wires */
  transition: opacity 0.4s ease;
}

/* --- Telemetry Metrics --- */
.preloader-metrics {
  display: flex; justify-content: space-between; align-items: flex-end; width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 16px;
  opacity: 0; transform: translateY(10px);
  transition: all 0.6s ease 0.3s;
}

.preloader-container.text-active .preloader-metrics {
  opacity: 1; transform: translateY(0);
}

.metric-text {
  font-family: 'Syne', sans-serif; font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
  animation: pulse-text 1.5s infinite alternate;
}

@keyframes pulse-text { 0% { opacity: 0.4; } 100% { opacity: 1; } }

.preloader-counter {
  font-family: 'Playfair Display', serif; font-size: 2.5rem; font-weight: 700;
  color: var(--gold); line-height: 0.8; letter-spacing: -0.02em;
}
.preloader-percent { font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700; margin-left: 4px; }
/* --- Animations --- */
@keyframes fade-up {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-text {
  0% { opacity: 0.4; }
  100% { opacity: 1; }
}

/* ============================================================
   CUSTOM CURSOR
============================================================ */
.cursor {
  position: fixed; z-index: 9999;
  pointer-events: none;
  mix-blend-mode: difference;
}
.cursor-dot {
  width: 8px; height: 8px;
  background: var(--gold2);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, opacity 0.2s;
  z-index: 9999; pointer-events: none;
}
.cursor-ring {
  width: 40px; height: 40px;
  border: 1px solid rgba(201,168,76,0.5);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  transition: all 0.12s ease;
  z-index: 9998; pointer-events: none;
}
body:hover .cursor-dot { opacity: 1; }

/* ============================================================
   CURSOR Z-INDEX OVERRIDE (Fix for Modal)
============================================================ */
.cursor-dot {
  z-index: 9999999 !important; /* Forces cursor above the 999999 modal */
}
.cursor-ring {
  z-index: 9999998 !important; 
}

/* ============================================================
   SCROLLBAR
============================================================ */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

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

/* ============================================================
   CANVAS (particles)
============================================================ */
#particles {
  position: fixed; inset: 0;
  z-index: 0; pointer-events: none;
  opacity: 0.4;
}

/* ============================================================
   NAV
============================================================ */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 28px 64px;
  display: flex; align-items: center; justify-content: space-between;
  transition: all 0.4s ease;
}
nav.scrolled {
  padding: 18px 64px;
  background: rgba(8,8,8,0.94);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--off);
  text-decoration: none;
}
.nav-logo .dot { color: var(--gold); }
.nav-links {
  display: flex; gap: 40px; list-style: none;
  position: absolute; left: 50%; transform: translateX(-50%);
}
.nav-links a {
  font-family: 'Syne', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted2);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.3s ease;
}
.nav-links a:hover { color: var(--off); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta {
  font-family: 'Syne', sans-serif;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--bg);
  background: var(--gold);
  padding: 11px 24px; border-radius: 4px;
  text-decoration: none;
  transition: all 0.25s ease;
  position: relative; overflow: hidden;
}
.nav-cta::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--gold2);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}
.nav-cta:hover::after { transform: translateX(0); }
.nav-cta span { position: relative; z-index: 1; }

/* ============================================================
   HERO
============================================================ */
#hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative;
  padding: 160px 64px 100px;
  overflow: hidden;
}
.hero-gradient {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(201,168,76,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(201,168,76,0.04) 0%, transparent 60%);
}
.hero-line-left {
  position: absolute; left: 64px; top: 0; bottom: 0;
  width: 1px; background: linear-gradient(to bottom, transparent, var(--border2) 30%, var(--border2) 70%, transparent);
  z-index: 1;
}
.hero-line-right {
  position: absolute; right: 64px; top: 0; bottom: 0;
  width: 1px; background: linear-gradient(to bottom, transparent, var(--border) 30%, var(--border) 70%, transparent);
  z-index: 1;
}
.hero-inner {
  max-width: 1200px; margin: 0 auto;
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 420px;
  gap: 80px; align-items: center;
  width: 100%;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px;
  border: 1px solid var(--gold-border);
  border-radius: 2px;
  background: var(--gold-dim);
  margin-bottom: 36px;
}
.hero-tag-dot {
  width: 6px; height: 6px; background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,168,76,0.6); }
  50% { box-shadow: 0 0 0 6px rgba(201,168,76,0); }
}
.hero-tag-text {
  font-family: 'Syne', sans-serif;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold);
}
.hero-h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 5.5vw, 5.2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--off);
  margin-bottom: 32px;
}
.hero-h1 em {
  font-style: italic;
  color: var(--gold);
  display: block;
}
.hero-h1 .line-through-word {
  position: relative; display: inline-block;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--muted2);
  max-width: 500px;
  line-height: 1.8;
  margin-bottom: 48px;
  font-weight: 300;
}
.hero-sub strong { color: var(--off); font-weight: 500; }
.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.btn-gold {
  font-family: 'Syne', sans-serif;
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--bg);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold2) 100%);
  padding: 16px 36px; border-radius: 4px;
  text-decoration: none;
  transition: all 0.25s ease;
  display: inline-flex; align-items: center; gap: 10px;
  box-shadow: 0 8px 32px rgba(201,168,76,0.25);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(201,168,76,0.35);
}
.btn-outline {
  font-family: 'Syne', sans-serif;
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted2);
  background: transparent;
  padding: 15px 32px; border-radius: 4px;
  border: 1px solid var(--border2);
  text-decoration: none;
  transition: all 0.25s ease;
}
.btn-outline:hover { color: var(--off); border-color: rgba(255,255,255,0.25); }
.hero-microcopy {
  margin-top: 24px;
  font-size: 0.78rem;
  color: var(--muted);
  display: flex; align-items: center; gap: 8px;
}
.hero-microcopy::before {
  content: '';
  display: block; width: 20px; height: 1px;
  background: var(--muted);
}

/* HERO CARD */
.hero-card {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--r2);
  overflow: hidden;
  position: relative;
}
.hero-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
/* ============================================================
   1:1 HERO IMAGE ARCHITECTURE
============================================================ */
.hero-card-photo {
  width: 100%; 
  aspect-ratio: 1 / 1; /* Snapped to a perfect square to match your image */
  background: linear-gradient(135deg, #1a1a1a 0%, #1e1c18 50%, #161410 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}

.hero-card-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(201,168,76,0.1) 0%, transparent 60%);
}

.real-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Because the container is now exactly 1:1, cover acts as a flush bounds without cropping */
  object-position: center center; /* Locks the focal point dead center */
  position: relative;
  z-index: 0;
}

.photo-placeholder {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  z-index: 1;
}
.photo-icon {
  width: 72px; height: 72px; border-radius: 50%;
  border: 1px solid var(--gold-border);
  background: var(--gold-dim);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
}
.photo-label {
  font-family: 'Syne', sans-serif;
  font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}
.hero-card-body { padding: 28px 28px 24px; }
.hero-card-status {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 20px;
}
.status-dot { width: 7px; height: 7px; background: var(--green); border-radius: 50%; }
.status-text {
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--green);
}
.hero-card-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border);
  border-radius: 8px; overflow: hidden;
}
.hero-stat {
  background: var(--bg3);
  padding: 16px 12px; text-align: center;
}
.hero-stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem; font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.02em;
}
.hero-stat-lbl {
  font-size: 0.65rem; color: var(--muted);
  margin-top: 2px; line-height: 1.3;
}
.hero-card-tag {
  margin-top: 20px;
  padding: 12px 16px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: 8px;
  font-size: 0.78rem;
  color: var(--gold2);
  display: flex; align-items: center; gap: 8px;
}
.hero-card-tag::before { content: '⚡'; }


/* ============================================================
   HERO ENTRANCE ANIMATIONS
============================================================ */
/* 1. The Starting (Hidden) State */
.hero-elem {
  opacity: 0;
  transform: translateY(40px); /* Pushed down slightly */
  transition: opacity 1s cubic-bezier(0.19, 1, 0.22, 1), transform 1s cubic-bezier(0.19, 1, 0.22, 1);
  will-change: transform, opacity;
}

/* 2. The Active (Visible) State */
.hero-elem.animate {
  opacity: 1;
  transform: translateY(0);
}

/* 3. The Staggered Delays (Creates the cascade effect) */
.hero-delay-1 { transition-delay: 0.1s; }
.hero-delay-2 { transition-delay: 0.2s; }
.hero-delay-3 { transition-delay: 0.3s; }
.hero-delay-4 { transition-delay: 0.4s; }
.hero-delay-5 { transition-delay: 0.5s; }



/* ============================================================
   MARQUEE
============================================================ */
.marquee-wrap {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  overflow: hidden;
  background: var(--bg2);
  position: relative; z-index: 2;
}
.marquee-track {
  display: flex; gap: 0;
  animation: marquee 28s linear infinite;
  width: max-content;
}
.marquee-item {
  display: flex; align-items: center; gap: 40px;
  padding: 0 40px;
  font-family: 'Syne', sans-serif;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.marquee-item span { color: var(--gold); }
.marquee-sep {
  width: 4px; height: 4px; background: var(--gold);
  border-radius: 50%; opacity: 0.5;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   METRICS BAND
============================================================ */
/* ============================================================
   METRICS BAND (UPGRADED)
============================================================ */
.metrics-band {
  padding: 120px 64px;
  position: relative;
  z-index: 2;
  background: var(--bg2); /* Subtle contrast band behind the stats */
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.metrics-band-inner { max-width: 1200px; margin: 0 auto; }
.metrics-row {
  display: grid; 
  grid-template-columns: repeat(3, 1fr);
  gap: 80px; /* Replaces vertical lines with elegant negative space */
}
.metric-item { 
  position: relative; 
  padding: 0; 
}
.metric-line {
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 32px;
  transition: width 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}
.metric-item:hover .metric-line {
  width: 100%; /* Premium interaction on hover */
  background: linear-gradient(90deg, var(--gold), var(--gold2));
}
.metric-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.5rem, 5vw, 4.8rem);
  font-weight: 700;
  color: var(--off);
  line-height: 1;
  margin-bottom: 24px;
  display: flex; align-items: flex-start;
  letter-spacing: -0.02em;
}
.metric-num .sup {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem; font-weight: 800;
  color: var(--gold);
  margin-top: 8px; margin-left: 4px;
}
.metric-num .base-suffix {
  font-family: 'Syne', sans-serif;
  font-size: 2rem; /* Slightly smaller than the 50, but substantial */
  font-weight: 800;
  color: var(--gold);
  margin-left: 4px;
  align-self: flex-end; /* Pulls it out of the exponent position and drops it to the baseline */
  margin-bottom: 6px; /* Micro-adjustment to align perfectly with the bottom of the Playfair numbers */
}
.metric-label {
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--off);
  margin-bottom: 12px;
}
.metric-desc {
  font-size: 0.9rem;
  color: var(--muted2);
  line-height: 1.7;
  font-weight: 300;
  max-width: 90%;
}
/* ============================================================
   SECTION SYSTEM
============================================================ */
.section { padding: 120px 64px; position: relative; z-index: 2; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.divider-line {
  height: 1px; background: var(--border);
  max-width: 1200px; margin: 0 auto;
  position: relative; z-index: 2;
}

.label {
  font-family: 'Syne', sans-serif;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 24px;
}
.label::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--gold);
}
.section-h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--off);
  margin-bottom: 20px;
}
.section-h2 em { font-style: italic; color: var(--gold); }
.section-p {
  font-size: 1rem;
  color: var(--muted2);
  max-width: 560px;
  line-height: 1.8;
  font-weight: 300;
}

/* ============================================================
   FRAMEWORK / SYSTEM (100K HOVER UPGRADE)
============================================================ */
.framework-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  overflow: hidden;
  margin-top: 64px;
}
.fw-card {
  background: var(--bg3);
  position: relative;
  transition: background 0.5s ease;
  cursor: default;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

/* ============================================================
   FRAMEWORK VISUAL ARCHITECTURE (CINEMATIC IMAGE INTEGRATION)
============================================================ */
.fw-visual {
  position: relative;
  width: 100%;
  height: 240px; /* Perfectly calculated proportion for the card */
  overflow: hidden;
}

.fw-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Muted, dark, desaturated base state for ultra-premium feel */
  filter: grayscale(100%) brightness(0.4) contrast(1.2); 
  transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
  will-change: transform, filter;
}

/* The magic gradient that blends the image seamlessly into the black card */
.fw-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(17,17,17,0) 0%, var(--bg3) 95%, var(--bg3) 100%);
  z-index: 1;
  transition: background 0.5s ease;
}

/* When the card is hovered, the gradient adjusts to match the lighter surface color */
.fw-card:hover .fw-visual-overlay {
  background: linear-gradient(to bottom, rgba(22,22,22,0) 0%, var(--surface) 95%, var(--surface) 100%);
}

.fw-body {
  padding: 0 40px 56px 40px;
  position: relative;
  z-index: 2;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* The Premium Hover Reveal */
.fw-card:hover .fw-img {
  transform: scale(1.08); /* Slow cinematic zoom */
  filter: grayscale(20%) brightness(0.7) contrast(1.1); /* Color bleeds back in */
}
/* Internal Spotlight Effect */
.fw-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at center top, rgba(201,168,76,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 0;
  pointer-events: none;
}
.fw-card:hover::before { opacity: 1; }
.fw-card:hover { background: var(--surface); }

/* The Golden Top Crest */
.fw-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  z-index: 2;
}
.fw-card:hover::after { transform: scaleX(1); }

/* Z-Index Fix for Content */
.fw-num, .fw-title, .fw-desc, .fw-list {
  position: relative; z-index: 2;
}

/* The Number: Hollow to Liquid Gold */
/* The Number: Hollow to Liquid Gold */
/* ============================================================
   FRAMEWORK NUMBERS (ANTI-CLIPPING FIX)
============================================================ */
.fw-num {
  position: absolute;
  /* We shift the bottom down to absorb the invisible padding */
  bottom: -10px; 
  left: 40px;
  z-index: 2; 
  font-family: 'Playfair Display', serif;
  font-size: 5.5rem; 
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201,168,76,0.35); 
  line-height: 0.8; 
  margin: 0; 
  /* CRITICAL: Invisible padding forces the browser's bounding box to expand, 
     giving the serif flourishes on the '3' room to fully render without getting sliced. */
  padding-right: 24px; 
  padding-bottom: 30px; 
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  will-change: transform;
}

.fw-card:hover .fw-num {
  -webkit-text-stroke-color: transparent;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  /* Elevates beautifully without hitting the bottom bound */
  transform: translateY(-8px) scale(1.02); 
  transform-origin: left bottom;
  padding-bottom: 40px;
}
/* Typography Illumination */
.fw-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.15rem; font-weight: 700;
  color: var(--off); margin-bottom: 14px;
  transition: color 0.4s ease;
}
.fw-card:hover .fw-title { color: var(--gold2); }

.fw-desc { 
  font-size: 0.9rem; color: var(--muted2); line-height: 1.75; margin-bottom: 28px; 
  transition: color 0.4s ease;
}
.fw-card:hover .fw-desc { color: var(--off); }

/* Bullet Point Cascading Slide */
.fw-list { list-style: none; }
.fw-list li {
  font-size: 0.82rem; color: var(--muted);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 12px;
  transition: transform 0.4s ease, color 0.4s ease;
  will-change: transform;
}
.fw-list li:last-child { border-bottom: none; }

.fw-list li::before {
  content: '';
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--border2);
  flex-shrink: 0;
  transition: background 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

/* Hover States for List */
.fw-card:hover .fw-list li {
  color: var(--off);
  transform: translateX(12px);
}
.fw-card:hover .fw-list li::before {
  background: var(--gold);
  box-shadow: 0 0 8px rgba(201,168,76,0.8);
  transform: scale(1.5);
}

/* The Waterfall Delay */
.fw-card:hover .fw-list li:nth-child(1) { transition-delay: 0.05s; }
.fw-card:hover .fw-list li:nth-child(2) { transition-delay: 0.10s; }
.fw-card:hover .fw-list li:nth-child(3) { transition-delay: 0.15s; }
.fw-card:hover .fw-list li:nth-child(4) { transition-delay: 0.20s; }

/* ============================================================
   SERVICES
============================================================ */
/* ============================================================
   SERVICES LIST (FINAL EDITORIAL MASTER)
============================================================ */
.mt-64 { margin-top: 64px; }

.services-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

/* --- MASTER ROW LAYOUT --- */
.svc-row {
  display: grid;
  grid-template-columns: 80px 300px 1fr; /* 3-Column Elite Layout (Slightly wider image) */
  align-items: center; /* CRITICAL: Perfect vertical centering for a tailored look */
  gap: 64px; /* Increased breathing room (luxury aesthetic) */
  padding: 64px 0; 
  border-bottom: 1px solid var(--border);
  position: relative;
  transition: background 0.4s ease, border-color 0.4s ease;
  cursor: default;
}

/* Background Hover Glow */
.svc-row::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 50%, var(--gold-glow) 0%, transparent 60%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.svc-row:hover::before { opacity: 1; }
.svc-row:hover {
  background: rgba(255, 255, 255, 0.015);
  border-bottom-color: var(--gold-border);
}

/* --- THE CINEMATIC IMAGE INTEGRATION --- */
.svc-image-wrap {
  width: 100%;
  height: 200px; /* Adjusted height for better 3:2 ratio */
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255,255,255,0.05);
  z-index: 1;
}

/* --- THE CINEMATIC IMAGE INTEGRATION (FULL COLOR) --- */
.svc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Dark filter removed. Displaying natural image colors. */
  transform: scale(1.02);
  transition: all 0.7s cubic-bezier(0.19, 1, 0.22, 1);
  will-change: transform;
}

.svc-row:hover .svc-img {
  /* Retained only the cinematic zoom for a premium interaction */
  transform: scale(1.08);
}

/* --- TYPOGRAPHY & ALIGNMENT --- */
.svc-row-num, .svc-row-content {
  position: relative;
  z-index: 1;
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1), color 0.3s ease;
  will-change: transform; 
}

.svc-row-content {
  display: flex;
  flex-direction: column;
  justify-content: center; /* Ensures text is perfectly balanced within its own column */
}

.svc-row:hover .svc-row-num,
.svc-row:hover .svc-row-content {
  transform: translateX(20px); 
}

.svc-row-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem; /* Slightly larger to anchor the left side */
  font-weight: 700;
  color: var(--muted);
}
.svc-row:hover .svc-row-num { color: var(--gold); }

.svc-row-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 2.6rem); /* Refined scaling */
  font-weight: 700;
  color: var(--off);
  margin-top: 0;
  margin-bottom: 16px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  transition: color 0.3s;
}
.svc-row:hover .svc-row-title { color: var(--white); }

.svc-row-desc {
  font-size: 1rem; /* Slightly bumped up for readability */
  color: var(--muted2);
  line-height: 1.75;
  max-width: 680px;
  margin-bottom: 32px;
  font-weight: 300;
}

/* --- PILL TAGS --- */
.svc-row-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.svc-row-tags span {
  font-family: 'Syne', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  transition: all 0.4s ease;
}
.svc-row:hover .svc-row-tags span {
  background: var(--gold-dim);
  border-color: var(--gold-border);
  color: var(--gold2);
}

/* ============================================================
   MOBILE RESPONSIVE OVERRIDES
   (Ensure this stays inside your max-width: 1024px media query)
============================================================ */
@media (max-width: 1024px) {
  .svc-row {
    grid-template-columns: auto 1fr; /* Reverts to 2 columns */
    align-items: center;
    gap: 24px; 
    padding: 48px 0;
  }
  
  .svc-row-num { 
    grid-column: 1; 
    grid-row: 1;
    margin: 0; 
  }
  
  .svc-image-wrap {
    grid-column: 1 / -1;
    grid-row: 2;
    height: 240px; /* Taller on mobile for better impact */
    margin-top: 8px;
    margin-bottom: 16px;
  }
  
  .svc-row-content { 
    grid-column: 1 / -1; 
    grid-row: 3; 
  }

  /* Disable Hover Shifts on Touch Devices */
  .svc-row:hover { background: transparent; }
  .svc-row:hover .svc-row-num, 
  .svc-row:hover .svc-row-content { 
    transform: none; 
  }
}



/* ============================================================
   ELITE SERVICES CTA BUTTON
============================================================ */
.svc-cta-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 80px; /* Expansive negative space to draw the eye */
  padding-bottom: 20px;
}

.btn-elite {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 22px 56px; 
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold2) 100%);
  color: #000000; 
  
  /* --- Typography Upgrade for Readability --- */
  font-family: 'DM Sans', sans-serif; /* Clean, modern, highly legible */
  font-size: 0.95rem; /* Increased slightly for clear reading */
  font-weight: 700; /* Dropped from 800 so the ink doesn't bleed together */
  text-transform: uppercase;
  letter-spacing: 0.08em; /* Tightened from 0.15em for a smoother read */
  
  border-radius: 100px; 
  text-decoration: none;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  box-shadow: 0 10px 30px -10px rgba(201, 168, 76, 0.4); 
}

/* The Internal Cinematic Light Sweep */
.btn-elite::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%; /* Hidden to the left */
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-25deg);
  transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
  pointer-events: none; /* Prevents the invisible box from blocking clicks */
}

/* The Hover Ignition */
.btn-elite:hover {
  transform: translateY(-4px); /* Defying gravity slightly */
  box-shadow: 0 20px 40px -10px rgba(201, 168, 76, 0.6); /* Expanded glow */
}

.btn-elite:hover::before {
  left: 200%; /* Sweeps the light across the button instantly */
}

/* The Snapping Arrow */
.btn-elite .btn-icon {
  display: flex;
  align-items: center;
}

.btn-elite svg {
  width: 22px;
  height: 22px;
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.btn-elite:hover svg {
  transform: translateX(6px); /* Arrow snaps forward, pointing to action */
}


/* ============================================================
   MILLION DOLLAR EDITORIAL RESULTS ARCHITECTURE
============================================================ */
.results-master-layout {
  display: flex;
  flex-direction: column;
  gap: 32px; 
  margin-top: 64px;
  position: relative;
  z-index: 2;
}

/* ============================================================
   1. THE FLAGSHIP HERO CARD
============================================================ */
.result-hero-card {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--gold-border);
  border-radius: 20px;
  display: grid;
  grid-template-columns: 1.2fr 1fr; /* Image commands slightly more space */
  gap: 48px;
  padding: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.5s ease;
}

/* Deep cinematic inner glow */
.result-hero-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(201, 168, 76, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.result-hero-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -15px rgba(0,0,0,0.8), 0 0 40px rgba(201, 168, 76, 0.15);
}

.hero-card-visual .result-image {
  margin-bottom: 0; 
  height: auto; /* Massive cinematic height */
  border-radius: 12px;
}

.hero-card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hero-metric-block {
  margin-top: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============================================================
   2. THE SYMMETRICAL TRIO (3 COLUMNS)
============================================================ */
.results-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.results-trio .result-card {
  background: rgba(255, 255, 255, 0.01); 
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  position: relative;
  overflow: hidden;
}

.results-trio .result-card:hover {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--gold-border);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5);
}

.results-trio .result-image {
  height: auto; /* Uniform height for flawless grid alignment */
  margin-bottom: 24px;
}

/* ============================================================
   3. ZERO-CROP IMAGE & LIGHTBOX SHIELD PHYSICS
============================================================ */
/* ============================================================
   ZERO-CROP / ZERO-EMPTY-SPACE IMAGE ARCHITECTURE
============================================================ */
.result-image {
  width: 100%;
  height: auto; /* Let the image dictate the exact size */
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  background: transparent; /* Removed the black background since there is no empty space anymore */
  display: block; /* Switched from flex to block for perfect image wrapping */
  position: relative;
  z-index: 9999 !important; 
  cursor: zoom-in;
}

/* The Invisible Hitbox Shield */
.result-image::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 10000;
  cursor: zoom-in;
  pointer-events: auto !important; 
}

.result-image img {
  width: 100%;
  height: auto; /* Proportional scaling based on the image's true aspect ratio */
  display: block; /* CRITICAL: Removes the tiny 3px gap browsers put under images */
  opacity: 0.75; 
  filter: grayscale(20%); 
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  position: relative;
  pointer-events: none !important; 
}

/* Premium Hover Reveals */
.result-hero-card:hover .result-image img,
.results-trio .result-card:hover .result-image img {
  opacity: 1; 
  filter: grayscale(0%); 
  transform: scale(1.03); /* Extremely subtle premium lift */
}

/* ============================================================
   4. TYPOGRAPHY & BADGES
============================================================ */
.result-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.result-tag {
  font-family: 'Syne', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.verified-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Syne', sans-serif;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #22c55e; 
  background: rgba(34, 197, 94, 0.1);
  padding: 4px 10px;
  border-radius: 4px;
}

.verified-badge svg { width: 12px; height: 12px; }

.result-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--off);
  margin-bottom: 12px;
}

.result-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted2);
  flex-grow: 1; 
  font-weight: 300;
}

.result-desc strong {
  color: #e2e8f0; 
  background-color: rgba(255, 255, 255, 0.08); 
  padding: 2px 8px; 
  border-radius: 4px; 
  font-weight: 500; 
  letter-spacing: 0.02em;
}

.result-metric {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem; 
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.result-metric span {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  margin-left: 4px;
}

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

/* ============================================================
   5. MOBILE RESPONSIVE OVERRIDES
============================================================ */
@media (max-width: 1024px) {
  /* Hero collapses to a single column */
  .result-hero-card {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    gap: 32px;
  }
  .hero-card-visual .result-image { height: 260px; }
  
  /* Trio collapses to a vertical stack */
  .results-trio { 
    grid-template-columns: 1fr; 
    gap: 24px; 
  }
  .results-trio .result-image { height: 240px; }
}


/* ============================================================
   CASE STUDIES
============================================================ */
.cases-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 20px; margin-top: 64px;
}
.case-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 48px 44px;
  position: relative; overflow: hidden;
  transition: border-color 0.3s;
}
.case-card:hover { border-color: var(--border2); }
.case-industry {
  font-family: 'Syne', sans-serif;
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex; align-items: center; gap: 10px;
}
.case-industry::before {
  content: ''; width: 16px; height: 1px;
  background: var(--gold);
}
.case-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; font-weight: 700;
  color: var(--off); line-height: 1.35;
  margin-bottom: 32px;
}
.case-steps { list-style: none; margin-bottom: 32px; }
.case-step {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.case-step:last-child { border-bottom: none; }
.cs-label {
  font-family: 'Syne', sans-serif;
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 6px;
}
.cs-text { font-size: 0.85rem; color: var(--muted2); line-height: 1.6; }
.case-results {
  display: flex; gap: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.cr-stat {
  flex: 1; padding: 20px 16px; text-align: center;
  border-right: 1px solid var(--border);
}
.cr-stat:last-child { border-right: none; }
.cr-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem; font-weight: 800;
  color: var(--gold); letter-spacing: -0.02em;
}
.cr-lbl { font-size: 0.65rem; color: var(--muted); margin-top: 4px; }

/* ============================================================
   ABOUT
============================================================ */
.about-grid {
  display: grid; grid-template-columns: 380px 1fr;
  gap: 80px; align-items: start;
  margin-top: 64px;
}
.about-visual {
  position: relative;
}
.about-photo {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(145deg, #1a1814 0%, #161412 100%);
  border: 1px solid var(--border2);
  border-radius: var(--r2);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.about-photo::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 20%, rgba(201,168,76,0.1) 0%, transparent 60%);
}
.real-about-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0; /* Keeps it behind the Geo Badge and overlays */
}





.about-photo-inner { text-align: center; z-index: 1; }
.about-photo-icon { font-size: 3rem; opacity: 0.15; margin-bottom: 8px; }
.about-photo-lbl {
  font-family: 'Syne', sans-serif;
  font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); opacity: 0.4;
}
.about-geo {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  background: rgba(8,8,8,0.9);
  border: 1px solid var(--border2);
  border-radius: 8px;
  padding: 12px 20px;
  display: flex; align-items: center; gap: 10px;
  white-space: nowrap;
}
.geo-flag { font-size: 1rem; }
.geo-text-main {
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem; font-weight: 600; color: var(--off);
}
.geo-text-sub { font-size: 0.65rem; color: var(--muted); }
.about-floater {
  position: absolute; top: -20px; right: -20px;
  background: var(--bg3); border: 1px solid var(--gold-border);
  border-radius: 12px; padding: 16px 20px;
}
.floater-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem; font-weight: 800; color: var(--gold);
}
.floater-lbl { font-size: 0.65rem; color: var(--muted); }
.about-content { padding-top: 8px; }
.about-p {
  font-size: 0.95rem; color: var(--muted2);
  line-height: 1.85; margin-bottom: 20px;
  font-weight: 300;
}
.about-p strong { color: var(--off); font-weight: 500; }
.about-list { list-style: none; margin-top: 36px; }
.about-list li {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.about-list li:first-child { border-top: 1px solid var(--border); }
.about-li-icon {
  width: 32px; height: 32px; flex-shrink: 0;
  background: var(--gold-dim); border: 1px solid var(--gold-border);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; margin-top: 2px;
}
.about-li-text { font-size: 0.875rem; color: var(--muted2); line-height: 1.6; }
.about-li-text strong { color: var(--off); font-weight: 500; display: block; margin-bottom: 2px; }

/* ============================================================
   AUTHORITY STREAM (ABOUT SECTION)
============================================================ */
.authority-stream {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

/* The Live Header */
.stream-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 8px;
  padding-left: 4px;
}

/* The Pulsing Dot Animation */
.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e; /* Premium tech green */
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulse-green 2s infinite cubic-bezier(0.66, 0, 0, 1);
}
@keyframes pulse-green {
  to { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
}

/* The Cards */
.stream-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.stream-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--gold-border);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
}

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

.stream-platform {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--off);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stream-platform svg {
  width: 14px;
  height: 14px;
  color: var(--gold);
}

.stream-time {
  font-size: 0.7rem;
  color: var(--muted2);
}

.stream-content {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 16px;
  font-weight: 300;
}

.stream-content strong {
  color: var(--gold); /* Replaces harsh white with premium gold */
  font-weight: 700; /* Snaps the text into a crisper, heavier weight */
  letter-spacing: 0.03em; /* Adds microscopic breathing room between letters to prevent blurring */
}

.stream-metrics {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Syne', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--muted2);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.view-proof {
  color: var(--gold);
  transition: color 0.3s;
}

.stream-card:hover .view-proof {
  color: var(--gold2);
}

/* ============================================================
   TESTIMONIALS
============================================================ */
.testi-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 64px;
}
.testi-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 36px 32px;
  transition: all 0.3s ease;
  position: relative;
}
.testi-card:hover { border-color: var(--border2); transform: translateY(-3px); }
.testi-quote {
  font-size: 2.5rem; color: var(--gold);
  line-height: 1; margin-bottom: 16px;
  opacity: 0.4;
  font-family: 'Playfair Display', serif;
}
.testi-text {
  font-size: 0.9rem; color: var(--muted2);
  line-height: 1.8; margin-bottom: 28px;
  font-style: italic; font-weight: 300;
}
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-av {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gold-dim); border: 1px solid var(--gold-border);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem; font-weight: 700; color: var(--gold);
  flex-shrink: 0;
}
.testi-name {
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem; font-weight: 700; color: var(--off);
}
.testi-role { font-size: 0.75rem; color: var(--muted); }
.stars { color: var(--gold); font-size: 0.75rem; letter-spacing: 2px; margin-bottom: 16px; }
/* ============================================================
   CINEMATIC VIDEO TESTIMONIALS
============================================================ */
.video-testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.video-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.video-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -15px rgba(0,0,0,0.8), 0 0 30px rgba(201, 168, 76, 0.1);
}

.video-thumbnail-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* Perfect cinematic widescreen */
  overflow: hidden;
}

.v-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(40%) contrast(1.1);
  transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.video-card:hover .v-thumb {
  filter: grayscale(0%) contrast(1.05);
  transform: scale(1.06);
}

/* Deep gradient from the bottom so the text is perfectly readable */
.v-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,5,5,0.95) 0%, rgba(5,5,5,0.4) 40%, transparent 100%);
  z-index: 1;
}

/* ============================================================
   THE PLAY BUTTON
============================================================ */
.v-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  color: var(--white);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.v-play-btn svg {
  width: 24px;
  height: 24px;
  margin-left: 4px; /* Optically centers the play triangle */
  transition: fill 0.3s ease;
}

/* The Radar Pulse */
.v-play-pulse {
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  opacity: 0;
  z-index: -1;
}

.video-card:hover .v-play-btn {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-card:hover .v-play-pulse {
  animation: radar-pulse 1.5s infinite;
}

@keyframes radar-pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ============================================================
   METADATA & TAGS
============================================================ */
.v-metric-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(201, 168, 76, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(201, 168, 76, 0.3);
  color: var(--gold2);
  padding: 6px 14px;
  border-radius: 100px;
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
}

.v-meta {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  z-index: 2;
}

.v-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--off);
  margin-bottom: 4px;
  line-height: 1.1;
}

.v-role {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  color: var(--muted2);
  font-weight: 400;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
  .video-testi-grid { grid-template-columns: 1fr; }
  .v-thumbnail-wrap { aspect-ratio: 4 / 3; }
}

/* ============================================================
   OFFER
============================================================ */
.offer-wrap {
  margin-top: 64px;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--r2);
  overflow: hidden;
  position: relative;
}
.offer-wrap::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 30%, var(--gold2) 70%, transparent 100%);
}
.offer-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0;
}
.offer-left {
  padding: 60px 56px;
  border-right: 1px solid var(--border);
}
.offer-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(224,92,75,0.1); border: 1px solid rgba(224,92,75,0.25);
  border-radius: 2px; padding: 5px 12px;
  font-family: 'Syne', sans-serif;
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--red); margin-bottom: 24px;
}
.offer-h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 700;
  color: var(--off); line-height: 1.2;
  margin-bottom: 16px;
}
.offer-p { font-size: 0.9rem; color: var(--muted2); line-height: 1.75; margin-bottom: 36px; font-weight: 300; }
.offer-note { font-size: 0.75rem; color: var(--muted); margin-top: 12px; }
.offer-right { padding: 60px 56px; }
.offer-list { list-style: none; }
.offer-list li {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem; color: var(--muted2);
}
.offer-list li:first-child { border-top: 1px solid var(--border); }
.check {
  width: 20px; height: 20px; flex-shrink: 0;
  background: rgba(74,222,128,0.08); border: 1px solid rgba(74,222,128,0.2);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; color: var(--green);
}

/* ============================================================
   INSIGHTS
============================================================ */
.insights-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 64px;
}
.insight-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 36px 32px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative; overflow: hidden;
}
.insight-card::after {
  content: '→';
  position: absolute; bottom: 28px; right: 28px;
  color: var(--gold); font-size: 1rem;
  opacity: 0; transform: translateX(-8px);
  transition: all 0.3s ease;
}
.insight-card:hover { border-color: var(--border2); transform: translateY(-4px); }
.insight-card:hover::after { opacity: 1; transform: translateX(0); }
.insight-cat {
  font-family: 'Syne', sans-serif;
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.insight-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem; font-weight: 700;
  color: var(--off); line-height: 1.4;
  margin-bottom: 12px;
}
.insight-desc { font-size: 0.82rem; color: var(--muted2); line-height: 1.7; font-weight: 300; }

/* ============================================================
   CTA SECTION
============================================================ */
.cta-section {
  padding: 140px 64px;
  position: relative; z-index: 2;
  text-align: center;
  overflow: hidden;
}
.cta-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(201,168,76,0.06) 0%, transparent 70%);
}
.cta-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.3;
}
.cta-inner { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.cta-eyebrow {
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  display: flex; align-items: center; justify-content: center; gap: 14px;
}
.cta-eyebrow::before,
.cta-eyebrow::after { content: ''; width: 40px; height: 1px; background: var(--gold); }
.cta-h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900; line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--off); margin-bottom: 24px;
}
.cta-h2 em { font-style: italic; color: var(--gold); }
.cta-p {
  font-size: 1rem; color: var(--muted2); margin-bottom: 48px;
  line-height: 1.8; font-weight: 300;
}
.cta-contact {
  margin-top: 24px;
  font-size: 0.82rem; color: var(--muted);
  display: flex; align-items: center; justify-content: center; gap: 20px;
}
.cta-contact a {
  color: var(--muted2); text-decoration: none;
  transition: color 0.2s;
}
.cta-contact a:hover { color: var(--gold); }


/* ============================================================
   THE ACADEMY (TRAININGS LIST)
============================================================ */
.training-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.training-row {
  display: grid;
  grid-template-columns: 80px 1fr 60px;
  gap: 40px;
  padding: 48px 32px;
  border-bottom: 1px solid var(--border);
  position: relative;
  text-decoration: none;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

/* The Invisible Background Glow */
.tr-bg-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201,168,76,0.08) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
}

.training-row:hover .tr-bg-glow { opacity: 1; }
.training-row:hover { border-bottom-color: var(--gold-border); }

/* Grid Items Z-index */
.tr-num, .tr-content, .tr-arrow {
  position: relative;
  z-index: 1;
}

/* The Numbers */
.tr-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--muted);
  transition: color 0.4s ease;
}
.training-row:hover .tr-num { color: var(--gold); }

/* The Title & Desc */
.tr-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--off);
  margin-bottom: 12px;
  line-height: 1.2;
  transition: color 0.4s ease, transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}
.training-row:hover .tr-title {
  color: var(--gold2);
  transform: translateX(10px); /* Smooth slide right */
}

.tr-desc {
  font-size: 0.95rem;
  color: var(--muted2);
  line-height: 1.6;
  max-width: 700px;
  margin-bottom: 24px;
  font-weight: 300;
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}
.training-row:hover .tr-desc { transform: translateX(10px); }

/* The Tags */
.tr-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}
.training-row:hover .tr-tags { transform: translateX(10px); }

.tr-tags span {
  font-family: 'Syne', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--muted);
  transition: all 0.4s ease;
}
.training-row:hover .tr-tags span {
  background: var(--gold-dim);
  border-color: var(--gold-border);
  color: var(--gold2);
}

/* The Snapping Arrow */
.tr-arrow {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.tr-arrow svg {
  width: 32px;
  height: 32px;
  stroke: var(--muted);
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}
.training-row:hover .tr-arrow svg {
  stroke: var(--gold);
  transform: translateX(15px) scale(1.1); /* The Premium Snap */
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .training-row {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 32px 0;
  }
  .tr-title { font-size: 1.8rem; }
  .tr-arrow { display: none; } /* Hide arrow on mobile to save space */
  .training-row:hover .tr-title, 
  .training-row:hover .tr-desc, 
  .training-row:hover .tr-tags { transform: none; } /* Disable shift on mobile */
}

/* ============================================================
   FOOTER
============================================================ */
footer {
  border-top: 1px solid var(--border);
  padding: 48px 64px;
  position: relative; z-index: 2;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800; font-size: 1rem;
  color: var(--off); text-decoration: none;
}
.footer-logo .dot { color: var(--gold); }
.footer-links { display: flex; gap: 32px; }
.footer-links a {
  font-family: 'Syne', sans-serif;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--off); }
.footer-copy {
  font-size: 0.72rem; color: #333;
  font-family: 'Syne', sans-serif;
  letter-spacing: 0.04em;
}

/* ============================================================
   SCROLL REVEAL
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  nav { padding: 20px 32px; }
  nav.scrolled { padding: 14px 32px; }
  .nav-links { display: none; }
  #hero, .section, .metrics-band, .cta-section { padding-left: 32px; padding-right: 32px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-card { display: none; }
  .metrics-row { grid-template-columns: 1fr; gap: 48px; }
  .metrics-row::before, .metrics-row::after { display: none; }
  .metric-item { padding: 0; padding-bottom: 48px; border-bottom: 1px solid var(--border); }
  .metric-item:last-child { border-bottom: none; padding-bottom: 0; }
  .framework-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }

/* ============================================================
     MOBILE SERVICES LIST OVERRIDES
  ============================================================ */
  .svc-row {
    grid-template-columns: auto 1fr; /* Number on left, Icon on right */
    align-items: center;
    gap: 16px 20px; /* row-gap column-gap */
    padding: 40px 0;
  }
  
  .svc-row-num { 
    grid-column: 1; 
    grid-row: 1;
    font-size: 1.1rem; 
    margin: 0; 
  }
  
  .svc-row-icon { 
    grid-column: 2; 
    grid-row: 1;
    display: flex; /* Brings the icon back */
    justify-content: flex-end; 
  }
  
  .svc-row-icon svg {
    width: 28px; /* Slightly scaled down for mobile screens */
    height: 28px;
  }
  
  .svc-row-content { 
    grid-column: 1 / -1; /* Forces content to span full width below */
    grid-row: 2; 
  }
  
  /* Disable Hover Shifts on Touch Devices */
  .svc-row:hover { 
    background: transparent; 
    padding-left: 0; 
    padding-right: 0;
  }
  .svc-row:hover .svc-row-num, 
  .svc-row:hover .svc-row-content,
  .svc-row:hover .svc-row-icon svg { 
    transform: none; /* Prevents sticky hover states while scrolling on phones */
  }
  .svc-row-stat { 
    grid-column: 2; 
    grid-row: 1;
    display: flex; 
    justify-content: flex-end; 
    align-items: center; /* <--- Keeps it anchored to the top opposite the number on phones */
    font-size: 0.65rem; 
  }
  .cases-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { display: none; }
  .testi-grid { grid-template-columns: 1fr; }
  .offer-inner { grid-template-columns: 1fr; }
  .offer-left { border-right: none; border-bottom: 1px solid var(--border); padding: 40px 32px; }
  .offer-right { padding: 40px 32px; }
  .insights-grid { grid-template-columns: 1fr; }
  footer { padding: 40px 32px; }
  .footer-inner { flex-direction: column; gap: 24px; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .marquee-wrap { overflow: hidden; }
}

/* ============================================================
   LIGHTBOX MODAL & ZOOM EFFECTS
============================================================ */

/* Make the grid images show a magnifying glass cursor */
.result-image img {
  cursor: zoom-in; 
}

/* The Hidden Modal Overlay */
.image-modal {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  z-index: 9999; /* Keeps it on top of everything */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(8, 8, 8, 0.95); /* Deep dark background */
  backdrop-filter: blur(8px); /* Premium glass blur effect */
  opacity: 0;
  pointer-events: none; /* Prevents clicks when hidden */
  transition: opacity 0.4s ease;
}

.image-modal.active {
  opacity: 1;
  pointer-events: auto;
  cursor: zoom-out; /* Forces the 'minus' magnifying glass cursor */
}

.modal-content {
  cursor: default; /* Keeps the standard arrow when hovering directly over the image */
}

/* The Zoomed Image Inside */
.modal-content {
  max-width: 90%;
  max-height: 85vh; /* Prevents it from touching the top/bottom of screen */
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.8);
  border: 1px solid rgba(255,255,255,0.1);
  transform: scale(0.95); /* Starts slightly smaller */
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

/* The Pop Animation */
.image-modal.active .modal-content {
  transform: scale(1);
}

/* The Close (Cross) Icon */
.modal-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: var(--muted);
  font-size: 45px;
  font-weight: 300;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s ease, transform 0.3s ease;
}

.modal-close:hover {
  color: var(--gold);
  transform: scale(1.1); /* Slight pop on hover */
}



/* ============================================================
   INSIGHTS & INTELLIGENCE GRID
============================================================ */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.insight-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.insight-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5);
  background: rgba(255, 255, 255, 0.02);
}

/* Image Wrapper with Hover Zoom & Color Reveal */
.insight-image-wrapper {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #0a0a0a;
}

.insight-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(80%) opacity(0.8);
  transition: all 0.7s cubic-bezier(0.19, 1, 0.22, 1);
}

.insight-card:hover .insight-image-wrapper img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.05);
}

.insight-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.insight-meta {
  font-family: 'Syne', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  display: flex;
  gap: 8px;
}

.insight-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--off);
  margin-bottom: 16px;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.insight-excerpt {
  font-size: 0.9rem;
  color: var(--muted2);
  line-height: 1.6;
  margin-bottom: 32px;
  flex-grow: 1; /* Pushes the 'Read More' to the bottom perfectly */
}

.insight-read-more {
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.insight-card:hover .insight-read-more {
  color: var(--gold);
}

.insight-card:hover .insight-read-more .arrow {
  transform: translateX(5px);
}

/* Reusable Utility for centering elements (like the button) */
.align-center {
  text-align: center;
  display: flex;
  justify-content: center;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
  .insights-grid { grid-template-columns: 1fr; gap: 24px; }
  .insight-image-wrapper { height: 200px; }
}


/* CLIENTS */


/* SPOTLIGHT SECTION WRAPPER */
  .spotlight-section {
    padding: 120px 40px;
    background: var(--bg);
    border-top: 1px solid var(--border);
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
  }

  /* ELITE HEADER STYLING */
  .spotlight-header {
    text-align: center;
    margin-bottom: 80px;
  }
  .premium-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--text-muted);
    margin-bottom: 24px;
  }
  .pulse-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--accent);
    animation: pulse-glow 2s infinite;
  }
  @keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(59, 130, 246, 0); }
    100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
  }
  .spotlight-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.04em;
  }
  .spotlight-title em {
    font-style: normal;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.5);
  }

  /* THE MAGNETIC GRID */
  .spotlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px; /* Creates the ultra-thin border effect */
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
  }

  /* THE SPOTLIGHT EFFECT */
  .grid-spotlight {
    position: absolute;
    inset: 0;
    background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.1), transparent 40%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
  }
  .spotlight-grid:hover .grid-spotlight {
    opacity: 1;
  }

  /* CLIENT CARDS */
  .client-card {
    background: var(--surface);
    padding: 60px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
  }
  
  .client-card-inner {
    position: relative;
    z-index: 3;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  /* TYPOGRAPHIC LOGOS */
  .client-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-muted);
    font-family: 'Manrope', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.4;
    transition: all 0.4s ease;
    filter: grayscale(100%);
  }

  /* Hover Interaction */
  .client-card:hover .client-card-inner {
    transform: scale(1.1);
  }
  .client-card:hover .client-name {
    color: var(--text-main);
    opacity: 1;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  }

  /* Responsive Design */
  @media (max-width: 900px) {
    .spotlight-grid { grid-template-columns: repeat(2, 1fr); }
    .client-card { padding: 40px 20px; }
    .client-name { font-size: 1.2rem; }
  }
  @media (max-width: 600px) {
    .spotlight-grid { grid-template-columns: 1fr; }
  }






  /* ============================================================
   BRAND LOGO INTEGRATION (PRELOADER)
============================================================ */
/* ============================================================
   BRAND LOGO INTEGRATION (PRELOADER)
============================================================ */

.preloader-img-logo {
  width: 160px; /* Increased from 76px for maximum authority */
  height: auto;
  margin-bottom: 24px;
  mix-blend-mode: screen; 
  opacity: 0; 
  animation: fade-up 0.8s forwards 0.1s; 
  filter: drop-shadow(0px 8px 24px rgba(201,168,76,0.25)); 
}

/* ============================================================
   BRAND LOGO INTEGRATION (PRELOADER)
============================================================ */

.preloader-brand{
  font-family: 'Syne', sans-serif; /* Upgraded to bold sans-serif architecture */
  font-size: 2rem; 
  font-weight: 600; /* Maximized thickness to match the new identity */
  color: var(--off);
  letter-spacing: -0.03em; /* Tightened kerning slightly for that premium geometric lockup */
  line-height: 1; 
  margin-bottom: 12px;
  opacity: 0; 
  animation: fade-up 0.8s forwards 0.2s;
}
/* ============================================================
   BRAND LOGO INTEGRATION (NAVBAR) - BOLD LUXURY LOCKUP
============================================================ */
.nav-logo {
  display: flex;        
  align-items: center;  
  gap: 14px; /* Tight, punchy spacing. No vertical lines. */
  text-decoration: none;
}

.nav-img-logo {
  width: 48px; /* Sized up to perfectly combat the heavy font weight */
  height: auto;
  mix-blend-mode: screen;
  filter: drop-shadow(0px 4px 14px rgba(201,168,76,0.25)); /* Deep ambient glow */
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.nav-logo span {
  font-family: 'Syne', sans-serif; /* Back to your original, aggressive brand font */
  font-weight: 800; /* Maximum boldness */
  font-size: 1.3rem; /* Scaled up for dominance */
  letter-spacing: -0.03em; /* CRITICAL: This tight kerning is what makes heavy fonts look expensive and custom-built */
  color: var(--off);
  transition: color 0.4s ease;
}

/* Premium micro-interactions */
.nav-logo:hover .nav-img-logo {
  transform: scale(1.08) rotate(3deg); 
}

.nav-logo:hover span {
  color: #ffffff;
}
/* ============================================================
   BRAND LOGO INTEGRATION (FOOTER)
============================================================ */
.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800; 
  font-size: 1rem;
  color: var(--off); 
  text-decoration: none;
  display: flex;        
  align-items: center;  
  gap: 10px;            
}

.footer-img-logo {
  width: 28px;
  height: auto;
  mix-blend-mode: screen;
  /* Slightly muted resting state for correct visual hierarchy */
  filter: grayscale(30%) opacity(0.8); 
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.footer-logo:hover .footer-img-logo {
  /* Ignites full color and size on hover */
  filter: grayscale(0%) opacity(1) drop-shadow(0px 4px 12px rgba(201,168,76,0.2));
  transform: scale(1.08);
}


/* ============================================================
   LIVE DASHBOARD (DDP COMMAND CENTER)
   Isolated Namespace: .ddp-dashboard
============================================================ */
.ddp-dashboard {
  --dash-teal: var(--green);
  --dash-teal-dim: rgba(74, 222, 128, 0.1);
  --dash-rose: var(--red);
  --dash-rose-dim: rgba(224, 92, 75, 0.1);
  --dash-lav: #A78BFA;
  --dash-lav-dim: rgba(167, 139, 250, 0.1);
  
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}

.ddp-dashboard * { box-sizing: border-box; }

/* ============================================================
   TOP BAR
============================================================ */
.dash-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 4px; flex-wrap: wrap; gap: 12px;
}
.dash-brand { display: flex; align-items: center; gap: 14px; }
.dash-logo {
  width: 36px; height: 36px; background: var(--gold);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
}
.dash-logo svg { width: 18px; height: 18px; }
.dash-name {
  font-family: 'Syne', sans-serif; font-size: 1.2rem; font-weight: 800;
  letter-spacing: -0.02em; color: var(--off); display: flex; align-items: baseline; gap: 8px;
}
.dash-sub-brand {
  font-family: 'DM Sans', sans-serif; font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.05em; color: var(--muted2); text-transform: uppercase;
}
.dash-meta {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.75rem; color: var(--muted); margin-left: auto;
  font-family: 'DM Sans', sans-serif;
}
.dash-live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--dash-teal); box-shadow: 0 0 8px var(--dash-teal);
  animation: pulse-dash 2s infinite;
}
@keyframes pulse-dash { 
  0%,100% { opacity:1; transform:scale(1); } 
  50% { opacity:0.4; transform:scale(0.8); } 
}

/* ============================================================
   GRID & GLOBAL CARDS
============================================================ */
.dash-main-grid {
  display: grid; grid-template-columns: 280px 1fr 260px; gap: 20px;
}
.dash-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
}
.dash-card-header {
  padding: 16px 20px 12px; border-bottom: 1px solid var(--border);
}
.dash-card-title {
  font-family: 'Syne', sans-serif; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}

/* ============================================================
   LEFT PANEL (CLIENT INFO)
============================================================ */
.dash-left-panel { display: flex; flex-direction: column; gap: 16px; }
.dash-client-card { padding: 24px 20px; }
.dash-avatar-row { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.dash-avatar {
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1rem;
}
.dash-client-name {
  font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700;
  margin-bottom: 2px; color: var(--off);
}
.dash-client-handle { font-family: 'DM Sans', sans-serif; font-size: 0.7rem; color: var(--muted2); }
.dash-info-row { display: flex; flex-direction: column; gap: 14px; }
.dash-info-item { display: flex; flex-direction: column; gap: 4px; }
.dash-info-label {
  font-family: 'Syne', sans-serif; font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.dash-info-value { font-family: 'DM Sans', sans-serif; font-size: 0.85rem; color: var(--off); font-weight: 500; }
.dash-badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px;
  border-radius: 99px; font-size: 0.65rem; font-weight: 700; font-family: 'Syne', sans-serif; text-transform: uppercase;
}
.dash-badge-dot { width:6px; height:6px; border-radius:50%; }
.dash-badge-active { background: var(--dash-teal-dim); color: var(--dash-teal); }
.dash-badge-active .dash-badge-dot { background: var(--dash-teal); }

.dash-manager-row { display: flex; align-items: center; gap: 14px; padding: 20px; }
.dash-manager-avatar {
  width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: var(--bg3);
}
.dash-manager-avatar img { width:100%; height:100%; object-fit:cover; filter: grayscale(20%); }
.dash-manager-name { font-family: 'Syne', sans-serif; font-size: 0.85rem; font-weight: 700; color: var(--off); }
.dash-manager-role { font-family: 'DM Sans', sans-serif; font-size: 0.7rem; color: var(--muted2); margin-top: 2px; }
.dash-manager-badge {
  margin-left: auto; background: var(--dash-teal-dim); color: var(--dash-teal);
  padding: 4px 8px; border-radius: 4px; font-size: 0.65rem; font-weight: 700; font-family: 'Syne', sans-serif;
}

/* ============================================================
   CENTER PANEL (LIVE FEED WITH MAX LEGIBILITY)
============================================================ */
.dash-center-panel { display: flex; flex-direction: column; }
.dash-feed-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid var(--border);
}
.dash-feed-title-group { display: flex; align-items: center; gap: 12px; }
.dash-feed-icon {
  width: 30px; height: 30px; border-radius: 6px; background: var(--gold-dim);
  display: flex; align-items: center; justify-content: center;
}
.dash-feed-title { font-family: 'Syne', sans-serif; font-size: 0.95rem; font-weight: 700; color: var(--white); }
.dash-feed-tabs { display: flex; gap: 8px; }
.dash-feed-tab {
  padding: 6px 12px; border-radius: 4px; font-size: 0.7rem; font-weight: 700; cursor: pointer;
  border: 1px solid transparent; color: var(--muted); background: transparent; transition: all 0.2s;
  font-family: 'Syne', sans-serif; text-transform: uppercase; letter-spacing: 0.05em;
}
.dash-feed-tab.active { background: rgba(255,255,255,0.06); color: var(--white); border-color: var(--border2); }
.dash-feed-tab:hover:not(.active) { color: var(--off); }

.dash-feed-list {
  flex: 1; overflow-y: auto; max-height: 400px; padding: 16px 24px;
  display: flex; flex-direction: column; gap: 16px; scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.dash-feed-item {
  background: rgba(255,255,255,0.02); border-radius: 8px; padding: 16px;
  display: flex; gap: 14px; align-items: flex-start;
  animation: slideInDash 0.35s cubic-bezier(0.19, 1, 0.22, 1);
  border: 1px solid transparent; transition: all 0.3s ease;
}
.dash-feed-item:hover { background: rgba(255,255,255,0.04); transform: translateY(-2px); border-color: var(--border2); }
.dash-feed-item.new-item { border-color: var(--dash-teal-dim); background: rgba(74,222,128,0.03); }

@keyframes slideInDash {
  from { opacity:0; transform:translateY(-8px); }
  to   { opacity:1; transform:translateY(0); }
}

.dash-feed-user-avatar {
  width: 40px; height: 40px; border-radius: 8px; flex-shrink: 0; overflow: hidden; background: var(--bg3);
}
.dash-feed-content { flex: 1; min-width: 0; }
.dash-feed-top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.dash-feed-type-chip {
  display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 4px;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-family: 'Syne', sans-serif;
}
.dash-chip-review   { background: var(--gold-dim); color: var(--gold); }
.dash-chip-comment  { background: var(--dash-teal-dim); color: var(--dash-teal); }
.dash-chip-dm       { background: var(--dash-lav-dim); color: var(--dash-lav); }

.dash-feed-username { font-size: 0.9rem; font-weight: 700; color: var(--white); font-family: 'Syne', sans-serif; }
.dash-feed-time     { margin-left: auto; font-size: 0.75rem; color: var(--muted2); font-family: 'DM Sans', sans-serif; }
.dash-feed-text {
  font-size: 0.95rem; 
  color: rgba(255, 255, 255, 0.85); 
  line-height: 1.6; 
  font-family: 'DM Sans', sans-serif; 
  font-weight: 400; 
}

.dash-platform-row {
  padding: 16px 24px; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 10px; background: rgba(0,0,0,0.2);
}
.dash-platform-chip {
  display: flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 99px;
  font-size: 0.7rem; font-weight: 600; cursor: pointer; border: 1px solid var(--border);
  background: transparent; color: var(--muted2); font-family: 'Syne', sans-serif; transition: all 0.3s;
}
.dash-platform-chip.on { background: rgba(255,255,255,0.05); color: var(--off); border-color: var(--border2); }
.dash-platform-dot { width: 6px; height: 6px; border-radius: 50%; }

/* ============================================================
   RIGHT PANEL (KPIs)
============================================================ */
.dash-right-panel { display: flex; flex-direction: column; gap: 16px; }
.dash-kpi-card { padding: 20px; position: relative; background: rgba(255,255,255,0.01); transition: transform 0.3s; }
.dash-kpi-card::before { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%; border-radius: 2px 0 0 2px; }
.dash-kpi-card:hover { transform: translateX(-4px); background: rgba(255,255,255,0.02); }

.dash-kpi-gold::before  { background: var(--gold); }
.dash-kpi-teal::before  { background: var(--dash-teal); }
.dash-kpi-rose::before  { background: var(--dash-rose); }
.dash-kpi-lav::before   { background: var(--dash-lav); }

.dash-kpi-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 12px; }
.dash-kpi-label { font-family: 'Syne', sans-serif; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.dash-kpi-icon { width: 28px; height: 28px; border-radius: 6px; display: flex; align-items: center; justify-content: center; }
.dash-kpi-icon svg { width: 14px; height: 14px; }
.dash-icon-gold { background: var(--gold-dim); color: var(--gold); }
.dash-icon-teal { background: var(--dash-teal-dim); color: var(--dash-teal); }
.dash-icon-rose { background: var(--dash-rose-dim); color: var(--dash-rose); }
.dash-icon-lav  { background: var(--dash-lav-dim); color: var(--dash-lav); }

.dash-kpi-value {
  font-family: 'Poppins', serif; font-size: 1.8rem; font-weight: 800; line-height: 1; margin-bottom: 12px; color: var(--off);
}
.dash-kpi-gold .dash-kpi-value { color: var(--gold); }
.dash-kpi-progress { height: 3px; background: var(--border2); border-radius: 99px; overflow: hidden; margin-bottom: 10px; }
.dash-kpi-bar { height: 100%; border-radius: 99px; transition: width 1s cubic-bezier(0.19, 1, 0.22, 1); }
.dash-bar-gold { background: var(--gold); }
.dash-bar-teal { background: var(--dash-teal); }
.dash-bar-rose { background: var(--dash-rose); }
.dash-bar-lav  { background: var(--dash-lav); }

/* ============================================================
   TOASTS (HIGH CONTRAST & READABILITY)
============================================================ */
.dash-toast-container { position: absolute; top: 24px; right: 24px; z-index: 100; display: flex; flex-direction: column; gap: 12px; pointer-events: none; }
.dash-toast {
  background: rgba(10, 10, 10, 0.98); border: 1px solid var(--border2); border-radius: 10px; padding: 18px 22px;
  display: flex; align-items: center; gap: 16px; box-shadow: 0 12px 40px rgba(0,0,0,0.9);
  animation: toastInDash 0.4s cubic-bezier(0.19, 1, 0.22, 1) forwards; backdrop-filter: blur(12px); min-width: 280px; max-width: 360px;
}
.dash-toast.hiding { animation: toastOutDash 0.3s forwards; }
@keyframes toastInDash { from { opacity:0; transform: translateX(20px); } to { opacity:1; transform: translateX(0); } }
@keyframes toastOutDash { from { opacity:1; transform: translateX(0); } to { opacity:0; transform: translateX(20px); } }

.dash-toast-icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dash-toast-icon svg { width: 18px; height: 18px; }

.dash-toast-title { 
  font-family: 'Syne', sans-serif; 
  font-size: 0.9rem; 
  font-weight: 700; 
  margin-bottom: 4px; 
  color: var(--white); 
}
.dash-toast-msg { 
  font-family: 'DM Sans', sans-serif; 
  font-size: 0.85rem; 
  color: var(--off); 
  line-height: 1.5; 
  font-weight: 400; 
}

/* ============================================================
   RESPONSIVE OVERRIDES
============================================================ */
@media (max-width: 1080px) {
  .dash-main-grid { grid-template-columns: 1fr; }
  .dash-right-panel { display: grid; grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .dash-right-panel { grid-template-columns: 1fr; }
}



/* ============================================================
   DDP Agency Dashboard Styles
============================================================ */

:root {
  --ddp-bg-black: #0d0d0d;
  --ddp-card-bg: #111111;
  --ddp-text-gold: #c9a84c;
  --ddp-accent-gold: #e8c96d;
  --ddp-border-color: #333333;
  --ddp-positive-green: #4ade80;
  --r-window: 12px;
  --r-card: 16px;
}

.agency-dashboard-section {
  background-color: var(--ddp-bg-black);
  padding: 80px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'DM Sans', sans-serif; /* Recommended font for this look */
}

.dashboard-window-frame {
  width: 100%;
  max-width: 1200px;
  background-color: var(--ddp-card-bg);
  border: 1px solid var(--ddp-border-color);
  border-radius: var(--r-window);
  box-shadow: 0 40px 100px rgba(0,0,0,0.8);
  overflow: hidden;
}

/* Browser-style Top Bar */
.dashboard-topbar {
  background-color: #1a1a1a;
  padding: 10px 20px;
  display: grid;
  grid-template-columns: 100px 1fr 100px;
  align-items: center;
  border-bottom: 1px solid var(--ddp-border-color);
}

.browser-controls {
  display: flex;
  gap: 8px;
}

.control-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.control-dot.red { background-color: #ff5f56; }
.control-dot.yellow { background-color: #ffbd2e; }
.control-dot.green { background-color: #27c93f; }

.url-bar {
  grid-column: 2;
  background-color: var(--ddp-bg-black);
  padding: 6px 15px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #888888;
  font-size: 14px;
}

/* Dashboard Container */
.dashboard-container {
  display: flex;
  height: 650px;
}

/* Sidebar */
.dashboard-sidebar {
  width: 220px;
  padding: 30px;
  border-right: 1px solid var(--ddp-border-color);
}

.sidebar-logo {
  font-size: 24px;
  font-weight: bold;
  color: var(--ddp-text-gold);
  margin-bottom: 50px;
}

.sidebar-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-nav li {
  color: #aaaaaa;
  padding: 12px 15px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  transition: all 0.3s ease;
}

.sidebar-nav li:hover {
  background-color: rgba(201, 168, 76, 0.1);
  color: var(--ddp-text-gold);
}

.sidebar-nav li.active {
  background-color: rgba(201, 168, 76, 0.15);
  color: var(--ddp-accent-gold);
  font-weight: 500;
}

/* Main Content */
.dashboard-content {
  flex: 1;
  padding: 40px;
  background-color: var(--ddp-bg-black);
  overflow-y: auto;
}

/* KPI Cards */
.kpi-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}

.kpi-card {
  background-color: var(--ddp-card-bg);
  padding: 25px;
  border-radius: var(--r-card);
  border: 1px solid transparent; /* Placeholder for gradient border */
  position: relative;
}

/* Gold Gradient Border effect */
.gold-gradient-border {
  border: 1px solid var(--ddp-border-color);
  background-clip: padding-box;
}

.gold-gradient-border:after {
  content: '';
  position: absolute;
  top: -1px; bottom: -1px;
  left: -1px; right: -1px;
  background: linear-gradient(135deg, var(--ddp-text-gold), var(--ddp-accent-gold), transparent, var(--ddp-text-gold));
  border-radius: calc(var(--r-card) + 1px);
  z-index: -1;
  opacity: 0.3;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.card-title {
  font-size: 12px;
  color: #888888;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card-icon {
  font-size: 18px;
  color: var(--ddp-text-gold);
}

.card-value {
  font-size: 32px;
  font-weight: bold;
  color: var(--ddp-accent-gold);
  margin-bottom: 10px;
}

.card-stats {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.positive-growth .growth-icon,
.positive-growth .growth-value {
  color: var(--ddp-positive-green);
}

.stat-period {
  color: #888888;
}

/* Graph Section */
.graph-section {
  background-color: var(--ddp-card-bg);
  padding: 30px;
  border-radius: var(--r-card);
}

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

.graph-title {
  font-size: 18px;
  font-weight: 500;
  color: var(--ddp-accent-gold);
  margin: 0 0 5px 0;
}

.graph-subtitle {
  font-size: 14px;
  color: #888888;
  margin: 0;
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #aaaaaa;
  font-size: 14px;
}

.live-dot {
  width: 8px;
  height: 8px;
  background-color: var(--ddp-positive-green);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.graph-container {
  height: 250px;
  position: relative;
}



/* ============================================================
   MILLION DOLLAR SERVICES SECTION STYLES
============================================================ */
.elite-services-wrapper {
  display: flex;
  flex-direction: column;
  gap: 180px; /* Massive luxury breathing room */
}

.elite-service-block {
  display: flex;
  align-items: center;
  gap: 80px;
  position: relative;
  z-index: 1;
}

/* Alternate row direction for the editorial zigzag look */
.elite-service-block:nth-child(even) {
  flex-direction: row-reverse;
}

.es-content {
  flex: 1;
  position: relative;
  z-index: 2;
}

/* ============================================================
   WATERMARK NUMBERS - ALL LOCKED TO THE RIGHT
============================================================ */
.es-num-watermark {
  position: absolute;
  top: -90px;
  left: auto !important;   /* Strips away any left alignment */
  right: -20px !important; /* Locks EVERY number to the right side of the text */
  font-family: 'Playfair Display', serif;
  font-size: clamp(8rem, 12vw, 14rem);
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 168, 76, 0.12);
  z-index: -1;
  pointer-events: none;
  line-height: 1;
  letter-spacing: -0.05em;
  transition: all 0.8s ease;
}

/* Force the Even rows (02, 04) to obey the right-side alignment */
.elite-service-block:nth-child(even) .es-num-watermark {
  left: auto !important;
  right: -20px !important;
}

/* The Hover Effect Adjustment */
.elite-service-block:hover .es-num-watermark {
  transform: translateY(-15px);
  -webkit-text-stroke: 1px rgba(201, 168, 76, 0.3);
}

/* ============================================================
   MOBILE OVERRIDE FIX FOR UNIFORM ALIGNMENT
============================================================ */
@media (max-width: 1024px) {
  .es-num-watermark,
  .elite-service-block:nth-child(even) .es-num-watermark { 
    top: -60px; 
    left: auto !important; 
    right: -20px !important; 
    font-size: 8rem; 
  }
}
.es-badge {
  display: inline-block;
  font-family: 'Syne', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  border: 1px solid var(--gold-border);
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--gold-dim);
}

.es-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 700;
  color: var(--off);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.es-title span {
  color: var(--gold);
  font-style: italic;
  font-weight: 600;
}

.es-desc {
  font-size: 1.05rem;
  color: var(--muted2);
  line-height: 1.8;
  margin-bottom: 32px;
  font-weight: 300;
  max-width: 95%;
}

/* Ultra-Premium Data Metrics */
.es-metrics-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 28px;
  backdrop-filter: blur(10px);
}

.es-metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.es-m-val {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--off);
  line-height: 1;
}

.es-m-lbl {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.es-metric-divider {
  width: 1px;
  height: 30px;
  background: var(--border2);
}

/* Service Tags */
.es-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.es-tags span {
  font-family: 'Syne', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 4px;
  background: transparent;
  border: 1px solid var(--border2);
  color: var(--muted);
  transition: all 0.4s ease;
}

.elite-service-block:hover .es-tags span {
  border-color: var(--gold-border);
  color: var(--off);
}

/* ============================================================
   3D HOVER GALLERY ARCHITECTURE
============================================================ */
.es-gallery {
  flex: 1.1;
  height: 550px;
  position: relative;
  transform-style: preserve-3d;
  perspective: 1500px; /* Deep perspective for the 3D effect */
  z-index: 5;
}

.es-img {
  position: absolute;
  border-radius: 12px;
  background: var(--bg2);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
  transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.8s ease, filter 0.8s ease;
}

.es-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(60%) contrast(1.1) brightness(0.8);
  transition: filter 0.8s cubic-bezier(0.19, 1, 0.22, 1), transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Hovering the block restores color and zooms */
.elite-service-block:hover .es-img img {
  filter: grayscale(0%) contrast(1) brightness(1);
  transform: scale(1.08);
}

/* Positioning the 4 Images */
.es-img-main {
  width: 65%;
  height: 80%;
  top: 10%;
  left: 17.5%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 2;
  transform: translateZ(0);
}

.es-img-2 {
  width: 35%;
  height: 40%;
  top: -5%;
  right: 5%;
  border: 1px solid var(--gold-border);
  z-index: 4;
  transform: translateZ(40px);
}

.es-img-3 {
  width: 40%;
  height: 35%;
  bottom: -5%;
  left: 5%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 3;
  transform: translateZ(70px);
}

.es-img-4 {
  width: 25%;
  height: 30%;
  bottom: 15%;
  right: -2%;
  border: 1px solid var(--gold-border);
  z-index: 1;
  filter: brightness(0.5);
  transform: translateZ(-40px);
}

/* The Explosion / Fanning Out Hover Effect */
.elite-service-block:hover .es-img-main {
  box-shadow: 0 40px 80px rgba(201, 168, 76, 0.15);
}

.elite-service-block:hover .es-img-2 {
  transform: translateZ(80px) translate(25px, -25px) rotate(4deg);
  box-shadow: -20px 30px 60px rgba(0, 0, 0, 0.9);
}

.elite-service-block:hover .es-img-3 {
  transform: translateZ(100px) translate(-25px, 20px) rotate(-3deg);
  box-shadow: 20px -20px 60px rgba(0, 0, 0, 0.9);
}

.elite-service-block:hover .es-img-4 {
  transform: translateZ(-20px) translate(20px, 15px);
  filter: brightness(0.9);
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .elite-services-wrapper { gap: 120px; }
  .elite-service-block, .elite-service-block:nth-child(even) { 
    flex-direction: column; 
    gap: 60px; 
  }
  .es-num-watermark { top: -60px; left: -20px; font-size: 8rem; }
  .elite-service-block:nth-child(even) .es-num-watermark { right: auto; left: -20px; }
  .es-gallery { width: 100%; height: 450px; }
  .es-metrics-row { flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .es-gallery { height: 350px; }
  .es-img-2, .es-img-3, .es-img-4 { display: none; } /* Focus entirely on main image for mobile speeds */
  .es-img-main { width: 100%; height: 100%; top: 0; left: 0; }
  .es-metrics-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .es-metric-divider { width: 100%; height: 1px; }
}


/* ============================================================
   SERVICE TRIGGER BUTTONS
============================================================ */
.btn-service-trigger {
  background: transparent;
  border: 1px solid var(--border2);
  border-radius: 8px;
  padding: 16px 32px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  position: relative;
  overflow: hidden;
}

.btn-service-trigger::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(201,168,76,0), rgba(201,168,76,0.1), rgba(201,168,76,0));
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn-service-trigger:hover::before {
  transform: translateX(100%);
}

.btn-service-trigger:hover {
  border-color: var(--gold-border);
  background: rgba(255, 255, 255, 0.02);
  transform: translateY(-2px);
}

.btn-text {
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--off);
  transition: color 0.3s;
}

.btn-arrow {
  color: var(--gold);
  font-size: 1.1rem;
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.btn-service-trigger:hover .btn-text { color: var(--gold2); }
.btn-service-trigger:hover .btn-arrow { transform: translateX(6px); }


/* ============================================================
   DYNAMIC MODAL ARCHITECTURE
============================================================ */
.ddp-service-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.ddp-service-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.ddp-service-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.ddp-service-modal {
  position: relative;
  width: 100%;
  max-width: 1000px;
  background: #0f0f11;
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 20px;
  box-shadow: 0 40px 100px -10px rgba(0,0,0,0.9), 0 0 40px rgba(201, 168, 76, 0.05);
  z-index: 2;
  overflow: hidden;
  
  /* The Entrance Animation Start State */
  transform: scale(0.95) translateY(20px);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.6s ease;
}

.ddp-service-modal-overlay.active .ddp-service-modal {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* Close Button */
.ddp-modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s;
}

.ddp-modal-close:hover {
  color: var(--gold);
  transform: scale(1.1) rotate(90deg);
}

/* Grid Layout */
.ddp-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
}

.ddp-modal-left {
  padding: 64px 48px;
  background: linear-gradient(135deg, rgba(201,168,76,0.03) 0%, transparent 100%);
  border-right: 1px solid rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ddp-modal-right {
  padding: 64px 48px;
  background: #121214;
}

/* Left Content */
.ddp-modal-badge {
  display: inline-block;
  align-self: flex-start;
  font-family: 'Syne', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-border);
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--gold-dim);
  margin-bottom: 24px;
}

.ddp-modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--off);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.ddp-modal-desc {
  font-size: 0.95rem;
  color: var(--muted2);
  line-height: 1.7;
  margin-bottom: 40px;
  font-weight: 300;
}

.ddp-modal-cta {
  align-self: flex-start;
  padding: 18px 40px;
  font-size: 0.85rem;
}

/* Right Content */
.ddp-modal-section-title {
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--off);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pulse-dot-small {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--gold);
}

.ddp-modal-deliverables {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ddp-modal-deliverables li {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--muted2);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.5;
}

.ddp-modal-deliverables li::before {
  content: '✓';
  color: var(--green);
  font-weight: 900;
  font-size: 0.8rem;
  margin-top: 2px;
  background: rgba(74,222,128,0.1);
  border: 1px solid rgba(74,222,128,0.2);
  width: 18px;
  height: 18px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ddp-modal-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ddp-modal-keywords span {
  font-family: 'Syne', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.mt-40 { margin-top: 40px; }

/* Responsive Modal */
@media (max-width: 900px) {
  .ddp-modal-grid { grid-template-columns: 1fr; }
  .ddp-modal-left { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.05); padding: 40px 32px; }
  .ddp-modal-right { padding: 40px 32px; }
  .ddp-service-modal { max-height: 90vh; overflow-y: auto; }
}


/* ============================================================
   TRUST SECTION: MILLION DOLLAR MARQUEE
============================================================ */
.elite-trust-section {
  padding: 140px 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Background Atmospheric Glow */
.elite-trust-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  height: 60%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(201, 168, 76, 0.04) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
}

.trust-header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  z-index: 2;
}

.trust-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--off);
  letter-spacing: -0.02em;
}

.trust-title em {
  font-style: italic;
  color: var(--gold);
}

/* ============================================================
   MARQUEE TRACK ARCHITECTURE
============================================================ */
.marquee-master-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  
  /* The Cinematic Fade Edges - Makes logos materialize out of darkness */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}

.marquee-track-container {
  display: flex;
  overflow: hidden;
  width: 100%;
}

.mt-24 { margin-top: 24px; }

.marquee-track {
  display: flex;
  width: max-content;
  /* Hardware Acceleration for Butter Smooth 60fps */
  will-change: transform;
}

/* The Left & Right Animations */
.track-left {
  animation: scroll-left 30s linear infinite;
}

.track-right {
  animation: scroll-right 30s linear infinite;
}

/* Pause the massive engine when the user hovers */
.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  gap: 24px;
  padding-right: 24px; /* Matches the gap so the loop is mathematically seamless */
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scroll-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* ============================================================
   PREMIUM TRUST CARDS
============================================================ */
.trust-card {
  width: 320px; /* Forces exactly 4 cards into view on most desktop screens */
  height: 200px;
  background: rgba(255, 255, 255, 0.015);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  cursor: pointer;
  overflow: hidden;
}

/* The Internal Glow Sweep */
.trust-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.1), transparent);
  transform: skewX(-20deg);
  transition: all 0.6s ease;
}

.trust-card:hover::before {
  left: 200%;
}

/* Card Hover Physics */
.trust-card:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(201, 168, 76, 0.4);
  box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.6), 0 0 20px rgba(201, 168, 76, 0.1);
}

/* ============================================================
   PREMIUM LOGO IMAGE INTEGRATION
============================================================ */
/* ============================================================
   PREMIUM LOGO IMAGE INTEGRATION (FULL COLOR & EXPANDED)
============================================================ */
.brand-logo-img {
  max-width: 85%;      /* Expanded from 65% for maximum authority */
  max-height: 70%;     /* Expanded from 50% for maximum visibility */
  object-fit: contain; /* Ensures they never stretch or distort */
  
  /* Removed grayscale & dimming — displaying full original colors */
  filter: none;
  opacity: 1;
  
  position: relative;
  z-index: 2;
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  will-change: transform;
}

/* The Clean, Normalized Hover Effect */
.trust-card:hover .brand-logo-img {
  /* Only a very subtle, premium zoom. No crazy color flashing. */
  transform: scale(1.04); 
}
.brand-accent {
  color: var(--gold);
}

.trust-card:hover .brand-text {
  color: var(--off);
  filter: grayscale(0%);
  transform: scale(1.05);
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .trust-card { width: 280px; height: 100px; }
  .brand-text { font-size: 1.1rem; }
}
@media (max-width: 600px) {
  .trust-card { width: 240px; height: 90px; }
  .brand-text { font-size: 0.95rem; }
  /* Speed it up slightly on mobile so it doesn't feel stagnant */
  .track-left { animation-duration: 20s; }
  .track-right { animation-duration: 20s; }
}




/* ============================================================
   MILLION DOLLAR STACKING CERTIFICATIONS (SCROLL PHYSICS)
============================================================ */
.premium-certs-section {
  position: relative;
  z-index: 2;
  overflow: visible; 
}

.cert-stack-wrapper {
  display: flex;
  flex-direction: column;
  gap: 60vh; /* Dropped slightly from 80 to 60 for a tighter scroll feel */
  padding-bottom: 20vh; 
  margin-top: 80px;
}

.cert-stack-card {
  position: sticky;
  /* Pulled up higher (8vh) to guarantee the bottom has maximum space */
  top: calc(10vh + (var(--stack-idx) * 15px)); 
  cursor: zoom-in;
  will-change: transform;
}

.cert-stack-inner {
  background: #0f0f11;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 40px;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: stretch;
  box-shadow: 0 -40px 80px rgba(0,0,0,0.95), 0 0 0 1px rgba(201, 168, 76, 0.05);
  transition: border-color 0.4s ease, transform 0.4s ease;
  
  /* THE FIX: Lock the maximum height to the viewport. It can never be taller than your screen. */
  max-height: 82vh; 
  overflow: hidden; 
}

/* Force the image container to calculate its size based on the new max-height limit */
.cert-stack-image {
  position: relative;
  width: 100%;
  height: 100%; 
  /* 82vh minus the 80px total top/bottom padding of the card */
  max-height: calc(82vh - 80px); 
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.03);
  display: flex; /* Flexbox centers the image perfectly if it scales down */
  align-items: center;
  justify-content: center;
}

.cert-stack-image img {
  width: 100%;
  height: 100%;
  /* 'contain' ensures the whole certificate scales down without getting cropped or warped */
  object-fit: contain; 
  filter: grayscale(40%) contrast(1.1);
  transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Premium Hover State */
.cert-stack-card:hover .cert-stack-inner {
  border-color: rgba(201, 168, 76, 0.3);
}

/* Typography Panel */
.cert-stack-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding-right: 40px;
}

.stack-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 24px;
  letter-spacing: 0.1em;
}

.stack-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--off);
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.stack-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--muted2);
  line-height: 1.6;
  margin-bottom: 32px;
}

.stack-badge {
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--off);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

/* ============================================================
   CERTIFICATIONS: ZERO-CROP / ZERO-EMPTY-SPACE ARCHITECTURE
============================================================ */

/* The Subtle Image Zoom */
.cert-stack-card:hover .cert-stack-image img {
  filter: grayscale(0%) contrast(1);
  /* Optional: If you want a slight hover scale, keep this. If not, remove it. */
  transform: scale(1.03); 
}

/* Minimal "Click to Enlarge" hint */
.stack-zoom-hint {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: rgba(8, 8, 8, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(201, 168, 76, 0.3);
  color: var(--gold);
  padding: 8px 16px;
  border-radius: 100px;
  font-family: 'Syne', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
}

.cert-stack-card:hover .stack-zoom-hint {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Adjustments */
@media (max-width: 1024px) {
  .cert-stack-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 24px;
  }
  .cert-stack-meta {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-right: 0;
    padding-bottom: 32px;
  }
  .cert-stack-image { height: 260px; }
  .stack-title { font-size: 2rem; }
}



/* ============================================================
   INTEGRATIONS & TECH STACK (ALIGNED & CONSTRAINED)
============================================================ */

/* The Container bounds the marquee so it doesn't break the layout */
#integrations .marquee-master-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px; /* Perfectly aligns with your section-inner */
  margin: 0 auto;    /* Absolute dead-center alignment */
  overflow: hidden;
  
  /* Deep, smooth fade-out masks for premium edge-blending */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 15%, #000 85%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 15%, #000 85%, transparent 100%);
}

.integration-link {
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
}

.integration-link:hover {
  color: var(--gold2);
  border-bottom: 1px solid var(--gold2);
}

.integration-link .arrow {
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.integration-link:hover .arrow {
  transform: translateX(6px);
}

/* ============================================================
   PREMIUM INTEGRATION CARDS
============================================================ */
.integration-card {
  width: 160px; /* Refined width for pill proportion */
  height: 110px;
  background: rgba(255, 255, 255, 0.015);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  
  /* Subtle inner glow for depth */
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.01);
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  cursor: default;
}

.integration-card:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(201, 168, 76, 0.4);
  box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(201, 168, 76, 0.03);
}

.int-icon {
  width: 32px;
  height: 32px;
  color: var(--muted);
  transition: all 0.4s ease;
}

.integration-card:hover .int-icon {
  color: var(--gold);
  transform: scale(1.1);
  filter: drop-shadow(0 0 10px rgba(201, 168, 76, 0.3));
}

.int-label {
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--muted2);
  transition: color 0.3s ease;
}

.integration-card:hover .int-label {
  color: var(--off);
}


/* ============================================================
   APPLICATION PORTAL & FORM STYLING
============================================================ */
.ddp-contact-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.ddp-contact-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.ddp-contact-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.ddp-contact-modal {
  position: relative;
  width: 100%;
  max-width: 1100px;
  background: #0f0f11;
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 20px;
  box-shadow: 0 40px 100px -10px rgba(0,0,0,0.9), 0 0 50px rgba(201, 168, 76, 0.05);
  z-index: 2;
  overflow: hidden;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.ddp-contact-modal-overlay.active .ddp-contact-modal {
  transform: scale(1) translateY(0);
}

.ddp-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
}

.ddp-contact-left {
  padding: 64px 48px;
  background: linear-gradient(135deg, rgba(201,168,76,0.03) 0%, transparent 100%);
  border-right: 1px solid rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
}

.contact-trust-info {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.ct-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--muted2);
}

.ct-item svg { width: 18px; height: 18px; color: var(--gold); }

.ddp-contact-right {
  padding: 64px 48px;
  background: #121214;
  position: relative;
}

/* --- FORM FIELDS --- */
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.input-group {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-group label {
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.input-group input, 
.input-group select, 
.input-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--off);
  transition: all 0.3s ease;
  outline: none;
}

.input-group input::placeholder, 
.input-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

.input-group input:focus, 
.input-group select:focus, 
.input-group textarea:focus {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.02);
  box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.1);
}

/* Custom Select Dropdown Arrow */
.input-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23c9a84c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  cursor: pointer;
}

.input-group select option {
  background: #121214;
  color: var(--off);
}

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

/* --- SUCCESS STATE --- */
.form-success-state {
  position: absolute;
  inset: 0;
  background: #121214;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
  z-index: 10;
}

.form-success-state.active {
  opacity: 1;
  pointer-events: auto;
}

.success-icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.success-icon-wrap svg { width: 40px; height: 40px; }

.success-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: var(--off);
  margin-bottom: 12px;
}

.success-desc {
  font-size: 1rem;
  color: var(--muted2);
  line-height: 1.6;
  max-width: 400px;
}

/* Mobile Overrides */
@media (max-width: 900px) {
  .ddp-contact-grid { grid-template-columns: 1fr; }
  .ddp-contact-left { padding: 40px 32px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .ddp-contact-right { padding: 40px 32px; }
  .form-row-2 { grid-template-columns: 1fr; gap: 0; }
  .ddp-contact-modal { max-height: 90vh; overflow-y: auto; }
}


