/* ============================================================
   LIKHON AHMED | Personal Website — Production Stylesheet
   ============================================================ */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ---- CSS Variables ---- */
:root {
  --bg-base:      #030712;
  --bg-surface:   #0f172a;
  --bg-elevated:  #1e293b;
  --bg-glass:     rgba(15, 23, 42, 0.7);
  --bg-glass-2:   rgba(30, 41, 59, 0.5);

  --primary:        #6366f1;
  --primary-light:  #818cf8;
  --primary-dark:   #4f46e5;
  --cyan:           #06b6d4;
  --cyan-light:     #22d3ee;
  --emerald:        #10b981;
  --emerald-light:  #34d399;
  --violet:         #8b5cf6;
  --gold:           #f59e0b;

  --text-primary:   #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted:     #475569;

  --grad-primary:  linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
  --grad-text:     linear-gradient(135deg, #818cf8 0%, #c084fc 50%, #22d3ee 100%);
  --grad-cyan:     linear-gradient(135deg, #06b6d4 0%, #10b981 100%);
  --grad-card:     linear-gradient(135deg, rgba(99,102,241,0.08) 0%, rgba(139,92,246,0.04) 100%);
  --grad-hero:     radial-gradient(ellipse at 20% 50%, rgba(99,102,241,0.15) 0%, transparent 60%),
                   radial-gradient(ellipse at 80% 20%, rgba(6,182,212,0.12) 0%, transparent 60%),
                   radial-gradient(ellipse at 50% 90%, rgba(139,92,246,0.10) 0%, transparent 60%);

  --border:        rgba(99,102,241,0.18);
  --border-hover:  rgba(99,102,241,0.45);
  --border-bright: rgba(99,102,241,0.6);
  --border-cyan:   rgba(6,182,212,0.3);

  --shadow-sm:   0 2px 8px rgba(0,0,0,0.35);
  --shadow-md:   0 8px 24px rgba(0,0,0,0.45);
  --shadow-lg:   0 20px 60px rgba(0,0,0,0.55);
  --shadow-glow: 0 0 40px rgba(99,102,241,0.25), 0 0 80px rgba(99,102,241,0.1);
  --shadow-cyan: 0 0 40px rgba(6,182,212,0.2);

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   18px;
  --radius-xl:   24px;
  --radius-full: 9999px;

  --transition: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

  --font-heading: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --container: 1280px;
  --pad: clamp(1rem, 4vw, 2rem);

  --nav-h: 68px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-light); }

/* ---- Selection ---- */
::selection { background: rgba(99,102,241,0.3); color: var(--text-primary); }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section {
  padding: clamp(4rem, 10vw, 7rem) 0;
}

.section--alt {
  background: linear-gradient(180deg, var(--bg-base) 0%, var(--bg-surface) 50%, var(--bg-base) 100%);
}

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }

.flex   { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.heading-xl {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.heading-lg {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.heading-md {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.heading-sm {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.3;
}

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

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

.inline-link {
  color: var(--primary-light);
  text-decoration: underline;
  text-decoration-color: rgba(129, 140, 248, 0.45);
  text-underline-offset: 0.18em;
  transition: var(--transition-fast);
}
.inline-link:hover {
  color: var(--text-primary);
  text-decoration-color: rgba(241, 245, 249, 0.7);
}

.text-muted { color: var(--text-secondary); }
.text-sm    { font-size: 0.875rem; }
.text-xs    { font-size: 0.75rem; font-letter-spacing: 0.05em; }
.text-center { text-align: center; }

/* ---- Section Label ---- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-light);
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.25);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  background: var(--primary-light);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--primary-light);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}
.section-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-top: 1rem;
  line-height: 1.7;
}

/* ============================================================
   COMPONENTS
   ============================================================ */

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  isolation: isolate;
  cursor: pointer;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}
.btn:hover::before { opacity: 1; }
/* Child elements also sit above the ::before overlay */
.btn > * { position: relative; z-index: 1; }

.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(99,102,241,0.4);
}
.btn-primary::before {
  background: linear-gradient(135deg, #818cf8 0%, #a78bfa 50%, #22d3ee 100%);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99,102,241,0.5), var(--shadow-glow);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.btn-outline::before { background: rgba(99,102,241,0.1); }
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-cyan {
  background: var(--grad-cyan);
  color: #fff;
  box-shadow: 0 4px 20px rgba(6,182,212,0.35);
}
.btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(6,182,212,0.5), var(--shadow-cyan);
}

.btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; }
.btn-sm { padding: 0.55rem 1.25rem; font-size: 0.85rem; }

/* ---- Cards ---- */
.card {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  backdrop-filter: blur(20px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-card);
  opacity: 0;
  transition: var(--transition);
  border-radius: inherit;
}
.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}
.card:hover::before { opacity: 1; }
.card > * { position: relative; z-index: 1; }

/* ---- Badges ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.badge-primary { background: rgba(99,102,241,0.15); color: var(--primary-light); border: 1px solid rgba(99,102,241,0.3); }
.badge-cyan    { background: rgba(6,182,212,0.15); color: var(--cyan-light); border: 1px solid rgba(6,182,212,0.3); }
.badge-emerald { background: rgba(16,185,129,0.15); color: var(--emerald-light); border: 1px solid rgba(16,185,129,0.3); }
.badge-gold    { background: rgba(245,158,11,0.15); color: #fbbf24; border: 1px solid rgba(245,158,11,0.3); }

/* ---- Glow Orbs ---- */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  will-change: transform;
}
.orb-primary { background: rgba(99,102,241,0.3); }
.orb-cyan    { background: rgba(6,182,212,0.2); }
.orb-violet  { background: rgba(139,92,246,0.25); }

/* ---- Icon Box ---- */
.icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.2);
  margin-bottom: 1.25rem;
  transition: var(--transition);
  flex-shrink: 0;
}
.icon-box-lg { width: 64px; height: 64px; font-size: 1.75rem; border-radius: var(--radius-lg); }
.icon-box-cyan { background: rgba(6,182,212,0.1); border-color: rgba(6,182,212,0.2); }
.icon-box-emerald { background: rgba(16,185,129,0.1); border-color: rgba(16,185,129,0.2); }
.icon-box-violet  { background: rgba(139,92,246,0.1); border-color: rgba(139,92,246,0.2); }

.card:hover .icon-box { box-shadow: 0 0 20px rgba(99,102,241,0.3); }

/* ---- Divider ---- */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.nav.scrolled {
  background: rgba(3,7,18,0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(99,102,241,0.08), var(--shadow-md);
}

/* Wrapper must fill nav height exactly */
.nav > .container {
  height: 100%;
}

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
  flex-shrink: 0;
  letter-spacing: -0.01em;
  transition: opacity var(--transition-fast);
}
.nav__logo:hover { opacity: 0.85; }
.nav__logo-mark {
  width: 36px;
  height: 36px;
  background: var(--grad-primary);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 4px 14px rgba(99,102,241,0.45);
  letter-spacing: -0.03em;
  flex-shrink: 0;
}
.nav__logo span { color: var(--primary-light); }

/* Desktop links */
.nav__links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.nav__link {
  position: relative;
  padding: 0.42rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast), background var(--transition-fast);
  white-space: nowrap;
}
.nav__link:hover {
  color: var(--text-primary);
  background: rgba(99,102,241,0.08);
}
.nav__link.active {
  color: var(--primary-light);
  background: rgba(99,102,241,0.12);
}

/* CTA side */
.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0.45rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}
.nav__hamburger:hover { background: rgba(99,102,241,0.1); }
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.nav__mobile {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(3,7,18,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 1rem var(--pad) 1.5rem;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 999;
  box-shadow: var(--shadow-md);
}
.nav__mobile.open { display: flex; }
.nav__mobile .nav__link {
  font-size: 0.975rem;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
}
.nav__mobile .nav__link:hover { color: var(--text-primary); background: rgba(99,102,241,0.08); }
.nav__mobile .btn {
  margin-top: 0.75rem;
  text-align: center;
  justify-content: center;
  width: 100%;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: var(--grad-hero);
  z-index: 0;
}

/* Grid pattern overlay */
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

#particles-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__orb-1 { width: 500px; height: 500px; top: -150px; left: -150px; z-index: 0; }
.hero__orb-2 { width: 400px; height: 400px; bottom: -100px; right: -100px; z-index: 0; }

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem 0.45rem 0.6rem;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.3);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 1.75rem;
  animation: fadeInDown 0.6s ease both;
}
.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--emerald-light);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--emerald-light);
  animation: pulse 2s infinite;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.7s ease 0.1s both;
}

.hero__typing-wrap {
  overflow: hidden;
  display: block;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 620px;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.7s ease 0.2s both;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.7s ease 0.3s both;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 1.5rem;
  animation: fadeInUp 0.7s ease 0.4s both;
}
.hero__stat {
  display: flex;
  flex-direction: column;
}
.hero__stat-num {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
  font-weight: 500;
}
.hero__stat-sep {
  width: 1px;
  background: var(--border);
  align-self: stretch;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: fadeIn 1s ease 1s both;
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--primary), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(15,23,42,0.5);
}
.trust__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  overflow: hidden;
}
.trust__label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.trust__logos {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.trust__logo {
  font-family: var(--font-heading);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  opacity: 0.6;
  transition: var(--transition);
  letter-spacing: -0.01em;
}
.trust__logo:hover { opacity: 1; color: var(--text-secondary); }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about__image-wrap {
  position: relative;
}
.about__image-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about__avatar-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(99,102,241,0.1) 0%, rgba(6,182,212,0.05) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
}
.about__badge-float {
  position: absolute;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.about__badge-float--tl { top: 1.5rem; left: -1.5rem; }
.about__badge-float--br { bottom: 1.5rem; right: -1.5rem; }
.about__badge-float .icon-box { width: 38px; height: 38px; font-size: 1.1rem; margin: 0; }
.about__badge-float-text { display: flex; flex-direction: column; }
.about__badge-float-val {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
}
.about__badge-float-desc { font-size: 0.75rem; color: var(--text-secondary); }

.about__content { display: flex; flex-direction: column; gap: 1.5rem; }
.about__text { color: var(--text-secondary); line-height: 1.8; font-size: 1rem; }
.about__highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.about__highlight {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.about__highlight::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: rgba(16,185,129,0.15);
  color: var(--emerald-light);
  border-radius: 50%;
  font-size: 0.7rem;
  flex-shrink: 0;
  font-weight: 700;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.service-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  cursor: default;
}
.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
}
.service-card__desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
}
.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}
.service-card__tag {
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.15);
  border-radius: var(--radius-full);
  color: var(--text-muted);
}

/* Featured service card */
.service-card--featured {
  background: linear-gradient(135deg, rgba(99,102,241,0.12) 0%, rgba(139,92,246,0.08) 50%, rgba(6,182,212,0.06) 100%);
  border-color: rgba(99,102,241,0.35);
}

/* ============================================================
   AI SHIFT SECTION
   ============================================================ */
.ai-shift {
  position: relative;
  overflow: hidden;
}
.ai-shift__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(99,102,241,0.12) 0%, transparent 70%);
}
.ai-shift__grid-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.ai-shift__engines {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.ai-engine-card {
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: var(--bg-glass);
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
}
.ai-engine-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}
.ai-engine-card__icon { font-size: 2rem; margin-bottom: 0.5rem; }
.ai-engine-card__name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}
.ai-engine-card__desc { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.25rem; }
.ai-shift__features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.ai-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.ai-feature__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.ai-feature__text h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.ai-feature__text p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; }

/* ============================================================
   PROCESS SECTION
   ============================================================ */
.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process__steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), var(--border), transparent);
  z-index: 0;
}
.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}
.process-step__num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  transition: var(--transition);
  position: relative;
}
.process-step:hover .process-step__num {
  background: var(--grad-primary);
  border-color: transparent;
  box-shadow: var(--shadow-glow);
  transform: scale(1.1);
}
.process-step__num span {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.process-step:hover .process-step__num span {
  -webkit-text-fill-color: white;
}
.process-step__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}
.process-step__desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-section {
  background: linear-gradient(135deg, rgba(99,102,241,0.08) 0%, rgba(139,92,246,0.05) 50%, rgba(6,182,212,0.06) 100%);
  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-item {}
.stat-item__num {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}
.stat-item__label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.stat-item__sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ============================================================
   WHY CHOOSE ME SECTION
   ============================================================ */
.why-card {
  padding: 2rem;
}
.why-card__num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--primary-light);
  margin-bottom: 1rem;
  opacity: 0.7;
}
.why-card__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.why-card__desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================================
   EXPERTISE / SKILLS
   ============================================================ */
.expertise__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.expertise__tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  cursor: default;
}
.expertise__tag:hover {
  border-color: var(--primary);
  color: var(--text-primary);
  background: rgba(99,102,241,0.1);
  box-shadow: 0 0 15px rgba(99,102,241,0.15);
  transform: translateY(-2px);
}
.expertise__tag-icon { font-size: 1.1rem; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.testimonial-card__stars {
  display: flex;
  gap: 2px;
  color: var(--gold);
  font-size: 0.9rem;
}
.testimonial-card__text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  font-style: italic;
  flex: 1;
}
.testimonial-card__text::before { content: '"'; }
.testimonial-card__text::after  { content: '"'; }
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  flex-shrink: 0;
}
.testimonial-card__name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
}
.testimonial-card__role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq__list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 0;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  transition: var(--transition-fast);
}
.faq-btn:hover { color: var(--primary-light); }
.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  transition: var(--transition);
  color: var(--primary-light);
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: rgba(99,102,241,0.2); }
.faq-answer {
  display: none;
  padding-bottom: 1.35rem;
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.8;
}
.faq-item.open .faq-answer { display: block; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}
.cta-banner__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99,102,241,0.15) 0%, rgba(139,92,246,0.1) 50%, rgba(6,182,212,0.1) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-banner__orb-1 {
  position: absolute;
  width: 400px;
  height: 400px;
  top: -100px;
  left: -100px;
  background: rgba(99,102,241,0.15);
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.cta-banner__orb-2 {
  position: absolute;
  width: 300px;
  height: 300px;
  bottom: -80px;
  right: -80px;
  background: rgba(6,182,212,0.12);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.cta-banner__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.cta-banner__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
}
.cta-banner__subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.cta-banner__btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}
.contact__info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.contact__info-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.contact__info-desc { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.7; }
.contact__items { display: flex; flex-direction: column; gap: 1rem; }
.contact__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.contact__item:hover {
  border-color: var(--border-hover);
  background: rgba(99,102,241,0.05);
}
.contact__item-icon {
  width: 40px;
  height: 40px;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact__item-text { display: flex; flex-direction: column; }
.contact__item-label { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.contact__item-value { font-size: 0.95rem; color: var(--text-primary); font-weight: 500; }
.contact__socials { display: flex; gap: 0.75rem; }
.contact__social {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--bg-glass);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
}
.contact__social:hover {
  border-color: var(--primary);
  background: rgba(99,102,241,0.1);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* Contact Form */
.contact-form {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  backdrop-filter: blur(20px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.25rem; }
.form-label { font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); }
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-muted); }
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
  background: rgba(99,102,241,0.04);
}
.form-textarea { min-height: 130px; resize: vertical; }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.8rem center; background-size: 1rem; padding-right: 2.5rem; }
.form-select option { background: var(--bg-surface); }
.form-submit { width: 100%; margin-top: 0.5rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 4rem 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer__brand { display: flex; flex-direction: column; gap: 1.25rem; }
.footer__brand-name {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
}
.footer__brand-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 280px;
}
.footer__socials { display: flex; gap: 0.6rem; }
.footer__social {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: var(--transition);
  color: var(--text-muted);
}
.footer__social:hover { background: rgba(99,102,241,0.1); border-color: var(--primary); color: var(--primary-light); }

.footer__col-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer__links { display: flex; flex-direction: column; gap: 0.65rem; }
.footer__link {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}
.footer__link:hover { color: var(--primary-light); }

.footer__newsletter { display: flex; flex-direction: column; gap: 0.75rem; }
.footer__newsletter-desc { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; }
.footer__newsletter-form { display: flex; gap: 0.5rem; }
.footer__newsletter-input {
  flex: 1;
  padding: 0.65rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.85rem;
  outline: none;
  transition: var(--transition);
}
.footer__newsletter-input::placeholder { color: var(--text-muted); }
.footer__newsletter-input:focus { border-color: var(--primary); }
.footer__newsletter-btn {
  padding: 0.65rem 1rem;
  background: var(--grad-primary);
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}
.footer__newsletter-btn:hover { opacity: 0.9; transform: translateY(-1px); }

.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer__copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.footer__copy a { color: var(--primary-light); }
.footer__bottom-links {
  display: flex;
  gap: 1.5rem;
}
.footer__bottom-link {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}
.footer__bottom-link:hover { color: var(--primary-light); }

/* ============================================================
   RESOURCE CARDS
   ============================================================ */
.resource-card {
  display: flex;
  flex-direction: column;
}
.resource-card:hover .icon-box {
  box-shadow: 0 0 24px rgba(99,102,241,0.35);
  transform: translateY(-2px);
}

/* ============================================================
   ENHANCED VISUAL POLISH
   ============================================================ */

/* Improved section-label with shimmer effect */
.section-label {
  position: relative;
  overflow: hidden;
}
.section-label::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.06) 50%, transparent 100%);
  animation: shimmer 3s infinite;
  pointer-events: none;
}
@keyframes shimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

/* Improved card border glow on hover */
.card:hover {
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(99,102,241,0.2), var(--shadow-glow);
}

/* Better focus states for accessibility */
.btn:focus-visible,
.form-input:focus-visible,
.form-textarea:focus-visible,
.form-select:focus-visible {
  outline: 2px solid var(--primary-light);
  outline-offset: 3px;
}

/* Form input error state */
.form-input[aria-invalid="true"],
.form-textarea[aria-invalid="true"],
.form-select[aria-invalid="true"] {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.15);
}

/* Inline form field error messages */
.form-field-error {
  font-size: 0.78rem;
  color: #fca5a5;
  margin-top: -0.5rem;
  margin-bottom: 0.5rem;
  display: block;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeIn      { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp    { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown  { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInLeft  { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: translateX(0); } }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 6px var(--emerald-light); opacity: 1; }
  50%       { box-shadow: 0 0 14px var(--emerald-light); opacity: 0.7; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

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

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

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left  { transform: translateX(-30px); }
.reveal-right { transform: translateX(30px); }
.reveal-left.visible,
.reveal-right.visible { transform: translateX(0); }

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

/* ============================================================
   CURSOR GLOW EFFECT
   ============================================================ */
.cursor-glow {
  pointer-events: none;
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,0.06) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  z-index: 9999;
  transition: 0.1s ease;
  top: 0;
  left: 0;
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding: calc(var(--nav-h) + 4rem) 0 4rem;
  position: relative;
  overflow: hidden;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(99,102,241,0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 30%, rgba(6,182,212,0.08) 0%, transparent 60%);
}
.page-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}
.page-hero__content { position: relative; z-index: 1; text-align: center; max-width: 760px; margin: 0 auto; }
.page-hero__title { margin-bottom: 1rem; }
.page-hero__desc { font-size: 1.05rem; color: var(--text-secondary); line-height: 1.7; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  justify-content: center;
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--primary-light); transition: var(--transition-fast); }
.breadcrumb a:hover { color: var(--text-primary); }
.breadcrumb span { color: var(--text-muted); }

/* ============================================================
   UTILITIES
   ============================================================ */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* Notification */
.form-notification {
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  display: none;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}
.form-notification.success {
  display: flex;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.3);
  color: var(--emerald-light);
}
.form-notification.error {
  display: flex;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3);
  color: #fca5a5;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .about__grid       { grid-template-columns: 1fr; gap: 3rem; }
  .about__image-wrap { max-width: 420px; margin: 0 auto; }
  .about__badge-float--tl { left: 0; }
  .about__badge-float--br { right: 0; }
  .ai-shift__grid-wrap { grid-template-columns: 1fr; gap: 3rem; }
  .contact__grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer__grid  { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .stats__grid   { grid-template-columns: repeat(2, 1fr); }
  .process__steps { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .process__steps::before { display: none; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  .nav__links    { display: none; }
  .nav__actions  .btn { display: none; }
  .nav__hamburger { display: flex; }

  .hero__content { text-align: center; }
  .hero__cta { justify-content: center; }
  .hero__stats { justify-content: center; }
  .hero__stat-sep { display: none; }

  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }

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

  .ai-shift__engines { grid-template-columns: 1fr 1fr; }

  /* ---- Button alignment on mobile ---- */

  /* Flex button groups → center items */
  .btn-group {
    justify-content: center;
  }

  /* Standalone action buttons in service detail sections → full width, centered */
  .service-detail__content .btn {
    width: 100% !important;
    justify-content: center;
    text-align: center;
  }

  /* AI shift section standalone CTA button */
  .ai-shift__grid-wrap > div > a.btn {
    width: 100% !important;
    justify-content: center;
  }

  /* Section-level CTA buttons with inline fit-content width */
  .section a.btn[style*="fit-content"],
  .section__cta a.btn {
    width: 100% !important;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .process__steps { grid-template-columns: 1fr; }
  .cta-banner__btns .btn { width: 100%; justify-content: center; }
  .contact-form { padding: 1.75rem; }

  /* All buttons full-width at small phone size */
  .btn-group .btn { width: 100%; justify-content: center; }
  .service-detail__content .btn { width: 100% !important; justify-content: center; }
}

/* ============================================================
   HERO VISUAL — Custom SEO/AI UI Mockup
   ============================================================ */

/* Two-column hero layout */
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  width: 100%;
  min-width: 0;
  position: relative;
  z-index: 2;
}

.hero__inner > * {
  min-width: 0;
}

/* Visual container */
.hero__visual {
  position: relative;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Background glow behind the cards */
.hero__visual-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,0.18) 0%, rgba(6,182,212,0.08) 50%, transparent 75%);
  filter: blur(40px);
  pointer-events: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}

/* ---- Base vis card ---- */
.hvc {
  position: absolute;
  background: rgba(15,23,42,0.88);
  border: 1px solid rgba(99,102,241,0.28);
  border-radius: 16px;
  backdrop-filter: blur(24px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.4s ease;
}
.hvc:hover {
  transform: translateY(-6px) scale(1.02) !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 40px rgba(99,102,241,0.2);
  z-index: 20 !important;
}

/* ---- SERP card (main, center) ---- */
.hvc--serp {
  width: 310px;
  top: 50%;
  left: 50%;
  transform: translate(-58%, -50%);
  z-index: 10;
  animation: floatA 6s ease-in-out infinite;
}
.hvc__chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(99,102,241,0.15);
  background: rgba(255,255,255,0.02);
}
.hvc__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.hvc__url-bar {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 3px 10px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hvc__body { padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }

/* SERP rows */
.serp-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 0.2s;
}
.serp-row--top {
  background: linear-gradient(135deg, rgba(99,102,241,0.12) 0%, rgba(6,182,212,0.07) 100%);
  border: 1px solid rgba(99,102,241,0.3);
  box-shadow: 0 0 16px rgba(99,102,241,0.12);
}
.serp-row--dim { opacity: 0.38; filter: blur(0.4px); }
.serp-rank {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}
.serp-rank--1 {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 0 10px rgba(99,102,241,0.5);
}
.serp-rank--dim {
  background: rgba(255,255,255,0.05);
  color: var(--text-muted);
}
.serp-meta { flex: 1; min-width: 0; }
.serp-site {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.62rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.serp-site-icon {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--grad-primary);
  display: inline-block;
  flex-shrink: 0;
}
.serp-title {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.serp-title--top { color: #a5b4fc; }
.serp-snippet {
  font-size: 0.6rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.serp-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.55rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(16,185,129,0.15);
  color: var(--emerald-light);
  border: 1px solid rgba(16,185,129,0.3);
  margin-top: 4px;
}

/* ---- AI Citation card (top-right) ---- */
.hvc--ai {
  width: 220px;
  top: 4%;
  right: 0;
  z-index: 12;
  animation: floatB 7s ease-in-out infinite;
  border-color: rgba(6,182,212,0.35);
}
.hvc__ai-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(6,182,212,0.15);
  background: rgba(6,182,212,0.05);
}
.hvc__ai-logo {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: linear-gradient(135deg, #10a37f, #0ea5e9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: #fff;
  font-weight: 800;
  flex-shrink: 0;
}
.hvc__ai-name {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--cyan-light);
}
.hvc__ai-live {
  margin-left: auto;
  width: 6px;
  height: 6px;
  background: var(--emerald-light);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--emerald-light);
  animation: pulse 2s infinite;
}
.hvc__ai-body { padding: 12px 14px; }
.ai-q {
  font-size: 0.62rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-style: italic;
}
.ai-bubble {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(6,182,212,0.15);
  border-radius: 0 8px 8px 8px;
  padding: 8px 10px;
  font-size: 0.65rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.ai-bubble strong { color: var(--cyan-light); }
.ai-cited {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--emerald-light);
}
.ai-cited::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  background: rgba(16,185,129,0.15);
  border-radius: 50%;
  font-size: 0.55rem;
}

/* ---- Traffic stats card (bottom-right) ---- */
.hvc--stats {
  width: 185px;
  bottom: 3%;
  right: 2%;
  z-index: 11;
  animation: floatC 5.5s ease-in-out infinite;
}
.hvc__stats-body { padding: 14px; }
.hvc__stats-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.hvc__stats-val {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--emerald-light);
  line-height: 1;
  margin-bottom: 10px;
  text-shadow: 0 0 20px rgba(52,211,153,0.4);
}
/* Sparkline chart */
.sparkline {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 36px;
}
.spark-bar {
  flex: 1;
  background: rgba(99,102,241,0.3);
  border-radius: 2px 2px 0 0;
  transition: background 0.3s;
  min-height: 3px;
}
.spark-bar:last-child { background: var(--emerald-light); box-shadow: 0 0 8px rgba(52,211,153,0.5); }
.spark-bar:nth-last-child(2) { background: rgba(52,211,153,0.6); }
.spark-bar:nth-last-child(3) { background: rgba(99,102,241,0.6); }

/* ---- Authority score card (left side, small) ---- */
.hvc--score {
  width: 150px;
  top: 12%;
  left: 0;
  z-index: 11;
  animation: floatD 8s ease-in-out infinite;
}
.hvc__score-body { padding: 12px 14px; text-align: center; }
.hvc__score-label {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.hvc__score-ring {
  position: relative;
  width: 70px;
  height: 70px;
  margin: 0 auto 8px;
}
.hvc__score-ring svg { transform: rotate(-90deg); }
.hvc__score-ring-track { fill: none; stroke: rgba(255,255,255,0.06); stroke-width: 5; }
.hvc__score-ring-fill {
  fill: none;
  stroke-width: 5;
  stroke-linecap: round;
  stroke: url(#scoreGrad);
  stroke-dasharray: 188.5;
  stroke-dashoffset: 37.7; /* ~80% filled */
  animation: ringFill 2s ease 0.5s both;
}
@keyframes ringFill {
  from { stroke-dashoffset: 188.5; }
  to   { stroke-dashoffset: 37.7; }
}
.hvc__score-num {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hvc__score-sub { font-size: 0.6rem; color: var(--text-muted); }

/* SVG connector lines */
.hero-vis-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
}

/* Float animations */
@keyframes floatA {
  0%, 100% { transform: translate(-58%, -50%) translateY(0px); }
  50%       { transform: translate(-58%, -50%) translateY(-10px); }
}
@keyframes floatB {
  0%, 100% { transform: translateY(0px) rotate(0.5deg); }
  50%       { transform: translateY(-12px) rotate(-0.5deg); }
}
@keyframes floatC {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}
@keyframes floatD {
  0%, 100% { transform: translateY(0px) rotate(-0.5deg); }
  50%       { transform: translateY(-14px) rotate(0.5deg); }
}
/* Disable floats when hovered so :hover takes over cleanly */
.hvc:hover { animation-play-state: paused; }

/* ---- Responsive: stack on mobile ---- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .hero__content { text-align: center; max-width: 700px; margin: 0 auto; }
  .hero__cta    { justify-content: center; }
  .hero__stats  { justify-content: center; }
  .hero__stat-sep { display: none; }
  .hero__trust-row { justify-content: center; }
}

/* ============================================================
   FLOATING ACTION BUTTONS (WhatsApp + Back to Top)
   ============================================================ */

/* Stack container — bottom-right corner */
.fab-stack {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 950;
}

/* Shared base pill/button */
.fab {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1),
              box-shadow 0.3s ease,
              opacity 0.3s ease;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.fab::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.25s ease;
  border-radius: inherit;
  pointer-events: none;
}
.fab:hover::before { opacity: 1; }
.fab:hover { transform: translateY(-4px) scale(1.05); }
.fab > * { position: relative; z-index: 1; }
.fab:active { transform: translateY(-1px) scale(0.97); }

/* ── WhatsApp button ── */
.fab-whatsapp {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  box-shadow: 0 6px 24px rgba(37,211,102,0.45), 0 2px 8px rgba(0,0,0,0.3);
  color: #fff;
  font-size: 1.55rem;
  line-height: 1;
}
.fab-whatsapp::before {
  background: linear-gradient(135deg, #2eeb72 0%, #1aad5e 100%);
}
.fab-whatsapp:hover {
  box-shadow: 0 10px 36px rgba(37,211,102,0.6), 0 4px 12px rgba(0,0,0,0.35);
}

/* Pulse ring on WhatsApp */
.fab-whatsapp::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.6);
  animation: fabPulse 2.5s ease-out infinite;
  pointer-events: none;
}
@keyframes fabPulse {
  0%   { transform: scale(1);   opacity: 0.8; }
  80%  { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* WhatsApp tooltip */
.fab-whatsapp .fab-tip {
  position: absolute;
  right: calc(100% + 0.65rem);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: rgba(15,23,42,0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(37,211,102,0.3);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.fab-whatsapp:hover .fab-tip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ── Back to Top button ── */
.fab-top {
  width: 44px;
  height: 44px;
  background: rgba(15,23,42,0.9);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(99,102,241,0.35);
  color: var(--primary-light);
  font-size: 1.1rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.04);

  /* Hidden by default — shown via JS */
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.85);
}
.fab-top::before {
  background: rgba(99,102,241,0.12);
}
.fab-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.fab-top:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 28px rgba(0,0,0,0.45), var(--shadow-glow);
  color: #fff;
}

/* Back-to-top tooltip */
.fab-top .fab-tip {
  position: absolute;
  right: calc(100% + 0.65rem);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: rgba(15,23,42,0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.fab-top:hover .fab-tip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ── WhatsApp SVG icon ── */
.fab-whatsapp-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  fill: #fff;
}

/* Mobile: slightly smaller */
@media (max-width: 480px) {
  .fab-stack {
    bottom: 1.25rem;
    right: 1.25rem;
    gap: 0.6rem;
  }
  .fab-whatsapp { width: 50px; height: 50px; font-size: 1.4rem; }
  .fab-top      { width: 40px; height: 40px; font-size: 1rem; }
  .fab-tip      { display: none !important; }
}

/* ============================================================
   CASE STUDY CARDS
   ============================================================ */
.case-study-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.case-study-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.case-study-card__timeline {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.case-study-card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}
.case-study-card__desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.75;
  flex: 1;
}
.case-study-card__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  padding: 1.25rem 1rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(99,102,241,0.12);
  border-radius: var(--radius-md);
  margin-top: 0.25rem;
}
.case-study-card__metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.3rem;
}
.case-study-card__metric-val {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
}
.case-study-card__metric-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.3;
  font-weight: 500;
}
.case-study-card__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.25rem;
}
.case-study-card__tag-pill {
  font-size: 0.72rem;
  padding: 0.18rem 0.55rem;
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.15);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-weight: 500;
}
.card.case-study-card:hover .case-study-card__metrics {
  border-color: rgba(99,102,241,0.25);
  background: rgba(99,102,241,0.04);
}

/* ============================================================
   MOBILE-FRIENDLY GRID CLASSES
   (replace inline grid styles so media queries can override them)
   ============================================================ */
.about-stats-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.about-journey__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-faq__grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}

.service-nav__pills {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.audit-covers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

@media (max-width: 1024px) {
  .about-journey__grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-faq__grid   { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  /* Hide absolute-positioned badge floats that clip on small screens */
  .about__badge-float { display: none; }

  /* Service nav pills: horizontal scroll instead of multi-row wrap */
  .service-nav__pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    scrollbar-width: none;
    padding-bottom: 0.25rem;
  }
  .service-nav__pills::-webkit-scrollbar { display: none; }

  /* Prevent long email / phone values from overflowing card */
  .contact__item-value { word-break: break-word; overflow-wrap: break-word; }

  /* Stack footer newsletter form vertically */
  .footer__newsletter-form { flex-direction: column; }
  .footer__newsletter-btn  { width: 100%; text-align: center; justify-content: center; }

  /* Shrink hero badge text so it fits narrow viewports */
  .hero__badge { font-size: 0.75rem; padding: 0.4rem 0.9rem 0.4rem 0.5rem; }

  /* Mission block — reduce padding for mobile */
  .mission-block { padding: 2rem 1.5rem; }
}

@media (max-width: 480px) {
  .about-stats-mini { gap: 0.6rem; }
  .contact-faq__grid { gap: 2rem; }
}

/* ============================================================
   HOMEPAGE ENHANCEMENTS v2
   ============================================================ */

/* ---- Hero trust row (country flags) ---- */
.hero__trust-row {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 0.5rem;
  margin: 1.5rem 0 0.25rem;
  animation: fadeInUp 0.7s ease 0.5s both;
  padding-bottom: 2px;
}
.hero__trust-row::-webkit-scrollbar { display: none; }
.hero__trust-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  white-space: nowrap;
  flex-shrink: 0;
  padding-right: 0.25rem;
}
.hero__trust-flag {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 0.22rem 0.6rem;
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
}
.hero__trust-flag:hover {
  color: var(--primary-light);
  border-color: var(--border-hover);
  background: rgba(99,102,241,0.08);
}

/* ---- Primary CTA shimmer ---- */
@keyframes shimmer {
  0%   { transform: translateX(-100%) skewX(-15deg); }
  100% { transform: translateX(300%) skewX(-15deg); }
}
.hero__cta-primary {
  position: relative;
  overflow: hidden;
}
.hero__cta-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  animation: shimmer 3s ease-in-out 1.5s infinite;
  pointer-events: none;
}

/* ---- Trust strip marquee ---- */
.trust__track {
  overflow: hidden;
  flex: 1;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.trust__logos--animate {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.trust__logos--animate:hover { animation-play-state: paused; }
.trust__logos--animate .trust__logo {
  white-space: nowrap;
  padding: 0 2rem;
}
.trust__logo-icon {
  font-size: 1rem;
  line-height: 1;
}

/* ---- Animated gradient border on featured service card ---- */
@keyframes borderRotate {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.service-card--featured {
  position: relative;
}
.service-card--featured::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, #6366f1, #8b5cf6, #06b6d4, #6366f1);
  background-size: 300% 300%;
  animation: borderRotate 4s ease infinite;
  z-index: -1;
  opacity: 0.6;
}

/* ---- Stats section glow numbers ---- */
.stat-item__num {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  text-shadow: none;
  filter: drop-shadow(0 0 20px rgba(99,102,241,0.4));
}

/* ---- Better section--alt gradient ---- */
.section--alt {
  background:
    radial-gradient(ellipse at 10% 50%, rgba(99,102,241,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 90% 30%, rgba(6,182,212,0.05) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-base) 0%, var(--bg-surface) 50%, var(--bg-base) 100%);
}

/* ---- Testimonial card enhanced ---- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.testimonial-card__stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-shadow: 0 0 12px rgba(245,158,11,0.5);
}

/* ---- Process steps — connector line ---- */
.process__steps {
  position: relative;
}
.process__steps::before {
  content: '';
  position: absolute;
  top: 38px;
  left: calc(12.5% + 24px);
  right: calc(12.5% + 24px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), var(--primary), var(--border), transparent);
  display: none;
}
@media (min-width: 900px) {
  .process__steps::before { display: block; }
}

/* ---- Why-card hover accent ---- */
.why-card {
  transition: var(--transition);
}
.why-card:hover {
  border-color: var(--border-hover);
}
.why-card__num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--primary-light);
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.2);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  width: fit-content;
  letter-spacing: 0.05em;
}

/* ---- FAQ accordion smooth ---- */
.faq-answer {
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, padding 0.3s ease;
}

/* ---- Resource cards flex column ---- */
.resource-card {
  display: flex;
  flex-direction: column;
}

/* ---- Case study metric value glow ---- */
.case-study-card__metric-val {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
  filter: drop-shadow(0 0 12px currentColor);
}

/* ---- About section highlight pills ---- */
.about__highlight {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
}
.about__highlight:hover {
  color: var(--primary-light);
  border-color: var(--border-hover);
  background: rgba(99,102,241,0.08);
}

/* ---- AI engine cards glow on hover ---- */
.ai-engine-card {
  transition: var(--transition);
}
.ai-engine-card:hover {
  box-shadow: 0 0 30px rgba(99,102,241,0.2);
  border-color: var(--border-hover);
}

/* ---- Footer newsletter input focus ---- */
.footer__newsletter-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}

/* ---- Smooth image hover on about ---- */
.about__image-card img {
  transition: transform 0.6s ease;
}
.about__image-card:hover img {
  transform: scale(1.03);
}

/* ---- Hero stats number enhanced ---- */
.hero__stat-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 640px) {
  .hero__trust-row { gap: 0.4rem 0.6rem; }
  .hero__trust-flag { font-size: 0.72rem; padding: 0.2rem 0.5rem; }
  .trust__logos--animate { animation-duration: 20s; }
  .stat-item__num { font-size: clamp(2rem, 8vw, 3rem); }
}

/* ============================================================
   MOBILE POLISH
   ============================================================ */
@media (max-width: 768px) {
  .section {
    padding: clamp(3.25rem, 12vw, 4.75rem) 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-header p {
    font-size: 0.98rem;
  }

  .btn {
    max-width: 100%;
    white-space: normal;
    text-align: center;
    justify-content: center;
  }

  .card {
    padding: 1.5rem;
  }

  .nav__inner {
    gap: 0.75rem;
  }

  .nav__logo {
    gap: 0.55rem;
    font-size: 0.96rem;
    min-width: 0;
  }

  .nav__logo-mark {
    width: 32px;
    height: 32px;
    font-size: 0.84rem;
  }

  .nav__mobile {
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-h) + 1rem);
    padding-bottom: 4rem;
  }

  .hero__content {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
  }

  .hero__badge {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    text-align: center;
    line-height: 1.5;
    margin-bottom: 1.25rem;
  }

  .hero__title {
    font-size: clamp(2.2rem, 10vw, 3.4rem);
    margin-bottom: 1.25rem;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .hero__subtitle {
    width: 100%;
    max-width: none;
    margin-bottom: 1.75rem;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .hero__typing-wrap {
    width: 100%;
    overflow: visible;
  }

  #typingText {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .hero__cta {
    width: 100%;
    gap: 0.85rem;
    justify-content: center;
  }

  .hero__cta .btn {
    flex: 1 1 100%;
  }

  .hero__trust-row {
    width: 100%;
    margin-top: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
    overflow: visible;
    padding-inline: 0.1rem;
  }

  .hero__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    width: 100%;
    margin-top: 1.25rem;
  }

  .hero__stat {
    align-items: center;
    justify-content: center;
    text-align: center;
    min-width: 0;
    padding: 1rem 0.75rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
  }

  .hero__scroll {
    display: none;
  }

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

  .ai-feature {
    gap: 0.85rem;
  }

  .stats-section {
    padding: 3rem 0;
  }

  .stat-item {
    padding: 0 0.25rem;
  }

  .contact__item {
    align-items: flex-start;
  }

  .contact__item-text {
    min-width: 0;
  }

  .contact__socials {
    flex-wrap: wrap;
  }

  .footer__brand-desc {
    max-width: none;
  }

  .footer__bottom-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
  }

  .tools-grid {
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 3rem 0;
  }

  .btn-lg {
    padding: 0.95rem 1.25rem;
    font-size: 0.98rem;
  }

  .card {
    padding: 1.25rem;
  }

  .hero__badge {
    font-size: 0.72rem;
  }

  .hero__stats,
  .stats__grid,
  .ai-shift__engines,
  .about-stats-mini,
  .audit-covers-grid,
  .case-study-card__metrics {
    grid-template-columns: 1fr;
  }

  .hero__stat,
  .ai-engine-card,
  .contact-form {
    padding: 1.25rem;
  }

  .expertise__tag {
    width: 100%;
    justify-content: flex-start;
  }
}
