/* ============================================================
   AlphaCode — Master Stylesheet
   Domain: alphacode.online
   Theme: Digital Noir + Neon Accents
   Fonts: Syne (headings) + Plus Jakarta Sans (body)
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* ── CSS Custom Properties — Dark Theme (default) ────────── */
:root {
  /* Brand */
  --clr-purple:      #7C3AED;
  --clr-purple-mid:  #9D64FF;
  --clr-purple-light:#C4B5FD;
  --clr-green:       #10F27B;
  --clr-green-dim:   #10B981;
  --clr-blue:        #38BDF8;
  --clr-blue-deep:   #0EA5E9;
  --clr-pink:        #F472B6;
  --clr-amber:       #FCD34D;

  /* Dark backgrounds */
  --bg-body:    #07070F;
  --bg-surface: #0D0D1E;
  --bg-card:    #11112A;
  --bg-card-hv: #16163A;
  --bg-glass:   rgba(17, 17, 42, 0.72);

  /* Dark text */
  --txt-primary:   #F0EEFF;
  --txt-secondary: #9B92D8;
  --txt-muted:     #5C5580;
  --txt-invert:    #07070F;

  /* Borders */
  --border:         rgba(124, 58, 237, 0.22);
  --border-bright:  rgba(124, 58, 237, 0.55);
  --border-glass:   rgba(255, 255, 255, 0.06);

  /* Shadows */
  --shadow-sm:   0 2px 12px rgba(0,0,0,.45);
  --shadow-md:   0 8px 32px rgba(0,0,0,.55);
  --shadow-lg:   0 20px 64px rgba(0,0,0,.7);
  --glow-purple: 0 0 40px rgba(124, 58, 237, .45);
  --glow-green:  0 0 40px rgba(16, 242, 123, .35);
  --glow-blue:   0 0 40px rgba(56, 189, 248, .35);

  /* Radius */
  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   20px;
  --r-xl:   28px;
  --r-full: 9999px;

  /* Motion */
  --ease-out:    cubic-bezier(.16,1,.3,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
  --ease-smooth: cubic-bezier(.4,0,.2,1);
  --dur-fast:   .15s;
  --dur-base:   .3s;
  --dur-slow:   .6s;

  /* Spacing scale */
  --space-xs:  .25rem;
  --space-sm:  .5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 5rem;

  /* Sections */
  --section-py: clamp(4rem, 10vw, 7rem);
  --nav-h: 72px;

  /* Scrollbar */
  --scrollbar-thumb: var(--clr-purple);
  --scrollbar-track: var(--bg-surface);
}

/* ── Light Theme ──────────────────────────────────────────── */
[data-theme="light"] {
  --bg-body:    #F5F3FF;
  --bg-surface: #EDE9FE;
  --bg-card:    #FFFFFF;
  --bg-card-hv: #F9F7FF;
  --bg-glass:   rgba(255, 255, 255, 0.72);

  --txt-primary:   #1E1B4B;
  --txt-secondary: #4C3D8F;
  --txt-muted:     #7C6CB8;
  --txt-invert:    #F0EEFF;

  --border:        rgba(124, 58, 237, 0.16);
  --border-bright: rgba(124, 58, 237, 0.4);
  --border-glass:  rgba(124, 58, 237, 0.1);

  --shadow-sm:   0 2px 12px rgba(100,80,200,.12);
  --shadow-md:   0 8px 32px rgba(100,80,200,.15);
  --shadow-lg:   0 20px 64px rgba(100,80,200,.2);

  --scrollbar-thumb: var(--clr-purple);
  --scrollbar-track: var(--bg-surface);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
  scrollbar-width: thin;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg-body);
  color: var(--txt-primary);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background var(--dur-slow) var(--ease-smooth),
              color var(--dur-slow) var(--ease-smooth);
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--scrollbar-track); }
::-webkit-scrollbar-thumb { background: var(--scrollbar-thumb); border-radius: 3px; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }
strong { font-weight: 600; }

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--txt-primary);
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
p  { color: var(--txt-secondary); max-width: 68ch; }
small { font-size: .8125rem; }

.text-gradient {
  background: linear-gradient(135deg, var(--clr-purple-mid) 0%, var(--clr-blue) 50%, var(--clr-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-2 {
  background: linear-gradient(135deg, var(--clr-green) 0%, var(--clr-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Layout ───────────────────────────────────────────────── */
.container {
  width: min(1200px, calc(100% - 2.5rem));
  margin-inline: auto;
}
.section { padding-block: var(--section-py); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); }
.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-sm  { gap: var(--space-sm); }
.gap-md  { gap: var(--space-md); }
.gap-lg  { gap: var(--space-lg); }
.text-center { text-align: center; }
.text-center p { margin-inline: auto; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.625rem;
  border-radius: var(--r-full);
  font-family: 'Syne', sans-serif;
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .01em;
  transition: transform var(--dur-fast) var(--ease-spring),
              box-shadow var(--dur-base) var(--ease-smooth),
              background var(--dur-base) var(--ease-smooth);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: white;
  opacity: 0;
  transition: opacity var(--dur-fast);
}
.btn:hover::after  { opacity: .06; }
.btn:active { transform: scale(.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--clr-purple) 0%, #5B21B6 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(124,58,237,.45);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(124,58,237,.6);
}

.btn-outline {
  border: 1.5px solid var(--border-bright);
  color: var(--txt-primary);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--clr-purple-mid);
  background: rgba(124,58,237,.08);
  transform: translateY(-2px);
}

.btn-ghost {
  color: var(--clr-purple-mid);
  padding-inline: .5rem;
}
.btn-ghost:hover { color: var(--clr-purple-light); }

.btn-green {
  background: linear-gradient(135deg, var(--clr-green-dim) 0%, #059669 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(16,242,123,.3);
}
.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(16,242,123,.45);
}

.btn svg, .btn .icon { width: 18px; height: 18px; flex-shrink: 0; }

/* ── Section Headers ──────────────────────────────────────── */
.section-header { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--clr-purple-mid);
  margin-bottom: .875rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--clr-purple), var(--clr-blue));
  border-radius: 2px;
}
.section-desc {
  margin-top: .875rem;
  font-size: clamp(.9375rem, 1.5vw, 1.0625rem);
}

/* ── Cards ────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--space-xl);
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-smooth),
              border-color var(--dur-base),
              background var(--dur-base);
}
.card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hv);
  border-color: var(--border-bright);
  box-shadow: var(--shadow-md), var(--glow-purple);
}
.card-icon {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-lg);
  position: relative;
}
.card-icon svg { width: 26px; height: 26px; }

/* ── Badge ────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .25rem .75rem;
  border-radius: var(--r-full);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
}
.badge-purple { background: rgba(124,58,237,.15); color: var(--clr-purple-light); border: 1px solid rgba(124,58,237,.25); }
.badge-green  { background: rgba(16,242,123,.1);  color: var(--clr-green);       border: 1px solid rgba(16,242,123,.2); }
.badge-blue   { background: rgba(56,189,248,.1);  color: var(--clr-blue);        border: 1px solid rgba(56,189,248,.2); }

/* ── Tags (tech stack) ────────────────────────────────────── */
.tag-list { display: flex; flex-wrap: wrap; gap: .45rem; }
.tag {
  font-size: .75rem;
  font-weight: 500;
  padding: .3rem .7rem;
  border-radius: var(--r-full);
  background: rgba(124,58,237,.12);
  color: var(--clr-purple-light);
  border: 1px solid rgba(124,58,237,.2);
  transition: background var(--dur-fast), transform var(--dur-fast);
}
.tag:hover { background: rgba(124,58,237,.22); transform: scale(1.04); }

/* ── Divider ──────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-bright), transparent);
  margin-block: var(--space-2xl);
}

/* ── Page Transition Overlay ──────────────────────────────── */
#page-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  transform-origin: left;
  transform: scaleX(0);
}
#page-overlay.enter {
  background: linear-gradient(135deg, var(--clr-purple) 0%, var(--clr-blue) 100%);
  animation: overlayEnter .5s var(--ease-smooth) forwards;
}
#page-overlay.exit {
  background: linear-gradient(135deg, var(--clr-blue) 0%, var(--clr-purple) 100%);
  animation: overlayExit .5s var(--ease-smooth) forwards;
}

@keyframes overlayEnter {
  from { transform: scaleX(0); transform-origin: left; }
  to   { transform: scaleX(1); transform-origin: left; }
}
@keyframes overlayExit {
  from { transform: scaleX(1); transform-origin: right; }
  to   { transform: scaleX(0); transform-origin: right; }
}

/* ── Custom Cursor ────────────────────────────────────────── */
#cursor, #cursor-follower {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: opacity var(--dur-fast);
}
#cursor {
  width: 10px; height: 10px;
  background: var(--clr-purple-mid);
  mix-blend-mode: screen;
}
#cursor-follower {
  width: 38px; height: 38px;
  border: 1.5px solid rgba(157,100,255,.5);
  transition: transform .12s var(--ease-out), width .2s, height .2s;
}
body:not(:hover) #cursor,
body:not(:hover) #cursor-follower { opacity: 0; }
.cursor-hover #cursor-follower { width: 54px; height: 54px; border-color: var(--clr-purple-mid); }

@media (hover: none) { #cursor, #cursor-follower { display: none; } }

/* ── Scroll Progress Bar ──────────────────────────────────── */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-purple), var(--clr-blue), var(--clr-green));
  z-index: 10000;
  width: 0%;
  transition: width .1s linear;
  border-radius: 0 var(--r-full) var(--r-full) 0;
}

/* ── NAVIGATION ───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background var(--dur-base) var(--ease-smooth),
              backdrop-filter var(--dur-base),
              box-shadow var(--dur-base);
}
.nav.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  min-width: 0;
  overflow: visible;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -.03em;
  color: var(--txt-primary);
  flex-shrink: 0;
}
.nav-logo-img {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  object-fit: cover;
  filter: drop-shadow(0 0 7px rgba(123,47,255,.45));
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), filter .3s ease;
}
.brand-logo-circle {
  border-radius: 50%;
  overflow: hidden;
  object-fit: cover;
  display: block;
  background: transparent;
}
.nav-logo-img.brand-logo-circle {
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 0 16px rgba(37,99,235,.35);
}
.hero-brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: transparent;
}
.nav-logo:hover .nav-logo-img {
  transform: scale(1.1) rotate(-6deg);
  filter: drop-shadow(0 0 12px rgba(37,99,235,.6));
}
.nav-logo-text {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -.03em;
  color: var(--txt-primary);
  line-height: 1;
}
.nav-logo-text em {
  font-style: normal;
  background: linear-gradient(135deg, #2563EB 0%, #00C853 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-logo span { color: var(--clr-purple-mid); }
.footer-logo { display: inline-flex; margin-bottom: .5rem; }
.footer-logo .nav-logo-img { width: 38px; height: 38px; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.nav-link {
  padding: .4rem .875rem;
  border-radius: var(--r-full);
  font-size: .9rem;
  font-weight: 500;
  color: var(--txt-secondary);
  transition: color var(--dur-fast), background var(--dur-fast);
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--txt-primary);
  background: rgba(124,58,237,.1);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 50%;
  transform: translateX(-50%);
  width: 16px; height: 2px;
  background: var(--clr-purple-mid);
  border-radius: 2px;
}

.nav-actions { display: flex; align-items: center; gap: .75rem; }

/* Theme toggle */
.theme-toggle {
  width: 40px; height: 40px;
  border-radius: var(--r-full);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  color: var(--txt-secondary);
  transition: color var(--dur-fast), background var(--dur-fast), border-color var(--dur-fast);
}
.theme-toggle:hover { color: var(--txt-primary); background: rgba(124,58,237,.1); border-color: var(--border-bright); }
.theme-toggle svg { width: 18px; height: 18px; }
[data-theme="light"] .icon-moon  { display: none; }
[data-theme="light"] .icon-sun   { display: block !important; }
.icon-sun { display: none; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px; height: 44px;
  min-width: 44px;
  padding: 10px;
  border-radius: var(--r-sm);
  flex-shrink: 0;
  order: 99;
  z-index: 1001;
  background: rgba(123,47,255,.08);
  border: 1px solid rgba(123,47,255,.2);
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.nav-hamburger:hover {
  background: rgba(123,47,255,.18);
  border-color: rgba(123,47,255,.4);
}
.nav-hamburger span {
  display: block;
  height: 2px;
  background: var(--txt-primary);
  border-radius: 2px;
  transition: transform var(--dur-base) var(--ease-spring), opacity var(--dur-fast);
}
.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 menu */
.nav-mobile {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--bg-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 2rem var(--space-xl);
  flex-direction: column;
  gap: .25rem;
  z-index: 999;
  transform: translateY(-20px);
  opacity: 0;
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-base);
  border-top: 1px solid var(--border);
}
.nav-mobile.open { display: flex; transform: translateY(0); opacity: 1; }
.nav-mobile .nav-link { font-size: 1.1rem; padding: .75rem 1rem; }

/* ── HERO SECTION ─────────────────────────────────────────── */
.hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

/* Animated gradient blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .45;
  animation: blobFloat 12s ease-in-out infinite;
}
.blob-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--clr-purple) 0%, transparent 70%);
  top: -15%; left: -10%;
  animation-duration: 14s;
}
.blob-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--clr-blue-deep) 0%, transparent 70%);
  top: 20%; right: -5%;
  animation-duration: 11s;
  animation-delay: -4s;
}
.blob-3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, var(--clr-green-dim) 0%, transparent 70%);
  bottom: 5%; left: 30%;
  animation-duration: 16s;
  animation-delay: -8s;
  opacity: .25;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(30px, -40px) scale(1.08); }
  66%       { transform: translate(-20px, 25px) scale(.95); }
}

/* Grid overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  opacity: .4;
}
[data-theme="light"] .hero-grid { opacity: .15; }

/* Floating particles */
.particle {
  position: absolute;
  width: 3px; height: 3px;
  background: var(--clr-purple-mid);
  border-radius: 50%;
  opacity: 0;
  animation: particleFly linear infinite;
}
@keyframes particleFly {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: .8; }
  90%  { opacity: .4; }
  100% { transform: translateY(-10vh) scale(1.5); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(2rem, 5vw, 3rem);
}
.hero-text { max-width: 600px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .4rem 1rem;
  border-radius: var(--r-full);
  background: rgba(124,58,237,.12);
  border: 1px solid rgba(124,58,237,.35);
  font-size: .8125rem;
  font-weight: 600;
  color: #7C3AED;                      /* visible on both dark + light */
  margin-bottom: 1.5rem;
  animation: fadeInDown .8s var(--ease-out) both;
}
[data-theme="dark"] .hero-badge { color: var(--clr-purple-light); }
.hero-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--clr-green);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16,242,123,.6); }
  50%       { box-shadow: 0 0 0 6px rgba(16,242,123,0); }
}

.hero h1 {
  margin-bottom: 1.25rem;
  animation: fadeInUp .8s .1s var(--ease-out) both;
}
.hero p {
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  margin-bottom: 2rem;
  animation: fadeInUp .8s .2s var(--ease-out) both;
  max-width: 54ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .875rem;
  animation: fadeInUp .8s .3s var(--ease-out) both;
}

/* Typewriter cursor */
.typewriter::after {
  content: '|';
  animation: blink 1s step-end infinite;
  color: var(--clr-purple-mid);
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

/* Hero visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 1s .3s var(--ease-out) both;
}
.hero-orbit {
  position: relative;
  width: clamp(280px, 36vw, 460px);
  aspect-ratio: 1;
}
.hero-orbit-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
  animation: orbitSpin 18s linear infinite;
}
.hero-orbit-ring:nth-child(2) { inset: 18%; border-color: rgba(56,189,248,.2); animation-duration: 12s; animation-direction: reverse; }
.hero-orbit-ring:nth-child(3) { inset: 36%; border-color: rgba(16,242,123,.2); animation-duration: 8s; }
.orbit-dot {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--clr-purple-mid);
  top: -5px; left: 50%;
  transform: translateX(-50%);
}
.orbit-dot-2 { background: var(--clr-blue); }
.orbit-dot-3 { background: var(--clr-green); }

@keyframes orbitSpin { to { transform: rotate(360deg); } }

.hero-orbit-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-orbit-logo {
  width: 42%;
  aspect-ratio: 1;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 50%;
  box-shadow: 0 0 36px rgba(37,99,235,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Stats row */
.hero-stats {
  display: flex;
  gap: clamp(1rem, 3vw, 2rem);
  margin-top: 2.5rem;
  animation: fadeInUp .8s .45s var(--ease-out) both;
}
.hero-stat { text-align: left; }
.hero-stat-num {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 1.875rem);
  font-weight: 800;
  color: var(--txt-primary);
  line-height: 1;
}
.hero-stat-label {
  font-size: .8rem;
  color: var(--txt-muted);
  margin-top: .2rem;
}
.hero-stat-sep { width: 1px; background: var(--border); align-self: stretch; }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: var(--txt-muted);
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  animation: fadeInUp 1s 1s var(--ease-out) both;
  z-index: 2;
}
.scroll-mouse {
  width: 24px; height: 38px;
  border: 1.5px solid var(--txt-muted);
  border-radius: 12px;
  position: relative;
}
.scroll-mouse::before {
  content: '';
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 3px; height: 8px;
  background: var(--clr-purple-mid);
  border-radius: 2px;
  animation: scrollBob 1.8s ease-in-out infinite;
}
@keyframes scrollBob {
  0%,100% { top: 6px; opacity: 1; }
  80%      { top: 18px; opacity: 0; }
}

/* ── MARQUEE (Tech Stack) ──────────────────────────────────── */
.marquee-section {
  padding-block: var(--space-2xl);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 3rem;
  animation: marqueeScroll 30s linear infinite;
  width: max-content;
}
.marquee-section:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: 'Syne', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  color: var(--txt-muted);
  white-space: nowrap;
  transition: color var(--dur-fast);
}
.marquee-item:hover { color: var(--txt-primary); }
.marquee-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--clr-purple-mid);
  flex-shrink: 0;
}
@keyframes marqueeScroll {
  to { transform: translateX(-50%); }
}

/* ── SERVICES SECTION ─────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-xl);
}
.service-card {
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-xl);
  padding: 1px;
  background: linear-gradient(135deg, transparent 40%, var(--border-bright));
  -webkit-mask: linear-gradient(#fff 0 0) content-box,
                linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--dur-base);
  pointer-events: none;
}
.service-card:hover::before { opacity: 1; }
.service-card .card-icon { background: rgba(124,58,237,.12); }
.service-card h3 { margin-bottom: .5rem; }
.service-card p { font-size: .9375rem; }
.service-card-media {
  position: relative;
  border-radius: calc(var(--r-xl) - 4px);
  overflow: hidden;
  margin-bottom: 1.1rem;
  border: 0;
  background: transparent;
}
.service-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: transparent;
  border-radius: calc(var(--r-xl) - 4px);
}
.service-features {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.service-features li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  color: var(--txt-secondary);
}
.service-features li::before {
  content: '';
  width: 14px; height: 14px;
  border-radius: 50%;
  background: rgba(16,242,123,.15);
  border: 1px solid rgba(16,242,123,.3);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%2310F27B' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 10px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ── STATS SECTION ────────────────────────────────────────── */
.stats-section {
  background: var(--bg-body);
  padding-block: clamp(4rem, 8vw, 6rem);
  position: relative;
  overflow: hidden;
}
.stats-bg-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 20% 50%, rgba(124,58,237,.1) 0%, transparent 65%),
    radial-gradient(ellipse 50% 80% at 80% 50%, rgba(56,189,248,.08) 0%, transparent 65%);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-inline: auto;
}
.stat-item {
  text-align: center;
  padding: clamp(2rem,5vw,3.5rem) clamp(1rem,3vw,2.5rem);
  position: relative;
  transition: transform .5s var(--ease-spring);
}
/* vertical dividers — desktop only, no borders on mobile */
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, var(--border) 40%, var(--border) 60%, transparent 100%);
}
.stat-item:hover { transform: translateY(-6px); }

/* Icon wrapper */
.stat-icon-wrap {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(124,58,237,.18) 0%, rgba(56,189,248,.1) 100%);
  border: 1.5px solid var(--border-bright);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
  transition: box-shadow .4s, border-color .4s;
}
.stat-item:hover .stat-icon-wrap {
  box-shadow: 0 0 28px rgba(124,58,237,.5), 0 0 56px rgba(124,58,237,.25);
  border-color: var(--clr-purple-mid);
}
.stat-icon-wrap svg {
  width: 30px; height: 30px;
  color: var(--clr-purple-mid);
  transition: color .4s, transform .4s;
}
.stat-item:hover .stat-icon-wrap svg {
  color: var(--clr-purple-light);
  transform: scale(1.1);
}
.stat-icon-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px dashed rgba(124,58,237,.25);
  animation: ring-spin 12s linear infinite;
}
@keyframes ring-spin { to { transform: rotate(360deg); } }

/* Apply different colors per stat */
.stat-item[data-stat-index="1"] .stat-icon-wrap {
  background: linear-gradient(135deg, rgba(0,201,255,.15) 0%, rgba(16,242,123,.08) 100%);
  border-color: rgba(0,201,255,.4);
}
.stat-item[data-stat-index="1"]:hover .stat-icon-wrap {
  box-shadow: 0 0 28px rgba(0,201,255,.45), 0 0 56px rgba(0,201,255,.2);
  border-color: #00C9FF;
}
.stat-item[data-stat-index="1"] .stat-icon-wrap svg { color: #38BDF8; }
.stat-item[data-stat-index="1"] .stat-icon-ring { border-color: rgba(0,201,255,.25); animation-direction: reverse; animation-duration: 9s; }

.stat-item[data-stat-index="2"] .stat-icon-wrap {
  background: linear-gradient(135deg, rgba(252,211,77,.15) 0%, rgba(245,158,11,.08) 100%);
  border-color: rgba(245,158,11,.4);
}
.stat-item[data-stat-index="2"]:hover .stat-icon-wrap {
  box-shadow: 0 0 28px rgba(245,158,11,.45), 0 0 56px rgba(245,158,11,.2);
  border-color: #FCD34D;
}
.stat-item[data-stat-index="2"] .stat-icon-wrap svg { color: #FCD34D; fill: rgba(252,211,77,.25); }
.stat-item[data-stat-index="2"] .stat-icon-ring { border-color: rgba(245,158,11,.3); animation-duration: 15s; }

/* Numbers */
.stat-number {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--txt-primary);
  line-height: 1;
  margin-bottom: .5rem;
  transition: color .4s;
}
.stat-item:hover .stat-number { color: var(--clr-purple-light); }
.stat-item[data-stat-index="1"]:hover .stat-number { color: #38BDF8; }
.stat-item[data-stat-index="2"]:hover .stat-number { color: #FCD34D; }
.stat-suffix {
  color: var(--clr-purple-mid);
  font-size: .75em;
}
.stat-item[data-stat-index="1"] .stat-suffix { color: #38BDF8; }
.stat-item[data-stat-index="2"] .stat-suffix { color: #FCD34D; }
.stat-label {
  font-size: .9375rem;
  font-weight: 500;
  color: var(--txt-secondary);
  letter-spacing: .02em;
}

/* ── PROCESS SECTION ──────────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  position: relative;
  counter-reset: step;
}
/* Animated gradient connector line */
.process-steps::before {
  content: '';
  position: absolute;
  top: 38px;
  left: calc(12.5% + 1.5rem);
  right: calc(12.5% + 1.5rem);
  height: 2px;
  background: linear-gradient(90deg, var(--clr-purple), var(--clr-blue), var(--clr-green), var(--clr-amber), var(--clr-purple));
  background-size: 200% 100%;
  animation: line-flow 4s linear infinite;
  border-radius: 2px;
  z-index: 0;
}
@keyframes line-flow {
  0%   { background-position: 0% 0%; }
  100% { background-position: -200% 0%; }
}

.process-step {
  text-align: center;
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2rem 1.25rem 1.75rem;
  transition: transform .4s var(--ease-spring), box-shadow .4s, border-color .4s;
  cursor: default;
}
.process-step:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-lg), var(--glow-purple);
  border-color: var(--border-bright);
  z-index: 2;
}
/* Connector between cards */
.process-connector {
  display: none; /* Managed by ::before on parent for desktop */
}

/* Number badge */
.process-num-wrap {
  position: relative;
  width: 64px; height: 64px;
  margin: 0 auto 1.25rem;
}
.process-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card-hv) 100%);
  border: 2px solid var(--clr-purple);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--clr-purple-mid);
  position: relative;
  z-index: 1;
  transition: background .4s, box-shadow .4s, color .4s, border-color .4s;
}
.process-num-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--clr-purple);
  opacity: 0;
  filter: blur(16px);
  transition: opacity .4s;
}
.process-step:hover .process-num {
  background: linear-gradient(135deg, var(--clr-purple) 0%, var(--clr-purple-mid) 100%);
  color: #fff;
  border-color: var(--clr-purple-light);
  box-shadow: 0 0 0 4px rgba(124,58,237,.2);
}
.process-step:hover .process-num-glow { opacity: .35; }

/* Step icon */
.process-icon {
  width: 48px; height: 48px;
  margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  color: var(--txt-muted);
  transition: color .4s, transform .4s;
}
.process-icon svg { width: 28px; height: 28px; }
.process-step:hover .process-icon {
  color: var(--clr-purple-light);
  transform: scale(1.15) rotate(-3deg);
}
.process-step h4 {
  margin-bottom: .6rem;
  font-size: 1.075rem;
  transition: color .3s;
}
.process-step:hover h4 { color: var(--clr-purple-light); }
.process-step p { font-size: .875rem; line-height: 1.6; }

/* Timeline tag */
.process-step-tag {
  display: inline-block;
  margin-top: 1.1rem;
  padding: .25rem .75rem;
  background: rgba(124,58,237,.1);
  border: 1px solid rgba(124,58,237,.25);
  border-radius: var(--r-full);
  font-size: .75rem;
  font-weight: 600;
  color: var(--clr-purple-mid);
  letter-spacing: .04em;
  transition: background .3s, color .3s;
}
.process-step:hover .process-step-tag {
  background: rgba(124,58,237,.2);
  color: var(--clr-purple-light);
}

/* ── PORTFOLIO SECTION ────────────────────────────────────── */
.portfolio-filter {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: .45rem 1.1rem;
  border-radius: var(--r-full);
  font-size: .875rem;
  font-weight: 600;
  color: var(--txt-secondary);
  border: 1px solid var(--border);
  background: transparent;
  transition: all var(--dur-fast);
}
.filter-btn:hover, .filter-btn.active {
  color: #fff;
  background: var(--clr-purple);
  border-color: var(--clr-purple);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-xl);
}
.portfolio-card {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base), border-color var(--dur-base);
  cursor: pointer;
}
.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), var(--glow-purple);
  border-color: var(--border-bright);
}
.portfolio-thumb {
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
}
.portfolio-thumb-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(255,255,255,.06);
  letter-spacing: -.04em;
  transition: transform var(--dur-slow) var(--ease-out);
}
.portfolio-card:hover .portfolio-thumb-bg { transform: scale(1.08); }
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7,7,15,.75);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  opacity: 0;
  transition: opacity var(--dur-base);
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.portfolio-info { padding: 1.5rem; }
.portfolio-info h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.portfolio-info p { font-size: .875rem; margin-bottom: 1rem; }

/* ── SCROLL-IMAGE PORTFOLIO CARDS (home page) ─────────────── */
.portfolio-scroll-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-xl);
}
.pcard {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  position: relative;
  cursor: pointer;
  transition: transform .4s var(--ease-spring), box-shadow .4s, border-color .4s;
}
.pcard:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--shadow-lg), var(--glow-purple);
  border-color: var(--border-bright);
}
/* Viewport: fixed height clipping window */
.pcard-viewport {
  height: 300px;
  overflow: hidden;
  position: relative;
  background: var(--bg-surface);
}
/* Scrolling screenshot image */
.pcard-img {
  width: 100%;
  display: block;
  min-height: 300px;
  object-fit: cover;
  height: auto;
  transform: translateY(0%);
  animation: pcard-scroll 10s ease-in-out infinite alternate;
  will-change: transform;
}
/* Pause on hover so overlay can be read */
.pcard:hover .pcard-img {
  animation-play-state: paused;
}
@keyframes pcard-scroll {
  0%   { transform: translateY(0); }
  100% { transform: translateY(calc(-100% + 300px)); }
}
/* Placeholder when no image */
.pcard-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  gap: .6rem;
}
.pcard-initials {
  font-family: 'Syne', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -.04em;
  opacity: .55;
  z-index: 1;
}
.pcard-placeholder-lines {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 1rem;
  gap: .45rem;
}
.pcard-placeholder-lines span {
  height: 9px;
  border-radius: 4px;
  display: block;
  animation: pcard-scroll 10s ease-in-out infinite alternate;
}
/* Hover overlay */
.pcard-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(7,7,15,.1) 0%,
    rgba(7,7,15,.6) 50%,
    rgba(7,7,15,.92) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity .35s var(--ease-out);
}
.pcard:hover .pcard-overlay,
.pcard.touched .pcard-overlay { opacity: 1; }
.pcard-overlay-inner {
  transform: translateY(12px);
  transition: transform .35s var(--ease-spring);
  width: 100%;
}
.pcard:hover .pcard-overlay-inner,
.pcard.touched .pcard-overlay-inner { transform: translateY(0); }
.pcard-category { display: inline-block; margin-bottom: .6rem; }
.pcard-title {
  color: #fff;
  font-size: 1.1rem;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  margin-bottom: .875rem;
  text-shadow: 0 2px 8px rgba(0,0,0,.6);
}
.pcard-btn {
  padding: .45rem 1.1rem !important;
  font-size: .8125rem !important;
}

/* ── TESTIMONIALS ─────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-xl);
}
.testimonial-card {
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem; right: 1.5rem;
  font-family: 'Syne', sans-serif;
  font-size: 5rem;
  font-weight: 800;
  color: rgba(124,58,237,.15);
  line-height: 1;
}
.testimonial-stars {
  display: flex;
  gap: .2rem;
  margin-bottom: .875rem;
  color: var(--clr-amber);
}
.testimonial-stars svg { width: 16px; height: 16px; fill: currentColor; }
.testimonial-text {
  font-size: .9375rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  color: var(--txt-secondary);
}
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.testimonial-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-purple), var(--clr-blue));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: .875rem;
  color: #fff;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 600; font-size: .9375rem; color: var(--txt-primary); }
.testimonial-role { font-size: .8125rem; color: var(--txt-muted); }

/* ── CTA SECTION ──────────────────────────────────────────── */
.cta-section {
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124,58,237,.15) 0%, rgba(14,165,233,.1) 50%, rgba(16,185,129,.08) 100%);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
}
.cta-inner {
  position: relative;
  z-index: 1;
  padding: clamp(3rem, 7vw, 5rem) 2rem;
}
.cta-inner h2 { margin-bottom: 1rem; }
.cta-inner p  { font-size: 1.0625rem; margin-bottom: 2rem; margin-inline: auto; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; }

/* ── ABOUT PAGE ───────────────────────────────────────────── */
.about-hero { text-align: center; padding-bottom: 0; }
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.about-visual-wrap {
  position: relative;
}
.about-visual {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.about-visual-inner {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1px;
  background: var(--border);
}
.about-visual-cell {
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
}
.about-float-card {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: .75rem;
  white-space: nowrap;
  z-index: 2;
}

/* Timeline */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--clr-purple), var(--clr-blue), var(--clr-green));
}
.timeline-item {
  position: relative;
  padding-bottom: 2rem;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.45rem;
  top: 4px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--clr-purple);
  border: 2px solid var(--bg-body);
  box-shadow: var(--glow-purple);
}
.timeline-year {
  font-family: 'Syne', sans-serif;
  font-size: .8125rem;
  font-weight: 700;
  color: var(--clr-purple-mid);
  letter-spacing: .06em;
  margin-bottom: .3rem;
}
.timeline-item h4 { font-size: 1rem; margin-bottom: .3rem; }
.timeline-item p  { font-size: .875rem; max-width: 50ch; }

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-xl);
}
.team-card { text-align: center; }
.team-avatar {
  width: 90px; height: 90px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--clr-purple), var(--clr-blue-deep));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: #fff;
  border: 3px solid var(--border);
  box-shadow: var(--glow-purple);
  overflow: hidden;
}
.team-avatar.has-image { background: transparent; box-shadow: 0 0 0 3px rgba(255,255,255,.06), var(--glow-purple); }
.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-card h4 { margin-bottom: .25rem; }
.team-role { font-size: .875rem; color: var(--clr-purple-mid); font-weight: 600; margin-bottom: .5rem; }
.team-card > p { font-size: .875rem; }
.team-links { display: flex; justify-content: center; gap: .5rem; margin-top: .875rem; }
.team-link {
  width: 32px; height: 32px;
  border-radius: var(--r-full);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  color: var(--txt-muted);
  transition: color var(--dur-fast), border-color var(--dur-fast), background var(--dur-fast);
}
.team-link:hover { color: var(--txt-primary); border-color: var(--border-bright); background: rgba(124,58,237,.1); }
.team-link svg { width: 14px; height: 14px; }

/* Skills grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: var(--space-md);
}
.skill-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1rem;
  text-align: center;
  transition: transform var(--dur-fast), border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.skill-item:hover {
  transform: translateY(-4px);
  border-color: var(--border-bright);
  box-shadow: var(--glow-purple);
}
.skill-item svg, .skill-item .skill-icon { width: 28px; height: 28px; margin: 0 auto .6rem; }
.skill-name { font-size: .8125rem; font-weight: 600; color: var(--txt-secondary); }

/* ── SERVICES PAGE ────────────────────────────────────────── */
.service-detail-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: var(--space-xl);
}
.service-detail-card:nth-child(even) { direction: rtl; }
.service-detail-card:nth-child(even) > * { direction: ltr; }
.service-detail-visual {
  aspect-ratio: 1;
  border-radius: var(--r-xl);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
}
.service-detail-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.service-icon-lg {
  width: 80px; height: 80px;
  border-radius: var(--r-xl);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
}
.service-icon-lg svg { width: 40px; height: 40px; }

/* ── CONTACT PAGE ─────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.contact-info-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: rgba(124,58,237,.12);
  border: 1px solid rgba(124,58,237,.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--clr-purple-mid);
}
.contact-info-icon svg { width: 20px; height: 20px; }
.contact-label { font-size: .8125rem; font-weight: 600; color: var(--txt-muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .2rem; }
.contact-value { font-size: .9375rem; color: var(--txt-primary); }
.contact-social { display: flex; gap: .625rem; margin-top: 2rem; }
.social-link {
  width: 40px; height: 40px;
  border-radius: var(--r-full);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--txt-muted);
  transition: all var(--dur-fast);
}
.social-link:hover { color: #fff; background: var(--clr-purple); border-color: var(--clr-purple); transform: translateY(-2px); }
.social-link svg { width: 16px; height: 16px; }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--txt-secondary);
}
.form-label .required { color: var(--clr-purple-mid); margin-left: .2rem; }
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: .8125rem 1rem;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  color: var(--txt-primary);
  font-size: .9375rem;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast), background var(--dur-fast);
  outline: none;
  -webkit-appearance: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--clr-purple);
  box-shadow: 0 0 0 3px rgba(124,58,237,.15);
  background: var(--bg-card-hv);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--txt-muted); }
.form-textarea { resize: vertical; min-height: 140px; }
.form-select option { background: var(--bg-card); }
.form-error {
  font-size: .8125rem;
  color: #F87171;
  margin-top: .25rem;
  display: none;
}
.form-group.has-error .form-input,
.form-group.has-error .form-textarea { border-color: #F87171; }
.form-group.has-error .form-error { display: block; }
.form-success {
  padding: 1rem 1.25rem;
  background: rgba(16,242,123,.1);
  border: 1px solid rgba(16,242,123,.25);
  border-radius: var(--r-md);
  color: var(--clr-green);
  font-size: .9375rem;
  display: none;
}
.form-success.show { display: block; }

/* ── PAGE HERO (inner pages) ──────────────────────────────── */
.page-hero {
  padding-top: calc(var(--nav-h) + clamp(3rem, 6vw, 5rem));
  padding-bottom: clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(124,58,237,.18) 0%, transparent 65%);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: 1rem; }
.page-hero p   { font-size: clamp(1rem, 1.8vw, 1.125rem); margin-inline: auto; }
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-size: .875rem;
  color: var(--txt-muted);
  margin-bottom: 1.25rem;
}
.breadcrumb a { color: var(--txt-muted); transition: color var(--dur-fast); }
.breadcrumb a:hover { color: var(--clr-purple-mid); }
.breadcrumb-sep { color: var(--border-bright); }

/* ── FOOTER ───────────────────────────────────────────────── */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding-top: clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}
/* Dark-theme footer glow gradient */
.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 15% 0%, rgba(124,58,237,.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 85% 0%, rgba(56,189,248,.07) 0%, transparent 55%),
    radial-gradient(ellipse 80% 30% at 50% 100%, rgba(124,58,237,.07) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
[data-theme="light"] .footer::before {
  background:
    radial-gradient(ellipse 70% 50% at 15% 0%, rgba(124,58,237,.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 85% 0%, rgba(56,189,248,.06) 0%, transparent 55%),
    radial-gradient(ellipse 80% 30% at 50% 100%, rgba(124,58,237,.05) 0%, transparent 60%);
}
.footer .container { position: relative; z-index: 1; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--border);
}
/* Footer heading glows slightly in dark mode */
.footer-col h5 { text-shadow: 0 0 20px rgba(124,58,237,.25); }
[data-theme="light"] .footer-col h5 { text-shadow: none; }
.footer-brand p { font-size: .9rem; margin-top: 1rem; margin-bottom: 1.25rem; }
.footer-col h5 {
  font-family: 'Syne', sans-serif;
  font-size: .875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--txt-muted);
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-col a {
  font-size: .9rem;
  color: var(--txt-secondary);
  transition: color var(--dur-fast), padding-left var(--dur-fast);
}
.footer-col a:hover { color: var(--clr-purple-light); padding-left: .35rem; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.25rem;
  font-size: .8375rem;
  color: var(--txt-muted);
  flex-wrap: wrap;
  gap: .75rem;
}
.footer-bottom a { color: var(--clr-purple-mid); }
.footer-bottom a:hover { color: var(--clr-purple-light); }

/* Newsletter form in footer */
.footer-newsletter { display: flex; gap: .5rem; margin-top: .875rem; }
.footer-newsletter input {
  flex: 1;
  padding: .6rem .875rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  color: var(--txt-primary);
  font-size: .875rem;
  outline: none;
  transition: border-color var(--dur-fast);
}
.footer-newsletter input:focus { border-color: var(--clr-purple); }
.footer-newsletter input::placeholder { color: var(--txt-muted); }
.footer-newsletter button {
  padding: .6rem 1rem;
  background: var(--clr-purple);
  color: #fff;
  border-radius: var(--r-full);
  font-size: .875rem;
  font-weight: 600;
  transition: background var(--dur-fast), transform var(--dur-fast);
}
.footer-newsletter button:hover { background: var(--clr-purple-mid); transform: scale(1.03); }

/* ── SCROLL REVEAL ANIMATIONS ─────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
[data-reveal="left"]  { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="scale"] { transform: scale(.9); }
[data-reveal="fade"]  { transform: none; }
[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

/* Stagger children */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
[data-stagger].revealed > *:nth-child(1)  { transition-delay: .0s; }
[data-stagger].revealed > *:nth-child(2)  { transition-delay: .08s; }
[data-stagger].revealed > *:nth-child(3)  { transition-delay: .16s; }
[data-stagger].revealed > *:nth-child(4)  { transition-delay: .24s; }
[data-stagger].revealed > *:nth-child(5)  { transition-delay: .32s; }
[data-stagger].revealed > *:nth-child(6)  { transition-delay: .40s; }
[data-stagger].revealed > * { opacity: 1; transform: none; }

/* ── KEYFRAME ANIMATIONS ──────────────────────────────────── */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(50px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer {
  from { background-position: -400px 0; }
  to   { background-position: 400px 0; }
}

/* Loading skeleton */
.skeleton {
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-hv) 50%, var(--bg-card) 75%);
  background-size: 400px 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--r-sm);
}

/* ── ALERT / FLASH ────────────────────────────────────────── */
.alert {
  padding: .875rem 1.125rem;
  border-radius: var(--r-md);
  font-size: .9375rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}
.alert-success { background: rgba(16,242,123,.1); border: 1px solid rgba(16,242,123,.25); color: var(--clr-green); }
.alert-error   { background: rgba(248,113,113,.1); border: 1px solid rgba(248,113,113,.25); color: #F87171; }

/* ── 404 PAGE ─────────────────────────────────────────────── */
.error-page {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.error-code {
  font-family: 'Syne', sans-serif;
  font-size: clamp(6rem, 18vw, 12rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--clr-purple-mid), var(--clr-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

/* ── BACK TO TOP ──────────────────────────────────────────── */
#back-to-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  border-radius: var(--r-full);
  background: var(--clr-purple);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 500;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--dur-base), transform var(--dur-base), background var(--dur-fast);
  pointer-events: none;
}
#back-to-top.visible { opacity: 1; transform: none; pointer-events: auto; }
#back-to-top:hover { background: var(--clr-purple-mid); }
#back-to-top svg { width: 18px; height: 18px; }

/* ── NOTIFICATION TOAST ───────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: .875rem 1.5rem;
  font-size: .9rem;
  color: var(--txt-primary);
  box-shadow: var(--shadow-lg);
  z-index: 9990;
  opacity: 0;
  transition: opacity var(--dur-base), transform var(--dur-base) var(--ease-out);
  white-space: nowrap;
  display: flex; align-items: center; gap: .625rem;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.toast-success .toast-dot { background: var(--clr-green); }
.toast-error   .toast-dot { background: #F87171; }

/* ── WHATSAPP FLOATING BUTTON ─────────────────────────────── */
#whatsapp-float {
  position: fixed;
  bottom: 5.5rem;
  right: 1.75rem;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,.5), 0 2px 10px rgba(0,0,0,.3);
  z-index: 700;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease, background .2s;
  animation: wa-breathe 2.6s ease-in-out infinite;
}
#whatsapp-float:hover {
  background: #1db954;
  transform: scale(1.14) translateY(-2px);
  box-shadow: 0 8px 32px rgba(37,211,102,.65);
  animation: none;
}
@keyframes wa-breathe {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,.5), 0 2px 10px rgba(0,0,0,.3); }
  50%      { box-shadow: 0 6px 30px rgba(37,211,102,.8), 0 2px 10px rgba(0,0,0,.3); }
}

/* ── RESPONSIVE ───────────────────────────────────────────── */

/* ≤1100px — large tablet landscape */
@media (max-width: 1100px) {
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: var(--space-2xl); }
  .stats-grid    { grid-template-columns: repeat(3, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .portfolio-scroll-grid{ grid-template-columns: repeat(2, 1fr); }
}

/* ── TABLET 769–1024px ───────────────────────────────────── */
@media (min-width: 769px) and (max-width: 1024px) {
  .nav-menu  { gap: .15rem; }
  .nav-link  { padding: .4rem .55rem; font-size: .82rem; }
  .nav-actions .btn { padding: .5rem .85rem; font-size: .8rem; }

  .hero-content   { grid-template-columns: 1fr; text-align: center; gap: var(--space-2xl); }
  .hero-text      { max-width: 640px; margin-inline: auto; }
  .hero p         { margin-inline: auto; }
  .hero-actions   { justify-content: center; }
  .hero-stats     { justify-content: center; }
  .hero-visual    { display: flex; justify-content: center; }
  .hero-orbit     { width: clamp(260px, 46vw, 380px); }

  .services-grid  { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .about-intro    { grid-template-columns: 1fr; gap: var(--space-2xl); }
  .contact-grid   { grid-template-columns: 1fr 1.4fr; gap: var(--space-xl); }
  .process-steps  { grid-template-columns: repeat(2, 1fr); }
  .grid-2         { grid-template-columns: repeat(2, 1fr); }
  .grid-3         { grid-template-columns: repeat(2, 1fr); }
  .grid-4         { grid-template-columns: repeat(2, 1fr); }
  .footer-grid    { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
  .stats-grid     { grid-template-columns: repeat(3, 1fr); }
  .service-detail-card { grid-template-columns: 1fr; }
  .service-detail-card:nth-child(even) { direction: ltr; }
  .skills-grid    { grid-template-columns: repeat(4, 1fr); }
  #whatsapp-float { bottom: 5.5rem; right: 1.5rem; }
  #back-to-top    { right: 1.5rem; }
}

/* ── ≤900px ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-content   { grid-template-columns: 1fr; text-align: center; }
  .hero-text      { max-width: 100%; }
  .hero p         { margin-inline: auto; }
  .hero-actions   { justify-content: center; }
  .hero-stats     { justify-content: center; }
  .hero-visual    { margin-top: 1rem; }
  .hero-orbit     { width: clamp(220px, 50vw, 340px); }
  .about-intro    { grid-template-columns: 1fr; }
  .contact-grid   { grid-template-columns: 1fr; }
  .service-detail-card { grid-template-columns: 1fr; }
  .service-detail-card:nth-child(even) { direction: ltr; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row       { grid-template-columns: 1fr; }
}

/* ── MOBILE ≤768px ───────────────────────────────────────── */
@media (max-width: 768px) {
  /* Nav */
  .nav-menu             { display: none; }
  .nav-actions .btn     { display: none; }
  .nav-hamburger        { display: flex !important; }
  .nav-inner            { gap: .5rem; }
  .nav-logo-text        { font-size: 1.05rem; }
  .nav-logo-img         { width: 38px; height: 38px; }

  /* Content */
  .services-grid        { grid-template-columns: 1fr; }
  .portfolio-grid       { grid-template-columns: 1fr; }
  .portfolio-scroll-grid{ grid-template-columns: 1fr; }
  .about-float-card     { display: none; }
  .footer-grid          { grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
  .footer-bottom        { flex-direction: column; text-align: center; }

  /* Stats: 1 per row on mobile - no separators */
  .stats-grid           { grid-template-columns: 1fr; gap: var(--space-lg); }
  .stat-item::after     { display: none; }

  /* Floating buttons */
  #whatsapp-float       { bottom: 5rem; right: 1rem; width: 50px; height: 50px; }
  #back-to-top          { bottom: 1.5rem; right: 1rem; }
}

/* ── SMALL MOBILE ≤480px ─────────────────────────────────── */
@media (max-width: 480px) {
  /* Logo: icon only on tiny screens */
  .nav-logo-text        { display: none; }
  .nav-logo-img         { width: 36px; height: 36px; }

  .hero-stats           { flex-direction: column; align-items: center; gap: 1rem; }
  .hero-stat-sep        { display: none; }

  /* Stats: SINGLE column on small phones - NO borders, clean */
  .stats-grid           { grid-template-columns: 1fr; gap: var(--space-xl); }
  .stat-item::after     { display: none; }  /* remove dividers on mobile */
  .stat-item            { padding: 1.5rem 1rem; }

  .process-steps        { grid-template-columns: 1fr; }
  .skills-grid          { grid-template-columns: repeat(2, 1fr); }
  .footer-grid          { grid-template-columns: 1fr; }

  #whatsapp-float       { bottom: 4.5rem; right: .75rem; width: 48px; height: 48px; }
  #back-to-top          { right: .75rem; }
}

/* ── UTILITY HELPERS ──────────────────────────────────────── */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.mt-sm  { margin-top: var(--space-sm); }
.mt-md  { margin-top: var(--space-md); }
.mt-lg  { margin-top: var(--space-lg); }
.mt-xl  { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mb-sm  { margin-bottom: var(--space-sm); }
.mb-md  { margin-bottom: var(--space-md); }
.mb-lg  { margin-bottom: var(--space-lg); }
.mb-xl  { margin-bottom: var(--space-xl); }
.color-purple { color: var(--clr-purple-mid); }
.color-green  { color: var(--clr-green); }
.color-blue   { color: var(--clr-blue); }
.color-muted  { color: var(--txt-muted); }
.fw-bold  { font-weight: 700; }
.fw-black { font-weight: 800; }

/* Performance optimizations */
.section { content-visibility: auto; contain-intrinsic-size: 1px 900px; }
img { max-width: 100%; height: auto; }
