/* ═══════════════════════════════════════════════════════════════
   NEXUS AGENCY — Ultra-Premium Cyber Luxury CSS
   Palette: Deep Black + Neon Blue + Purple + Cyan
   Fonts: Syne (Display) + Outfit (Body) + Space Mono (Accent)
═══════════════════════════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --black:       #000000;
  --black-1:     #050508;
  --black-2:     #0a0a12;
  --black-3:     #0f0f1a;
  --black-4:     #141420;
  --glass-bg:    rgba(255,255,255,0.03);
  --glass-border:rgba(255,255,255,0.08);
  --glass-hover: rgba(255,255,255,0.06);

  --neon-blue:   #00D4FF;
  --neon-purple: #7B5EA7;
  --neon-violet: #9B59FF;
  --neon-cyan:   #00FFEA;
  --neon-pink:   #FF6B9D;

  --grad-primary: linear-gradient(135deg, #7B5EA7 0%, #00D4FF 100%);
  --grad-glow:    linear-gradient(135deg, #9B59FF 0%, #00D4FF 100%);
  --grad-subtle:  linear-gradient(135deg, rgba(123,94,167,0.15) 0%, rgba(0,212,255,0.15) 100%);

  --white:       #FFFFFF;
  --white-80:    rgba(255,255,255,0.8);
  --white-60:    rgba(255,255,255,0.6);
  --white-40:    rgba(255,255,255,0.4);
  --white-20:    rgba(255,255,255,0.2);
  --white-10:    rgba(255,255,255,0.1);
  --white-05:    rgba(255,255,255,0.05);

  --font-display: 'Syne', sans-serif;
  --font-body:    'Outfit', sans-serif;
  --font-mono:    'Space Mono', monospace;

  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   32px;

  --transition:  all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  --transition-fast: all 0.2s cubic-bezier(0.23, 1, 0.32, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  background: var(--black-1);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

::selection { background: rgba(123,94,167,0.4); color: var(--white); }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: none; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: var(--font-body); }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black-2); }
::-webkit-scrollbar-thumb { background: var(--grad-primary); border-radius: 2px; }

/* ═══════════════════════════════════════════════════════════════
   CUSTOM CURSOR
═══════════════════════════════════════════════════════════════ */
.cursor-dot {
  position: fixed;
  width: 6px; height: 6px;
  background: var(--neon-blue);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
  box-shadow: 0 0 10px var(--neon-blue), 0 0 20px var(--neon-blue);
}

.cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 1.5px solid rgba(0,212,255,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.35s cubic-bezier(0.23,1,0.32,1),
              height 0.35s cubic-bezier(0.23,1,0.32,1),
              border-color 0.35s;
}

.cursor-ring.hovering {
  width: 56px; height: 56px;
  border-color: rgba(155,89,255,0.7);
  background: rgba(155,89,255,0.05);
}

/* ═══════════════════════════════════════════════════════════════
   PARTICLE CANVAS
═══════════════════════════════════════════════════════════════ */
#particleCanvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(5,5,8,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

.nav-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-mark {
  width: 38px; height: 38px;
  background: var(--grad-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.05em;
  box-shadow: 0 0 20px rgba(123,94,167,0.4);
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.15em;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-sub {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--white-60);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white-60);
  transition: var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--grad-primary);
  transition: width 0.3s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--white);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--grad-primary);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: var(--transition);
  box-shadow: 0 0 20px rgba(123,94,167,0.3);
  flex-shrink: 0;
}

.nav-cta:hover {
  box-shadow: 0 0 40px rgba(0,212,255,0.4);
  transform: translateY(-1px);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}

.nav-hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--white);
  transition: var(--transition-fast);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: rgba(5,5,8,0.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  padding: 24px 40px 32px;
  border-bottom: 1px solid var(--glass-border);
  transform: translateY(-110%);
  transition: transform 0.4s cubic-bezier(0.23,1,0.32,1);
}

.mobile-menu.open { transform: translateY(0); }

.mobile-menu ul { display: flex; flex-direction: column; gap: 4px; }

.mobile-link {
  display: block;
  padding: 14px 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white-60);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition-fast);
}

.mobile-link:hover { color: var(--white); padding-left: 8px; }

/* ═══════════════════════════════════════════════════════════════
   SHARED COMPONENTS
═══════════════════════════════════════════════════════════════ */
.gradient-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.glass-card:hover {
  background: var(--glass-hover);
  border-color: rgba(123,94,167,0.3);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(123,94,167,0.1);
}

.section-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--neon-blue);
  padding: 6px 16px;
  border: 1px solid rgba(0,212,255,0.3);
  border-radius: 100px;
  margin-bottom: 20px;
  background: rgba(0,212,255,0.05);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.section-desc {
  font-size: 17px;
  color: var(--white-60);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--grad-primary);
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--white);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 0 30px rgba(123,94,167,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(0,212,255,0.4);
}

.btn-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary:hover .btn-glow { opacity: 1; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  color: var(--white-80);
  transition: var(--transition);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  border-color: rgba(0,212,255,0.4);
  color: var(--white);
  background: rgba(0,212,255,0.05);
  transform: translateY(-2px);
}

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

/* ═══════════════════════════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 40px 80px;
}

/* Grid background */
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

/* Orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(123,94,167,0.25) 0%, transparent 70%);
  top: -100px; right: -100px;
  animation: orbFloat1 8s ease-in-out infinite;
}

.hero-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,212,255,0.2) 0%, transparent 70%);
  bottom: 0; left: 10%;
  animation: orbFloat2 10s ease-in-out infinite;
}

.hero-orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(155,89,255,0.15) 0%, transparent 70%);
  top: 40%; left: 40%;
  animation: orbFloat3 12s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 30px) scale(1.1); }
}
@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -40px) scale(0.9); }
}
@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(30px, -20px); }
  66% { transform: translate(-20px, 30px); }
}

/* Holographic Object */
.holo-object {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  width: 420px; height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.holo-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  animation: holoSpin linear infinite;
}

.holo-ring-1 {
  width: 380px; height: 380px;
  border-color: rgba(0,212,255,0.2);
  animation-duration: 20s;
  box-shadow: 0 0 20px rgba(0,212,255,0.1), inset 0 0 20px rgba(0,212,255,0.05);
}

.holo-ring-2 {
  width: 280px; height: 280px;
  border-color: rgba(123,94,167,0.3);
  animation-duration: 15s;
  animation-direction: reverse;
  transform: rotateX(60deg);
  box-shadow: 0 0 30px rgba(123,94,167,0.15);
}

.holo-ring-3 {
  width: 180px; height: 180px;
  border-color: rgba(0,255,234,0.25);
  animation-duration: 10s;
  transform: rotateY(60deg);
}

@keyframes holoSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.holo-core {
  width: 80px; height: 80px;
  background: var(--grad-primary);
  border-radius: 50%;
  box-shadow:
    0 0 30px rgba(0,212,255,0.6),
    0 0 60px rgba(123,94,167,0.4),
    0 0 100px rgba(0,212,255,0.2);
  animation: corePulse 3s ease-in-out infinite;
}

@keyframes corePulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 30px rgba(0,212,255,0.6), 0 0 60px rgba(123,94,167,0.4); }
  50% { transform: scale(1.15); box-shadow: 0 0 50px rgba(0,212,255,0.8), 0 0 100px rgba(123,94,167,0.6); }
}

.holo-scan {
  position: absolute;
  width: 380px; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,0.6), transparent);
  animation: holoScan 4s ease-in-out infinite;
}

@keyframes holoScan {
  0% { transform: translateY(-190px); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(190px); opacity: 0; }
}

/* Floating Cards */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(10,10,18,0.8);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  pointer-events: none;
  z-index: 2;
  min-width: 180px;
}

.float-card-1 {
  top: 22%; right: 28%;
  animation: floatCard1 6s ease-in-out infinite;
}
.float-card-2 {
  top: 35%; right: 4%;
  animation: floatCard2 7s ease-in-out infinite 1s;
}
.float-card-3 {
  bottom: 28%; right: 30%;
  animation: floatCard3 8s ease-in-out infinite 0.5s;
}
.float-card-4 {
  bottom: 35%; right: 5%;
  animation: floatCard1 9s ease-in-out infinite 2s;
}

@keyframes floatCard1 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}
@keyframes floatCard2 {
  0%, 100% { transform: translateY(0px) translateX(0px); }
  50% { transform: translateY(-8px) translateX(4px); }
}
@keyframes floatCard3 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(10px); }
}

.float-card-icon {
  font-size: 20px;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-subtle);
  border-radius: 8px;
  flex-shrink: 0;
}

.float-card-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fc-label {
  font-size: 10px;
  color: var(--white-40);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.fc-value {
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-display);
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.float-card-bar {
  position: absolute;
  bottom: 8px; left: 18px; right: 18px;
  height: 2px;
  background: var(--white-10);
  border-radius: 1px;
  overflow: hidden;
}

.float-card-fill {
  height: 100%;
  background: var(--grad-primary);
  border-radius: 1px;
  box-shadow: 0 0 8px rgba(0,212,255,0.6);
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 100px;
  font-size: 12px;
  color: var(--neon-blue);
  letter-spacing: 0.05em;
  margin-bottom: 32px;
  font-family: var(--font-mono);
}

.badge-dot {
  width: 6px; height: 6px;
  background: var(--neon-blue);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--neon-blue);
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 110px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-title-line {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  animation: titleReveal 0.8s cubic-bezier(0.23,1,0.32,1) forwards;
}

.hero-title-line:nth-child(1) { animation-delay: 0.2s; }
.hero-title-line:nth-child(2) { animation-delay: 0.4s; }
.hero-title-line:nth-child(3) { animation-delay: 0.6s; }

@keyframes titleReveal {
  to { opacity: 1; transform: translateY(0); }
}

.hero-sub {
  font-size: 18px;
  color: var(--white-60);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 520px;
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.23,1,0.32,1) 0.8s forwards;
}

.hero-sub em {
  font-style: normal;
  color: var(--white-80);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 56px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.23,1,0.32,1) 1s forwards;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.23,1,0.32,1) 1.2s forwards;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-plus {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 12px;
  color: var(--white-40);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--glass-border);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--white-40);
  text-transform: uppercase;
  animation: fadeUp 1s ease 1.5s both;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--neon-blue));
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

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

/* ═══════════════════════════════════════════════════════════════
   MARQUEE
═══════════════════════════════════════════════════════════════ */
.marquee-strip {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  background: rgba(0,212,255,0.03);
  padding: 18px 0;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 40px;
  white-space: nowrap;
  animation: marqueeScroll 25s linear infinite;
  width: max-content;
}

.marquee-track span {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white-40);
}

.marquee-dot {
  color: var(--neon-blue) !important;
  font-size: 10px !important;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════════════════════════ */
.services {
  position: relative;
  z-index: 2;
  padding: 120px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  padding: 36px;
  position: relative;
  overflow: hidden;
  cursor: none;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-subtle);
  opacity: 0;
  transition: opacity 0.4s;
  border-radius: inherit;
}

.service-card:hover::before { opacity: 1; }

.service-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--white-20);
  letter-spacing: 0.15em;
  margin-bottom: 20px;
}

.service-icon-wrap {
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  transition: var(--transition);
}

.service-card:hover .service-icon-wrap {
  background: rgba(123,94,167,0.15);
  border-color: rgba(123,94,167,0.4);
  box-shadow: 0 0 20px rgba(123,94,167,0.2);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 14px;
  color: var(--white-60);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.service-tags span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  color: var(--white-40);
  text-transform: uppercase;
}

.service-arrow {
  font-size: 20px;
  color: var(--white-20);
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.service-card:hover .service-arrow {
  color: var(--neon-blue);
  transform: translateX(6px);
}

.service-card-cta {
  background: var(--grad-subtle);
  border-color: rgba(123,94,167,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.service-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.service-cta-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--neon-blue);
}

.service-cta-inner h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
}

/* ═══════════════════════════════════════════════════════════════
   WORK / PORTFOLIO
═══════════════════════════════════════════════════════════════ */
.work {
  position: relative;
  z-index: 2;
  padding: 120px 0;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

.work-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--black-3);
  border: 1px solid var(--glass-border);
  transition: var(--transition);
  cursor: none;
}

.work-item:hover {
  border-color: rgba(123,94,167,0.4);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(123,94,167,0.1);
}

.work-item-large {
  grid-column: span 2;
}

.work-item-wide {
  grid-column: span 2;
}

.work-img {
  height: 260px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-item-large .work-img { height: 320px; }
.work-item-wide .work-img { height: 240px; }

/* 3D Scene Objects */
.work-3d-scene {
  position: relative;
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.w3d-sphere {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(0,212,255,0.6), rgba(123,94,167,0.4), transparent);
  border: 1px solid rgba(0,212,255,0.3);
  box-shadow: 0 0 40px rgba(0,212,255,0.3), inset 0 0 40px rgba(123,94,167,0.2);
  animation: sphereFloat 6s ease-in-out infinite;
}

@keyframes sphereFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

.w3d-ring {
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  border: 1px solid rgba(0,212,255,0.2);
  animation: ringRotate 8s linear infinite;
}

@keyframes ringRotate {
  from { transform: rotateX(70deg) rotate(0deg); }
  to { transform: rotateX(70deg) rotate(360deg); }
}

.w3d-particles { position: absolute; inset: 0; }

.w3d-p {
  position: absolute;
  width: 4px; height: 4px;
  background: var(--neon-blue);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--neon-blue);
  animation: particleOrbit 4s linear infinite;
}

.w3d-p:nth-child(1) { animation-delay: 0s; top: 20%; left: 30%; }
.w3d-p:nth-child(2) { animation-delay: 0.8s; top: 70%; left: 60%; }
.w3d-p:nth-child(3) { animation-delay: 1.6s; top: 40%; left: 80%; }
.w3d-p:nth-child(4) { animation-delay: 2.4s; top: 80%; left: 20%; }
.w3d-p:nth-child(5) { animation-delay: 3.2s; top: 15%; left: 65%; }

@keyframes particleOrbit {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.3); opacity: 0.3; }
}

.w3d-cube {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, rgba(0,212,255,0.3), rgba(123,94,167,0.3));
  border: 1px solid rgba(0,212,255,0.4);
  transform: rotate(45deg);
  animation: cubeRotate 8s linear infinite;
  box-shadow: 0 0 30px rgba(0,212,255,0.2);
}

@keyframes cubeRotate {
  from { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.2); }
  to { transform: rotate(360deg) scale(1); }
}

.w3d-diamond {
  width: 70px; height: 70px;
  background: linear-gradient(135deg, rgba(255,107,157,0.4), rgba(123,94,167,0.4));
  border: 1px solid rgba(255,107,157,0.4);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  animation: diamondPulse 4s ease-in-out infinite;
  box-shadow: 0 0 30px rgba(255,107,157,0.3);
}

@keyframes diamondPulse {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.3) rotate(45deg); }
}

.w3d-torus {
  width: 100px; height: 100px;
  border-radius: 50%;
  border: 16px solid transparent;
  border-top-color: rgba(0,212,255,0.6);
  border-right-color: rgba(123,94,167,0.4);
  border-bottom-color: rgba(0,255,234,0.3);
  animation: torusSpin 3s linear infinite;
  box-shadow: 0 0 30px rgba(0,212,255,0.2);
}

@keyframes torusSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.work-info {
  padding: 24px 28px;
}

.work-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.work-cat {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--neon-blue);
  padding: 3px 10px;
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 100px;
  background: rgba(0,212,255,0.05);
}

.work-year {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--white-30);
}

.work-info h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.work-info p {
  font-size: 13px;
  color: var(--white-50);
  margin-bottom: 16px;
  line-height: 1.6;
}

.work-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--neon-blue);
  letter-spacing: 0.05em;
  transition: var(--transition-fast);
}

.work-link:hover { letter-spacing: 0.1em; }

/* ═══════════════════════════════════════════════════════════════
   PROCESS
═══════════════════════════════════════════════════════════════ */
.process {
  position: relative;
  z-index: 2;
  padding: 120px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(123,94,167,0.04) 50%, transparent 100%);
}

.process-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 40px;
}

.process-line {
  position: absolute;
  top: 20px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,0.3), rgba(123,94,167,0.3), transparent);
}

.process-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.ps-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--grad-primary);
  box-shadow: 0 0 20px rgba(0,212,255,0.5);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.ps-dot::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(0,212,255,0.2);
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0; }
}

.ps-content {
  padding: 28px 24px;
  text-align: center;
  width: 100%;
}

.ps-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--neon-blue);
  letter-spacing: 0.2em;
  display: block;
  margin-bottom: 12px;
}

.ps-content h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.ps-content p {
  font-size: 13px;
  color: var(--white-50);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════════════════════════ */
.about {
  position: relative;
  z-index: 2;
  padding: 120px 0;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-orb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 420px;
  margin: 0 auto;
}

.about-orb {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(123,94,167,0.3), rgba(0,212,255,0.1), transparent 70%);
  filter: blur(40px);
}

.about-grid-visual {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.agv-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
}

.agv-ring-1 {
  width: 90%; height: 90%;
  border-color: rgba(123,94,167,0.2);
  animation: agvSpin 20s linear infinite;
}

.agv-ring-2 {
  width: 65%; height: 65%;
  border-color: rgba(0,212,255,0.25);
  animation: agvSpin 15s linear infinite reverse;
}

.agv-ring-3 {
  width: 40%; height: 40%;
  border-color: rgba(0,255,234,0.2);
  animation: agvSpin 10s linear infinite;
}

@keyframes agvSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.agv-core {
  width: 80px; height: 80px;
  background: var(--grad-primary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  box-shadow: 0 0 40px rgba(123,94,167,0.5), 0 0 80px rgba(0,212,255,0.2);
  animation: corePulse 3s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

.about-stat-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.asc {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.asc-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.asc-label {
  font-size: 12px;
  color: var(--white-50);
  letter-spacing: 0.05em;
}

.about-content .section-tag { display: inline-block; margin-bottom: 16px; }
.about-content .section-title { text-align: left; margin-bottom: 24px; }

.about-text {
  font-size: 16px;
  color: var(--white-60);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.av-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.av-icon {
  font-size: 18px;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
  margin-top: 2px;
}

.av-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
}

.av-item p {
  font-size: 13px;
  color: var(--white-50);
}

/* ═══════════════════════════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════════════════════════ */
.testimonials {
  position: relative;
  z-index: 2;
  padding: 120px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0,212,255,0.03) 50%, transparent 100%);
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testi-card {
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.testi-stars {
  font-size: 14px;
  color: var(--neon-blue);
  letter-spacing: 4px;
}

.testi-card p {
  font-size: 15px;
  color: var(--white-70);
  line-height: 1.8;
  font-style: italic;
  flex: 1;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

.testi-author strong {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
}

.testi-author span {
  font-size: 12px;
  color: var(--white-40);
  font-family: var(--font-mono);
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════════════════════ */
.contact {
  position: relative;
  z-index: 2;
  padding: 120px 0;
  overflow: hidden;
}

.contact-orb {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123,94,167,0.2) 0%, transparent 70%);
  filter: blur(80px);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact-content .section-tag { display: inline-block; margin-bottom: 16px; }
.contact-content .section-title { text-align: left; margin-bottom: 20px; }

.contact-desc {
  font-size: 16px;
  color: var(--white-60);
  line-height: 1.7;
  margin-bottom: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.ci-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: var(--white-70);
  transition: var(--transition-fast);
}

.ci-item:hover { color: var(--white); }

.ci-icon {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  font-size: 14px;
  flex-shrink: 0;
}

.contact-socials {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.cs-link {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-40);
  padding: 6px 14px;
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  transition: var(--transition-fast);
}

.cs-link:hover {
  color: var(--neon-blue);
  border-color: rgba(0,212,255,0.3);
  background: rgba(0,212,255,0.05);
}

/* Contact Form */
.contact-form {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white-50);
  font-family: var(--font-mono);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 14px;
  color: var(--white);
  outline: none;
  transition: var(--transition-fast);
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: none;
}

.form-group select option {
  background: var(--black-3);
  color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(0,212,255,0.4);
  background: rgba(0,212,255,0.03);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--white-20);
}

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

/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */
.footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--glass-border);
  background: rgba(0,0,0,0.5);
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.footer-top {
  padding: 60px 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--glass-border);
}

.footer-tagline {
  font-size: 14px;
  color: var(--white-40);
  font-style: italic;
}

.footer-mid {
  padding: 48px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  border-bottom: 1px solid var(--glass-border);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-80);
  margin-bottom: 20px;
}

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

.footer-col ul li a {
  font-size: 14px;
  color: var(--white-40);
  transition: var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-newsletter p {
  font-size: 13px;
  color: var(--white-40);
  line-height: 1.6;
  margin-bottom: 16px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-form input {
  flex: 1;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 13px;
  color: var(--white);
  outline: none;
  transition: var(--transition-fast);
}

.newsletter-form input:focus {
  border-color: rgba(0,212,255,0.4);
}

.newsletter-form input::placeholder { color: var(--white-20); }

.newsletter-form button {
  width: 40px; height: 40px;
  background: var(--grad-primary);
  border-radius: var(--radius-sm);
  font-size: 16px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.newsletter-form button:hover {
  box-shadow: 0 0 20px rgba(0,212,255,0.4);
  transform: scale(1.05);
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom span {
  font-size: 13px;
  color: var(--white-30);
  font-family: var(--font-mono);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 12px;
  color: var(--white-30);
  transition: var(--transition-fast);
  font-family: var(--font-mono);
}

.footer-legal a:hover { color: var(--white-60); }

/* ═══════════════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
═══════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.23,1,0.32,1), transform 0.8s cubic-bezier(0.23,1,0.32,1);
}

.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; }

/* ═══════════════════════════════════════════════════════════════
   TILT EFFECT
═══════════════════════════════════════════════════════════════ */
[data-tilt] {
  transform-style: preserve-3d;
  transform: perspective(1000px);
  transition: transform 0.1s ease;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .work-item-large { grid-column: span 2; }
  .work-item-wide { grid-column: span 2; }
  .process-timeline { grid-template-columns: repeat(2, 1fr); }
  .process-line { display: none; }
  .holo-object { display: none; }
  .float-card { display: none; }
}

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav { padding: 0 24px; }
  .section-inner { padding: 0 24px; }
  .hero { padding: 100px 24px 60px; }
  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-mid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .work-item-large, .work-item-wide { grid-column: span 1; }
  .process-timeline { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero-title { font-size: clamp(44px, 12vw, 72px); }
  .hero-stats { gap: 20px; }
  .stat-num { font-size: 24px; }
  .footer-mid { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; gap: 16px; text-align: center; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .contact-form { padding: 24px; }
}

/* Extra color vars used in JS */
:root {
  --white-30: rgba(255,255,255,0.3);
  --white-50: rgba(255,255,255,0.5);
  --white-70: rgba(255,255,255,0.7);
}