/* ════════════════════════════════════════════════════════════
   DAVIZ SOLUTIONS · Production Stylesheet
   Pure semantic CSS · No Tailwind runtime · WCAG AA compliant
   Styled to exact color combinations, typography, and visual language of
   C:\Users\FIVE STAR COMPUTER\Desktop\website\index.html
   ════════════════════════════════════════════════════════════ */

@import url('tokens.css');

/* ── 1. Modern Reset ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg); /* #080c10 */
  color: var(--text);          /* #e8eaed */
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.011em;
  line-height: var(--lh-body);
}

/* Subtle noise texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9000;
  opacity: 0.3;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

/* ── 2. Accessibility & Focus States ── */
:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0 0 0.5rem 0.5rem;
  font-weight: 600;
  z-index: 99999;
  text-decoration: none;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 0;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ── 3. Typography ── */
h1, h2, h3, h4, h5, h6 {
  color: #ffffff;
  font-weight: 700;
  line-height: var(--lh-heading);
  letter-spacing: -0.02em;
}

h1 {
  font-size: var(--font-h1);
  line-height: var(--lh-tight);
  margin-bottom: var(--sp-4);
}

h2 {
  font-size: var(--font-h2);
  margin-bottom: var(--sp-3);
}

h3 {
  font-size: var(--font-h3);
  margin-bottom: var(--sp-2);
}

p {
  color: var(--text-muted); /* #9ca3af */
  margin-bottom: var(--sp-4);
  max-width: var(--max-prose);
}

p:last-child {
  margin-bottom: 0;
}

.lead {
  font-size: 1.1875rem;
  line-height: 1.65;
  color: var(--text-muted);
}

a {
  color: #60a5fa;
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: #93c5fd;
  text-decoration: underline;
}

.font-serif {
  font-family: var(--font-serif);
}

.font-sans {
  font-family: var(--font-sans);
}

/* Text Gradients */
.grad-blue {
  background: linear-gradient(135deg, #93c5fd 0%, #3b82f6 40%, #1d4ed8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.grad-gold {
  background: linear-gradient(135deg, #fcd34d 0%, #d4a843 60%, #b45309 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.grad-white {
  background: linear-gradient(135deg, #ffffff 0%, #d1d5db 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Eyebrow badge from reference */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #93c5fd;
  margin-bottom: var(--sp-3);
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3b82f6;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.8);
}

/* ── 4. Layout Containers ── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--sp-5);
  padding-right: var(--sp-5);
}

.container-narrow {
  width: 100%;
  max-width: var(--max-width-narrow);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--sp-5);
  padding-right: var(--sp-5);
}

.section {
  padding-top: var(--sp-16);
  padding-bottom: var(--sp-16);
  border-bottom: 1px solid var(--border);
  position: relative;
}

@media (min-width: 768px) {
  .section {
    padding-top: var(--sp-20);
    padding-bottom: var(--sp-20);
  }
}

.section-alt {
  background-color: var(--surface); /* #111820 */
}

.section-header {
  margin-bottom: var(--sp-12);
  max-width: 680px;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header.center p {
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  font-size: var(--font-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #60a5fa;
  margin-bottom: var(--sp-2);
}

/* ── 5. Responsive Grids ── */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}

@media (min-width: 640px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}

@media (min-width: 640px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ── Scroll Progress Bar ── */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #2563eb, #60a5fa 60%, #fcd34d 100%);
  box-shadow: 0 0 10px rgba(96, 165, 250, 0.8), 0 0 4px rgba(252, 211, 77, 0.6);
  z-index: 9999;
  transition: width 0.08s linear;
  pointer-events: none;
}

/* ── 6. Header & Navigation (Obsidian Panel with Blur) ── */
#navbar {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background-color: rgba(11, 18, 32, 0.9);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-bottom: 1px solid var(--border);
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
}

#navbar.is-scrolled {
  background-color: rgba(11, 18, 32, 0.98);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom-color: rgba(33, 199, 217, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 25px rgba(13, 110, 175, 0.12);
}

.nav-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 clamp(20px, 3.5vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  transition: height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#navbar.is-scrolled .nav-container {
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.nav-logo-text {
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1;
  white-space: nowrap;
}

.nav-logo-text .accent {
  color: #60a5fa;
}

.nav-logo-sub {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-left: 2px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: clamp(12px, 1.4vw, 24px);
  margin: 0 clamp(10px, 2vw, 36px);
  flex-shrink: 1;
}

@media (min-width: 1180px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  position: relative;
  font-size: clamp(0.8125rem, 0.88vw, 0.875rem);
  font-weight: 500;
  color: #94A3B8;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.2s ease;
  padding: 0.25rem 0;
  display: inline-flex;
  align-items: center;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 100%;
  height: 2px;
  background: var(--cyan);
  transition: right 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  text-decoration: none;
}

.nav-link:hover::after,
.nav-link.active::after {
  right: 0;
}

.nav-actions {
  display: none;
  align-items: center;
  gap: clamp(8px, 1vw, 14px);
  flex-shrink: 0;
}

@media (min-width: 1180px) {
  .nav-actions {
    display: flex;
  }
}

.nav-actions .btn {
  white-space: nowrap;
  flex-shrink: 0;
  font-size: clamp(0.8125rem, 0.85vw, 0.875rem);
}

/* Hamburger button */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  flex-shrink: 0;
}

@media (min-width: 1180px) {
  .nav-toggle {
    display: none;
  }
}

.nav-toggle-bar {
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  border-radius: 1px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

/* Mobile dropdown menu */
#mobile-menu {
  display: none;
  background-color: var(--surface-panel);
  border-bottom: 1px solid var(--border);
  padding: var(--sp-4) var(--sp-5) var(--sp-6);
}

#mobile-menu.is-open {
  display: block;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
}

.mobile-nav-link {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
  padding: var(--sp-2) 0;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: #ffffff;
  font-weight: 600;
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding-top: var(--sp-2);
}

/* ── 7. Buttons (Exact Pill Radius 9999px & Gradients from Reference) ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  text-decoration: none;
  cursor: pointer;
  letter-spacing: -0.01em;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  min-height: 44px;
  line-height: 1;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
}

/* Primary Button: Vibrant Royal-to-Navy Gradient with Blue Ambient Glow */
.btn-primary {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: #ffffff;
  border: none;
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 50px rgba(59, 130, 246, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.btn-primary:active {
  transform: translateY(0) scale(0.99);
}

/* Secondary / Ghost Button: Transparent with fine border */
.btn-secondary,
.btn-ghost {
  background: transparent;
  color: #d1d5db;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-secondary:hover,
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* WhatsApp Button: Clean Emerald Gradient */
.btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #ffffff;
  border: none;
  padding: 0.625rem 1.5rem;
  box-shadow: 0 0 30px rgba(37, 211, 102, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(37, 211, 102, 0.45);
  color: #ffffff;
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: var(--font-small);
  min-height: 38px;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  align-items: center;
}

/* ── 8. Cards & Glassmorphic Surfaces (Exact Reference) ── */
.card,
.glass-card {
  background: linear-gradient(135deg, rgba(22, 30, 40, 0.9) 0%, rgba(13, 17, 23, 0.75) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: var(--sp-6);
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  .card,
  .glass-card {
    padding: var(--sp-8);
  }
}

.card:hover,
.glass-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 30px rgba(59, 130, 246, 0.1);
  transform: translateY(-4px);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--sp-2);
  color: #ffffff;
}

.card-subtitle {
  font-size: var(--font-small);
  color: #60a5fa;
  font-weight: 600;
  margin-bottom: var(--sp-2);
}

.card-text {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ── 9. Browser Frame ── */
.browser-frame {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.25rem;
  background-color: var(--surface-card);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.04);
  transition: all 0.3s ease;
}

.browser-frame:hover {
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.7), 0 0 40px rgba(59, 130, 246, 0.15);
}

/* Floating micro-animation for hero visual */
.hero .browser-frame,
.animate-float {
  animation: floatSlow 7s ease-in-out infinite;
  will-change: transform;
}

.hero .browser-frame:hover,
.animate-float:hover {
  animation-play-state: paused;
}

@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(0.4deg);
  }
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background-color: #0d1117;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.browser-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
}

.browser-url {
  font-size: 11px;
  color: var(--text-subtle);
  margin-left: var(--sp-2);
  font-family: monospace;
}

.browser-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

/* ── 10. Hero Section & Atmospheric Glows ── */
.hero {
  padding-top: var(--sp-12);
  padding-bottom: var(--sp-16);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .hero {
    padding-top: var(--sp-16);
    padding-bottom: var(--sp-20);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.75;
    transform: translateX(-50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.08);
  }
}

.hero-glow {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.18) 0%, transparent 70%);
  pointer-events: none;
  animation: pulseGlow 10s ease-in-out infinite;
}

.hero-glow-gold {
  position: absolute;
  bottom: 0;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(212, 168, 67, 0.07) 0%, transparent 65%);
  pointer-events: none;
}

/* Hero Scroll Cue */
.scroll-cue {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-subtle);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  margin-top: var(--sp-8);
  padding: 8px 16px;
  border-radius: 9999px;
  transition: all 0.25s ease;
}

.scroll-cue:hover {
  color: #93c5fd;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.03);
}

.scroll-cue-mouse {
  width: 22px;
  height: 34px;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 6px;
  transition: border-color 0.2s ease;
}

.scroll-cue:hover .scroll-cue-mouse {
  border-color: #60a5fa;
}

.scroll-cue-wheel {
  width: 3px;
  height: 6px;
  background-color: #60a5fa;
  border-radius: 2px;
  animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  60% {
    opacity: 0.2;
    transform: translateY(10px);
  }
  100% {
    opacity: 0;
    transform: translateY(12px);
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--sp-12);
  }
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--border);
  font-size: var(--font-small);
  color: var(--text-muted);
}

.hero-proof strong {
  color: #ffffff;
}

/* ── 11. Stats Row ── */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
}

@media (min-width: 768px) {
  .stats-strip {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-8);
  }
}

.stat-item {
  border-left: 2px solid #3b82f6;
  padding-left: var(--sp-4);
}

.stat-number {
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  margin-bottom: var(--sp-1);
}

.stat-label {
  font-size: var(--font-small);
  color: var(--text-muted);
  line-height: 1.4;
}

/* ── 12. Portfolio Grid & Filters ── */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-8);
}

.filter-btn {
  padding: 8px 18px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-size: var(--font-small);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  border-color: rgba(59, 130, 246, 0.4);
  color: #ffffff;
  background-color: rgba(59, 130, 246, 0.08);
}

.filter-btn.active {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.portfolio-card {
  background: linear-gradient(135deg, rgba(22, 30, 40, 0.95) 0%, rgba(13, 17, 23, 0.8) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6), 0 0 30px rgba(59, 130, 246, 0.12);
}

.portfolio-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--border);
  transition: transform 0.4s ease;
}

.portfolio-card:hover img {
  transform: scale(1.02);
}

.portfolio-card-body {
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.portfolio-tag {
  display: inline-block;
  font-size: var(--font-xs);
  font-weight: 600;
  color: #60a5fa;
  margin-bottom: var(--sp-2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.portfolio-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: var(--sp-2);
}

.portfolio-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: var(--sp-4);
  flex: 1;
}

.portfolio-impact {
  font-size: var(--font-small);
  font-weight: 600;
  color: #ffffff;
  padding-top: var(--sp-3);
  border-top: 1px solid var(--border);
}

/* ── 13. FAQ Accordion ── */
.accordion {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.accordion-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  background-color: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  transition: all 0.25s ease;
}

.accordion-item:hover {
  border-color: rgba(59, 130, 246, 0.25);
  background-color: rgba(255, 255, 255, 0.035);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 600;
  color: #ffffff;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.accordion-trigger:hover {
  color: #93c5fd;
}

.accordion-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: #93c5fd;
}

.accordion-trigger[aria-expanded="true"] .accordion-icon {
  transform: rotate(45deg);
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
}

.accordion-panel {
  padding: 0 var(--sp-6) var(--sp-6) var(--sp-6);
  color: var(--text-muted);
  font-size: var(--font-body);
  line-height: var(--lh-body);
}

.accordion-panel[hidden] {
  display: none;
}

/* ── 14. Contact Form ── */
.form-group {
  margin-bottom: var(--sp-5);
}

.form-label {
  display: block;
  font-size: var(--font-small);
  font-weight: 600;
  color: #ffffff;
  margin-bottom: var(--sp-2);
}

.form-label .required {
  color: var(--danger);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  transition: all 0.2s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-subtle);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  background-color: rgba(255, 255, 255, 0.06);
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  font-size: var(--font-small);
  color: var(--text-muted);
  cursor: pointer;
}

.form-checkbox-label input {
  margin-top: 3px;
}

.form-error {
  color: var(--danger);
  font-size: var(--font-xs);
  margin-top: var(--sp-1);
}

.form-alert {
  padding: var(--sp-4);
  border-radius: 10px;
  font-size: var(--font-small);
  margin-bottom: var(--sp-5);
}

.form-alert.success {
  background-color: var(--success-light);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.4);
}

.form-alert.error {
  background-color: var(--danger-light);
  color: #f87171;
  border: 1px solid rgba(248, 113, 113, 0.4);
}

/* ── 15. Call-to-Action Strip ── */
.cta-band {
  background: linear-gradient(135deg, #0d1117 0%, #161e28 100%);
  color: var(--navy-text);
  padding: var(--sp-16) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .cta-band {
    padding: var(--sp-20) 0;
  }
}

.cta-band h2 {
  color: #ffffff;
  margin-bottom: var(--sp-3);
}

.cta-band p {
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 600px;
  margin-bottom: var(--sp-6);
}

/* ── 16. Footer (Obsidian with Crisp Muted Links) ── */
footer {
  background-color: #080c10;
  color: var(--navy-text);
  border-top: 1px solid var(--border);
}

.footer-top {
  padding-top: var(--sp-16);
  padding-bottom: var(--sp-16);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr;
  }
}

.footer-col h3 {
  color: #ffffff;
  font-size: var(--font-small);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--sp-4);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.footer-link {
  color: #6b7280;
  font-size: var(--font-small);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #e8eaed;
  text-decoration: none;
}

.footer-brand p {
  color: var(--navy-muted);
  font-size: var(--font-small);
  margin-bottom: var(--sp-4);
  max-width: 320px;
}

.footer-social-row {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--navy-muted);
  transition: all var(--transition-fast);
}

.footer-social-link:hover {
  color: #ffffff;
  border-color: rgba(59, 130, 246, 0.4);
  background-color: rgba(59, 130, 246, 0.1);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: var(--sp-6) 0;
  font-size: var(--font-xs);
  color: #6b7280;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .footer-bottom-inner {
    flex-direction: row;
  }
}

.footer-legal-links {
  display: flex;
  gap: var(--sp-4);
}

.footer-legal-links a {
  color: #6b7280;
  font-size: var(--font-xs);
  text-decoration: none;
}

.footer-legal-links a:hover {
  color: #e8eaed;
}

/* ── 17. Cookie Banner ── */
#cookie-banner {
  position: fixed;
  bottom: var(--sp-4);
  left: var(--sp-4);
  right: var(--sp-4);
  max-width: 500px;
  background-color: #0d1117;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.25rem;
  padding: var(--sp-5);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.8);
  z-index: var(--z-banner);
  display: none;
}

#cookie-banner.is-visible {
  display: block;
}

#cookie-banner p {
  font-size: var(--font-small);
  color: var(--text-muted);
  margin-bottom: var(--sp-4);
}

#cookie-banner .btn-group {
  gap: var(--sp-2);
}

/* ── Back to Top Floating Button ── */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: #93c5fd;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 95;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.2s ease,
              border-color 0.2s ease,
              box-shadow 0.2s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 20px rgba(37, 99, 235, 0.2);
}

#back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

#back-to-top:hover {
  background: rgba(37, 99, 235, 0.25);
  border-color: #60a5fa;
  color: #ffffff;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6), 0 0 30px rgba(59, 130, 246, 0.4);
}

#back-to-top:active {
  transform: translateY(0) scale(0.98);
}

/* ── Infinite Horizontal Scroll Marquee ── */
.marquee-wrap {
  overflow: hidden;
  user-select: none;
  position: relative;
  padding: var(--sp-4) 0;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
  display: flex;
  gap: var(--sp-4);
  width: max-content;
  animation: marqueeScroll 32s linear infinite;
  will-change: transform;
}

.marquee-wrap:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: var(--font-small);
  color: var(--text-muted);
  white-space: nowrap;
  font-weight: 500;
  transition: all 0.25s ease;
}

.marquee-item:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.35);
  color: #ffffff;
  transform: translateY(-2px);
}

.marquee-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #3b82f6;
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.8);
}

@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ── 18. Scroll Reveal Animations & Micro-Motion ── */
/* Short document-to-document fade; normal links still work without JavaScript. */
@keyframes pageEnter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

body.page-entering main {
  animation: pageEnter 0.42s ease-out both;
}

body.page-leaving main {
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.18s ease-in, transform 0.18s ease-in;
}

.fade-in,
.reveal,
.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.fade-in.is-visible,
.reveal.is-revealed,
.reveal-up.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-fade {
  opacity: 0;
  transition: opacity 0.65s ease;
  will-change: opacity;
}
.reveal-fade.is-revealed {
  opacity: 1;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-left.is-revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-right.is-revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-scale.is-revealed {
  opacity: 1;
  transform: scale(1);
}

/* Stagger Utilities */
.stagger-1 { transition-delay: 80ms !important; }
.stagger-2 { transition-delay: 160ms !important; }
.stagger-3 { transition-delay: 240ms !important; }
.stagger-4 { transition-delay: 320ms !important; }
.stagger-5 { transition-delay: 400ms !important; }
.stagger-6 { transition-delay: 480ms !important; }

/* Interactive stat item & counter animation */
.stat-item {
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.stat-item:hover {
  transform: translateY(-3px);
  border-left-color: #60a5fa;
}

.stat-number.counting {
  color: #60a5fa;
  text-shadow: 0 0 20px rgba(96, 165, 250, 0.4);
}

@media (prefers-reduced-motion: reduce) {
  body.page-entering main {
    animation: none !important;
  }
  body.page-leaving main {
    opacity: 1 !important;
    transform: none !important;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-in,
  .reveal,
  .reveal-up,
  .reveal-fade,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .marquee-track {
    animation: none !important;
  }
  .animate-float,
  .hero .browser-frame,
  .hero-glow,
  .scroll-cue-wheel {
    animation: none !important;
  }
}

/* ── 19. Utilities & Badges ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: var(--font-xs);
  font-weight: 600;
  background-color: rgba(59, 130, 246, 0.12);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin: var(--sp-4) 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.check-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #34d399;
  margin-top: 2px;
}

/* Table styling for services / deliverables */
.data-table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  margin: var(--sp-6) 0;
  background-color: rgba(255, 255, 255, 0.02);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--font-small);
  text-align: left;
}

.data-table th {
  background-color: var(--surface);
  color: #ffffff;
  font-weight: 600;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}

.data-table tr:last-child td {
  border-bottom: none;
}

/* ── 20. End-to-End Enterprise Flow Component ── */
.flow-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  position: relative;
  margin: var(--sp-8) 0;
}

@media (min-width: 900px) {
  .flow-container {
    grid-template-columns: repeat(4, 1fr);
    align-items: stretch;
  }
}

.flow-node {
  background: linear-gradient(135deg, rgba(22, 30, 40, 0.95) 0%, rgba(13, 17, 23, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  padding: var(--sp-6);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.flow-node:hover {
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(59, 130, 246, 0.15);
}

.flow-node.highlight-ai {
  border-color: rgba(96, 165, 250, 0.4);
  background: linear-gradient(135deg, rgba(30, 42, 60, 0.95) 0%, rgba(17, 24, 38, 0.95) 100%);
  box-shadow: 0 0 35px rgba(37, 99, 235, 0.2);
}

.flow-node-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-4);
}

.flow-step-num {
  font-size: var(--font-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #60a5fa;
  background: rgba(59, 130, 246, 0.12);
  padding: 4px 10px;
  border-radius: 9999px;
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.flow-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #93c5fd;
}

.flow-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: var(--sp-2);
}

.flow-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: var(--sp-4);
  flex-grow: 1;
}

.flow-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.flow-tag {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--text-subtle);
}

/* ── 21. AI Copilot / Dashboard Explainer Mockup ── */
.ai-mockup-wrapper {
  background: linear-gradient(135deg, rgba(22, 30, 40, 0.98) 0%, rgba(13, 17, 23, 0.95) 100%);
  border: 1px solid rgba(96, 165, 250, 0.25);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7), 0 0 40px rgba(37, 99, 235, 0.15);
}

.ai-mockup-grid {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 960px) {
  .ai-mockup-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.ai-mockup-visual {
  padding: var(--sp-6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 960px) {
  .ai-mockup-visual {
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
  }
}

.ai-mockup-chat {
  background: rgba(11, 15, 21, 0.95);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ai-chat-header {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding-bottom: var(--sp-4);
  margin-bottom: var(--sp-4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.ai-avatar {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}

.ai-chat-body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}

.ai-msg {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.875rem;
  line-height: 1.5;
}

.ai-msg-user {
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #ffffff;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
  max-width: 90%;
}

.ai-msg-bot {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}

.ai-msg-bot strong {
  color: #60a5fa;
}

.ai-quick-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: var(--sp-2);
}

.ai-prompt-chip {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #93c5fd;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ai-prompt-chip:hover {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.4);
  color: #ffffff;
}

/* ── 22. Step-by-Step Journey (How It Works) ── */
.journey-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  position: relative;
}

@media (min-width: 768px) {
  .journey-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .journey-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  background: linear-gradient(135deg, rgba(22, 30, 40, 0.9) 0%, rgba(13, 17, 23, 0.8) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  padding: var(--sp-6);
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.step-card:hover {
  border-color: rgba(59, 130, 246, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(59, 130, 246, 0.1);
}

.step-number-pill {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #60a5fa, #2563eb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: var(--sp-3);
}

/* ── 23. Comparison Table (Traditional vs AI-Powered) ── */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  margin-top: var(--sp-8);
}

@media (min-width: 768px) {
  .comparison-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.comparison-box {
  border-radius: 1.25rem;
  padding: var(--sp-8);
}

.comparison-box.traditional {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.comparison-box.ai-powered {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(13, 17, 23, 0.9) 100%);
  border: 1px solid rgba(59, 130, 246, 0.35);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 30px rgba(59, 130, 246, 0.1);
}

.comparison-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-top: var(--sp-4);
}

.comparison-list li {
  display: flex;
  gap: var(--sp-3);
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.5;
}

.comparison-icon-bad {
  color: #ef4444;
  flex-shrink: 0;
  margin-top: 2px;
}

.comparison-icon-good {
  color: #10b981;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── 24. Case Studies Metric Box ── */
.case-metric-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--border);
}

.case-metric-item {
  border-left: 2px solid #3b82f6;
  padding-left: var(--sp-3);
}

.case-metric-val {
  font-size: 1.35rem;
  font-weight: 700;
  color: #60a5fa;
  line-height: 1.1;
}

.case-metric-lbl {
  font-size: var(--font-xs);
  color: var(--text-muted);
  line-height: 1.3;
  margin-top: 2px;
}

/* ════════════════════════════════════════════════════════════
   25. ENTERPRISE NAVIGATION DROPDOWNS
   Accessible, hover & focus-within triggered, high contrast
   ════════════════════════════════════════════════════════════ */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  font-size: clamp(0.8125rem, 0.88vw, 0.875rem);
  font-weight: 500;
  color: #94A3B8;
  cursor: pointer;
  padding: 0.25rem 0;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.2s ease;
  font-family: inherit;
}

.dropdown-toggle:hover,
.nav-dropdown:hover .dropdown-toggle,
.nav-dropdown:focus-within .dropdown-toggle {
  color: #FFFFFF;
}

.dropdown-chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  stroke: currentColor;
}

.nav-dropdown:hover .dropdown-chevron,
.nav-dropdown:focus-within .dropdown-chevron,
.nav-dropdown.is-open .dropdown-chevron {
  transform: rotate(180deg);
  color: var(--cyan);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 300px;
  background: rgba(11, 18, 32, 0.96);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 24px rgba(33, 199, 217, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.22s ease;
  z-index: 1000;
}

/* Invisible bridge so hover isn't lost between toggle and menu */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown.is-open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  flex-direction: column;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: rgba(13, 110, 175, 0.22);
  transform: translateX(3px);
  outline: none;
}

.dropdown-item-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dropdown-item:hover .dropdown-item-title {
  color: var(--cyan);
}

.dropdown-item-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin-top: 2px;
}

.dropdown-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 6px 8px;
}

/* ════════════════════════════════════════════════════════════
   26. HERO ARCHITECTURE PIPELINE VISUALIZATION
   ════════════════════════════════════════════════════════════ */
.hero-pipeline-visual {
  background: rgba(15, 25, 44, 0.7);
  border: 1px solid rgba(33, 199, 217, 0.25);
  border-radius: 18px;
  padding: var(--sp-6);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 35px rgba(13, 110, 175, 0.2);
  position: relative;
  overflow: hidden;
}

.pipeline-flow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.pipeline-node {
  background: rgba(19, 32, 56, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 10px;
  text-align: center;
  position: relative;
  cursor: pointer;
  user-select: none;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}

.pipeline-node:hover {
  border-color: rgba(33, 199, 217, 0.4);
  background: rgba(19, 32, 56, 0.95);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.pipeline-node:focus-visible {
  border-color: var(--cyan);
  box-shadow: 0 0 0 2px rgba(33, 199, 217, 0.3);
}

.pipeline-node.is-selected,
.pipeline-node.active,
.pipeline-node.highlight {
  border-color: var(--cyan);
  background: rgba(33, 199, 217, 0.08);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(33, 199, 217, 0.3);
  transform: translateY(-2px);
}

.pipeline-node:active {
  transform: translateY(0);
}

.pipeline-node-icon {
  width: 32px;
  height: 32px;
  margin: 0 auto 8px;
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pipeline-node-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pipeline-node-sub {
  font-size: 0.6875rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.pipeline-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--cyan);
  opacity: 0.8;
  animation: pulseArrow 2s infinite ease-in-out;
}

@keyframes pulseArrow {
  0%, 100% { opacity: 0.4; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(4px); }
}

/* ════════════════════════════════════════════════════════════
   27. BEFORE-AND-AFTER INTERACTIVE VISUALIZER
   ════════════════════════════════════════════════════════════ */
.ba-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  margin-top: var(--sp-8);
}

@media (min-width: 900px) {
  .ba-container {
    grid-template-columns: 1fr 1fr;
  }
}

.ba-card {
  border-radius: 16px;
  padding: var(--sp-6);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.ba-card.before {
  background: rgba(26, 20, 24, 0.8);
  border: 1px solid rgba(239, 68, 68, 0.35);
  box-shadow: 0 10px 30px rgba(239, 68, 68, 0.08);
}

.ba-card.after {
  background: rgba(15, 28, 48, 0.85);
  border: 1px solid rgba(33, 199, 217, 0.4);
  box-shadow: 0 15px 40px rgba(13, 110, 175, 0.25), 0 0 25px rgba(33, 199, 217, 0.15);
}

.ba-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--sp-4);
}

.ba-card.before .ba-tag {
  background: rgba(239, 68, 68, 0.2);
  color: #F87171;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.ba-card.after .ba-tag {
  background: rgba(33, 199, 217, 0.2);
  color: #21C7D9;
  border: 1px solid rgba(33, 199, 217, 0.4);
}

.ba-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: var(--sp-4);
}

.ba-list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.ba-icon-bad {
  color: #EF4444;
  flex-shrink: 0;
  margin-top: 3px;
}

.ba-icon-good {
  color: #21C7D9;
  flex-shrink: 0;
  margin-top: 3px;
}

/* ════════════════════════════════════════════════════════════
   28. 6-STAGE DATA TRANSFORMATION PROCESS
   ════════════════════════════════════════════════════════════ */
.process-stages-wrap {
  margin-top: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  position: relative;
}

.stages-row {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: var(--sp-4);
  position: relative;
  width: 100%;
}

@media (min-width: 768px) {
  .stages-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stage-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: var(--sp-6);
  cursor: default;
  position: relative;
  min-height: 235px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.2s ease,
              background-color 0.2s ease,
              box-shadow 0.2s ease;
}

.stage-card-body {
  display: flex;
  flex-direction: column;
}

/* Sibling dimming when a stage is hovered */
.stage-card.is-dimmed {
  opacity: 0.35;
  filter: brightness(0.65);
  transform: scale(0.99);
}

/* Hovered stage card */
.stage-card.is-hovered {
  opacity: 1 !important;
  filter: brightness(1) !important;
  border-color: rgba(33, 199, 217, 0.7);
  background: var(--surface-card);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(33, 199, 217, 0.25);
  transform: translateY(-2px);
  z-index: 10;
}

.stage-card:focus-visible {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 2px rgba(33, 199, 217, 0.3);
}

/* ── FULL-WIDTH BIG BOX OVERLAY (COVERS OPPOSITE 3-CARD ROW) ── */
.stage-big-overlay {
  position: absolute;
  inset: 0;
  z-index: 40;
  background: rgba(13, 20, 36, 0.98);
  border: 1px solid rgba(33, 199, 217, 0.45);
  border-radius: 14px;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(33, 199, 217, 0.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 22px 28px;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.22s ease;
  display: flex;
  align-items: center;
}

.stage-big-overlay.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.big-box-inner {
  display: grid;
  grid-template-columns: 1.15fr 1px 1.45fr;
  gap: 24px;
  align-items: center;
  width: 100%;
}

.big-box-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.big-box-badge {
  font-family: var(--font-mono, monospace);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.big-box-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.25;
}

.big-box-desc {
  font-size: 0.8125rem;
  color: #94A3B8;
  line-height: 1.5;
  margin: 0;
}

.big-box-divider {
  width: 1px;
  height: 85%;
  background: rgba(255, 255, 255, 0.1);
}

.big-box-right {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.big-box-label {
  font-family: var(--font-mono, monospace);
  font-size: 0.6875rem;
  font-weight: 700;
  color: #E2E8F0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.big-box-deliverables {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.big-box-deliverable-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.75rem;
  color: #CBD5E1;
  line-height: 1.35;
}

.big-box-check {
  color: var(--cyan);
  font-weight: 700;
  flex-shrink: 0;
  font-size: 0.8125rem;
}

@media (max-width: 900px) {
  .stages-row {
    grid-template-columns: 1fr;
  }
  .stage-big-overlay {
    display: none !important;
  }
}

.stage-number {
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--cyan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--sp-2);
}

.stage-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: var(--sp-2);
}

.stage-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.stage-deliverables {
  margin-top: var(--sp-4);
  padding-top: var(--sp-3);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stage-deliverable-item {
  font-size: 0.75rem;
  color: #E2E8F0;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

/* ════════════════════════════════════════════════════════════
   28B. SECTION 4: CORE ENTERPRISE SOLUTIONS (HOVER POP-UP ONLY)
   ════════════════════════════════════════════════════════════ */
#solutions .card {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.2s ease,
              background 0.2s ease,
              box-shadow 0.2s ease;
}

/* Pop up only on the hovered card: subtle lift, background color change, light border */
#solutions .card:hover {
  background: rgba(22, 33, 50, 0.95);
  border-color: rgba(33, 199, 217, 0.65);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(33, 199, 217, 0.2);
  transform: translateY(-5px);
}

/* ════════════════════════════════════════════════════════════
   29. MICROSOFT FABRIC 6-LAYER ARCHITECTURE DIAGRAM
   ════════════════════════════════════════════════════════════ */
.fabric-arch-stack {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-top: var(--sp-8);
}

.arch-layer-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: background 0.25s ease,
              border-color 0.25s ease,
              box-shadow 0.25s ease,
              transform 0.25s ease;
  position: relative;
  outline: none;
}

.arch-layer-card:hover,
.arch-layer-card.is-expanded,
.arch-layer-card.active,
.arch-layer-card:focus-visible {
  border-color: rgba(33, 199, 217, 0.7);
  background: rgba(22, 33, 50, 0.95);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(33, 199, 217, 0.15);
  transform: translateY(-2px);
}

.arch-layer-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  align-items: center;
  width: 100%;
}

@media (min-width: 800px) {
  .arch-layer-main {
    grid-template-columns: 210px 1fr 240px;
    align-items: center;
  }
}

.layer-header-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.layer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--cyan);
}

.layer-dot {
  color: var(--cyan);
  transition: color 0.25s ease;
}

.arch-layer-card:hover .layer-dot,
.arch-layer-card.is-expanded .layer-dot,
.arch-layer-card.active .layer-dot {
  color: var(--yellow) !important;
}

.layer-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.3;
}

.layer-components {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.layer-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 0.75rem;
  color: #E2E8F0;
}

.layer-benefit {
  font-size: 0.8125rem;
  color: var(--yellow);
  font-weight: 500;
}

/* In-place Accordion Expand Drawer */
.layer-expand-drawer {
  display: grid;
  grid-template-rows: 0fr;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: grid-template-rows 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.25s ease,
              margin-top 0.25s ease,
              padding-top 0.25s ease;
  margin-top: 0;
  padding-top: 0;
  border-top: 1px solid transparent;
  width: 100%;
}

.layer-expand-drawer > .layer-expand-grid {
  min-height: 0;
  overflow: hidden;
}

.arch-layer-card:hover .layer-expand-drawer,
.arch-layer-card.is-expanded .layer-expand-drawer,
.arch-layer-card.active .layer-expand-drawer,
.arch-layer-card:focus-visible .layer-expand-drawer {
  grid-template-rows: 1fr;
  max-height: 600px;
  opacity: 1;
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top-color: rgba(255, 255, 255, 0.08);
}

.layer-expand-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}

@media (min-width: 768px) {
  .layer-expand-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-5);
  }
}

.layer-expand-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.layer-expand-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cyan);
}

.layer-expand-label.highlight {
  color: var(--yellow);
}

.layer-expand-text {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #94A3B8;
  margin: 0;
}

.layer-expand-text.highlight {
  color: #FCD34D;
  font-weight: 500;
}

/* ════════════════════════════════════════════════════════════
   30. CUSTOM FABRIC APPLICATIONS & DECISION SYSTEMS PREVIEW
   ════════════════════════════════════════════════════════════ */
.app-preview-frame {
  background: #0B1220;
  border: 1px solid rgba(33, 199, 217, 0.3);
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7), 0 0 40px rgba(13, 110, 175, 0.25);
  overflow: hidden;
  margin-top: var(--sp-8);
  position: relative;
}

.app-nav-tabs {
  display: flex;
  gap: 8px;
  padding: 12px 18px;
  background: #0D1627;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
  scrollbar-width: thin;
}

.app-nav-tab {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #94A3B8;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.app-nav-tab:hover {
  background: rgba(33, 199, 217, 0.12);
  border-color: rgba(33, 199, 217, 0.4);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.app-nav-tab.active {
  background: linear-gradient(135deg, rgba(13, 110, 175, 0.45), rgba(33, 199, 217, 0.22));
  border-color: var(--cyan);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(33, 199, 217, 0.2);
}

.app-content-body {
  padding: 24px;
  background: #0B1220;
}

/* Toolbar & Filter Controls */
.app-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 14px;
}

.app-toolbar-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.app-toolbar-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
  letter-spacing: -0.01em;
}

.app-badge-directlake {
  font-size: 0.75rem;
  color: var(--cyan);
  background: rgba(33, 199, 217, 0.1);
  padding: 4px 12px;
  border-radius: 9999px;
  border: 1px solid rgba(33, 199, 217, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: monospace;
}

.app-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  animation: pulse 2s infinite;
}

.app-filter-pills {
  display: flex;
  gap: 6px;
  background: #132038;
  padding: 3px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.app-filter-pill {
  background: transparent;
  border: none;
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #94A3B8;
  cursor: pointer;
  transition: all 0.2s ease;
}

.app-filter-pill:hover {
  color: #FFFFFF;
}

.app-filter-pill.active {
  background: rgba(33, 199, 217, 0.2);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(33, 199, 217, 0.2);
}

/* 4 Clean Executive KPI Cards */
.app-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

@media (max-width: 1024px) {
  .app-kpi-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .app-kpi-row {
    grid-template-columns: 1fr;
  }
}

.app-kpi-card {
  background: #132038;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.app-kpi-card:hover {
  transform: translateY(-2px);
  border-color: rgba(33, 199, 217, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.app-kpi-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.app-kpi-label {
  font-size: 0.78125rem;
  color: #94A3B8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.app-kpi-delta {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  white-space: nowrap;
}

.app-kpi-delta.pos {
  color: #10B981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.app-kpi-delta.neg {
  color: #EF4444;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.app-kpi-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-family: var(--font-heading, inherit);
}

/* 2 Responsive SVG Charts */
.app-charts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

@media (max-width: 900px) {
  .app-charts-grid {
    grid-template-columns: 1fr;
  }
}

.app-chart-card {
  background: #132038;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
}

.app-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 8px;
}

.app-chart-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}

.app-chart-legend {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  color: #94A3B8;
}

.app-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.app-legend-color {
  width: 8px;
  height: 8px;
  border-radius: 2px;
}

.app-chart-svg-wrap {
  position: relative;
  width: 100%;
}

.app-chart-svg-wrap svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Executive Copilot Alert Box */
.app-copilot-alert {
  background: linear-gradient(90deg, rgba(33, 199, 217, 0.08), rgba(13, 110, 175, 0.08));
  border: 1px solid rgba(33, 199, 217, 0.25);
  border-radius: 10px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
}

.app-copilot-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(33, 199, 217, 0.15);
  border: 1px solid rgba(33, 199, 217, 0.35);
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.app-copilot-badge svg {
  color: var(--cyan);
}

.app-copilot-text {
  font-size: 0.8125rem;
  color: #CBD5E1;
  line-height: 1.45;
  margin: 0;
}


/* ════════════════════════════════════════════════════════════
   31. RESOURCE & INSIGHTS CARD GRID & SEARCH
   ════════════════════════════════════════════════════════════ */
.resource-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--sp-8);
  justify-content: center;
}

.resource-filter-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9999px;
  padding: 6px 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #94A3B8;
  cursor: pointer;
  transition: all 0.2s ease;
}

.resource-filter-btn.active,
.resource-filter-btn:hover {
  background: var(--blue-primary);
  border-color: var(--cyan);
  color: #FFFFFF;
}

.resource-search-box {
  max-width: 480px;
  margin: 0 auto var(--sp-8);
  position: relative;
}

.resource-search-input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9999px;
  padding: 12px 20px 12px 42px;
  color: #FFFFFF;
  font-size: 0.9375rem;
}

.resource-search-input:focus {
  border-color: var(--cyan);
  outline: none;
  box-shadow: 0 0 15px rgba(33, 199, 217, 0.2);
}

.resource-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #94A3B8;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--sp-6);
}

.resource-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.resource-card:hover {
  border-color: var(--cyan);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(33, 199, 217, 0.15);
}

.resource-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--cyan);
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-2);
}

.resource-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: var(--sp-2);
  line-height: 1.35;
}

.resource-excerpt {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: var(--sp-4);
}

.resource-meta {
  font-size: 0.75rem;
  color: var(--text-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--sp-3);
  margin-top: auto;
}

/* ════════════════════════════════════════════════════════════
   32. ENTERPRISE DISCOVERY CALL FORM
   ════════════════════════════════════════════════════════════ */
.discovery-form-container {
  background: var(--surface);
  border: 1px solid rgba(33, 199, 217, 0.25);
  border-radius: 20px;
  padding: var(--sp-8);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(13, 110, 175, 0.15);
  max-width: 860px;
  margin: 0 auto;
}

.discovery-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}

@media (min-width: 640px) {
  .discovery-form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .form-col-span-2 {
    grid-column: span 2;
  }
}

.discovery-input-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #E2E8F0;
  margin-bottom: 6px;
}

.discovery-input-group input,
.discovery-input-group select,
.discovery-input-group textarea {
  width: 100%;
  background: #0B1220;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 10px 14px;
  color: #FFFFFF;
  font-size: 0.875rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.discovery-input-group input:focus,
.discovery-input-group select:focus,
.discovery-input-group textarea:focus {
  border-color: var(--cyan);
  outline: none;
  box-shadow: 0 0 10px rgba(33, 199, 217, 0.3);
}

.discovery-input-group select option {
  background: #0B1220;
  color: #FFFFFF;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--blue-primary);
}

/* ── 24. First Section: Intro Video Loop (Full Screen, Auto-Adjusting, No Text) ── */
.intro-video-section {
  position: relative;
  width: 100vw;
  max-width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
}

.intro-video-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro-video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  background: #000000;
}

/* Scroll indicator cue at bottom center of fullscreen video - Icon only, NO text */
.intro-scroll-indicator {
  position: absolute;
  bottom: clamp(18px, 3.5vh, 32px);
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  z-index: 30;
  transition: all 0.25s ease;
  cursor: pointer;
}

.intro-scroll-indicator:hover {
  transform: translateX(-50%) translateY(3px);
}

.intro-scroll-indicator .scroll-cue-mouse {
  width: 24px;
  height: 38px;
  border-radius: 14px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  display: flex;
  justify-content: center;
  padding-top: 6px;
  background: rgba(11, 18, 32, 0.4);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.intro-scroll-indicator:hover .scroll-cue-mouse {
  border-color: var(--cyan);
}

/* ── 25. Global Auto-Adjust & Responsive Fluid Layout ── */
html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

/* Responsive Auto-Adjust Breakpoints */
@media (min-width: 1600px) {
  :root {
    --max-width: 1440px;
    --font-h1: clamp(2.75rem, 3.8vw + 1rem, 4rem);
    --font-h2: clamp(2rem, 2.5vw + 0.5rem, 2.75rem);
  }
}

@media (max-width: 1200px) {
  .pipeline-flow-grid {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: var(--sp-2);
  }
  .pipeline-arrow {
    display: none;
  }
}

@media (max-width: 992px) {
  .solutions-grid,
  .case-grid,
  .resource-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)) !important;
  }
  .discovery-form-grid {
    grid-template-columns: 1fr !important;
  }
  .discovery-form-grid .form-col-span-2 {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .intro-video-section {
    height: 100vh;
    height: 100dvh;
    min-height: 0;
  }
  .intro-video-element {
    object-fit: contain;
  }
  .intro-scroll-indicator {
    bottom: 14px;
  }
  .intro-scroll-indicator .scroll-cue-mouse {
    width: 20px;
    height: 32px;
  }
}

/* Keep the entire landscape video visible on portrait phones. */
@media (max-width: 600px) and (orientation: portrait) {
  .intro-video-section {
    height: auto;
    min-height: 0;
  }
  .intro-video-wrapper {
    height: auto;
    flex-direction: column;
  }
  .intro-video-element {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
  }
  .intro-video-section:fullscreen,
  .intro-video-section:-webkit-full-screen {
    height: 100vh;
    height: 100dvh;
  }
  .intro-video-section:fullscreen .intro-video-wrapper,
  .intro-video-section:-webkit-full-screen .intro-video-wrapper {
    height: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container,
  .container-narrow {
    padding-left: var(--sp-4);
    padding-right: var(--sp-4);
  }
  .section {
    padding-top: var(--sp-12);
    padding-bottom: var(--sp-12);
  }
  .section-header {
    margin-bottom: var(--sp-8);
  }
  .nav-container {
    padding-left: var(--sp-4);
    padding-right: var(--sp-4);
  }
  .nav-logo-text {
    font-size: 1rem;
  }
  .nav-toggle {
    width: 44px;
    height: 44px;
  }
  #mobile-menu.is-open {
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
  }
  #hero-section {
    padding-top: var(--sp-12) !important;
    padding-bottom: var(--sp-12) !important;
  }
  #hero-title {
    font-size: clamp(2rem, 9vw, 2.75rem) !important;
    overflow-wrap: break-word;
  }
  .hero-subtext {
    font-size: 1rem !important;
  }
  .btn-group {
    flex-direction: column;
    width: 100%;
  }
  .btn-group .btn {
    width: 100%;
    text-align: center;
    white-space: normal;
    line-height: 1.3;
  }
  .hero-pipeline-visual,
  .discovery-form-container,
  .app-content-body {
    padding: var(--sp-4);
  }
  .pipeline-flow-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 130px), 1fr));
  }
  .big-box-deliverables {
    grid-template-columns: 1fr;
  }
  .app-toolbar,
  .app-filter-pills {
    min-width: 0;
    max-width: 100%;
  }
  .app-filter-pills {
    flex-wrap: wrap;
  }
  .app-chart-card {
    min-width: 0;
    padding: var(--sp-4);
  }
  .app-chart-card svg {
    max-width: 100%;
    height: auto;
  }
  .discovery-input-group input,
  .discovery-input-group select,
  .discovery-input-group textarea {
    font-size: 1rem;
  }
}

