/* ═══════════════════════════════════════════
   CSS VARIABLES & RESET
═══════════════════════════════════════════ */
:root {
  --bg: #07080f;
  --bg2: #0c0d18;
  --bg3: #10111e;
  --surface: #13152a;
  --surface2: #191b34;
  --border: rgba(160,120,255,0.08);
  --border2: rgba(160,120,255,0.16);
  --accent: #a855f7;
  --accent-light: #c084fc;
  --accent2: #6d28d9;
  --accent3: #7c3aed;
  --accent-blue: #818cf8;
  --text: #ede9fe;
  --text2: #a78bfa;
  --text3: #6d5fa0;
  --grad1: linear-gradient(135deg, #a855f7 0%, #6d28d9 50%, #4f46e5 100%);
  --grad2: linear-gradient(135deg, #c084fc 0%, #818cf8 100%);
  --grad3: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  --glow: 0 0 40px rgba(168,85,247,0.25);
  --shadow: 0 20px 60px rgba(0,0,0,0.6);
  --shadow2: 0 8px 40px rgba(168,85,247,0.2);
  --radius: 16px;
  --radius2: 24px;
  --max-w: 1320px;
  --transition: cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Syne', sans-serif;
  --font-body: 'Outfit', sans-serif;
}

[data-theme="light"] {
  --bg: #faf5ff;
  --bg2: #ffffff;
  --bg3: #f3e8ff;
  --surface: #ffffff;
  --surface2: #faf5ff;
  --border: rgba(109,40,217,0.08);
  --border2: rgba(109,40,217,0.15);
  --text: #1e0a3c;
  --text2: #5b21b6;
  --text3: #7c3aed;
  --shadow: 0 20px 60px rgba(109,40,217,0.1);
}

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

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  cursor: none;
  transition: background 0.4s, color 0.4s;
}

::selection { background: var(--accent); color: #000; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 10px; }

#projectModalRight::-webkit-scrollbar { width: 4px; }
#projectModalRight::-webkit-scrollbar-track { background: rgba(160,120,255,0.05); border-radius: 8px; }
#projectModalRight::-webkit-scrollbar-thumb { 
  background: var(--accent); 
  border-radius: 8px; 
  border: 1px solid rgba(168,85,247,0.2);
}
#projectModalRight::-webkit-scrollbar-thumb:hover { background: var(--accent2); }

/* ═══════════════════════════════════════════
   CUSTOM CURSOR
═══════════════════════════════════════════ */
#cursor {
  position: fixed;
  width: 12px; height: 12px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, opacity 0.2s;
  mix-blend-mode: difference;
}
#cursor-ring {
  position: fixed;
  width: 40px; height: 40px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  opacity: 0.5;
  transition: width 0.3s, height 0.3s, opacity 0.3s;
}
body:has(a:hover) #cursor, body:has(button:hover) #cursor { width: 20px; height: 20px; }
body:has(a:hover) #cursor-ring, body:has(button:hover) #cursor-ring { width: 60px; height: 60px; opacity: 0.3; }

/* ═══════════════════════════════════════════
   SPLASH SCREEN
═══════════════════════════════════════════ */
#splash {
  position: fixed;
  inset: 0;
  background: #04070d;
  z-index: 100000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s;
}
#splash.hide { opacity: 0; visibility: hidden; pointer-events: none; }

.splash-logo {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 48px;
  animation: splashFadeUp 0.8s 0.3s both;
}
.splash-logo img { height: 80px; width: auto; }

.splash-loader {
  width: 280px;
  height: 2px;
  background: var(--surface2);
  border-radius: 10px;
  overflow: hidden;
  animation: splashFadeUp 0.8s 0.5s both;
}
.splash-loader-bar {
  height: 100%;
  background: var(--grad1);
  border-radius: 10px;
  animation: loadBar 2.2s cubic-bezier(0.4,0,0.2,1) forwards;
}
.splash-text {
  margin-top: 24px;
  color: var(--text3);
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  animation: splashFadeUp 0.8s 0.7s both;
}

@keyframes loadBar { from{width:0} to{width:100%} }
@keyframes splashFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 40px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), background 0.4s, height 0.4s, border-color 0.4s;
}
nav.scrolled {
  background: rgba(7,8,15,0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  height: 68px;
}
nav.nav-hidden {
  transform: translateY(-100%);
}
[data-theme="light"] nav.scrolled { background: rgba(240,244,248,0.9); }

.nav-logo {
  display: flex; align-items: center; gap: 0;
  text-decoration: none;
  cursor: none;
}
.nav-logo img { height: 46px; width: auto; object-fit: contain; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-links > li { position: relative; }
.nav-links a {
  display: block;
  padding: 8px 16px;
  color: var(--text2);
  text-decoration: none;
  font-size: 14px; font-weight: 500;
  border-radius: 8px;
  transition: all 0.25s;
  cursor: none;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--surface); }

.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 8px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s;
  box-shadow: var(--shadow);
  white-space: nowrap;
}
.dropdown.wide { min-width: 600px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.dropdown a { border-radius: 10px; font-size: 13px; padding: 10px 14px; }
.dropdown a:hover { background: var(--surface2); color: var(--accent); }
.dropdown-label {
  padding: 8px 14px 4px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text3);
  font-weight: 600;
}

.nav-right {
  display: flex; align-items: center; gap: 12px;
}
.theme-toggle {
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border2);
  background: var(--surface);
  color: var(--text2);
  cursor: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  transition: all 0.25s;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }

.nav-cta {
  padding: 10px 22px;
  background: var(--grad1);
  border: none;
  border-radius: 10px;
  color: #000;
  font-family: var(--font-body);
  font-size: 14px; font-weight: 600;
  cursor: none;
  transition: all 0.3s;
  text-decoration: none;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow2); }

.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: none; border: none; background: none; padding: 8px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-nav.open { opacity: 1; pointer-events: all; display: flex; }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 32px; font-weight: 700;
  color: var(--text2);
  text-decoration: none;
  transition: color 0.2s;
  cursor: none;
}
.mobile-nav a:hover { color: var(--accent); }

/* ═══════════════════════════════════════════
   PAGE SYSTEM
═══════════════════════════════════════════ */
.page-content { min-height: 100vh; }
/* SPA pageFade kept for compatibility */
@keyframes pageFade { from{opacity:0;transform:translateY(12px)} to{opacity:1;transform:none} }
@keyframes pageFade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ═══════════════════════════════════════════
   GENERAL COMPONENTS
═══════════════════════════════════════════ */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; }

section { padding: 100px 0; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(0,245,196,0.08);
  border: 1px solid rgba(0,245,196,0.2);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.section-label::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

h1,h2,h3,h4,h5 { font-family: var(--font-display); line-height: 1.1; }
h1 { font-size: clamp(42px, 6vw, 80px); font-weight: 800; letter-spacing: -2px; }
h2 { font-size: clamp(32px, 4vw, 56px); font-weight: 700; letter-spacing: -1.5px; }
h3 { font-size: clamp(22px, 2.5vw, 32px); font-weight: 700; letter-spacing: -0.5px; }
h4 { font-size: 20px; font-weight: 600; }

p { line-height: 1.75; color: var(--text2); }

.highlight {
  background: var(--grad1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.highlight2 {
  background: var(--grad2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 15px; font-weight: 600;
  cursor: none;
  text-decoration: none;
  transition: all 0.3s var(--transition);
  border: none;
}
.btn-primary {
  background: var(--grad1);
  color: #000;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,245,196,0.3); }
.btn-secondary {
  background: var(--surface2);
  color: var(--text);
  border: 1px solid var(--border2);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn-outline:hover { background: var(--accent); color: #000; transform: translateY(-2px); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  padding: 32px;
  transition: all 0.35s var(--transition);
}
.card:hover {
  border-color: var(--border2);
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.tag {
  display: inline-flex;
  padding: 4px 12px;
  background: var(--surface2);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text2);
}

/* ═══════════════════════════════════════════
   HOME PAGE — 3D CANVAS HERO
═══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  text-align: center;
}

#hero-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  display: block;
}

/* Vignette overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(8,11,16,0.7) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Animated ticker pill */
.hero-ticker {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-bottom: 36px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  animation: heroFadeDown 1s 0.2s both;
}
.hero-ticker-badge {
  padding: 7px 16px;
  background: var(--grad1);
  font-size: 11px;
  font-weight: 800;
  color: #000;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
}
.hero-ticker-text {
  padding: 7px 18px;
  font-size: 12px;
  color: var(--text2);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* Big editorial heading — split lines */
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(52px, 8vw, 110px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -4px;
  margin-bottom: 0;
  animation: heroFadeUp 1s 0.4s both;
}
.hero-headline .line {
  display: block;
  overflow: hidden;
}
.hero-headline .line-inner {
  display: block;
  animation: lineReveal 1s cubic-bezier(0.16,1,0.3,1) both;
}
.hero-headline .line:nth-child(1) .line-inner { animation-delay: 0.5s; }
.hero-headline .line:nth-child(2) .line-inner { animation-delay: 0.65s; }
.hero-headline .line:nth-child(3) .line-inner { animation-delay: 0.8s; }

.hero-headline .word-outline {
  -webkit-text-stroke: 2px rgba(255,255,255,0.2);
  -webkit-text-fill-color: transparent;
}
.hero-headline .word-grad {
  background: linear-gradient(90deg, #00f5c4 0%, #a78bfa 50%, #f472b6 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradShift 4s linear infinite;
}

@keyframes gradShift {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}
@keyframes lineReveal {
  from { transform: translateY(110%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
@keyframes heroFadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: none; }
}

/* Descriptor row */
.hero-descriptor {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 32px 0 40px;
  animation: heroFadeUp 1s 1s both;
}
.hero-descriptor-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border2), transparent);
}
.hero-descriptor p {
  font-size: 16px;
  color: var(--text2);
  max-width: 440px;
  line-height: 1.6;
  text-align: center;
  margin: 0;
}

.hero-btns {
  display: flex; gap: 14px; flex-wrap: wrap;
  justify-content: center;
  animation: heroFadeUp 1s 1.1s both;
}

/* Big floating stat row */
.hero-stats {
  display: flex; gap: 0;
  margin-top: 80px;
  border-top: 1px solid var(--border);
  animation: heroFadeUp 1s 1.2s both;
  width: 100%;
}
.stat-item {
  flex: 1;
  padding: 28px 20px;
  border-right: 1px solid var(--border);
  text-align: center;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: 42px; font-weight: 800;
  background: var(--grad1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.stat-label { font-size: 12px; color: var(--text3); margin-top: 6px; letter-spacing: 0.5px; }

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}
.reveal.visible { opacity: 1; transform: none; }
.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; }

/* ═══════════════════════════════════════════
   HOME SERVICES — HORIZONTAL MARQUEE STRIP
═══════════════════════════════════════════ */
.services-home-wrap {
  overflow: hidden;
  position: relative;
  padding: 20px 0 40px;
}
.services-marquee {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}
.services-marquee:hover { animation-play-state: paused; }
.services-marquee-row {
  display: flex;
  gap: 20px;
}
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.svc-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  white-space: nowrap;
  cursor: none;
  transition: all 0.3s;
  flex-shrink: 0;
}
.svc-pill:hover {
  border-color: var(--accent);
  background: var(--surface2);
  box-shadow: 0 0 30px rgba(0,245,196,0.12);
  transform: translateY(-3px);
}
.svc-pill-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.svc-pill span.svc-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.svc-pill span.svc-cat {
  font-size: 11px;
  color: var(--text3);
  display: block;
  margin-top: 2px;
}

/* Below marquee: featured service bento grid */
.services-bento {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
  margin-top: 48px;
}
.sbento {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s;
  cursor: none;
}
.sbento:hover { border-color: var(--border2); transform: translateY(-4px); }
.sbento.span-col { grid-column: span 1; }
.sbento.featured {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 360px;
  background: linear-gradient(160deg, #070e1a 0%, #0a1628 60%, #061520 100%);
  border-color: rgba(0,245,196,0.15);
}
.sbento.featured:hover { border-color: rgba(0,245,196,0.4); box-shadow: 0 0 60px rgba(0,245,196,0.08); }
.sbento-bg-art {
  position: absolute;
  top: 0; right: 0;
  width: 220px; height: 220px;
  opacity: 0.35;
  pointer-events: none;
}
.sbento-num {
  position: absolute;
  top: 24px; right: 28px;
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 800;
  line-height: 1;
  background: var(--grad1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.07;
}
.sbento-icon { font-size: 40px; margin-bottom: 20px; }
.sbento h3 { font-size: 22px; margin-bottom: 10px; }
.sbento.featured h3 { font-size: 28px; }
.sbento p { font-size: 14px; line-height: 1.65; }
.sbento .svc-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: rgba(0,245,196,0.08);
  border: 1px solid rgba(0,245,196,0.15);
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.sbento-arrow {
  position: absolute;
  bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  transition: all 0.3s;
}
.sbento:hover .sbento-arrow {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
  transform: translate(3px, -3px);
}

/* Portfolio */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.portfolio-item {
  position: relative;
  border-radius: var(--radius2);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: none;
}
.portfolio-item-inner {
  width: 100%; height: 100%;
  transition: transform 0.5s;
}
.portfolio-item:hover .portfolio-item-inner { transform: scale(1.06); }
.portfolio-thumb {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 48px;
}
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 60%);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity 0.35s;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay h4 { color: #fff; margin-bottom: 6px; }
.portfolio-overlay .tag { color: var(--accent); background: rgba(0,245,196,0.15); }

/* Testimonials */
/* ── TESTIMONIALS CAROUSEL ── */
.testi-wrap {
  position: relative;
  overflow: hidden;
}
.testi-track-outer {
  overflow: hidden;
  border-radius: var(--radius2);
}
.testi-track {
  display: flex;
  gap: 24px;
  transition: transform 0.55s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
}
.testimonial-card {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px; right: 24px;
  font-family: Georgia, serif;
  font-size: 96px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.08;
  pointer-events: none;
}
.testimonial-card:hover { border-color: rgba(168,85,247,0.35); box-shadow: 0 12px 48px rgba(168,85,247,0.12); }
.testi-rating {
  display: flex; gap: 3px; margin-bottom: 20px;
}
.testi-star {
  width: 16px; height: 16px;
  background: linear-gradient(135deg,#fbbf24,#f59e0b);
  clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);
}
.testi-quote {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text2);
  font-style: italic;
  margin-bottom: 28px;
  flex: 1;
}
.testimonial-author {
  display: flex; align-items: center; gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.author-avatar {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800;
  font-family: var(--font-display);
  flex-shrink: 0;
}
.author-name { font-weight: 700; font-size: 15px; margin-bottom: 3px; }
.author-role { font-size: 12px; color: var(--text3); }
.stars { display:none; }

/* Carousel nav */
.testi-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}
.testi-btn {
  width: 48px; height: 48px;
  border-radius: 14px;
  border: 1px solid var(--border2);
  background: var(--surface);
  color: var(--text);
  font-size: 20px;
  cursor: none;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.25s;
}
.testi-btn:hover { background: var(--accent); border-color: var(--accent); color: #000; transform: scale(1.08); }
.testi-dots {
  display: flex; gap: 8px;
}
.testi-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border2);
  cursor: none;
  transition: all 0.3s;
}
.testi-dot.active {
  width: 28px;
  border-radius: 4px;
  background: var(--accent);
}

@media(max-width:768px){
  .testimonial-card { flex: 0 0 calc(100% - 0px); }
}
@media(min-width:769px) and (max-width:1100px){
  .testimonial-card { flex: 0 0 calc(50% - 12px); }
}

/* Why Choose Us */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.why-item {
  display: flex; gap: 20px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s;
}
.why-item:hover { border-color: var(--accent); transform: translateX(4px); }
.why-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(0,245,196,0.1);
  border: 1px solid rgba(0,245,196,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.why-item h4 { margin-bottom: 6px; }
.why-item p { font-size: 14px; }

/* CTA Banner */
.cta-banner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad1);
  opacity: 0.04;
}
.cta-banner h2 { margin-bottom: 20px; }
.cta-banner p { font-size: 18px; max-width: 540px; margin: 0 auto 36px; }
.cta-banner .btn-group { display: flex; gap: 16px; justify-content: center; }

/* Trust badges */
.trust-bar {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  color: var(--text3);
  font-size: 15px; font-weight: 500;
}
.trust-item span { font-size: 24px; }

/* ═══════════════════════════════════════════
   ABOUT PAGE
═══════════════════════════════════════════ */
.page-hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
}
.page-hero-bg .hero-orb { opacity: 0.08; }
.page-hero-label { font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.page-hero h1 { margin-bottom: 24px; }
.page-hero p { font-size: 20px; max-width: 600px; }

.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-visual {
  position: relative;
  aspect-ratio: 1;
}
.about-visual-main {
  width: 100%; height: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  display: flex; align-items: center; justify-content: center;
  font-size: 120px;
}
.about-badge {
  position: absolute;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.about-badge.b1 { bottom: -20px; left: -20px; }
.about-badge.b2 { top: -20px; right: -20px; }
.about-badge .num { font-family: var(--font-display); font-size: 28px; font-weight: 800; background: var(--grad1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.about-badge .label { font-size: 12px; color: var(--text3); }

.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.mv-card {
  padding: 40px;
  border-radius: var(--radius2);
  position: relative;
  overflow: hidden;
}
.mv-card.mission { background: linear-gradient(135deg, rgba(0,245,196,0.08), rgba(124,109,250,0.08)); border: 1px solid rgba(0,245,196,0.15); }
.mv-card.vision { background: linear-gradient(135deg, rgba(124,109,250,0.08), rgba(255,107,107,0.08)); border: 1px solid rgba(124,109,250,0.15); }
.mv-card h3 { margin-bottom: 16px; }
.mv-card p { font-size: 15px; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  text-align: center;
  padding: 40px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  transition: all 0.35s;
}
.value-card:hover { border-color: var(--accent2); transform: translateY(-6px); }
.value-icon { font-size: 48px; margin-bottom: 20px; }
.value-card h4 { margin-bottom: 12px; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  padding: 32px 24px;
  transition: all 0.35s;
}
.team-card:hover { border-color: var(--accent); transform: translateY(-6px); }
.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
  border: 2px solid var(--border2);
}
.team-card h4 { margin-bottom: 4px; }
.team-card .role { font-size: 13px; color: var(--accent); margin-bottom: 12px; }
.team-card p { font-size: 13px; }

/* ═══════════════════════════════════════════
   SERVICES PAGE
═══════════════════════════════════════════ */
/* ═══════════════════════════════════════════
   SERVICES PAGE — ACCORDION PANEL LAYOUT
═══════════════════════════════════════════ */
.services-accordion {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  overflow: hidden;
}
.svc-panel {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  cursor: none;
  transition: background 0.3s;
  overflow: hidden;
}
.svc-panel:last-child { border-bottom: none; }
.svc-panel.open { background: var(--surface2); }

.svc-panel-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 32px;
  transition: all 0.3s;
  user-select: none;
}
.svc-panel:hover .svc-panel-header { padding-left: 40px; }
.svc-panel-header-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  transition: transform 0.3s;
}
.svc-panel:hover .svc-panel-header-icon { transform: scale(1.1) rotate(-5deg); }
.svc-panel-header-text { flex: 1; }
.svc-panel-header-text h3 {
  font-size: 20px; font-weight: 700;
  margin-bottom: 4px;
  transition: color 0.3s;
}
.svc-panel.open .svc-panel-header-text h3 { color: var(--accent); }
.svc-panel-header-text span { font-size: 13px; color: var(--text3); }
.svc-panel-header-meta {
  display: flex; align-items: center; gap: 12px;
}
.svc-panel-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--text3);
  letter-spacing: 1px;
}
.svc-chevron {
  width: 36px; height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  color: var(--text2);
  transition: all 0.35s;
  flex-shrink: 0;
}
.svc-panel.open .svc-chevron {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
  transform: rotate(180deg);
}

.svc-panel-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4,0,0.2,1);
}
.svc-panel.open .svc-panel-body { max-height: 500px; }

.svc-panel-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 0;
  border-top: 1px solid var(--border);
}
.svc-panel-desc {
  padding: 32px;
  border-right: 1px solid var(--border);
}
.svc-panel-desc p { font-size: 15px; line-height: 1.7; margin-bottom: 24px; }
.svc-tags-row { display: flex; gap: 8px; flex-wrap: wrap; }
.svc-tag-chip {
  padding: 5px 14px;
  background: rgba(0,245,196,0.06);
  border: 1px solid rgba(0,245,196,0.12);
  border-radius: 50px;
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
}
.svc-panel-features {
  padding: 32px;
}
.svc-panel-features h5 { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--text3); margin-bottom: 16px; }
.svc-feat-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.svc-feat-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--text2);
}
.svc-feat-list li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* Tech Stack — horizontal card strip */
.tech-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.tech-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  cursor: none;
}
.tech-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--grad1);
  transform: scaleY(0);
  transition: transform 0.3s;
  transform-origin: bottom;
}
.tech-card:hover { border-color: var(--border2); transform: translateY(-4px); box-shadow: var(--shadow); }
.tech-card:hover::before { transform: scaleY(1); }
.tech-logo { font-size: 32px; flex-shrink: 0; }
.tech-card h4 { font-size: 15px; margin-bottom: 4px; }
.tech-card p { font-size: 12px; line-height: 1.5; }

/* Service page hero — big number reveal */
.services-hero-nums {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.shero-num {
  display: flex;
  flex-direction: column;
}
.shero-num .n {
  font-family: var(--font-display);
  font-size: 52px; font-weight: 800; line-height: 1;
  background: var(--grad1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.shero-num .l { font-size: 13px; color: var(--text3); margin-top: 4px; }

/* ═══════════════════════════════════════════
   PORTFOLIO PAGE
═══════════════════════════════════════════ */
/* ── PORTFOLIO UNIQUE FILTER ── */
.pf-filter-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 56px;
  position: relative;
}
.pf-filter-track {
  display: flex;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 16px;
  padding: 6px;
  position: relative;
  overflow: hidden;
}
.pf-filter-highlight {
  position: absolute;
  top: 6px;
  height: calc(100% - 12px);
  background: var(--grad1);
  border-radius: 11px;
  transition: left 0.35s cubic-bezier(0.4,0,0.2,1), width 0.35s cubic-bezier(0.4,0,0.2,1);
  pointer-events: none;
  z-index: 0;
}
.pf-btn {
  position: relative;
  z-index: 1;
  padding: 10px 22px;
  border: none;
  background: transparent;
  color: var(--text2);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: none;
  border-radius: 11px;
  transition: color 0.25s;
  white-space: nowrap;
}
.pf-btn.active { color: #fff; }
.pf-btn:not(.active):hover { color: var(--text); }

.pf-count {
  margin-left: auto;
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--text3);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 14px;
  white-space: nowrap;
}
.pf-count span {
  color: var(--accent);
  font-weight: 700;
}

/* ── PORTFOLIO GRID ── */
.pf-grid {
  columns: 3;
  column-gap: 20px;
}
.pf-item {
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  cursor: none;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.35s;
}
.pf-item.pf-hidden {
  display: none;
}
.pf-item-inner {
  position: relative;
  overflow: hidden;
}
.pf-thumb {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  line-height: 1;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
  min-height: 200px;
}
.pf-item:hover .pf-thumb { transform: scale(1.07); }
.pf-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,8,15,0.92) 0%, rgba(7,8,15,0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  opacity: 0;
  transition: opacity 0.35s;
}
.pf-item:hover .pf-overlay { opacity: 1; }
.pf-overlay-top {
  position: absolute;
  top: 16px; right: 16px;
  opacity: 0;
  transition: opacity 0.35s 0.05s;
}
.pf-item:hover .pf-overlay-top { opacity: 1; }
.pf-open-btn {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(168,85,247,0.9);
  border: none;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 18px;
  cursor: none;
  backdrop-filter: blur(8px);
  transition: all 0.2s;
}
.pf-open-btn:hover { background: var(--accent); transform: scale(1.1); }
.pf-overlay h4 { color: #fff; font-size: 16px; margin-bottom: 6px; }
.pf-overlay-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.pf-overlay-tag {
  padding: 3px 10px;
  background: rgba(168,85,247,0.25);
  border: 1px solid rgba(168,85,247,0.4);
  border-radius: 50px;
  font-size: 11px;
  color: #d8b4fe;
  font-weight: 500;
}
.pf-item-type {
  position: absolute;
  top: 12px; left: 12px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.pf-item-type.video-type { background: rgba(168,85,247,0.8); color: #fff; }
.pf-item-type.image-type { background: rgba(79,70,229,0.8); color: #fff; }

/* ── PORTFOLIO MODAL ── */
#pfModal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}
#pfModal.open { opacity: 1; visibility: visible; }
#pfModalBg {
  position: absolute;
  inset: 0;
  background: rgba(5,5,15,0.92);
  backdrop-filter: blur(12px);
}
#pfModalBox {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 920px;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 24px;
  overflow: hidden;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}
#pfModal.open #pfModalBox { transform: scale(1) translateY(0); }
#pfModalClose {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 10;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(0,0,0,0.5);
  border: 1px solid var(--border2);
  color: #fff;
  font-size: 20px;
  cursor: none;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
  backdrop-filter: blur(8px);
  line-height: 1;
}
#pfModalClose:hover { background: var(--accent); border-color: var(--accent); color: #000; }
#pfModalMedia {
  width: 100%;
  background: #000;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}
#pfModalMedia video,
#pfModalMedia img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
#pfModalMedia .pf-modal-placeholder {
  font-size: 80px;
  opacity: 0.4;
}
#pfModalInfo {
  padding: 28px 32px;
  overflow-y: auto;
}
#pfModalInfo h3 { font-size: 24px; margin-bottom: 8px; }
#pfModalInfo .pf-modal-tags { display:flex; gap:8px; flex-wrap:wrap; margin: 12px 0; }
#pfModalInfo p { font-size: 14px; color: var(--text2); line-height: 1.7; }
.pf-zoom-hint {
  position: absolute;
  bottom: 16px; right: 16px;
  padding: 6px 14px;
  background: rgba(168,85,247,0.9);
  border-radius: 8px;
  font-size: 12px;
  color: #fff;
  display: flex; align-items: center; gap: 6px;
  animation: zoomPulse 2s ease-in-out infinite;
}
@keyframes zoomPulse {
  0%,100%{opacity:0.8;transform:scale(1);}
  50%{opacity:1;transform:scale(1.03);}
}

@media(max-width:900px){
  .pf-grid { columns: 2; }
  .pf-filter-track { overflow-x: auto; }
}
@media(max-width:600px){
  .pf-grid { columns: 1; }
  .pf-filter-wrap { flex-direction: column; align-items: flex-start; }
  .pf-count { margin-left: 0; }
}

/* ═══════════════════════════════════════════
   BLOG PAGE
═══════════════════════════════════════════ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  overflow: hidden;
  cursor: none;
  transition: all 0.35s;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--border2); }
.blog-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center;
  font-size: 48px;
  transition: transform 0.5s;
}
.blog-card:hover .blog-thumb { transform: scale(1.06); }
.blog-thumb-wrap { overflow: hidden; }
.blog-info { padding: 24px; }
.blog-meta {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 12px;
  font-size: 12px; color: var(--text3);
}
.blog-meta .tag { padding: 3px 10px; font-size: 11px; }
.blog-card h4 { font-size: 18px; margin-bottom: 10px; line-height: 1.4; }
.blog-card p { font-size: 13px; margin-bottom: 20px; }
.blog-card .btn { padding: 10px 20px; font-size: 13px; }

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.page-btn {
  width: 44px; height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border2);
  background: var(--surface);
  color: var(--text2);
  font-family: var(--font-body);
  font-size: 14px; font-weight: 500;
  cursor: none;
  transition: all 0.25s;
  display: flex; align-items: center; justify-content: center;
}
.page-btn:hover, .page-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
}

/* ═══════════════════════════════════════════
   CONTACT PAGE
═══════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}
.contact-info h3 { margin-bottom: 16px; }
.contact-info p { margin-bottom: 40px; }
.contact-items { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s;
}
.contact-item:hover { border-color: var(--accent); }
.contact-item-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(0,245,196,0.1);
  border: 1px solid rgba(0,245,196,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.contact-item h5 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.contact-item p { font-size: 14px; margin: 0; }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  padding: 40px;
}
.contact-form h3 { margin-bottom: 8px; }
.contact-form > p { margin-bottom: 32px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-group label { font-size: 13px; font-weight: 500; color: var(--text2); }
.form-control {
  padding: 14px 18px;
  background: var(--bg);
  border: 1px solid var(--border2);
  border-radius: 12px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  transition: all 0.25s;
  outline: none;
}
.form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,245,196,0.1); }
textarea.form-control { min-height: 140px; resize: vertical; }
.form-select {
  padding: 14px 18px;
  background: var(--bg);
  border: 1px solid var(--border2);
  border-radius: 12px;
  color: var(--text2);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  cursor: none;
  transition: border-color 0.25s;
  width: 100%;
}
.form-select:focus { border-color: var(--accent); }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}
.footer-brand p { font-size: 14px; margin-top: 16px; margin-bottom: 24px; max-width: 280px; }
.footer-socials { display: flex; gap: 10px; }
.social-btn {
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border2);
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  cursor: none;
  transition: all 0.25s;
  text-decoration: none;
}
.social-btn:hover { border-color: var(--accent); transform: translateY(-3px); }
.footer-col h5 { font-size: 15px; font-weight: 600; margin-bottom: 20px; color: var(--text); }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  color: var(--text2);
  text-decoration: none;
  font-size: 14px;
  cursor: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 32px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: 13px; color: var(--text3); margin: 0; }
.footer-bottom a { color: var(--accent); text-decoration: none; cursor: none; }

/* ═══════════════════════════════════════════
   PROGRESS BAR
═══════════════════════════════════════════ */
#progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: var(--grad1);
  z-index: 10001;
  width: 0%;
  transition: width 0.1s;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1100px) {
  .services-grid-home, .services-list, .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid, .portfolio-full-grid, .blog-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-intro { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  section { padding: 60px 0; }
  .container { padding: 0 20px; }
  nav { padding: 0 20px; }
  .nav-links, .nav-cta, .theme-toggle { display: none; }
  .hamburger { display: flex; }
  h1 { font-size: 36px; letter-spacing: -1px; }
  h2 { font-size: 28px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .services-grid-home, .services-list, .tech-grid, .team-grid, .values-grid { grid-template-columns: 1fr; }
  .portfolio-grid, .portfolio-full-grid, .blog-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .why-grid, .mission-vision, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 48px 24px; }
  .cta-banner .btn-group { flex-direction: column; align-items: center; }
  .trust-bar-inner { gap: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
  .hero-btns { flex-direction: column; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  #cursor, #cursor-ring { display: none; }
  body { cursor: default; }
  a, button { cursor: pointer; }
  .theme-toggle-mobile { display: flex !important; }
}

@media (max-width: 480px) {
  .portfolio-thumb { font-size: 40px; }
}

/* Theme toggle mobile */
.theme-toggle-mobile {
  display: none;
  margin-top: 20px;
  align-items: center; gap: 12px;
  font-size: 15px; color: var(--text2);
  cursor: pointer;
}

/* Back to top */
#back-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 48px; height: 48px;
  background: var(--grad1);
  border-radius: 12px;
  border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  cursor: none;
  z-index: 500;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.35s;
}
#back-top.show { opacity: 1; transform: none; }
#back-top:hover { transform: translateY(-4px); }

/* ═══════════════════════════════════════════
   LOGO IMAGES & SPLASH
═══════════════════════════════════════════ */
/* Splash */
.splash-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  animation: splashFadeUp 0.8s 0.3s both;
}
.splash-logo-full {
  height: 56px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(168,85,247,0.5));
}
/* Nav logo */
.nav-logo { display:flex; align-items:center; text-decoration:none; cursor:none; }
.nav-logo-img { height:38px; width:auto; object-fit:contain; filter:drop-shadow(0 0 8px rgba(168,85,247,0.3)); }
/* Orbs kept for about/services pages */
.hero-orb { position:absolute; border-radius:50%; filter:blur(80px); opacity:0.12; animation:orbFloat 8s ease-in-out infinite; }
.hero-orb.o1 { width:600px;height:600px; background:var(--accent); top:-200px;right:-100px; }
.hero-orb.o2 { width:400px;height:400px; background:var(--accent2); bottom:-100px;left:-100px; animation-delay:3s; }
.hero-orb.o3 { width:300px;height:300px; background:var(--accent3); top:50%;left:50%; animation-delay:5s; }
@keyframes orbFloat {
  0%,100%{transform:translate(0,0) scale(1);}
  33%{transform:translate(30px,-30px) scale(1.1);}
  66%{transform:translate(-20px,20px) scale(0.9);}
}
.service-icon { width:52px;height:52px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:24px;margin-bottom:16px; }
@media(max-width:900px){
  .services-bento{grid-template-columns:1fr 1fr;}
  .sbento.featured{grid-row:auto;}
}
@media(max-width:600px){
  .services-bento{grid-template-columns:1fr;}
  .tech-strip{grid-template-columns:1fr 1fr;}
  .hero-headline{font-size:52px;letter-spacing:-2px;}
  .svc-panel-inner{grid-template-columns:1fr;}
  .svc-panel-desc{border-right:none;border-bottom:1px solid var(--border);}
}
/* Update service-icon class that may still be referenced */
.service-icon { width:52px;height:52px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:24px;margin-bottom:16px; }
/* services-bento mobile */
@media(max-width:900px){
  .services-bento{grid-template-columns:1fr 1fr;}
  .sbento.featured{grid-row:auto;}
}
@media(max-width:600px){
  .services-bento{grid-template-columns:1fr;}
  .tech-strip{grid-template-columns:1fr 1fr;}
  .hero-headline{font-size:52px;letter-spacing:-2px;}
  .svc-panel-inner{grid-template-columns:1fr;}
  .svc-panel-desc{border-right:none;border-bottom:1px solid var(--border);}
}

/* ══════════════════════════════════════════
   PROJECT MODAL
══════════════════════════════════════════ */
#projectModal {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}
#projectModal.pm-open { opacity: 1; visibility: visible; }
#projectModalBg {
  position: absolute;
  inset: 0;
  background: rgba(4,4,14,0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
#projectModalBox {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 960px;
  max-height: 92vh;
  background: var(--surface);
  border: 1px solid rgba(168,85,247,0.25);
  border-radius: 28px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  overflow: hidden;
  transform: scale(0.88) translateY(32px);
  transition: transform 0.45s cubic-bezier(0.34,1.4,0.64,1);
  box-shadow: 0 40px 100px rgba(0,0,0,0.7), 0 0 0 1px rgba(168,85,247,0.1);
}
#projectModal.pm-open #projectModalBox { transform: scale(1) translateY(0); }
#projectModalClose {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 10;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--surface2);
  border: 1px solid var(--border2);
  color: var(--text2);
  font-size: 18px;
  cursor: none;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.25s;
  line-height: 1;
}
#projectModalClose:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
  transform: rotate(90deg);
}
#projectModalLeft {
  padding: 48px 40px;
  background: linear-gradient(160deg, #0f0520 0%, #1a0535 50%, #0a0a1a 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
#projectModalLeft::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(168,85,247,0.18) 0%, transparent 70%);
  pointer-events: none;
}
#projectModalLeft::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(79,70,229,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.pm-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(168,85,247,0.12);
  border: 1px solid rgba(168,85,247,0.25);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  width: fit-content;
}
#projectModalLeft h2 {
  font-size: 30px;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text);
  letter-spacing: -0.5px;
}
#projectModalLeft p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 32px;
}
.pm-features { display: flex; flex-direction: column; gap: 14px; }
.pm-feature {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; color: var(--text2);
}
.pm-fi {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: rgba(168,85,247,0.1);
  border: 1px solid rgba(168,85,247,0.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
#projectModalRight {
  padding: 40px 40px 36px;
  max-height: calc(92vh - 80px);
  overflow-y: scroll;
  background: var(--surface);
}
.pm-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pm-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.pm-group label { font-size: 13px; font-weight: 500; color: var(--text2); }
.pm-req { color: var(--accent); }
.pm-input {
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--border2);
  border-radius: 12px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  width: 100%;
}
.pm-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(168,85,247,0.12);
}
.pm-select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  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='%23a855f7' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.pm-select option { background: var(--surface); color: var(--text); }
.pm-textarea { min-height: 110px; resize: vertical; }
.pm-submit {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #a855f7 0%, #6d28d9 50%, #4f46e5 100%);
  border: none;
  border-radius: 14px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 4px;
  letter-spacing: 0.3px;
}
.pm-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(168,85,247,0.4); }
.pm-submit:active { transform: translateY(0); }
.pm-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }
.pm-privacy {
  font-size: 11px; color: var(--text3);
  text-align: center; margin-top: 12px; line-height: 1.5;
}
#pmSuccess {
  text-align: center; padding: 48px 24px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  min-height: 400px;
}
.pm-success-icon { font-size: 64px; margin-bottom: 20px; animation: popIn 0.5s cubic-bezier(0.34,1.56,0.64,1); }
#pmSuccess h3 { font-size: 28px; margin-bottom: 12px; }
#pmSuccess p { color: var(--text2); font-size: 15px; max-width: 320px; line-height: 1.6; }
@keyframes popIn { from{transform:scale(0) rotate(-10deg);opacity:0;} to{transform:scale(1) rotate(0deg);opacity:1;} }
@media(max-width: 768px) {
  #projectModalBox { grid-template-columns: 1fr; max-height: 96vh; }
  #projectModalLeft { display: none; }
  #projectModalRight { 
    padding: 48px 20px 32px;
    max-height: calc(96vh - 100px);
    overflow-y: scroll;
  }
  .pm-row { grid-template-columns: 1fr; }
}
