/**
 * SYNCTONIC LABS (synctonic.net) — Custom Agency Stylesheet
 * Built on the Synctonic CSS Liquid Glass Framework (v0.2.0)
 * ------------------------------------------------------------------
 * Color Profile: Deep Dark Blue - Black with Specular Ambient Refraction
 * Typography: Outfit (Headlines) + Plus Jakarta Sans (UI/Body) + JetBrains Mono (Code/Stats)
 * Rule Enforcement: Zero dots or circles inside pills or anywhere else.
 * ------------------------------------------------------------------
 */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Brand Typography */
  --agency-font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --agency-font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --agency-font-mono: 'JetBrains Mono', monospace;

  /* Custom Deep Blue-Black Palette Overrides */
  --sync-bg: #030712;
  --sync-bg-rgb: 3, 7, 18;
  --sync-surface: #070b18;
  --sync-surface-rgb: 7, 11, 24;
  --sync-surface-hover: #0c142e;
  --sync-surface-hover-rgb: 12, 20, 46;

  --sync-text: #f8fafc;
  --sync-text-muted: #94a3b8;
  --sync-text-subtle: #64748b;

  --sync-accent: #3b82f6;
  --sync-accent-rgb: 59, 130, 246;
  --sync-accent-2: #8b5cf6;
  --sync-accent-2-rgb: 139, 92, 246;
  --sync-accent-cyan: #06b6d4;

  /* Deep Liquid Glass Specular Values */
  --sync-liquid-bg: rgba(9, 14, 30, 0.65);
  --sync-liquid-bg-hover: rgba(14, 22, 48, 0.85);
  --sync-liquid-border: rgba(255, 255, 255, 0.12);
  --sync-liquid-highlight-top: rgba(255, 255, 255, 0.45);
  --sync-liquid-blur: 28px;
  --sync-liquid-saturation: 1.9;

  --sync-font-sans: var(--agency-font-body);
}

/* ============================================================
   GLOBAL BASE & AMBIENT CANVAS
   ============================================================ */

html, body {
  font-family: var(--agency-font-body);
  background-color: var(--sync-bg) !important;
  background-image: 
    radial-gradient(ellipse 100% 60% at 50% -10%, var(--sync-mesh-top-1, rgba(37, 99, 235, 0.32)) 0%, var(--sync-mesh-top-2, rgba(7, 11, 24, 0.65)) 50%, transparent 80%),
    radial-gradient(ellipse 70% 50% at 85% 35%, var(--sync-mesh-mid, rgba(124, 58, 237, 0.2)) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 15% 75%, var(--sync-mesh-bottom, rgba(8, 145, 178, 0.16)) 0%, transparent 60%) !important;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: var(--sync-text);
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
  position: relative;
  scroll-behavior: smooth;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  cursor: url('../stick-48.png') 6 6, url('../stick.png') 8 8, url('stick-48.png') 6 6, url('stick.png') 8 8, auto;
}

/* Custom Pointer Cursor for all interactive elements (Links, buttons, controls) */
a, button, [role="button"], input[type="submit"], input[type="button"], input[type="checkbox"], input[type="range"], select, .sync-btn, .sync-choice-card, .theme-opt-btn, .sync-navbar-toggle, .sync-theme-toggle-btn, .sync-command-item, .footer-link, .sync-dropzone {
  cursor: url('../stone-48.png') 24 24, url('../stone.png') 24 24, url('stone-48.png') 24 24, url('stone.png') 24 24, pointer !important;
}

/* Ambient Deep Lighting Glow Mesh */
.ambient-mesh {
  position: fixed;
  top: -200px;
  left: -200px;
  right: -200px;
  bottom: -200px;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  -webkit-filter: blur(120px);
  opacity: 0.35;
  pointer-events: none;
  animation: orbFloat 22s infinite ease-in-out alternate;
}

.ambient-orb-1 {
  top: 50px;
  left: 25%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--sync-orb-1, #2563eb) 0%, transparent 70%) !important;
}

.ambient-orb-2 {
  top: 40%;
  right: 0%;
  width: 750px;
  height: 750px;
  background: radial-gradient(circle, var(--sync-orb-2, #7c3aed) 0%, transparent 70%) !important;
  animation-duration: 26s;
  animation-delay: -5s;
}

.ambient-orb-3 {
  bottom: 5%;
  left: 0%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, var(--sync-orb-3, #0891b2) 0%, transparent 70%) !important;
  animation-duration: 24s;
  animation-delay: -10s;
}

@keyframes orbFloat {
  0% { transform: translateY(0) scale(1); }
  50% { transform: translateY(30px) scale(1.06) translateX(15px); }
  100% { transform: translateY(-20px) scale(0.96) translateX(-15px); }
}

/* Subtle Grid Texture with Smooth Radial Fade */
.ambient-grid {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 1;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 15%, #000 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 15%, #000 40%, transparent 85%);
}

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

/* ============================================================
   SUPER-ANIMATED MAGICAL ENGINE (Typography, Cards & Elements)
   ============================================================ */

/* 1. Radiant Aurora Wave for Highlighted Gradient Texts */
.gradient-title {
  background: linear-gradient(135deg, #ffffff 15%, #93c5fd 45%, #c084fc 75%, #ffffff 100%);
  background-size: 200% 200% !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block;
  animation: magicAuroraFlow 6s ease infinite alternate;
  will-change: background-position;
}

.gradient-title-accent {
  background: linear-gradient(135deg, #60a5fa 0%, #a855f7 35%, #ec4899 65%, #38bdf8 100%);
  background-size: 200% 200% !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block;
  animation: magicAuroraFlow 5.5s ease infinite alternate;
  will-change: background-position;
}

.gradient-title-warm {
  background: linear-gradient(135deg, #ffffff 20%, #fde047 50%, #fb923c 80%, #ffffff 100%);
  background-size: 200% 200% !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block;
  animation: magicAuroraFlow 6s ease infinite alternate;
  will-change: background-position;
}

@keyframes magicAuroraFlow {
  0% {
    background-position: 0% 50%;
    filter: drop-shadow(0 0 8px rgba(var(--sync-accent-rgb), 0.25));
  }
  50% {
    background-position: 100% 50%;
    filter: drop-shadow(0 0 20px rgba(var(--sync-accent-rgb), 0.6));
  }
  100% {
    background-position: 0% 50%;
    filter: drop-shadow(0 0 8px rgba(var(--sync-accent-rgb), 0.25));
  }
}

/* 2. Hero Headlines Kinetic Architecture */
.hero-headline {
  position: relative;
  overflow: visible;
}

/* 3. Universal Scroll-Triggered Magical Unblur Cascade */
.magic-reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  filter: blur(10px);
  transition: 
    opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}

.magic-reveal-on-scroll.magic-in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* Stagger Delays for Grid Children */
.magic-stagger-1 { transition-delay: 0.08s !important; }
.magic-stagger-2 { transition-delay: 0.16s !important; }
.magic-stagger-3 { transition-delay: 0.24s !important; }
.magic-stagger-4 { transition-delay: 0.32s !important; }
.magic-stagger-5 { transition-delay: 0.40s !important; }

/* 4. Magical Floating Badges */
.agency-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.95rem;
  border-radius: var(--sync-radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.28);
  color: #93c5fd;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  animation: magicBadgeFloat 4s ease-in-out infinite alternate;
  will-change: transform, box-shadow;
}

@keyframes magicBadgeFloat {
  0% { transform: translateY(0); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3), 0 0 0 transparent; }
  50% { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(var(--sync-accent-rgb), 0.35); }
  100% { transform: translateY(0); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3), 0 0 0 transparent; }
}

/* 5. Magical Floating Icons */
.agency-service-icon,
.agency-stat-icon,
.benefit-icon {
  animation: magicIconPulse 5s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes magicIconPulse {
  0% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-4px) scale(1.06); filter: drop-shadow(0 0 14px rgba(var(--sync-accent-rgb), 0.5)); }
  100% { transform: translateY(0) scale(1); }
}

/* 6. Card Magical Hover Glow & Elevation */
.agency-stat-card,
.agency-service-card,
.agency-project-card,
.contact-card,
.spec-form-container {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease !important;
}

.agency-stat-card:hover,
.agency-service-card:hover,
.agency-project-card:hover,
.contact-card:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 30px rgba(var(--sync-accent-rgb), 0.25) !important;
  border-color: rgba(var(--sync-accent-rgb), 0.45) !important;
}

/* 7. Stat Number Pulse Halo */
.stat-num {
  font-family: var(--agency-font-display);
  font-weight: 800;
  font-size: 2.5rem;
  line-height: 1;
  background: linear-gradient(135deg, #ffffff 40%, var(--sync-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  animation: statGlowPulse 4s ease-in-out infinite alternate;
}

@keyframes statGlowPulse {
  0% { filter: drop-shadow(0 0 2px rgba(var(--sync-accent-rgb), 0.1)); }
  50% { filter: drop-shadow(0 0 16px rgba(var(--sync-accent-rgb), 0.6)) drop-shadow(0 0 28px rgba(var(--sync-accent-cyan), 0.35)); }
  100% { filter: drop-shadow(0 0 2px rgba(var(--sync-accent-rgb), 0.1)); }
}

/* ============================================================
   STRICT NO-DOTS BADGES & PILLS
   ============================================================ */

.agency-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.95rem;
  border-radius: var(--sync-radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.28);
  color: #93c5fd;
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.agency-badge-purple {
  background: rgba(139, 92, 246, 0.12);
  border-color: rgba(168, 85, 247, 0.28);
  color: #d8b4fe;
}

.agency-badge-cyan {
  background: rgba(6, 182, 212, 0.12);
  border-color: rgba(6, 182, 212, 0.28);
  color: #67e8f9;
}

.agency-badge-neutral {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
}

/* Remove any dot pseudoelements */
.agency-badge::before,
.agency-badge::after,
.sync-badge::before,
.sync-badge::after {
  display: none !important;
}

/* ============================================================
   FLOATING NAVBAR CUSTOMIZATIONS
   ============================================================ */

.sync-navbar-floating {
  max-width: 1180px;
  background: rgba(5, 9, 22, 0.78) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  backdrop-filter: blur(32px) saturate(2) !important;
  -webkit-backdrop-filter: blur(32px) saturate(2) !important;
  box-shadow: 
    inset 0 1px 1px rgba(255, 255, 255, 0.2),
    0 16px 40px rgba(0, 0, 0, 0.6) !important;
}

.agency-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-family: var(--agency-font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.agency-brand img {
  height: 32px;
  width: 32px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.35);
}

.agency-brand-tag {
  font-size: 0.68rem;
  font-weight: 700;
  color: #60a5fa;
  background: rgba(59, 130, 246, 0.15);
  padding: 0.15rem 0.45rem;
  border-radius: var(--sync-radius-full);
  border: 1px solid rgba(59, 130, 246, 0.3);
  margin-left: 0.25rem;
}

/* Desktop Navigation Link Styling */
.sync-nav-link {
  font-family: var(--agency-font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--sync-text-muted);
  transition: all 0.2s ease;
}

.sync-nav-link:hover,
.sync-nav-link.sync-active {
  color: #ffffff !important;
}

/* Mobile Navbar Toggle Button — iOS Control Center Frosted Glass Circle (Zero Borders) */
.sync-navbar-toggle {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  max-width: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 50% !important;
  border: none !important;
  outline: none !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  padding: 0 !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  backdrop-filter: blur(28px) saturate(1.8) brightness(1.1) !important;
  -webkit-backdrop-filter: blur(28px) saturate(1.8) brightness(1.1) !important;
  box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.25), 0 4px 14px rgba(0, 0, 0, 0.4) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.sync-navbar-toggle svg {
  display: block !important;
  pointer-events: none !important;
  color: #f1f5f9 !important;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.sync-navbar-toggle:hover,
.sync-navbar-toggle.sync-active {
  background: rgba(59, 130, 246, 0.2) !important;
  border: none !important;
  outline: none !important;
  box-shadow: 0 0 22px rgba(59, 130, 246, 0.6), inset 0 1px 1px 0 rgba(255, 255, 255, 0.35) !important;
  color: #93c5fd !important;
  transform: scale(1.06) !important;
}

.sync-navbar-toggle:hover svg,
.sync-navbar-toggle.sync-active svg {
  color: #93c5fd !important;
}

@media (width > 960px) {
  .sync-navbar-toggle {
    display: none !important;
  }
}

/* ============================================================
   HERO SECTIONS
   ============================================================ */

.agency-hero {
  padding-top: clamp(5.5rem, 8vw, 8.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 5.5rem);
  text-align: center;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.hero-headline {
  font-size: clamp(2.1rem, 1.7rem + 2.5vw, 4.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  max-width: 960px;
  margin: 1.25rem auto 1.35rem;
  word-break: break-word;
  overflow-wrap: break-word;
}

.hero-description {
  font-size: clamp(0.95rem, 0.9rem + 0.3vw, 1.2rem);
  color: var(--sync-text-muted);
  max-width: 680px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

@media (width <= 640px) {
  .agency-hero {
    padding-top: 5.75rem;
    padding-bottom: 2rem;
  }

  .agency-badge {
    font-size: 0.7rem !important;
    padding: 0.35rem 0.75rem !important;
    letter-spacing: 0.05em !important;
    line-height: 1.3 !important;
    max-width: 100% !important;
    white-space: normal !important;
    text-align: center !important;
  }

  .hero-headline {
    font-size: 2.2rem !important;
    line-height: 1.14 !important;
    margin: 1rem auto 1.15rem !important;
  }

  .hero-description {
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
    margin-bottom: 1.75rem !important;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }

  .hero-actions {
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.75rem !important;
    margin-bottom: 2.5rem !important;
    align-items: stretch !important;
    padding: 0 0.5rem !important;
  }

  .hero-actions .sync-btn {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0.85rem 1.5rem !important;
    font-size: 1rem !important;
    justify-content: center !important;
  }
}

/* ============================================================
   AGENCY SERVICE CARDS (Grid)
   ============================================================ */

.service-card {
  background: rgba(7, 11, 26, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--sync-radius-lg);
  padding: 2rem 1.75rem;
  transition: all 0.3s cubic-bezier(0.34, 1.4, 0.64, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(24px);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-5px);
  background: rgba(12, 18, 42, 0.75);
  border-color: rgba(96, 165, 250, 0.35);
  box-shadow: 
    0 16px 36px rgba(0, 0, 0, 0.5),
    0 0 24px rgba(59, 130, 246, 0.15);
}

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--sync-radius);
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.service-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.service-desc {
  color: var(--sync-text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
}

.service-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.2rem 0.6rem;
  border-radius: var(--sync-radius-full);
}

/* ============================================================
   BENTO GRID ARCHITECTURE
   ============================================================ */

.bento-section-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}

.bento-col-8 { grid-column: span 8; }
.bento-col-4 { grid-column: span 4; }
.bento-col-6 { grid-column: span 6; }
.bento-col-12 { grid-column: span 12; }

@media (width <= 960px) {
  .bento-col-8,
  .bento-col-4,
  .bento-col-6 {
    grid-column: span 12;
  }
}

.bento-item-card {
  background: rgba(7, 11, 26, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--sync-radius-xl);
  padding: clamp(1.5rem, 2.5vw, 2.5rem);
  backdrop-filter: blur(28px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

/* ============================================================
   PROJECT / CASE STUDY CARDS
   ============================================================ */

.project-card {
  background: rgba(7, 11, 26, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--sync-radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.34, 1.4, 0.64, 1);
  backdrop-filter: blur(24px);
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(96, 165, 250, 0.4);
  box-shadow: 
    0 24px 60px rgba(0, 0, 0, 0.6),
    0 0 32px rgba(59, 130, 246, 0.2);
}

.project-image-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #09132c 0%, #050814 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.project-preview-mockup {
  width: 86%;
  height: 80%;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--sync-radius);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: scale(0.96);
  transition: transform 0.4s ease;
}

.project-card:hover .project-preview-mockup {
  transform: scale(1);
}

.project-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-metric-pill {
  font-family: var(--agency-font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 0.2rem 0.65rem;
  border-radius: var(--sync-radius-full);
}

/* ============================================================
   STATS & SOCIAL PROOF METRICS
   ============================================================ */

.metric-stat-box {
  text-align: center;
  padding: 2rem 1.5rem;
  background: rgba(7, 11, 26, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--sync-radius-lg);
  backdrop-filter: blur(20px);
}

.metric-number {
  font-family: var(--agency-font-display);
  font-size: clamp(2.4rem, 2rem + 1.5vw, 3.5rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.metric-caption {
  font-size: 0.9rem;
  color: var(--sync-text-muted);
}

/* ============================================================
   CUSTOM CODE WINDOW (WITHOUT DOTS)
   ============================================================ */

.agency-codeblock {
  background: rgba(4, 7, 18, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--sync-radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

.agency-codeblock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.agency-code-tag {
  font-family: var(--agency-font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #60a5fa;
  text-transform: uppercase;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.agency-codeblock-body {
  padding: 1.25rem 1.5rem;
  font-family: var(--agency-font-mono);
  font-size: 0.85rem;
  line-height: 1.6;
  color: #e2e8f0;
  margin: 0;
  overflow-x: auto;
}

/* ============================================================
   CTA BANNER & ENTERPRISE FOOTER
   ============================================================ */

.agency-cta-banner {
  background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.25), transparent 70%),
              rgba(8, 13, 30, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--sync-radius-xl);
  padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.5rem, 4vw, 3.5rem);
  text-align: center;
  backdrop-filter: blur(36px);
  box-shadow: 
    inset 0 1px 1px rgba(255, 255, 255, 0.25),
    0 24px 60px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.agency-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4rem 0 2rem;
  background: rgba(3, 7, 18, 0.95);
  position: relative;
  z-index: 10;
}

.footer-col-title {
  font-family: var(--agency-font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.footer-link {
  display: block;
  font-size: 0.88rem;
  color: var(--sync-text-muted);
  text-decoration: none;
  margin-bottom: 0.75rem;
  transition: color 0.2s ease;
}

/* ============================================================
   CONTACT SECTION GRID & RESPONSIVE CONTAINMENT
   ============================================================ */

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

.sync-container,
.sync-container-lg,
.sync-container-sm {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 3.5vw, 2rem);
  padding-right: clamp(1rem, 3.5vw, 2rem);
  box-sizing: border-box;
}

.sync-card,
.sync-card-liquid,
.service-card,
.bento-item-card,
.project-card,
.metric-stat-box,
.agency-cta-banner {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-break: break-word;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2.5rem;
  align-items: start;
  width: 100%;
  box-sizing: border-box;
}

.contact-form-col {
  grid-column: span 7;
  width: 100%;
  box-sizing: border-box;
}

.contact-info-col {
  grid-column: span 5;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  box-sizing: border-box;
}

@media (width <= 960px) {
  .contact-grid,
  .bento-section-grid {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 1.5rem !important;
  }

  .contact-form-col,
  .contact-info-col,
  .bento-col-8,
  .bento-col-4,
  .bento-col-6 {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (width <= 640px) {
  .sync-card,
  .sync-card-liquid,
  .service-card,
  .bento-item-card,
  .project-card,
  .agency-cta-banner {
    padding: 1.5rem 1.15rem !important;
  }
  
  .sync-grid-2,
  .sync-grid-3,
  .sync-grid-4 {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
    width: 100% !important;
  }

  .sync-navbar-floating {
    width: calc(100% - 1.25rem) !important;
    left: 0.625rem !important;
    right: 0.625rem !important;
  }
}

.footer-link:hover {
  color: #60a5fa;
}

/* ============================================================
   CINEMATIC GTA 5 / ROCKSTAR STYLE DYNAMIC LOADER
   ============================================================ */

.sync-app-loader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: #02040a;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
              visibility 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.sync-app-loader.loader-hidden {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.05);
  filter: blur(14px);
  pointer-events: none;
}

/* Ambient Backlight Caustics */
.loader-backdrop-lights {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.loader-light-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  -webkit-filter: blur(100px);
  pointer-events: none;
}

.loader-light-1 {
  top: 50%;
  left: 50%;
  width: 500px;
  height: 500px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(59, 130, 246, 0.45) 0%, rgba(37, 99, 235, 0.15) 50%, transparent 75%);
  animation: loaderPulseLight 3s ease-in-out infinite alternate;
}

.loader-light-2 {
  top: 50%;
  left: 50%;
  width: 650px;
  height: 350px;
  transform: translate(-50%, -50%) rotate(-15deg);
  background: radial-gradient(ellipse, rgba(139, 92, 246, 0.35) 0%, rgba(6, 182, 212, 0.15) 50%, transparent 70%);
  animation: loaderRotateLight 6s ease-in-out infinite alternate;
}

/* Horizontal Anamorphic Lens Flare Beam (GTA style) */
.loader-flare-sweep {
  position: absolute;
  top: 50%;
  left: -50%;
  width: 200%;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(59, 130, 246, 0.2) 25%, 
    rgba(255, 255, 255, 0.9) 50%, 
    rgba(147, 197, 253, 0.4) 75%, 
    transparent 100%
  );
  transform: translateY(-50%);
  filter: blur(1px);
  box-shadow: 0 0 25px rgba(96, 165, 250, 0.8), 0 0 60px rgba(59, 130, 246, 0.5);
  animation: loaderFlareStreak 3s ease-in-out infinite alternate;
}

/* Loader Center Content */
.loader-centerpiece {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.loader-logo-wrap {
  position: relative;
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.loader-logo-glow {
  position: absolute;
  inset: -15px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.6) 0%, rgba(139, 92, 246, 0.3) 50%, transparent 70%);
  filter: blur(20px);
  animation: loaderGlowBreath 2s ease-in-out infinite alternate;
}

.loader-logo-img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 35px rgba(59, 130, 246, 0.5), inset 0 0 15px rgba(255, 255, 255, 0.3);
  animation: loaderLogoIntro 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Specular Glint Sweep across the logo */
.loader-specular-sheen {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.6) 50%,
    transparent 100%
  );
  transform: skewX(-25deg);
  z-index: 3;
  pointer-events: none;
  animation: loaderSheenGlint 2.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.loader-brand-title {
  font-family: var(--agency-font-display);
  font-size: clamp(1.2rem, 1rem + 1vw, 1.6rem);
  font-weight: 900;
  letter-spacing: 0.35em;
  color: #ffffff;
  margin-top: 1.25rem;
  text-transform: uppercase;
  text-shadow: 0 0 25px rgba(255, 255, 255, 0.4), 0 0 50px rgba(59, 130, 246, 0.3);
  animation: loaderTextFade 1.2s ease-out forwards;
}

.loader-brand-caption {
  font-family: var(--agency-font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: #60a5fa;
  margin-top: 0.45rem;
  text-transform: uppercase;
  opacity: 0.85;
}

/* Linear Progress Bar (No Dots) */
.loader-progress-track {
  width: 240px;
  max-width: 80vw;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  margin: 1.75rem auto 0;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.8);
}

.loader-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #2563eb, #60a5fa, #a855f7, #38bdf8);
  background-size: 200% 100%;
  border-radius: 4px;
  box-shadow: 0 0 14px rgba(96, 165, 250, 0.9);
  animation: loaderProgressFill 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards,
             loaderGradientShift 2s linear infinite;
}

/* Keyframe Animations */
@keyframes loaderLogoIntro {
  0% { transform: scale(0.75); opacity: 0; filter: brightness(2) contrast(1.5); }
  60% { transform: scale(1.04); opacity: 1; filter: brightness(1.2); }
  100% { transform: scale(1); opacity: 1; filter: brightness(1); }
}

@keyframes loaderPulseLight {
  0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.3; }
  100% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.6; }
}

@keyframes loaderRotateLight {
  0% { transform: translate(-50%, -50%) rotate(-20deg) scale(0.95); opacity: 0.25; }
  100% { transform: translate(-50%, -50%) rotate(20deg) scale(1.15); opacity: 0.55; }
}

@keyframes loaderFlareStreak {
  0% { opacity: 0.2; transform: translateY(-50%) scaleY(0.7); }
  50% { opacity: 0.85; transform: translateY(-50%) scaleY(1.4); }
  100% { opacity: 0.3; transform: translateY(-50%) scaleY(0.8); }
}

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

@keyframes loaderSheenGlint {
  0% { left: -100%; opacity: 0; }
  20% { opacity: 0.9; }
  50% { left: 200%; opacity: 0; }
  100% { left: 200%; opacity: 0; }
}

@keyframes loaderTextFade {
  0% { opacity: 0; transform: translateY(8px); letter-spacing: 0.5em; }
  100% { opacity: 1; transform: translateY(0); letter-spacing: 0.35em; }
}

@keyframes loaderProgressFill {
  0% { width: 0%; }
  35% { width: 45%; }
  70% { width: 82%; }
  100% { width: 100%; }
}

@keyframes loaderGradientShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ============================================================
   THEME COLOR ENGINE (6 Modes: 5 Color Palettes + 1 Pure Dark)
   ============================================================ */

/* 1. COSMIC BLUE (Default) */
[data-sync-theme="default"],
:root:not([data-sync-theme]) {
  --sync-accent: #3b82f6;
  --sync-accent-rgb: 59, 130, 246;
  --sync-accent-2: #8b5cf6;
  --sync-accent-2-rgb: 139, 92, 246;
  --sync-accent-cyan: #06b6d4;
  --sync-bg: #030712;
  --sync-surface: #070b18;
  --sync-mesh-top-1: rgba(37, 99, 235, 0.32);
  --sync-mesh-top-2: rgba(7, 11, 24, 0.65);
  --sync-mesh-mid: rgba(124, 58, 237, 0.2);
  --sync-mesh-bottom: rgba(8, 145, 178, 0.16);
  --sync-orb-1: #2563eb;
  --sync-orb-2: #7c3aed;
  --sync-orb-3: #0891b2;
  --sync-nav-bg: rgba(5, 9, 22, 0.78);
}

/* 2. PURE DARK (OLED Midnight Black) */
[data-sync-theme="pure-black"] {
  --sync-accent: #94a3b8;
  --sync-accent-rgb: 148, 163, 184;
  --sync-accent-2: #e2e8f0;
  --sync-accent-2-rgb: 226, 232, 240;
  --sync-accent-cyan: #38bdf8;
  --sync-bg: #000000 !important;
  --sync-bg-rgb: 0, 0, 0 !important;
  --sync-surface: #0a0a0a !important;
  --sync-surface-rgb: 10, 10, 10 !important;
  --sync-surface-hover: #141414 !important;
  --sync-liquid-bg: rgba(18, 18, 18, 0.75) !important;
  --sync-liquid-border: rgba(255, 255, 255, 0.1) !important;
  --sync-mesh-top-1: rgba(255, 255, 255, 0.06);
  --sync-mesh-top-2: rgba(10, 10, 10, 0.95);
  --sync-mesh-mid: rgba(148, 163, 184, 0.04);
  --sync-mesh-bottom: rgba(100, 116, 139, 0.03);
  --sync-orb-1: rgba(255, 255, 255, 0.1);
  --sync-orb-2: rgba(148, 163, 184, 0.06);
  --sync-orb-3: rgba(100, 116, 139, 0.04);
  --sync-nav-bg: rgba(8, 8, 8, 0.85);
}

/* 3. CYBER VIOLET (Amethyst & Neon Fuchsia) */
[data-sync-theme="cyber-violet"] {
  --sync-accent: #a855f7;
  --sync-accent-rgb: 168, 85, 247;
  --sync-accent-2: #ec4899;
  --sync-accent-2-rgb: 236, 72, 153;
  --sync-accent-cyan: #d946ef;
  --sync-bg: #05020c;
  --sync-surface: #0f071e;
  --sync-mesh-top-1: rgba(168, 85, 247, 0.32);
  --sync-mesh-top-2: rgba(15, 7, 30, 0.65);
  --sync-mesh-mid: rgba(236, 72, 153, 0.2);
  --sync-mesh-bottom: rgba(139, 92, 246, 0.16);
  --sync-orb-1: #a855f7;
  --sync-orb-2: #ec4899;
  --sync-orb-3: #8b5cf6;
  --sync-nav-bg: rgba(15, 7, 30, 0.8);
}

/* 4. EMERALD MATRIX (Radiant Green & Hyper Cyan) */
[data-sync-theme="emerald-matrix"] {
  --sync-accent: #10b981;
  --sync-accent-rgb: 16, 185, 129;
  --sync-accent-2: #06b6d4;
  --sync-accent-2-rgb: 6, 182, 212;
  --sync-accent-cyan: #34d399;
  --sync-bg: #020b07;
  --sync-surface: #051810;
  --sync-mesh-top-1: rgba(16, 185, 129, 0.32);
  --sync-mesh-top-2: rgba(5, 24, 16, 0.65);
  --sync-mesh-mid: rgba(6, 182, 212, 0.2);
  --sync-mesh-bottom: rgba(5, 150, 105, 0.16);
  --sync-orb-1: #10b981;
  --sync-orb-2: #06b6d4;
  --sync-orb-3: #059669;
  --sync-nav-bg: rgba(5, 24, 16, 0.8);
}

/* 5. SOLAR AMBER (Gold & Magma Sunset) */
[data-sync-theme="solar-amber"] {
  --sync-accent: #f59e0b;
  --sync-accent-rgb: 245, 158, 11;
  --sync-accent-2: #f43f5e;
  --sync-accent-2-rgb: 244, 63, 94;
  --sync-accent-cyan: #fbbf24;
  --sync-bg: #0c0602;
  --sync-surface: #1a0f05;
  --sync-mesh-top-1: rgba(245, 158, 11, 0.32);
  --sync-mesh-top-2: rgba(26, 15, 5, 0.65);
  --sync-mesh-mid: rgba(244, 63, 94, 0.2);
  --sync-mesh-bottom: rgba(217, 119, 6, 0.16);
  --sync-orb-1: #f59e0b;
  --sync-orb-2: #f43f5e;
  --sync-orb-3: #d97706;
  --sync-nav-bg: rgba(26, 15, 5, 0.8);
}

/* 6. CYBER RUBY (Velvet Crimson & Neon Rose) */
[data-sync-theme="cyber-ruby"] {
  --sync-accent: #f43f5e;
  --sync-accent-rgb: 244, 63, 94;
  --sync-accent-2: #e11d48;
  --sync-accent-2-rgb: 225, 29, 72;
  --sync-accent-cyan: #fb7185;
  --sync-bg: #0c0205;
  --sync-surface: #1c050c;
  --sync-mesh-top-1: rgba(244, 63, 94, 0.32);
  --sync-mesh-top-2: rgba(28, 5, 12, 0.65);
  --sync-mesh-mid: rgba(225, 29, 72, 0.2);
  --sync-mesh-bottom: rgba(190, 18, 60, 0.16);
  --sync-orb-1: #f43f5e;
  --sync-orb-2: #e11d48;
  --sync-orb-3: #be123c;
  --sync-nav-bg: rgba(28, 5, 12, 0.8);
}

/* Theme Switcher Button */
.sync-theme-toggle-btn {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  max-width: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 50% !important;
  border: none !important;
  outline: none !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  padding: 0 !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  backdrop-filter: blur(28px) saturate(1.8) brightness(1.1) !important;
  -webkit-backdrop-filter: blur(28px) saturate(1.8) brightness(1.1) !important;
  box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.25), 0 4px 14px rgba(0, 0, 0, 0.4) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
}

.sync-theme-toggle-btn:hover,
.sync-theme-toggle-btn.sync-active {
  background: rgba(59, 130, 246, 0.2) !important;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.55), inset 0 1px 1px 0 rgba(255, 255, 255, 0.35) !important;
  color: #93c5fd !important;
  transform: scale(1.06) !important;
}

/* Floating Frosted Glass Theme Popover (Zero Dots) */
.sync-theme-popover {
  width: 250px;
  background: rgba(12, 16, 28, 0.94) !important;
  backdrop-filter: blur(32px) saturate(1.9) brightness(1.05) !important;
  -webkit-backdrop-filter: blur(32px) saturate(1.9) brightness(1.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: var(--sync-radius-lg) !important;
  padding: 0.65rem !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), inset 0 1px 1px rgba(255, 255, 255, 0.2) !important;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  animation: popoverFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.theme-popover-header {
  font-family: var(--agency-font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #64748b;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem 0.45rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 0.2rem;
}

.theme-opt-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.45rem 0.65rem;
  border-radius: var(--sync-radius-sm);
  background: transparent;
  border: 1px solid transparent;
  color: #e2e8f0;
  font-family: var(--agency-font-body);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
}

.theme-opt-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.theme-opt-btn.theme-selected {
  background: rgba(59, 130, 246, 0.18);
  border-color: rgba(96, 165, 250, 0.35);
  color: #93c5fd;
}

.theme-swatch-box {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

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