/* ============================================
   AwT Labs — Complete Stylesheet
   ============================================ */

:root {
  --bg-0: #05060f;
  --bg-1: #0b0d1f;
  --bg-2: #10132a;
  --surface: rgba(18, 22, 45, 0.6);
  --surface-2: rgba(24, 28, 55, 0.75);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #e7e9ff;
  --text-dim: #9aa0c7;
  --text-mute: #6d7399;
  --accent: #7b5eff;
  --accent-2: #a78bfa;
  --accent-3: #22d3ee;
  --accent-4: #ec4899;
  --grad: linear-gradient(90deg, #7b5eff, #a78bfa 50%, #22d3ee);
  --grad-2: linear-gradient(135deg, #7b5eff 0%, #ec4899 100%);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  background: var(--bg-0);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: 'Space Grotesk', 'Inter', sans-serif; color: #fff; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 4.4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }

/* ===== Animated Background ===== */
.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: radial-gradient(ellipse at top, #0d1030 0%, var(--bg-0) 60%);
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.55;
  animation: float-orb 20s ease-in-out infinite;
}
.orb-1 { width: 500px; height: 500px; background: #7b5eff; top: -10%; left: -10%; }
.orb-2 { width: 460px; height: 460px; background: #22d3ee; top: 40%; right: -8%; animation-delay: -7s; }
.orb-3 { width: 520px; height: 520px; background: #ec4899; bottom: -15%; left: 30%; animation-delay: -14s; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}
@keyframes float-orb {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(40px,-30px) scale(1.08); }
  66% { transform: translate(-30px,40px) scale(0.95); }
}

/* ===== Loader ===== */
.loader {
  position: fixed; inset: 0;
  background: var(--bg-0);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; }
.loader-ring {
  width: 70px; height: 70px;
  border: 3px solid rgba(255,255,255,0.12);
  border-top-color: var(--accent);
  border-right-color: var(--accent-3);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1.2rem;
}
.loader-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: 3px;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  font-size: 1.2rem;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Top bar ===== */
.top-bar {
  background: rgba(5, 6, 15, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 9px 0;
  font-size: 0.82rem;
  color: var(--text-dim);
}
.top-bar-content {
  max-width: 1400px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 2rem;
}
.top-info span { margin-right: 1.5rem; }
.top-info i { color: var(--accent-2); margin-right: 0.35rem; }
.top-links a { margin-left: 1.2rem; transition: color 0.3s; }
.top-links a:hover { color: #fff; }

/* ===== Navbar ===== */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(11, 13, 31, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: all 0.4s var(--ease);
}
.navbar.scrolled {
  background: rgba(5, 6, 15, 0.92);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  padding: 0;
}
.nav-container {
  max-width: 1400px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2rem;
}
.logo img {
  height: 56px; width: auto;
  transition: transform 0.4s var(--ease), filter 0.4s;
  filter: drop-shadow(0 0 12px rgba(123,94,255,0.35));
}
.logo:hover img { transform: scale(1.06); filter: drop-shadow(0 0 18px rgba(123,94,255,0.6)); }

.nav-links ul { display: flex; list-style: none; gap: 2.2rem; align-items: center; }
.nav-links a {
  color: var(--text-dim); font-weight: 500; font-size: 0.95rem;
  position: relative; padding: 0.3rem 0;
  transition: color 0.3s;
}
.nav-links a::after {
  content: ''; position: absolute;
  width: 0; height: 2px;
  bottom: -6px; left: 0;
  background: var(--grad);
  transition: width 0.4s var(--ease);
  border-radius: 2px;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: #fff; }
.nav-links i.fa-chevron-down { font-size: 0.7rem; margin-left: 0.25rem; }

/* Mega menu */
.has-dropdown { position: relative; }
.has-dropdown > a { padding-bottom: 1.2rem; margin-bottom: -1.2rem; }
.mega-menu {
  position: absolute; top: 100%; left: 50%;
  margin-top: 14px;
  transform: translateX(-50%) translateY(10px);
  background: rgba(14, 16, 35, 0.96);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 2rem 2.5rem;
  min-width: 720px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}
.mega-menu::before {
  content: '';
  position: absolute;
  top: -20px; left: 0; right: 0;
  height: 20px;
  background: transparent;
}
.has-dropdown:hover .mega-menu,
.has-dropdown:focus-within .mega-menu,
.mega-menu:hover {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega-content { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.mega-column h3 { color: #fff; margin-bottom: 1rem; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--accent-2); }
.mega-column a {
  display: flex; align-items: center; gap: 0.7rem;
  color: var(--text-dim); padding: 0.55rem 0;
  font-size: 0.92rem;
  transition: all 0.3s;
}
.mega-column a i { color: var(--accent); font-size: 1rem; width: 20px; }
.mega-column a:hover { color: #fff; transform: translateX(6px); }
.mega-column a::after { display: none; }

/* CTA */
.nav-cta { display: flex; align-items: center; gap: 1rem; }
.search-box { position: relative; }
.search-box input {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 0.65rem 2.5rem 0.65rem 1.1rem;
  color: #fff;
  width: 200px; font-size: 0.88rem;
  transition: all 0.4s var(--ease);
}
.search-box input::placeholder { color: var(--text-mute); }
.search-box input:focus {
  outline: none;
  background: rgba(255,255,255,0.1);
  width: 260px;
  box-shadow: 0 0 0 3px rgba(123,94,255,0.25);
}
.search-box i { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); color: var(--accent-2); font-size: 0.85rem; }

.btn-primary {
  background: var(--grad);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600; font-size: 0.85rem;
  letter-spacing: 0.5px;
  position: relative; overflow: hidden;
  transition: all 0.4s var(--ease);
  box-shadow: 0 8px 25px rgba(123,94,255,0.35);
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 15px 40px rgba(123,94,255,0.55); }
.btn-primary:hover::before { transform: translateX(100%); }

/* Menu toggle */
.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 1001; }
.menu-toggle span {
  width: 26px; height: 2.5px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.4s var(--ease);
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem 3rem;
  position: relative;
}
.hero-content { max-width: 640px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.5rem 1rem;
  background: rgba(123,94,255,0.1);
  border: 1px solid rgba(123,94,255,0.3);
  border-radius: 50px;
  font-size: 0.82rem; color: var(--accent-2);
  margin-bottom: 1.5rem;
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-3);
  box-shadow: 0 0 0 0 rgba(34,211,238,0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34,211,238,0.6); }
  70% { box-shadow: 0 0 0 10px rgba(34,211,238,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,211,238,0); }
}
.hero-title { margin-bottom: 1.5rem; }
.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  background-size: 200% 100%;
  animation: grad-shift 6s linear infinite;
}
@keyframes grad-shift {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
.hero-subtitle {
  color: var(--text-dim);
  font-size: 1.1rem;
  max-width: 560px;
  margin-bottom: 2rem;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.btn-main, .btn-outline {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.95rem 1.8rem;
  border-radius: 50px;
  font-weight: 600; font-size: 0.92rem;
  cursor: pointer; border: none;
  transition: all 0.4s var(--ease);
  position: relative; overflow: hidden;
}
.btn-main {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 30px rgba(123,94,255,0.4);
}
.btn-main::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
  transform: translateX(-100%);
  transition: transform 0.7s;
}
.btn-main:hover { transform: translateY(-3px); box-shadow: 0 18px 45px rgba(123,94,255,0.6); }
.btn-main:hover::before { transform: translateX(100%); }
.btn-main:hover i { transform: translateX(4px); }
.btn-main i { transition: transform 0.3s; }
.btn-outline {
  background: rgba(255,255,255,0.04);
  color: #fff;
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--accent);
  transform: translateY(-3px);
}

.hero-stats { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.hero-stat strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  font-weight: 700;
}
.hero-stat span { color: var(--text-mute); font-size: 0.85rem; }

/* Hero visual */
.hero-visual {
  position: relative;
  height: 560px;
  display: flex; align-items: center; justify-content: center;
}
.visual-wrapper { position: relative; width: 100%; height: 100%; }
.blob-shape {
  position: absolute;
  top: 50%; left: 50%;
  width: 340px; height: 340px;
  background: var(--grad-2);
  border-radius: 50% 60% 40% 55%;
  transform: translate(-50%, -50%);
  filter: blur(2px);
  animation: blob 12s ease-in-out infinite;
  opacity: 0.9;
  box-shadow: 0 0 120px rgba(123,94,255,0.5);
}
@keyframes blob {
  0%,100% { border-radius: 50% 60% 40% 55%; transform: translate(-50%,-50%) rotate(0deg); }
  33% { border-radius: 40% 55% 60% 45%; transform: translate(-50%,-50%) rotate(120deg); }
  66% { border-radius: 60% 45% 55% 40%; transform: translate(-50%,-50%) rotate(240deg); }
}
.ring {
  position: absolute; top: 50%; left: 50%;
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  transform: translate(-50%,-50%);
  animation: spin-slow 30s linear infinite;
}
.ring-1 { width: 380px; height: 380px; border-top-color: var(--accent); }
.ring-2 { width: 460px; height: 460px; border-right-color: var(--accent-3); animation-duration: 45s; animation-direction: reverse; }
.ring-3 { width: 540px; height: 540px; border-left-color: var(--accent-4); animation-duration: 60s; }
@keyframes spin-slow { to { transform: translate(-50%,-50%) rotate(360deg); } }

.core-logo {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 80px; height: 80px;
  background: rgba(5,6,15,0.9);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem;
  color: var(--accent-2);
  box-shadow: 0 0 40px rgba(123,94,255,0.6);
  animation: pulse-core 3s ease-in-out infinite;
}
@keyframes pulse-core {
  0%,100% { box-shadow: 0 0 40px rgba(123,94,255,0.6); }
  50% { box-shadow: 0 0 70px rgba(123,94,255,0.9); }
}
.float-icon {
  position: absolute;
  width: 56px; height: 56px;
  background: rgba(18,22,45,0.9);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
  animation: float-icon 6s ease-in-out infinite;
}
.float-icon.i1 { top: 8%; left: 18%; color: #61dafb; }
.float-icon.i2 { top: 12%; right: 12%; color: #83cd29; animation-delay: -1s; }
.float-icon.i3 { top: 45%; right: 2%; color: #3776ab; animation-delay: -2s; }
.float-icon.i4 { bottom: 18%; right: 18%; color: #ff9900; animation-delay: -3s; }
.float-icon.i5 { bottom: 10%; left: 22%; color: #2496ed; animation-delay: -4s; }
.float-icon.i6 { top: 42%; left: 2%; color: #ec4899; animation-delay: -5s; }
@keyframes float-icon {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.scroll-indicator {
  position: absolute; bottom: 1.5rem; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid var(--border-strong);
  border-radius: 20px;
  display: flex; justify-content: center;
  padding-top: 6px;
}
.scroll-indicator span {
  display: block; width: 3px; height: 8px;
  background: var(--accent-2);
  border-radius: 2px;
  animation: scroll-dot 2s infinite;
}
@keyframes scroll-dot {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(16px); opacity: 0; }
}

/* ===== Marquee ===== */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(5,6,15,0.6);
  overflow: hidden;
  padding: 1.5rem 0;
  margin-top: 2rem;
}
.marquee-track {
  display: flex; gap: 3.5rem;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
}
.marquee-track span {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-mute);
  letter-spacing: 0.5px;
}
.marquee-track i { color: var(--accent); font-size: 0.9rem; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== Section header ===== */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
  padding: 0 1.5rem;
}
.section-header h2 { margin-bottom: 0.8rem; }
.section-header p { color: var(--text-dim); font-size: 1.05rem; }
.eyebrow {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  background: rgba(123,94,255,0.1);
  border: 1px solid rgba(123,94,255,0.25);
  border-radius: 50px;
  color: var(--accent-2);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
}

/* ===== Generic section spacing ===== */
section { padding: 6rem 0; }
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* ===== About ===== */
.about-content h2 { margin: 0.5rem 0 1.2rem; }
.about-content p { color: var(--text-dim); margin-bottom: 1.5rem; }
.check-list { list-style: none; margin-bottom: 2rem; }
.check-list li {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.5rem 0;
  color: var(--text);
}
.check-list i { color: var(--accent-3); font-size: 1.1rem; }

.about-card {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  overflow: hidden;
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.6s var(--ease);
}
.about-card:hover { transform: perspective(1000px) rotateY(0) rotateX(0); }
.about-card-head {
  display: flex; align-items: center; gap: 0.45rem;
  padding: 0.9rem 1.2rem;
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid var(--border);
}
.about-card-head .dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.r { background: #ff5f57; }
.dot.y { background: #febc2e; }
.dot.g { background: #28c840; }
.about-card-head .file {
  margin-left: auto;
  font-size: 0.8rem; color: var(--text-mute);
  font-family: 'Space Grotesk', monospace;
}
.about-code {
  padding: 1.6rem;
  font-family: 'Fira Code', 'Courier New', monospace;
  font-size: 0.92rem;
  color: #e7e9ff;
  line-height: 1.8;
  overflow-x: auto;
}
.about-code .k { color: #c678dd; }
.about-code .c { color: #e5c07b; }
.about-code .s { color: #98c379; }
.about-code .fn { color: #61afef; }

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.service-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.2rem;
  position: relative; overflow: hidden;
  transition: all 0.5s var(--ease);
  backdrop-filter: blur(20px);
  cursor: pointer;
}
.service-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.service-card::after {
  content: ''; position: absolute;
  bottom: -50%; right: -50%;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(123,94,255,0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s;
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(123,94,255,0.4);
  box-shadow: 0 25px 60px rgba(0,0,0,0.5), 0 0 40px rgba(123,94,255,0.15);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover::after { opacity: 1; }
.service-card:hover .sc-icon { transform: rotate(-8deg) scale(1.08); }

.sc-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(123,94,255,0.2), rgba(34,211,238,0.15));
  border: 1px solid rgba(123,94,255,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: var(--accent-2);
  margin-bottom: 1.5rem;
  transition: transform 0.5s var(--ease);
}
.service-card h3 { margin-bottom: 0.7rem; font-size: 1.35rem; }
.service-card p { color: var(--text-dim); margin-bottom: 1.2rem; font-size: 0.95rem; }
.service-card ul { list-style: none; margin-bottom: 1.5rem; }
.service-card ul li {
  position: relative;
  padding-left: 1.3rem;
  color: var(--text-dim);
  font-size: 0.88rem;
  margin-bottom: 0.45rem;
}
.service-card ul li::before {
  content: '▸';
  position: absolute; left: 0;
  color: var(--accent);
}
.sc-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--accent-2);
  font-weight: 600;
  font-size: 0.9rem;
  transition: gap 0.3s;
}
.sc-link:hover { gap: 0.9rem; color: #fff; }

/* ===== Process / Timeline ===== */
.process { background: linear-gradient(180deg, transparent, rgba(123,94,255,0.04), transparent); }
.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
  position: relative;
}
.timeline::before {
  content: ''; position: absolute;
  top: 32px; left: 5%; right: 5%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-3), transparent);
  opacity: 0.4;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.3rem 1.5rem;
  text-align: center;
  position: relative;
  transition: all 0.4s var(--ease);
  backdrop-filter: blur(20px);
}
.step:hover { transform: translateY(-6px); border-color: rgba(123,94,255,0.4); }
.step-num {
  width: 54px; height: 54px;
  margin: 0 auto 1rem;
  background: var(--bg-1);
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--accent-2);
  box-shadow: 0 0 20px rgba(123,94,255,0.4);
}
.step h3 { margin-bottom: 0.5rem; }
.step p { color: var(--text-dim); font-size: 0.9rem; }

/* ===== Work / Portfolio ===== */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.work-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.5s var(--ease);
  backdrop-filter: blur(20px);
}
.work-card:hover {
  transform: translateY(-8px);
  border-color: rgba(123,94,255,0.4);
  box-shadow: 0 25px 60px rgba(0,0,0,0.5);
}
.work-img {
  height: 200px;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
  color: rgba(255,255,255,0.85);
  position: relative;
  overflow: hidden;
}
.work-img::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.25), transparent 60%);
}
.work-card:hover .work-img { filter: brightness(1.2); }
.work-body { padding: 1.5rem; }
.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(123,94,255,0.15);
  color: var(--accent-2);
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.7rem;
}
.work-body h3 { margin-bottom: 0.4rem; }
.work-body p { color: var(--text-dim); font-size: 0.9rem; }

/* ===== Stats ===== */
.stats {
  background: linear-gradient(135deg, rgba(123,94,255,0.08), rgba(34,211,238,0.05));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat span { color: var(--text-dim); font-size: 0.95rem; }

/* ===== Testimonials ===== */
.t-slider { position: relative; overflow: hidden; }
.t-track {
  display: flex;
  transition: transform 0.7s var(--ease);
}
.t-card {
  min-width: 100%;
  padding: 2.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  backdrop-filter: blur(20px);
}
.t-card i {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1.2rem;
  opacity: 0.6;
}
.t-card p {
  font-size: 1.2rem;
  color: var(--text);
  max-width: 720px;
  margin: 0 auto 1.5rem;
  font-style: italic;
  line-height: 1.6;
}
.t-person strong { display: block; color: #fff; font-size: 1rem; }
.t-person span { color: var(--text-mute); font-size: 0.85rem; }
.t-dots {
  display: flex; justify-content: center; gap: 0.6rem;
  margin-top: 1.8rem;
}
.t-dots button {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all 0.3s;
}
.t-dots button.active {
  width: 28px; border-radius: 6px;
  background: var(--grad);
}

/* ===== Team ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
}
.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.5s var(--ease);
  backdrop-filter: blur(20px);
}
.team-card:hover { transform: translateY(-6px); border-color: rgba(123,94,255,0.4); }
.avatar {
  width: 90px; height: 90px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.team-card h3 { margin-bottom: 0.3rem; }
.team-card span { color: var(--text-mute); font-size: 0.85rem; display: block; margin-bottom: 1rem; }
.socials { display: flex; justify-content: center; gap: 0.8rem; }
.socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim);
  transition: all 0.3s;
}
.socials a:hover {
  background: var(--grad);
  color: #fff;
  transform: translateY(-3px);
  border-color: transparent;
}

/* ===== FAQ ===== */
.faq-list { max-width: 820px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: border-color 0.3s;
  backdrop-filter: blur(20px);
}
.faq-item:hover { border-color: rgba(123,94,255,0.35); }
.faq-item summary {
  padding: 1.3rem 1.5rem;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  list-style: none;
  font-weight: 600;
  color: #fff;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i {
  color: var(--accent-2);
  transition: transform 0.4s var(--ease);
  font-size: 0.9rem;
}
.faq-item[open] summary i { transform: rotate(45deg); }
.faq-item p {
  padding: 0 1.5rem 1.3rem;
  color: var(--text-dim);
  animation: fade-in 0.4s ease;
}
@keyframes fade-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== CTA banner ===== */
.cta-banner { padding: 4rem 0; }
.cta-wrap {
  background: linear-gradient(135deg, rgba(123,94,255,0.2), rgba(34,211,238,0.1));
  border: 1px solid rgba(123,94,255,0.4);
  border-radius: 24px;
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(123,94,255,0.25);
}
.cta-wrap::before {
  content: ''; position: absolute;
  top: -50%; left: -10%;
  width: 120%; height: 200%;
  background: radial-gradient(circle, rgba(123,94,255,0.3) 0%, transparent 50%);
  animation: spin-slow 25s linear infinite;
  pointer-events: none;
}
.cta-wrap > * { position: relative; }
.cta-wrap h2 { margin-bottom: 0.6rem; }
.cta-wrap p { color: var(--text-dim); margin-bottom: 1.8rem; }

/* ===== Contact ===== */
.contact-info h2 { margin: 0.5rem 0 1rem; }
.contact-info p { color: var(--text-dim); margin-bottom: 1.8rem; }
.contact-list { list-style: none; margin-bottom: 1.8rem; }
.contact-list li {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.6rem 0;
  color: var(--text);
}
.contact-list i {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(123,94,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-2);
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.2rem;
  backdrop-filter: blur(20px);
}
.contact-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 0.45rem;
  font-weight: 500;
}
.field input, .field textarea, .field select {
  width: 100%;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.3s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(123,94,255,0.2);
  background: rgba(0,0,0,0.5);
}
.contact-form button { width: 100%; justify-content: center; }
.form-note {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.88rem;
  color: var(--accent-3);
  min-height: 1.2em;
}

/* ===== Footer ===== */
.site-footer {
  background: rgba(5,6,15,0.8);
  border-top: 1px solid var(--border);
  padding: 5rem 0 1.5rem;
  backdrop-filter: blur(10px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.foot-logo { height: 50px; margin-bottom: 1rem; }
.foot-col p { color: var(--text-dim); font-size: 0.92rem; margin-bottom: 1.2rem; }
.foot-col h4 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.foot-col a {
  display: block;
  color: var(--text-dim);
  padding: 0.35rem 0;
  font-size: 0.92rem;
  transition: color 0.3s, transform 0.3s;
}
.foot-col a:hover { color: #fff; transform: translateX(4px); }
.foot-form {
  display: flex;
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--border);
  border-radius: 50px;
  overflow: hidden;
  position: relative;
}
.foot-form input {
  flex: 1;
  background: transparent; border: none;
  padding: 0.75rem 1rem;
  color: #fff; font-size: 0.9rem;
}
.foot-form input:focus { outline: none; }
.foot-form button {
  background: var(--grad);
  border: none; color: #fff;
  padding: 0 1.2rem;
  cursor: pointer;
  transition: filter 0.3s;
}
.foot-form button:hover { filter: brightness(1.2); }
.foot-form .ok {
  position: absolute;
  bottom: -1.6rem; left: 0.5rem;
  font-size: 0.8rem;
  color: var(--accent-3);
  opacity: 0;
  transition: opacity 0.4s;
}
.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-mute);
  font-size: 0.85rem;
}
.foot-bottom a { margin: 0 0.4rem; transition: color 0.3s; }
.foot-bottom a:hover { color: #fff; }

/* ===== Back to top ===== */
.to-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 10px 30px rgba(123,94,255,0.5);
  opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: all 0.4s var(--ease);
  z-index: 900;
}
.to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-4px); }

/* ===== Reveal animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .services-grid, .work-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 992px) {
  .menu-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 82%; max-width: 360px;
    height: 100vh;
    background: rgba(5,6,15,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    transition: right 0.55s var(--ease);
    z-index: 999;
    border-left: 1px solid var(--border-strong);
  }
  .nav-links.active { right: 0; }
  .nav-links ul { flex-direction: column; gap: 1.6rem; text-align: center; width: 100%; }
  .has-dropdown > a { padding-bottom: 0.3rem; margin-bottom: 0; }
  .mega-menu {
    position: static; transform: none !important;
    box-shadow: none;
    background: transparent;
    padding: 1rem 0; min-width: auto;
    border: none; margin-top: 0;
    opacity: 1; visibility: visible; pointer-events: auto;
    display: none;
  }
  .mega-menu::before { display: none; }
  .has-dropdown.active .mega-menu { display: block; }
  .has-dropdown:hover .mega-menu { display: none; }
  .has-dropdown.active:hover .mega-menu { display: block; }
  .mega-content { grid-template-columns: 1fr; gap: 1rem; }
  .nav-cta { display: none; }

  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 3rem; min-height: auto; }
  .hero-content { margin: 0 auto; }
  .hero-btns, .hero-stats { justify-content: center; }
  .hero-visual { height: 420px; margin-top: 2rem; }
  .visual-wrapper { transform: scale(0.85); }

  .grid-2 { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-form .row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .top-bar-content { flex-direction: column; gap: 0.4rem; padding: 0 1rem; font-size: 0.72rem; }
  .top-info span { margin-right: 0.8rem; }
  .top-links a { margin-left: 0.7rem; }
  .nav-container { padding: 0.85rem 1rem; }
  .container { padding: 0 1.2rem; }
  section { padding: 4rem 0; }
  .services-grid, .work-grid, .team-grid, .timeline { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .foot-bottom { flex-direction: column; gap: 0.8rem; text-align: center; }
  .hero-visual { height: 340px; }
  .visual-wrapper { transform: scale(0.65); }
  .cta-wrap { padding: 2.5rem 1.2rem; }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--accent), var(--accent-3)); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-2); }

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

/* ============================================
   Service Detail Pages
   ============================================ */
.breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  color: var(--text-mute);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--text-dim); transition: color 0.3s; }
.breadcrumb a:hover { color: var(--accent-2); }
.breadcrumb i { font-size: 0.65rem; }

.svc-hero {
  padding: 7rem 0 5rem;
  text-align: center;
  position: relative;
}
.svc-hero .container { max-width: 900px; }
.svc-hero-icon {
  width: 96px; height: 96px;
  margin: 0 auto 1.5rem;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(123,94,255,0.25), rgba(34,211,238,0.18));
  border: 1px solid rgba(123,94,255,0.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.6rem;
  color: var(--accent-2);
  box-shadow: 0 20px 60px rgba(123,94,255,0.35);
  animation: pulse-core 3s ease-in-out infinite;
}
.svc-hero h1 { margin-bottom: 1rem; }
.svc-hero p.lead {
  color: var(--text-dim);
  font-size: 1.15rem;
  max-width: 720px;
  margin: 0 auto 2rem;
}
.svc-hero .hero-btns { justify-content: center; }

.svc-section { padding: 4.5rem 0; }
.svc-section h2 { margin-bottom: 1rem; }
.svc-section p.lead-sm { color: var(--text-dim); max-width: 720px; margin-bottom: 2rem; }

.svc-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.included-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.6rem;
  transition: all 0.4s var(--ease);
  backdrop-filter: blur(20px);
}
.included-item:hover {
  transform: translateY(-5px);
  border-color: rgba(123,94,255,0.4);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.included-item i {
  font-size: 1.5rem;
  color: var(--accent-2);
  margin-bottom: 0.9rem;
  display: block;
}
.included-item h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.included-item p { color: var(--text-dim); font-size: 0.88rem; }

.svc-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 820px;
  margin: 0 auto;
}
.svc-step {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 1.4rem;
  align-items: flex-start;
  padding: 1.6rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: all 0.4s var(--ease);
  backdrop-filter: blur(20px);
}
.svc-step:hover {
  border-color: rgba(123,94,255,0.4);
  transform: translateX(6px);
}
.svc-step .num {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(123,94,255,0.25), rgba(34,211,238,0.15));
  border: 1px solid rgba(123,94,255,0.4);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--accent-2);
  flex-shrink: 0;
}
.svc-step h3 { margin-bottom: 0.35rem; }
.svc-step p { color: var(--text-dim); font-size: 0.92rem; }

.deliverables {
  list-style: none;
  max-width: 780px;
  margin: 0 auto;
  columns: 2;
  column-gap: 2rem;
}
.deliverables li {
  display: flex; align-items: flex-start; gap: 0.7rem;
  padding: 0.7rem 0;
  color: var(--text);
  break-inside: avoid;
}
.deliverables i { color: var(--accent-3); font-size: 1.1rem; margin-top: 0.15rem; }

.tech-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  max-width: 820px;
  margin: 0 auto;
}
.tech-pills span {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s;
  backdrop-filter: blur(20px);
}
.tech-pills span:hover {
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(123,94,255,0.3);
}
.tech-pills i { color: var(--accent-2); }

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  max-width: 1040px;
  margin: 0 auto;
}
.tl-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.6rem;
  text-align: center;
  transition: all 0.4s var(--ease);
  backdrop-filter: blur(20px);
}
.tl-card:hover { border-color: rgba(123,94,255,0.4); transform: translateY(-4px); }
.tl-card .tl-week {
  font-size: 0.75rem;
  color: var(--accent-2);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
}
.tl-card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.tl-card p { color: var(--text-dim); font-size: 0.85rem; }

.back-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1.3rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-strong);
  border-radius: 50px;
  color: var(--text-dim);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.3s;
}
.back-btn:hover {
  background: rgba(123,94,255,0.15);
  border-color: var(--accent);
  color: #fff;
  transform: translateX(-3px);
}

.book-btn-fixed {
  position: fixed;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%) translateY(100px);
  padding: 1rem 2rem;
  background: var(--grad);
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 15px 40px rgba(123,94,255,0.5);
  z-index: 800;
  transition: all 0.5s var(--ease);
  display: inline-flex; align-items: center; gap: 0.6rem;
}
.book-btn-fixed.visible { transform: translateX(-50%) translateY(0); }
.book-btn-fixed:hover { transform: translateX(-50%) translateY(-4px); box-shadow: 0 20px 50px rgba(123,94,255,0.7); }

@media (max-width: 1100px) {
  .included-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-split { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .included-grid, .timeline-grid { grid-template-columns: 1fr; }
  .deliverables { columns: 1; }
  .svc-step { grid-template-columns: 1fr; }
  .svc-hero { padding: 5rem 0 3rem; }
}

/* ============================================
   Performance Optimisations & Advanced Features
   ============================================ */

/* Promote animated elements to GPU compositor layers */
.orb,
.blob-shape,
.ring,
.float-icon,
.marquee-track,
.loader-ring {
  will-change: transform;
}

/* Reduce backdrop-filter blur on card elements from 20px → 10px.
   This is the primary fix for post-deployment UI jank —
   simultaneous blur layers are the largest GPU bottleneck. */
.service-card,
.work-card,
.step,
.team-card,
.faq-item,
.t-card,
.about-card,
.contact-form,
.included-item,
.svc-step,
.tl-card,
.float-icon,
.tech-pills span {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* CSS containment — prevents style/layout changes inside sections
   from triggering full-page recalculations */
.services,
.work,
.team,
.faq,
.process,
.testimonials {
  contain: layout style;
}

/* ---- Scroll progress bar ---- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--grad);
  z-index: 10000;
  pointer-events: none;
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 10px rgba(123, 94, 255, 0.7);
  transition: width 0.08s linear;
}

/* ---- Cursor glow (desktop / fine-pointer devices only) ---- */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 94, 255, 0.07) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
  transform: translate(-250px, -250px);
}
@media (pointer: coarse) {
  .cursor-glow { display: none; }
}

/* ---- Smooth image rendering ---- */
img {
  image-rendering: auto;
}
