/* ==========================================================================
   VAHID SƏLİMOV — SOFTWARE ENGINEER & FOUNDER PORTFOLIO
   Design System: Ultra-Premium Monochromatic Titanium & Obsidian
   Strict Palette: #f8f9fa, #E9ECEF, #DEE2E6, #CED4DA, #ADB5BD, #6C757D, #495057, #343A40, #212529
   ========================================================================== */

:root {
  /* User Monochromatic Palette */
  --c-50:  #f8f9fa; /* Pure Silver Light */
  --c-100: #e9ecef; /* Platinum */
  --c-200: #dee2e6; /* Metallic Silver */
  --c-300: #ced4da; /* Silver Gray */
  --c-400: #adb5bd; /* Slate Silver */
  --c-500: #6c757d; /* Titanium Gray */
  --c-600: #495057; /* Dark Steel */
  --c-700: #343a40; /* Onyx Dark */
  --c-800: #212529; /* Obsidian Black */
  --c-900: #14171a; /* Pure Void */

  /* Surface Roles */
  --bg-deep: var(--c-800);
  --bg-subtle: #191c1f;
  --bg-surface: var(--c-700);
  --bg-card: rgba(52, 58, 64, 0.72);
  --bg-card-hover: rgba(60, 68, 76, 0.88);
  
  --border-subtle: rgba(222, 226, 230, 0.12);
  --border-medium: rgba(206, 212, 218, 0.22);
  --border-bright: rgba(248, 249, 250, 0.45);
  --border-focus: var(--c-100);

  /* Typography */
  --text-primary: var(--c-50);
  --text-secondary: var(--c-400);
  --text-muted: var(--c-500);
  --text-dim: var(--c-600);

  /* Fonts */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Gradients */
  --metallic-gradient: linear-gradient(135deg, var(--c-50) 0%, var(--c-200) 45%, var(--c-500) 100%);
  --surface-sheen: linear-gradient(145deg, rgba(52, 58, 64, 0.85) 0%, rgba(33, 37, 41, 0.95) 100%);
  
  /* Easing curves */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-fast: cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

body.developer-theme {
  font-family: var(--font-main);
  background-color: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Universal Button Reset */
button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* --- Three.js Background Canvas --- */
.three-background-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.72;
}

#webglCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* --- Engineering Grid & Ambient Radiance --- */
.eng-grid-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    linear-gradient(to right, rgba(222, 226, 230, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(222, 226, 230, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 85% 70% at 50% 30%, #000 65%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 85% 70% at 50% 30%, #000 65%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.eng-radial-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(150px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
}

.glow-top {
  width: 750px;
  height: 480px;
  background: radial-gradient(circle, rgba(248, 249, 250, 0.12) 0%, rgba(108, 117, 125, 0.08) 50%, transparent 80%);
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
}

.glow-bottom {
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(206, 212, 218, 0.1) 0%, rgba(73, 80, 87, 0.06) 60%, transparent 80%);
  bottom: 5%;
  right: -100px;
}

/* --- Custom Precision Cursor --- */
.cursor-crosshair {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(222, 226, 230, 0.35);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.08s ease-out, border-color 0.2s, background-color 0.2s, width 0.2s, height 0.2s;
}

.cursor-dot {
  width: 4px;
  height: 4px;
  background-color: var(--c-50);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px rgba(248, 249, 250, 0.8);
}

body.cursor-hover .cursor-crosshair {
  width: 50px;
  height: 50px;
  border-color: rgba(248, 249, 250, 0.7);
  background-color: rgba(248, 249, 250, 0.06);
}

@media (pointer: coarse) {
  .cursor-crosshair, .cursor-dot {
    display: none !important;
  }
}

/* --- Container & Spacing --- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

.section {
  padding: 6.5rem 0;
  position: relative;
  z-index: 2;
}

.font-mono {
  font-family: var(--font-mono);
}

/* ==========================================================================
   NEW LUXURY CARD ANIMATION SYSTEM (NO WOBBLE - SMOOTH LIFT & SPOTLIGHT)
   ========================================================================== */
.tech-card,
.bento-card,
.pillar-card,
.service-box,
.stat-bento-cell,
.contact-item-card,
.ide-window-frame,
.ocaq-mockup-frame,
.edge-latency-radar,
.editor-widget,
[data-spotlight] {
  position: relative;
  background: var(--surface-sheen);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  transition: transform 0.32s var(--ease-spring),
              box-shadow 0.32s var(--ease-spring),
              border-color 0.25s ease,
              background 0.25s ease;
  overflow: hidden;
}

/* Top Subtle Liquid Silver Sheen Line */
.tech-card::before,
.bento-card::before,
.pillar-card::before,
.service-box::before,
.stat-bento-cell::before,
.contact-item-card::before,
.ide-window-frame::before,
.ocaq-mockup-frame::before,
.editor-widget::before,
[data-spotlight]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(248, 249, 250, 0.45) 50%, transparent 100%);
  opacity: 0.25;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 3;
}

/* Dynamic Spotlight Glare that follows cursor smoothly without tilting */
.tech-card::after,
.bento-card::after,
.pillar-card::after,
.service-box::after,
.stat-bento-cell::after,
.contact-item-card::after,
.ide-window-frame::after,
.ocaq-mockup-frame::after,
.editor-widget::after,
[data-spotlight]::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(380px circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(248, 249, 250, 0.09), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 2;
}

/* Elegant Smooth Elevation & Polished Chrome Border */
.tech-card:hover,
.bento-card:hover,
.pillar-card:hover,
.service-box:hover,
.stat-bento-cell:hover,
.contact-item-card:hover,
.editor-widget:hover,
[data-spotlight]:hover {
  transform: translateY(-6px);
  border-color: rgba(248, 249, 250, 0.38);
  box-shadow: 0 20px 45px -12px rgba(0, 0, 0, 0.75), 0 0 24px rgba(248, 249, 250, 0.07);
  background: linear-gradient(145deg, rgba(62, 70, 78, 0.88) 0%, rgba(33, 37, 41, 0.96) 100%);
}

.tech-card:hover::before,
.bento-card:hover::before,
.pillar-card:hover::before,
.service-box:hover::before,
.stat-bento-cell:hover::before,
.contact-item-card:hover::before,
.ide-window-frame:hover::before,
.ocaq-mockup-frame:hover::before,
.editor-widget:hover::before,
[data-spotlight]:hover::before {
  opacity: 0.95;
}

.tech-card:hover::after,
.bento-card:hover::after,
.pillar-card:hover::after,
.service-box:hover::after,
.stat-bento-cell:hover::after,
.contact-item-card:hover::after,
.ide-window-frame:hover::after,
.ocaq-mockup-frame:hover::after,
.editor-widget:hover::after,
[data-spotlight]:hover::after {
  opacity: 1;
}

/* Subtle Icon Micro-interaction on card hover */
.tech-card:hover .tech-icon-circle,
.bento-card:hover .bento-icon-box,
.pillar-card:hover .pillar-icon-box,
.service-box:hover .service-icon,
.contact-item-card:hover .contact-item-icon {
  transform: translateY(-2px) scale(1.08);
  border-color: rgba(248, 249, 250, 0.5);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4), 0 0 15px rgba(248, 249, 250, 0.15);
}

/* ==========================================================================
   BADGES & TYPOGRAPHY HELPERS
   ========================================================================== */
.badge-iridescent {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.38rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-50);
  border-radius: 9999px;
  background: rgba(52, 58, 64, 0.7);
  border: 1px solid var(--border-medium);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(248, 249, 250, 0.15);
}

.badge-dot {
  width: 6px;
  height: 6px;
  background-color: var(--c-50);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(248, 249, 250, 0.9);
}

.section-badge-center {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.section-head-center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.14;
  margin-bottom: 1rem;
  color: var(--c-50);
}

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

.text-gradient {
  background: var(--metallic-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-fire-gradient {
  background: linear-gradient(135deg, var(--c-50) 0%, var(--c-200) 50%, var(--c-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-silver { color: var(--c-100); }
.text-dim { color: var(--c-500); }
.text-fire { color: var(--c-100); }
.text-white { color: #ffffff; }

.pulse-mono, .pulse-green {
  width: 7px;
  height: 7px;
  background-color: var(--c-50);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px rgba(248, 249, 250, 0.8);
  animation: pulseMonoAnim 2s infinite ease-in-out;
}

@keyframes pulseMonoAnim {
  0% { opacity: 0.5; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.15); box-shadow: 0 0 14px rgba(248, 249, 250, 0.9); }
  100% { opacity: 0.5; transform: scale(0.95); }
}

/* ==========================================================================
   FIXED TOP FLOATING PILL NAVBAR
   ========================================================================== */
.nav-wrapper {
  position: fixed;
  top: 1.25rem;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 0 1rem;
  pointer-events: none;
}

.pill-navbar {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.42rem 0.65rem 0.42rem 1.2rem;
  background: rgba(33, 37, 41, 0.9);
  border: 1px solid var(--border-medium);
  border-radius: 9999px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(248, 249, 250, 0.15);
  max-width: 1100px;
  width: auto;
  transition: all 0.3s ease;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--c-50);
  white-space: nowrap;
}

.brand-terminal-symbol {
  color: var(--c-200);
  font-weight: 800;
}

.brand-dim {
  color: var(--c-500);
}

.online-indicator {
  width: 6px;
  height: 6px;
  background-color: var(--c-50);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(248, 249, 250, 0.8);
  margin-left: 0.3rem;
}

/* Pill Menu */
.pill-menu {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.15rem;
  background: rgba(20, 23, 26, 0.5);
  border: 1px solid rgba(222, 226, 230, 0.08);
  border-radius: 9999px;
  padding: 0.22rem;
}

/* Smooth Sliding Nav Indicator */
.nav-indicator {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 0;
  transform: translateX(0);
  will-change: transform, width;
  background: rgba(248, 249, 250, 0.14);
  border: 1px solid rgba(248, 249, 250, 0.22);
  border-radius: 9999px;
  pointer-events: none;
  transition: transform 0.25s var(--ease-spring), width 0.25s var(--ease-spring), opacity 0.2s ease;
  opacity: 0;
  z-index: 0;
  box-shadow: 0 0 12px rgba(248, 249, 250, 0.08);
}

.pill-item {
  position: relative;
  z-index: 1;
  color: var(--c-400);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.4rem 0.82rem;
  border-radius: 9999px;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.pill-item:hover, .pill-item.active {
  color: var(--c-50);
  font-weight: 600;
}

.pill-item.pill-highlight {
  color: var(--c-100);
  font-weight: 600;
}

.glow-fire {
  filter: drop-shadow(0 0 4px rgba(248, 249, 250, 0.5));
}

/* Nav Quick Actions */
.nav-quick-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.btn-nav-cv {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--c-50);
  background: rgba(52, 58, 64, 0.85);
  border: 1px solid var(--border-medium);
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-nav-cv:hover {
  background: rgba(73, 80, 87, 0.95);
  border-color: var(--border-bright);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.btn-nav-cv:active {
  transform: scale(0.96);
}

.nav-icon-link {
  width: 33px;
  height: 33px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-400);
  text-decoration: none;
  font-size: 0.95rem;
  background: rgba(52, 58, 64, 0.55);
  border: 1px solid var(--border-subtle);
  transition: all 0.2s ease;
}

.nav-icon-link:hover {
  color: var(--c-50);
  background: rgba(73, 80, 87, 0.85);
  border-color: var(--border-bright);
  transform: translateY(-1px);
}

.nav-icon-link:active {
  transform: scale(0.95);
}

.nav-icon-wa {
  color: var(--c-200);
}

.nav-icon-wa:hover {
  color: #25d366;
  border-color: rgba(37, 211, 102, 0.45);
  box-shadow: 0 0 12px rgba(37, 211, 102, 0.25);
}

.btn-nav-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 1.1rem;
  background: var(--c-50);
  color: var(--c-800);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 9999px;
  border: 1px solid var(--c-50);
  box-shadow: 0 0 16px rgba(248, 249, 250, 0.3);
  transition: all 0.2s ease;
}

.btn-nav-wa:hover {
  background: #ffffff;
  box-shadow: 0 0 25px rgba(248, 249, 250, 0.6);
  transform: translateY(-1px);
}

.btn-nav-wa:active {
  transform: scale(0.96);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  z-index: 1001;
}

.mobile-toggle span {
  width: 22px;
  height: 2px;
  background: var(--c-50);
  transition: all 0.2s ease;
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(3.5px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 23, 26, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  display: flex;
  justify-content: flex-end;
}

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

.mobile-drawer-sheet {
  width: 100%;
  max-width: 360px;
  height: 100%;
  background: var(--surface-sheen);
  border-left: 1px solid var(--border-medium);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease-spring);
  overflow-y: auto;
}

.mobile-drawer-backdrop.open .mobile-drawer-sheet {
  transform: translateX(0);
}

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

.drawer-brand {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-50);
}

.drawer-close {
  background: transparent;
  border: none;
  color: var(--c-400);
  font-size: 1.25rem;
  cursor: pointer;
}

.drawer-status {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  color: var(--c-400);
  padding: 0.5rem 0.85rem;
  background: rgba(52, 58, 64, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  margin-bottom: 2rem;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: auto;
}

.drawer-item {
  color: var(--c-300);
  text-decoration: none;
  font-size: 1.05rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.18s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-item:hover, .drawer-item.active {
  color: var(--c-50);
  background: rgba(52, 58, 64, 0.7);
  border-color: var(--border-subtle);
}

.drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   STANDARDIZED ACTION BUTTONS
   ========================================================================== */
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 48px;
  padding: 0.75rem 1.65rem;
  box-sizing: border-box;
  background: linear-gradient(135deg, var(--c-50) 0%, var(--c-200) 100%);
  color: var(--c-800);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: 12px;
  border: 1px solid #ffffff;
  box-shadow: 0 4px 20px rgba(248, 249, 250, 0.22);
  cursor: pointer;
  transition: all 0.22s ease;
  line-height: 1;
  white-space: nowrap;
}

.btn-hero-primary:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(248, 249, 250, 0.45);
}

.btn-hero-primary:active {
  transform: scale(0.97);
}

.btn-hero-cv {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 48px;
  padding: 0.75rem 1.6rem;
  box-sizing: border-box;
  background: rgba(52, 58, 64, 0.8);
  color: var(--c-50);
  border: 1px solid var(--border-medium);
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s ease;
  line-height: 1;
  white-space: nowrap;
}

.btn-hero-cv:hover {
  background: rgba(73, 80, 87, 0.92);
  border-color: var(--border-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.btn-hero-cv:active {
  transform: scale(0.97);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  box-sizing: border-box;
  background: rgba(52, 58, 64, 0.5);
  color: var(--c-200);
  border: 1px solid var(--border-medium);
  border-radius: 12px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s ease;
  line-height: 1;
  white-space: nowrap;
}

.btn-hero-secondary:hover {
  background: rgba(73, 80, 87, 0.8);
  border-color: var(--border-bright);
  color: var(--c-50);
  transform: translateY(-2px);
}

.btn-hero-secondary:active {
  transform: scale(0.97);
}

.btn-hero-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.75rem 1.45rem;
  box-sizing: border-box;
  background: rgba(52, 58, 64, 0.65);
  color: var(--c-50);
  border: 1px solid var(--border-medium);
  border-radius: 12px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s ease;
  line-height: 1;
  white-space: nowrap;
}

.btn-hero-wa:hover {
  background: rgba(73, 80, 87, 0.9);
  border-color: var(--border-bright);
  transform: translateY(-2px);
}

.btn-hero-wa:active {
  transform: scale(0.97);
}

/* Direct WhatsApp CTA Button & Aliases */
.btn-direct-wa, .btn-motion-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 48px;
  padding: 0.85rem 1.5rem;
  box-sizing: border-box;
  background: rgba(52, 58, 64, 0.85);
  color: var(--c-50);
  border: 1px solid var(--border-medium);
  border-radius: 12px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s ease;
  line-height: 1;
}

.btn-direct-wa:hover, .btn-motion-whatsapp:hover {
  background: rgba(73, 80, 87, 0.95);
  border-color: var(--border-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.btn-direct-wa:active, .btn-motion-whatsapp:active {
  transform: scale(0.97);
}

/* Motion Primary Fallback & Inner Content */
.btn-motion-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 44px;
  padding: 0.75rem 1.6rem;
  box-sizing: border-box;
  background: linear-gradient(135deg, var(--c-50) 0%, var(--c-200) 100%);
  color: var(--c-800);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 10px;
  border: 1px solid #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}

.btn-motion-primary:hover {
  background: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(248, 249, 250, 0.4);
}

.btn-motion-primary:active {
  transform: scale(0.97);
}

.btn-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.w-100 {
  width: 100%;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding-top: 9rem;
  padding-bottom: 4.5rem;
  min-height: 94vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 3.5rem;
  align-items: center;
}

.iridescent-badge-wrapper {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.git-status-tag {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-headline {
  font-size: clamp(2.4rem, 4.4vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 1.5rem;
  color: var(--c-50);
}

.hero-lead-text {
  font-size: 1.12rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 1.75rem;
}

.hero-lead-text .text-link {
  color: var(--c-100);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

.hero-tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.25rem;
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.78rem;
  color: var(--c-300);
  background: rgba(52, 58, 64, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.tech-pill:hover {
  color: var(--c-50);
  border-color: var(--border-bright);
  background: rgba(73, 80, 87, 0.75);
  transform: translateY(-2px);
}

.tech-pill i {
  color: var(--c-200);
}

.hero-actions-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
}

.hero-connect-bar {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.connect-label {
  font-size: 0.75rem;
  color: var(--c-500);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.connect-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.connect-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.8rem;
  font-size: 0.8rem;
  color: var(--c-300);
  background: rgba(52, 58, 64, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.18s ease;
}

.connect-pill:hover {
  color: var(--c-50);
  border-color: var(--border-bright);
  background: rgba(73, 80, 87, 0.7);
  transform: translateY(-1px);
}

.copy-mini-icon {
  font-size: 0.75rem;
  color: var(--c-400);
}

/* HERO RIGHT: IDE FRAME */
.hero-right-visual {
  position: relative;
}

.ide-window-frame {
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 40px rgba(248, 249, 250, 0.05);
}

.ide-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.1rem;
  background: rgba(33, 37, 41, 0.95);
  border-bottom: 1px solid var(--border-subtle);
}

.window-controls {
  display: flex;
  align-items: center;
  gap: 7px;
}

.win-btn {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--c-600);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-block;
}

.win-btn.close { background: var(--c-500); }
.win-btn.minimize { background: var(--c-600); }
.win-btn.maximize { background: var(--c-400); }

.ide-file-tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--c-200);
  background: rgba(52, 58, 64, 0.7);
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
}

.tab-indicator {
  color: var(--c-50);
}

.ide-status {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  color: var(--c-400);
}

.ide-body-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 4.6;
  background: #191c1f;
  overflow: hidden;
}

.engineer-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: contrast(1.05) brightness(0.96);
  transition: transform 0.4s var(--ease-spring);
}

.ide-window-frame:hover .engineer-photo {
  transform: scale(1.03);
}

.hud-tag {
  position: absolute;
  background: rgba(33, 37, 41, 0.88);
  border: 1px solid var(--border-medium);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  font-size: 0.72rem;
  color: var(--c-50);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  z-index: 4;
}

.hud-tag.top-left { top: 1rem; left: 1rem; }
.hud-tag.bottom-left { bottom: 1rem; left: 1rem; }
.hud-tag.bottom-right { bottom: 1rem; right: 1rem; }
.hud-label { color: var(--c-500); margin-right: 0.3rem; }

.ide-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 1rem;
  background: rgba(33, 37, 41, 0.95);
  border-top: 1px solid var(--border-subtle);
  font-size: 0.72rem;
  color: var(--c-400);
}

.status-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* STATS BENTO ROW */
.hero-stats-container {
  margin-top: 4.5rem;
}

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

.stat-bento-cell {
  padding: 1.6rem 1.4rem;
}

.stat-tag {
  display: block;
  font-size: 0.7rem;
  color: var(--c-500);
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--c-50);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.stat-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   OCAQ.DEV SHOWCASE & EDGE LATENCY RADAR
   ========================================================================== */
.ocaq-showcase-bento {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.ocaq-mockup-frame {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.2rem;
  background: rgba(33, 37, 41, 0.95);
  border-bottom: 1px solid var(--border-subtle);
}

.mockup-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-600);
}
.dot.red { background: var(--c-500); }
.dot.yellow { background: var(--c-600); }
.dot.green { background: var(--c-400); }

.mockup-url {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--c-300);
  background: rgba(52, 58, 64, 0.7);
  padding: 0.35rem 1rem;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
}

.mockup-ping {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.74rem;
  color: var(--c-300);
}

/* Authentic ocaq.dev Frontend Application Canvas */
.ocaq-live-app {
  padding: 2.2rem 2.4rem;
  background: radial-gradient(circle at 85% 15%, rgba(248, 249, 250, 0.04) 0%, transparent 60%),
              linear-gradient(180deg, rgba(33, 37, 41, 0.95) 0%, rgba(20, 23, 26, 0.98) 100%);
  display: flex;
  flex-direction: column;
  gap: 1.85rem;
  position: relative;
  overflow: hidden;
}

.ocaq-internal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1.25rem;
  background: rgba(33, 37, 41, 0.75);
  border: 1px solid var(--border-medium);
  border-radius: 9999px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.ocaq-brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.ocaq-brand-flame {
  font-size: 1.1rem;
  filter: drop-shadow(0 0 6px rgba(248, 249, 250, 0.5));
}

.ocaq-brand-name {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--c-50);
}

.ocaq-cloud-tag {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  background: rgba(248, 249, 250, 0.1);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  color: var(--c-300);
  margin-left: 0.2rem;
}

.ocaq-nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.82rem;
}

.ocaq-link {
  color: var(--c-400);
  cursor: pointer;
  transition: color 0.15s ease;
}

.ocaq-link:hover, .ocaq-link.active {
  color: var(--c-50);
  font-weight: 600;
}

.ocaq-nav-cta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.ocaq-btn-signup {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.95rem;
  background: var(--c-50);
  color: var(--c-800);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.ocaq-btn-signup:hover {
  background: #ffffff;
  transform: translateY(-1px);
}

.ocaq-btn-visit {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(52, 58, 64, 0.6);
  border: 1px solid var(--border-subtle);
  color: var(--c-300);
  text-decoration: none;
  font-size: 0.8rem;
  transition: all 0.18s ease;
}

.ocaq-btn-visit:hover {
  color: var(--c-50);
  background: rgba(73, 80, 87, 0.8);
}

/* ocaq.dev Hero */
.ocaq-hero-content {
  text-align: center;
  max-width: 720px;
  margin: 0.5rem auto 0;
}

.ocaq-mini-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.28rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--c-300);
  background: rgba(52, 58, 64, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.ocaq-hero-title {
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin-bottom: 1rem;
  color: var(--c-50);
}

.ocaq-hero-sub {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.ocaq-cta-cluster {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.ocaq-cta-primary {
  min-height: 44px;
  padding: 0.65rem 1.6rem;
  font-size: 0.88rem;
}

.ocaq-cta-secondary {
  min-height: 44px;
  padding: 0.65rem 1.4rem;
  font-size: 0.88rem;
}

/* Primitives Bar */
.ocaq-primitives-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: rgba(20, 23, 26, 0.45);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  font-size: 0.78rem;
  color: var(--c-300);
}

.primitive-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.primitive-chip i {
  color: var(--c-100);
}

.primitive-sep {
  color: var(--c-600);
}

/* Deployments Grid */
.ocaq-deployments-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.ocaq-deploy-card {
  padding: 1.25rem 1.4rem;
  background: rgba(33, 37, 41, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: all 0.22s ease;
}

.ocaq-deploy-card:hover {
  background: rgba(52, 58, 64, 0.8);
  border-color: var(--border-medium);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.deploy-card-top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.deploy-avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(52, 58, 64, 0.8);
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-100);
  font-size: 1rem;
}

.deploy-meta {
  flex: 1;
}

.deploy-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--c-50);
}

.deploy-domain {
  font-size: 0.74rem;
  color: var(--c-400);
}

.deploy-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  background: rgba(248, 249, 250, 0.1);
  border: 1px solid var(--border-medium);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--c-50);
}

.deploy-card-details {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(222, 226, 230, 0.08);
  font-size: 0.75rem;
  color: var(--c-400);
}

.deploy-commit, .deploy-repo {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.deploy-commit span {
  color: var(--c-200);
}

/* Features Strip */
.ocaq-features-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.75rem;
  color: var(--c-400);
}

.ocaq-feat-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.ocaq-feat-item strong {
  color: var(--c-100);
}

@media (max-width: 768px) {
  .ocaq-live-app {
    padding: 1.5rem 1.25rem;
  }
  .ocaq-internal-nav .ocaq-nav-links {
    display: none;
  }
  .ocaq-deployments-grid {
    grid-template-columns: 1fr;
  }
  .ocaq-features-strip {
    grid-template-columns: 1fr;
  }
}

/* Edge Latency Radar */
.edge-latency-radar {
  padding: 1.5rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.radar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
}

.radar-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--c-50);
  letter-spacing: 0.05em;
}

.radar-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  color: var(--c-400);
}

.edge-nodes-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.edge-node-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1rem;
  background: rgba(33, 37, 41, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  color: var(--c-300);
  cursor: pointer;
  font-size: 0.8rem;
  transition: all 0.2s ease;
}

.edge-node-pill:hover, .edge-node-pill.active {
  background: rgba(52, 58, 64, 0.95);
  border-color: var(--border-bright);
  color: var(--c-50);
  transform: translateY(-2px);
}

.edge-node-pill.active {
  box-shadow: 0 0 16px rgba(248, 249, 250, 0.15);
}

.node-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-400);
  margin-right: 0.5rem;
}

.edge-node-pill.active .node-indicator {
  background: var(--c-50);
  box-shadow: 0 0 8px rgba(248, 249, 250, 0.8);
}

.node-latency {
  font-weight: 700;
  color: var(--c-100);
}

.radar-live-test {
  padding: 0.85rem 1.1rem;
  background: rgba(20, 23, 26, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
}

.ping-trace-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.78rem;
}

.trace-label { color: var(--c-500); font-weight: 700; }
.trace-val { color: var(--c-200); }

.trace-ping-badge {
  padding: 0.25rem 0.65rem;
  background: rgba(248, 249, 250, 0.1);
  border: 1px solid var(--border-medium);
  border-radius: 6px;
  color: var(--c-50);
  font-weight: 700;
}

/* 3 Pillars Bento */
.ocaq-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pillar-card {
  padding: 1.8rem 1.6rem;
}

.pillar-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(52, 58, 64, 0.8);
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--c-50);
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.pillar-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-50);
  margin-bottom: 0.2rem;
}

.pillar-tag {
  display: block;
  font-size: 0.72rem;
  color: var(--c-500);
  margin-bottom: 0.75rem;
}

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

/* ==========================================================================
   CODE LAB & CLOUD TERMINAL
   ========================================================================== */
.editor-widget {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

.editor-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  background: rgba(33, 37, 41, 0.95);
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.editor-tabs {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.editor-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.95rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--c-400);
  font-size: 0.78rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.editor-tab:hover, .editor-tab.active {
  background: rgba(52, 58, 64, 0.8);
  border-color: var(--border-subtle);
  color: var(--c-50);
}

.editor-tab.active {
  border-color: var(--border-medium);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.editor-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.btn-copy-code {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.85rem;
  background: rgba(52, 58, 64, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  color: var(--c-200);
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-copy-code:hover {
  background: rgba(73, 80, 87, 0.9);
  border-color: var(--border-bright);
  color: var(--c-50);
  transform: translateY(-1px);
}

.btn-copy-code:active {
  transform: scale(0.96);
}

.editor-lang-tag {
  font-size: 0.75rem;
  color: var(--c-400);
}

.editor-code-container {
  padding: 1.5rem 1.75rem;
  background: #181b1e;
  overflow-x: auto;
  min-height: 280px;
}

.code-panel {
  display: none;
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--c-100);
}

.code-panel.active {
  display: block;
}

.tok-comment { color: var(--c-500); font-style: italic; }
.tok-keyword { color: var(--c-100); font-weight: 700; }
.tok-type { color: var(--c-50); font-weight: 600; }
.tok-func { color: var(--c-200); }
.tok-str { color: var(--c-300); }

.editor-footer {
  padding: 0.65rem 1.25rem;
  background: rgba(33, 37, 41, 0.95);
  border-top: 1px solid var(--border-subtle);
  font-size: 0.75rem;
}

.editor-terminal-output {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.term-arrow { color: var(--c-50); font-weight: 800; }
.term-dim { color: var(--c-500); }
.term-success { color: var(--c-100); }

/* Interactive Terminal Execution Box */
.interactive-terminal-box {
  background: #131518;
  border-top: 1px solid var(--border-subtle);
  padding: 1.25rem 1.5rem;
}

.term-input-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.term-prompt-sym {
  color: var(--c-200);
  font-weight: 700;
  font-size: 0.82rem;
  white-space: nowrap;
}

.term-input {
  flex: 1;
  background: rgba(33, 37, 41, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 0.45rem 0.85rem;
  color: var(--c-50);
  font-family: inherit;
  font-size: 0.82rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.term-input:focus {
  border-color: var(--border-bright);
}

.term-run-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  background: var(--c-50);
  color: var(--c-800);
  border: none;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.term-run-btn:hover {
  background: #ffffff;
  transform: translateY(-1px);
}

.term-run-btn:active {
  transform: scale(0.96);
}

.term-quick-chips {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  font-size: 0.75rem;
}

.chip-label { color: var(--c-500); }

.term-chip {
  background: rgba(52, 58, 64, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 0.2rem 0.55rem;
  color: var(--c-300);
  font-family: inherit;
  font-size: 0.72rem;
  cursor: pointer;
  transition: all 0.18s ease;
}

.term-chip:hover {
  background: rgba(73, 80, 87, 0.85);
  border-color: var(--border-bright);
  color: var(--c-50);
}

.term-chip:active {
  transform: scale(0.95);
}

.term-console-log {
  max-height: 140px;
  overflow-y: auto;
  font-size: 0.76rem;
  line-height: 1.6;
  color: var(--c-300);
  background: rgba(10, 12, 14, 0.6);
  padding: 0.75rem 1rem;
  border-radius: 6px;
  border: 1px solid rgba(222, 226, 230, 0.08);
}

.log-line { margin-bottom: 0.25rem; }
.log-time { color: var(--c-500); margin-right: 0.4rem; }
.log-success { color: var(--c-100); }
.log-info { color: var(--c-300); }
.log-warn { color: var(--c-400); }

/* ==========================================================================
   SKILLS & SEARCH BAR
   ========================================================================== */
.skills-filter-toolbar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.75rem;
}

.skills-search-wrapper {
  max-width: 580px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 1.1rem;
  color: var(--c-500);
  font-size: 0.95rem;
  pointer-events: none;
}

.skills-search-wrapper input {
  width: 100%;
  background: rgba(52, 58, 64, 0.65);
  border: 1px solid var(--border-medium);
  border-radius: 9999px;
  padding: 0.75rem 2.8rem;
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--c-50);
  outline: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all 0.2s ease;
}

.skills-search-wrapper input:focus {
  border-color: var(--border-bright);
  background: rgba(52, 58, 64, 0.9);
  box-shadow: 0 0 20px rgba(248, 249, 250, 0.12);
}

.clear-search-btn {
  position: absolute;
  right: 1.1rem;
  background: transparent;
  border: none;
  color: var(--c-400);
  cursor: pointer;
  font-size: 0.9rem;
}

.search-results-info {
  text-align: center;
  font-size: 0.78rem;
  color: var(--c-400);
  margin-top: 0.5rem;
}

.motionsites-filter-wrap {
  display: flex;
  justify-content: center;
}

.filter-pill-container {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.35rem;
  background: rgba(33, 37, 41, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 9999px;
  color: var(--c-400);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover, .filter-btn.active {
  color: var(--c-50);
  background: rgba(52, 58, 64, 0.85);
  border-color: var(--border-medium);
}

.filter-btn:active {
  transform: scale(0.96);
}

.pill-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 9999px;
  background: rgba(33, 37, 41, 0.8);
  border: 1px solid var(--border-subtle);
  font-size: 0.7rem;
  color: var(--c-300);
}

.filter-btn.active .pill-count {
  background: var(--c-50);
  color: var(--c-800);
  font-weight: 700;
}

.skills-engineer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.tech-card {
  padding: 1.6rem 1.4rem;
  display: flex;
  flex-direction: column;
}

.tech-card.filtered-out {
  display: none !important;
}

.tech-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
}

.tech-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(52, 58, 64, 0.8);
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--c-50);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.mono-ts {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--c-50);
}

.tech-badge {
  font-size: 0.7rem;
  color: var(--c-400);
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  background: rgba(33, 37, 41, 0.7);
  border: 1px solid var(--border-subtle);
}

.tech-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-50);
  margin-bottom: 0.5rem;
}

.tech-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex: 1;
}

.tech-meta {
  font-size: 0.72rem;
  color: var(--c-500);
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   ABOUT / FOUNDER STORY BENTO GRID
   ========================================================================== */
.about-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.bento-card {
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
}

.bento-span-2 {
  grid-column: span 2;
}

.bento-card-badge {
  font-size: 0.72rem;
  color: var(--c-400);
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
}

.bento-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(52, 58, 64, 0.8);
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--c-50);
  margin-bottom: 1.2rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.bento-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--c-50);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.bento-card-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.2rem;
}

.bento-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.bento-tag {
  font-size: 0.72rem;
  color: var(--c-300);
  background: rgba(33, 37, 41, 0.8);
  border: 1px solid var(--border-subtle);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
}

.bento-foot-badge {
  font-size: 0.72rem;
  color: var(--c-400);
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
}

.bento-stats-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.76rem;
  color: var(--c-300);
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-box {
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
}

.service-box.service-featured {
  border-color: var(--border-medium);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(248, 249, 250, 0.15);
}

.service-index {
  font-size: 0.72rem;
  color: var(--c-500);
  letter-spacing: 0.08em;
  margin-bottom: 1.2rem;
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(52, 58, 64, 0.8);
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--c-50);
  margin-bottom: 1.4rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-50);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.service-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}

.service-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.78rem;
  color: var(--c-300);
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.service-checklist li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-checklist i {
  color: var(--c-200);
  font-size: 0.75rem;
}

/* ==========================================================================
   CONTACT SECTION & STANDARDIZED FORM BUTTONS
   ========================================================================== */
.contact-terminal-box {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.65), 0 0 40px rgba(248, 249, 250, 0.05);
}

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

.contact-info-col {
  padding: 3.5rem;
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
}

.contact-title {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 1.25rem 0 1rem;
  color: var(--c-50);
}

.contact-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.contact-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.contact-item-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
}

.contact-item-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(52, 58, 64, 0.8);
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--c-50);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.contact-item-text {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.item-label { font-size: 0.68rem; color: var(--c-500); }

.item-val {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--c-50);
  text-decoration: none;
}

.copy-action-btn {
  background: transparent;
  border: none;
  color: var(--c-400);
  font-size: 1rem;
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.copy-action-btn:hover {
  color: var(--c-50);
  background: rgba(73, 80, 87, 0.7);
}

.direct-wa-wrap .w-100 {
  width: 100%;
}

.contact-form-col {
  padding: 3.5rem;
  background: rgba(20, 23, 26, 0.45);
}

.form-terminal-frame {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.form-titlebar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--c-300);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.engineer-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.field-label {
  font-size: 0.75rem;
  color: var(--c-300);
}

.field-input, .field-select, .field-textarea {
  width: 100%;
  background: rgba(33, 37, 41, 0.85);
  border: 1px solid var(--border-medium);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--c-50);
  font-family: inherit;
  font-size: 0.88rem;
  outline: none;
  transition: all 0.2s ease;
}

.field-input:focus, .field-select:focus, .field-textarea:focus {
  border-color: var(--border-bright);
  background: rgba(52, 58, 64, 0.95);
  box-shadow: 0 0 16px rgba(248, 249, 250, 0.12);
}

.form-actions-split {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.btn-form-whatsapp {
  flex: 1;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: rgba(52, 58, 64, 0.7);
  color: var(--c-50);
  border: 1px solid var(--border-medium);
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-form-whatsapp:hover {
  background: rgba(73, 80, 87, 0.9);
  border-color: var(--border-bright);
  transform: translateY(-1px);
}

.btn-form-whatsapp:active {
  transform: scale(0.98);
}

.btn-form-submit {
  flex: 1;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: linear-gradient(135deg, var(--c-50) 0%, var(--c-200) 100%);
  color: var(--c-800);
  border: 1px solid #ffffff;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(248, 249, 250, 0.2);
  transition: all 0.2s ease;
}

.btn-form-submit:hover {
  background: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 26px rgba(248, 249, 250, 0.4);
}

.btn-form-submit:active {
  transform: scale(0.98);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  padding: 4.5rem 0 2.5rem;
  border-top: 1px solid var(--border-subtle);
  background: rgba(20, 23, 26, 0.8);
  position: relative;
  z-index: 2;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-50);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 0.4rem;
}

.footer-subtext {
  font-size: 0.82rem;
  color: var(--c-500);
}

.footer-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1rem;
  background: rgba(52, 58, 64, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  font-size: 0.75rem;
  color: var(--c-300);
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-400);
  background: rgba(52, 58, 64, 0.5);
  border: 1px solid var(--border-subtle);
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-social-icon:hover {
  color: var(--c-50);
  background: rgba(73, 80, 87, 0.8);
  border-color: var(--border-bright);
  transform: translateY(-2px);
}

.footer-sub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(222, 226, 230, 0.06);
  font-size: 0.78rem;
  color: var(--c-500);
}

.back-link {
  color: var(--c-400);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.18s ease;
}

.back-link:hover {
  color: var(--c-50);
}

/* ==========================================================================
   CV VIEWER MODAL & EXIT CONFIRMATION DIALOG
   ========================================================================== */
.cv-modal-backdrop, .exit-confirm-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(14, 17, 20, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.cv-modal-backdrop.active, .exit-confirm-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.cv-modal-window {
  width: 100%;
  max-width: 980px;
  height: 88vh;
  background: var(--surface-sheen);
  border: 1px solid var(--border-medium);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.7);
  transform: scale(0.96);
  transition: transform 0.3s var(--ease-spring);
}

.cv-modal-backdrop.active .cv-modal-window {
  transform: scale(1);
}

.cv-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.25rem;
  background: rgba(33, 37, 41, 0.95);
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cv-header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cv-window-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cv-doc-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--c-100);
}

.cv-lang-switcher {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem;
  background: rgba(52, 58, 64, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  gap: 0.2rem;
}

.lang-pill-btn {
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  background: transparent;
  border: none;
  color: var(--c-400);
  font-family: inherit;
  font-size: 0.72rem;
  cursor: pointer;
  transition: all 0.18s ease;
}

.lang-pill-btn:hover, .lang-pill-btn.active {
  color: var(--c-50);
  background: rgba(73, 80, 87, 0.9);
}

.lang-pill-btn.active {
  background: var(--c-50);
  color: var(--c-800);
  font-weight: 700;
}

.cv-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-cv-download {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.95rem;
  background: var(--c-50);
  color: var(--c-800);
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-cv-download:hover {
  background: #ffffff;
  transform: translateY(-1px);
}

.cv-action-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(52, 58, 64, 0.7);
  border: 1px solid var(--border-subtle);
  color: var(--c-300);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cv-action-icon-btn:hover {
  color: var(--c-50);
  background: rgba(73, 80, 87, 0.9);
  border-color: var(--border-bright);
}

.cv-modal-body {
  flex: 1;
  position: relative;
  background: #14171a;
  overflow: hidden;
}

.cv-iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: #25282c;
}

.cv-mobile-notice {
  display: none;
  padding: 1.5rem;
  text-align: center;
  background: var(--c-700);
}

.cv-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1.25rem;
  background: rgba(33, 37, 41, 0.95);
  border-top: 1px solid var(--border-subtle);
  font-size: 0.72rem;
  color: var(--c-400);
}

/* Exit Confirmation Card */
.exit-confirm-card {
  width: 100%;
  max-width: 440px;
  background: var(--surface-sheen);
  border: 1px solid var(--border-medium);
  border-radius: 16px;
  padding: 2.2rem 2rem;
  text-align: center;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.75);
}

.exit-icon-glow {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(52, 58, 64, 0.8);
  border: 1px solid var(--border-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--c-50);
  margin: 0 auto 1.25rem;
  box-shadow: 0 0 24px rgba(248, 249, 250, 0.2);
}

.exit-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-50);
  margin-bottom: 0.65rem;
}

.exit-desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.exit-actions-column {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.btn-exit-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background: var(--c-50);
  color: var(--c-800);
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-exit-download:hover {
  background: #ffffff;
  transform: translateY(-1px);
}

.btn-exit-cancel, .btn-exit-stay {
  padding: 0.65rem;
  background: rgba(52, 58, 64, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  color: var(--c-300);
  font-family: inherit;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-exit-cancel:hover, .btn-exit-stay:hover {
  background: rgba(73, 80, 87, 0.8);
  color: var(--c-50);
}

/* Toast */
.toast-box {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: rgba(33, 37, 41, 0.95);
  border: 1px solid var(--border-bright);
  border-radius: 10px;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.82rem;
  color: var(--c-50);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(248, 249, 250, 0.15);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s var(--ease-spring);
  z-index: 10001;
}

.toast-box.active {
  transform: translateY(0);
  opacity: 1;
}

/* Scroll Reveal */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s var(--ease-spring), transform 0.6s var(--ease-spring);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ==========================================================================
   RESPONSIVE DESIGN (BREAKPOINTS)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-right-visual {
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }

  .stats-bento-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .ocaq-pillars-grid {
    grid-template-columns: 1fr;
  }

  .about-bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-span-2 {
    grid-column: span 1;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-info-col {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
    padding: 2.5rem 2rem;
  }

  .contact-form-col {
    padding: 2.5rem 2rem;
  }
}

/* Medium Screen / Compact Desktop Navbar Tuning */
@media (min-width: 993px) and (max-width: 1200px) {
  .pill-navbar {
    gap: 0.65rem;
    padding: 0.38rem 0.6rem 0.38rem 0.95rem;
    max-width: 96vw;
  }
  .pill-menu {
    gap: 0.1rem;
    padding: 0.18rem;
  }
  .pill-item {
    padding: 0.35rem 0.62rem;
    font-size: 0.78rem;
  }
  .btn-nav-cv {
    padding: 0.38rem 0.7rem;
    font-size: 0.75rem;
  }
  .btn-nav-wa {
    padding: 0.38rem 0.85rem;
    font-size: 0.78rem;
  }
  .nav-icon-link {
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
  }
}

/* Tablet & Mobile Breakpoint: Switch to compact navbar */
@media (max-width: 992px) {
  .pill-menu, 
  .nav-quick-actions .btn-nav-cv, 
  .nav-quick-actions .nav-icon-link {
    display: none !important;
  }

  .mobile-toggle {
    display: flex;
  }

  .pill-navbar {
    padding: 0.45rem 0.85rem;
    gap: 0.85rem;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 4.5rem 0;
  }

  .hero-section {
    padding-top: 7rem;
  }

  .hero-headline {
    font-size: 2.2rem;
  }

  .stats-bento-strip {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-sub {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .cv-iframe {
    display: none;
  }

  .cv-mobile-notice {
    display: block;
  }
}

@media (max-width: 480px) {
  .hero-actions-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-hero-cv, .btn-hero-primary, .btn-hero-secondary, .btn-hero-wa {
    width: 100%;
    justify-content: center;
  }

  .form-actions-split {
    flex-direction: column;
  }

  .contact-info-col, .contact-form-col {
    padding: 1.75rem 1.25rem;
  }

  .edge-nodes-list {
    grid-template-columns: 1fr;
  }
}
