/* ==========================================================================
   ECFIO MEDIA — APPLE STYLE DESIGN SYSTEM & STYLESHEET
   Dual Creative Studio & Government Contracts Agency
   Light Beige Gradient (Default) & Dark Obsidian Themes
   ========================================================================== */

:root,
[data-theme="light"] {
  /* Apple Signature Light Beige Palette (Default) */
  --bg-black: #FAF7F2;          /* Refined Light Beige base */
  --bg-dark: #F5EFE6;           /* Soft Champagne Sand */
  --bg-surface: #EFE8DC;        /* Warm Stone Beige */
  --bg-card: rgba(255, 255, 255, 0.76);
  --bg-card-hover: rgba(255, 255, 255, 0.94);
  --bg-glass: rgba(250, 247, 242, 0.45);
  --body-gradient: 
    radial-gradient(ellipse 90% 70% at 50% -10%, rgba(240, 160, 45, 0.16) 0%, transparent 65%),
    linear-gradient(180deg, #FAF7F2 0%, #F5EFE6 35%, #EDE2CE 70%, #FAF7F2 100%);
  
  --border-subtle: rgba(165, 142, 115, 0.22);
  --border-hover: rgba(140, 118, 92, 0.4);
  --border-glow: rgba(0, 113, 227, 0.3);

  --text-primary: #1D1D1F;      /* Deep Ink / Apple Black */
  --text-secondary: #58585E;    /* Dark Editorial Slate */
  --text-tertiary: #84848A;
  --text-inverse: #FFFFFF;

  --accent-blue: #0071E3;       /* Apple Bright Blue for light mode */
  --accent-blue-hover: #0077ED;
  --accent-purple: #8E44AD;
  --accent-emerald: #1B8A44;
  --accent-amber: #C97206;

  --btn-primary-bg: #1D1D1F;
  --btn-primary-text: #FFFFFF;
  --btn-primary-border: #1D1D1F;
  --btn-secondary-bg: rgba(0, 0, 0, 0.05);
  --btn-secondary-text: #1D1D1F;
  --btn-secondary-border: rgba(0, 0, 0, 0.12);

  --gradient-text-hero: linear-gradient(180deg, #1D1D1F 0%, #48484A 100%);
  --gradient-text-accent: linear-gradient(135deg, #0071E3 0%, #8E44AD 100%);
  --gradient-gold: linear-gradient(135deg, #C97206 0%, #8E44AD 100%);

  /* Apple Pro Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", sans-serif;
  --font-mono: "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  /* Elevation (Warm Cast for Light Beige) */
  --shadow-sm: 0 4px 16px rgba(140, 120, 95, 0.08);
  --shadow-md: 0 12px 36px rgba(140, 120, 95, 0.12);
  --shadow-lg: 0 24px 64px rgba(140, 120, 95, 0.16);
  --shadow-device: 0 24px 70px rgba(140, 120, 95, 0.18), 0 0 35px rgba(201, 114, 6, 0.08);
  --shadow-center-phone: 0 30px 85px rgba(140, 120, 95, 0.22), 0 0 45px rgba(0, 113, 227, 0.12);

  /* Device frame: Natural Titanium */
  --phone-bezel: #D1CDC4;
  --phone-bg: #E6E1D8;

  /* Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-phone: 40px;
  --radius-full: 9999px;

  /* Apple Animation Curves */
  --ease-apple: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s var(--ease-apple);
  --transition-normal: 0.4s var(--ease-apple);
  --transition-slow: 0.8s var(--ease-apple);
  --theme-transition: background-color 0.4s var(--ease-apple), color 0.4s var(--ease-apple), border-color 0.4s var(--ease-apple);
}

/* ==========================================================================
   DARK OBSIDIAN THEME (OPTIONAL TOGGLE)
   ========================================================================== */
[data-theme="dark"] {
  --bg-black: #07070a;          /* Deep Obsidian Apple Black */
  --bg-dark: #0d0d12;
  --bg-surface: #14141a;
  --bg-card: rgba(255, 255, 255, 0.045);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --bg-glass: rgba(10, 10, 14, 0.55);
  --body-gradient: 
    radial-gradient(ellipse 90% 70% at 50% -10%, rgba(41, 151, 255, 0.15) 0%, transparent 65%),
    linear-gradient(180deg, #07070a 0%, #0d0d12 40%, #050507 100%);
  
  --border-subtle: rgba(255, 255, 255, 0.10);
  --border-hover: rgba(255, 255, 255, 0.25);
  --border-glow: rgba(41, 151, 255, 0.4);

  --text-primary: #f5f5f7;
  --text-secondary: #a1a1a6;
  --text-tertiary: #6e6e73;
  --text-inverse: #000000;

  --accent-blue: #2997ff;
  --accent-blue-hover: #147ce5;
  --accent-purple: #af52de;
  --accent-emerald: #30d158;
  --accent-amber: #ff9f0a;

  --btn-primary-bg: #ffffff;
  --btn-primary-text: #000000;
  --btn-primary-border: #ffffff;
  --btn-secondary-bg: rgba(255, 255, 255, 0.08);
  --btn-secondary-text: #f5f5f7;
  --btn-secondary-border: rgba(255, 255, 255, 0.16);

  --gradient-text-hero: linear-gradient(180deg, #ffffff 0%, #a1a1a6 100%);
  --gradient-text-accent: linear-gradient(135deg, #2997ff 0%, #af52de 100%);
  --gradient-gold: linear-gradient(135deg, #ffd60a 0%, #ff9f0a 100%);

  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 12px 36px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.85);
  --shadow-device: 0 24px 70px rgba(0, 0, 0, 0.9), 0 0 40px rgba(41, 151, 255, 0.12);
  --shadow-center-phone: 0 30px 85px rgba(0, 0, 0, 0.95), 0 0 50px rgba(41, 151, 255, 0.22);

  --phone-bezel: #28282c;
  --phone-bg: #09090b;
}

/* ==========================================================================
   BASE & RESET
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  background-color: var(--bg-black);
  color: var(--text-primary);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: var(--theme-transition);
}

[data-theme="dark"] html,
html[data-theme="dark"] {
  background-color: #07070a;
  color: #f5f5f7;
}

body {
  background-color: var(--bg-black);
  background-image: var(--body-gradient);
  background-attachment: fixed;
  color: var(--text-primary);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  padding-top: 64px;
  line-height: 1.5;
  transition: var(--theme-transition);
}

[data-theme="dark"] body,
html[data-theme="dark"] body {
  background-color: #07070a;
  background-image: var(--body-gradient);
  color: #f5f5f7;
}

/* ==========================================================================
   AMBIENT LIVING ATMOSPHERE (VIBRANT AURORA MESH, BLUEPRINT GRID & DUST MOTES)
   ========================================================================== */
.ambient-lighting {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* 1. Crisp Architectural Blueprint Grid Texture */
.ambient-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(145, 105, 65, 0.35) 1.5px, transparent 1.5px);
  background-size: 30px 30px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, #000 45%, transparent 95%);
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, #000 45%, transparent 95%);
  opacity: 0.85;
  transition: opacity var(--theme-transition);
}

[data-theme="dark"] .ambient-grid {
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1.5px, transparent 1.5px);
  opacity: 0.7;
}

/* 2. Living Aurora Mesh Orbs (Rich Saturated Fluid Motion) */
.ambient-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform, opacity;
  transition: background 0.6s var(--ease-apple);
}

/* Orb 1: Warm Golden Honey / GeM Trust Radiance (Prominent in Light Theme) */
.ambient-orb-1 {
  top: -8vh;
  left: 12%;
  width: 68vw;
  height: 58vh;
  background: radial-gradient(circle at center, rgba(245, 145, 20, 0.40) 0%, rgba(255, 175, 60, 0.24) 40%, rgba(255, 215, 130, 0.08) 65%, transparent 75%);
  filter: blur(55px);
  animation: driftOrb1 20s ease-in-out infinite alternate;
}

/* Orb 2: Creative Electric Blue / Apple Tech (Vibrant in Light Theme) */
.ambient-orb-2 {
  top: 32vh;
  right: -5%;
  width: 58vw;
  height: 58vh;
  background: radial-gradient(circle at center, rgba(0, 113, 227, 0.36) 0%, rgba(65, 155, 255, 0.22) 40%, rgba(120, 190, 255, 0.06) 65%, transparent 75%);
  filter: blur(55px);
  animation: driftOrb2 24s ease-in-out infinite alternate;
}

/* Orb 3: Editorial Royal Violet / Luxury Post-Production */
.ambient-orb-3 {
  top: 65vh;
  left: -8%;
  width: 54vw;
  height: 54vh;
  background: radial-gradient(circle at center, rgba(155, 75, 190, 0.34) 0%, rgba(185, 95, 230, 0.20) 40%, rgba(220, 150, 250, 0.06) 65%, transparent 75%);
  filter: blur(55px);
  animation: driftOrb3 22s ease-in-out infinite alternate;
}

/* Orb 4: Government Emerald / Verified Institutional Radiance */
.ambient-orb-4 {
  top: 95vh;
  right: 10%;
  width: 50vw;
  height: 50vh;
  background: radial-gradient(circle at center, rgba(27, 138, 68, 0.32) 0%, rgba(55, 185, 105, 0.18) 45%, transparent 70%);
  filter: blur(55px);
  animation: driftOrb4 18s ease-in-out infinite alternate;
}

/* Dark Theme Mesh Colors */
[data-theme="dark"] .ambient-orb-1 {
  background: radial-gradient(circle at center, rgba(255, 159, 10, 0.18) 0%, rgba(255, 159, 10, 0.05) 50%, transparent 70%);
  filter: blur(75px);
}

[data-theme="dark"] .ambient-orb-2 {
  background: radial-gradient(circle at center, rgba(41, 151, 255, 0.22) 0%, rgba(41, 151, 255, 0.06) 50%, transparent 70%);
  filter: blur(75px);
}

[data-theme="dark"] .ambient-orb-3 {
  background: radial-gradient(circle at center, rgba(175, 82, 222, 0.18) 0%, rgba(175, 82, 222, 0.05) 50%, transparent 70%);
  filter: blur(75px);
}

[data-theme="dark"] .ambient-orb-4 {
  background: radial-gradient(circle at center, rgba(48, 209, 88, 0.16) 0%, transparent 65%);
  filter: blur(75px);
}

/* Ambient Fluid Drift Keyframes */
@keyframes driftOrb1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(6vw, 4vh) scale(1.12); }
  100% { transform: translate(-4vw, 8vh) scale(0.95); }
}

@keyframes driftOrb2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-7vw, -5vh) scale(1.18); }
  100% { transform: translate(3vw, 6vh) scale(1.05); }
}

@keyframes driftOrb3 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(5vw, -6vh) scale(1.1); }
  100% { transform: translate(-3vw, 3vh) scale(0.92); }
}

@keyframes driftOrb4 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-4vw, 5vh) scale(1.15); }
  100% { transform: translate(5vw, -3vh) scale(1); }
}

/* 3. Subtle & Elegant Ambient Cursor Spotlight */
.ambient-cursor-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle at center, rgba(240, 165, 55, 0.10) 0%, rgba(0, 113, 227, 0.05) 45%, transparent 70%);
  filter: blur(75px);
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.5s ease;
  will-change: transform, left, top;
}

[data-theme="dark"] .ambient-cursor-glow {
  background: radial-gradient(circle at center, rgba(41, 151, 255, 0.18) 0%, rgba(175, 82, 222, 0.10) 40%, transparent 70%);
  filter: blur(75px);
}

.ambient-cursor-glow.active {
  opacity: 0.75;
}

/* 4. Vivid Floating Cinema Dust / Star Motes */
.ambient-dust-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.dust {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: floatDust linear infinite;
  will-change: transform, opacity;
}

.dust-amber {
  background: #E68A14;
  box-shadow: 0 0 10px rgba(230, 138, 20, 0.9), 0 0 3px #FFAE42;
}

.dust-blue {
  background: #0071E3;
  box-shadow: 0 0 10px rgba(0, 113, 227, 0.9), 0 0 3px #64B5F6;
}

.dust-violet {
  background: #8E44AD;
  box-shadow: 0 0 10px rgba(142, 68, 173, 0.9), 0 0 3px #BA68C8;
}

.dust-emerald {
  background: #1B8A44;
  box-shadow: 0 0 10px rgba(27, 138, 68, 0.9), 0 0 3px #5CD685;
}

[data-theme="dark"] .dust-amber {
  background: #FFA726;
  box-shadow: 0 0 12px rgba(255, 167, 38, 0.95);
}

[data-theme="dark"] .dust-blue {
  background: #42A5F5;
  box-shadow: 0 0 12px rgba(66, 165, 245, 0.95);
}

[data-theme="dark"] .dust-violet {
  background: #AB47BC;
  box-shadow: 0 0 12px rgba(171, 71, 188, 0.95);
}

[data-theme="dark"] .dust-emerald {
  background: #66BB6A;
  box-shadow: 0 0 12px rgba(102, 187, 106, 0.95);
}

.dust-1 { width: 5.5px; height: 5.5px; left: 10%; top: 30%; animation-duration: 22s; animation-delay: 0s; }
.dust-2 { width: 4.5px; height: 4.5px; left: 24%; top: 65%; animation-duration: 28s; animation-delay: -4s; }
.dust-3 { width: 6.5px; height: 6.5px; left: 42%; top: 18%; animation-duration: 20s; animation-delay: -9s; }
.dust-4 { width: 5px; height: 5px; left: 58%; top: 72%; animation-duration: 26s; animation-delay: -6s; }
.dust-5 { width: 5.5px; height: 5.5px; left: 74%; top: 32%; animation-duration: 24s; animation-delay: -13s; }
.dust-6 { width: 4.5px; height: 4.5px; left: 88%; top: 80%; animation-duration: 30s; animation-delay: -2s; }
.dust-7 { width: 6px; height: 6px; left: 32%; top: 86%; animation-duration: 23s; animation-delay: -16s; }
.dust-8 { width: 4.5px; height: 4.5px; left: 66%; top: 22%; animation-duration: 27s; animation-delay: -8s; }
.dust-9 { width: 5px; height: 5px; left: 18%; top: 50%; animation-duration: 25s; animation-delay: -11s; }
.dust-10 { width: 5px; height: 5px; left: 82%; top: 12%; animation-duration: 21s; animation-delay: -14s; }
.dust-11 { width: 5.5px; height: 5.5px; left: 52%; top: 48%; animation-duration: 29s; animation-delay: -7s; }
.dust-12 { width: 4.5px; height: 4.5px; left: 92%; top: 45%; animation-duration: 26s; animation-delay: -17s; }
.dust-13 { width: 6px; height: 6px; left: 6%; top: 82%; animation-duration: 24s; animation-delay: -5s; }
.dust-14 { width: 4.5px; height: 4.5px; left: 38%; top: 40%; animation-duration: 22s; animation-delay: -10s; }

@keyframes floatDust {
  0% { transform: translateY(0px) translateX(0px); opacity: 0; }
  15% { opacity: 0.95; }
  85% { opacity: 0.95; }
  100% { transform: translateY(-190px) translateX(35px); opacity: 0; }
}

/* Top Scroll Progress Line */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2.5px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple), #5ac8fa);
  z-index: 1001;
  transition: width 0.05s linear;
}

/* Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 2;
}

.section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 56px;
}

.section-tag {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-blue);
  margin-bottom: 12px;
  display: block;
}

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

.section-desc {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   APPLE SCROLL-REVEAL SYSTEM (TEXT, HEADINGS, CARDS)
   ========================================================================== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-apple), transform 0.8s var(--ease-apple);
  will-change: opacity, transform;
}

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

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }

/* Subtle Specular Shine on Headers */
.text-shine {
  background: linear-gradient(120deg, #1D1D1F 0%, #1D1D1F 40%, rgba(0, 113, 227, 0.8) 50%, #1D1D1F 60%, #1D1D1F 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shineSweep 8s linear infinite;
}

[data-theme="dark"] .text-shine {
  background: linear-gradient(120deg, #ffffff 0%, #ffffff 40%, rgba(41, 151, 255, 0.8) 50%, #ffffff 60%, #ffffff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* ==========================================================================
   NAVIGATION BAR (TRANSLUCENT APPLE GLASSMORPHISM)
   ========================================================================== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(250, 247, 242, 0.42);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(165, 142, 115, 0.16);
  box-shadow: 0 4px 20px rgba(130, 110, 85, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.55);
  z-index: 999;
  transition: background 0.3s var(--ease-apple), border-color 0.3s var(--ease-apple), box-shadow 0.3s var(--ease-apple);
}

.site-nav.scrolled {
  background: rgba(250, 247, 242, 0.55);
  border-bottom: 1px solid rgba(165, 142, 115, 0.24);
  box-shadow: 0 8px 28px rgba(130, 110, 85, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

[data-theme="dark"] .site-nav {
  background: rgba(10, 10, 14, 0.42);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .site-nav.scrolled {
  background: rgba(10, 10, 14, 0.60);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-logo-img {
  height: 28px;
  width: auto;
  max-width: 48px;
  object-fit: contain;
  display: block;
  transition: opacity var(--transition-fast);
}

/* Light theme: show black logo, hide white logo */
.brand-logo-img.logo-light {
  display: block;
}
.brand-logo-img.logo-dark {
  display: none;
}

/* Dark theme: show white logo, hide black logo */
[data-theme="dark"] .brand-logo-img.logo-light {
  display: none;
}
[data-theme="dark"] .brand-logo-img.logo-dark {
  display: block;
}

.brand-name {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

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

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.45);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.nav-link.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 2px 8px rgba(130, 110, 85, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

[data-theme="dark"] .nav-link {
  color: #a1a1a6;
}

[data-theme="dark"] .nav-link:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

[data-theme="dark"] .nav-link.active {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  font-weight: 600;
}

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

/* Glassmorphism Theme Toggle Button */
.theme-toggle-btn {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(165, 142, 115, 0.28);
  color: var(--text-primary);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 10px rgba(130, 110, 85, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(140, 118, 92, 0.5);
  transform: translateY(-1px) scale(1.04);
  box-shadow: 0 4px 14px rgba(130, 110, 85, 0.14), inset 0 1px 0 rgba(255, 255, 255, 1);
}

[data-theme="dark"] .theme-toggle-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.theme-toggle-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.4s var(--ease-apple);
}

.theme-toggle-btn:active svg {
  transform: rotate(45deg);
}

.btn-pill-sm {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(165, 142, 115, 0.28);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 10px rgba(130, 110, 85, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: all var(--transition-fast);
}

.btn-pill-sm:hover {
  background: var(--text-primary);
  color: var(--text-inverse);
  border-color: var(--text-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .btn-pill-sm {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

[data-theme="dark"] .btn-pill-sm:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-apple), opacity 0.3s var(--ease-apple);
}

.mobile-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(250, 247, 242, 0.94);
  backdrop-filter: blur(32px) saturate(190%);
  -webkit-backdrop-filter: blur(32px) saturate(190%);
  z-index: 998;
  display: flex;
  flex-direction: column;
  padding: 100px 32px 40px;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s var(--ease-apple), opacity 0.3s var(--ease-apple);
}

[data-theme="dark"] .mobile-drawer {
  background: rgba(10, 10, 14, 0.94);
}

.mobile-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

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

.mobile-drawer-link {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  font-size: 0.925rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--btn-primary-text);
  background: var(--btn-primary-bg);
  border: 1px solid var(--btn-primary-border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  opacity: 0.95;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  font-size: 0.925rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--btn-secondary-text);
  background: var(--btn-secondary-bg);
  border: 1px solid var(--btn-secondary-border);
  backdrop-filter: blur(16px);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

[data-theme="dark"] .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f5f5f7;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.32);
  color: #ffffff;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

[data-theme="dark"] .eyebrow-pill {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #a1a1a6;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-blue);
  box-shadow: 0 0 8px var(--accent-blue);
}

/* ==========================================================================
   HERO SECTION (BALANCED SPACING & SUBTLE SCROLL PARALLAX)
   ========================================================================== */
.hero-wrapper {
  position: relative;
  padding-top: 50px;
  padding-bottom: 80px;
  text-align: center;
  overflow: visible;
}

.hero-content {
  max-width: 960px;
  margin: 0 auto;
  will-change: transform, opacity;
  transition: transform 0.1s linear, opacity 0.1s linear;
}

.hero-headline {
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
  background: var(--gradient-text-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-headline span.gradient-text {
  background: var(--gradient-text-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 760px;
  margin: 0 auto 36px;
  line-height: 1.6;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

/* ==========================================================================
   CONTINUOUS AMBIENT FLOATING ANIMATIONS (HERO BADGES & CARDS)
   ========================================================================== */
@keyframes floatBadge1 {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-7px) rotate(0.4deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes floatBadge2 {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-9px) rotate(-0.5deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes floatBadge3 {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(0.3deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes floatCardA {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

@keyframes floatCardB {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.eyebrow-pill {
  animation: floatBadge1 5s ease-in-out infinite;
}

/* ==========================================================================
   HERO INTERACTIVE DIVISION FEATURE CARDS
   ========================================================================== */
.hero-showcase-cards {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  position: relative;
  z-index: 5;
}

.hero-feature-card {
  text-decoration: none;
  background: var(--bg-card);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  text-align: left;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.hero-feature-card.card-studio {
  animation: floatCardA 6.5s ease-in-out infinite;
}

.hero-feature-card.card-govt {
  animation: floatCardB 7.2s ease-in-out infinite 0.6s;
}

.hero-feature-card:hover {
  animation-play-state: paused;
  transform: translateY(-8px) scale(1.015);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 113, 227, 0.12);
}

[data-theme="dark"] .hero-feature-card {
  background: rgba(18, 18, 24, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .hero-feature-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 30px rgba(41, 151, 255, 0.18);
}

/* Interactive Specular Spotlight on Glass Cards */
.hero-feature-card > *,
.bento-box > *,
.govt-dossier-card > *,
.contact-card > * {
  position: relative;
  z-index: 1;
}

.hero-feature-card::after,
.bento-box::after,
.govt-dossier-card::after,
.contact-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(350px circle at var(--card-mouse-x, -999px) var(--card-mouse-y, -999px), rgba(255, 255, 255, 0.35) 0%, rgba(240, 160, 45, 0.08) 35%, transparent 65%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 0;
}

[data-theme="dark"] .hero-feature-card::after,
[data-theme="dark"] .bento-box::after,
[data-theme="dark"] .govt-dossier-card::after,
[data-theme="dark"] .contact-card::after {
  background: radial-gradient(350px circle at var(--card-mouse-x, -999px) var(--card-mouse-y, -999px), rgba(255, 255, 255, 0.12) 0%, rgba(41, 151, 255, 0.15) 30%, transparent 60%);
  z-index: 0;
}

.hero-feature-card:hover::after,
.bento-box:hover::after,
.govt-dossier-card:hover::after,
.contact-card:hover::after {
  opacity: 1;
}

.feature-card-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background var(--transition-normal);
  z-index: 2;
}

.card-studio:hover .feature-card-glow {
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
}

.card-govt:hover .feature-card-glow {
  background: linear-gradient(90deg, var(--accent-amber), var(--accent-emerald));
}

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

.feature-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-blue {
  background: rgba(0, 113, 227, 0.1);
  color: var(--accent-blue);
  border: 1px solid rgba(0, 113, 227, 0.2);
}

.icon-amber {
  background: rgba(201, 114, 6, 0.1);
  color: var(--accent-amber);
  border: 1px solid rgba(201, 114, 6, 0.2);
}

.feature-card-pill {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: var(--radius-full);
}

.pill-blue {
  background: rgba(0, 113, 227, 0.08);
  color: var(--accent-blue);
  border: 1px solid rgba(0, 113, 227, 0.2);
}

.pill-amber {
  background: rgba(201, 114, 6, 0.08);
  color: var(--accent-amber);
  border: 1px solid rgba(201, 114, 6, 0.2);
}

.feature-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.3;
}

.feature-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 22px;
  flex: 1;
}

.feature-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--accent-blue);
  transition: gap var(--transition-fast);
}

.card-govt .feature-card-cta {
  color: var(--accent-amber);
}

.hero-feature-card:hover .feature-card-cta {
  gap: 12px;
}

/* ==========================================================================
   YOUTUBE SHORTS SHOWCASE (EXACT 9:16 VERTICAL FRAMES)
   ========================================================================== */
.shorts-section {
  padding: 100px 0;
  position: relative;
}

/* 3-Column Symmetrical Grid with Scroll Stagger */
.shorts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  justify-items: center;
  align-items: start;
}

.shorts-device-slot {
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.5s var(--ease-apple);
}

/* Elevated Center Phone for Apple-style Focal Depth */
.shorts-device-slot:nth-child(2) .iphone-frame {
  box-shadow: var(--shadow-center-phone);
  border-color: var(--border-hover);
}

/* Apple Cinema Display Frame with EXACT 9:16 Aspect Ratio (Borderless & Notchless) */
.video-display-frame,
.iphone-frame {
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #000000;
  border-radius: 28px;
  border: 3.5px solid var(--phone-bezel);
  box-shadow: var(--shadow-device);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.video-display-frame:hover,
.iphone-frame:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: var(--shadow-lg), 0 0 35px var(--border-glow);
  border-color: var(--accent-blue);
}

/* Auto-Adjusting 9:16 Video Container */
.shorts-embed-container {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000000;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* YouTube iframe inside container */
.shorts-embed-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 24px;
}

/* Apple Cinema Placeholder */
.shorts-cinema-teaser {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 20px;
  background: radial-gradient(circle at 50% 30%, rgba(41, 151, 255, 0.15) 0%, #05060a 75%);
  text-align: center;
  z-index: 2;
}

.teaser-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-tertiary);
  padding-top: 14px;
}

.teaser-live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 6px var(--accent-emerald);
  margin-right: 4px;
}

.teaser-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.teaser-play-glyph {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 16px;
  box-shadow: 0 0 24px rgba(41, 151, 255, 0.25);
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.iphone-frame:hover .teaser-play-glyph {
  transform: scale(1.1);
  background: #ffffff;
  color: #000;
}

.teaser-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.teaser-sub {
  font-size: 0.775rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Animated Sound Waveform Bars inside Teaser */
.teaser-wave-bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  height: 28px;
  margin-top: 14px;
}

.wave-bar {
  width: 3px;
  background: var(--accent-blue);
  border-radius: 3px;
  animation: wavePulse 1.2s ease-in-out infinite alternate;
}

.wave-bar:nth-child(1) { height: 40%; animation-delay: 0.1s; }
.wave-bar:nth-child(2) { height: 80%; animation-delay: 0.3s; }
.wave-bar:nth-child(3) { height: 50%; animation-delay: 0.2s; }
.wave-bar:nth-child(4) { height: 100%; animation-delay: 0.4s; }
.wave-bar:nth-child(5) { height: 60%; animation-delay: 0.15s; }

@keyframes wavePulse {
  0% { transform: scaleY(0.4); }
  100% { transform: scaleY(1); }
}

.teaser-bottom {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--accent-blue);
  padding: 4px 10px;
  background: rgba(41, 151, 255, 0.15);
  border-radius: var(--radius-full);
  align-self: center;
  border: 1px solid rgba(41, 151, 255, 0.25);
}

/* Bottom Label under iPhone */
.shorts-card-meta {
  margin-top: 20px;
  text-align: center;
  width: 100%;
}

.shorts-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.shorts-card-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   GOVERNMENT CONTRACTS & PUBLIC SECTOR SOLUTIONS SECTION
   ========================================================================== */
.govt-section {
  padding: 100px 0;
  background: radial-gradient(circle at 50% 0%, rgba(201, 114, 6, 0.06) 0%, transparent 60%);
  position: relative;
  border-top: 1px solid var(--border-subtle);
}

[data-theme="dark"] .govt-section {
  background: radial-gradient(circle at 50% 0%, rgba(255, 159, 10, 0.05) 0%, transparent 60%);
}

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

.govt-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 159, 10, 0.08);
  border: 1px solid rgba(255, 159, 10, 0.25);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-amber);
  margin-bottom: 20px;
}

.govt-title {
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  line-height: 1.15;
}

.govt-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 28px;
}

.govt-specs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.govt-specs-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.5;
}

.govt-spec-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(48, 209, 88, 0.15);
  border: 1px solid rgba(48, 209, 88, 0.35);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Institutional Command Card Visual (Glassmorphism) */
.govt-dossier-card {
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid rgba(165, 142, 115, 0.22);
  padding: 36px;
  box-shadow: 0 16px 48px rgba(130, 110, 85, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.govt-dossier-card:hover {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(140, 118, 92, 0.35);
  box-shadow: 0 20px 56px rgba(130, 110, 85, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transform: translateY(-3px);
}

[data-theme="dark"] .govt-dossier-card {
  background: rgba(20, 20, 26, 0.45);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .govt-dossier-card:hover {
  background: rgba(25, 25, 34, 0.65);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.dossier-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.dossier-label {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  color: var(--accent-amber);
  letter-spacing: 0.08em;
  font-weight: 600;
}

.dossier-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(165, 142, 115, 0.16);
  box-shadow: 0 1px 3px rgba(130, 110, 85, 0.04);
}

[data-theme="dark"] .dossier-row {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.dossier-key {
  font-size: 0.825rem;
  color: var(--text-secondary);
}

.dossier-val {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.compliance-status {
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(48, 209, 88, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(48, 209, 88, 0.3);
}

/* ==========================================================================
   WORKFLOW PIPELINE (SYMMETRICAL INTERACTIVE SUITE)
   ========================================================================== */
.pipeline-section {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.015) 50%, transparent 100%);
}

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

.pipeline-nav-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pipeline-item {
  padding: 20px 24px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all var(--transition-fast);
  opacity: 0.65;
}

.pipeline-item:hover {
  opacity: 0.9;
  background: var(--bg-card-hover);
}

.pipeline-item.active {
  background: var(--bg-card-hover);
  border-color: var(--accent-blue);
  opacity: 1;
  box-shadow: var(--shadow-sm), 0 0 20px rgba(41, 151, 255, 0.15);
}

.pipeline-num {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--accent-blue);
  font-weight: 600;
  margin-bottom: 4px;
}

.pipeline-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.pipeline-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Stage Monitor Screen */
.pipeline-monitor {
  position: relative;
  height: 440px;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--theme-transition);
}

.monitor-screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 36px;
  text-align: center;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.35s var(--ease-apple), transform 0.35s var(--ease-apple);
  pointer-events: none;
}

.monitor-screen.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

/* ==========================================================================
   METRICS SECTION (SYMMETRICAL DIVIDERS)
   ========================================================================== */
.metrics-section {
  padding: 70px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: radial-gradient(ellipse at center, rgba(41, 151, 255, 0.04) 0%, transparent 70%);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.metric-card {
  position: relative;
  padding: 24px 20px;
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
}

.metric-card:hover {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(130, 110, 85, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.75);
  transform: translateY(-3px);
}

[data-theme="dark"] .metric-card:hover {
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.metric-card:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--border-subtle);
}

.metric-number {
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  background: var(--gradient-text-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 6px;
}

.metric-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   SERVICES BENTO GRID (APPLE TRANSLUCENT GLASSMORPHISM)
   ========================================================================== */
.services-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.bento-box {
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid rgba(165, 142, 115, 0.22);
  box-shadow: 0 8px 32px rgba(130, 110, 85, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 140px;
  background: radial-gradient(ellipse 70% 90px at 50% 0%, rgba(255, 255, 255, 0.65) 0%, transparent 100%);
  pointer-events: none;
  opacity: 0.7;
  transition: opacity var(--transition-normal);
}

.bento-box:hover {
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(140, 118, 92, 0.38);
  transform: translateY(-5px);
  box-shadow: 0 18px 48px rgba(130, 110, 85, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

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

[data-theme="dark"] .bento-box {
  background: rgba(22, 22, 28, 0.45);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .bento-box::before {
  background: radial-gradient(ellipse 70% 90px at 50% 0%, rgba(255, 255, 255, 0.08) 0%, transparent 100%);
  opacity: 0.5;
}

[data-theme="dark"] .bento-box:hover {
  background: rgba(30, 30, 38, 0.65);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

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

.bento-tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-blue);
  margin-bottom: 12px;
  display: block;
}

.bento-title {
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.25;
  color: var(--text-primary);
}

.bento-desc {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.bento-pills-row {
  margin-top: 24px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.bento-pill {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(165, 142, 115, 0.22);
  color: var(--text-primary);
  box-shadow: 0 1px 4px rgba(130, 110, 85, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: all var(--transition-fast);
}

[data-theme="dark"] .bento-pill {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

.bento-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.bento-link.link-blue {
  color: var(--accent-blue);
}

.bento-link.link-amber {
  color: var(--accent-amber);
}

.bento-link:hover {
  transform: translateX(3px);
}

/* ==========================================================================
   CONTACT FORM & FOOTER
   ========================================================================== */
.contact-section {
  padding: 100px 0;
  background: radial-gradient(circle at 50% 100%, rgba(41, 151, 255, 0.08) 0%, transparent 60%);
}

.contact-card {
  max-width: 680px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid rgba(165, 142, 115, 0.22);
  padding: 44px;
  box-shadow: 0 16px 48px rgba(130, 110, 85, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.contact-card:hover {
  border-color: rgba(140, 118, 92, 0.35);
  box-shadow: 0 20px 56px rgba(130, 110, 85, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

[data-theme="dark"] .contact-card {
  background: rgba(20, 20, 26, 0.48);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .contact-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

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

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 13px 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(165, 142, 115, 0.22);
  color: var(--text-primary);
  font-size: 0.925rem;
  font-family: inherit;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: all var(--transition-fast);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--accent-blue);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 0 16px var(--border-glow);
}

[data-theme="dark"] .form-input, [data-theme="dark"] .form-textarea, [data-theme="dark"] .form-select {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .form-input:focus, [data-theme="dark"] .form-textarea:focus, [data-theme="dark"] .form-select:focus {
  background: rgba(255, 255, 255, 0.08);
}

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

/* ==========================================================================
   BEAUTIFIED DIRECT EMAIL DESK CARD
   ========================================================================== */
.direct-email-card {
  margin-top: 28px;
  padding: 16px 22px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.direct-email-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md), 0 0 24px rgba(0, 113, 227, 0.12);
  transform: translateY(-2px);
}

[data-theme="dark"] .direct-email-card {
  background: rgba(20, 20, 26, 0.65);
  border-color: rgba(255, 255, 255, 0.10);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .direct-email-card:hover {
  border-color: rgba(255, 255, 255, 0.20);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 24px rgba(41, 151, 255, 0.15);
}

.direct-email-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.direct-email-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0, 113, 227, 0.1);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

[data-theme="dark"] .direct-email-icon {
  background: rgba(41, 151, 255, 0.15);
  color: var(--accent-blue);
}

.direct-email-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.direct-email-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
  margin-bottom: 2px;
}

.direct-email-address {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color var(--transition-fast);
}

.direct-email-address:hover {
  color: var(--accent-blue);
}

.direct-email-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: var(--btn-secondary-bg);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.direct-email-btn:hover {
  background: var(--accent-blue);
  color: #ffffff;
  border-color: var(--accent-blue);
  transform: translateX(2px);
}

[data-theme="dark"] .direct-email-btn {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: #f5f5f7;
}

[data-theme="dark"] .direct-email-btn:hover {
  background: var(--accent-blue);
  color: #ffffff;
  border-color: var(--accent-blue);
}

.site-footer {
  background: #EFE8DC;
  border-top: 1px solid var(--border-subtle);
  padding: 50px 0 28px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  transition: var(--theme-transition);
}

[data-theme="dark"] .site-footer {
  background: #040405;
  border-top-color: var(--border-subtle);
  color: var(--text-tertiary);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   SCROLL TO TOP (APPLE GLASSMORPHISM FLOATING BUTTON)
   ========================================================================== */
.scroll-to-top-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(165, 142, 115, 0.28);
  color: var(--text-primary);
  box-shadow: 0 8px 24px rgba(130, 110, 85, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 990;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition: opacity 0.35s var(--ease-apple), transform 0.35s var(--ease-apple), visibility 0.35s var(--ease-apple), background-color 0.2s var(--ease-apple), border-color 0.2s var(--ease-apple), box-shadow 0.2s var(--ease-apple), color 0.2s var(--ease-apple);
}

.scroll-to-top-btn svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.3;
  transition: transform 0.25s var(--ease-apple);
}

.scroll-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.scroll-to-top-btn:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(140, 118, 92, 0.45);
  color: var(--accent-blue);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 32px rgba(130, 110, 85, 0.2), 0 0 18px rgba(0, 113, 227, 0.16);
}

.scroll-to-top-btn:hover svg {
  transform: translateY(-2px);
}

.scroll-to-top-btn:active {
  transform: translateY(-1px) scale(0.96);
}

[data-theme="dark"] .scroll-to-top-btn {
  background: rgba(22, 22, 28, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f5f5f7;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .scroll-to-top-btn:hover {
  background: rgba(36, 36, 46, 0.95);
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--accent-blue);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.75), 0 0 22px rgba(41, 151, 255, 0.28);
}

/* Toast */
.toast-msg {
  position: fixed;
  bottom: 84px;
  right: 28px;
  padding: 13px 22px;
  border-radius: var(--radius-full);
  background: #1D1D1F;
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  z-index: 1050;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.35s var(--ease-apple), opacity 0.35s var(--ease-apple);
}

[data-theme="dark"] .toast-msg {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.toast-msg.show {
  transform: translateY(0);
  opacity: 1;
}

/* Contact Status Alert */
.contact-status-box {
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 0.875rem;
  line-height: 1.5;
  transition: all var(--transition-normal);
}

.contact-status-box.success {
  background: rgba(48, 209, 88, 0.12);
  border: 1px solid rgba(48, 209, 88, 0.3);
  color: var(--accent-emerald);
}

.contact-status-box.error {
  background: rgba(255, 69, 58, 0.12);
  border: 1px solid rgba(255, 69, 58, 0.3);
  color: #ff453a;
}

/* ==========================================================================
   RESPONSIVENESS (DESKTOP, TABLET, MOBILE)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-showcase-cards { gap: 20px; }
  .shorts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .govt-grid { grid-template-columns: 1fr; gap: 36px; }
  .metrics-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .metric-card:nth-child(2)::after { display: block; }
  .bento-8, .bento-4, .bento-6 { grid-column: span 12; }
}

@media (max-width: 768px) {
  body { padding-top: 60px; }
  .site-nav { height: 60px; }
  .nav-links, .nav-actions .btn-pill-sm { display: none; }
  .mobile-toggle { display: flex; }
  
  .hero-wrapper { padding-top: 36px; padding-bottom: 60px; }
  .hero-headline { font-size: 2.3rem; }
  .hero-showcase-cards { grid-template-columns: 1fr; gap: 18px; }
  .form-row { grid-template-columns: 1fr !important; gap: 0 !important; }
  
  .shorts-section { padding: 60px 0; }
  .shorts-grid { grid-template-columns: 1fr; gap: 32px; }
  .shorts-device-slot { max-width: 320px; margin: 0 auto; }
  
  .metrics-grid { grid-template-columns: 1fr; gap: 20px; }
  .metric-card::after { display: none !important; }
  
  .contact-card { padding: 24px; }
  .direct-email-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .direct-email-btn { width: 100%; justify-content: center; }
  .scroll-to-top-btn { bottom: 20px; right: 20px; width: 40px; height: 40px; }
  .toast-msg { bottom: 72px; right: 20px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
