/* =========================================================
   Apex Web Studio NZ — Main Site
   Elevated agency-grade design.
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --accent:        #6366f1;
  --accent-2:      #ec4899;
  --accent-3:      #06b6d4;
  --accent-h:      #4f46e5;
  --accent-light:  #eef2ff;
  --accent-text:   #3730a3;
  --grad:          linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
  --grad-r:        linear-gradient(135deg, #ec4899 0%, #6366f1 100%);
  --grad-3:        linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
  --grad-gold:     linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  --bg:            #ffffff;
  --bg-alt:        #f8fafc;
  --bg-dark:       #0c0a1e;
  --bg-dark-2:     #130f2a;
  --text:          #0f172a;
  --text-muted:    #64748b;
  --border:        #e2e8f0;
  --border-dark:   #1e1b3a;
  --max-w:         1160px;
  --radius:        8px;
  --radius-lg:     16px;
  --radius-xl:     24px;
  --font:          'Plus Jakarta Sans', 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --shadow-sm:     0 2px 8px rgba(99,102,241,0.08);
  --shadow-md:     0 8px 32px rgba(99,102,241,0.14);
  --shadow-lg:     0 20px 60px rgba(99,102,241,0.2);
  --shadow-xl:     0 32px 80px rgba(99,102,241,0.28);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body { background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-h); }
ul { list-style: none; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
section { padding: 5.5rem 0; }
h1, h2, h3 { font-weight: 800; line-height: 1.15; letter-spacing: -0.5px; color: var(--text); }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); letter-spacing: -1px; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.625rem); letter-spacing: -0.5px; }
h3 { font-size: 1.0625rem; }
p { color: var(--text-muted); line-height: 1.8; }

/* ── Keyframes ───────────────────────────────────────────── */
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}
@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes scrollX {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.45); }
  70%  { box-shadow: 0 0 0 14px rgba(99, 102, 241, 0); }
  100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes orb1 {
  0%,100% { transform: translate(0,0) scale(1); }
  33%     { transform: translate(40px,-30px) scale(1.08); }
  66%     { transform: translate(-20px,20px) scale(0.94); }
}
@keyframes orb2 {
  0%,100% { transform: translate(0,0) scale(1); }
  33%     { transform: translate(-50px,30px) scale(1.12); }
  66%     { transform: translate(30px,-20px) scale(0.9); }
}
@keyframes orb3 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(25px,-40px) scale(1.06); }
}
@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes glow {
  0%, 100% { opacity: 0.6; }
  50%       { opacity: 1; }
}

/* ── Scroll-reveal utility ───────────────────────────────── */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.65s cubic-bezier(0.16,1,0.3,1), transform 0.65s cubic-bezier(0.16,1,0.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-32px); transition: opacity 0.65s cubic-bezier(0.16,1,0.3,1), transform 0.65s cubic-bezier(0.16,1,0.3,1); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(32px); transition: opacity 0.65s cubic-bezier(0.16,1,0.3,1), transform 0.65s cubic-bezier(0.16,1,0.3,1); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(0.92); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.8125rem 1.625rem;
  border-radius: 999px;
  font-weight: 700; font-size: 0.9375rem;
  transition: all 0.22s cubic-bezier(0.16,1,0.3,1);
  cursor: pointer; border: none; text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad); color: #fff;
  background-size: 200% auto;
  box-shadow: 0 4px 20px rgba(99,102,241,0.35);
}
.btn-primary:hover {
  background-position: right center; color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(99,102,241,0.45);
}
.btn-outline {
  background: transparent; color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-outline:hover { background: var(--accent); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-white { background: #fff; color: var(--accent); box-shadow: 0 4px 20px rgba(0,0,0,0.12); }
.btn-white:hover { background: var(--accent-light); transform: translateY(-3px); box-shadow: 0 12px 36px rgba(0,0,0,0.18); }
.btn-dark { background: var(--bg-dark); color: #fff; }
.btn-dark:hover { background: var(--bg-dark-2); transform: translateY(-2px); }
.btn-lg { padding: 1rem 2.25rem; font-size: 1.0625rem; }
.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── Announcement ticker (top bar) ──────────────────────── */
.site-ticker {
  background: var(--grad);
  background-size: 200% auto;
  animation: gradientShift 6s ease infinite;
  padding: 0.5rem 0;
  overflow: hidden;
  position: relative;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: tickerScroll 30s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0 2.5rem;
  font-size: 0.8125rem; font-weight: 700;
  color: rgba(255,255,255,0.92);
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.ticker-sep { color: rgba(255,255,255,0.4); }

/* ── Nav ─────────────────────────────────────────────────── */
.site-nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(226,232,240,0.8);
  box-shadow: 0 1px 0 rgba(99,102,241,0.06), 0 4px 16px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 90px; max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; gap: 1rem;
}
.nav-logo {
  font-size: 1.1875rem; font-weight: 900; color: var(--text); letter-spacing: -0.75px;
  display: flex; align-items: center; gap: 0.5rem;
}
.nav-logo-img {
  height: 130px; width: auto; display: block; flex-shrink: 0;
}
.nav-logo-icon {
  width: 34px; height: 34px;
  background: var(--grad);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(99,102,241,0.3);
  flex-shrink: 0;
}
.nav-logo span { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
@media (max-width: 480px) {
  .nav-logo-img { height: 56px; }
  .nav-inner { height: 70px; }
}
.nav-links { display: flex; align-items: center; gap: 0.125rem; }
.nav-links a {
  padding: 0.5rem 0.875rem; border-radius: var(--radius);
  color: var(--text-muted); font-size: 0.875rem; font-weight: 600;
  transition: all 0.15s; position: relative;
}
.nav-links a:hover { color: var(--text); background: var(--bg-alt); }
.nav-cta {
  background: var(--grad) !important; color: #fff !important;
  margin-left: 0.375rem;
  background-size: 200% auto;
  border-radius: 999px !important;
  padding: 0.5rem 1.125rem !important;
  box-shadow: 0 4px 16px rgba(99,102,241,0.3);
}
.nav-cta:hover { background-position: right center !important; box-shadow: 0 6px 20px rgba(99,102,241,0.45) !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: all 0.22s; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  padding: 5rem 0 5.5rem;
  background: #07051a;
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
}

/* Mesh gradient background orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  will-change: transform;
}
.hero-orb-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(99,102,241,0.45) 0%, transparent 70%);
  top: -200px; right: -100px;
  animation: orb1 12s ease-in-out infinite;
}
.hero-orb-2 {
  width: 550px; height: 550px;
  background: radial-gradient(circle, rgba(236,72,153,0.35) 0%, transparent 70%);
  bottom: -150px; left: -50px;
  animation: orb2 15s ease-in-out infinite;
}
.hero-orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(6,182,212,0.25) 0%, transparent 70%);
  top: 40%; left: 40%;
  animation: orb3 18s ease-in-out infinite;
}

/* Star field overlay */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 80% 20%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 60% 70%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 10% 80%, rgba(255,255,255,0.35) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 90% 60%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 40% 10%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 70% 90%, rgba(255,255,255,0.3) 0%, transparent 100%);
  pointer-events: none;
}

.hero .container { position: relative; z-index: 2; width: 100%; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; font-weight: 700;
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.35rem 0.875rem;
  border-radius: 999px;
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
  animation: fadeInUp 0.6s ease both;
}
.hero-eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.3);
  animation: glow 2s ease-in-out infinite;
  flex-shrink: 0;
}

.hero h1 {
  color: #fff;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s 0.1s ease both;
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  line-height: 1.08;
  letter-spacing: -1.5px;
}
.hero h1 em { font-style: normal; }

.typing-wrap { display: inline-block; min-width: 16ch; }
.typing-text {
  background: linear-gradient(135deg, #a78bfa, #ec4899, #f59e0b);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  background-size: 200% auto;
  animation: shimmer 4s linear infinite;
}
.cursor { display: inline-block; width: 3px; height: 0.85em; background: #a78bfa; vertical-align: middle; margin-left: 3px; animation: blink 0.9s infinite; border-radius: 2px; }

.hero-lead {
  font-size: 1.1875rem; line-height: 1.75;
  color: rgba(255,255,255,0.72);
  margin-bottom: 2.25rem;
  animation: fadeInUp 0.6s 0.2s ease both;
  max-width: 480px;
}

.hero .btn-group { animation: fadeInUp 0.6s 0.3s ease both; }

/* Hero proof stats */
.hero-proof {
  display: flex; gap: 0; margin-top: 2.5rem;
  padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
  animation: fadeInUp 0.6s 0.4s ease both;
}
.hero-proof-item {
  padding: 0 2rem 0 0;
  margin-right: 2rem;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.hero-proof-item:last-child { border-right: none; }
.hero-proof-item strong {
  display: block; font-size: 1.875rem; font-weight: 900; line-height: 1;
  background: linear-gradient(135deg, #fff, #a78bfa);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 0.25rem;
}
.hero-proof-item span { font-size: 0.8rem; color: rgba(255,255,255,0.5); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }

/* Hero right: floating demo showcase */
.hero-mockup { animation: floatSlow 9s ease-in-out infinite; position: relative; }
.hero-mockup::before {
  content: '';
  position: absolute;
  inset: -30px;
  background: radial-gradient(ellipse, rgba(99,102,241,0.3) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: glow 3s ease-in-out infinite;
}

.browser-frame {
  background: #1a1730;
  border-radius: var(--radius-xl);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06),
    0 32px 80px rgba(0,0,0,0.6),
    0 0 60px rgba(99,102,241,0.2);
  overflow: hidden;
}
.browser-bar {
  background: #0d0b1a;
  padding: 0.75rem 1rem;
  display: flex; align-items: center; gap: 0.625rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.browser-dots { display: flex; gap: 6px; }
.browser-dot { width: 11px; height: 11px; border-radius: 50%; }
.browser-dot.red   { background: #ef4444; }
.browser-dot.amber { background: #f59e0b; }
.browser-dot.green { background: #22c55e; }
.browser-url {
  flex: 1; background: rgba(255,255,255,0.05);
  border-radius: 6px; padding: 0.3rem 0.75rem;
  font-size: 0.75rem; color: rgba(255,255,255,0.4);
  border: 1px solid rgba(255,255,255,0.08);
  font-family: 'SF Mono', 'Fira Code', monospace;
}
.browser-content { padding: 0; }

/* Mock site inside browser */
.mock-site {
  background: linear-gradient(160deg, #1e1b4b 0%, #312e81 40%, #4f46e5 100%);
  padding: 1.75rem; min-height: 240px;
  display: flex; flex-direction: column; gap: 1rem;
}
.mock-nav { display: flex; gap: 0.5rem; align-items: center; }
.mock-nav-dot { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.3); }
.mock-hero-text { margin-top: 0.5rem; }
.mock-line { height: 11px; border-radius: 6px; background: rgba(255,255,255,0.9); margin-bottom: 0.6rem; }
.mock-line.sm { height: 7px; background: rgba(255,255,255,0.5); width: 72% !important; }
.mock-line.xs { height: 6px; background: rgba(255,255,255,0.28); width: 50% !important; }
.mock-btn { height: 30px; width: 110px; border-radius: 999px; background: linear-gradient(135deg, #ec4899, #6366f1); margin-top: 0.875rem; box-shadow: 0 4px 12px rgba(236,72,153,0.4); }
.mock-cards { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.625rem; margin-top: 0.5rem; }
.mock-card { background: rgba(255,255,255,0.1); border-radius: 8px; padding: 0.75rem; border: 1px solid rgba(255,255,255,0.08); }
.mock-card-line { height: 5px; border-radius: 3px; background: rgba(255,255,255,0.45); margin-bottom: 0.3rem; }

/* Floating badges on mockup */
.mockup-badge {
  position: absolute;
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius-lg);
  padding: 0.625rem 1rem;
  display: flex; align-items: center; gap: 0.625rem;
  font-size: 0.8125rem; font-weight: 700; color: var(--text);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2), 0 0 0 1px rgba(255,255,255,0.5);
  backdrop-filter: blur(12px);
  white-space: nowrap;
}
.mockup-badge-icon { font-size: 1.25rem; }
.mockup-badge-sub { font-size: 0.7rem; font-weight: 500; color: var(--text-muted); display: block; line-height: 1; margin-top: 0.2rem; }
.mockup-badge-1 {
  bottom: -20px; left: -30px;
  animation: float 4s ease-in-out infinite;
}
.mockup-badge-2 {
  top: 30px; right: -40px;
  animation: float 5s 1s ease-in-out infinite;
}
.mockup-badge-3 {
  top: -18px; left: 30%;
  animation: float 4.5s 0.5s ease-in-out infinite;
}

/* ── Industry scroll strip ───────────────────────────────── */
.industry-strip {
  background: #0d0b1f;
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 1.5rem 0;
  overflow: hidden; position: relative;
}
.industry-strip::before,
.industry-strip::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.industry-strip::before { left: 0; background: linear-gradient(to right, #0d0b1f, transparent); }
.industry-strip::after  { right: 0; background: linear-gradient(to left, #0d0b1f, transparent); }
.strip-track { display: flex; gap: 0; width: max-content; animation: scrollX 80s linear infinite; }
.strip-track:hover { animation-play-state: paused; }
.strip-item {
  display: flex; align-items: center; gap: 0.625rem;
  padding: 0 2rem; white-space: nowrap;
  font-size: 0.875rem; font-weight: 700; color: rgba(255,255,255,0.75);
  transition: color 0.15s;
}
.strip-item:hover { color: var(--accent); }
.strip-item .strip-icon { font-size: 1.25rem; }
.strip-divider { color: rgba(255,255,255,0.25); padding: 0 0.25rem; }

/* ── Section head ─────────────────────────────────────────── */
.section-head { margin-bottom: 3.5rem; }
.section-head.center { text-align: center; }
.section-head.center p { max-width: 560px; margin: 0.875rem auto 0; font-size: 1.0625rem; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 0.375rem;
  font-size: 0.75rem; font-weight: 800;
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 0.875rem;
}
.section-eyebrow::before {
  content: '';
  display: inline-block; width: 18px; height: 2px;
  background: var(--grad); border-radius: 2px;
  -webkit-background-clip: unset; -webkit-text-fill-color: unset; background-clip: unset;
}
.section-head h2 { margin-bottom: 0; }

/* ── Trust bar ────────────────────────────────────────────── */
.trust-bar { background: var(--bg-dark); padding: 1.375rem 0; }
.trust-inner { display: flex; gap: 2.5rem; justify-content: center; flex-wrap: wrap; align-items: center; }
.trust-item { display: flex; align-items: center; gap: 0.75rem; }
.trust-icon { width: 32px; height: 32px; background: rgba(99,102,241,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.875rem; flex-shrink: 0; }
.trust-item > div:not(.trust-icon) { display: flex; flex-direction: column; line-height: 1.3; }
.trust-item strong { color: #fff; font-size: 0.9rem; font-weight: 700; display: block; }
.trust-item span { color: rgba(255,255,255,0.6); font-size: 0.8125rem; margin-top: 0.125rem; }

/* ── Services ─────────────────────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; max-width: 1180px; margin: 0 auto; }
@media (max-width: 980px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(99,102,241,0.2);
  transform: translateY(-6px);
}
.service-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(236,72,153,0.08));
  border: 1px solid rgba(99,102,241,0.18);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.625rem;
  box-shadow: 0 4px 12px rgba(99,102,241,0.08);
  margin-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  transition: all 0.3s;
}
.service-card:hover .service-icon {
  background: var(--grad);
  border-color: transparent;
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 8px 24px rgba(99,102,241,0.35);
}
.service-card:hover .service-icon { filter: saturate(1.1); }
.service-card h3 { margin-bottom: 0.625rem; font-size: 1.125rem; font-weight: 800; letter-spacing: -0.01em; }
.service-card p { font-size: 0.925rem; line-height: 1.65; color: var(--text-muted); }

/* ── Stats ────────────────────────────────────────────────── */
.stats-section {
  background: var(--bg-dark);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 20% 50%, rgba(99,102,241,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 80% 50%, rgba(236,72,153,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 2.5rem; text-align: center; position: relative; z-index: 1; }
.stat-item { padding: 1.5rem; border: 1px solid rgba(255,255,255,0.06); border-radius: var(--radius-lg); transition: border-color 0.3s; }
.stat-item:hover { border-color: rgba(99,102,241,0.3); }
.stat-num {
  font-size: clamp(2.75rem, 5.5vw, 4rem);
  font-weight: 900;
  background: linear-gradient(135deg, #fff, #a78bfa);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1; margin-bottom: 0.625rem;
  letter-spacing: -1px;
}
.stat-label { font-size: 0.875rem; color: rgba(255,255,255,0.45); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }

/* ── Pricing ──────────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; max-width: 900px; margin: 0 auto; }
.pricing-grid-3 { max-width: 1100px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .pricing-grid-3 { grid-template-columns: 1fr; } }

.pricing-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  display: flex; flex-direction: column; gap: 1.5rem;
  position: relative; background: #fff;
  transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(99,102,241,0.25); }

.pricing-card.featured {
  background: var(--bg-dark);
  border: 1.5px solid rgba(99,102,241,0.4);
  color: #fff;
}
.pricing-card.featured::after {
  content: '';
  position: absolute; inset: -2px; border-radius: calc(var(--radius-xl) + 2px);
  background: var(--grad);
  z-index: -1;
  opacity: 0.5;
  filter: blur(16px);
  animation: glow 3s ease-in-out infinite;
}
.pricing-card.featured .pricing-label,
.pricing-card.featured .pricing-desc { color: rgba(255,255,255,0.6); }
.pricing-card.featured .pricing-price { color: #fff; }
.pricing-card.featured .pricing-features li { color: rgba(255,255,255,0.85); }
.pricing-card.featured .pricing-price small { color: rgba(255,255,255,0.5); }

.pricing-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.3rem 0.875rem; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 4px 16px rgba(99,102,241,0.4);
}
.pricing-label { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); }
.pricing-price { font-size: 3.25rem; font-weight: 900; line-height: 1; letter-spacing: -1px; }
.pricing-price sup { font-size: 1.375rem; vertical-align: super; font-weight: 700; }
.pricing-price small { font-size: 0.9375rem; font-weight: 400; color: var(--text-muted); }
.pricing-desc { font-size: 0.9rem; line-height: 1.65; }
.pricing-features { display: flex; flex-direction: column; gap: 0.6875rem; flex: 1; }
.pricing-features li {
  display: flex; align-items: flex-start; gap: 0.625rem;
  font-size: 0.9rem; color: var(--text);
}
.pricing-features li::before {
  content: "✓";
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-light); color: var(--accent);
  font-weight: 900; font-size: 0.7rem;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.pricing-card.featured .pricing-features li::before { background: rgba(99,102,241,0.25); color: #a78bfa; }
.pricing-card.featured .pricing-features li { color: rgba(255,255,255,0.85); }

/* ── Process ──────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.75rem 2rem; max-width: 1100px; margin: 0 auto; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { text-align: center; position: relative; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--grad); color: #fff; font-weight: 900; font-size: 1.375rem;
  margin: 0 auto 1.25rem;
  box-shadow: 0 6px 24px rgba(99,102,241,0.4);
  position: relative;
}
.step-num.pulse { animation: pulse-ring 2.5s ease-out infinite; }
.step h3 { margin-bottom: 0.5rem; font-size: 1.0625rem; }
.step p { font-size: 0.9rem; max-width: 220px; margin: 0 auto; }

/* ── Portfolio carousel ───────────────────────────────────── */
.carousel-wrap { position: relative; overflow: hidden; }
.carousel-track { display: flex; gap: 1.5rem; transition: transform 0.5s cubic-bezier(0.16,1,0.3,1); will-change: transform; }
.carousel-slide { width: 240px; min-width: 240px; max-width: 240px; flex: 0 0 240px; }
.portfolio-card {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
  background: var(--bg);
  cursor: pointer;
  position: relative;
}
.portfolio-card:hover { box-shadow: var(--shadow-lg); border-color: rgba(99,102,241,0.25); transform: translateY(-6px); }
.portfolio-thumb {
  height: 140px; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.portfolio-thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.3s;
}
.portfolio-card:hover .portfolio-thumb::after { background: rgba(0,0,0,0.15); }
.portfolio-thumb-grad { position: absolute; inset: 0; }
.portfolio-thumb-icon {
  position: relative; z-index: 1;
  font-size: 2.25rem;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
  transition: transform 0.3s;
}
.portfolio-card:hover .portfolio-thumb-icon { transform: scale(1.1); }
.portfolio-thumb-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.portfolio-card:hover .portfolio-thumb-img { transform: scale(1.05); }
.portfolio-body { padding: 1rem; }
.portfolio-body h3 { font-size: 0.9375rem; margin-bottom: 0.2rem; }
.portfolio-body p { font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 0.75rem; line-height: 1.5; }
.portfolio-body a { font-size: 0.8125rem; font-weight: 700; color: var(--accent); display: inline-flex; align-items: center; gap: 0.25rem; transition: gap 0.15s; }
.portfolio-body a::after { content: ''; position: absolute; inset: 0; }
.portfolio-body a:hover { gap: 0.5rem; }
.portfolio-tag {
  display: inline-block; font-size: 0.6875rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  background: var(--accent-light); color: var(--accent-text);
  padding: 0.2rem 0.55rem; border-radius: 5px; margin-bottom: 0.5rem;
}
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 2.5rem; }
.carousel-btn {
  width: 48px; height: 48px; border-radius: 50%;
  background: #fff; border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1.125rem;
  transition: all 0.2s; color: var(--text);
  box-shadow: var(--shadow-sm);
}
.carousel-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: var(--shadow-md); }
.carousel-dots { display: flex; gap: 6px; align-items: center; }
.carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); cursor: pointer; transition: all 0.2s; border: none; padding: 0; }
.carousel-dot.active { background: var(--accent); width: 24px; border-radius: 4px; }

/* ── Featured demos spotlight strip ─────────────────────── */
.demo-spot { background: var(--bg-dark); padding: 5rem 0; position: relative; overflow: hidden; }
.demo-spot::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(99,102,241,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.demo-spot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; position: relative; z-index: 1; }
.demo-spot-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
  transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
  text-decoration: none;
  display: block;
}
.demo-spot-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(99,102,241,0.3); }
.demo-spot-thumb {
  height: 130px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
  position: relative;
  overflow: hidden;
}
.demo-spot-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.demo-spot-card:hover .demo-spot-img { transform: scale(1.05); }
.demo-spot-thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0,0,0,0); transition: background 0.2s;
}
.demo-spot-card:hover .demo-spot-thumb::after { background: rgba(0,0,0,0.1); }
.demo-spot-body {
  background: rgba(255,255,255,0.04);
  padding: 0.75rem 1rem;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.demo-spot-body span {
  font-size: 0.8rem; font-weight: 700; color: rgba(255,255,255,0.8);
  display: block; margin-bottom: 0.125rem;
}
.demo-spot-body small { font-size: 0.7rem; color: rgba(255,255,255,0.35); }

/* ── Testimonials ─────────────────────────────────────────── */
.testimonials { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.testi-carousel { max-width: 800px; margin: 0 auto; position: relative; }
.testi-track-wrap { overflow: hidden; }
.testi-track { display: flex; transition: transform 0.55s cubic-bezier(0.16,1,0.3,1); }
.testi-slide { min-width: 100%; }
.testi-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 3rem 3rem 2.5rem;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  position: relative;
}
.testi-card::before {
  content: '\201C';
  position: absolute; top: 1.25rem; left: 2rem;
  font-size: 5rem; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  font-family: Georgia, serif; opacity: 0.5;
}
.testi-stars { font-size: 1.125rem; margin-bottom: 1.5rem; letter-spacing: 3px; color: #f59e0b; }
.testi-quote {
  font-size: 1.125rem; color: var(--text);
  font-weight: 500; line-height: 1.75;
  margin-bottom: 2rem; font-style: italic;
}
.testi-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--grad); margin: 0 auto 0.625rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; font-weight: 800; color: #fff;
}
.testi-author { font-weight: 800; font-size: 1rem; color: var(--text); }
.testi-biz { font-size: 0.8125rem; color: var(--text-muted); margin-top: 0.25rem; }
.testi-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 2rem; }

/* ── Why Us section ──────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.why-visual { position: relative; }
.why-card {
  background: var(--bg-dark);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.why-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad);
}
.why-card-title { color: #fff; font-size: 1.5rem; margin-bottom: 0.5rem; }
.why-card-sub { color: rgba(255,255,255,0.5); font-size: 0.9rem; margin-bottom: 1.75rem; }
.why-card-rows { display: flex; flex-direction: column; gap: 1rem; }
.why-card-row {
  display: flex; align-items: center; gap: 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 0.875rem 1.125rem;
  transition: border-color 0.2s;
}
.why-card-row:hover { border-color: rgba(99,102,241,0.3); }
.why-card-row-icon {
  font-size: 1.375rem; flex-shrink: 0;
  width: 44px; height: 44px;
  background: rgba(99,102,241,0.15); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
}
.why-card-row-text strong { color: #fff; font-size: 0.9375rem; display: block; margin-bottom: 0.125rem; }
.why-card-row-text span { color: rgba(255,255,255,0.45); font-size: 0.8125rem; }
.why-floating {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 0.75rem 1rem;
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
}
.why-floating-1 {
  bottom: -20px; right: -20px;
  animation: float 5s ease-in-out infinite;
}
.why-floating-2 {
  top: -24px; left: 24px;
  animation: float 4.5s 1s ease-in-out infinite;
}
.why-floating-num { font-size: 1.25rem; font-weight: 900; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; }
.why-floating-label { font-size: 0.7rem; color: var(--text-muted); font-weight: 600; }

.why-content { }
.why-list { display: flex; flex-direction: column; gap: 1.75rem; margin-top: 2.5rem; }
.why-item { display: flex; align-items: flex-start; gap: 1rem; }
.why-item-icon {
  width: 48px; height: 48px;
  background: var(--accent-light);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; flex-shrink: 0;
  transition: all 0.3s;
}
.why-item:hover .why-item-icon { background: var(--grad); transform: rotate(-6deg) scale(1.05); }
.why-item-text h4 { font-size: 1rem; font-weight: 800; margin-bottom: 0.25rem; }
.why-item-text p { font-size: 0.9rem; }

/* ── CTA band ─────────────────────────────────────────────── */
.cta-band {
  background: var(--bg-dark);
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(99,102,241,0.2) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(236,72,153,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.cta-band-inner { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 1rem; font-size: clamp(2rem, 4vw, 3rem); }
.cta-band p { color: rgba(255,255,255,0.65); font-size: 1.125rem; max-width: 520px; margin: 0 auto 2.5rem; }
.cta-band-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-band-sub { margin-top: 1.25rem; font-size: 0.8125rem; color: rgba(255,255,255,0.35); }

/* ── Contact ──────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 4.5rem; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 1.75rem; }
.contact-info-item h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); font-weight: 700; margin-bottom: 0.375rem; }
.contact-info-item a, .contact-info-item p { font-size: 1.125rem; font-weight: 700; color: var(--text); }
.contact-info-item a:hover { color: var(--accent); }
.contact-form-wrap {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius-xl); padding: 2.5rem;
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.375rem; margin-bottom: 1.125rem; }
.form-group label { font-size: 0.8125rem; font-weight: 700; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-alt); border: 1.5px solid var(--border);
  border-radius: var(--radius); color: var(--text);
  font-family: var(--font); font-size: 0.9375rem;
  padding: 0.75rem 1rem; transition: all 0.2s; width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(99,102,241,0.1);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group.full { grid-column: 1 / -1; }
.form-success { display: none; text-align: center; padding: 3rem 1rem; }
.form-success p:first-child { font-size: 3.5rem; margin-bottom: 0.75rem; }
.form-success p:last-child { color: var(--text); font-weight: 700; font-size: 1.0625rem; }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer { background: var(--bg-dark); color: #fff; padding: 4rem 0 2rem; border-top: 1px solid var(--border-dark); }
.footer-top { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: start; margin-bottom: 3rem; }
.footer-brand h3 { color: #fff; font-size: 1.1875rem; margin-bottom: 0.625rem; }
.footer-brand h3 span { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.footer-logo-img { height: 140px; width: auto; display: block; margin-bottom: 0.875rem; }
.footer-brand p { font-size: 0.9rem; color: rgba(255,255,255,0.4); max-width: 300px; line-height: 1.7; margin-top: 0.375rem; }
.footer-links-col { display: flex; gap: 2rem; flex-wrap: wrap; }
.footer-links-col a { color: rgba(255,255,255,0.45); font-size: 0.875rem; font-weight: 600; transition: color 0.15s; }
.footer-links-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1.75rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.8125rem; color: rgba(255,255,255,0.25); }

/* ── Category filter bar (portfolio page) ────────────────── */
.cat-filter-wrap {
  position: sticky; top: 70px; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.cat-filter-bar { }
.cat-filter-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; gap: 0.5rem; flex-wrap: wrap;
  padding: 0.75rem 1.5rem;
}
.cat-pill {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.8125rem; font-weight: 600;
  white-space: nowrap;
  transition: all 0.15s;
  text-decoration: none;
  flex-shrink: 0;
}
.cat-pill:hover { background: var(--grad); color: #fff; border-color: transparent; }

/* ── Portfolio page hero ──────────────────────────────────── */
.portfolio-hero {
  background: #07051a;
  padding: 4rem 0 3rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

/* ── Portfolio grid (portfolio page) ─────────────────────── */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.5rem; }

/* ── Mobile ───────────────────────────────────────────────── */
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; gap: 3rem; }
  .why-visual { order: -1; }
}

@media (max-width: 768px) {
  section { padding: 4rem 0; }
  .hero { min-height: auto; padding: 4rem 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-mockup { order: -1; }
  .mockup-badge-1 { left: 0; bottom: -10px; }
  .mockup-badge-2 { right: 0; top: 10px; }
  .mockup-badge-3 { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 90px; left: 0; right: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 1.25rem 1.5rem 2rem;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    z-index: 199;
    gap: 0.25rem;
  }
  .nav-toggle { display: block; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .carousel-slide { width: 220px; min-width: 220px; max-width: 220px; flex: 0 0 220px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-proof { gap: 1.25rem; }
  .hero-proof-item { padding-right: 1.25rem; margin-right: 1.25rem; }
  .testi-card { padding: 2rem 1.5rem; }
  .site-ticker { display: none; }
  .demo-spot-grid { grid-template-columns: repeat(2, 1fr); }
  /* About page split */
  .about-split { grid-template-columns: 1fr !important; gap: 2.5rem !important; }
  /* Portfolio category pills scroll */
  .cat-filter-inner { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 0.5rem; }
  .portfolio-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
  /* Trust bar — tighter wrap on mobile */
  .trust-inner { gap: 1.25rem; }
  .trust-item { flex: 1 0 calc(50% - 1.25rem); justify-content: flex-start; }
  /* CTA band buttons */
  .cta-band-buttons { flex-direction: column; align-items: stretch; }
  .cta-band-buttons .btn { justify-content: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  h1 { font-size: 2rem !important; line-height: 1.15; }
  h2 { font-size: 1.625rem !important; line-height: 1.2; }
  .hero { padding: 3rem 0; }
  .hero-proof { flex-wrap: wrap; gap: 0.875rem; }
  .hero-proof-item { padding-right: 0.875rem; margin-right: 0; flex: 1 0 45%; }
  .btn-lg { padding: 0.875rem 1.5rem; font-size: 0.9375rem; }
  .btn-group { flex-direction: column; align-items: stretch; }
  .btn-group .btn { justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .stat-num { font-size: 2rem; }
  .pricing-card { padding: 1.5rem; }
  .pricing-price { font-size: 2.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .demo-spot-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .trust-item { flex: 1 0 100%; }
  .nav-inner { padding: 0 1rem; }
  section { padding: 3rem 0; }
}
