/* =============================================
   WOUTDIGITAL — Shared Design System
   ============================================= */

:root {
  --blue: #0a8db5;
  --purple: #7b4ff5;
  --creme: rgb(245,245,240);
  --creme2: rgb(237,237,231);
  --creme3: rgb(228,228,221);
  --surface: #ffffff;
  --surface-hover: #fafaf8;
  --border: rgba(0,0,0,0.07);
  --border-hover: rgba(26,156,196,0.25);
  --text: #111111;
  --text-muted: #5c6370;
  --text-dim: #a8adb8;
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.08);
  --shadow-lg: 0 24px 64px rgba(0,0,0,0.10);
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --transition: 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}

/* =============================================
   BASE
   ============================================= */

html { scroll-behavior: smooth; }

body {
  overflow-x: hidden;
  font-family: 'Libre Franklin', -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: rgba(26,156,196,0.18); color: #111; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--creme); }
::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.10); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: rgba(26,156,196,0.3); }

/* =============================================
   TYPOGRAPHY
   ============================================= */

h1,h2,h3,h4,h5 {
  font-family: 'Libre Franklin', sans-serif;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.wd-gradient-text {
  background: linear-gradient(135deg, var(--blue) 0%, #a78bfa 55%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =============================================
   NAVBAR
   ============================================= */

.navbar {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 100;
  background: rgba(245,245,240,0.97);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.4s ease;
  backdrop-filter: blur(10px);
}
.navbar.wd-scrolled { box-shadow: var(--shadow-sm); }

.wd-navbar-inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 48px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wd-navbar-brand img { width: 180px; display: block; }

/* Desktop links */
.wd-nav-desktop {
  display: flex;
  align-items: center;
  gap: 32px;
}
.wd-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0; padding: 0;
}
.wd-nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.25s;
}
.wd-nav-links a:hover { color: var(--text); }

/* Burger button */
.wd-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 200;
  position: relative;
}
.wd-burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
.wd-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: #fff; }
.wd-burger.open span:nth-child(2) { opacity: 0; }
.wd-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: #fff; }

/* Full-screen mobile overlay */
.wd-mob-overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: linear-gradient(150deg, #1a0636 0%, #0d1940 45%, #0a2344 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.wd-mob-overlay::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
}
.wd-mob-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.wd-mob-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transform: translateY(24px);
  transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}
.wd-mob-overlay.open .wd-mob-nav { transform: translateY(0); }

.wd-mob-nav a {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  line-height: 1.2;
  padding: 6px 0;
  transition: color 0.2s, transform 0.2s;
}
.wd-mob-nav a:hover { color: #fff; transform: translateX(4px); }

.wd-mob-cta {
  margin-top: 40px;
  font-size: 1rem !important;
  font-weight: 700 !important;
  letter-spacing: normal !important;
  padding: 14px 36px !important;
}

/* Show burger, hide desktop links on mobile */
@media (max-width: 900px) {
  .wd-nav-desktop  { display: none; }
  .wd-burger       { display: flex; }
  .wd-navbar-inner {
    padding: 0 20px;
    position: relative;
    justify-content: center;
  }
  .wd-burger {
    position: absolute;
    right: 20px;
  }
}

/* =============================================
   BUTTONS
   ============================================= */

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 100px !important;
  font-size: 14px;
  font-weight: 700;
  color: #fff !important;
  text-decoration: none;
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%) !important;
  border: none !important;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s !important;
  box-shadow: 0 6px 24px rgba(26,156,196,0.30);
}
.contact-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.contact-btn:hover {
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%) !important;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 36px rgba(26,156,196,0.40) !important;
  color: #fff !important;
}
.contact-btn:hover::before { opacity: 1; }

.wd-btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 13px 22px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.06);
  transition: all 0.3s;
}
.wd-btn-ghost:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.40);
  background: rgba(255,255,255,0.12);
}

/* =============================================
   INNER PAGE HERO
   ============================================= */

.wd-inner-hero {
  position: relative;
  height: 440px;
  overflow: hidden;
}

.wd-inner-hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.wd-inner-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(12,22,50,0.74) 0%, rgba(10,35,60,0.58) 60%, rgba(10,46,68,0.40) 100%);
}

.wd-inner-hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 48px;
  padding-top: 70px;
  max-width: 1180px;
  margin: 0 auto;
  left: 0; right: 0;
  color: #fff;
}

.wd-inner-hero-content h1 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  opacity: 0;
  animation: wdFadeUp 0.6s ease 0.2s both;
}

.wd-inner-hero-content p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  max-width: 560px;
  margin: 0;
  opacity: 0;
  animation: wdFadeUp 0.6s ease 0.4s both;
}

@keyframes wdFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .wd-inner-hero-content { padding: 0 24px; padding-top: 70px; }
  .wd-inner-hero { height: 360px; }
}

/* =============================================
   REVEAL ANIMATIONS
   ============================================= */

.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94);
}
.reveal-up    { transform: translateY(36px); }
.reveal-left  { transform: translateX(-36px); }
.reveal-right { transform: translateX(36px); }

.reveal-up.visible, .reveal-left.visible, .reveal-right.visible {
  opacity: 1;
  transform: none;
}

.delay-1 { transition-delay: 0.10s; }
.delay-2 { transition-delay: 0.20s; }
.delay-3 { transition-delay: 0.30s; }
.delay-4 { transition-delay: 0.40s; }

/* =============================================
   SERVICE CARDS
   ============================================= */

.wd-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.wd-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(26,156,196,0.12);
}

.wd-card-inner { padding: 34px; position: relative; }

.wd-card-icon {
  width: 54px; height: 54px;
  background: rgba(26,156,196,0.07);
  border: 1px solid rgba(26,156,196,0.12);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  transition: all 0.4s;
}
.wd-card-icon svg { width: 28px; height: 28px; }
.wd-card:hover .wd-card-icon {
  background: rgba(26,156,196,0.13);
  border-color: rgba(26,156,196,0.30);
}

.wd-card h5 {
  font-size: 1.05rem; font-weight: 700;
  margin-bottom: 10px; color: var(--text);
}
.wd-card > .wd-card-inner > p,
.wd-card p.wd-card-desc {
  font-size: 0.9rem; color: var(--text-muted);
  line-height: 1.65; margin-bottom: 24px;
}

.wd-card-arrow {
  width: 30px; height: 30px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: all 0.3s;
}
.wd-card-arrow svg { width: 14px; height: 14px; }
.wd-card:hover .wd-card-arrow {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  border-color: transparent;
  color: #fff;
  transform: rotate(45deg);
}

/* =============================================
   WHY CARDS
   ============================================= */

.wd-why-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: all 0.4s;
  box-shadow: var(--shadow-sm);
}
.wd-why-card:hover {
  border-color: var(--border-hover);
  transform: translateX(4px);
  box-shadow: 0 8px 28px rgba(26,156,196,0.10);
}
.wd-why-icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  background: rgba(26,156,196,0.07);
  border: 1px solid rgba(26,156,196,0.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.wd-why-icon svg { width: 20px; height: 20px; }
.wd-why-card h4 { font-size: 0.92rem; font-weight: 700; margin-bottom: 4px; color: var(--text); }
.wd-why-card p  { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* =============================================
   STAT ITEMS (AI page)
   ============================================= */

.wd-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--creme2);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.wd-stat-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}
.wd-stat span { font-size: 0.88rem; font-weight: 600; color: var(--text); }

/* =============================================
   TESTIMONIAL
   ============================================= */

.wd-testimonial-section {
  background: var(--creme2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.wd-testimonial-card {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
  padding: 80px 32px;
}

.wd-testimonial-star {
  font-size: 26px;
  letter-spacing: 4px;
  margin-bottom: 28px;
  display: block;
}

.wd-testimonial-card blockquote {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text);
  font-style: normal;
  margin: 0 0 28px;
  border: none;
  padding: 0;
}

.wd-testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.wd-testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  flex-shrink: 0;
}

.wd-testimonial-author strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}
.wd-testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* =============================================
   CTA CANVAS SECTION
   ============================================= */

.wd-cta-section {
  position: relative;
  overflow: hidden;
  background: var(--creme);
  border-top: 1px solid var(--border);
}

.wd-cta-canvas-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.wd-cta-canvas { width: 100%; height: 100%; }

.wd-cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 120px 32px;
}

.wd-cta-headline {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--text);
  margin: 12px 0 20px;
}

.wd-cta-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 40px;
}

/* =============================================
   PROCESS STEPS
   ============================================= */

.wd-process-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.wd-process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 200px;
  flex: 1;
  min-width: 160px;
}

.wd-step-number {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  margin-bottom: 18px;
}

.wd-step-icon {
  width: 60px; height: 60px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  transition: all 0.4s;
  box-shadow: var(--shadow-sm);
}
.wd-step-icon svg { width: 30px; height: 30px; }

.wd-process-step:hover .wd-step-icon {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(26,156,196,0.12);
}

.wd-step-content h3 { font-size: 0.98rem; font-weight: 700; margin-bottom: 7px; color: var(--text); }
.wd-step-content p  { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

.wd-process-connector {
  flex: 0 0 auto;
  width: 56px; height: 1px;
  background: linear-gradient(to right, rgba(26,156,196,0.3), rgba(123,79,245,0.3));
  margin-top: 100px;
  position: relative;
}
.wd-process-connector::after {
  content: '';
  position: absolute;
  right: -4px; top: -3px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--purple);
}

/* =============================================
   WORK CARDS
   ============================================= */

.wd-work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px,1fr));
  gap: 24px;
}

.wd-work-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.wd-work-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 80px rgba(0,0,0,0.12);
  border-color: var(--border-hover);
}

.wd-work-card-media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.wd-work-card-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 30%, var(--c1,#1a9cc4) 0%, var(--c2,#0a4f6e) 100%);
  opacity: 0.85;
  transition: transform 0.6s;
}
.wd-work-card:hover .wd-work-card-bg { transform: scale(1.05); }

.wd-work-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 60%);
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: 20px;
  opacity: 0; transition: opacity 0.4s;
}
.wd-work-card:hover .wd-work-card-overlay { opacity: 1; }

.wd-work-tag {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(255,255,255,0.2); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 100px; padding: 4px 12px; color: #fff;
}

.wd-work-card-info { padding: 24px; }
.wd-work-card-info h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.wd-work-card-info p  { font-size: 0.85rem; color: var(--text-muted); }

/* =============================================
   FOOTER
   ============================================= */

.wd-footer {
  background: var(--creme2);
  border-top: 1px solid var(--border);
  padding: 48px 0;
}

.wd-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

.wd-footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}

.wd-footer-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text);
  font-size: 17px; font-weight: 800;
  letter-spacing: -0.02em;
}
.wd-footer-logo svg { width: 28px; height: auto; }
.wd-footer-tagline { font-size: 12px; color: var(--text-dim); letter-spacing: 0.08em; }

.wd-footer-bottom {
  display: flex; align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap; gap: 12px;
}
.wd-footer-bottom p { font-size: 13px; color: var(--text-dim); margin: 0; }
.wd-footer-links { display: flex; gap: 20px; }
.wd-footer-links a { font-size: 13px; color: var(--text-dim); text-decoration: none; transition: color 0.3s; }
.wd-footer-links a:hover { color: var(--text-muted); }

/* =============================================
   LOGO FORMATION SECTION
   ============================================= */

.wd-formation {
  position: relative;
  height: 400vh;
  z-index: 1;
}

.wd-formation-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.wd-formation-bg {
  position: absolute;
  inset: 0;
  background: var(--creme);
  z-index: 0;
}

.wd-formation-canvas-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  transform-origin: center 32%;
  will-change: transform;
}

#wd-formation-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.wd-formation-reveal {
  position: absolute;
  bottom: 12%;
  left: 50%;
  transform: translateX(-50%) translateY(60px);
  text-align: center;
  z-index: 3;
  pointer-events: none;
  width: 90%;
  max-width: 640px;
  opacity: 0;
  will-change: opacity, transform;
}

.wd-formation-label {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.wd-formation-headline {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text);
  margin-bottom: 10px;
}

.wd-formation-sub {
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-dim);
}

/* =============================================
   RESPONSIVE
   ============================================= */

/* ── Tablet (≤ 900px) ── */
@media (max-width: 900px) {
  .wd-process-steps { flex-direction: column; align-items: center; }
  .wd-process-connector { width: 1px; height: 36px; background: linear-gradient(to bottom, rgba(26,156,196,0.3), rgba(123,79,245,0.3)); margin: 0; }
  .wd-process-connector::after { bottom: -4px; top: auto; right: -3px; }
}

/* ── Mobile (≤ 768px) ── */
@media (max-width: 768px) {
  /* Inner page heroes */
  .wd-inner-hero { height: 320px; }
  .wd-inner-hero-content { padding: 0 20px; padding-top: 70px; }
  .wd-inner-hero-content h1 { font-size: clamp(1.8rem, 7vw, 2.4rem); }

  /* Reveal animations — switch to vertical-only to prevent horizontal overflow */
  .reveal-right { transform: translateY(36px); }
  .reveal-left  { transform: translateY(36px); }

  /* Footer — centered on mobile */
  .wd-footer-inner { padding: 0 20px; }
  .wd-footer-top { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
  .wd-footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 8px; }

  /* Cards */
  .wd-card-inner { padding: 24px 20px; }
  .wd-why-card   { padding: 18px 16px; }

  /* Formation text */
  .wd-formation-headline { font-size: clamp(1.6rem, 6vw, 2.4rem); }
  .wd-testimonial-card   { padding: 60px 20px; }
}

/* ── Small mobile (≤ 640px) ── */
@media (max-width: 640px) {
  .wd-work-grid { grid-template-columns: 1fr; }
  .wd-cta-content { padding: 72px 20px; }
  .wd-cta-headline { font-size: clamp(1.7rem, 7vw, 2.4rem); }
  .wd-testimonial-card blockquote { font-size: 1rem; }
}

/* ── Work page: project cards on mobile ── */
@media (max-width: 768px) {
  .project-card .col-md-3 img {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important;
  }
  .project-expanded {
    padding: 28px 20px !important;
  }
  .project-cta-bar {
    padding: 24px 20px !important;
    flex-direction: column;
    align-items: flex-start !important;
    gap: 16px;
  }
  .project-cta-bar .text-lg-end {
    text-align: left !important;
  }
}

/* ── Homepage: laptop scroll showcase ── */
.wd-laptop-scrollwrap {
  position: relative;
  height: 320vh;
}
.wd-laptop-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 32px 24px;
}

/* MacBook frame */
.wd-macbook {
  width: min(92vw, 760px);
}
.wd-macbook-screen {
  position: relative;
  background: linear-gradient(180deg, #2c2c2f, #1a1a1c);
  border-radius: 18px 18px 4px 4px;
  padding: 14px 14px 24px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.20);
}
.wd-macbook-cam {
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #0a0a0c;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}
.wd-macbook-viewport {
  position: relative;
  background: var(--surface);
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.wd-macbook-base {
  height: 16px;
  margin: 0 -16px;
  background: linear-gradient(180deg, #e8e8eb, #cfcfd3);
  border-radius: 0 0 12px 12px;
  position: relative;
  box-shadow: 0 12px 28px rgba(0,0,0,0.16);
}
.wd-macbook-base::after {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 100px; height: 6px;
  background: #b9b9bd;
  border-radius: 0 0 6px 6px;
}

/* Track / slides */
.wd-laptop-track {
  display: flex;
  width: 300%;
  height: 100%;
  will-change: transform;
}
.wd-laptop-slide {
  width: 33.3333%;
  flex-shrink: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

/* Dots */
.wd-laptop-dots { display: flex; gap: 10px; }
.wd-laptop-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: all 0.3s;
}
.wd-laptop-dots span.active {
  width: 24px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
}

/* Captions */
.wd-laptop-captions {
  position: relative;
  width: 100%;
  text-align: center;
  min-height: 64px;
  max-width: 460px;
}
.wd-laptop-caption {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}
.wd-laptop-caption.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.wd-laptop-caption h5 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.wd-laptop-caption p  { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* Mockup: AI chat */
.wd-mock-chat {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--surface);
}
.wd-mock-chat-header {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
  padding: 16px 22px;
  background: var(--creme);
  border-bottom: 1px solid var(--border);
}
.wd-mock-avatar {
  width: 28px; height: 28px; flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--purple));
}
.wd-mock-chat-name { font-size: 0.85rem; font-weight: 700; color: var(--text); }
.wd-mock-status {
  margin-left: auto;
  display: flex; align-items: center; gap: 5px;
  font-size: 0.7rem; color: var(--text-muted);
}
.wd-mock-status i { width: 6px; height: 6px; border-radius: 50%; background: #2ecc71; display: inline-block; }
.wd-mock-chat-body {
  flex: 1;
  padding: 22px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 12px;
}
.wd-mock-bubble {
  max-width: 70%;
  padding: 11px 16px;
  border-radius: 14px;
  font-size: 0.85rem;
  line-height: 1.5;
  box-shadow: var(--shadow-sm);
}
.wd-mock-bubble.left {
  align-self: flex-start;
  background: var(--creme2);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
  color: var(--text);
}
.wd-mock-bubble.right {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #fff;
  border-bottom-right-radius: 4px;
}
.wd-mock-bubble.typing { display: flex; gap: 4px; align-items: center; padding: 12px 16px; }
.wd-mock-bubble.typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--text-dim);
  animation: wd-typing 1.2s infinite ease-in-out;
}
.wd-mock-bubble.typing span:nth-child(2) { animation-delay: 0.15s; }
.wd-mock-bubble.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes wd-typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* Mockup: browser / website */
.wd-mock-browser {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--surface);
}
.wd-mock-browser-bar {
  display: flex; align-items: center; gap: 6px;
  flex-shrink: 0;
  padding: 12px 18px;
  background: var(--creme2);
  border-bottom: 1px solid var(--border);
}
.wd-mock-browser-bar span { width: 9px; height: 9px; border-radius: 50%; }
.wd-mock-browser-bar span:nth-child(1) { background: #f55; }
.wd-mock-browser-bar span:nth-child(2) { background: #ffb700; }
.wd-mock-browser-bar span:nth-child(3) { background: #2ecc40; }
.wd-mock-browser-body { flex: 1; padding: clamp(20px, 4vw, 40px) clamp(24px, 5vw, 56px); display: flex; flex-direction: column; }
.wd-mock-nav { display: flex; align-items: center; gap: 12px; margin-bottom: clamp(28px, 6vh, 56px); }
.wd-mock-nav-dot {
  width: 20px; height: 20px; border-radius: 6px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
}
.wd-mock-line { display: inline-block; height: 7px; border-radius: 3px; background: var(--creme3); }
.wd-mock-line.lg { height: 16px; }
.wd-mock-line.w-60 { width: 60%; }
.wd-mock-line.w-40 { width: 40%; }
.wd-mock-line.w-30 { width: 30%; }
.wd-mock-line.w-20 { width: 20%; }
.wd-mock-hero { display: flex; flex-direction: column; gap: 12px; margin-bottom: clamp(28px, 6vh, 48px); max-width: 360px; }
.wd-mock-btn {
  display: inline-block;
  width: 110px; height: 30px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  margin-top: 8px;
}
.wd-mock-cards { display: flex; gap: 16px; margin-top: auto; }
.wd-mock-mini-card {
  flex: 1; height: 84px;
  border-radius: var(--radius-sm);
  background: var(--creme2);
  border: 1px solid var(--border);
}

/* Mockup: idea-to-launch flow */
.wd-mock-flow {
  display: flex; align-items: flex-start; justify-content: center;
  align-self: center;
  gap: clamp(16px, 4vw, 40px);
  width: 100%;
  background: var(--surface);
  padding: clamp(16px, 4vw, 40px);
}
.wd-mock-flow-step { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.wd-mock-flow-icon {
  width: clamp(56px, 9vw, 84px); height: clamp(56px, 9vw, 84px);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(26,156,196,0.07);
  border: 1px solid rgba(26,156,196,0.16);
}
.wd-mock-flow-icon svg { width: 36%; height: 36%; }
.wd-mock-flow-label { font-size: 0.95rem; font-weight: 700; color: var(--text); }
.wd-mock-flow-desc { font-size: 0.78rem; color: var(--text-muted); margin-top: -8px; }
.wd-mock-flow-line {
  width: clamp(28px, 7vw, 72px);
  height: 2px;
  margin-top: calc(clamp(56px, 9vw, 84px) / 2 - 1px);
  background: linear-gradient(90deg, var(--blue), var(--purple));
  border-radius: 1px;
  opacity: 0.4;
}

/* Mobile: shorten scroll distance & shrink mockups */
@media (max-width: 768px) {
  .wd-laptop-scrollwrap { height: 260vh; }
  .wd-mock-chat-header, .wd-mock-browser-bar { padding: 12px 16px; }
  .wd-mock-chat-body, .wd-mock-browser-body { padding: 16px; }
  .wd-mock-bubble { font-size: 0.72rem; }
  .wd-mock-hero, .wd-mock-nav { margin-bottom: 18px; }
  .wd-mock-cards { gap: 8px; }
  .wd-mock-mini-card { height: 50px; }
  .wd-mock-flow { gap: 14px; }
  .wd-mock-flow-icon { width: 46px; height: 46px; }
  .wd-mock-flow-icon svg { width: 20px; height: 20px; }
  .wd-mock-flow-line { margin-top: 23px; width: 22px; }
}
