/* ═══════════════════════════════════════════════
   Barnsley Webdesigns — Main Stylesheet
   ═══════════════════════════════════════════════ */

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

:root {
  --bg: #08090d;
  --bg-2: #0d0f17;
  --bg-3: #111420;
  --surface: #141720;
  --surface-2: #1a1e2e;
  --border: rgba(255,255,255,0.07);
  --text: #e8eaf0;
  --text-muted: #6b7280;
  --text-subtle: #9ca3af;
  --purple: #7c3aed;
  --purple-light: #a855f7;
  --cyan: #06b6d4;
  --green: #10b981;
  --gradient: linear-gradient(135deg, #7c3aed, #06b6d4);
  --gradient-text: linear-gradient(135deg, #a855f7 0%, #06b6d4 50%, #38bdf8 100%);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 25px 60px rgba(0,0,0,0.5);
  --shadow-sm: 0 8px 24px rgba(0,0,0,0.3);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', system-ui, sans-serif;
  --font-display: 'Syne', 'Inter', sans-serif;
}

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(124, 58, 237, 0.4); }

/* ── Custom Scrollbar ─────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 3px; }

/* ── Custom Cursor ────────────────────────────── */
.cursor {
  width: 10px; height: 10px;
  background: var(--purple-light);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, width 0.2s, height 0.2s, background 0.2s;
}
.cursor-follower {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(124, 58, 237, 0.4);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.18s ease-out, width 0.3s, height 0.3s, border-color 0.3s;
}
body:hover .cursor { opacity: 1; }
@media (pointer: coarse) { .cursor, .cursor-follower { display: none; } }

/* ── Loader ───────────────────────────────────── */
.loader {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s, visibility 0.5s;
}
.loader.hidden { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; }
.loader-logo {
  font-family: var(--font-display);
  font-size: 3rem; font-weight: 800;
  color: var(--text);
  display: block; margin-bottom: 2rem;
  letter-spacing: -0.02em;
}
.loader-logo em {
  font-style: normal;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.loader-bar {
  width: 200px; height: 2px;
  background: var(--surface-2);
  border-radius: 1px; overflow: hidden;
}
.loader-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 1px;
  animation: loaderAnim 1.6s ease-in-out forwards;
}
@keyframes loaderAnim {
  0% { width: 0; }
  60% { width: 70%; }
  100% { width: 100%; }
}

/* ── Utility Classes ──────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.desktop-only { display: none; }
@media (min-width: 900px) { .desktop-only { display: inline; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 100px;
  font-family: var(--font); font-weight: 600; font-size: 0.95rem;
  text-decoration: none; border: none; cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 24px rgba(124,58,237,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(124,58,237,0.5);
}
.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--purple-light);
  color: var(--purple-light);
  transform: translateY(-2px);
}
.btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; }
.btn-full { width: 100%; }
.inline-link {
  color: var(--purple-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(168,85,247,0.3);
  transition: border-color 0.2s;
}
.inline-link:hover { border-color: var(--purple-light); }

/* ── Section Base ─────────────────────────────── */
.section { padding: 7rem 0; }
.section-dark { background: var(--bg-2); }
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4rem;
}
.section-tag {
  display: inline-block;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple-light);
  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.25);
  border-radius: 100px;
  padding: 0.3rem 1rem;
  margin-bottom: 1.25rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.section-desc {
  color: var(--text-subtle);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ── Scroll Reveal Animations ─────────────────── */
.scroll-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.animate-in {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.7s ease forwards;
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ── Navigation ───────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: background 0.3s, padding 0.3s, backdrop-filter 0.3s;
}
.nav.scrolled {
  background: rgba(8, 9, 13, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo {
  text-decoration: none;
  display: inline-flex; align-items: center;
}
.nav-logo-img {
  height: 40px; width: auto;
  display: block;
}
/* Fallback text logo (shown if SVG fails) */
.nav-logo span {
  font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links {
  display: flex; align-items: center; gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  color: var(--text-subtle);
  text-decoration: none;
  font-size: 0.9rem; font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--gradient) !important;
  color: #fff !important;
  padding: 0.6rem 1.35rem;
  border-radius: 100px;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 16px rgba(124,58,237,0.3);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(124,58,237,0.45) !important; }
.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 1px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 860px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; inset: 0; top: 70px;
    flex-direction: column; gap: 0;
    background: rgba(8,9,13,0.97);
    backdrop-filter: blur(20px);
    padding: 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    align-items: flex-start;
    border-top: 1px solid var(--border);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block; padding: 1rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-cta {
    margin-top: 1rem;
    display: inline-flex !important;
    width: auto !important;
  }
}

/* ── Hero ─────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  padding-top: 5rem;
}
#heroCanvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0.4;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(124,58,237,0.18) 0%, transparent 70%);
  top: -200px; left: -100px;
  animation: glowPulse 8s ease-in-out infinite;
}
.glow-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(6,182,212,0.12) 0%, transparent 70%);
  bottom: -100px; right: -100px;
  animation: glowPulse 10s ease-in-out infinite reverse;
}
@keyframes glowPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.7; }
}
.hero-content {
  position: relative; z-index: 2;
  padding: 4rem 0;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.82rem; font-weight: 500;
  color: var(--text-subtle);
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: 100px;
  padding: 0.35rem 1rem 0.35rem 0.6rem;
  margin-bottom: 2rem;
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(16,185,129,0.2);
  animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(16,185,129,0.2); }
  50% { box-shadow: 0 0 0 6px rgba(16,185,129,0.08); }
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.05em;
}
.hero-title .hl {
  white-space: nowrap;
  display: block;
}
.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text-subtle);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 560px;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 1rem;
  margin-bottom: 3.5rem;
}
.hero-stats {
  display: flex; align-items: center; gap: 2rem;
  flex-wrap: wrap;
}
.stat { text-align: left; }
.stat strong {
  font-family: var(--font-display);
  font-size: 2.2rem; font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
}
.stat span { font-size: 1.4rem; font-weight: 700; color: var(--purple-light); }
.stat p { font-size: 0.82rem; color: var(--text-muted); margin-top: 0.1rem; }
.stat-divider { width: 1px; height: 48px; background: var(--border); }
.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-muted);
  z-index: 2;
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--purple-light), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.4; }
}

/* ── Marquee Strip ────────────────────────────── */
.marquee-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 1rem 0;
}
.marquee-track {
  display: inline-flex; gap: 2.5rem;
  white-space: nowrap;
  animation: marqueeScroll 30s linear infinite;
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-muted);
}
.marquee-track .sep { color: var(--purple); }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── Services ─────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124,58,237,0.05), rgba(6,182,212,0.03));
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover { border-color: rgba(124,58,237,0.35); transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 52px; height: 52px;
  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.2);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--purple-light);
  transition: background 0.3s;
}
.service-card:hover .service-icon { background: rgba(124,58,237,0.2); }
.service-icon img { width: 22px; height: 22px; display: block; }
.service-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.6rem; }
.service-card p { color: var(--text-subtle); font-size: 0.9rem; line-height: 1.65; margin-bottom: 1.5rem; }
.service-link {
  font-size: 0.875rem; font-weight: 600;
  color: var(--purple-light);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.35rem;
  transition: gap 0.2s;
}
.service-link:hover { gap: 0.6rem; }
.service-link span { transition: transform 0.2s; }
.service-link:hover span { transform: translateX(3px); }

/* ── Portfolio ────────────────────────────────── */
.portfolio-filter {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  justify-content: center;
  margin-bottom: 3rem;
}
.filter-btn {
  padding: 0.55rem 1.35rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-subtle);
  font-size: 0.85rem; font-weight: 500;
  cursor: pointer; transition: var(--transition);
  font-family: var(--font);
}
.filter-btn.active, .filter-btn:hover {
  background: rgba(124,58,237,0.15);
  border-color: rgba(124,58,237,0.4);
  color: var(--purple-light);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .portfolio-grid { grid-template-columns: 1fr; } }

.portfolio-item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: var(--transition);
  cursor: pointer;
}
.portfolio-item:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: rgba(124,58,237,0.3); }
.portfolio-image {
  height: 220px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background-color: var(--bg);
}
.portfolio-info { padding: 1.25rem 1.5rem 1.5rem; }
.portfolio-tag {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--purple-light);
  display: block; margin-bottom: 0.4rem;
}
.portfolio-info h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.3rem; }
.portfolio-info p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }

/* ── Portfolio Mockups ────────────────────────── */
.portfolio-mockup {
  width: 85%; height: 85%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.6);
}
.pm-1 { background: #0f1629; }
.pm-bar { height: 28px; background: rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.05); display: flex; align-items: center; padding: 0 10px; gap: 5px; }
.pm-bar::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: rgba(255,100,100,0.6); }
.pm-bar::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: rgba(100,255,100,0.6); margin-left: 3px; }
.pm-content { padding: 12px; }
.pm-hero-block { height: 60px; background: linear-gradient(135deg, rgba(124,58,237,0.3), rgba(6,182,212,0.2)); border-radius: 6px; margin-bottom: 8px; }
.pm-text-lines { display: flex; flex-direction: column; gap: 4px; margin-bottom: 8px; }
.pm-text-lines div { height: 5px; background: rgba(255,255,255,0.12); border-radius: 2px; }
.pm-text-lines div:first-child { width: 80%; }
.pm-text-lines div:nth-child(2) { width: 65%; }
.pm-text-lines div:last-child { width: 50%; }
.pm-cards { display: flex; gap: 5px; }
.pm-cards div { flex: 1; height: 36px; background: rgba(255,255,255,0.07); border-radius: 4px; border: 1px solid rgba(255,255,255,0.05); }

.pm-2 { background: #1a0a2e; display: flex; align-items: center; justify-content: center; }
.pm-logo-showcase { text-align: center; padding: 16px; width: 100%; }
.pm-logo-mark { width: 40px; height: 40px; background: linear-gradient(135deg, #a855f7, #06b6d4); border-radius: 10px; margin: 0 auto 8px; }
.pm-wordmark { height: 8px; width: 80px; background: rgba(255,255,255,0.3); border-radius: 4px; margin: 0 auto 12px; }
.pm-palette { display: flex; gap: 4px; justify-content: center; }
.pm-palette div { width: 18px; height: 18px; border-radius: 50%; }
.pm-palette div:nth-child(1) { background: #a855f7; }
.pm-palette div:nth-child(2) { background: #06b6d4; }
.pm-palette div:nth-child(3) { background: #f59e0b; }
.pm-palette div:nth-child(4) { background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.1); }

.pm-3 { background: #0a1a1a; padding: 10px; }
.pm-shop { display: flex; gap: 8px; height: 100%; }
.pm-product-card { flex: 1; background: rgba(255,255,255,0.05); border-radius: 6px; border: 1px solid rgba(255,255,255,0.06); overflow: hidden; }
.pm-product-img { height: 60%; background: linear-gradient(135deg, rgba(16,185,129,0.2), rgba(6,182,212,0.15)); }
.pm-product-info { padding: 6px; }
.pm-product-info div:first-child { height: 5px; background: rgba(255,255,255,0.2); border-radius: 2px; margin-bottom: 4px; width: 80%; }
.pm-product-info div:last-child { height: 5px; background: rgba(16,185,129,0.4); border-radius: 2px; width: 50%; }

.pm-4 { background: #161229; display: flex; overflow: hidden; }
.pm-sidebar { width: 28%; background: rgba(255,255,255,0.04); padding: 10px; display: flex; flex-direction: column; gap: 6px; border-right: 1px solid rgba(255,255,255,0.05); }
.pm-sidebar div { height: 6px; background: rgba(255,255,255,0.1); border-radius: 3px; }
.pm-sidebar div:first-child { height: 10px; width: 60%; background: rgba(124,58,237,0.5); }
.pm-main-area { flex: 1; padding: 8px; }
.pm-chart-area { height: 60%; background: linear-gradient(to top, rgba(124,58,237,0.2), rgba(6,182,212,0.1)); border-radius: 4px; margin-bottom: 6px; position: relative; overflow: hidden; }
.pm-chart-area::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 40%; background: linear-gradient(to right, rgba(124,58,237,0.4) 0%, rgba(6,182,212,0.4) 100%); }
.pm-stat-row { display: flex; gap: 4px; }
.pm-stat-row div { flex: 1; height: 18px; background: rgba(255,255,255,0.06); border-radius: 3px; border: 1px solid rgba(255,255,255,0.04); }

.pm-5 { background: #1a1000; padding: 10px; }
.pm-brand-board { height: 100%; display: flex; flex-direction: column; gap: 6px; }
.pm-bb-top { flex: 1; background: linear-gradient(135deg, rgba(245,158,11,0.25), rgba(239,68,68,0.15)); border-radius: 6px; }
.pm-bb-grid { display: flex; gap: 4px; height: 35%; }
.pm-bb-grid div { flex: 1; border-radius: 4px; }
.pm-bb-grid div:nth-child(1) { background: rgba(245,158,11,0.5); }
.pm-bb-grid div:nth-child(2) { background: rgba(239,68,68,0.3); }
.pm-bb-grid div:nth-child(3) { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.08); }
.pm-bb-grid div:nth-child(4) { background: rgba(245,158,11,0.2); }

.pm-6 { background: #0a1829; padding: 0; }
.pm-nav-strip { height: 22px; background: rgba(255,255,255,0.04); border-bottom: 1px solid rgba(255,255,255,0.05); }
.pm-hero-text { padding: 10px 10px 0; display: flex; flex-direction: column; gap: 5px; }
.pm-hero-text div:first-child { height: 12px; background: rgba(255,255,255,0.2); border-radius: 3px; width: 90%; }
.pm-hero-text div:last-child { height: 8px; background: rgba(255,255,255,0.12); border-radius: 3px; width: 70%; }
.pm-feature-row { display: flex; gap: 6px; padding: 10px; }
.pm-feature-row div { flex: 1; height: 50px; background: rgba(56,189,248,0.1); border-radius: 5px; border: 1px solid rgba(56,189,248,0.12); }

/* ── Portfolio filter animation ───────────────── */
.portfolio-item.hidden { display: none; }

/* ── Process ──────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 0;
}
@media (max-width: 900px) {
  .process-steps { grid-template-columns: 1fr; }
  .process-connector { display: none; }
}
.process-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
}
.process-step:hover { border-color: rgba(124,58,237,0.35); transform: translateY(-4px); }
.step-number {
  font-family: var(--font-display);
  font-size: 3rem; font-weight: 800;
  color: rgba(124,58,237,0.15);
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}
.step-content h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.step-content p { font-size: 0.875rem; color: var(--text-subtle); line-height: 1.65; }
.process-connector {
  width: 40px; height: 2px;
  background: linear-gradient(to right, var(--purple), var(--cyan));
  position: relative;
  align-self: center;
}
.process-connector::after {
  content: '';
  position: absolute; right: -5px; top: -3px;
  width: 0; height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid var(--cyan);
}

/* ── Testimonials ─────────────────────────────── */
.testimonials-section { overflow: hidden; }
.testimonials-slider { position: relative; overflow: hidden; }
.testimonials-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.testimonial-card {
  min-width: 100%;
  padding: 3rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 780px;
  margin: 0 auto;
}
.testimonial-stars { color: #f59e0b; font-size: 1.1rem; margin-bottom: 1.5rem; letter-spacing: 0.1em; }
blockquote {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text);
  line-height: 1.65;
  font-style: normal;
  margin-bottom: 2rem;
  font-weight: 400;
}
blockquote::before { content: '"'; color: var(--purple-light); }
blockquote::after { content: '"'; color: var(--purple-light); }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700;
  flex-shrink: 0;
}
.av-1 { background: linear-gradient(135deg, #7c3aed, #06b6d4); }
.av-2 { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.av-3 { background: linear-gradient(135deg, #10b981, #06b6d4); }
.av-4 { background: linear-gradient(135deg, #3b82f6, #8b5cf6); }
.testimonial-author strong { display: block; font-weight: 700; }
.testimonial-author span { font-size: 0.82rem; color: var(--text-muted); }
.testimonials-nav {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  margin-top: 2rem;
}
.t-prev, .t-next {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text); font-size: 1.1rem;
  cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.t-prev:hover, .t-next:hover { background: rgba(124,58,237,0.15); border-color: var(--purple); }
.t-dots { display: flex; gap: 0.5rem; }
.t-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  transition: all 0.2s;
  cursor: pointer;
}
.t-dot.active { background: var(--purple-light); border-color: var(--purple-light); width: 20px; border-radius: 3px; }

/* ── Pricing ──────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.pricing-card .pricing-features { flex: 1; }
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pricing-featured {
  border-color: rgba(124,58,237,0.5);
  background: linear-gradient(135deg, rgba(124,58,237,0.08), rgba(6,182,212,0.04));
}
.pricing-featured:hover { transform: translateY(-6px); }
.pricing-popular {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gradient);
  color: #fff; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.3rem 1rem; border-radius: 100px;
  white-space: nowrap;
}
.pricing-tier { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--purple-light); }
.pricing-price {
  font-family: var(--font-display);
  font-size: 3rem; font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1; margin: 0.5rem 0;
}
.pricing-price sup { font-size: 1.2rem; vertical-align: super; font-weight: 600; }
.pricing-header p { font-size: 0.875rem; color: var(--text-subtle); line-height: 1.6; margin-bottom: 1.75rem; }
.pricing-features { list-style: none; margin-bottom: 2rem; display: flex; flex-direction: column; gap: 0.65rem; }
.pricing-features li { font-size: 0.875rem; color: var(--text-subtle); display: flex; align-items: center; gap: 0.6rem; }
.pricing-features li span { color: var(--green); font-weight: 700; font-size: 0.8rem; }

/* ── FAQ ──────────────────────────────────────── */
.faq-section { padding: 7rem 0; }
.faq-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 5rem; align-items: start; }
@media (max-width: 860px) { .faq-layout { grid-template-columns: 1fr; gap: 3rem; } }
.faq-left .section-title { text-align: left; }
.faq-left p { font-size: 0.95rem; color: var(--text-subtle); line-height: 1.7; margin-top: 1.5rem; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%; text-align: left;
  background: none; border: none; cursor: pointer;
  padding: 1.25rem 0;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font); font-size: 0.95rem; font-weight: 600;
  color: var(--text);
  transition: color 0.2s;
  gap: 1rem;
}
.faq-question:hover { color: var(--purple-light); }
.faq-icon {
  font-size: 1.4rem; font-weight: 300; color: var(--purple-light);
  flex-shrink: 0; transition: transform 0.3s;
  line-height: 1;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { overflow: hidden; max-height: 0; transition: max-height 0.35s ease; }
.faq-answer p { font-size: 0.875rem; color: var(--text-subtle); line-height: 1.7; padding-bottom: 1.25rem; }

/* ── CTA Band ─────────────────────────────────── */
.cta-band {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  width: 600px; height: 400px;
  background: radial-gradient(circle, rgba(124,58,237,0.12) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; letter-spacing: -0.02em;
  line-height: 1.1; margin-bottom: 1rem;
}
.cta-band p { color: var(--text-subtle); font-size: 1.05rem; margin-bottom: 2.5rem; }

/* ── Contact ──────────────────────────────────── */
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: start; }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; gap: 3rem; } }
.contact-left .section-title { text-align: left; }
.contact-details { margin: 2.5rem 0; display: flex; flex-direction: column; gap: 1rem; }
.contact-item { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9rem; }
.contact-item img { width: 18px; height: 18px; flex-shrink: 0; display: block; }
.contact-item a, .contact-item span { color: var(--text-subtle); text-decoration: none; transition: color 0.2s; }
.contact-item a:hover { color: var(--purple-light); }
.social-links { display: flex; gap: 0.75rem; }
.social-link {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.75rem; font-weight: 700;
  transition: var(--transition);
}
.social-link:hover { border-color: var(--purple); color: var(--purple-light); transform: translateY(-2px); }

/* ── Form ─────────────────────────────────────── */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 0.45rem; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--text-subtle); }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  color: var(--text); font-size: 0.9rem; font-family: var(--font);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none; width: 100%;
  resize: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.15);
}
.form-group select { cursor: pointer; }
.form-group select option { background: var(--surface); }
.form-success,
.form-error {
  border-radius: var(--radius-sm);
  padding: 1rem;
  font-size: 0.9rem; font-weight: 500;
  text-align: center;
}
.form-success {
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.3);
  color: var(--green);
}
.form-error {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3);
  color: #f87171;
}

/* ── Footer ───────────────────────────────────── */
.footer {
  background: var(--bg-3);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}
.footer-top { display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; margin-bottom: 3rem; }
@media (max-width: 780px) { .footer-top { grid-template-columns: 1fr; gap: 3rem; } }
.footer-brand .nav-logo { display: inline-block; margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; max-width: 280px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
@media (max-width: 580px) { .footer-links { grid-template-columns: repeat(2, 1fr); } }
.footer-col h4 { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-subtle); margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a { font-size: 0.875rem; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--purple-light); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem;
  font-size: 0.8rem; color: var(--text-muted);
}

/* ── Who We Help Band ────────────────────────── */
.who-section {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 0;
}
.who-label {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 1.75rem;
}
.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
@media (max-width: 860px) { .who-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .who-grid { grid-template-columns: 1fr; } }

.who-card {
  display: flex; align-items: center; gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.who-card::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gradient);
  transform: scaleY(0);
  transition: transform 0.3s ease;
  transform-origin: bottom;
}
.who-card:hover { border-color: rgba(124,58,237,0.3); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.who-card:hover::before { transform: scaleY(1); }
.who-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.18);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--purple-light);
  transition: background 0.3s;
}
.who-card:hover .who-icon { background: rgba(124,58,237,0.18); }
.who-icon img { width: 18px; height: 18px; display: block; }
.who-text { display: flex; flex-direction: column; gap: 0.15rem; }
.who-text strong { font-size: 0.88rem; font-weight: 700; color: var(--text); }
.who-text span { font-size: 0.75rem; color: var(--text-muted); }
.who-location {
  font-size: 0.78rem; color: var(--text-muted);
  letter-spacing: 0.04em;
  text-align: center;
}

/* ── Hero Pillars (replaces stats) ───────────── */
.hero-pillars {
  display: flex; align-items: center; gap: 2rem;
  flex-wrap: wrap;
}
.pillar { display: flex; align-items: center; gap: 0.6rem; }
.pillar-icon { color: var(--purple-light); font-size: 0.8rem; }
.pillar p { font-size: 0.85rem; color: var(--text-subtle); font-weight: 500; }
.pillar-divider { width: 1px; height: 32px; background: var(--border); }

/* ── Capabilities Grid ────────────────────────── */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
@media (max-width: 900px) { .capabilities-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .capabilities-grid { grid-template-columns: 1fr; } }

.cap-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.cap-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(124,58,237,0.3); }
.cap-preview {
  height: 200px;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  padding: 1.25rem;
}
.cap-info { padding: 1.25rem 1.5rem 1.5rem; }
.cap-info h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.cap-info p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

.cap-cta {
  background: var(--surface-2);
  border: 1px solid rgba(124,58,237,0.2);
  border-radius: var(--radius);
  padding: 2.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  flex-wrap: wrap;
}
.cap-cta p { font-size: 0.95rem; color: var(--text-subtle); line-height: 1.65; max-width: 620px; }
.cap-cta strong { color: var(--text); }

/* ── Why Us Grid ──────────────────────────────── */
.why-section { background: var(--bg-2); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

.why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.why-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.why-card:hover { border-color: rgba(124,58,237,0.25); transform: translateY(-4px); }
.why-card:hover::after { transform: scaleX(1); }
.why-number {
  font-family: var(--font-display);
  font-size: 2.5rem; font-weight: 800;
  color: rgba(124,58,237,0.12);
  line-height: 1; margin-bottom: 1rem;
  letter-spacing: -0.03em;
}
.why-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.6rem; }
.why-card p { font-size: 0.875rem; color: var(--text-subtle); line-height: 1.65; }

/* ── Before / After ───────────────────────────── */
.ba-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 0;
}
@media (max-width: 860px) {
  .ba-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .ba-arrow { transform: rotate(90deg); margin: 0 auto; }
}
.ba-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.ba-label {
  display: inline-block;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}
.ba-label-before { background: rgba(239,68,68,0.12); border: 1px solid rgba(239,68,68,0.3); color: #f87171; }
.ba-label-after { background: rgba(16,185,129,0.12); border: 1px solid rgba(16,185,129,0.3); color: var(--green); }
.ba-mockup {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.ba-caption { font-size: 0.875rem; color: var(--text-subtle); line-height: 1.65; }
.ba-arrow {
  display: flex; align-items: center; justify-content: center;
  padding: 0 1.75rem;
  font-size: 1.5rem;
  color: var(--purple-light);
}

/* Before mockup — deliberately dated/cluttered */
.ba-mockup-before { background: #e8e2d0; }
.bam-topbar {
  background: #c0392b; color: #fff200;
  font-weight: 800; font-size: 0.62rem;
  text-align: center; letter-spacing: 0.03em;
  padding: 6px;
}
.bam-banner {
  background: #2c5f8a; color: #fff;
  text-align: center; font-size: 0.85rem; font-weight: 700;
  padding: 12px 6px;
  font-family: Georgia, serif;
}
.bam-body { padding: 12px; }
.bam-block-a { height: 34px; background: #7fbf3f; border: 2px dashed #55850f; margin-bottom: 6px; }
.bam-block-b { height: 24px; background: #f5b301; border: 2px solid #b98200; margin-bottom: 10px; }
.bam-lines div { height: 5px; background: #999; margin-bottom: 5px; }
.bam-lines div:nth-child(odd) { width: 70%; }
.bam-lines div:nth-child(even) { width: 52%; }
.bam-badges { display: flex; gap: 5px; margin-top: 10px; flex-wrap: wrap; }
.bam-badges span {
  font-size: 0.55rem; font-weight: 700;
  background: #fff; border: 1px solid #999;
  color: #c0392b;
  padding: 2px 6px;
}

/* After mockup — matches the studio's own aesthetic */
.ba-mockup-after { background: #0f1420; }
.ba-mockup-after .bam-nav {
  height: 24px;
  display: flex; align-items: center; gap: 6px;
  padding: 0 10px;
  background: rgba(255,255,255,0.04);
}
.ba-mockup-after .bam-nav span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.15); }
.ba-mockup-after .bam-hero {
  height: 70px; margin: 12px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(124,58,237,0.4), rgba(6,182,212,0.25));
}
.ba-mockup-after .bam-content { padding: 0 16px 16px; }
.ba-mockup-after .bam-heading { height: 10px; width: 70%; background: rgba(255,255,255,0.25); border-radius: 3px; margin-bottom: 8px; }
.ba-mockup-after .bam-sub { height: 6px; width: 50%; background: rgba(255,255,255,0.12); border-radius: 3px; margin-bottom: 14px; }
.ba-mockup-after .bam-cta {
  display: inline-block;
  font-size: 0.65rem; font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--gradient);
  color: #fff;
}

/* ── Founder Card ──────────────────────────────── */
.founder-card {
  margin-top: 2.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex; align-items: center; gap: 1.75rem;
}
@media (max-width: 640px) { .founder-card { flex-direction: column; text-align: center; } }
.founder-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.3rem;
  color: #fff;
  flex-shrink: 0;
}
.founder-eyebrow { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--purple-light); margin-bottom: 0.5rem; }
.founder-info h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.65rem; }
.founder-info h3 span { font-weight: 500; color: var(--text-subtle); font-size: 0.95rem; }
.founder-info p { font-size: 0.9rem; color: var(--text-subtle); line-height: 1.65; margin-bottom: 0.75rem; max-width: 640px; }

/* ── Zero-risk offer band ──────────────────────── */
.mockup-offer-band .section-tag { margin-bottom: 1.25rem; }

/* ── Responsive Tweaks ───────────────────────── */
@media (max-width: 640px) {
  .section { padding: 5rem 0; }
  .hero-stats { gap: 1.25rem; }
  .stat-divider { height: 36px; }
  .testimonial-card { padding: 2rem; }
  .process-steps { gap: 1rem; }
}
