/* ============================================================
   AnimateBoss Portfolio — Design System & Styles
   Vibe: vibrant · rounded · dark · motion-rich
   ============================================================ */

/* ── Google Font ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;900&display=swap');

/* ── Design Tokens ── */
:root {
  /* Color palette */
  --bg:           #060514;
  --bg-2:         #0c027c;
  --blue:         #0300b1;
  --blue-bright:  #4836ff;
  --navy:         #0c027c;
  --purple:       #3b0c74;
  --cyan:         #00d4ff;
  --orange:       #ff6b00;
  --ink:          #ffffff;
  --ink-dim:      rgba(255, 255, 255, 0.65);
  --ink-muted:    #949494;
  --line:         rgba(255, 255, 255, 0.10);
  --surface:      #060514;
  --elevated:     #1A1927;

  /* Gradients */
  --gradient-brand:  linear-gradient(135deg, #00D4FF 0%, #4836FF 50%, #FF6B00 100%);
  --gradient-deep:   linear-gradient(135deg, #0300B1 0%, #3B0C74 50%, #00D4FF 100%);
  --gradient-glow:   linear-gradient(135deg, #00D4FF 0%, #4836FF 100%);

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Radius */
  --radius:       18px;
  --radius-lg:    28px;
  --radius-pill:  999px;
  --radius-input: 6px;
  --radius-sm:    12px;

  /* Spacing scale */
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  20px;
  --sp-6:  24px;
  --sp-8:  32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;

  /* Elevation */
  --shadow-subtle:  0px 0px 0px 11px rgba(0, 212, 255, 0.13);
  --shadow-hover:   0px 12px 32px -8px rgba(0, 212, 255, 0.6);
  --shadow-card:    0px 4px 24px -4px rgba(0, 0, 0, 0.4);

  /* Motion */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast:    0.18s;
  --dur-normal:  0.3s;
  --dur-slow:    0.8s;

  /* Layout */
  --max-width:   1280px;
  --gutter:      32px;

  /* Z-index */
  --z-element: 2;
  --z-nav:     9999;
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img, video {
  display: block;
  max-width: 100%;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
}

ul, ol {
  list-style: none;
}

::selection {
  background: rgba(0, 212, 255, 0.3);
  color: var(--ink);
}

/* Focus ring */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ── Typography ── */
.h1 {
  font-size: clamp(48px, 8vw, 124px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.h2 {
  font-size: clamp(40px, 6vw, 110px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.h3 {
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
}

.body-text {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
}

.text-muted {
  color: var(--ink-dim);
}

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

.text-cyan {
  color: var(--cyan);
}

.text-orange {
  color: var(--orange);
}

/* ── Layout ── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: var(--sp-24) 0;
}

/* ── Navigation (Liquid Header & Floating Glass Island) ── */
.nav-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  padding: 18px var(--gutter);
  pointer-events: none;
}

.nav {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  pointer-events: auto;
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, rgba(14, 12, 38, 0.72) 0%, rgba(6, 4, 18, 0.65) 100%);
  backdrop-filter: blur(32px) saturate(210%);
  -webkit-backdrop-filter: blur(32px) saturate(210%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.8),
              inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.35),
              inset 0 -1px 3px 0 rgba(0, 212, 255, 0.25),
              0 0 30px -5px rgba(0, 212, 255, 0.15);
  transition: background var(--dur-normal) var(--ease-out),
              border-color var(--dur-normal) var(--ease-out),
              box-shadow var(--dur-normal) var(--ease-out),
              transform var(--dur-normal) var(--ease-spring);
  overflow: visible;
}

/* ── Ambient Liquid Aurora Aura ── */
.nav-liquid-aura {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
  opacity: 0.75;
  filter: blur(22px);
  transition: opacity var(--dur-normal) ease;
}

.nav:hover .nav-liquid-aura {
  opacity: 1;
}

.aura-blob {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: screen;
}

.blob-1 {
  width: 220px;
  height: 90px;
  top: -30px;
  left: 12%;
  background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.55) 0%, rgba(0, 212, 255, 0) 70%);
  animation: liquidFloat1 10s ease-in-out infinite alternate;
}

.blob-2 {
  width: 260px;
  height: 100px;
  bottom: -35px;
  right: 18%;
  background: radial-gradient(ellipse at center, rgba(72, 54, 255, 0.6) 0%, rgba(72, 54, 255, 0) 70%);
  animation: liquidFloat2 12s ease-in-out infinite alternate;
}

.blob-3 {
  width: 170px;
  height: 80px;
  top: -10px;
  left: 55%;
  background: radial-gradient(ellipse at center, rgba(255, 107, 0, 0.45) 0%, rgba(255, 107, 0, 0) 70%);
  animation: liquidFloat3 8s ease-in-out infinite alternate;
}

@keyframes liquidFloat1 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(60px, 15px) scale(1.18); }
  100% { transform: translate(-30px, 8px) scale(0.92); }
}

@keyframes liquidFloat2 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-80px, -12px) scale(1.22); }
  100% { transform: translate(40px, 10px) scale(0.95); }
}

@keyframes liquidFloat3 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(40px, -15px) scale(1.15); }
  100% { transform: translate(-50px, 12px) scale(0.85); }
}

/* ── Interactive Cursor Spotlight ── */
.nav-spotlight {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(240px circle at var(--mouse-x, -500px) var(--mouse-y, -500px), rgba(0, 212, 255, 0.18), transparent 70%);
  opacity: 0;
  transition: opacity var(--dur-fast) ease;
}

.nav:hover .nav-spotlight {
  opacity: 1;
}

.nav-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: 10px 18px;
}

/* ── Brand Logo Group & Live Status ── */
.nav-brand-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-right: auto;
  margin-left: 0;
}

.nav-brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  position: relative;
  animation: logoFloatDrift 6s ease-in-out infinite alternate;
  transform-style: preserve-3d;
  perspective: 800px;
}

@keyframes logoFloatDrift {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-2px) rotate(0.4deg);
  }
  100% {
    transform: translateY(1.5px) rotate(-0.4deg);
  }
}

.logo-neon-container {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 20px;
  width: auto;
  min-width: auto;
  height: 50px;
}

.logo-neon-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.neon-base-stroke {
  fill: rgba(255, 255, 255, 0.01);
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 1px;
  transition: stroke var(--dur-normal) ease, fill var(--dur-normal) ease;
}

/* Layer 1: Core neon line - flowing with easy-ease speed, cycling hues, and electricity heartbeat */
.neon-animated-stroke {
  fill: none;
  stroke: url(#neonGradNav);
  stroke-width: 2px;
  stroke-linecap: round;
  stroke-dasharray: 260px 340px;
  stroke-dashoffset: 0px;
  opacity: 0.8;
  filter: drop-shadow(0 0 2.5px rgba(0, 212, 255, 0.55));
  animation: easeFlow 7s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite,
             hueCycle 10s linear infinite,
             neonBreathe 4s ease-in-out infinite alternate;
}

/* Layer 2: Ambient soft under-glow behind core */
.neon-animated-glow {
  fill: none;
  stroke: url(#neonGradNav);
  stroke-width: 6px;
  stroke-linecap: round;
  stroke-dasharray: 260px 340px;
  stroke-dashoffset: 0px;
  filter: blur(6px);
  opacity: 0.35;
  mix-blend-mode: screen;
  animation: easeFlow 7s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite,
             hueCycle 10s linear infinite,
             glowBreathe 4s ease-in-out infinite alternate;
}

/* Easy-ease motion design flow - speeds up and slows down dynamically */
@keyframes easeFlow {
  0% {
    stroke-dashoffset: 600px;
  }
  100% {
    stroke-dashoffset: 0px;
  }
}

/* Slow organic color shifting gradient */
@keyframes hueCycle {
  0% {
    filter: hue-rotate(0deg);
  }
  100% {
    filter: hue-rotate(360deg);
  }
}

/* Organic heartbeat pulse */
@keyframes neonBreathe {
  0%, 100% {
    opacity: 0.72;
    stroke-width: 1.8px;
    filter: drop-shadow(0 0 1.5px rgba(0, 212, 255, 0.4));
  }
  48% {
    opacity: 0.92;
    stroke-width: 2.2px;
  }
  50% {
    opacity: 0.65; /* Instant double-beat/spark flicker */
    stroke-width: 2px;
  }
  52% {
    opacity: 0.98;
    stroke-width: 2.3px;
  }
  75% {
    opacity: 0.82;
  }
  90% {
    opacity: 1;
    filter: drop-shadow(0 0 4.5px rgba(0, 212, 255, 0.9)) drop-shadow(0 0 8px rgba(72, 54, 255, 0.55));
  }
}

/* Ambient glow breathing */
@keyframes glowBreathe {
  0%, 100% {
    opacity: 0.22;
    filter: blur(5px);
  }
  50% {
    opacity: 0.42;
    filter: blur(8px);
  }
}

/* Hover: Intensify speed and glow */
.nav-brand-logo:hover .neon-animated-stroke {
  opacity: 1;
  stroke-width: 2.4px;
  filter: drop-shadow(0 0 5px rgba(0, 212, 255, 0.9)) drop-shadow(0 0 10px rgba(72, 54, 255, 0.6));
  animation: easeFlow 4s cubic-bezier(0.4, 0, 0.2, 1) infinite,
             hueCycle 5s linear infinite;
}

.nav-brand-logo:hover .neon-animated-glow {
  opacity: 0.6;
  filter: blur(8px);
  animation: easeFlow 4s cubic-bezier(0.4, 0, 0.2, 1) infinite,
             hueCycle 5s linear infinite;
}

.nav-brand-logo:hover .neon-base-stroke {
  stroke: rgba(0, 212, 255, 0.4);
  fill: rgba(0, 212, 255, 0.05);
}

.brand-logo-img {
  max-height: 32px;
  width: auto;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 2px 8px rgba(0, 212, 255, 0.35));
  transition: filter var(--dur-fast) ease, transform var(--dur-fast) var(--ease-spring);
}

.nav-brand-logo:hover .brand-logo-img {
  filter: drop-shadow(0 0 16px rgba(0, 212, 255, 0.9));
}

/* ── Live Status Badge ── */
.nav-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  background: rgba(0, 212, 255, 0.07);
  border: 1px solid rgba(0, 212, 255, 0.22);
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  color: #cffafe;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 12px -2px rgba(0, 212, 255, 0.15);
  user-select: none;
}

.status-pulse-dot {
  position: relative;
  width: 7px;
  height: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pulse-core {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00ffc4;
  box-shadow: 0 0 8px #00ffc4;
}

.pulse-ring {
  position: absolute;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1.5px solid #00ffc4;
  animation: statusPulseRing 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes statusPulseRing {
  0% {
    transform: scale(0.4);
    opacity: 0.9;
  }
  80% {
    transform: scale(1.6);
    opacity: 0;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* ── Floating Navigation Links with Liquid Slider Pill ── */
.nav-links-wrap {
  display: flex;
  align-items: center;
}

.nav-links {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.12), 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}

.nav-links:hover {
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2), 0 0 25px -5px rgba(0, 212, 255, 0.25);
}

/* Dynamic Liquid Sliding Pill */
.nav-liquid-pill {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 0;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.28) 0%, rgba(72, 54, 255, 0.4) 100%);
  border: 1px solid rgba(0, 212, 255, 0.55);
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.4);
  pointer-events: none;
  opacity: 0;
  z-index: 1;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              width 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 0.2s ease;
}

.nav-links.has-active .nav-liquid-pill,
.nav-links.is-hovering .nav-liquid-pill {
  opacity: 1;
}

.nav-link-item {
  position: relative;
  z-index: 2;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-dim);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-spring);
}

.nav-link-item span {
  position: relative;
  z-index: 3;
}

.nav-link-item:hover {
  color: #ffffff;
}

.nav-link-item.active {
  color: #ffffff;
  font-weight: 700;
}

/* ── Header CTA Buttons with Liquid Sheen ── */
.nav-cta {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  overflow: hidden;
  transition: transform var(--dur-fast) var(--ease-spring),
              box-shadow var(--dur-normal) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}

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

.btn:active {
  transform: translateY(0px) scale(0.97);
}

/* Liquid Shimmer Light-Sweep Effect */
.btn-liquid-shimmer {
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transform: skewX(-25deg);
  pointer-events: none;
  transition: left 0.75s ease;
}

.btn:hover .btn-liquid-shimmer {
  left: 140%;
}

.btn-primary.btn-liquid-glow {
  background: linear-gradient(135deg, #00d4ff 0%, #4836ff 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 18px rgba(0, 212, 255, 0.35),
              inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.btn-primary.btn-liquid-glow:hover {
  background: linear-gradient(135deg, #1ce1ff 0%, #5d4eff 100%);
  box-shadow: 0 8px 30px rgba(0, 212, 255, 0.65),
              0 0 20px rgba(72, 54, 255, 0.5),
              inset 0 1px 2px rgba(255, 255, 255, 0.6);
}

.btn-arrow {
  transition: transform var(--dur-fast) var(--ease-spring);
}

.btn-primary:hover .btn-arrow {
  transform: translateX(3px);
}

.btn-outline.btn-liquid-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.12);
}

.btn-outline.btn-liquid-outline:hover {
  border-color: rgba(0, 212, 255, 0.6);
  background: rgba(0, 212, 255, 0.1);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.28),
              inset 0 1px 1px rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.btn-gradient {
  background: var(--gradient-brand);
  color: var(--bg);
  background-size: 200% 100%;
  animation: gradientShift 4s ease infinite;
}

.btn-lg {
  font-size: 16px;
  padding: var(--sp-5) var(--sp-8);
}

/* Mobile nav toggle (3-Line Liquid Glass Button) */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.12) 0%, rgba(72, 54, 255, 0.2) 100%);
  border: 1px solid rgba(0, 212, 255, 0.45);
  border-radius: 14px;
  cursor: pointer;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4),
              inset 0 1px 1px rgba(255, 255, 255, 0.35),
              0 0 15px -3px rgba(0, 212, 255, 0.25);
  transition: transform 0.25s var(--ease-spring),
              background 0.25s ease,
              border-color 0.25s ease,
              box-shadow 0.25s ease;
}

.nav-toggle:hover {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.22) 0%, rgba(72, 54, 255, 0.35) 100%);
  border-color: rgba(0, 212, 255, 0.85);
  box-shadow: 0 6px 24px rgba(0, 212, 255, 0.35),
              0 0 25px rgba(0, 212, 255, 0.4),
              inset 0 1px 1.5px rgba(255, 255, 255, 0.5);
  transform: translateY(-1px) scale(1.04);
}

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

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: linear-gradient(90deg, #00d4ff 0%, #a78bfa 100%);
  border-radius: 4px;
  position: relative;
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.7);
  transition: background 0.25s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 2.5px;
  background: linear-gradient(90deg, #00d4ff 0%, #a78bfa 100%);
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.7);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), top 0.35s ease;
  left: 0;
  transform-origin: center center;
}

.nav-toggle span::before { top: -7px; }
.nav-toggle span::after  { top: 7px;  }

.nav-toggle.open {
  border-color: rgba(255, 107, 0, 0.7);
  box-shadow: 0 0 25px rgba(255, 107, 0, 0.4), inset 0 1px 1.5px rgba(255, 255, 255, 0.5);
}

.nav-toggle.open span {
  background: transparent;
  box-shadow: none;
}

.nav-toggle.open span::before {
  background: linear-gradient(90deg, #ff6b00 0%, #00d4ff 100%);
  box-shadow: 0 0 10px rgba(255, 107, 0, 0.8);
  transform: rotate(45deg);
  top: 0;
}

.nav-toggle.open span::after {
  background: linear-gradient(90deg, #ff6b00 0%, #00d4ff 100%);
  box-shadow: 0 0 10px rgba(255, 107, 0, 0.8);
  transform: rotate(-45deg);
  top: 0;
}


/* ── Hero Section ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg::before {
  content: '';
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  animation: pulseGlow 6s ease-in-out infinite;
}

.hero-bg::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(72, 54, 255, 0.12) 0%, transparent 70%);
  top: 60%;
  left: 30%;
  transform: translate(-50%, -50%);
  animation: pulseGlow 8s ease-in-out 2s infinite;
}

.hero-content {
  position: relative;
  z-index: var(--z-element);
  max-width: 900px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--sp-6);
  padding: var(--sp-2) var(--sp-4);
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: var(--radius-pill);
  background: rgba(0, 212, 255, 0.06);
}

.hero-title {
  margin-bottom: var(--sp-6);
}

.hero-subtitle {
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--ink-dim);
  max-width: 560px;
  margin: 0 auto var(--sp-10);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: var(--sp-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  color: var(--ink-dim);
  font-size: 12px;
  animation: floatDown 2s ease-in-out infinite;
}

.hero-scroll-hint .arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--ink-dim);
  border-bottom: 2px solid var(--ink-dim);
  transform: rotate(45deg);
  opacity: 0.5;
}

/* ── Marquee ── */
.marquee-section {
  padding: var(--sp-8) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}

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

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 0 var(--sp-6);
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: var(--ink);
}

.marquee-item .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.marquee-item:nth-child(4n+1) .dot { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.marquee-item:nth-child(4n+2) .dot { background: var(--orange); box-shadow: 0 0 8px var(--orange); }
.marquee-item:nth-child(4n+3) .dot { background: var(--blue-bright); box-shadow: 0 0 8px var(--blue-bright); }
.marquee-item:nth-child(4n+4) .dot { background: var(--purple); box-shadow: 0 0 8px #7a3ce0; }

/* ── Portfolio Grid ── */
.portfolio-header {
  margin-bottom: var(--sp-12);
}

.portfolio-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--sp-3);
}

.filter-bar {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
  margin-bottom: var(--sp-8);
}

.filter-chip {
  background: var(--elevated);
  color: var(--ink-dim);
  border: 1px solid var(--line);
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: color var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-spring),
              box-shadow var(--dur-normal) var(--ease-out);
}

.filter-chip:hover {
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.filter-chip:active {
  transform: translateY(0) scale(0.97);
}

.filter-chip.active {
  background: var(--cyan);
  color: var(--bg);
  border-color: var(--cyan);
  box-shadow: 0 4px 16px rgba(0, 212, 255, 0.35);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}

.portfolio-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 5;
  cursor: pointer;
  transition: transform var(--dur-normal) var(--ease-out),
              box-shadow var(--dur-normal) var(--ease-out),
              opacity var(--dur-normal) var(--ease-out);
}

.portfolio-card.is-hidden {
  display: none !important;
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.portfolio-card:active {
  transform: translateY(0) scale(0.98);
}

.portfolio-card[data-category="logo-design"] {
  aspect-ratio: 1 / 1;
}

.portfolio-card[data-category="logo-animation"],
.portfolio-card[data-category="twitch-animation"] {
  aspect-ratio: 16 / 9;
  background: #060514 !important;
}

.portfolio-card[data-category="twitch-animation"] .card-visual {
  background: none !important;
}

.card-visual {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform var(--dur-slow) var(--ease-out);
  overflow: hidden;
}

.card-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 16px;
  transition: transform var(--dur-slow) var(--ease-out);
}

.card-visual iframe,
.card-visual video:not(.twitch-video) {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  pointer-events: none;
  border: none;
  opacity: 1;
  transition: opacity var(--dur-normal) ease;
}

.card-visual video.twitch-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.video-cover-placeholder {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 3;
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
}

.portfolio-card.video-playing .video-cover-placeholder {
  opacity: 0;
}

.portfolio-card:hover .card-visual {
  transform: scale(1.03);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(6, 5, 20, 0.9) 100%);
  opacity: 0;
  transition: opacity var(--dur-normal) var(--ease-out);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--sp-5);
}

.portfolio-card:hover .card-overlay {
  opacity: 1;
}

.card-tag {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(0, 212, 255, 0.15);
  color: var(--cyan);
  margin-bottom: var(--sp-2);
  width: fit-content;
}

.card-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.card-desc {
  font-size: 13px;
  color: var(--ink-dim);
  line-height: 1.4;
}

/* Card gradient backgrounds (for cards without images) */
.card-gradient-1 {
  background: linear-gradient(135deg, #0c027c 0%, #1a0e5e 50%, #0300b1 100%);
}
.card-gradient-2 {
  background: linear-gradient(135deg, #3b0c74 0%, #1a0e5e 50%, #0c027c 100%);
}
.card-gradient-3 {
  background: linear-gradient(135deg, #0300b1 0%, #0c027c 50%, #3b0c74 100%);
}
.card-gradient-4 {
  background: linear-gradient(135deg, #0c027c 0%, #3b0c74 50%, #00213d 100%);
}

/* Featured card — spans 2 columns */
.portfolio-card.featured {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}

/* ── Services / Features ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}

.service-card {
  background: var(--elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--sp-8);
  transition: transform var(--dur-normal) var(--ease-out),
              box-shadow var(--dur-normal) var(--ease-out),
              border-color var(--dur-normal) var(--ease-out);
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: rgba(255, 255, 255, 0.15);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: var(--sp-5);
  position: relative;
}

.service-icon.icon-cyan {
  background: rgba(0, 212, 255, 0.1);
  color: var(--cyan);
}
.service-icon.icon-orange {
  background: rgba(255, 107, 0, 0.1);
  color: var(--orange);
}
.service-icon.icon-purple {
  background: rgba(72, 54, 255, 0.1);
  color: var(--blue-bright);
}

.service-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: var(--sp-3);
}

.service-desc {
  font-size: 14px;
  color: var(--ink-dim);
  line-height: 1.6;
}

/* ── CTA Section ── */
.cta-section {
  text-align: center;
  padding: var(--sp-24) 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.cta-content {
  position: relative;
  z-index: var(--z-element);
}

.cta-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}

.cta-title {
  margin-bottom: var(--sp-6);
}

.cta-subtitle {
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--ink-dim);
  max-width: 480px;
  margin: 0 auto var(--sp-10);
  line-height: 1.6;
}

/* ── Offerings Row ── */
.offerings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-5);
  max-width: 720px;
  margin: 0 auto;
}

.offering-card {
  background: var(--navy);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--sp-6);
  text-align: left;
  transition: transform var(--dur-normal) var(--ease-out),
              box-shadow var(--dur-normal) var(--ease-out);
}

.offering-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.offering-badge {
  display: inline-flex;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--sp-3);
}

.offering-badge.badge-cyan {
  background: rgba(0, 212, 255, 0.12);
  color: var(--cyan);
}

.offering-badge.badge-orange {
  background: rgba(255, 107, 0, 0.12);
  color: var(--orange);
}

.offering-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: var(--sp-2);
}

.offering-desc {
  font-size: 13px;
  color: var(--ink-dim);
  line-height: 1.5;
  margin-bottom: var(--sp-4);
}

.offering-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--cyan);
  transition: gap var(--dur-fast) var(--ease-out);
}

.offering-link:hover {
  gap: 10px;
}

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--line);
  padding: var(--sp-10) 0 var(--sp-8);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-5);
}

.footer-brand {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.footer-links {
  display: flex;
  gap: var(--sp-5);
}

.footer-links a {
  font-size: 13px;
  color: var(--ink-dim);
  transition: color var(--dur-fast);
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-copy {
  font-size: 13px;
  color: var(--ink-muted);
}

/* ── Animations / Keyframes ── */
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -60%) scale(1); }
  50%      { opacity: 1;   transform: translate(-50%, -60%) scale(1.1); }
}

@keyframes floatDown {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.6; }
  50%      { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

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

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Scroll-triggered reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* ── Stat Counters ── */
.stats-row {
  display: flex;
  justify-content: center;
  gap: var(--sp-16);
  padding: var(--sp-12) 0;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-value {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: var(--sp-2);
}

.stat-label {
  font-size: 14px;
  color: var(--ink-dim);
  font-weight: 500;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-card.featured {
    grid-column: span 2;
  }
}

@media (max-width: 880px) {
  .nav {
    overflow: visible;
  }

  .nav-liquid-aura {
    border-radius: inherit;
  }

  .nav-wrapper {
    padding: 10px var(--gutter);
  }

  .nav-inner {
    gap: var(--sp-3);
    padding: 6px 10px;
    justify-content: space-between !important;
  }

  .nav-brand-group {
    gap: 10px;
    flex: 0 1 auto !important;
    justify-content: flex-start !important;
    margin-right: auto !important;
    margin-left: 0 !important;
  }

  .logo-neon-container {
    min-width: auto;
    padding: 4px 14px;
    height: 40px;
  }

  .brand-logo-img {
    max-height: 25px;
  }

  .nav-links-wrap {
    display: contents;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    left: 0;
    max-width: none;
    margin-left: 0;
    background: rgba(10, 8, 28, 0.94);
    backdrop-filter: blur(36px) saturate(220%);
    -webkit-backdrop-filter: blur(36px) saturate(220%);
    border: 1px solid rgba(0, 212, 255, 0.35);
    padding: var(--sp-4) var(--sp-3);
    border-radius: 24px;
    flex-direction: column;
    gap: 6px;
    display: none;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.88), 0 0 35px rgba(0, 212, 255, 0.25), inset 0 1px 1.5px rgba(255, 255, 255, 0.35);
    transform-origin: top center;
    z-index: 10000;
  }

  .nav-liquid-pill {
    display: none;
  }

  .nav-links.open {
    display: flex;
    animation: menuSlideDown var(--dur-normal) var(--ease-spring);
  }

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

  .nav-link-item {
    font-size: 15px;
    padding: 14px 18px;
    width: 100%;
    border-radius: var(--radius-sm);
    text-align: center;
    display: block;
    transition: background var(--dur-fast) ease, color var(--dur-fast) ease;
  }

  .nav-link-item:hover {
    background: rgba(255, 255, 255, 0.08);
  }

  .nav-link-item.active {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(72, 54, 255, 0.25) 100%);
    border: 1px solid rgba(0, 212, 255, 0.4);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
    text-align: center;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-cta {
    gap: var(--sp-2);
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    display: flex;
    align-items: center;
  }

  .nav-cta .btn {
    padding: 8px 16px;
    font-size: 13px;
  }

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

  .stats-row {
    gap: var(--sp-8);
  }
}

@media (max-width: 760px) {
  :root {
    --gutter: 20px;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-3);
  }

  .portfolio-card.featured {
    grid-column: span 2;
  }

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

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero {
    min-height: 90vh;
    padding-top: 100px;
  }
}

@media (max-width: 580px) {
  .nav-status-badge .status-text {
    display: none;
  }
  .nav-status-badge {
    padding: 6px;
  }
}

@media (max-width: 520px) {
  :root {
    --gutter: 16px;
  }

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

  .portfolio-card.featured {
    grid-column: span 1;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section {
    padding: var(--sp-16) 0;
  }

  .nav-cta .btn-outline {
    display: none;
  }

  .nav-cta .btn-primary {
    display: none;
  }

  .logo-neon-container {
    min-width: auto;
    padding: 4px 10px;
    height: 38px;
  }

  .brand-logo-img {
    max-height: 22px;
  }

  .nav-brand-logo {
    animation: none;
  }

  .nav-inner {
    justify-content: space-between !important;
    padding: 6px 8px;
  }

  .nav-brand-group {
    flex: 0 1 auto !important;
    justify-content: flex-start !important;
    margin-right: auto !important;
    margin-left: 0 !important;
  }

  .nav-cta {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    display: flex;
    align-items: center;
  }
}

@media (max-width: 380px) {
  .nav-toggle {
    width: 40px;
    height: 40px;
  }

  .nav-toggle span {
    width: 20px;
    height: 2px;
  }

  .nav-toggle span::before {
    top: -6px;
  }

  .nav-toggle span::after {
    top: 6px;
  }

  .logo-neon-container {
    min-width: auto;
    padding: 3px 8px;
    height: 34px;
  }

  .brand-logo-img {
    max-height: 19px;
  }
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}
