html {
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
  -webkit-font-smoothing: antialiased;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  cursor: none !important;
}

html, body {
  cursor: none !important;
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}

html::-webkit-scrollbar, body::-webkit-scrollbar, *::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

*, *:hover, *:active, *:focus, a, button, input, textarea, select, label {
  cursor: none !important;
}

/* ==========================================================================
   THEME DESIGN SYSTEM (WHITE AS DEFAULT, ORANGE, BLACK)
   ========================================================================== */

:root, [data-theme="white"] {
  --bg-gradient: radial-gradient(circle at 50% 45%, #ffffff 0%, #f4f4f7 50%, #e4e4eb 100%);
  --card-bg: radial-gradient(ellipse at 50% 35%, #ffffff 0%, #fafafa 60%, #f0f0f5 100%);
  --card-shadow: 0 35px 90px -15px rgba(0, 0, 0, 0.08), inset 0 1px 1px rgba(255, 255, 255, 1);
  --text-main: #111118;
  --text-sub: rgba(17, 17, 24, 0.78);
  --text-muted: rgba(17, 17, 24, 0.5);
  --nav-capsule-bg: rgba(0, 0, 0, 0.05);
  --nav-capsule-border: rgba(0, 0, 0, 0.08);
  --nav-indicator-bg: #111118;
  --nav-active-text: #ffffff;
  --icon-btn-bg: rgba(0, 0, 0, 0.05);
  --icon-btn-border: rgba(0, 0, 0, 0.09);
  --icon-btn-hover: rgba(0, 0, 0, 0.1);
  --btn-bg: #111118;
  --btn-text: #ffffff;
  --btn-hover: #2a2a35;
  --logo-icon-bg: #111118;
  --logo-icon-text: #ffffff;
  --theme-indicator-bg: rgba(0, 0, 0, 0.06);
  --theme-dot-color: #ffffff;
  --cursor-color: #111118;
  --cursor-glow: rgba(17, 17, 24, 0.5);
  --cursor-glow-outer: rgba(17, 17, 24, 0.22);
  --input-bg: rgba(0, 0, 0, 0.03);
  --input-border: rgba(0, 0, 0, 0.1);
}

[data-theme="rose"] {
  --bg-gradient: radial-gradient(circle at 50% 45%, #1a0812 0%, #10060c 50%, #0c0f0a 100%);
  --card-bg: radial-gradient(ellipse at 50% 35%, #1f0b16 0%, #14080e 60%, #0c0f0a 100%);
  --card-shadow: 0 40px 100px -20px rgba(255, 32, 110, 0.4), inset 0 1px 1px rgba(251, 255, 18, 0.45);
  --text-main: #ffffff;
  --text-sub: rgba(255, 255, 255, 0.85);
  --text-muted: rgba(255, 255, 255, 0.6);
  --nav-capsule-bg: rgba(255, 32, 110, 0.15);
  --nav-capsule-border: rgba(255, 32, 110, 0.3);
  --nav-indicator-bg: #ff206e;
  --nav-active-text: #ffffff;
  --icon-btn-bg: rgba(255, 255, 255, 0.08);
  --icon-btn-border: rgba(255, 32, 110, 0.3);
  --icon-btn-hover: rgba(255, 32, 110, 0.25);
  --btn-bg: #fbff12;
  --btn-text: #0c0f0a;
  --btn-hover: #e6ea00;
  --logo-icon-bg: #ff206e;
  --logo-icon-text: #ffffff;
  --theme-indicator-bg: rgba(255, 32, 110, 0.2);
  --theme-dot-color: #ff206e;
  --cursor-color: #fbff12;
  --cursor-glow: rgba(251, 255, 18, 0.95);
  --cursor-glow-outer: rgba(255, 32, 110, 0.65);
  --input-bg: rgba(255, 255, 255, 0.06);
  --input-border: rgba(255, 32, 110, 0.3);
}

[data-theme="black"] {
  --bg-gradient: radial-gradient(circle at 50% 45%, #2a2a32 0%, #15151a 50%, #09090b 100%);
  --card-bg: radial-gradient(ellipse at 50% 35%, #1c1c22 0%, #121216 60%, #0a0a0d 100%);
  --card-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.7), inset 0 1px 1px rgba(255, 255, 255, 0.15);
  --text-main: #ffffff;
  --text-sub: rgba(255, 255, 255, 0.85);
  --text-muted: rgba(255, 255, 255, 0.6);
  --nav-capsule-bg: rgba(255, 255, 255, 0.08);
  --nav-capsule-border: rgba(255, 255, 255, 0.12);
  --nav-indicator-bg: #ffffff;
  --nav-active-text: #111118;
  --icon-btn-bg: rgba(255, 255, 255, 0.1);
  --icon-btn-border: rgba(255, 255, 255, 0.15);
  --icon-btn-hover: rgba(255, 255, 255, 0.2);
  --btn-bg: #ffffff;
  --btn-text: #111118;
  --btn-hover: #e5e5e5;
  --logo-icon-bg: #ffffff;
  --logo-icon-text: #111118;
  --theme-indicator-bg: rgba(255, 255, 255, 0.1);
  --theme-dot-color: #111118;
  --cursor-color: #ffffff;
  --cursor-glow: rgba(255, 255, 255, 0.95);
  --cursor-glow-outer: rgba(255, 255, 255, 0.5);
  --input-bg: rgba(255, 255, 255, 0.06);
  --input-border: rgba(255, 255, 255, 0.15);
}

[data-theme="lime"] {
  --bg-gradient: radial-gradient(circle at 50% 45%, #262626 0%, #141414 50%, #000000 100%);
  --card-bg: radial-gradient(ellipse at 50% 35%, #1f1f1f 0%, #121212 60%, #080808 100%);
  --card-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.85), inset 0 1px 1px rgba(204, 255, 0, 0.35);
  --text-main: #f2f2f2;
  --text-sub: rgba(242, 242, 242, 0.85);
  --text-muted: #999999;
  --nav-capsule-bg: rgba(204, 255, 0, 0.08);
  --nav-capsule-border: rgba(204, 255, 0, 0.25);
  --nav-indicator-bg: #ccff00;
  --nav-active-text: #000000;
  --icon-btn-bg: rgba(242, 242, 242, 0.08);
  --icon-btn-border: rgba(204, 255, 0, 0.25);
  --icon-btn-hover: rgba(204, 255, 0, 0.22);
  --btn-bg: #ccff00;
  --btn-text: #000000;
  --btn-hover: #b3e600;
  --logo-icon-bg: #ccff00;
  --logo-icon-text: #000000;
  --theme-indicator-bg: rgba(204, 255, 0, 0.15);
  --theme-dot-color: #ccff00;
  --cursor-color: #ccff00;
  --cursor-glow: rgba(204, 255, 0, 0.95);
  --cursor-glow-outer: rgba(204, 255, 0, 0.55);
  --input-bg: rgba(242, 242, 242, 0.06);
  --input-border: rgba(204, 255, 0, 0.25);
}

[data-theme="pink"] {
  --bg-gradient: radial-gradient(circle at 50% 45%, #24051d 0%, #12020e 50%, #000000 100%);
  --card-bg: radial-gradient(ellipse at 50% 35%, #1f0418 0%, #12020f 60%, #060105 100%);
  --card-shadow: 0 40px 100px -20px rgba(255, 16, 240, 0.4), inset 0 1px 1px rgba(255, 16, 240, 0.35);
  --text-main: #ffffff;
  --text-sub: rgba(255, 255, 255, 0.85);
  --text-muted: rgba(255, 255, 255, 0.6);
  --nav-capsule-bg: rgba(255, 16, 240, 0.1);
  --nav-capsule-border: rgba(255, 16, 240, 0.25);
  --nav-indicator-bg: #ff10f0;
  --nav-active-text: #ffffff;
  --icon-btn-bg: rgba(255, 255, 255, 0.08);
  --icon-btn-border: rgba(255, 16, 240, 0.25);
  --icon-btn-hover: rgba(255, 16, 240, 0.25);
  --btn-bg: #ff10f0;
  --btn-text: #ffffff;
  --btn-hover: #e600d6;
  --logo-icon-bg: #ff10f0;
  --logo-icon-text: #ffffff;
  --theme-indicator-bg: rgba(255, 16, 240, 0.15);
  --theme-dot-color: #ff10f0;
  --cursor-color: #ff10f0;
  --cursor-glow: rgba(255, 16, 240, 0.95);
  --cursor-glow-outer: rgba(255, 16, 240, 0.55);
  --input-bg: rgba(255, 255, 255, 0.06);
  --input-border: rgba(255, 16, 240, 0.25);
}

html {
  scroll-behavior: smooth;
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}

html::-webkit-scrollbar, body::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

html, body {
  width: 100%;
  min-height: 100vh;
  background: var(--bg-gradient);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-main);
  overflow-x: hidden;
  overflow-y: auto;
  user-select: none;
  transition: background 0.4s ease, color 0.4s ease;
}

/* Custom Pointer Cursor with Glowing Aura */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--cursor-color);
  border-radius: 50%;
  pointer-events: none;
  z-index: 2147483647 !important;
  transform: translate3d(0, 0, 0) translate(-50%, -50%);
  box-shadow: 0 0 10px var(--cursor-glow), 0 0 22px var(--cursor-glow-outer);
  transition: opacity 0.15s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

.cursor-dot.hidden {
  opacity: 0 !important;
}

/* Make custom cursor dot bright white while Welcome Modal or Image Lightbox Modal is open */
body.welcome-modal-open .cursor-dot,
body.image-lightbox-open .cursor-dot {
  background: #ffffff !important;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.95), 0 0 22px rgba(255, 255, 255, 0.5) !important;
}

/* ==========================================================================
   WEBSITE PRELOADER LOADING SCREEN
   ========================================================================== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--bg-gradient);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: none !important;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 420px;
  width: 100%;
  padding: 20px;
}

.preloader-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--text-main);
  text-transform: uppercase;
  margin-bottom: 28px;
}

.preloader-progress-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  margin-bottom: 20px;
}

.preloader-progress-track {
  flex: 1;
  height: 8px;
  background: var(--nav-capsule-bg);
  border-radius: 20px;
  overflow: visible;
  border: 1px solid var(--nav-capsule-border);
  position: relative;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.preloader-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--btn-bg), var(--nav-indicator-bg), var(--btn-bg));
  background-size: 200% 100%;
  border-radius: 20px;
  position: relative;
  transition: width 0.15s ease-out;
  animation: shimmerGradient 1.8s linear infinite;
  box-shadow: 0 0 14px var(--cursor-glow-outer);
}

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

.preloader-glow-head {
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: var(--btn-bg);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--cursor-glow), 0 0 18px var(--cursor-glow-outer);
  transition: opacity 0.2s ease;
}

.preloader-percent-num {
  font-family: 'Press Start 2P', monospace, sans-serif;
  font-size: 9px;
  color: var(--text-main);
  min-width: 42px;
  text-align: right;
  letter-spacing: 0.5px;
}

.preloader-status-text {
  font-family: 'Press Start 2P', monospace, sans-serif;
  font-size: 8px;
  letter-spacing: 1px;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Right Side Contact Drawer */
.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  z-index: 9998;
  transition: opacity 0.38s ease;
}

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

.contact-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 420px;
  max-width: 90vw;
  height: 100vh;
  background: var(--card-bg);
  border-left: 1px solid var(--nav-capsule-border);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.35);
  z-index: 9999;
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transform: translateX(100%);
  transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  color: var(--text-main);
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}

.contact-drawer::-webkit-scrollbar {
  display: none !important;
}

.contact-drawer.is-open {
  transform: translateX(0);
}

/* Left Side Sliding Drawer Panel for My Approach */
.left-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 440px;
  max-width: 90vw;
  height: 100vh;
  background: var(--card-bg);
  border-right: 1px solid var(--nav-capsule-border);
  box-shadow: 20px 0 60px rgba(0, 0, 0, 0.35);
  z-index: 9999;
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transform: translateX(-100%);
  transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  color: var(--text-main);
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}

.left-drawer::-webkit-scrollbar {
  display: none !important;
}

.left-drawer.is-open {
  transform: translateX(0);
}

/* Approach Step Cards inside Left Drawer */
.approach-steps-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 10px;
}

.approach-step-card {
  background: var(--input-bg);
  border: 1px solid var(--nav-capsule-border);
  border-radius: 16px;
  padding: 16px 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.approach-step-card:hover {
  transform: translateY(-2px);
  border-color: var(--text-muted);
  background: var(--nav-capsule-bg);
}

.step-num-badge {
  font-size: 11px;
  font-weight: 800;
  color: var(--btn-bg);
  background: var(--bg-main);
  border: 1px solid var(--nav-capsule-border);
  padding: 4px 8px;
  border-radius: 8px;
  flex-shrink: 0;
}

.step-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.step-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
  letter-spacing: 0.3px;
}

.step-desc {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--text-sub);
  margin: 0;
}

.approach-goal-box {
  margin-top: 12px;
  background: var(--nav-capsule-bg);
  border: 1.5px solid var(--nav-capsule-border);
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.goal-icon {
  color: var(--btn-bg);
  flex-shrink: 0;
  margin-top: 2px;
}

.goal-text {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--text-main);
  margin: 0;
}

.goal-text strong {
  font-weight: 800;
}

.drawer-close-btn {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--icon-btn-border);
  background: var(--icon-btn-bg);
  color: var(--text-main);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all 0.2s ease;
}

.drawer-close-btn:hover {
  background: var(--btn-bg);
  color: var(--btn-text);
  transform: rotate(90deg);
}

.drawer-header {
  margin-top: 10px;
}

.drawer-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-main);
  margin-bottom: 6px;
}

.drawer-subtitle {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.5;
}

/* 5 Vertical Capsule Components */
.drawer-capsules-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  margin: 8px 0;
}

.drawer-capsule-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 15px 24px;
  border-radius: 30px;
  background: var(--btn-bg);
  color: var(--btn-text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--icon-btn-border);
}

.drawer-capsule-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  background: var(--btn-hover);
}

.drawer-info {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--nav-capsule-border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.drawer-info-divider {
  width: 100%;
  height: 1px;
  background: var(--nav-capsule-border);
  margin: 4px 0 6px 0;
  opacity: 0.8;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.info-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
}

.info-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
}

/* Outer Hero Viewport */
.hero-viewport {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

/* Main Hero Card Container */
.hero-card {
  width: 100%;
  max-width: 1240px;
  height: calc(100vh - 64px);
  max-height: 720px;
  background: var(--card-bg);
  border-radius: 32px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  padding: 36px 48px;
  position: relative;
  overflow: hidden;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}



/* ==========================================================================
   INTERACTIVE AI WORKFLOW NEURAL CORE & PULSING HUB (HERO SECTION)
   ========================================================================== */
/* ==========================================================================
   HIGH-TECH MULTI-CORE AI NEURAL MATRIX & 11 WORKFLOW BLOCKS (HERO SECTION)
   ========================================================================== */
.hero-ai-hub-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  height: 100%;
  position: relative;
}



.ai-hub-container {
  position: relative;
  width: 100%;
  max-width: 530px;
  height: 445px;
  margin: 0 auto;
  overflow: visible !important;
}

.ai-hub-svg-routes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  transform: translate3d(0, 0, 0);
}

.circuit-line.grid-mesh {
  stroke: var(--nav-capsule-border);
  stroke-width: 0.8;
  stroke-dasharray: 2 6;
  opacity: 0.2;
}

.circuit-line.ribbon-bus {
  stroke: var(--nav-capsule-border);
  stroke-width: 1.2;
  opacity: 0.45;
  stroke-linecap: round;
}

.circuit-line.base {
  stroke: var(--nav-capsule-border);
  stroke-width: 1.4;
  opacity: 0.55;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.25s ease, opacity 0.25s ease, stroke-width 0.25s ease;
}

.circuit-line.sub-base {
  stroke: var(--nav-capsule-border);
  stroke-width: 1;
  stroke-dasharray: 4 4;
  opacity: 0.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}



/* PCB Circuit Junction Dots & Terminal Impact Rings */
.junction-dot {
  fill: var(--nav-capsule-border);
  stroke: var(--card-bg);
  stroke-width: 1;
  opacity: 0.85;
  transition: all 0.25s ease;
}

.pcb-via {
  fill: var(--card-bg);
  stroke: var(--btn-bg);
  stroke-width: 1.5;
  transform-origin: center;
  transform-box: fill-box;
  animation: viaPulse 3s ease-in-out infinite alternate;
}

@keyframes viaPulse {
  0% { transform: scale3d(0.85, 0.85, 1); opacity: 0.6; }
  100% { transform: scale3d(1.1, 1.1, 1); opacity: 1; }
}

.terminal-dot {
  fill: var(--btn-bg);
  stroke: var(--card-bg);
  stroke-width: 1.5;
  transform-origin: center;
  transform-box: fill-box;
  animation: terminalPulse 2s ease-in-out infinite alternate;
}

@keyframes terminalPulse {
  0% {
    transform: scale3d(0.85, 0.85, 1);
    opacity: 0.7;
  }
  100% {
    transform: scale3d(1.15, 1.15, 1);
    opacity: 1;
  }
}

/* Auxiliary Sub-Chips (NPU, VEC, SEC, BUS) */
.sub-chip {
  position: absolute;
  width: 36px;
  height: 36px;
  background: var(--nav-capsule-bg);
  border: 1px solid var(--nav-capsule-border);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  cursor: default;
}

.sub-chip-label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--text-main);
  transition: color 0.3s ease;
}

.sub-npu { left: 162px; top: 110px; }
.sub-vec { right: 162px; top: 110px; }
.sub-sec { left: 162px; top: 250px; }
.sub-bus { right: 162px; top: 250px; }

/* Central Main AI Processor Core Chip */
.ai-central-chip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 96px;
  height: 96px;
  background: var(--btn-bg);
  color: var(--btn-text);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 5;
  padding: 6px;
  box-shadow: 0 0 24px var(--cursor-glow), inset 0 0 14px rgba(255, 255, 255, 0.3);
  animation: aiChipPulse 3.5s ease-in-out infinite;
  cursor: default;
}

@keyframes aiChipPulse {
  0%, 100% {
    transform: translate3d(-50%, -50%, 0) scale3d(1, 1, 1);
    opacity: 0.95;
  }
  50% {
    transform: translate3d(-50%, -50%, 0) scale3d(1.02, 1.02, 1);
    opacity: 1;
  }
}

/* Dual Concentric Pulsing Radar Aura */
.chip-radar-pulse {
  position: absolute;
  inset: -12px;
  border-radius: 30px;
  border: 1.5px dashed var(--btn-bg);
  opacity: 0.3;
  pointer-events: none;
  animation: radarRotate 12s linear infinite;
}

@keyframes radarRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Corner Screws */
.chip-screw {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--card-bg);
  opacity: 0.6;
}
.screw-tl { top: 6px; left: 6px; }
.screw-tr { top: 6px; right: 6px; }
.screw-bl { bottom: 6px; left: 6px; }
.screw-br { bottom: 6px; right: 6px; }

/* 24 Pins (6 per side) */
.chip-pins {
  position: absolute;
  display: flex;
  gap: 4px;
}

.pins-top {
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  flex-direction: row;
}

.pins-bottom {
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  flex-direction: row;
}

.pins-left {
  left: -5px;
  top: 50%;
  transform: translateY(-50%);
  flex-direction: column;
}

.pins-right {
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  flex-direction: column;
}

.chip-pins span {
  width: 3.5px;
  height: 5px;
  background: var(--btn-bg);
  border-radius: 1px;
  box-shadow: 0 0 6px var(--cursor-glow);
}

.pins-left span,
.pins-right span {
  width: 5px;
  height: 3.5px;
}

.chip-core {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  text-align: center;
}

.ai-chip-header {
  display: flex;
  gap: 3px;
  margin-bottom: 3px;
}

.chip-led {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.4;
}

.led-1 { animation: ledBlink 1.2s infinite; }
.led-2 { animation: ledBlink 1.2s infinite 0.4s; }
.led-3 { animation: ledBlink 1.2s infinite 0.8s; }

@keyframes ledBlink {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; filter: drop-shadow(0 0 4px currentColor); }
}

.ai-chip-symbol {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.ai-chip-subtext {
  font-size: 7.5px;
  font-weight: 800;
  opacity: 0.9;
  margin-top: 2px;
  letter-spacing: 0.8px;
}

.ai-chip-freq {
  font-size: 6.5px;
  font-weight: 700;
  opacity: 0.75;
  margin-top: 2px;
  letter-spacing: 0.5px;
}

/* 11 Connected Workflow Block Cards */
.node-card {
  position: absolute;
  background: var(--nav-capsule-bg);
  border: 1px solid var(--nav-capsule-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 12px;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 4;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease, background 0.28s ease;
  cursor: default;
  color: var(--text-main);
  overflow: visible !important;
  box-sizing: border-box;
}

.node-icon {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--icon-btn-bg);
  border: 1px solid var(--icon-btn-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  flex-shrink: 0;
}

.node-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.node-label {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  letter-spacing: 0.1px;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
}

.node-subtag {
  font-size: 7px;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.6px;
  text-transform: uppercase;
}


/* 11 Node Block Precise Spatial Coordinates inside 530x445 container */
.node-1 { top: 12px; left: 18px; width: 124px; height: 38px; }
.node-2 { top: 12px; left: 150px; width: 108px; height: 38px; }
.node-3 { top: 12px; right: 150px; width: 108px; height: 38px; }
.node-4 { top: 12px; right: 18px; width: 124px; height: 38px; }

.node-5 { top: 122px; left: 18px; width: 130px; height: 38px; }
.node-6 { top: 122px; right: 18px; width: 130px; height: 38px; }

.node-7 { top: 228px; left: 18px; width: 130px; height: 38px; }
.node-8 { top: 228px; right: 18px; width: 130px; height: 38px; }

.node-9 { top: 334px; left: 18px; width: 130px; height: 38px; }
.node-10 { top: 334px; left: 200px; width: 130px; height: 38px; }
.node-11 { top: 334px; right: 18px; width: 130px; height: 38px; }



.content-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  margin: 0;
}

.content-quote {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.45;
  font-style: italic;
  margin: 0;
}

/* Tab 1: Capabilities Grid */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 4px;
}

.cap-card {
  background: var(--bg-main);
  border: 1px solid var(--nav-capsule-border);
  border-radius: 14px;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cap-card:hover {
  border-color: var(--text-muted);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.cap-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--nav-capsule-bg);
  color: var(--text-main);
  border: 1px solid var(--nav-capsule-border);
}

.cap-icon svg {
  width: 15px;
  height: 15px;
  display: block;
}

.cap-text strong {
  display: block;
  font-size: 10px;
  font-weight: 800;
  color: var(--text-main);
}

.cap-text span {
  font-size: 8.5px;
  color: var(--text-muted);
}

/* Tab 2: Tech Chips Grid */
.tech-chips-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin-top: 4px;
}

.tech-chip {
  background: var(--bg-main);
  border: 1px solid var(--nav-capsule-border);
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.tech-chip:hover {
  border-color: var(--text-muted);
}

.chip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--nav-capsule-bg);
  color: var(--text-main);
  flex-shrink: 0;
  border: 1px solid var(--nav-capsule-border);
}

.chip-icon svg {
  width: 13px;
  height: 13px;
}

/* Tab 3: Values Row */
.values-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.val-pill {
  flex: 1;
  background: var(--bg-main);
  border: 1px solid var(--nav-capsule-border);
  border-radius: 14px;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.val-num {
  font-size: 10px;
  font-weight: 800;
  color: var(--btn-bg);
}

.val-txt {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--text-main);
}

/* Footer Live Status */
.brand-matrix-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--nav-capsule-border);
  padding-top: 12px;
  margin-top: 6px;
}

.footer-status {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.live-dot {
  width: 7px;
  height: 7px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10B981;
}

.footer-action-hint {
  font-size: 10px;
  font-weight: 700;
  color: var(--btn-bg);
}

/* Nudge Bounce Animation when 'ABOUT US' is clicked */
.hero-card.nudge-bounce {
  animation: nudgeBounceAnimation 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes nudgeBounceAnimation {
  0% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(24px);
  }
  75% {
    transform: translateY(-6px);
  }
  100% {
    transform: translateY(0);
  }
}

/* ==========================================================================
   TOOLS INFINITE MONOCHROME MARQUEE TICKER (GAP DIVIDERS)
   ========================================================================== */
.tools-marquee-divider {
  width: 100%;
  max-width: 100%;
  margin: 14px auto;
  padding: 6px 0;
  overflow: hidden;
  position: relative;
  user-select: none;
  background: transparent;
  border: none;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.tools-marquee-divider::before,
.tools-marquee-divider::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.tools-marquee-divider::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-main), transparent);
}

.tools-marquee-divider::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-main), transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: marqueeScroll 20s linear infinite;
  will-change: transform;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-right: 20px;
  flex-shrink: 0;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--text-muted);
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.marquee-item:hover {
  color: var(--text-main);
}

.marquee-item svg {
  color: var(--text-muted);
  fill: currentColor;
  opacity: 0.75;
  transition: color 0.3s ease, transform 0.3s ease;
}

.marquee-item:hover svg {
  color: var(--text-main);
  opacity: 1;
  transform: scale(1.12);
}

.marquee-sep {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 700;
  opacity: 0.4;
}

@keyframes marqueeScroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-16.666667%, 0, 0); }
}

/* Header Navigation Bar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  z-index: 20;
}

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

.logo-icon {
  background: var(--logo-icon-bg);
  color: var(--logo-icon-text);
  font-size: 11px;
  font-weight: 800;
  padding: 6px 9px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  transition: background 0.3s ease, color 0.3s ease;
}

.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
}

.logo-name {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--text-main);
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.logo-subtext {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.3s ease;
}

/* Center Pill Navigation with Dynamic Sliding Highlight */
.nav-capsule {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  background: var(--nav-capsule-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 5px;
  border-radius: 40px;
  border: 1px solid var(--nav-capsule-border);
  gap: 4px;
  transition: background 0.3s ease, border-color 0.3s ease;
}

/* Smooth Dynamic Sliding Indicator */
.nav-indicator {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 5px;
  width: 0;
  background: var(--nav-indicator-bg);
  border-radius: 30px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  transition: left 0.3s cubic-bezier(0.25, 1, 0.5, 1),
              width 0.3s cubic-bezier(0.25, 1, 0.5, 1),
              background 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.nav-item {
  position: relative;
  z-index: 2;
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  padding: 10px 22px;
  border-radius: 30px;
  transition: color 0.25s ease;
  white-space: nowrap;
  display: inline-block;
}

.nav-item.is-active-highlight {
  color: var(--nav-active-text) !important;
}

/* Right Navigation Action Buttons */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--icon-btn-border);
  background: var(--icon-btn-bg);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.25s ease;
}

.icon-btn:hover {
  transform: translateY(-2px);
  background: var(--icon-btn-hover);
}

.cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--btn-bg);
  color: var(--btn-text);
  font-size: 10px;
  font-weight: 800;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Eye & Character Face Capsule Button matching 'Find us' theme style */
.nav-eyes-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--btn-bg);
  color: var(--btn-text);
  border: none;
  padding: 11px 24px;
  border-radius: 30px;
  width: fit-content;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  margin-right: 6px;
}

.nav-eyes-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  background: var(--btn-hover);
}

.eye-socket {
  width: 18px;
  height: 18px;
  background: #ffffff;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease;
}

.eye-pupil {
  width: 7.5px;
  height: 7.5px;
  background: #111118;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -3.75px;
  margin-left: -3.75px;
  transition: transform 0.05s ease-out;
  will-change: transform;
}

/* Mouth Line Wrap & Animated SVG Morphing */
.character-mouth-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 10px;
}

.mouth-path {
  stroke: var(--btn-text);
  transition: stroke 0.3s ease;
  animation: mouthMorphAnimation 3.6s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
}

.nav-eyes-btn.is-sleeping .mouth-path {
  animation: none !important;
  d: path("M 3 5 Q 8 5 13 5") !important;
}

@keyframes mouthMorphAnimation {
  0% {
    d: path("M 3 3 Q 8 9 13 3");
  }
  25% {
    d: path("M 2 2 Q 8 10 14 2");
  }
  50% {
    d: path("M 3 4 Q 8 6 13 4");
  }
  75% {
    d: path("M 4 2 Q 8 11 12 2");
  }
  100% {
    d: path("M 3 3 Q 8 8.5 13 3");
  }
}

/* Hero Content Grid Body */
.hero-body {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  align-items: center;
  height: 100%;
  width: 100%;
  position: relative;
  z-index: 10;
  padding-bottom: 4px;
}

/* Left Column Container */
.hero-body .left-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
  max-width: 520px;
}

/* Staggered Push-Up Entrance Sequence for First Section */
.hero-body .hero-title,
.hero-body .hero-description,
.hero-body .theme-switcher-wrapper,
.hero-body .cta-btn,
.hero-body .hero-ai-hub-col {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: opacity, transform;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* PHASE 1: Bold text & smaller text FIRST */
body.hero-animated .hero-body .hero-title {
  transition-delay: 0.06s;
}

body.hero-animated .hero-body .hero-description {
  transition-delay: 0.18s;
}

/* PHASE 2: Then other elements SECOND */
body.hero-animated .hero-body .theme-switcher-wrapper {
  transition-delay: 0.34s;
}

body.hero-animated .hero-body .cta-btn {
  transition-delay: 0.44s;
}

body.hero-animated .hero-body .hero-ai-hub-col {
  transition-delay: 0.48s;
}

/* Minecraft Switch Theme Label & Controls Wrapper (Centered) */
.theme-switcher-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  width: fit-content;
}

.theme-label-pixel {
  font-family: 'Press Start 2P', monospace, sans-serif;
  font-size: 8px;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  user-select: none;
  transition: color 0.3s ease;
}

/* Carousel Arrows & Theme Circle Indicator */
.carousel-arrows {
  display: flex;
  align-items: center;
  gap: 10px;
}

.arrow-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--icon-btn-border);
  background: var(--icon-btn-bg);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  transition: all 0.25s ease;
}

.arrow-btn svg {
  display: block;
  margin: auto;
  pointer-events: none;
}

.arrow-btn:hover {
  background: var(--btn-bg);
  color: var(--btn-text);
  transform: scale(1.06);
}

/* Theme Circle Indicator between Arrows */
.theme-indicator-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--icon-btn-border);
  background: var(--theme-indicator-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s ease;
}

.theme-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--theme-dot-color);
  transition: all 0.35s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.hero-title {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--text-main);
  margin-bottom: 20px;
  transition: color 0.3s ease;
}

.hero-role-text {
  display: block;
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  color: var(--btn-bg);
  margin-top: 4px;
  letter-spacing: -1px;
}

.hero-description {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-sub);
  margin-bottom: 28px;
  max-width: 580px;
  transition: color 0.3s ease;
}

.hero-description p {
  margin-bottom: 10px;
}

.hero-description p:last-child {
  margin-bottom: 0;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--btn-bg);
  color: var(--btn-text);
  border: none;
  padding: 13px 26px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  width: fit-content;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  background: var(--btn-hover);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-start-project-btn {
  text-decoration: none;
  background: var(--nav-capsule-bg);
  color: var(--text-main);
  border: 1px solid var(--icon-btn-border);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.hero-start-project-btn:hover {
  background: var(--btn-bg);
  color: var(--btn-text);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

/* Center Column - Empty Center space */
.center-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  position: relative;
  padding-bottom: 20px;
}

.empty-space {
  flex: 1;
  width: 100%;
}

.center-caption {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.4;
  transition: color 0.3s ease;
}

/* Right Column: Kept clean without pricing or sizes */
.right-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  height: 380px;
}

/* ==========================================================================
   PIXEL ART ANIMATED TRANSITION DIVIDER BETWEEN SECTIONS
   ========================================================================== */
.pixel-divider-container {
  width: 100vw;
  height: 100px;
  position: relative;
  overflow: hidden;
  margin: -15px 0;
  pointer-events: none;
  user-select: none;
}

.pixel-sky {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
}

/* Flying Pixel Bird */
.pixel-bird {
  position: absolute;
  top: 15px;
  left: 0;
  width: 22px;
  height: 14px;
  background-color: var(--text-main);
  clip-path: polygon(0% 40%, 30% 0%, 50% 40%, 70% 0%, 100% 40%, 100% 70%, 50% 100%, 0% 70%);
  will-change: transform;
  animation: flyAcrossSky 14s linear infinite, flapWings 0.5s steps(2, end) infinite;
  opacity: 0.85;
}

.pixel-bird-2 {
  top: 32px;
  left: 0;
  animation-delay: -6s;
  animation-duration: 18s;
  opacity: 0.65;
}

@keyframes flyAcrossSky {
  0% { transform: translate3d(-40px, 0, 0); }
  100% { transform: translate3d(calc(100vw + 40px), 0, 0); }
}

@keyframes flapWings {
  0% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(-0.6) translateY(-2px);
  }
}

/* Jumping Pixel Frog */
.pixel-ground {
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 40px;
}

.pixel-grass-line {
  position: absolute;
  bottom: 0;
  left: 8%;
  right: 8%;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--text-muted) 0px, var(--text-muted) 6px, transparent 6px, transparent 14px);
  opacity: 0.35;
}

.pixel-frog-wrapper {
  position: absolute;
  bottom: 4px;
  left: 10%;
  pointer-events: none;
  z-index: 15;
  will-change: transform;
  animation: frogHopAcross 13s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.pixel-frog {
  width: 22px;
  height: 16px;
  background: var(--text-main);
  clip-path: polygon(20% 0%, 80% 0%, 100% 35%, 100% 75%, 85% 100%, 15% 100%, 0% 75%, 0% 35%);
  position: relative;
  will-change: transform;
  animation: frogParabolaJump 2.2s cubic-bezier(0.25, 1, 0.5, 1) infinite;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

.pixel-frog::before, .pixel-frog::after {
  content: '';
  position: absolute;
  top: 3px;
  width: 4px;
  height: 4px;
  background: var(--card-bg);
  border-radius: 50%;
}
.pixel-frog::before { left: 4px; }
.pixel-frog::after { right: 4px; }

@keyframes frogHopAcross {
  0% { transform: translate3d(0, 0, 0) scaleX(1); }
  48% { transform: translate3d(75vw, 0, 0) scaleX(1); }
  50% { transform: translate3d(75vw, 0, 0) scaleX(-1); }
  98% { transform: translate3d(0, 0, 0) scaleX(-1); }
  100% { transform: translate3d(0, 0, 0) scaleX(1); }
}

@keyframes frogParabolaJump {
  0% {
    transform: translateY(0) scaleY(0.75) scaleX(1.2);
  }
  18% {
    transform: translateY(-28px) scaleY(1.25) scaleX(0.85);
  }
  38% {
    transform: translateY(0) scaleY(0.7) scaleX(1.3);
  }
  48%, 100% {
    transform: translateY(0) scaleY(1) scaleX(1);
  }
}

/* Floating Pixel Clouds */
.pixel-cloud {
  position: absolute;
  background: var(--text-muted);
  opacity: 0.25;
  border-radius: 10px;
}

.pixel-cloud-1 {
  top: 8px;
  left: 22%;
  width: 46px;
  height: 10px;
  animation: cloudFloat 20s linear infinite;
}

.pixel-cloud-2 {
  top: 26px;
  left: 68%;
  width: 64px;
  height: 12px;
  animation: cloudFloat 26s linear infinite;
}

@keyframes cloudFloat {
  0% { transform: translateX(0); }
  50% { transform: translateX(35px); }
  100% { transform: translateX(0); }
}

/* ==========================================================================
   MY SKILLS & TECH STACK SECTION (SECOND SECTION)
   ========================================================================== */
.skills-section {
  width: 100vw;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 32px;
}

.skills-card {
  width: 100%;
  max-width: 1240px;
  background: var(--card-bg);
  border-radius: 32px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--nav-capsule-border);
  padding: 44px 48px;
  display: flex;
  flex-direction: column;
  gap: 36px;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

/* Category Headers with Top Line Accent & Black Dot */
.category-header-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  width: 100%;
}

.line-with-dot-start {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
}

.line-dot-black {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-main);
  flex-shrink: 0;
}

.line-bar-full {
  height: 1px;
  background: var(--nav-capsule-border);
  flex: 1;
}

.category-title {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--text-main);
  text-transform: uppercase;
  white-space: nowrap;
}

/* Section Pill Badge with Dotted Line Accent */
.section-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--nav-capsule-bg);
  border: 1px solid var(--nav-capsule-border);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-main);
  margin-bottom: 16px;
  width: fit-content;
}

.pill-deco-line {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.pill-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-muted);
}

.pill-segment {
  width: 10px;
  height: 1px;
  background: var(--nav-capsule-border);
}

/* TOP ROW LAYOUT */
.skills-top-row {
  display: grid;
  grid-template-columns: 295px 1.4fr 1fr;
  gap: 28px;
  align-items: start;
}

/* Left Title Box */
.skills-intro-box {
  display: flex;
  flex-direction: column;
}

.skills-main-title {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--text-main);
  margin-bottom: 18px;
}

.skills-intro-desc {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-sub);
  margin-bottom: 24px;
}

.skills-cta-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.explore-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--btn-bg);
  color: var(--btn-text);
  padding: 11px 18px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  width: fit-content;
  white-space: nowrap;
  transition: all 0.25s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.explore-btn:hover {
  transform: translateY(-2px);
  background: var(--btn-hover);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.skills-start-project-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--nav-capsule-bg);
  color: var(--text-main);
  border: 1px solid var(--icon-btn-border);
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  width: fit-content;
  white-space: nowrap;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.skills-start-project-btn:hover {
  transform: translateY(-2px);
  background: var(--btn-bg);
  color: var(--btn-text);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

/* AUTOMATION & INTEGRATION: 5 Tall Vertical Cards */
.vertical-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.tall-skill-card {
  background: var(--input-bg);
  border: 1px solid var(--nav-capsule-border);
  border-radius: 20px;
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 210px;
}

.tall-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--card-bg);
  border: 1px solid var(--nav-capsule-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--text-main);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.tall-card-title {
  font-size: 12px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 8px;
}

.tall-card-title .title-sub {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
}

.tall-card-desc {
  font-size: 10.5px;
  line-height: 1.45;
  color: var(--text-sub);
  margin-top: auto;
}

/* AI & DATA: 2x3 Square Cards Grid */
.square-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.square-skill-card {
  background: var(--input-bg);
  border: 1px solid var(--nav-capsule-border);
  border-radius: 18px;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 98px;
}

.square-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--card-bg);
  border: 1px solid var(--nav-capsule-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  color: var(--text-main);
}

.square-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
}

.square-title small {
  font-size: 9px;
  font-weight: 500;
  color: var(--text-muted);
}

/* MIDDLE ROW: CORE SKILLS (8 Horizontal Cards Side by Side in 1 Row) */
.skills-middle-block {
  width: 100%;
}

.core-skills-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
}

.core-skill-card {
  background: var(--input-bg);
  border: 1px solid var(--nav-capsule-border);
  border-radius: 18px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 155px;
}

.core-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--nav-capsule-bg);
  border: 1px solid var(--nav-capsule-border);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  flex-shrink: 0;
}



.core-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.core-title {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
}

.core-desc {
  font-size: 9.5px;
  line-height: 1.4;
  color: var(--text-sub);
  margin-top: auto;
}

/* Rating Dots (● ● ● ● ● ○) */
.rating-dots {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: 2px;
}

.dot-fill, .dot-empty {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.dot-fill {
  background: var(--text-main);
}

.dot-empty {
  background: var(--nav-capsule-border);
}

/* BOTTOM ROW 1: TOOLS I WORK WITH (15 Brands Capsule Grid) */
.tools-row-block {
  width: 100%;
}

.tools-capsules-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.tool-capsule {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  background: var(--input-bg);
  border: 1px solid var(--nav-capsule-border);
  padding: 14px 14px;
  border-radius: 18px;
  min-width: 86px;
  min-height: 86px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-main);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.tool-capsule svg {
  flex-shrink: 0;
}

.extra-tools-container {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  transition: opacity 0.3s ease;
}

.is-hidden,
.extra-tools-container.is-hidden,
.tool-more.is-hidden {
  display: none !important;
}

.tool-more {
  background: var(--nav-capsule-bg);
  border-style: dashed;
  cursor: pointer;
}

.tool-more:hover {
  transform: translateY(-2px);
  background: var(--icon-btn-hover);
  border-color: var(--icon-btn-border);
}

.tool-all-others {
  background: var(--nav-capsule-bg);
  border: 1px dashed var(--nav-capsule-border);
  color: var(--text-muted);
  font-style: italic;
  font-size: 10px;
}

.tool-less {
  background: var(--nav-capsule-bg);
  border: 1px solid var(--nav-capsule-border);
  color: var(--text-main);
  font-weight: 700;
  cursor: pointer;
}

.tool-less:hover {
  transform: translateY(-2px);
  background: var(--icon-btn-hover);
  border-color: var(--icon-btn-border);
}

/* BOTTOM ROW 2: STATS METRICS COUNTER BAR */
.stats-metrics-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--input-bg);
  border: 1px solid var(--nav-capsule-border);
  border-radius: 24px;
  padding: 18px 36px;
  width: 100%;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.stat-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--btn-bg);
  color: var(--btn-text);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-text {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
}

.stat-label {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--nav-capsule-border);
}



/* ==========================================================================
   THIRD SECTION: SYSTEMS I'VE BUILT (PROJECTS SECTION)
   ========================================================================== */


.projects-section {
  width: 100vw;
  max-width: 100%;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 32px;
  margin: 0 auto;
}

.projects-card {
  width: 100%;
  max-width: 1240px;
  background: var(--card-bg);
  border-radius: 32px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--nav-capsule-border);
  padding: 36px 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-sizing: border-box;
  overflow: hidden;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

/* Projects Header Row */
.projects-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
}

.projects-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
  position: relative;
}

/* ==========================================================================
   TITLE INFO ICON ⓘ & HOVER TOOLTIP POPOVER SYSTEM
   ========================================================================== */
.title-info-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
  vertical-align: middle;
}

.title-info-btn {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--input-bg);
  border: 1px solid var(--nav-capsule-border);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.title-info-wrapper:hover .title-info-btn {
  background: var(--btn-bg);
  color: var(--btn-text);
  border-color: var(--btn-bg);
  transform: scale(1.05);
  box-shadow: none;
}

.title-tooltip-popover {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  transform: none;
  background: #111118;
  color: #ffffff;
  border: 1px solid var(--nav-capsule-border);
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.45;
  width: 250px;
  text-transform: none;
  letter-spacing: 0;
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 999;
  text-align: left;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.title-tooltip-popover::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 12px;
  border: 6px solid transparent;
  border-bottom-color: #111118;
}

.title-info-wrapper:hover .title-tooltip-popover {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

.projects-main-title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1.2px;
  color: var(--text-main);
  margin-bottom: 6px;
}

.projects-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.5;
}

.view-all-projects-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--btn-bg);
  color: var(--btn-text);
  padding: 11px 22px;
  border-radius: 30px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.view-all-projects-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Main Showcase Grid (2 Columns: Timeline + Content Panel) */
.projects-showcase-container {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
}

/* Left Timeline Navigation */
.projects-timeline-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-left: 2px solid var(--nav-capsule-border);
  padding-left: 18px;
  position: relative;
}



.timeline-item {
  position: relative;
  cursor: pointer;
  opacity: 0.45;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.timeline-item:hover,
.timeline-item.is-active {
  opacity: 1;
}

.timeline-num-group {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.timeline-num {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-main);
}

.timeline-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--text-main);
  position: absolute;
  left: -23.5px;
  top: 4px;
  box-shadow: 0 0 0 4px var(--card-bg);
  transition: background 0.3s ease;
}

.timeline-item.is-active .timeline-dot {
  background: var(--btn-bg);
}

.timeline-content-body {
  margin-top: 4px;
}

.timeline-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
  line-height: 1.3;
}

.timeline-desc {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.case-study-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 30px;
  background: var(--btn-bg);
  color: var(--btn-text);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--icon-btn-border);
  margin-top: 6px;
  width: fit-content;
}

.case-study-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  background: var(--btn-hover);
  color: var(--btn-text);
}

/* Dynamic Main Panel (Center Diagram + Right Tools/Results) */
.projects-main-panel {
  background: var(--nav-capsule-bg);
  border: 1px solid var(--nav-capsule-border);
  border-radius: 24px;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 1fr 210px;
  gap: 16px;
  min-height: 360px;
  box-sizing: border-box;
  width: 100%;
  overflow: hidden;
}

@media (max-width: 900px) {
  .projects-showcase-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .projects-main-panel {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .workflow-diagram-track {
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .projects-dark-cards-page {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .projects-dark-cards-page {
    grid-template-columns: 1fr;
  }
}

/* Center Panel (Diagram & Screenshots) */
.projects-center-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0; /* Prevents flex overflow */
}

.showcase-block {
  display: flex;
  flex-direction: column;
}

.block-header-title {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-dot {
  font-size: 13px;
  color: var(--text-main);
}

/* 5 Nodes Workflow Diagram */
.workflow-diagram-track {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
  padding-bottom: 4px;
}

.workflow-node {
  background: var(--card-bg);
  border: 1px solid var(--nav-capsule-border);
  border-radius: 14px;
  padding: 10px 8px;
  min-width: 0;
  flex: 1;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  word-break: break-word;
}

.node-icon-box {
  width: 32px;
  height: 32px;
  margin: 0 auto 8px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  flex-shrink: 0;
}

.node-step-title {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
  white-space: normal;
  line-height: 1.25;
  word-break: break-word;
}

.node-step-desc {
  font-size: 9.5px;
  color: var(--text-muted);
  line-height: 1.35;
  word-break: break-word;
}

.workflow-arrow {
  color: var(--text-muted);
  opacity: 0.5;
  flex-shrink: 0;
}

/* Dotted Realtime Indicator */
.realtime-status-wrap {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

.realtime-status-pill {
  background: #111118;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.status-black-dot {
  color: #10B981;
  font-size: 14px;
}

/* Screenshots Slider Block */
.screenshots-slider-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.screenshots-slider-track {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  width: 100%;
}

/* OpenAI Logo Image styling with theme adaptation */
.openai-logo-img {
  object-fit: contain;
  vertical-align: middle;
  display: inline-block;
  mix-blend-mode: multiply;
  border-radius: 2px;
}

[data-theme="rose"] .openai-logo-img,
[data-theme="black"] .openai-logo-img,
[data-theme="lime"] .openai-logo-img,
[data-theme="pink"] .openai-logo-img {
  filter: invert(1);
  mix-blend-mode: screen;
}

/* n8n Logo Image styling */
.n8n-logo-img {
  object-fit: contain;
  vertical-align: middle;
  display: inline-block;
  mix-blend-mode: multiply;
  border-radius: 2px;
}

/* Reddit Logo Image styling - Black & White */
.reddit-logo-img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  vertical-align: middle;
  display: inline-block;
  filter: grayscale(100%) contrast(120%);
  border-radius: 50%;
}

.screenshot-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.screenshot-img-placeholder {
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: 12px;
  background: var(--card-bg);
  border: 1px solid var(--nav-capsule-border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.screenshot-img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.mockup-nodes-flow {
  display: flex;
  align-items: center;
  gap: 4px;
}

.mock-node {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mock-node.purple { background: #8B5CF6; }
.mock-node.blue { background: #3B82F6; }
.mock-node.green { background: #10B981; }

.mock-line {
  width: 14px;
  height: 2px;
  background: var(--nav-capsule-border);
}

.mockup-code-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 80%;
}

.mock-code-line {
  height: 4px;
  border-radius: 2px;
  background: var(--text-muted);
  opacity: 0.3;
}
.mock-code-line.long { width: 90%; }
.mock-code-line.med { width: 65%; }
.mock-code-line.short { width: 40%; }

.mockup-grid-table {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 85%;
}

.mock-row {
  height: 6px;
  border-radius: 2px;
  background: var(--nav-capsule-border);
}

.mockup-email-view {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 80%;
}

.mock-avatar {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--text-main);
  opacity: 0.2;
}

.screenshot-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-sub);
  text-align: center;
}

/* Right Panel: Tools Used + Key Results */
.projects-right-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.right-block-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.tools-used-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tool-capsule-mini {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--card-bg);
  border: 1px solid var(--nav-capsule-border);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-main);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.json-braces {
  font-family: monospace;
  font-weight: 800;
}

.results-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.result-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.result-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 1px solid var(--nav-capsule-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  flex-shrink: 0;
}

.result-text {
  display: flex;
  flex-direction: column;
}

.result-stat-num {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-main);
}

.result-stat-label {
  font-size: 10px;
  color: var(--text-muted);
  line-height: 1.2;
}

/* Bottom Row: 10 Dark Project Selector Cards Carousel with Arrow Controls */
.projects-dark-cards-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  position: relative;
}

.dark-cards-nav-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--btn-bg);
  color: var(--btn-text);
  border: 1px solid var(--nav-capsule-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 5;
}

.dark-cards-nav-btn:hover {
  transform: scale(1.08);
  background: var(--btn-hover);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.projects-dark-cards-track-wrap {
  flex: 1;
  width: 100%;
  padding-top: 14px;
  margin-top: -14px;
  padding-bottom: 10px;
  margin-bottom: -10px;
}

.projects-dark-cards-page {
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  width: 100%;
  padding-top: 10px;
  margin-top: -10px;
  padding-bottom: 6px;
  margin-bottom: -6px;
}

.projects-dark-cards-page.is-active-page {
  display: grid;
  animation: fadeInCardsPage 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInCardsPage {
  0% { opacity: 0.45; transform: translateY(4px); }
  100% { opacity: 1; transform: translateY(0); }
}

.project-dark-card {
  width: 100%;
  background: #111118;
  color: #ffffff;
  border-radius: 20px;
  padding: 16px 16px 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 145px;
  position: relative;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.project-dark-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.project-dark-card.is-active {
  border-color: rgba(255, 255, 255, 0.4);
}

.dark-card-top-num {
  font-size: 11px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
}

.dark-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dark-card-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.dark-card-title {
  font-size: 12px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.35;
}

.dark-card-subtext {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.35;
}

.dark-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

.dark-card-progress-bar {
  height: 3px;
  width: 55%;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
}

.project-dark-card.is-active .dark-card-progress-bar {
  background: #ffffff;
}

.dark-card-arrow-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ffffff;
  color: #111118;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.dark-card-arrow-btn:hover {
  transform: scale(1.1);
}

/* Empty Project State when clicking cards 02 - 05 */
.empty-project-showcase {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
  min-height: 340px;
}

.empty-project-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 1px solid var(--nav-capsule-border);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.empty-project-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.empty-project-subtext {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 400px;
  line-height: 1.5;
}
@media (max-width: 960px) {
  .navbar {
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
  }
  .nav-capsule {
    position: static;
    transform: none;
    order: 3;
    width: 100%;
    justify-content: center;
    margin-top: 4px;
  }
}

@media (max-width: 1120px) {
  .hero-card, .placeholder-card, .skills-card {
    padding: 28px 36px;
  }
  .hero-body {
    grid-template-columns: 1fr;
    gap: 24px;
    justify-items: center;
  }
  .hero-body .left-col {
    max-width: 680px;
    align-items: center;
    text-align: center;
  }
  .hero-ai-hub-col, .ai-hub-container {
    display: none !important;
  }
  .hero-title {
    font-size: 34px;
  }
  .skills-top-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .contact-drawer {
    width: 100vw;
    max-width: 100vw;
  }
}

@media (max-width: 768px) {
  .vertical-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .square-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .core-skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-metrics-bar {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .stat-divider {
    display: none;
  }
}

/* ==========================================================================
   WELCOME POP-UP MODAL & THEME SELECTOR SYSTEM
   ========================================================================== */
.welcome-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.welcome-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.welcome-modal-card {
  width: 100%;
  max-width: 480px;
  background: #111118;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border-radius: 30px;
  padding: 38px 34px 34px 34px;
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.85);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transform: scale(0.92) translateY(12px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.welcome-modal-backdrop.is-open .welcome-modal-card {
  transform: scale(1) translateY(0);
}

.welcome-modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.welcome-modal-close-btn:hover {
  background: #ffffff;
  color: #111118;
  transform: scale(1.08);
}

.welcome-modal-title {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: #ffffff !important;
  margin-bottom: 10px;
  line-height: 1.2;
}

.welcome-modal-speech {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.8) !important;
  line-height: 1.55;
  max-width: 400px;
  margin-bottom: 22px;
}

.welcome-modal-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin-bottom: 22px;
}

.welcome-theme-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.welcome-theme-instruction {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6) !important;
  line-height: 1.4;
  max-width: 360px;
}

.welcome-theme-circles {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  width: 100%;
}

.welcome-theme-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: transform 0.25s ease;
}

.welcome-theme-circle:hover {
  transform: translateY(-3px);
}

.circle-inner {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid transparent;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transition: all 0.25s ease;
  position: relative;
}

.welcome-theme-circle.is-selected .circle-inner {
  border-color: #ffffff;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.7);
  transform: scale(1.12);
}

.white-preview {
  background: radial-gradient(circle, #ffffff 40%, #cccccc 100%);
  border: 1.5px solid rgba(0, 0, 0, 0.15);
}
.rose-preview { background: #ff007f; }
.black-preview { background: radial-gradient(circle, #333333 0%, #050505 100%); }
.lime-preview { background: #ccff00; }
.pink-preview { background: #ff10f0; }

.theme-label-name {
  font-size: 10.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75) !important;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.welcome-theme-circle.is-selected .theme-label-name {
  color: #ffffff !important;
  font-weight: 800;
}

.welcome-continue-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--btn-bg);
  color: var(--btn-text);
  border: none;
  padding: 14px 28px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}


/* ==========================================================================
   UPWORK PARTNER PROFILE NOTICE MODAL
   ========================================================================== */
.upwork-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.upwork-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.upwork-modal-card {
  width: 100%;
  max-width: 440px;
  background: #111118;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border-radius: 28px;
  padding: 36px 28px 28px 28px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.85);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transform: scale(0.92) translateY(12px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.upwork-modal-backdrop.is-open .upwork-modal-card {
  transform: scale(1) translateY(0);
}

.upwork-modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.25s ease;
}

.upwork-modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: scale(1.05);
}

.upwork-modal-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--btn-bg, #ffffff);
  color: var(--btn-text, #000000);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 0 24px var(--cursor-glow, rgba(255, 255, 255, 0.3));
}

.upwork-modal-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
  color: #ffffff;
}

.upwork-modal-description {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 24px;
}

.upwork-modal-description strong {
  color: #ffffff;
  font-weight: 700;
}

.upwork-modal-actions {
  width: 100%;
}

.upwork-continue-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 24px;
  border-radius: 40px;
  background: var(--btn-bg, #ffffff);
  color: var(--btn-text, #000000);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
}

.upwork-continue-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--cursor-glow, rgba(255, 255, 255, 0.4));
  background: var(--btn-hover, #ffffff);
}

/* ====================================================
   5. ABOUT AUTOMATION BUTTON (SKILLS SECTION)
   ==================================================== */
.skills-title-action-wrap {
  margin: 10px 0 14px 0;
  display: flex;
  align-items: center;
}

.about-automation-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--nav-capsule-bg);
  color: var(--text-main);
  border: 1.5px solid var(--nav-capsule-border);
  padding: 8px 16px;
  border-radius: 24px;
  font-size: 11.5px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.2px;
  will-change: transform, box-shadow;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), 
              background 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 3px 12px var(--shadow-color);
  cursor: pointer;
}

.about-automation-btn:hover {
  background: var(--btn-bg);
  color: var(--btn-text);
  border-color: var(--btn-bg);
  transform: translate3d(0, -3px, 0) scale(1.04);
  box-shadow: 0 8px 24px var(--shadow-color);
}

.about-automation-btn .btn-sparkle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-automation-btn:hover .btn-sparkle-icon {
  transform: rotate(180deg) scale(1.2);
}

.about-automation-btn .btn-arrow {
  will-change: transform;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-automation-btn:hover .btn-arrow {
  transform: translate3d(5px, 0, 0) scale(1.15);
}

/* ====================================================
   6. ABOUT AUTOMATION SECTION (02 ABOUT AUTOMATION)
   ==================================================== */
.automation-section {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 32px;
  box-sizing: border-box;
}

.automation-card {
  background: var(--card-bg);
  color: var(--text-main);
  border-radius: 32px;
  border: 1px solid var(--nav-capsule-border);
  padding: 48px 44px 36px 44px;
  box-shadow: var(--card-shadow);
  font-family: 'Plus Jakarta Sans', sans-serif;
  position: relative;
  overflow: hidden;
  will-change: transform, box-shadow;
  transition: background 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              color 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.automation-card:hover {
  border-color: var(--input-border);
  box-shadow: var(--card-shadow);
}

/* 2-Column Main Grid Layout */
.automation-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  position: relative;
}

/* Vertical separating divider between left & right columns */
.automation-grid::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 46%;
  width: 1px;
  background: var(--nav-capsule-border);
  transition: background 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* LEFT COLUMN */
.automation-left-col {
  display: flex;
  flex-direction: column;
  padding-right: 12px;
}

.auto-top-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.auto-number {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-main);
  transition: color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.auto-line {
  display: inline-block;
  width: 48px;
  height: 1px;
  background: var(--text-muted);
  opacity: 0.5;
  will-change: transform;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), width 0.4s ease;
}

.automation-card:hover .auto-line {
  width: 60px;
}

.auto-subtitle {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: var(--text-muted);
  margin-bottom: 24px;
  text-transform: uppercase;
  transition: color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.auto-main-title {
  font-size: clamp(30px, 4.2vw, 56px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -1.5px;
  color: var(--text-main);
  margin: 0 0 28px 0;
  transition: color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.auto-lead-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-sub);
  margin-bottom: 40px;
  max-width: 480px;
  transition: color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 3 Value Pillars Row */
.auto-pillars-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 36px;
  padding-top: 16px;
  border-top: 1px solid var(--nav-capsule-border);
  transition: border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.auto-pillar-item {
  background: var(--nav-capsule-bg);
  border: 1px solid var(--nav-capsule-border);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: default;
}

.pillar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pillar-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--text-main);
}

.pillar-arrow {
  color: var(--text-muted);
  opacity: 0.7;
}

.pillar-desc {
  font-size: 11px;
  line-height: 1.45;
  color: var(--text-sub);
  margin: 0;
}

/* Approach Card Box (The ONLY interactive element in Section 4 to show My Approach drawer) */
.auto-approach-box {
  margin-top: auto;
  border: 1px solid var(--nav-capsule-border);
  border-radius: 14px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--input-bg);
  cursor: pointer;
  will-change: transform, box-shadow;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), 
              border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              background 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.auto-approach-box:hover {
  border-color: var(--input-border);
  background: var(--nav-capsule-bg);
  box-shadow: none;
  transform: translate3d(0, -2px, 0);
}

.approach-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.approach-sparkle {
  font-size: 11px;
  color: var(--text-main);
  display: inline-block;
  will-change: transform;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.auto-approach-box:hover .approach-sparkle {
  transform: rotate(180deg) scale(1.3);
}

.approach-badge-title {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--text-main);
}

.approach-text {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--text-sub);
  margin: 0;
}

.approach-arrow-col {
  color: var(--text-main);
  padding-left: 16px;
  will-change: transform;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.auto-approach-box:hover .approach-arrow-col {
  transform: translate3d(8px, 0, 0) scale(1.2);
}

/* RIGHT COLUMN (6 Q&A Breakdown Rows) */
.automation-right-col {
  display: flex;
  flex-direction: column;
  padding-left: 12px;
}

.auto-row-item {
  border-top: 1px solid var(--nav-capsule-border);
  padding: 22px 14px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: default;
}

.auto-row-item:first-child {
  border-top: none;
  padding-top: 12px;
}

.auto-row-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.auto-dash {
  color: var(--text-muted);
  font-size: 12px;
}

.auto-row-title {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--text-main);
  margin: 0;
  text-transform: uppercase;
}

.auto-row-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.auto-row-desc {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--text-sub);
  margin: 0;
}

.auto-tags-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}

.auto-tag-line {
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-muted);
  letter-spacing: 0.2px;
}

/* BOTTOM PHILOSOPHY FOOTER BANNER */
.auto-footer-banner {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--nav-capsule-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.auto-footer-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}


.auto-footer-heading {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}

.auto-footer-sub {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-main);
}

.auto-footer-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--btn-text);
  background: var(--btn-bg);
  padding: 10px 22px;
  border-radius: 24px;
  text-decoration: none;
  will-change: transform, box-shadow;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), 
              background 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.auto-footer-btn:hover {
  background: var(--btn-hover);
  transform: translate3d(5px, 0, 0) scale(1.04);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.auto-footer-btn svg {
  will-change: transform;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.auto-footer-btn:hover svg {
  transform: translate3d(4px, 0, 0);
}

/* RESPONSIVE STYLES FOR AUTOMATION SECTION */
@media (max-width: 1024px) {
  .automation-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .automation-grid::before {
    display: none;
  }

  .automation-left-col,
  .automation-right-col {
    padding: 0;
  }

  .auto-main-title {
    font-size: 44px;
  }
}

@media (max-width: 640px) {
  .automation-card {
    padding: 32px 20px;
    border-radius: 18px;
  }

  .auto-main-title {
    font-size: 34px;
  }

  .auto-pillars-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .auto-row-body {
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

/* ==========================================================================
   SECTION 5: GET IN TOUCH & START BUILDING (INTERACTIVE SECTION)
   ========================================================================== */
.contact-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
  width: 100%;
}

.contact-feature-card {
  background: var(--input-bg);
  border: 1px solid var(--nav-capsule-border);
  border-radius: 20px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--text-muted);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  background: var(--nav-capsule-bg);
}

.contact-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--btn-bg);
  color: var(--btn-text);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.contact-card-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
  letter-spacing: -0.3px;
}

.contact-card-desc {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text-sub);
  margin: 0;
  flex: 1;
}

.contact-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.contact-card-tags span {
  font-size: 9.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--icon-btn-bg);
  border: 1px solid var(--icon-btn-border);
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

/* FAQ Expandable Accordion */
.contact-faq-wrap {
  margin-bottom: 40px;
  width: 100%;
}

.faq-section-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 16px;
  text-align: center;
}

.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
}

.faq-accordion-item {
  background: var(--input-bg);
  border: 1px solid var(--nav-capsule-border);
  border-radius: 16px;
  padding: 16px 20px;
  transition: all 0.25s ease;
}

.faq-accordion-item[open] {
  border-color: var(--btn-bg);
  background: var(--nav-capsule-bg);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  color: var(--text-muted);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-accordion-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--text-main);
}

.faq-answer {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--nav-capsule-border);
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-sub);
}

/* Action Call Banner */
.contact-action-banner {
  background: var(--btn-bg);
  color: var(--btn-text);
  border-radius: 24px;
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
}

.action-banner-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin-bottom: 6px;
}

.action-banner-sub {
  font-size: 13px;
  opacity: 0.85;
  margin: 0;
  line-height: 1.5;
}

.action-banner-btns {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
}

.banner-btn.primary-btn {
  background: var(--btn-text);
  color: var(--btn-bg);
}

.banner-btn.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.banner-btn.secondary-btn {
  background: rgba(255, 255, 255, 0.15);
  color: currentColor;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.banner-btn.secondary-btn:hover,
#sec5-start-project-btn:hover {
  background: var(--btn-text, #000000) !important;
  color: var(--btn-bg, #ccff00) !important;
  border-color: var(--btn-text, #000000) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

#sec5-start-project-btn:hover span {
  color: var(--btn-bg, #ccff00) !important;
}

@media (max-width: 900px) {
  .contact-grid-container {
    grid-template-columns: 1fr;
  }
  .contact-action-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }
  .action-banner-btns {
    width: 100%;
    flex-direction: column;
  }
  .banner-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Massive Edge-to-Edge Typography Banner */
.thank-you-banner-wrap {
  width: 100%;
  margin-top: 32px;
  margin-bottom: 24px;
  text-align: center;
  user-select: none;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 12px;
  box-sizing: border-box;
}

.thank-you-text {
  font-size: clamp(20px, 4.8vw, 68px);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--text-main);
  line-height: 1.1;
  text-align: center;
  max-width: 100%;
  margin: 0;
  opacity: 0.95;
  background: linear-gradient(180deg, var(--text-main) 0%, var(--text-sub) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   ANTHROPIC-INSPIRED MULTI-COLUMN DIRECTORY FOOTER
   ========================================================================== */
.site-standalone-footer {
  width: 100%;
  max-width: 1180px;
  margin: 60px auto 40px auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.footer-columns-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px 24px;
  padding-top: 44px;
  padding-bottom: 44px;
  border-top: 1px solid var(--nav-capsule-border);
  width: 100%;
  box-sizing: border-box;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-nav-heading {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.01em;
  margin: 0;
  padding: 0;
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-list li {
  margin: 0;
  padding: 0;
}

.footer-nav-link {
  display: inline-flex;
  align-items: center;
  font-size: 13.5px;
  font-weight: 450;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  line-height: 1.45;
}

.footer-nav-link:hover {
  color: var(--text-main);
  transform: translateX(2px);
}

.footer-nav-link.active {
  color: var(--text-main);
  font-weight: 600;
}

.footer-nav-link svg {
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.footer-nav-link:hover svg {
  opacity: 1;
}

.standalone-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  padding-bottom: 8px;
  border-top: 1px solid var(--nav-capsule-border);
  flex-wrap: wrap;
  gap: 16px;
  width: 100%;
}

.footer-bottom-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-brand-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--text-main);
}

.footer-credit-text {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-muted);
  margin: 0;
}

.footer-credit-text strong {
  color: var(--text-main);
}

.footer-copyright-text {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

/* Fallback & Legacy standalone-footer-inner */
.standalone-footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--nav-capsule-border);
  width: 100%;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-right {
  align-items: flex-end;
  text-align: right;
}

.footer-col-title {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 4px 0;
}

.footer-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-sub);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--input-bg);
  border: 1px solid var(--nav-capsule-border);
  transition: all 0.25s ease;
}

.footer-social-link:hover {
  color: var(--text-main);
  border-color: var(--text-muted);
  transform: translateY(-2px);
  background: var(--nav-capsule-bg);
}

@media (max-width: 992px) {
  .footer-columns-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 20px;
  }
}

@media (max-width: 640px) {
  .footer-columns-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 16px;
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .standalone-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .standalone-footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-col-right {
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 420px) {
  .footer-columns-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}



/* ==========================================================================
   FOURTH GAP DIVIDER: ANIMATED PIXEL BIRDS & TWO FROGS
   ========================================================================== */
.nature-divider-container {
  width: 100%;
  max-width: 1180px;
  margin: 36px auto;
  position: relative;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.nature-divider-line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--nav-capsule-border);
  z-index: 1;
}

/* Flying Birds Track */
.pixel-birds-track {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.pixel-bird {
  position: absolute;
  color: var(--text-main);
  opacity: 0.85;
}

.bird-1 {
  top: 4px;
  left: 0;
  will-change: transform;
  animation: flyAcross 12s linear infinite;
}

.bird-2 {
  top: 14px;
  left: 0;
  will-change: transform;
  animation: flyAcross 16s linear infinite 3.5s;
}

.bird-svg {
  will-change: transform;
  animation: flapWings 0.35s ease-in-out infinite alternate;
}

@keyframes flyAcross {
  0% {
    transform: translate3d(-40px, 0, 0);
  }
  100% {
    transform: translate3d(calc(100% + 40px), 0, 0);
  }
}

@keyframes flapWings {
  0% {
    transform: scaleY(1) translateY(0);
  }
  100% {
    transform: scaleY(-0.6) translateY(-3px);
  }
}

/* Two Hopping Frogs */
.pixel-frogs-track {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

.pixel-frog {
  position: absolute;
  top: -12px;
  color: var(--text-main);
  opacity: 0.9;
}

.frog-1 {
  left: 28%;
  animation: frogHopLeft 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.frog-2 {
  right: 28%;
  transform: scaleX(-1);
  animation: frogHopRight 5s cubic-bezier(0.4, 0, 0.2, 1) infinite 1.8s;
}

@keyframes frogHopLeft {
  0%, 80%, 100% {
    transform: translateY(0) scaleY(1);
  }
  88% {
    transform: translateY(-14px) scaleY(1.1);
  }
  92% {
    transform: translateY(0) scaleY(0.9);
  }
}

@keyframes frogHopRight {
  0%, 80%, 100% {
    transform: scaleX(-1) translateY(0) scaleY(1);
  }
  88% {
    transform: scaleX(-1) translateY(-14px) scaleY(1.1);
  }
  92% {
    transform: scaleX(-1) translateY(0) scaleY(0.9);
  }
}

/* ==========================================================================
   CASE STUDY DRAWER RICH CONTENT SYSTEM
   ========================================================================== */
.case-study-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: var(--text-main);
  padding-bottom: 24px;
}

.case-study-card {
  background: var(--card-bg);
  border: 1px solid var(--nav-capsule-border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
}

.case-study-section-tag {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.case-study-exec-text {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-main);
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cs-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cs-block-heading {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}

.cs-block-heading::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--btn-bg, #ccff00);
}

.cs-block-p {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-sub);
  margin: 0;
}

.cs-block-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cs-block-list li {
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-sub);
  position: relative;
  padding-left: 16px;
}

.cs-block-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--btn-bg, #ccff00);
  font-size: 14px;
  line-height: 1.2;
}

.cs-block-list li strong {
  color: var(--text-main);
  font-weight: 700;
}

.metrics-highlight-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--nav-capsule-bg);
  border: 1px solid var(--nav-capsule-border);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  margin-top: 16px;
  width: fit-content;
}

.metrics-highlight-pill .latency-tag {
  color: #10B981;
  font-weight: 800;
}

.problem-solution-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 4px;
}

.ps-card {
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid var(--nav-capsule-border);
}

.ps-card.problem {
  background: rgba(239, 68, 68, 0.05);
  border-color: rgba(239, 68, 68, 0.25);
}

.ps-card.solution {
  background: rgba(16, 185, 129, 0.05);
  border-color: rgba(16, 185, 129, 0.25);
}

.ps-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ps-card.problem .ps-title { color: #EF4444; }
.ps-card.solution .ps-title { color: #10B981; }

.ps-text {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-main);
  margin: 0;
}

/* ==========================================================================
   HIGH-PERFORMANCE HARDWARE ACCELERATION & RENDER OPTIMIZATIONS
   ========================================================================== */
#cursor-dot,
#nav-indicator,
.eye-pupil,
.marquee-track {
  will-change: transform;
}

/* ==========================================================================
   MOBILE & MULTI-DEVICE RESPONSIVE DESIGN SYSTEM
   ========================================================================== */

/* Universal Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  *, *::before, *::after, html, body, a, button, input, textarea, select, label {
    cursor: auto !important;
  }
  .cursor-dot {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }
}

/* Base Mobile Safety Safeguards */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
}

/* ==========================================================================
   BREAKPOINT: 1024px (TABLETS & SMALL LAPTOPS)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-viewport {
    height: auto !important;
    min-height: 100vh;
    padding: 16px 20px 24px 20px;
  }
  
  .hero-card {
    height: auto !important;
    min-height: calc(100vh - 32px);
    max-height: none !important;
    padding: 24px 24px;
    border-radius: 28px;
    overflow: visible !important;
  }

  .skills-top-row {
    flex-wrap: wrap;
    gap: 24px;
  }
  
  .skills-intro-box {
    max-width: 100%;
    width: 100%;
  }

  .projects-showcase-container {
    grid-template-columns: 1fr;
  }
  
  .projects-main-panel {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   BREAKPOINT: 768px (PORTRAIT TABLETS & LARGE PHONES)
   ========================================================================== */
@media (max-width: 768px) {
  /* Top Navigation Bar Responsive Flow */
  .navbar {
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px 8px;
    padding: 4px 0 12px 0;
  }

  .logo {
    gap: 10px;
  }

  .logo-icon {
    width: 32px;
    height: 32px;
    font-size: 11px;
  }

  .logo-name {
    font-size: 13px;
  }

  .logo-subtext {
    font-size: 8px;
    letter-spacing: 0.3px;
  }

  .nav-capsule {
    order: 3;
    width: 100%;
    justify-content: center;
    margin-top: 2px;
    padding: 4px 6px;
    font-size: 11px;
    flex-wrap: wrap;
    gap: 4px;
    background: rgba(0, 0, 0, 0.08);
  }

  [data-theme="black"] .nav-capsule,
  [data-theme="rose"] .nav-capsule,
  [data-theme="lime"] .nav-capsule,
  [data-theme="pink"] .nav-capsule {
    background: rgba(255, 255, 255, 0.08);
  }

  .nav-item {
    padding: 5px 10px;
    font-size: 10.5px;
    white-space: nowrap;
  }

  /* Hero Section Mobile Layout */
  .hero-viewport {
    padding: 12px 10px 20px 10px;
  }

  .hero-card {
    padding: 20px 14px;
    border-radius: 22px;
  }

  .hero-body {
    grid-template-columns: 1fr;
    gap: 32px;
    height: auto;
    text-align: center;
    justify-items: center;
  }

  .hero-body .left-col {
    max-width: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .theme-switcher-wrapper {
    margin: 0 auto 20px auto;
  }

  .hero-title {
    font-size: clamp(22px, 6vw, 30px);
    line-height: 1.2;
    text-align: center;
    margin-bottom: 16px;
  }

  .hero-role-text {
    font-size: clamp(20px, 5.5vw, 28px);
    text-align: center;
  }

  .hero-description {
    font-size: 12.5px;
    line-height: 1.6;
    text-align: center;
    max-width: 100%;
    margin-bottom: 24px;
  }

  .cta-btn {
    margin: 0 auto;
    width: fit-content;
    padding: 12px 24px;
    font-size: 13px;
  }

  .hero-cta-group {
    justify-content: center;
    width: 100%;
  }

  .hero-cta-group .cta-btn {
    margin: 0;
  }

  .right-col.hero-ai-hub-col,
  .ai-hub-container {
    display: none !important;
  }

  /* Skills Section Mobile Adjustments */
  .skills-section {
    padding: 12px 10px;
  }

  .skills-card {
    padding: 20px 14px;
    border-radius: 22px;
  }

  .skills-intro-box {
    text-align: center;
    align-items: center;
  }

  .skills-main-title {
    font-size: clamp(22px, 6vw, 30px);
    text-align: center;
  }

  .skills-title-action-wrap {
    justify-content: center;
  }

  .skills-intro-desc {
    text-align: center;
    font-size: 12.5px;
  }

  .explore-btn {
    margin: 0 auto;
  }

  .skills-cta-group {
    align-items: center;
    width: 100%;
  }

  .skills-cta-group .explore-btn,
  .skills-cta-group .skills-start-project-btn {
    margin: 0 auto;
  }

  .skills-category-col {
    width: 100%;
  }

  .vertical-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 10px;
  }

  .tall-skill-card {
    height: auto;
    min-height: 110px;
    padding: 12px;
  }

  .tall-card-title {
    font-size: 13px;
  }

  .tall-card-desc {
    font-size: 11px;
  }

  .square-cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 8px;
  }

  .square-skill-card {
    padding: 10px 6px;
    min-height: 85px;
  }

  .square-title {
    font-size: 11px;
  }

  .core-skills-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .core-skill-card {
    padding: 14px;
  }

  .tools-capsules-grid {
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .stats-metrics-bar {
    flex-direction: column;
    gap: 16px;
    padding: 18px 14px;
    text-align: center;
  }

  .stat-divider {
    width: 100%;
    height: 1px;
    margin: 4px 0;
  }

  .stat-item {
    justify-content: center;
    width: 100%;
  }

  /* Projects Section Mobile Styling */
  .projects-section {
    padding: 12px 10px;
  }

  .projects-card {
    padding: 20px 14px;
    border-radius: 22px;
  }

  .projects-header-row {
    text-align: center;
    justify-content: center;
  }

  .projects-header-left {
    align-items: center;
    text-align: center;
    margin: 0 auto;
  }

  .projects-pill-tag {
    margin: 0 auto 8px auto;
  }

  .projects-main-title {
    font-size: clamp(22px, 5.5vw, 28px);
    text-align: center;
  }

  .projects-subtitle {
    text-align: center;
    font-size: 12.5px;
  }

  .projects-timeline-col {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    width: 100%;
    padding: 8px 4px 14px 4px;
    gap: 12px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }

  .timeline-item {
    min-width: 220px;
    flex: 0 0 auto;
    scroll-snap-align: start;
    padding: 12px;
  }

  .projects-dark-cards-page {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .project-dark-card {
    min-height: auto;
    padding: 16px;
  }

  .workflow-diagram-track {
    display: flex;
    overflow-x: auto;
    padding: 8px 4px 14px 4px;
    gap: 8px;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    max-width: 100%;
  }

  .workflow-node {
    min-width: 110px;
    flex: 0 0 auto;
    padding: 10px;
  }

  /* Section 4 & Section 5 Mobile */
  .auto-section-card {
    padding: 20px 14px;
    border-radius: 22px;
  }

  .auto-row-item {
    padding: 16px 12px;
  }

  .auto-footer-banner {
    padding: 20px 14px;
    text-align: center;
  }

  .auto-footer-heading {
    font-size: 16px;
  }

  .auto-footer-sub {
    font-size: 12px;
  }

  #contact-section-card {
    padding: 20px 14px !important;
    border-radius: 22px !important;
  }

  .thank-you-text {
    font-size: clamp(22px, 7vw, 36px);
    text-align: center;
    letter-spacing: 1px;
  }

  .contact-action-banner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    padding: 20px 14px;
  }

  .site-standalone-footer {
    padding: 32px 14px 24px 14px;
  }

  .standalone-footer-inner {
    flex-direction: column;
    gap: 24px;
    text-align: center;
    align-items: center;
  }

  .footer-social-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .footer-col-right {
    text-align: center;
  }

  /* Side Drawers Mobile Full Width */
  .contact-drawer,
  .left-drawer {
    width: 100vw;
    max-width: 100vw;
    border-radius: 0;
    padding: 24px 18px;
  }

  .drawer-close-btn {
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    font-size: 26px;
  }
}

/* ==========================================================================
   BREAKPOINT: 580px & BELOW (COMPACT MOBILE & PORTRAIT PHONES)
   ========================================================================== */
@media (max-width: 580px) {
  .logo-subtext {
    display: none;
  }

  .ai-hub-container {
    transform: scale(0.62);
    transform-origin: top center;
    margin-bottom: -150px;
  }

  .vertical-cards-grid {
    grid-template-columns: 1fr 1fr;
  }

  .square-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==========================================================================
   BREAKPOINT: 440px & BELOW (MICRO MOBILE SCREENS, e.g. iPhone SE, 375px)
   ========================================================================== */
@media (max-width: 440px) {
  .ai-hub-container {
    transform: scale(0.52);
    transform-origin: top center;
    margin-bottom: -190px;
  }

  .nav-item {
    padding: 4px 7px;
    font-size: 10px;
  }

  .vertical-cards-grid {
    grid-template-columns: 1fr;
  }

  .square-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .thank-you-text {
    font-size: 20px;
  }

  .cta-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   BREAKPOINT: 360px & BELOW (EXTRA SMALL SCREENS)
   ========================================================================== */
@media (max-width: 360px) {
  .ai-hub-container {
    transform: scale(0.44);
    transform-origin: top center;
    margin-bottom: -220px;
  }

  .hero-title {
    font-size: 20px;
  }

  .hero-role-text {
    font-size: 18px;
  }

  .nav-capsule {
    padding: 2px 4px;
  }
}

/* ==========================================================================
   MOBILE LANDSCAPE ORIENTATION OPTIMIZATIONS
   ========================================================================== */
@media (max-height: 600px) and (orientation: landscape) {
  .hero-viewport {
    height: auto !important;
    min-height: 100vh;
    padding: 12px;
  }

  .hero-card {
    height: auto !important;
    max-height: none !important;
    padding: 16px;
  }

  .hero-body {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .ai-hub-container {
    transform: scale(0.55);
    transform-origin: top center;
    margin-bottom: -170px;
  }
}

/* ==========================================================================
   FINAL DESKTOP CURSOR ENFORCEMENT: ONLY CUSTOM DOT CURSOR IS EVER VISIBLE
   ========================================================================== */
@media (hover: hover) and (pointer: fine) {
  *, *::before, *::after, *:hover, *:active, *:focus, a, button, input, select, label, svg, div, span, img {
    cursor: none !important;
  }
}
