/* ============================================================
   BUILDBYAYUSH — main.css
   Direction: Premium business systems architect
   Display: Instrument Serif (headings) · Inter (UI/body)
   Palette: Deep ink base + amber primary + slate secondary
   Anti-pattern: No generic dark+blue developer cliché.
   ============================================================ */

:root {
  /* ── Base layers ── */
  --black:    #0C0D0F;
  --dark:     #111215;
  --surface:  #141518;
  --surface2: #1C1E22;
  --border:   rgba(255,255,255,0.07);
  --border2:  rgba(255,255,255,0.13);

  /* ── Amber primary ── */
  --amber:      #D97706;
  --amber-lt:   #F59E0B;
  --amber-dim:  rgba(217,119,6,0.13);
  --amber-glow: rgba(217,119,6,0.22);

  /* ── Slate secondary (replaces blue for UI/tags) ── */
  --blue:     #2563eb;   /* kept for compatibility / inline refs */
  --blue-lt:  #3b82f6;
  --blue-dim: rgba(37,99,235,0.13);
  --slate:    #3B4A6B;
  --slate-dim: rgba(59,74,107,0.18);

  /* ── Text ── */
  --white:    #EEEDF0;
  --text:     #CCCAD4;
  --text2:    #A09FA8;
  --muted:    #5E5D66;

  /* ── Signal ── */
  --green:    #16A34A;
  --green-lt: #22c55e;

  /* ── Layout ── */
  --nav-h:    62px;
  --radius:   10px;

  /* ── Fonts ── */
  --font-display: 'Instrument Serif', Georgia, serif;
  --font:         'Inter', sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box; margin: 0; padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--black);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.82;
}
img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }

/* Display / heading font utility */
.font-display { font-family: var(--font-display); }

/* Keyboard focus styles */
:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
  border-radius: 4px;
}
:focus:not(:focus-visible) { outline: none; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: sticky; top: 0; z-index: 999;
  height: var(--nav-h);
  background: rgba(12,13,15,0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 64px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.navbar.nav-hidden { transform: translateY(-100%); }
.nav-logo {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 0.95rem;
  color: var(--white); letter-spacing: -0.2px;
}
.nav-logo-img {
  height: 48px; width: auto;
  object-fit: contain;
  display: block;
}

.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 0.82rem; font-weight: 500;
  color: var(--muted);
  transition: color 0.18s;
  position: relative;
  padding-bottom: 4px;
}
.nav-links li:not(.nav-mobile-cta) a::after {
  content: ''; position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--blue-lt);
  border-radius: 100px;
  transition: width 0.28s ease;
}
.nav-links li:not(.nav-mobile-cta) a:hover { color: var(--white); }
.nav-links li:not(.nav-mobile-cta) a:hover::after { width: 100%; }
.nav-links li:not(.nav-mobile-cta) a.active, .nav-links li:not(.nav-mobile-cta) a[style*="color"] { color: var(--white); }
.nav-links li:not(.nav-mobile-cta) a.active::after, .nav-links li:not(.nav-mobile-cta) a[style*="color"]::after { width: 100%; background: var(--blue-lt); }

.nav-links a.nav-cta {
  font-size: 0.8rem; font-weight: 700;
  color: #0C0D0F;
  background: var(--amber);
  border-radius: 7px;
  padding: 8px 18px;
  transition: background 0.18s, box-shadow 0.18s;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.nav-links a.nav-cta:hover { color: #0C0D0F; background: var(--amber-lt); box-shadow: 0 4px 16px var(--amber-glow); }
.nav-mobile-cta { display: none; }

/* Desktop CTA (sits outside nav-links, next to hamburger) */
.nav-desktop-cta {
  font-size: 0.8rem; font-weight: 700;
  color: #0C0D0F;
  background: var(--amber);
  border-radius: 7px;
  padding: 8px 18px;
  transition: background 0.18s, box-shadow 0.18s;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.nav-desktop-cta:hover { background: var(--amber-lt); box-shadow: 0 4px 16px var(--amber-glow); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  background: none; border: 1px solid var(--border);
  border-radius: 8px; cursor: pointer;
  position: relative;
  transition: border-color 0.25s, background 0.25s;
}
.nav-toggle:hover { border-color: var(--border2); background: rgba(255,255,255,0.03); }
.nav-toggle span {
  display: block; width: 16px; height: 1.5px;
  background: var(--white); border-radius: 2px;
  position: absolute; left: 50%; transform: translateX(-50%);
  transition: transform 0.35s cubic-bezier(0.77,0,0.18,1), opacity 0.25s, width 0.3s;
}
.nav-toggle span:nth-child(1) { top: 12px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.nav-toggle.active span:nth-child(1) { top: 19px; transform: translateX(-50%) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; width: 0; }
.nav-toggle.active span:nth-child(3) { top: 19px; transform: translateX(-50%) rotate(-45deg); }
.nav-toggle.active { border-color: var(--amber); }

/* ============================================================
   SHARED UTILITIES
   ============================================================ */
.label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
}
.label::before {
  content: ''; width: 16px; height: 1.5px; background: var(--amber);
}
.label.center { display: flex; justify-content: center; }
.label.center::before { display: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font); font-weight: 600; font-size: 0.84rem;
  padding: 11px 22px; border-radius: 8px; border: none;
  cursor: pointer; transition: all 0.2s; white-space: nowrap;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--amber); color: #0C0D0F;
  box-shadow: 0 2px 14px var(--amber-glow);
}
.btn-primary:hover { background: var(--amber-lt); box-shadow: 0 4px 22px var(--amber-glow); }
.btn-outline {
  background: transparent; color: var(--text2);
  border: 1px solid var(--border2);
}
.btn-outline:hover { color: var(--white); border-color: rgba(255,255,255,0.24); background: rgba(255,255,255,0.04); }
.btn-icon {
  width: 28px; height: 28px;
  background: rgba(0,0,0,0.18);
  border-radius: 5px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background: var(--black);
  min-height: calc(100vh - var(--nav-h));
  display: flex; align-items: center;
  padding: 80px 64px;
}
.hero-bg-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(37,99,235,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(217,119,6,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, black 20%, transparent 100%);
}
.hero-glow {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 0;
}
.hero-glow.g1 {
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(217,119,6,0.04) 0%, transparent 70%);
  top: -180px; left: -140px;
}
.hero-glow.g2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(217,119,6,0.03) 0%, transparent 70%);
  bottom: -80px; right: -80px;
}
.hero-inner {
  position: relative; z-index: 1; width: 100%;
  display: flex; align-items: center; gap: 56px;
}
.hero-left { flex: 1 1 480px; max-width: 580px; }

.avail-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: 100px; padding: 5px 12px;
  font-size: 0.72rem; font-weight: 600;
  color: #4ade80; margin-bottom: 24px;
}
.avail-dot {
  width: 6px; height: 6px; background: var(--green);
  border-radius: 50%; flex-shrink: 0;
  animation: pulse-dot 2.2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
  50%      { box-shadow: 0 0 0 4px rgba(34,197,94,0); }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -1.2px;
  margin-bottom: 20px;
}
.hero-title em {
  font-style: italic;
  color: var(--amber-lt);
}
h1 em, h2 em, h3 em, .font-display em {
  font-style: italic;
  background: linear-gradient(135deg, var(--amber) 0%, #FBBF24 50%, var(--amber-lt) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 0.97rem;
  font-weight: 400;
  color: var(--text2);
  line-height: 1.75;
  max-width: 440px;
  margin-bottom: 20px;
}

/* Inline proof line in hero */
.hero-proof-line {
  display: flex; align-items: center; gap: 9px;
  font-size: 0.83rem; color: var(--text2);
  margin-bottom: 28px;
  line-height: 1.5;
}
.hero-proof-line strong { color: var(--white); font-weight: 700; }
.hero-proof-line svg { flex-shrink: 0; }


.hero-proof {
  display: flex; align-items: center; gap: 0;
  margin-bottom: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: fit-content; overflow: hidden;
}
.proof-item {
  display: flex; flex-direction: column;
  padding: 14px 22px; gap: 2px;
}
.proof-item + .proof-item { border-left: 1px solid var(--border); }
.proof-num {
  font-weight: 700; font-size: 1.3rem;
  color: var(--white); line-height: 1;
}
.proof-label {
  font-size: 0.7rem; font-weight: 500;
  color: var(--muted); white-space: nowrap;
}

.hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.hero-right { flex: 1 1 340px; max-width: 480px; display: flex; justify-content: center; }
.hero-card-stack {
  position: relative; width: 100%;
  max-width: 420px; aspect-ratio: 1;
}
.hcard {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 10px; padding: 12px 14px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4); z-index: 10;
  animation: hcard-float 5s ease-in-out infinite;
}
.hcard-icon {
  width: 32px; height: 32px;
  background: var(--blue-dim);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hcard-val { font-size: 0.78rem; font-weight: 600; color: var(--white); }
.hcard-sub { font-size: 0.67rem; color: var(--muted); margin-top: 1px; }
.hcard-1 { top: 8%; left: -2%; animation-delay: 0s; }
.hcard-2 { bottom: 28%; right: -2%; animation-delay: 1.8s; }
.hcard-3 { bottom: 8%; left: 12%; animation-delay: 3.5s; }
@keyframes hcard-float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }

/* Hero browser frame (replaces generic illustration) */
.hero-illus {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.hero-browser-frame {
  width: 94%; border-radius: 10px; overflow: hidden;
  background: var(--surface2);
  border: 1px solid var(--border2);
  box-shadow: 0 24px 64px rgba(0,0,0,0.6);
  animation: illus-float 7s ease-in-out infinite;
}
.hbf-bar {
  display: flex; align-items: center; gap: 6px;
  background: var(--surface); padding: 8px 12px;
  border-bottom: 1px solid var(--border);
}
.hbf-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.hbf-url {
  margin-left: 8px; font-size: 0.68rem; color: var(--muted);
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: 4px; padding: 2px 10px; flex: 1; max-width: 200px;
}
.hbf-screen img {
  width: 100%; display: block;
  max-height: 260px; object-fit: cover; object-position: top;
}
@keyframes illus-float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

/* Floating hcard updates */
.hcard-icon {
  width: 32px; height: 32px;
  background: var(--amber-dim);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hcard-icon-green {
  background: rgba(22,163,74,0.14) !important;
}
.hcard-result { border-color: rgba(22,163,74,0.22); }
.hcard-result .hcard-val { color: var(--green-lt); }

/* ============================================================
   LOGOS / TRUST BAR
   ============================================================ */
.logos-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 64px;
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
}
.logos-label {
  font-size: 0.7rem; font-weight: 600;
  color: var(--muted); letter-spacing: 0.05em; text-transform: uppercase;
  white-space: nowrap; flex-shrink: 0;
}
.logos-list { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.logo-name {
  font-size: 0.8rem; font-weight: 600;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.01em;
  transition: color 0.18s;
}
.logo-name:hover { color: rgba(255,255,255,0.9); }
.logo-sep { color: var(--border2); font-size: 0.9rem; }

/* ============================================================
   WHAT I BUILD
   ============================================================ */
.what-section {
  background: var(--dark);
  padding: 96px 64px;
  border-bottom: 1px solid var(--border);
}
.what-inner {
  display: flex; align-items: center; gap: 80px;
  max-width: 1160px; margin: 0 auto;
}
.what-left { flex: 1 1 420px; }
.what-heading {
  font-weight: 700;
  font-size: clamp(1.75rem, 3.5vw, 2.8rem);
  color: var(--white);
  line-height: 1.2; letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.what-desc {
  font-size: 0.93rem; color: var(--text2);
  line-height: 1.78; max-width: 460px; margin-bottom: 28px;
}
.service-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.pill {
  background: var(--blue-dim);
  border: 1px solid rgba(37,99,235,0.22);
  border-radius: 6px; padding: 6px 14px;
  font-size: 0.75rem; font-weight: 600; color: var(--blue-lt);
  transition: background 0.18s;
}
.pill:hover { background: rgba(37,99,235,0.22); }
.what-right { flex: 0 0 360px; display: flex; justify-content: center; }
.what-right img {
  width: 100%; max-width: 340px;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,0.4));
}

/* ============================================================
   WORK SECTION (homepage)
   ============================================================ */
.work-section {
  background: var(--black);
  padding: 96px 64px;
  border-bottom: 1px solid var(--border);
}
.work-header { text-align: center; margin-bottom: 48px; }
.section-heading {
  font-weight: 700;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  color: var(--white);
  letter-spacing: -0.5px; line-height: 1.2;
  margin-bottom: 8px;
}
.section-sub {
  font-size: 0.9rem; color: var(--text2); font-weight: 400;
}

.work-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 16px; max-width: 1160px; margin: 0 auto 36px;
}
.work-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  transition: border-color 0.22s, transform 0.22s;
}
.work-card:hover { border-color: var(--border2); transform: translateY(-3px); }
.wc-img-wrap {
  position: relative; background: var(--dark); height: 190px; overflow: hidden;
}
.wc-img-wrap img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s;
}
.work-card:hover .wc-img-wrap img { transform: scale(1.03); }
.wc-ph {
  display: flex; align-items: center; justify-content: center;
  background: var(--dark);
  font-size: 1.4rem; font-weight: 700; letter-spacing: -1px;
  color: rgba(37,99,235,0.18);
}
.wc-featured .wc-img-wrap { height: 220px; }
.wc-badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(9,9,11,0.88);
  border: 1px solid var(--border);
  border-radius: 5px; padding: 3px 9px;
  font-size: 0.65rem; font-weight: 700;
  color: var(--blue-lt); letter-spacing: 0.06em; text-transform: uppercase;
  backdrop-filter: blur(8px); z-index: 2;
}
.wc-body { padding: 18px 20px 22px; }
.wc-meta { font-size: 0.68rem; font-weight: 600; color: var(--muted); letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 6px; }
.wc-title { font-weight: 700; font-size: 1rem; color: var(--white); margin-bottom: 8px; letter-spacing: -0.2px; }
.wc-desc { font-size: 0.81rem; color: var(--text2); line-height: 1.68; margin-bottom: 14px; }
.wc-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.wc-tags span {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 4px; padding: 3px 9px;
  font-size: 0.67rem; font-weight: 600; color: var(--muted);
  letter-spacing: 0.03em;
}
.work-cta-row { text-align: center; }

/* ============================================================
   PROCESS
   ============================================================ */
.process-section {
  background: var(--surface);
  padding: 96px 64px;
  border-bottom: 1px solid var(--border);
}
.process-inner { max-width: 1060px; margin: 0 auto; }
.process-steps { display: flex; align-items: flex-start; }
.process-step {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; text-align: center;
}
.ps-num {
  width: 36px; height: 36px;
  background: var(--blue-dim);
  border: 1px solid rgba(37,99,235,0.3);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; color: var(--blue-lt);
  margin-bottom: 14px; flex-shrink: 0;
}
.ps-body h4 {
  font-weight: 600; font-size: 0.88rem;
  color: var(--white); margin-bottom: 7px;
}
.ps-body p {
  font-size: 0.8rem; color: var(--text2);
  line-height: 1.68; max-width: 180px; margin: 0 auto;
}
.process-connector {
  flex: 0 0 60px; height: 1px;
  background: var(--border); margin-top: 18px;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section {
  background: var(--dark);
  padding: 96px 64px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.testi-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 16px; max-width: 1060px; margin: 36px auto 0;
}
.testi-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px; padding: 24px; text-align: left;
  transition: border-color 0.22s;
}
.testi-card:hover { border-color: var(--border2); }
.testi-stars { color: #f59e0b; font-size: 0.78rem; letter-spacing: 1px; margin-bottom: 12px; }
.testi-quote {
  font-size: 0.86rem; color: var(--text2);
  line-height: 1.75; margin-bottom: 18px;
  font-style: italic;
}
.testi-author {
  display: flex; align-items: center; gap: 10px;
  border-top: 1px solid var(--border); padding-top: 14px;
}
.testi-avatar {
  width: 32px; height: 32px;
  background: var(--amber-dim);
  border: 1px solid rgba(217,119,6,0.25);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.8rem; color: var(--amber-lt); flex-shrink: 0;
}
.testi-name { font-weight: 600; font-size: 0.82rem; color: var(--white); }
.testi-role { font-size: 0.7rem; color: var(--muted); margin-top: 1px; }

/* ============================================================
   FEATURED CASE STUDY
   ============================================================ */
.featured-case {
  background: var(--surface);
  padding: 96px 64px;
  border-bottom: 1px solid var(--border);
}
.fc-inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; align-items: center; gap: 64px;
}
.fc-visual { flex: 0 0 46%; }
.fc-browser {
  border-radius: 10px; overflow: hidden;
  border: 1px solid var(--border2);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  margin-bottom: 16px;
}
.fc-bm-bar {
  display: flex; align-items: center; gap: 6px;
  background: var(--surface2); padding: 8px 14px;
  border-bottom: 1px solid var(--border);
}
.fc-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.fc-bm-url {
  margin-left: 6px; font-size: 0.68rem; color: var(--muted);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 4px; padding: 2px 10px; max-width: 180px;
}
.fc-bm-screen img { width: 100%; display: block; max-height: 280px; object-fit: cover; object-position: top; }
.fc-result-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.fc-badge {
  flex: 1; min-width: 140px;
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: 10px; padding: 14px 18px;
}
.fc-badge-green { border-color: rgba(22,163,74,0.28); background: rgba(22,163,74,0.05); }
.fc-badge-num {
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 400;
  color: var(--white); line-height: 1; letter-spacing: -0.5px;
  display: block; margin-bottom: 4px;
}
.fc-badge-green .fc-badge-num { color: var(--green-lt); }
.fc-badge-label { font-size: 0.72rem; color: var(--muted); line-height: 1.4; }
.fc-content { flex: 1; }
.fc-heading {
  font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--white); line-height: 1.2;
  letter-spacing: -0.8px; margin-bottom: 16px;
}
.fc-body { font-size: 0.92rem; color: var(--text2); line-height: 1.8; margin-bottom: 20px; }
.fc-built-label {
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--amber); margin-bottom: 10px;
}
.fc-built-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.fc-built-list li {
  font-size: 0.88rem; color: var(--text2); padding-left: 18px; position: relative;
  line-height: 1.5;
}
.fc-built-list li::before {
  content: '';
  position: absolute; left: 0; top: 6px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--amber);
}

/* Work card read-more */
.wc-readmore {
  margin-top: 14px;
  font-size: 0.76rem; font-weight: 600;
  color: var(--amber); letter-spacing: 0.02em;
  transition: color 0.18s;
}
.work-card:hover .wc-readmore { color: var(--amber-lt); }

/* ============================================================
   CTA STRIP
   ============================================================ */
.cta-strip {
  background: var(--surface);
  border-top: 1px solid var(--border2);
  padding: 80px 64px;
  position: relative; overflow: hidden;
}
.cta-strip::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
  opacity: 0.6;
}
.cta-strip-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; max-width: 1060px; margin: 0 auto; flex-wrap: wrap;
}
.cta-strip-left h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--white); letter-spacing: -0.5px; margin-bottom: 10px; line-height: 1.2;
}
.cta-strip-left p { font-size: 0.9rem; color: var(--text2); line-height: 1.7; max-width: 420px; }
.cta-strip-right { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.cta-email-link { font-size: 0.78rem; color: var(--muted); transition: color 0.18s; }
.cta-email-link:hover { color: var(--white); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 56px 64px 24px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 40px; align-items: start;
}
.footer-logo {
  font-weight: 700; font-size: 1.1rem;
  color: var(--white); margin-bottom: 10px; letter-spacing: -0.2px;
}
.footer-logo span { color: var(--blue-lt); }
.footer-tagline { font-size: 0.82rem; color: var(--muted); line-height: 1.7; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 8px; }
.footer-socials a {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 7px;
  background: rgba(255,255,255,0.04);
  color: var(--muted); border: 1px solid var(--border);
  transition: all 0.18s;
}
.footer-socials a:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.footer-col-title { font-size: 0.78rem; font-weight: 700; color: var(--white); margin-bottom: 14px; letter-spacing: 0.01em; }
.footer-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-list li { display: flex; align-items: center; gap: 7px; }
.f-dot { width: 3px; height: 3px; background: var(--muted); border-radius: 50%; flex-shrink: 0; opacity: 0.4; }
.footer-list li a, .footer-list li span { font-size: 0.8rem; color: var(--muted); transition: color 0.18s; }
.footer-list li a {
  position: relative; padding-bottom: 1px;
}
.footer-list li a::after {
  content: ''; position: absolute;
  bottom: -1px; left: 0;
  width: 0; height: 1.5px;
  background: var(--blue-lt);
  border-radius: 100px;
  transition: width 0.25s ease;
}
.footer-list li a:hover { color: var(--blue-lt); }
.footer-list li a:hover::after { width: 100%; }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 18px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px;
}
.footer-bottom p, .footer-bottom a { font-size: 0.74rem; color: var(--muted); }
.footer-bottom a:hover { color: var(--text); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.rv   { opacity:0; transform:translateY(28px); transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.rv-l { opacity:0; transform:translateX(-28px); transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.rv-r { opacity:0; transform:translateX(28px);  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.rv.in,.rv-l.in,.rv-r.in { opacity:1; transform:none; }
.d1{transition-delay:.1s} .d2{transition-delay:.2s} .d3{transition-delay:.32s} .d4{transition-delay:.44s}

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-page { background: var(--black); min-height: calc(100vh - var(--nav-h)); padding: 72px 64px; }
.sp-header { text-align: center; margin-bottom: 56px; max-width: 600px; margin-left:auto; margin-right:auto; }
.sp-header h1 { font-weight: 700; font-size: clamp(1.8rem, 4vw, 3rem); color: var(--white); letter-spacing: -0.5px; margin-bottom: 12px; }
.sp-header p { font-size: 0.9rem; color: var(--text2); line-height: 1.7; }

.sp-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; max-width: 1060px; margin: 0 auto 72px; }
.sp-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 24px 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; transition: border-color 0.22s, transform 0.22s; }
.sp-card:hover { border-color: var(--border2); transform: translateY(-3px); }
.sp-icon-box { width: 44px; height: 44px; background: var(--blue-dim); border: 1px solid rgba(37,99,235,0.2); border-radius: 9px; display: flex; align-items: center; justify-content: center; margin-bottom: 2px; }
.sp-card-title { font-weight: 700; font-size: 0.9rem; color: var(--white); }
.sp-card-desc { font-size: 0.81rem; color: var(--text2); line-height: 1.68; flex: 1; }
.sp-quote-btn { display: inline-flex; align-items: center; gap: 5px; background: var(--blue-dim); border: 1px solid rgba(37,99,235,0.22); color: var(--blue-lt); font-size: 0.75rem; font-weight: 600; padding: 7px 14px; border-radius: 6px; margin-top: 4px; transition: background 0.18s; }
.sp-quote-btn:hover { background: rgba(37,99,235,0.22); }

.sp-how-section { text-align: center; padding: 72px 0; max-width: 1060px; margin: 0 auto; border-top: 1px solid var(--border); }
.sp-how-title { font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.2rem); color: var(--white); letter-spacing: -0.4px; margin-bottom: 44px; }
.sp-steps { display: flex; align-items: flex-start; justify-content: center; }
.sp-step { flex: 1; max-width: 200px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.sp-step-dot { width: 12px; height: 12px; background: var(--blue); border-radius: 50%; border: 2px solid var(--dark); box-shadow: 0 0 0 3px rgba(37,99,235,0.25); }
.sp-step h4 { font-weight: 600; font-size: 0.84rem; color: var(--white); }
.sp-step p { font-size: 0.76rem; color: var(--text2); line-height: 1.6; }
.sp-step-line { flex: 1; height: 1px; background: var(--border); margin-top: 5px; max-width: 70px; align-self: flex-start; }

.sp-why-section { display: flex; align-items: center; gap: 56px; max-width: 1060px; margin: 0 auto; padding: 72px 0; border-top: 1px solid var(--border); }
.sp-why-content h2 { font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.2rem); color: var(--white); letter-spacing: -0.4px; margin-bottom: 24px; }
.sp-why-content ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.sp-why-content ul li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: var(--text2); }
.sp-why-content ul li::before { content: ''; width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; background: var(--amber-dim); border: 1px solid rgba(217,119,6,0.3); border-radius: 4px; background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L3.5 6.5L9 1' stroke='%23D97706' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; }
.sp-why-img { flex: 0 0 320px; display: flex; justify-content: center; }
.sp-why-img img { width: 100%; max-width: 300px; filter: drop-shadow(0 8px 28px rgba(0,0,0,0.4)); }
.sp-cta { text-align: center; padding: 72px 20px 20px; border-top: 1px solid var(--border); display: flex; flex-direction: column; align-items: center; gap: 20px; }
.sp-cta h2 { font-weight: 700; font-size: clamp(1.3rem, 2.5vw, 1.8rem); color: var(--white); letter-spacing: -0.3px; line-height: 1.3; }

/* Pricing */
.sp-pricing { max-width: 1060px; margin: 0 auto; padding: 72px 0; border-top: 1px solid var(--border); text-align: center; }
.sp-pricing h2 { font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.2rem); color: var(--white); letter-spacing: -0.4px; margin-bottom: 8px; }
.sp-pricing-sub { font-size: 0.88rem; color: var(--text2); max-width: 480px; margin: 0 auto 36px; line-height: 1.7; }
.sp-pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; text-align: left; }
.sp-price-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 24px 22px; display: flex; flex-direction: column; gap: 10px; transition: border-color 0.22s; position: relative; }
.sp-price-card:hover { border-color: var(--border2); }
.sp-price-featured { border-color: rgba(217,119,6,0.4); }
.sp-price-popular { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--amber); color: #0C0D0F; font-size: 0.65rem; font-weight: 700; padding: 3px 12px; border-radius: 100px; letter-spacing: 0.07em; white-space: nowrap; }
.sp-price-tier { font-size: 0.72rem; font-weight: 700; color: var(--amber); letter-spacing: 0.06em; text-transform: uppercase; }
.sp-price-from { font-size: 0.7rem; color: var(--muted); margin-top: 4px; }
.sp-price-num { font-weight: 700; font-size: 1.8rem; color: var(--white); letter-spacing: -0.5px; line-height: 1; }
.sp-price-desc { font-size: 0.81rem; color: var(--text2); line-height: 1.65; border-bottom: 1px solid var(--border); padding-bottom: 12px; }
.sp-price-list { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.sp-price-list li { font-size: 0.8rem; color: var(--text2); padding-left: 16px; position: relative; }
.sp-price-list li::before { content: '✓'; position: absolute; left: 0; color: var(--blue-lt); font-size: 0.68rem; font-weight: 700; }
.sp-pricing-note { font-size: 0.76rem; color: var(--muted); margin-top: 24px; }
/* New Detailed Stats Blocks (index.php / about.php) */
.hero-stats-grid, .ap-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
}
.hero-stats-grid { max-width: 600px; margin-bottom: 32px; }
.ap-stats-grid { max-width: 1060px; margin: 0 auto 56px; }

/* Adjusted for Standalone */
.standalone-stats { max-width: 1060px; margin: 24px auto 40px; padding: 0 4%; }
.standalone-stats .hero-stats-grid { max-width: 100%; grid-template-columns: repeat(4, 1fr); margin-bottom: 0; }
@media (max-width: 1000px) { .standalone-stats .hero-stats-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .standalone-stats .hero-stats-grid { grid-template-columns: 1fr; } }

.hs-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  transition: border-color 0.22s;
}
.hs-card:hover { border-color: var(--border2); }
.hs-card h4 {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--blue-lt);
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}
.hs-card p {
  font-size: 0.8rem;
  color: var(--text2);
  line-height: 1.65;
}
@media (max-width: 768px) {
  .hero-stats-grid, .ap-stats-grid { grid-template-columns: 1fr; gap: 12px; }
}
/* Guarantee Block */
.sp-guarantee { max-width: 1060px; margin: 0 auto; padding: 72px 0; border-top: 1px solid var(--border); text-align: center; }
.sp-guarantee-title { font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.2rem); color: var(--white); letter-spacing: -0.4px; margin-bottom: 44px; }
.sp-guarantee-grid { display: grid !important; grid-template-columns: 1fr 1fr; gap: 20px; text-align: left; }
.sp-guarantee-item { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 24px 22px; display: flex !important; flex-direction: row !important; align-items: flex-start; gap: 16px; transition: border-color 0.22s; }
.sp-guarantee-item:hover { border-color: var(--border2); }
.sp-guarantee-icon { width: 40px; height: 40px; min-width: 40px; background: var(--blue-dim); border: 1px solid rgba(37,99,235,0.2); border-radius: 9px; display: flex !important; align-items: center; justify-content: center; flex-shrink: 0; }
.sp-guarantee-item h4 { font-weight: 700; font-size: 0.88rem; color: var(--white); margin-bottom: 7px; }
.sp-guarantee-item > div:last-child { flex: 1; }
.sp-guarantee-item p { font-size: 0.8rem; color: var(--text2); line-height: 1.7; }

/* Contact Filter */
.contact-filter { margin-bottom: 22px; }
.cf-inner { display: flex; align-items: flex-start; gap: 14px; background: rgba(37,99,235,0.06); border: 1px solid rgba(37,99,235,0.18); border-radius: 10px; padding: 16px 18px; }
.cf-icon { width: 32px; height: 32px; background: var(--blue-dim); border-radius: 7px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.cf-text { font-size: 0.81rem; color: var(--text2); line-height: 1.7; }
.cf-text strong { color: var(--text); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-page { background: var(--black); min-height: calc(100vh - var(--nav-h)); padding: 72px 64px; }
.ap-header { text-align: center; margin-bottom: 52px; }
.ap-header h1 { font-weight: 700; font-size: clamp(2rem, 4.5vw, 3.5rem); color: var(--white); letter-spacing: -0.8px; margin-bottom: 8px; }
.ap-underline { display: block; height: 3px; border-radius: 100px; background: var(--blue); margin: 0 auto; width: 48px; }
.ap-hero { display: flex; align-items: center; gap: 60px; max-width: 1060px; margin: 0 auto 56px; }
.ap-hero-left { flex: 1 1 0; }
.ap-name { font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--white); line-height: 1.2; margin-bottom: 16px; letter-spacing: -0.5px; }
.ap-name-blue { color: var(--blue-lt); }
.ap-desc { font-size: 0.9rem; color: var(--text2); line-height: 1.78; max-width: 480px; margin-bottom: 24px; }
.ap-hero-right { flex: 0 0 340px; display: flex; justify-content: center; }
.ap-hero-right img { width: 100%; max-width: 320px; filter: drop-shadow(0 8px 28px rgba(0,0,0,0.4)); }
.ap-stats { max-width: 1060px; margin: 0 auto 56px; display: flex; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.ap-stat { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 22px 16px; }
.ap-stat + .ap-stat { border-left: 1px solid var(--border); }
.ap-stat-num { font-weight: 700; font-size: 1.6rem; color: var(--white); line-height: 1; letter-spacing: -0.5px; }
.ap-stat-label { font-size: 0.72rem; color: var(--muted); text-align: center; }
.ap-skills { max-width: 1060px; margin: 0 auto 56px; }
.ap-skills h2 { font-weight: 700; font-size: clamp(1.3rem, 2.5vw, 2rem); color: var(--white); letter-spacing: -0.3px; text-align: center; margin-bottom: 32px; }
.ap-skills-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ap-skill-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 24px 28px; transition: border-color 0.22s; }
.ap-skill-card:hover { border-color: var(--border2); }
.ap-skill-card h3 { font-size: 0.82rem; font-weight: 700; color: var(--blue-lt); margin-bottom: 12px; letter-spacing: 0.02em; }
.ap-skill-card ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.ap-skill-card ul li { font-size: 0.8rem; color: var(--text2); line-height: 1.5; padding-left: 14px; position: relative; }
.ap-skill-card ul li::before { content: '—'; position: absolute; left: 0; color: var(--muted); font-size: 0.65rem; top: 2px; }
.ap-contact { text-align: center; padding: 56px 20px 20px; }
.ap-contact h2 { font-weight: 700; font-size: clamp(1.4rem, 2.5vw, 1.9rem); color: var(--white); letter-spacing: -0.3px; margin-bottom: 24px; }
.ap-email-row { display: inline-flex; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 100px; overflow: hidden; min-height: 60px; max-width: 440px; width: 100%; transition: border-color 0.2s; }
.ap-email-row:hover { border-color: var(--border2); }
.ap-email-btn { background: var(--blue); width: 80px; height: 60px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; border-radius: 100px; transition: background 0.18s; }
.ap-email-btn:hover { background: var(--blue-lt); }
.ap-email-address { font-size: 0.88rem; font-weight: 600; color: var(--text); padding: 0 20px; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-page { background: var(--black); min-height: calc(100vh - var(--nav-h)); padding: 72px 20px; }
.contact-container { max-width: 600px; margin: 0 auto; }
.contact-header { text-align: center; margin-bottom: 32px; }
.contact-header h1 { font-weight: 700; font-size: clamp(1.7rem, 4vw, 2.6rem); color: var(--white); letter-spacing: -0.5px; margin-bottom: 7px; }
.contact-header p { font-size: 0.88rem; color: var(--text2); }
.contact-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.contact-option-card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 16px 18px; display: flex; align-items: center; gap: 12px; transition: border-color 0.2s, transform 0.18s; }
.contact-option-card:hover { border-color: var(--border2); transform: translateY(-1px); }
.co-icon { width: 38px; height: 38px; background: var(--blue-dim); border: 1px solid rgba(37,99,235,0.2); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.co-label { font-size: 0.68rem; font-weight: 700; color: var(--muted); margin-bottom: 2px; text-transform: uppercase; letter-spacing: 0.06em; }
.co-value { font-size: 0.82rem; font-weight: 600; color: var(--white); }
.contact-divider { text-align: center; margin: 14px 0; font-size: 0.78rem; color: var(--muted); }
.contact-form-box { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 28px 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; margin-bottom: 6px; font-size: 0.78rem; font-weight: 600; color: var(--text); }
.form-group label .req { color: #ef4444; }
.form-group input[type="text"], .form-group input[type="email"], .form-group input[type="tel"], .form-group textarea, .form-group select { width: 100%; padding: 10px 12px; background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 7px; font-family: var(--font); font-size: 0.84rem; color: var(--white); transition: border-color 0.18s, background 0.18s; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--muted); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--blue); background: rgba(37,99,235,0.04); }
.form-group select option { background: var(--surface); }
.form-group textarea { min-height: 110px; resize: vertical; }
.form-group input[type="file"] { width: 100%; font-size: 0.78rem; color: var(--muted); cursor: pointer; }
.form-hint { font-size: 0.71rem; color: var(--muted); margin-top: 4px; }
.error-message { color: #ef4444; font-size: 0.72rem; margin-top: 3px; display: none; }
.alert { padding: 11px 14px; border-radius: 7px; font-size: 0.82rem; margin-bottom: 14px; display: none; }
.alert.success { background: rgba(34,197,94,0.08); color: #4ade80; border: 1px solid rgba(34,197,94,0.18); }
.alert.error   { background: rgba(239,68,68,0.08); color: #f87171; border: 1px solid rgba(239,68,68,0.18); }
.submit-btn { width: 100%; padding: 12px 24px; background: var(--blue); color: #fff; border: none; border-radius: 8px; font-family: var(--font); font-weight: 700; font-size: 0.88rem; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transition: background 0.18s; box-shadow: 0 2px 12px rgba(37,99,235,0.3); }
.submit-btn:hover { background: var(--blue-lt); }
.submit-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.spinner { width: 15px; height: 15px; border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff; border-radius: 50%; animation: spin 0.6s linear infinite; display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.trust-note { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; padding: 12px 14px; background: rgba(255,255,255,0.02); border: 1px solid var(--border); border-radius: 7px; }
.trust-note .lock { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.trust-note p { font-size: 0.75rem; color: var(--muted); line-height: 1.55; }
.trust-note strong { color: var(--text); }
.contact-faq { margin-top: 40px; }
.contact-faq h2 { font-weight: 700; font-size: clamp(1.3rem, 2.5vw, 1.8rem); color: var(--white); letter-spacing: -0.3px; margin-bottom: 20px; text-align: center; }
.faq-list { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-q { width: 100%; background: none; border: none; padding: 15px 18px; display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; font-family: var(--font); font-weight: 600; font-size: 0.84rem; color: var(--text); text-align: left; transition: background 0.15s; }
.faq-q:hover { background: rgba(255,255,255,0.02); }
.faq-arrow { font-size: 0.9rem; color: var(--muted); transition: transform 0.22s; flex-shrink: 0; }
.faq-q[aria-expanded="true"] .faq-arrow { transform: rotate(180deg); color: var(--blue-lt); }
.faq-a { display: none; padding: 0 18px 14px; }
.faq-a.open { display: block; }
.faq-a p { font-size: 0.82rem; color: var(--text2); line-height: 1.75; }

/* Contact proof strip */
.contact-proof-strip {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 18px 20px; margin-bottom: 16px;
}
.cp-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.82rem; color: var(--text2);
}
.cp-item svg { flex-shrink: 0; }

/* Contact page quote */
.contact-quote {
  margin-bottom: 18px; text-align: center;
}
.contact-quote blockquote {
  font-size: 0.86rem; color: var(--text2); font-style: italic;
  line-height: 1.7; max-width: 500px; margin: 0 auto;
  padding: 16px 20px;
  border-left: 2px solid var(--amber-dim);
  text-align: left;
}
.contact-quote cite {
  display: block; margin-top: 10px;
  font-style: normal; font-size: 0.76rem;
  font-weight: 600; color: var(--muted);
}

/* What-screenshot (replaces bro.png illustration) */
.what-screenshot {
  border-radius: 10px; overflow: hidden;
  background: var(--surface2);
  border: 1px solid var(--border2);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}
.what-screenshot img {
  width: 100%; display: block;
  max-height: 280px; object-fit: cover; object-position: top;
}

/* ── Abstract Dashboard Mockup (Homepage "What I build") ── */
.dash-mockup {
  border-radius: 12px; overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border2);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.03);
  max-width: 420px;
}
.dm-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
}
.dm-dot { width: 8px; height: 8px; border-radius: 50%; }
.dm-title {
  margin-left: 8px; font-size: 0.65rem; font-weight: 600;
  color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase;
}
.dm-body { padding: 16px; display: flex; flex-direction: column; gap: 14px; }

/* Metric cards row */
.dm-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dm-metric-card {
  background: var(--dark); border: 1px solid var(--border);
  border-radius: 8px; padding: 12px 10px;
}
.dm-metric-label { font-size: 0.58rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.dm-metric-val { font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 8px; letter-spacing: -0.3px; }
.dm-metric-bar { height: 3px; background: rgba(255,255,255,0.06); border-radius: 3px; overflow: hidden; }
.dm-metric-bar span {
  display: block; height: 100%; border-radius: 3px;
  background: var(--blue-lt);
  animation: barGrow 1.2s ease-out both;
}
.dm-metric-amber .dm-metric-val { color: var(--amber-lt); }
.dm-metric-amber .dm-metric-bar span { background: var(--amber); }

@keyframes barGrow { from { width: 0 !important; } }

/* Chart */
.dm-chart-area {
  background: var(--dark); border: 1px solid var(--border);
  border-radius: 8px; padding: 14px;
}
.dm-chart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.dm-chart-title { font-size: 0.65rem; font-weight: 600; color: var(--text2); }
.dm-chart-legend { font-size: 0.58rem; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.dm-legend-dot { width: 6px; height: 6px; border-radius: 2px; background: var(--blue-lt); }
.dm-chart-bars { display: flex; align-items: flex-end; gap: 8px; height: 80px; }
.dm-bar-col {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%;
  justify-content: flex-end;
}
.dm-bar-col span { font-size: 0.55rem; color: var(--muted); }
.dm-bar-fill {
  width: 100%; border-radius: 3px 3px 0 0;
  background: var(--blue-lt); opacity: 0.7;
  animation: barGrow 1s ease-out both;
}
.dm-bar-fill.dm-bar-amber { background: var(--amber); opacity: 1; }
.dm-bar-col:nth-child(1) .dm-bar-fill { animation-delay: 0.1s; }
.dm-bar-col:nth-child(2) .dm-bar-fill { animation-delay: 0.2s; }
.dm-bar-col:nth-child(3) .dm-bar-fill { animation-delay: 0.3s; }
.dm-bar-col:nth-child(4) .dm-bar-fill { animation-delay: 0.4s; }
.dm-bar-col:nth-child(5) .dm-bar-fill { animation-delay: 0.5s; }
.dm-bar-col:nth-child(6) .dm-bar-fill { animation-delay: 0.6s; }
.dm-bar-col:nth-child(7) .dm-bar-fill { animation-delay: 0.7s; }

/* Mini table */
.dm-table {
  background: var(--dark); border: 1px solid var(--border);
  border-radius: 8px; overflow: hidden;
}
.dm-table-row {
  display: grid; grid-template-columns: 1.2fr 0.8fr 0.8fr;
  padding: 8px 12px; font-size: 0.65rem; color: var(--text2);
  border-bottom: 1px solid var(--border);
}
.dm-table-row:last-child { border-bottom: none; }
.dm-table-header {
  font-weight: 700; color: var(--muted); text-transform: uppercase;
  letter-spacing: 0.04em; font-size: 0.58rem;
  background: rgba(255,255,255,0.02);
}
.dm-status {
  font-size: 0.58rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; border-radius: 3px; padding: 1px 6px;
  display: inline-block; width: fit-content;
}
.dm-status-done { background: rgba(22,163,74,0.15); color: var(--green-lt); }
.dm-status-active { background: var(--amber-dim); color: var(--amber-lt); }
.dm-status-review { background: var(--blue-dim); color: var(--blue-lt); }

/* ── Promise Stack (Services "What you can expect") ── */
.promise-stack {
  display: flex; flex-direction: column; gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  max-width: 340px;
}
.ps-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.ps-item:last-child { border-bottom: none; }
.ps-item:hover { background: rgba(255,255,255,0.02); }
.ps-icon {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ps-icon-amber { background: var(--amber-dim); color: var(--amber); }
.ps-icon-green { background: rgba(22,163,74,0.12); color: var(--green-lt); }
.ps-icon-blue  { background: var(--blue-dim); color: var(--blue-lt); }
.ps-icon-muted { background: rgba(255,255,255,0.05); color: var(--text2); }
.ps-content { display: flex; flex-direction: column; gap: 1px; }
.ps-label { font-size: 0.82rem; font-weight: 600; color: var(--white); line-height: 1.3; }
.ps-desc  { font-size: 0.7rem; color: var(--muted); line-height: 1.4; }

@media (max-width: 768px) {
  .dash-mockup { max-width: 100%; }
  .dm-metrics { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .dm-metric-card { padding: 8px 6px; }
  .dm-metric-val { font-size: 0.9rem; }
  .dm-chart-bars { height: 60px; }
  .promise-stack { max-width: 100%; }
}

/* ============================================================
   WORK PAGE
   ============================================================ */
.work-page { background: var(--black); min-height: calc(100vh - var(--nav-h)); padding: 72px 64px; }
.work-page-header { text-align: center; margin-bottom: 52px; }
.work-page-header h1 { font-weight: 700; font-size: clamp(1.8rem, 4vw, 3rem); color: var(--white); letter-spacing: -0.5px; margin-bottom: 10px; }
.work-page-header p { font-size: 0.9rem; color: var(--text2); }
.cs-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; display: flex; margin: 0 auto 20px; max-width: 1060px; transition: border-color 0.22s; }
.cs-card:hover { border-color: var(--border2); }
.cs-featured { flex-direction: row; }
.cs-img-col { flex: 0 0 40%; }
.cs-img-wrap { height: 100%; min-height: 300px; }
.cs-ph { display: flex; align-items: flex-end; padding: 18px; }
.cs-ph-blue { background: linear-gradient(135deg, #0c1a3e 0%, #1e3a8a 60%, #2563eb 100%); }
.cs-ph-dark { background: linear-gradient(135deg, #0f0f12 0%, #1a1a25 100%); min-height: 190px; }
.cs-ph-green { background: linear-gradient(135deg, #052e16 0%, #064e3b 100%); min-height: 190px; }
.cs-ph-label { font-weight: 700; font-size: 0.88rem; color: rgba(255,255,255,0.2); }
.cs-body { padding: 32px 32px 28px; display: flex; flex-direction: column; gap: 10px; }
.cs-badge-row { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.cs-badge { background: var(--blue-dim); border: 1px solid rgba(37,99,235,0.22); color: var(--blue-lt); font-size: 0.66rem; font-weight: 700; padding: 3px 10px; border-radius: 100px; letter-spacing: 0.05em; text-transform: uppercase; }
.cs-badge-live { background: rgba(34,197,94,0.08); border-color: rgba(34,197,94,0.22); color: #4ade80; }
.cs-meta { font-size: 0.68rem; font-weight: 600; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.cs-title { font-weight: 700; font-size: 1.5rem; color: var(--white); letter-spacing: -0.3px; }
.cs-desc { font-size: 0.86rem; color: var(--text2); line-height: 1.75; }
.cs-outcomes { display: flex; gap: 24px; padding: 14px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.cs-outcome { display: flex; flex-direction: column; gap: 2px; }
.cs-outcome-num { font-weight: 700; font-size: 1.25rem; color: var(--white); line-height: 1; letter-spacing: -0.3px; }
.cs-outcome-label { font-size: 0.68rem; color: var(--muted); }
.cs-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.cs-tags span { background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 4px; padding: 3px 9px; font-size: 0.67rem; font-weight: 600; color: var(--muted); }
.cs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 1060px; margin: 0 auto 20px; }
.cs-mini { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: border-color 0.22s, transform 0.22s; }
.cs-mini:hover { border-color: var(--border2); transform: translateY(-3px); }
.cs-mini-img { min-height: 160px; }
.cs-mini-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; }
.cs-mini-title { font-weight: 700; font-size: 0.95rem; color: var(--white); letter-spacing: -0.2px; }
.cs-mini-desc { font-size: 0.8rem; color: var(--text2); line-height: 1.65; }
.wpage-cta { max-width: 1060px; margin: 16px auto 0; }
.wpage-cta-inner { background: var(--blue); border-radius: 14px; padding: 48px 40px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.wpage-cta-inner h2 { font-weight: 700; font-size: clamp(1.3rem, 2.5vw, 1.9rem); color: #fff; letter-spacing: -0.3px; }
.wpage-cta-inner p { font-size: 0.88rem; color: rgba(255,255,255,0.75); line-height: 1.6; max-width: 440px; }
.wpage-cta-inner .btn-primary { background: #fff; color: var(--blue); margin-top: 6px; }
.wpage-cta-inner .btn-primary:hover { background: #eff6ff; }
.wpage-cta-inner .btn-icon { background: rgba(37,99,235,0.12); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .navbar, .logos-bar, .cta-strip, .footer,
  .hero, .what-section, .work-section,
  .process-section, .testimonials-section { padding-left: 32px; padding-right: 32px; }
  .services-page, .about-page, .work-page { padding-left: 32px; padding-right: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: 1fr 1fr; }
  .sp-why-section { flex-direction: column; }
  .process-steps { flex-wrap: wrap; gap: 28px; justify-content: center; }
  .process-connector { display: none; }
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .nav-desktop-cta { display: none; }
  .nav-links {
    display: flex; position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: rgba(12,13,15,0.97);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 20px 20px;
    border-bottom: 1px solid var(--border);
    opacity: 0; transform: translateY(-8px); pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  .nav-links.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-links:not(.open) { display: flex; }
  .nav-links li { opacity: 0; transform: translateY(-6px); transition: opacity 0.3s ease, transform 0.3s ease; }
  .nav-links.open li { opacity: 1; transform: translateY(0); }
  .nav-links.open li:nth-child(1) { transition-delay: 0.04s; }
  .nav-links.open li:nth-child(2) { transition-delay: 0.08s; }
  .nav-links.open li:nth-child(3) { transition-delay: 0.12s; }
  .nav-links.open li:nth-child(4) { transition-delay: 0.16s; }
  .nav-links.open li:nth-child(5) { transition-delay: 0.20s; }
  .nav-links.open li:nth-child(6) { transition-delay: 0.24s; }
  .nav-links li a { display: block; padding: 14px 4px; font-size: 0.92rem; border-bottom: 1px solid rgba(255,255,255,0.04); }
  
  .hero { padding: 40px 20px 80px; min-height: auto; align-items: center; }
  /* Put the image (hero-right) on top of the text (hero-left) */
  .hero-inner { flex-direction: column-reverse; gap: 40px; align-items: stretch; }
  .hero-left { max-width: 100%; text-align: center; display: flex; flex-direction: column; align-items: center; }
  .hero-title { font-size: 2.2rem; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  
  .hero-right { max-width: 100%; width: 100%; display: flex; justify-content: center; margin-bottom: 32px; }
  .hero-card-stack { max-width: 340px; width: 100%; }
  .hero-illus img { width: 100%; max-width: 100%; margin: 0 auto 24px auto; display: block; object-fit: contain; }
  
  .hero-proof { width: 100%; max-width: 360px; justify-content: space-between; flex-wrap: wrap; margin-left: auto; margin-right: auto; }
  .proof-item { padding: 12px 14px; text-align: center; flex: 1; min-width: unset; }
  
  .what-section, .work-section, .process-section,
  .testimonials-section, .cta-strip, .footer { padding-left: 20px; padding-right: 20px; }
  /* Put the bro image on top of the 'What I Build' text */
  .what-inner { flex-direction: column-reverse; gap: 32px; text-align: center; }
  .what-desc { margin-left: auto; margin-right: auto; }
  .service-pills { justify-content: center; }
  .what-right img { width: 100%; max-width: 100%; margin: 0 auto 24px auto; display: block; object-fit: contain; }
  
  .work-grid, .testi-grid { grid-template-columns: 1fr !important; gap: 24px; }
  .wc-img-wrap { height: auto; aspect-ratio: 16/9; }
  .wc-featured .wc-img-wrap { height: auto; aspect-ratio: 16/9; }
  
  .cta-strip-inner { flex-direction: column; text-align: center; align-items: center; }
  .cta-strip-left p { margin-left: auto; margin-right: auto; }
  .cta-strip-right { align-items: center; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 20px; text-align: center; }
  .footer-socials { justify-content: center; }
  .footer-list { align-items: center; }
  .footer-logo { display: flex; justify-content: center; }
  
  .logos-bar { flex-direction: column; align-items: center; padding: 24px 20px; gap: 16px; }
  .logos-list { justify-content: center; gap: 16px; }
  
  .sp-grid { grid-template-columns: 1fr; }
  
  /* Vertically stack 1,2,3,4 process steps on mobile */
  .process-steps, .sp-steps { flex-direction: column; align-items: center; gap: 32px; text-align: center; }
  .process-step, .sp-step { width: 100%; display: flex; flex-direction: column; align-items: center; }
  .sp-step-line, .process-connector { display: none; }
  
  .ap-hero { flex-direction: column-reverse; text-align: center; }
  .ap-desc { margin-left: auto; margin-right: auto; }
  .ap-hero-right { flex: unset; max-width: 240px; margin-bottom: 20px; }
  .ap-skills-grid { grid-template-columns: 1fr; }
  
  .sp-why-section { flex-direction: column-reverse; gap: 32px; }
  .sp-why-img { display: flex; justify-content: center; }
  .sp-why-img img { width: 100%; margin: 0 auto 24px auto; display: block; }
  .sp-why-content { margin-top: 0; }
  
  .form-row { grid-template-columns: 1fr; }
  .contact-form-box { padding: 20px 18px; }
  .contact-options { grid-template-columns: 1fr; }
  
  .services-page, .about-page, .work-page { padding: 44px 20px; }
  
  .cs-featured { flex-direction: column; }
  .cs-img-col { flex: unset; }
  .cs-img-wrap { min-height: 200px; }
  .cs-grid { grid-template-columns: 1fr; }
  .cs-outcomes { flex-wrap: wrap; gap: 14px; justify-content: center; }
  
  .sp-pricing-grid { grid-template-columns: 1fr; }
  
  .wpage-cta-inner { padding: 32px 22px; text-align: center; align-items: center; }
  .wpage-cta-inner p { margin-left: auto; margin-right: auto; }
  
  .ap-stats { flex-direction: column; }
  .ap-stat + .ap-stat { border-left: none; border-top: 1px solid var(--border); width: 100%; }
  
  /* Force text center alignment everywhere on mobile */
  .label.center { justify-content: center; }
  .label.center::before { display: none; }
  .section-heading, h1, h2, h3 { text-align: center !important; }
  
  /* Additional Centering Overrides */
  p.ap-desc, p.what-desc { text-align: center; }
}

/* ============================================================
   WORK PAGE — BROWSER MOCKUP CARDS
   ============================================================ */

/* Filter tabs */
.work-filters {
  display: flex; align-items: center; gap: 8px;
  justify-content: center; margin-top: 24px; flex-wrap: wrap;
}
.wf-btn {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 100px; padding: 7px 18px;
  font-family: var(--font); font-size: 0.78rem; font-weight: 600;
  color: var(--muted); cursor: pointer; transition: all 0.18s;
}
.wf-btn:hover { color: var(--text); border-color: var(--border2); }
.wf-btn.active { background: var(--blue); color: #fff; border-color: var(--blue); }

/* Project rows */
.project-list { display: flex; flex-direction: column; gap: 24px; max-width: 1060px; margin: 48px auto 0; }
.proj-row {
  display: grid; grid-template-columns: 1fr 1.6fr;
  gap: 0; background: var(--surface);
  border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
  transition: border-color 0.22s; align-items: stretch;
}
.proj-row:hover { border-color: var(--border2); }
.proj-row.hidden { display: none; }

/* Left info col */
.proj-info-col {
  padding: 28px 24px; display: flex; flex-direction: column;
  gap: 8px; border-right: 1px solid var(--border);
  justify-content: center;
}
.proj-logo-wrap { margin-bottom: 4px; }
.proj-logo-circle {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--blue-dim); border: 1px solid rgba(37,99,235,0.25);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.9rem; color: var(--blue-lt);
}
.proj-logo-purple { background: rgba(139,92,246,0.12); border-color: rgba(139,92,246,0.25); color: #a78bfa; }
.proj-logo-orange { background: rgba(249,115,22,0.12); border-color: rgba(249,115,22,0.25); color: #fb923c; }
.proj-logo-green  { background: rgba(34,197,94,0.1);   border-color: rgba(34,197,94,0.22);  color: #4ade80; }

.proj-category-tag {
  font-size: 0.68rem; font-weight: 700;
  color: var(--blue-lt); letter-spacing: 0.08em; text-transform: uppercase;
}
.proj-title {
  font-weight: 700; font-size: 1.05rem;
  color: var(--white); letter-spacing: -0.2px; line-height: 1.25;
}
.proj-desc {
  font-size: 0.82rem; color: var(--text2);
  line-height: 1.72; flex: 1;
}
.proj-stack { display: flex; flex-wrap: wrap; gap: 5px; }
.proj-stack span {
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: 4px; padding: 3px 9px;
  font-size: 0.66rem; font-weight: 600; color: var(--muted);
  letter-spacing: 0.03em;
}
.proj-cta { margin-top: 16px; }
.proj-live-link {
  border-color: rgba(217,119,6,0.25);
  color: var(--amber);
}
.proj-live-link:hover {
  border-color: var(--amber);
  color: var(--amber-lt);
  background: rgba(217,119,6,0.06);
}
.proj-cs-link {
  display: inline-block; margin-top: 10px;
  font-size: 0.78rem; font-weight: 600; color: var(--blue-lt);
  transition: color 0.18s;
}
.proj-cs-link:hover { color: var(--white); }

/* Right mockup col */
.proj-mockup-col {
  background: var(--dark); padding: 16px;
  display: flex; align-items: center; justify-content: center;
}

/* Browser mockup frame */
.browser-mockup {
  width: 100%; border-radius: 10px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
  background: #1a1a24;
}
.bm-bar {
  height: 34px; background: #252530;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; gap: 10px; padding: 0 12px;
  flex-shrink: 0;
}
.bm-dots { display: flex; gap: 5px; flex-shrink: 0; }
.bm-dot {
  width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0;
}
.bm-dot-r { background: #ff5f57; }
.bm-dot-y { background: #febc2e; }
.bm-dot-g { background: #28c840; }
.bm-url {
  flex: 1; background: rgba(255,255,255,0.06);
  border-radius: 5px; height: 20px; padding: 0 9px;
  display: flex; align-items: center; gap: 5px;
  font-size: 0.62rem; color: var(--muted); letter-spacing: 0.01em;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  max-width: 260px;
}
.bm-actions { margin-left: auto; color: var(--muted); flex-shrink: 0; }

.bm-screen {
  width: 100%; height: 320px; overflow: hidden; position: relative; background: var(--dark);
}
.bm-screen img {
  width: 100%;
  height: auto;
  display: block;
  position: absolute;
  top: 0; left: 0;
  object-fit: unset;
}

/* Placeholder state (before real screenshot is added) */
.bm-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end;
  padding-bottom: 12px; position: relative;
}
.bm-ph-blue  { background: linear-gradient(160deg, #0c1a3e 0%, #1e3a8a 100%); }
.bm-ph-dark  { background: linear-gradient(160deg, #0f0f14 0%, #1e1e2e 100%); }
.bm-ph-green { background: linear-gradient(160deg, #052e16 0%, #064e3b 100%); }
.bm-ph-label {
  font-size: 0.64rem; color: rgba(255,255,255,0.25);
  font-weight: 500; letter-spacing: 0.04em; position: relative; z-index: 2;
}

/* Fake UI wireframe inside placeholder */
.bm-ph-ui {
  position: absolute; inset: 0; padding: 8px;
  display: flex; gap: 6px; overflow: hidden;
}
.bm-ph-sidebar {
  width: 28px; background: rgba(255,255,255,0.05);
  border-radius: 4px; padding: 6px 5px;
  display: flex; flex-direction: column; gap: 5px; flex-shrink: 0;
}
.bm-ph-nav-item {
  height: 6px; background: rgba(255,255,255,0.1); border-radius: 2px;
}
.bm-ph-nav-item.bm-active { background: rgba(59,130,246,0.5); }
.bm-ph-content { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.bm-ph-header-bar { height: 8px; background: rgba(255,255,255,0.06); border-radius: 2px; width: 70%; }
.bm-ph-cards { display: flex; gap: 4px; }
.bm-ph-card { flex: 1; height: 28px; background: rgba(255,255,255,0.05); border-radius: 4px; }
.bm-ph-table { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.bm-ph-row { height: 6px; background: rgba(255,255,255,0.04); border-radius: 2px; }
.bm-ph-row:nth-child(odd) { width: 85%; }

/* Website placeholder style */
.bm-ph-website .bm-ph-hero-section {
  display: flex; gap: 8px; width: 100%;
  padding: 12px 8px 0;
}
.bm-ph-hero-text { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.bm-ph-h1 { height: 10px; background: rgba(255,255,255,0.15); border-radius: 2px; width: 80%; }
.bm-ph-h2 { height: 7px; background: rgba(255,255,255,0.08); border-radius: 2px; width: 65%; }
.bm-ph-btn-row { display: flex; gap: 5px; margin-top: 4px; }
.bm-ph-btn-solid { height: 14px; width: 50px; background: rgba(59,130,246,0.5); border-radius: 3px; }
.bm-ph-btn-ghost { height: 14px; width: 44px; background: rgba(255,255,255,0.08); border-radius: 3px; }
.bm-ph-hero-img { width: 70px; height: 60px; background: rgba(255,255,255,0.06); border-radius: 6px; flex-shrink: 0; }

/* Responsive */
@media (max-width: 820px) {
  .proj-row { grid-template-columns: 1fr; }
  .proj-mockup-col { order: -1; }
  .proj-info-col { border-right: none; border-top: 1px solid var(--border); }
  .bm-screen { height: 240px; }
}
@media (max-width: 480px) {
  .proj-info-col { padding: 22px 18px; }
  .proj-mockup-col { padding: 14px; }
  .bm-screen { height: 180px; }
}

/* ── Screenshot slider ── */
.bm-slider { position: relative; }
.bm-slide { display: none; width: 100%; height: 100%; position: relative; overflow: hidden; }
.bm-slide.active { display: block; }
.bm-slide img { width: 100%; height: auto; display: block; position: absolute; top: 0; left: 0; }
.bm-slider-dots {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 5px; z-index: 10;
}
.bm-sdot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.3); cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.bm-sdot.active { background: #fff; transform: scale(1.2); }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.bm-expand-btn {
  background: none; border: none; cursor: pointer;
  color: var(--muted); padding: 2px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 3px; transition: color 0.15s, background 0.15s;
}
.bm-expand-btn:hover { color: var(--white); background: rgba(255,255,255,0.1); }

/* Lightbox overlay */
.lb-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
  backdrop-filter: blur(6px);
}
.lb-overlay.open { opacity: 1; pointer-events: all; }

.lb-container {
  position: relative;
  width: 88vw; max-width: 1200px;
  max-height: 95vh;
  display: flex; flex-direction: column;
  gap: 10px;
}

/* Browser chrome on lightbox */
.lb-chrome {
  background: #252530;
  border-radius: 10px 10px 0 0;
  height: 34px; flex-shrink: 0;
  display: flex; align-items: center; gap: 10px; padding: 0 14px;
  border: 1px solid rgba(255,255,255,0.08); border-bottom: none;
}
.lb-dots { display: flex; gap: 5px; }
.lb-dot { width: 9px; height: 9px; border-radius: 50%; }
.lb-dot-r { background: #ff5f57; }
.lb-dot-y { background: #febc2e; }
.lb-dot-g { background: #28c840; }
.lb-url {
  flex: 1; background: rgba(255,255,255,0.06);
  border-radius: 4px; height: 20px; padding: 0 10px;
  font-family: var(--font); font-size: 0.62rem; color: var(--muted);
  display: flex; align-items: center; max-width: 320px;
}

/* Lightbox image area */
.lb-img-wrap {
  background: #1a1a24;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0 0 10px 10px;
  overflow-y: auto; overflow-x: hidden;
  height: calc(90vh - 140px);
  position: relative;
  scroll-behavior: smooth;
}
.lb-img-wrap img {
  width: 100%; display: block;
  height: auto !important;
  position: static !important;
  transition: opacity 0.3s;
}

/* Nav arrows */
.lb-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,0.6); border: 1px solid rgba(255,255,255,0.12);
  color: #fff; border-radius: 8px;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 10; transition: background 0.18s;
  font-size: 1rem;
}
.lb-arrow:hover { background: rgba(37,99,235,0.7); }
.lb-prev { left: -52px; }
.lb-next { right: -52px; }
.lb-arrow.hidden { opacity: 0; pointer-events: none; }

/* Close button */
.lb-close {
  position: absolute; top: -14px; right: -14px;
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%; color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: background 0.18s; z-index: 11;
}
.lb-close:hover { background: #ef4444; border-color: #ef4444; }

/* Thumb strip */
.lb-thumbs {
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap;
}
.lb-thumb {
  width: 64px; height: 44px; border-radius: 5px; overflow: hidden;
  border: 2px solid rgba(255,255,255,0.1); cursor: pointer;
  transition: border-color 0.18s; flex-shrink: 0;
}
.lb-thumb.active { border-color: var(--blue); }
.lb-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* Counter */
.lb-counter {
  text-align: center; font-size: 0.72rem;
  color: var(--muted); flex-shrink: 0;
}

@media (max-width: 768px) {
  .lb-container { width: 96vw; }
  .lb-prev { left: 4px; }
  .lb-next { right: 4px; }
  .lb-thumb { width: 48px; height: 34px; }
}

/* Lightbox auto-scroll controls */
.lb-scroll-bar {
  display: flex; align-items: center; gap: 10px;
  justify-content: center;
}
.lb-scroll-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px; color: var(--text2);
  font-family: var(--font); font-size: 0.72rem; font-weight: 600;
  padding: 5px 12px; cursor: pointer;
  display: flex; align-items: center; gap: 5px;
  transition: all 0.18s;
}
.lb-scroll-btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.lb-scroll-btn.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.lb-progress {
  flex: 1; max-width: 180px; height: 3px;
  background: rgba(255,255,255,0.1); border-radius: 100px; overflow: hidden;
}
.lb-progress-bar {
  height: 100%; width: 0%; background: var(--blue);
  border-radius: 100px; transition: width 0.1s linear;
}

/* ============================================================
   HERO — Floating browser mockup cards
   ============================================================ */
.hcard-browser {
  flex-direction: column !important;
  padding: 0 !important;
  gap: 0 !important;
  width: 200px !important;
  overflow: hidden;
  border-radius: 10px !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  box-shadow: 0 12px 40px rgba(0,0,0,0.55) !important;
  background: #1e1e28 !important;
}
.hcard-bm-bar {
  height: 22px; background: #252530;
  display: flex; align-items: center; gap: 4px;
  padding: 0 8px; flex-shrink: 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.hcard-dot {
  width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
}
.hcard-bm-url {
  font-size: 0.52rem; color: rgba(255,255,255,0.3);
  margin-left: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.hcard-bm-screen {
  width: 100%; height: 110px; overflow: hidden; position: relative;
}
.hcard-bm-screen img {
  width: 100%; height: auto;
  display: block; position: absolute; top: 0; left: 0;
}
.hcard-bm-label {
  padding: 6px 10px;
  font-size: 0.65rem; font-weight: 600;
  color: rgba(255,255,255,0.7);
  display: flex; align-items: center; gap: 5px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: #1a1a24;
}
.hcard-live-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: #22c55e; flex-shrink: 0;
  animation: pulse-dot 2.2s ease-in-out infinite;
}

/* Reposition the 2 browser cards for nice overlap layout */
.hcard-1.hcard-browser { top: 4%; left: -8%; }
.hcard-2.hcard-browser { bottom: 22%; right: -8%; }

@media (max-width: 768px) {
  .hcard-browser { width: 160px !important; }
  .hcard-bm-screen { height: 85px; }
  .hcard-1.hcard-browser { top: 2%; left: 0; }
  .hcard-2.hcard-browser { bottom: 18%; right: 0; }
}


/* ============================================================
   BACK TO TOP — simple glowing blue arrow
   ============================================================ */
.btt-btn {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 44px; height: 44px;
  background: var(--blue);
  border: none; border-radius: 50%;
  cursor: pointer; z-index: 999;
  opacity: 0; pointer-events: none;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 16px rgba(37,99,235,0.5), 0 0 32px rgba(37,99,235,0.25);
}
.btt-btn.visible {
  opacity: 1; pointer-events: all;
  transform: translateY(0);
}
.btt-btn:hover {
  box-shadow: 0 0 22px rgba(37,99,235,0.8), 0 0 48px rgba(37,99,235,0.4);
  transform: translateY(-3px);
}
.btt-btn svg { color: #fff; }
.btt-inner { display: contents; }
.btt-ring { display: none; }

@media (max-width: 768px) {
  .btt-btn { bottom: 20px; right: 20px; }
}

/* cursor: default */

/* ============================================================
   PAGE PRELOADER
   ============================================================ */
#preloader {
  position: fixed; inset: 0; z-index: 99997;
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 20px;
  animation: preloaderOut 0.6s ease 2s forwards;
}
@keyframes preloaderOut {
  0%   { opacity: 1; visibility: visible; pointer-events: all; }
  100% { opacity: 0; visibility: hidden;  pointer-events: none; }
}
#preloader.hide {
  animation: preloaderOut 0.4s ease 0s forwards;
}
.pre-logo {
  font-family: var(--font); font-size: 1.4rem; font-weight: 800;
  color: var(--white); letter-spacing: -0.03em;
}
.pre-logo span { color: var(--blue); }
.pre-bar-wrap {
  width: 160px; height: 2px;
  background: rgba(255,255,255,0.08); border-radius: 100px; overflow: hidden;
}
.pre-bar {
  height: 100%; width: 0%;
  background: var(--blue);
  border-radius: 100px;
  animation: preload 1.6s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes preload {
  0%   { width: 0%; }
  50%  { width: 60%; }
  85%  { width: 88%; }
  100% { width: 100%; }
}

/* ============================================================
   PAGE TRANSITIONS
   ============================================================ */
.page-transition {
  position: fixed; inset: 0; z-index: 99996;
  background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.page-transition.pt-enter {
  opacity: 1;
  pointer-events: all;
}
.page-transition.pt-exit {
  opacity: 0;
  pointer-events: none;
}
.pt-logo {
  width: 48px; height: 48px;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
  filter: brightness(1.2);
}
.page-transition.pt-enter .pt-logo {
  opacity: 1;
  transform: scale(1);
}

/* ============================================================
   AVAILABLE STATUS BADGE
   ============================================================ */
.avail-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.25);
  border-radius: 100px; padding: 6px 14px;
  font-size: 0.78rem; font-weight: 600; color: #22c55e;
  margin-bottom: 18px;
}
.avail-badge .avail-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #22c55e;
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  * { cursor: auto !important; }
  .cursor-dot, .cursor-glow { display: none; }
}
/* ============================================================
   BLOG LISTING PAGE
   ============================================================ */
.blog-page { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.blog-header { padding: 64px 0 32px; text-align: center; }
.blog-header h1 { font-size: 2rem; font-weight: 800; color: var(--white); margin-bottom: 10px; letter-spacing: -0.5px; }
.blog-header p { font-size: 0.88rem; color: var(--muted); }

.blog-grid { display: grid; grid-template-columns: 1fr; gap: 20px; padding-bottom: 48px; }

.blog-card {
  display: flex; gap: 24px; padding: 24px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; transition: all 0.2s ease;
  cursor: pointer;
}
.blog-card:hover {
  border-color: var(--border2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.blog-card-icon {
  flex-shrink: 0; width: 56px; height: 56px;
  background: rgba(37,99,235,0.08); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
}
.blog-card-body { flex: 1; min-width: 0; }
.blog-card-meta {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.72rem; color: var(--muted); margin-bottom: 8px;
}
.blog-card-cat { color: var(--blue-lt); font-weight: 600; }
.blog-card-dot { opacity: 0.4; }
.blog-card-title {
  font-size: 1.05rem; font-weight: 700; color: var(--white);
  line-height: 1.35; margin-bottom: 8px; letter-spacing: -0.2px;
}
.blog-card-excerpt {
  font-size: 0.82rem; color: var(--muted); line-height: 1.6;
  margin-bottom: 12px;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
  line-clamp: 2;
}
.blog-card-footer {
  display: flex; justify-content: space-between; align-items: center;
}
.blog-card-date { font-size: 0.72rem; color: var(--muted); }
.blog-card-arrow {
  font-size: 0.88rem; color: var(--blue-lt);
  transition: transform 0.2s;
}
.blog-card:hover .blog-card-arrow { transform: translateX(4px); }
.blog-card-sm .blog-card-title { font-size: 0.92rem; }

.blog-empty { text-align: center; padding: 64px 0; color: var(--muted); }

/* ============================================================
   BLOG POST PAGE
   ============================================================ */
.bp-page { max-width: 720px; margin: 0 auto; padding: 0 24px; }

.bp-header { padding: 64px 0 32px; }
.bp-meta-row {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.75rem; color: var(--muted); margin-bottom: 12px;
}
.bp-cat { color: var(--blue-lt); font-weight: 600; }
.bp-dot { opacity: 0.4; }
.bp-title {
  font-size: 2rem; font-weight: 800; color: var(--white);
  line-height: 1.2; letter-spacing: -0.5px; margin-bottom: 14px;
}
.bp-excerpt { font-size: 0.95rem; color: var(--muted); line-height: 1.7; margin-bottom: 24px; }
.bp-author {
  display: flex; align-items: center; gap: 12px;
  padding-top: 20px; border-top: 1px solid var(--border);
}
.bp-author-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.68rem; font-weight: 800;
}
.bp-author-name { font-size: 0.82rem; font-weight: 700; color: var(--white); }
.bp-author-role { font-size: 0.72rem; color: var(--muted); }

/* Article content styling */
.bp-content { padding-bottom: 48px; border-bottom: 1px solid var(--border); margin-bottom: 48px; }
.bp-content h2 {
  font-size: 1.2rem; font-weight: 700; color: var(--white);
  margin: 36px 0 12px; letter-spacing: -0.2px;
}
.bp-content h3 {
  font-size: 1rem; font-weight: 700; color: var(--text);
  margin: 24px 0 8px;
}
.bp-content p {
  font-size: 0.88rem; color: var(--muted); line-height: 1.8;
  margin-bottom: 16px;
}
.bp-content ul, .bp-content ol {
  padding-left: 20px; margin-bottom: 16px;
}
.bp-content li {
  font-size: 0.88rem; color: var(--muted); line-height: 1.8;
  margin-bottom: 6px;
}
.bp-content strong { color: var(--text); }
.bp-content a {
  color: var(--blue-lt); text-decoration: underline;
  text-underline-offset: 2px;
}
.bp-content a:hover { color: var(--white); }
.bp-content code {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 4px; padding: 2px 6px;
  font-size: 0.82rem; font-family: 'Courier New', monospace;
}

/* Related posts */
.bp-related { margin-bottom: 48px; }
.bp-related h2 {
  font-size: 1.1rem; font-weight: 700; color: var(--white);
  margin-bottom: 20px;
}
.bp-related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

@media (max-width: 768px) {
  .blog-card { flex-direction: column; gap: 16px; }
  .bp-title { font-size: 1.5rem; }
  .bp-related-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CASE STUDY PAGE
   ============================================================ */
.cs-page { max-width: 800px; margin: 0 auto; padding: 0 24px; }

/* Hero */
.cs-hero { padding: 64px 0 32px; }
.cs-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.78rem; font-weight: 600; color: var(--muted);
  margin-bottom: 24px; transition: color 0.18s;
}
.cs-back:hover { color: var(--blue-lt); }
.cs-hero-badge {
  display: inline-block; background: rgba(37,99,235,0.1);
  border: 1px solid rgba(37,99,235,0.2); border-radius: 100px;
  padding: 4px 12px; font-size: 0.72rem; font-weight: 600;
  color: var(--blue-lt); margin-bottom: 16px;
}
.cs-hero-title {
  font-size: 2rem; font-weight: 800; color: var(--white);
  letter-spacing: -0.5px; line-height: 1.2; margin-bottom: 12px;
}
.cs-hero-desc {
  font-size: 0.92rem; color: var(--muted); line-height: 1.7; margin-bottom: 28px;
}
.cs-hero-meta {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); padding: 18px 0;
}
.cs-meta-label {
  display: block; font-size: 0.68rem; font-weight: 600;
  color: var(--muted); text-transform: uppercase;
  letter-spacing: 0.04em; margin-bottom: 4px;
}
.cs-meta-value {
  display: block; font-size: 0.88rem; font-weight: 700; color: var(--white);
}

/* Screenshot Gallery */
.cs-gallery { margin: 32px -24px; }
.cs-gallery-scroll {
  display: flex; gap: 16px; overflow-x: auto;
  padding: 0 24px 16px; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.cs-gallery-scroll::-webkit-scrollbar { height: 4px; }
.cs-gallery-scroll::-webkit-scrollbar-track { background: var(--border); border-radius: 100px; }
.cs-gallery-scroll::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 100px; }
.cs-gallery-img {
  flex-shrink: 0; width: 85%; max-width: 600px;
  border-radius: 10px; overflow: hidden;
  border: 1px solid var(--border); scroll-snap-align: start;
}
.cs-gallery-img img { width: 100%; height: auto; display: block; }

/* Content Blocks */
.cs-content { padding: 32px 0; }
.cs-block { margin-bottom: 48px; }
.cs-block-num {
  font-size: 0.72rem; font-weight: 800; color: var(--blue-lt);
  letter-spacing: 0.05em; margin-bottom: 8px;
}
.cs-block-title {
  font-size: 1.2rem; font-weight: 700; color: var(--white);
  margin-bottom: 14px; letter-spacing: -0.2px;
}
.cs-block-text {
  font-size: 0.88rem; color: var(--muted); line-height: 1.8;
}

/* Features Grid */
.cs-features { margin-bottom: 48px; }
.cs-features-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.cs-feat-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 8px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 0.82rem; color: var(--text);
}
.cs-feat-check {
  flex-shrink: 0; font-size: 0.72rem; font-weight: 800;
  color: #22c55e;
}

/* Client Quote */
.cs-quote {
  margin-bottom: 48px; padding: 28px 32px;
  background: var(--surface); border-radius: 10px;
  border-left: 3px solid var(--blue);
}
.cs-quote blockquote p {
  font-size: 1rem; font-style: italic; color: var(--text);
  line-height: 1.7; margin-bottom: 12px;
}
.cs-quote cite {
  font-size: 0.78rem; font-weight: 600; color: var(--muted);
  font-style: normal;
}

/* Tech Stack */
.cs-stack { margin-bottom: 48px; }
.cs-stack-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.cs-tag {
  padding: 6px 14px; border-radius: 100px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 0.78rem; font-weight: 600; color: var(--text);
}

/* CTA */
.cs-cta {
  text-align: center; padding: 48px 0 64px;
  border-top: 1px solid var(--border);
}
.cs-cta h2 {
  font-size: 1.5rem; font-weight: 800; color: var(--white);
  margin-bottom: 10px;
}
.cs-cta p {
  font-size: 0.88rem; color: var(--muted); margin-bottom: 24px;
}

@media (max-width: 768px) {
  .cs-hero-title { font-size: 1.5rem; }
  .cs-hero-meta { grid-template-columns: 1fr 1fr; }
  .cs-features-grid { grid-template-columns: 1fr; }
  .cs-gallery-img { width: 90%; }
  .cs-quote { padding: 20px 20px; }
}

/* ============================================================
   FLOATING WHATSAPP BUTTON
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: 32px; left: 32px;
  width: 52px; height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4), 0 0 32px rgba(37,211,102,0.2);
  z-index: 998;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: wa-pulse 3s ease-in-out infinite;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,0.6), 0 0 48px rgba(37,211,102,0.3);
}
.wa-float svg { flex-shrink: 0; }

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,0.4), 0 0 0 0 rgba(37,211,102,0.3); }
  50%      { box-shadow: 0 4px 16px rgba(37,211,102,0.4), 0 0 0 10px rgba(37,211,102,0); }
}

/* Tooltip */
.wa-float-tooltip {
  position: absolute;
  left: 62px; top: 50%; transform: translateY(-50%);
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 7px;
  padding: 6px 12px;
  font-family: var(--font);
  font-size: 0.72rem; font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s;
}
.wa-float:hover .wa-float-tooltip { opacity: 1; }

@media (max-width: 768px) {
  .wa-float { bottom: 20px; left: 20px; width: 48px; height: 48px; }
  .wa-float-tooltip { display: none; }
  .sp-guarantee-grid { grid-template-columns: 1fr !important; gap: 16px; }
  .sp-guarantee-item { flex-direction: column !important; align-items: flex-start; gap: 12px; padding: 20px 18px; }
  .sp-guarantee-icon { width: 36px; height: 36px; min-width: 36px; }
}

/* Detailed Service Cards (services.php hardcoded) */
.hc-services-grid { display: flex; flex-direction: column; gap: 40px; max-width: 900px; margin: 0 auto 72px; }
.hc-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 40px; transition: border-color 0.22s;
}
.hc-card:hover { border-color: var(--border2); }
.hc-card h3 { font-size: 1.5rem; font-weight: 700; color: var(--white); margin-bottom: 28px; letter-spacing: -0.3px; }
.hc-detail-group { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,0.03); padding-bottom: 16px; }
.hc-detail-group:last-of-type { border-bottom: none; padding-bottom: 0; }
.hc-label { font-size: 0.72rem; font-weight: 700; color: var(--muted); letter-spacing: 0.05em; text-transform: uppercase; width: 140px; flex-shrink: 0; padding-top: 3px; }
.hc-text { font-size: 0.9rem; color: var(--text2); line-height: 1.7; flex: 1; }
.hc-positioning {
  margin-top: 24px; padding: 18px 20px;
  background: rgba(37,99,235,0.08); border-left: 3px solid var(--blue); border-radius: 0 8px 8px 0;
  font-size: 0.88rem; font-weight: 600; color: var(--blue-lt); line-height: 1.6;
}

/* Card intro paragraph */
.hc-intro {
  font-size: 0.92rem; color: var(--text2); line-height: 1.75; margin-bottom: 24px;
}

/* Checklist style */
.hc-checklist { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.hc-checklist-compact { gap: 10px; }
.hc-check-item {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.9rem; color: var(--text2); line-height: 1.5;
}
.hc-check-item svg { flex-shrink: 0; }

/* Proof line */
.hc-proof-line {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.82rem; color: var(--blue-lt); line-height: 1.6;
  padding: 14px 16px; margin-bottom: 24px;
  background: rgba(37,99,235,0.06); border-radius: 8px;
}
.hc-proof-line svg { flex-shrink: 0; margin-top: 2px; }

/* Card footer with price + CTA */
.hc-card-footer {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border);
}
.hc-price {
  font-size: 0.88rem; color: var(--muted);
}
.hc-price strong { color: var(--white); font-size: 1rem; }
.hc-card-cta {
  font-size: 0.85rem; font-weight: 600; color: var(--amber);
  text-decoration: none; transition: color 0.2s;
}
.hc-card-cta:hover { color: var(--white); }

/* Before / After layout */
.hc-before-after {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px;
}
.hc-ba-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border);
}
.hc-ba-before { color: var(--muted); }
.hc-ba-after { color: var(--amber); }
.hc-ba-list {
  list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px;
}
.hc-ba-list li {
  font-size: 0.85rem; color: var(--text2); line-height: 1.55; padding-left: 0;
}
.hc-ba-before + .hc-ba-list li { color: var(--muted); }

@media (max-width: 768px) {
  .hc-card { padding: 24px; }
  .hc-detail-group { flex-direction: column; gap: 4px; }
  .hc-label { width: 100%; padding-top: 0; }
  .hc-before-after { grid-template-columns: 1fr; gap: 20px; }
  .hc-card-footer { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   ABOUT PAGE — Photo, Counters, Timeline, Proof
   ============================================================ */
.ap-photo-wrap { position: relative; display: inline-block; }
.ap-photo-wrap img { width: 100%; max-width: 380px; border-radius: 20px; box-shadow: 0 24px 64px rgba(0,0,0,0.5); display: block; }
.ap-photo-badge { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); background: rgba(15,15,19,0.88); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.1); border-radius: 100px; padding: 8px 18px; font-size: 0.78rem; color: var(--white); white-space: nowrap; display: flex; align-items: center; gap: 7px; }

.ap-counters { display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 16px; padding: 40px 32px; margin: 60px auto; max-width: 900px; flex-wrap: wrap; gap: 0; }
.ap-counter-card { flex: 1; min-width: 140px; text-align: center; padding: 0 24px; }
.ap-counter-num { font-size: 2.8rem; font-weight: 800; color: var(--blue); line-height: 1; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.ap-counter-label { font-size: 0.88rem; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.ap-counter-sub { font-size: 0.72rem; color: var(--muted); }
.ap-counter-divider { width: 1px; height: 60px; background: var(--border); flex-shrink: 0; }

.ap-story { max-width: 720px; margin: 0 auto 80px; padding: 0 20px; }
.ap-timeline { position: relative; padding-left: 32px; }
.ap-timeline::before { content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: var(--border); }
.ap-tl-item { position: relative; margin-bottom: 44px; }
.ap-tl-item:last-child { margin-bottom: 0; }
.ap-tl-dot { position: absolute; left: -28px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 2px solid var(--border); }
.ap-tl-dot-active { background: var(--blue) !important; border-color: var(--blue) !important; box-shadow: 0 0 0 4px rgba(37,99,235,0.2); }
.ap-tl-year { font-size: 0.75rem; font-weight: 700; color: var(--blue); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 6px; }
.ap-tl-content h4 { font-size: 1rem; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.ap-tl-content p { font-size: 0.88rem; color: var(--muted); line-height: 1.75; margin: 0; }

.ap-proof { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; max-width: 900px; margin: 0 auto 80px; padding: 0 20px; }
.ap-proof-card { background: rgba(37,99,235,0.06); border: 1px solid rgba(37,99,235,0.2); border-radius: 14px; padding: 28px 24px; text-align: center; }
.ap-proof-num { font-size: 2.2rem; font-weight: 800; color: var(--blue); margin-bottom: 8px; }
.ap-proof-label { font-size: 0.85rem; font-weight: 600; color: var(--white); margin-bottom: 6px; }
.ap-proof-sub { font-size: 0.75rem; color: var(--muted); }

.ap-skill-icon { width: 40px; height: 40px; background: rgba(37,99,235,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.ap-skill-card h3 { margin-bottom: 12px; }

@media (max-width: 768px) {
  .ap-counters { gap: 24px; padding: 28px 20px; }
  .ap-counter-divider { display: none; }
  .ap-counter-card { min-width: 120px; padding: 0 12px; }
  .ap-counter-num { font-size: 2.2rem; }
  .ap-photo-wrap img { max-width: 280px; }
  .ap-proof { grid-template-columns: 1fr; }
  .ap-story { padding: 0 16px; }
  .ap-timeline { padding-left: 24px; }
}

/* ============================================================
   NEW COMPONENT ADDITIONS — PREMIUM REDESIGN
   ============================================================ */

/* Service engagement tag */
.hc-tag {
  font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--amber); margin-bottom: 12px;
  display: block;
}

/* ROI context note on services page */
.sp-roi-note {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--amber-dim);
  border: 1px solid rgba(217,119,6,0.2);
  border-radius: 10px; padding: 20px 22px;
  margin: 32px auto 0; max-width: 1060px;
  text-align: left;
}
.sp-roi-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: rgba(217,119,6,0.12); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.sp-roi-text { font-size: 0.84rem; color: var(--text2); line-height: 1.72; }
.sp-roi-text strong { color: var(--white); font-weight: 700; }

/* Proof strip on about page — amber accent */
.ap-proof-card {
  background: rgba(217,119,6,0.06) !important;
  border: 1px solid rgba(217,119,6,0.18) !important;
}
.ap-proof-num { color: var(--amber-lt) !important; }

/* Section heading display font w/ font-display class */
.section-heading.font-display,
h1.font-display, h2.font-display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -1px;
}

/* Responsive: featured case study */
@media (max-width: 960px) {
  .fc-inner { flex-direction: column; gap: 40px; }
  .fc-visual { flex: none; width: 100%; }
}

/* Responsive: hero on mobile */
@media (max-width: 768px) {
  .fc-result-badges { flex-direction: column; }
  .sp-roi-note { flex-direction: column; gap: 10px; }
}

/* Work card read-more always visible on touch devices */
@media (hover: none) {
  .wc-readmore { color: var(--amber-lt); }
}

/* ── Standalone Stats Section (homepage) ── */
.standalone-stats {
  background: var(--dark);
  padding: 72px 64px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1160px; margin: 0 auto;
}
.hs-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 22px;
  transition: border-color 0.2s;
}
.hs-card:hover { border-color: rgba(217,119,6,0.3); }
.hs-card h4 {
  font-size: 0.92rem; font-weight: 700;
  color: var(--amber-lt);
  margin-bottom: 10px; line-height: 1.4;
}
.hs-card p {
  font-size: 0.8rem; color: var(--text2);
  line-height: 1.72;
}
@media (max-width: 960px) {
  .hero-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .standalone-stats { padding: 48px 24px; }
}
@media (max-width: 540px) {
  .hero-stats-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   DOMINANCE ELEMENT — CASE BREAKDOWN
   ============================================================ */
.case-breakdown {
  background: var(--black);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 64px;
  position: relative;
  overflow: hidden;
}
/* Subtle amber line at top of the section for visual authority */
.case-breakdown::before {
  content: '';
  position: absolute; top: 0; left: 64px; right: 64px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217,119,6,0.5), transparent);
}
.cb-inner { max-width: 1220px; margin: 0 auto; }

.cb-header {
  text-align: center;
  margin-bottom: 64px;
}
.cb-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400; letter-spacing: -1.2px;
  color: var(--white); line-height: 1.15;
  margin-bottom: 12px;
}
.cb-subtitle {
  font-size: 0.9rem; color: var(--text2);
  max-width: 420px; margin: 0 auto; line-height: 1.65;
}

/* Three-column layout */
.cb-three-col {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.cb-col {
  padding: 40px 36px;
  border-right: 1px solid var(--border);
}
.cb-col:last-child { border-right: none; }

/* Column accent tags */
.cb-col-tag {
  font-size: 0.65rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.14em;
  margin-bottom: 14px; display: block;
}
.cb-col-problem { background: var(--surface); }
.cb-col-problem .cb-col-tag { color: var(--muted); }
.cb-col-built { background: var(--dark); }
.cb-col-built .cb-col-tag { color: var(--amber); }
.cb-col-result {
  background: rgba(22,163,74,0.03);
  border-right: none;
}
.cb-col-result .cb-col-tag { color: var(--green-lt); }

/* Column headings */
.cb-col h3 {
  font-size: 1rem; font-weight: 700;
  color: var(--white); margin-bottom: 16px;
  line-height: 1.4; letter-spacing: -0.2px;
}
.cb-col p {
  font-size: 0.83rem; color: var(--text2);
  line-height: 1.78; margin-bottom: 14px;
}
.cb-col p:last-of-type { margin-bottom: 0; }

/* Problem verdict call-out */
.cb-col-verdict {
  margin-top: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border2);
  border-radius: 8px; padding: 12px 16px;
  font-size: 0.8rem; font-style: italic;
  color: var(--text2); line-height: 1.5;
  display: flex; align-items: center; gap: 10px;
}
.cb-verdict-icon { flex-shrink: 0; font-size: 1rem; opacity: 0.5; }

/* Built list */
.cb-built-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 14px;
}
.cb-built-list li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 0.82rem; line-height: 1.6;
}
.cb-built-icon {
  color: var(--amber); font-weight: 700;
  flex-shrink: 0; font-size: 1rem; line-height: 1.6;
}
.cb-built-list li div strong {
  display: block; font-size: 0.82rem; font-weight: 700;
  color: var(--white); margin-bottom: 2px;
}
.cb-built-list li div span {
  color: var(--text2); font-size: 0.78rem;
}

/* Result metrics */
.cb-metrics {
  display: flex; flex-direction: column; gap: 0;
  border: 1px solid rgba(22,163,74,0.2);
  border-radius: 10px; overflow: hidden;
  margin-bottom: 20px;
}
.cb-metric {
  padding: 18px 20px;
  background: rgba(22,163,74,0.04);
}
.cb-metric-divider {
  height: 1px; background: rgba(22,163,74,0.15);
}
.cb-metric-num {
  font-family: var(--font-display);
  font-size: 2.4rem; font-weight: 400;
  color: var(--green-lt); line-height: 1;
  letter-spacing: -1px; margin-bottom: 4px;
}
.cb-metric-label {
  font-size: 0.82rem; font-weight: 700;
  color: var(--white); margin-bottom: 2px;
}
.cb-metric-sub { font-size: 0.72rem; color: var(--muted); }

/* Client quote */
.cb-quote {
  font-size: 0.83rem; font-style: italic;
  color: var(--text2); line-height: 1.72;
  border-left: 2px solid rgba(22,163,74,0.4);
  padding-left: 14px;
  margin-bottom: 18px;
}
.cb-quote cite {
  display: block; margin-top: 8px;
  font-style: normal; font-size: 0.72rem;
  font-weight: 600; color: var(--muted);
  letter-spacing: 0.02em;
}
.cb-case-link {
  font-size: 0.78rem; font-weight: 700;
  color: var(--green-lt); letter-spacing: 0.02em;
  transition: color 0.18s;
  text-decoration: none;
}
.cb-case-link:hover { color: #4ade80; }

/* Responsive */
@media (max-width: 1040px) {
  .cb-three-col { grid-template-columns: 1fr; }
  .cb-col { border-right: none; border-bottom: 1px solid var(--border); }
  .cb-col:last-child { border-bottom: none; }
  .case-breakdown { padding: 64px 24px; }
}
@media (max-width: 768px) {
  .cb-title { font-size: clamp(1.7rem, 6vw, 2.4rem); }
}

/* ============================================================
   NAVBAR — PREMIUM GRADE REFINEMENT
   ============================================================ */
/* More refined nav background on scroll */
.navbar {
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
/* Footer link style reference — subtle, not colored */
.footer-nav a:hover { color: var(--white); }

/* ============================================================
   PHASE 3: MOBILE-FIRST UX ARCHITECTURE & POLISH
   ============================================================ */

@media (max-width: 768px) {

  /* ── 1. FLUID SECTION RHYTHM & PADDING ── */
  /* Remove cramped or overly-wide gaps. Standardize to 64px 24px vertical flow. */
  .hero { padding: 80px 20px 64px; }
  .logos-bar { padding: 40px 20px; }
  .featured-case { padding: 64px 20px; }
  .testimonials-section, .what-section, .work-section, .sp-how-section, .sp-why-section { padding: 64px 20px; }
  .case-breakdown { padding: 64px 20px; }
  .standalone-stats { padding: 64px 20px; }
  .cta-strip { padding: 64px 20px; }
  
  .cb-inner, .fc-inner, .what-inner, .sp-why-section { gap: 40px; }
  
  /* ── 2. TYPOGRAPHY SCALING & LEGIBILITY ── */
  /* Prevent jagged 1-word hanging breaks by easing heading tracking and scaling down */
  .hero-title { font-size: clamp(2.4rem, 10vw, 3.2rem); letter-spacing: -1px; }
  .section-heading.font-display, h1.font-display, h2.font-display { font-size: clamp(2rem, 8vw, 2.6rem); }
  
  /* Guarantee minimum tap area on standard paragraph/list text lines */
  p, li, .hc-text, .sp-price-desc { font-size: 0.95rem; line-height: 1.65; }
  .hero-sub { margin-bottom: 24px; max-width: 100%; }

  /* ── 3. HERO REFINEMENTS ── */
  .hero-inner { flex-direction: column-reverse; text-align: left; gap: 40px; }
  .hero-right { display: block; width: 100%; }
  
  /* Scale proof line for one-hand viewing */
  .hero-proof-line { flex-direction: row; align-items: flex-start; gap: 12px; font-size: 0.9rem; }
  .hero-proof-line svg { margin-top: 3px; }

  /* Force action block to become full-width stack for easy thumb-reach */
  .hero-actions { display: flex; flex-direction: column; width: 100%; gap: 14px; }
  .hero-actions .btn { width: 100%; justify-content: center; min-height: 52px; font-size: 0.95rem; }

  /* Ensure the single screenshot displays without constraint bounds clipping */
  .hero-browser-frame {
    margin: 0 auto;
    width: 100%;
    box-shadow: 0 16px 40px rgba(0,0,0,0.6);
  }
  .hcard-result, .hcard-1, .hcard-3 { display: none; }

  /* ── 4. NAVIGATION EXPERIENCE ── */
  /* CTA in mobile nav becomes a full-width tap target */
  .nav-mobile-cta { display: list-item; }
  .nav-links li.nav-mobile-cta { margin-top: 8px; }
  .nav-links a.nav-cta {
    display: flex; justify-content: center; align-items: center;
    width: 100%; min-height: 52px;
    font-size: 1rem; border-radius: 8px;
  }

  /* ── 5. COMPONENT GRID DESTROYERS ── */
  /* Force all multi-col visual layouts to natural single-col stacks */
  .work-grid { grid-template-columns: 1fr; gap: 32px; }
  .testi-grid { grid-template-columns: 1fr; gap: 24px; }
  .sp-pricing-grid { grid-template-columns: 1fr; gap: 24px; }
  .sp-why-section { flex-direction: column-reverse; text-align: left; }
  
  .hc-card { padding: 24px 20px; }
  .sp-price-card { padding: 32px 24px; }
  .cta-strip-inner { flex-direction: column; text-align: left; gap: 24px; }
  .cta-strip-right { width: 100%; }
  .cta-strip-right .btn { width: 100%; justify-content: center; min-height: 52px; }

  /* ── 6. IMAGE/MEDIA INTEGRITY ── */
  .wc-img-wrap { min-height: 200px; }
  .sp-why-img img { max-width: 240px; margin: 0 auto; display: block; }
  
  /* ── 7. DOMINANCE ELEMENT STACK POLISH ── */
  .cb-three-col { flex-direction: column; display: flex; }
  .cb-col { padding: 32px 24px; border-right: none; border-bottom: 1px solid var(--border); }
  .cb-col:last-child { border-bottom: none; }
  .cb-metric-num { font-size: 3.2rem; } /* Go massive on scroll entry */
  
  /* ── 8. FORMS & INPUTS ── */
  .form-group input, .form-group select { min-height: 52px; font-size: 16px; /* Prevents iOS auto-zoom */ }
  .form-group textarea { font-size: 16px; min-height: 140px; }
  .form-row { flex-direction: column; gap: 0; }
  .contact-options { flex-direction: column; }

  /* ── 9. WHAT-SCREENSHOT & CONTACT PROOF ── */
  .what-screenshot img { max-height: 200px; }
  .contact-proof-strip { padding: 16px; }
  .cp-item { font-size: 0.88rem; }

}


/* ============================================================
   PREMIUM MICRO-INTERACTIONS & POLISH
   Layered on top of existing rules. Do not rewrite base styles.
   ============================================================ */

/* ── 1. Text Selection ── */
::selection {
  background: rgba(217, 119, 6, 0.35);
  color: var(--white);
}
::-moz-selection {
  background: rgba(217, 119, 6, 0.35);
  color: var(--white);
}

/* ── 2. Smooth Page Entrance ── */
@keyframes pageFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
body {
  animation: pageFadeIn 0.5s ease-out both;
}

/* ── 3. Button Upgrades ── */
.btn-primary,
.btn-outline {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 28px var(--amber-glow), 0 0 0 1px rgba(217, 119, 6, 0.18);
}
.btn-outline:hover {
  transform: translateY(-1px);
}
.btn-primary:active,
.btn-outline:active {
  transform: translateY(0);
}

/* ── 4. Card Ambient Glow on Hover ── */
.work-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
              0 0 0 1px rgba(255, 255, 255, 0.08);
}
.hc-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
              0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* ── 5. Hero Title Gradient ── */
.hero-title em {
  background: linear-gradient(135deg, var(--amber) 0%, #FBBF24 50%, var(--amber-lt) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── 6. Section Divider Glow ── */
.case-breakdown {
  border-top: 1px solid rgba(217, 119, 6, 0.15);
  box-shadow: 0 -1px 12px rgba(217, 119, 6, 0.06);
}

/* ── 7. Smooth Image Reveals ── */
.img-reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.img-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── 8. Tag / Pill Hover Effect ── */
.wc-tags span {
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.wc-tags span:hover {
  border-color: var(--border2);
  color: var(--text2);
  background: rgba(255, 255, 255, 0.07);
}
.pill {
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.pill:hover {
  border-color: rgba(37, 99, 235, 0.35);
  color: var(--blue-lt);
}

/* ── 9. Stats Card Hover ── */
.hs-card {
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.hs-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

/* ── 10. Testimonial Card Hover ── */
.testi-card {
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.testi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

/* ── 11. Process Step Hover ── */
.process-step {
  transition: transform 0.25s, box-shadow 0.25s;
  border-radius: var(--radius);
  padding: 16px;
}
.process-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 16px rgba(37, 99, 235, 0.08);
}

/* ── 12. Custom Scrollbar ── */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--black);
}
::-webkit-scrollbar-thumb {
  background: var(--surface2);
  border-radius: 4px;
  border: 2px solid var(--black);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--muted);
}

/* Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--surface2) var(--black);
}

/* ── 13. Link Underline Animation ── */
.proj-cs-link,
.cb-case-link {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: left bottom;
  transition: color 0.22s, background-size 0.3s ease;
}
.proj-cs-link:hover,
.cb-case-link:hover {
  background-size: 100% 1px;
}

/* ── 14. Nav Logo Subtle Hover ── */
.nav-logo {
  transition: opacity 0.25s;
}
.nav-logo:hover {
  opacity: 0.8;
}

/* ── 15. CTA Strip Gradient ── */
.cta-strip {
  background: linear-gradient(
    165deg,
    var(--surface) 0%,
    var(--surface2) 50%,
    var(--surface) 100%
  );
}

/* ── 16. Footer Link Hover ── */
.footer-list li a {
  transition: color 0.22s;
}
.footer-list li a:hover {
  color: var(--amber-lt);
}
.footer-bottom a {
  transition: color 0.22s;
}
.footer-bottom a:hover {
  color: var(--amber-lt);
}
