/* =============================================
   CADENCE MARKETING - styles.css
   CINEMATIC OFF-WHITE + BLUE THEME
   ============================================= */

/* =============================================
   0. RESET & BASE
   ============================================= */
:root {
  /* === CINEMATIC BLUE PALETTE === */
  /* Primary accent: cinematic blue */
  --color-accent: #1a6fe0;
  --color-accent-dark: #1459b8;
  --color-accent-light: #4d94f0;
  --color-accent-glow: rgba(26, 111, 224, 0.30);
  --color-accent-subtle: rgba(26, 111, 224, 0.06);

  /* Base: off-white / warm cream */
  --color-bg: #f5f3ef;
  --color-bg-elevated: #ffffff;
  --color-bg-card: #ffffff;
  --color-bg-card-hover: #f0ede8;
  --color-bg-surface: #ebe8e2;

  /* Text on light */
  --color-text: #3a3a3c;
  --color-text-secondary: #6b6b70;
  --color-text-muted: #9e9ea3;
  --color-text-heading: #1a1a1e;

  /* Borders & dividers */
  --color-border: rgba(0,0,0,0.07);
  --color-border-strong: rgba(0,0,0,0.12);

  /* Status colors */
  --color-success: #2da44e;
  --color-success-bg: rgba(45, 164, 78, 0.10);
  --color-success-text: #1a7f37;
  --color-danger: #cf222e;
  --color-danger-bg: rgba(207, 34, 46, 0.10);
  --color-danger-text: #cf222e;
  --color-warning-bg: rgba(191, 135, 0, 0.10);
  --color-warning-text: #9a6700;

  /* Cinematic gradients */
  --gradient-hero: radial-gradient(ellipse at 20% 50%, rgba(26,111,224,0.04) 0%, transparent 50%),
                   radial-gradient(ellipse at 80% 20%, rgba(26,111,224,0.03) 0%, transparent 50%),
                   linear-gradient(180deg, transparent 0%, transparent 100%);
  --gradient-card: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0.4) 100%);
  --gradient-accent: linear-gradient(135deg, #1a6fe0, #4d94f0);
  --gradient-glow: radial-gradient(ellipse, rgba(26,111,224,0.10) 0%, transparent 70%);

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --fs-hero: clamp(3.5rem, 9vw, 7rem);
  --fs-h2: clamp(2rem, 5vw, 3.5rem);
  --fs-h3: clamp(1.25rem, 3vw, 1.75rem);
  --fs-body: clamp(1rem, 1.5vw, 1.125rem);
  --fs-small: 0.875rem;
  --fs-xs: 0.75rem;

  /* Spacing */
  --section-padding: clamp(5rem, 12vw, 8rem);
  --container-max: 1200px;
  --container-padding: clamp(1.25rem, 4vw, 2rem);

  /* Effects */
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.10);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.12);
  --shadow-glow: 0 0 40px rgba(26,111,224,0.12);
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  /* Nav */
  --nav-height: 80px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  width: 100%;
}


img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

input, button {
  font-family: inherit;
  border: none;
  outline: none;
}

/* =============================================
   1. TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-text-heading);
  letter-spacing: -0.02em;
}

h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p {
  color: var(--color-text-secondary);
  max-width: 600px;
}

/* Reveal animation initial states */
.reveal-text .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
}

.reveal-fade {
  opacity: 0;
  transform: translateY(30px);
}

/* Reduced animation distance on mobile */
@media (max-width: 768px) {
  .reveal-text .word {
    transform: translateY(20px);
  }
  .reveal-fade {
    transform: translateY(15px);
  }
}

/* =============================================
   2. UTILITY CLASSES
   ============================================= */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  white-space: nowrap;
}

.btn--primary {
  background: var(--gradient-accent);
  color: #fff;
  border: 2px solid transparent;
}

.btn--primary:hover {
  box-shadow: 0 4px 30px var(--color-accent-glow), var(--shadow-glow);
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.btn--outline {
  background: transparent;
  color: var(--color-text);
  border: 2px solid var(--color-border-strong);
}

.btn--outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

/* =============================================
   3. NAVIGATION
   ============================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 10000;
  transition: all var(--transition-base);
}

.nav--scrolled {
  background: rgba(245, 243, 239, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
}

.nav__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  z-index: 10;
}

.nav__logo-text {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  transition: width var(--transition-base);
  border-radius: 2px;
}

.nav__links a:hover {
  color: var(--color-accent);
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__cta {
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
}

.nav__links-cta {
  display: none;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 10;
  -webkit-tap-highlight-color: transparent;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: all var(--transition-base);
  border-radius: 2px;
}

.nav__hamburger--active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__hamburger--active span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger--active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* =============================================
   4. HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
}

.hero__bg-gradient {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 0;
}

/* Cinematic film grain overlay */
.hero__bg-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.15;
  pointer-events: none;
}

/* Soft blue glow behind hero content */
.hero__bg-gradient::after {
  content: '';
  position: absolute;
  top: 30%;
  left: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(26,111,224,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: pulseGlow 8s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

.hero__container {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero__headline {
  margin-bottom: 1.25rem;
  color: var(--color-text-heading);
}

.hero__headline .word {
  background: linear-gradient(135deg, var(--color-text-heading) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subline {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  margin-bottom: 2.5rem;
  max-width: 500px;
  color: var(--color-text-secondary);
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Phone mockup */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__phone-mockup {
  position: relative;
}

/* Glow behind phone */
.hero__phone-mockup::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(26,111,224,0.10) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.phone-frame {
  width: 300px;
  background: #1c2030;
  border-radius: 36px;
  padding: 12px;
  box-shadow: var(--shadow-xl), 0 0 60px rgba(26,111,224,0.06), 0 0 0 1px rgba(0,0,0,0.06);
  position: relative;
}

.phone-notch {
  width: 120px;
  height: 28px;
  background: #1c2030;
  border-radius: 0 0 20px 20px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  margin-top: -1px;
}

.phone-screen {
  background: var(--color-bg-elevated);
  border-radius: 28px;
  overflow: hidden;
}

.mock-ad {
  padding: 0;
}

.mock-ad__header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 12px 14px;
}

.mock-ad__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-accent);
  flex-shrink: 0;
}

.mock-ad__info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mock-ad__brand {
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--color-text);
}

.mock-ad__sponsored {
  font-size: 0.7rem;
  color: var(--color-text-muted);
}

.mock-ad__more {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.mock-ad__text {
  padding: 0 14px 12px;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--color-text-secondary);
}

.mock-ad__image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
  position: relative;
}

.mock-ad__image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 14px;
  background: linear-gradient(transparent, rgba(0,0,0,0.5));
  display: flex;
  justify-content: flex-end;
}

.mock-ad__cta-badge {
  background: var(--color-accent);
  color: white;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
}

.mock-ad__engagement {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 14px;
  font-size: 0.7rem;
  color: var(--color-text-muted);
}

.mock-ad__reactions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.mock-ad__reaction-icons {
  display: flex;
}

.mock-ad__reaction-icons i:first-child {
  color: #1a6fe0;
  font-size: 0.75rem;
}

.mock-ad__reaction-icons i:last-child {
  color: #f85149;
  font-size: 0.75rem;
  margin-left: -2px;
}

.mock-ad__comments-shares {
  display: flex;
  gap: 10px;
}

.mock-ad__actions {
  display: flex;
  justify-content: space-around;
  padding: 10px 14px;
  border-top: 1px solid var(--color-border);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.mock-ad__actions span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* =============================================
   5. SOCIAL PROOF TICKER
   ============================================= */
.social-proof {
  padding: 2.5rem 0;
  background: var(--color-bg-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

.social-proof__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.social-proof__text {
  text-align: center;
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.social-proof__text strong {
  color: var(--color-accent);
}

.social-proof__ticker {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.social-proof__track {
  display: flex;
  gap: 1rem;
  animation: ticker 40s linear infinite;
  width: max-content;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.social-proof__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--color-text-secondary);
  white-space: nowrap;
  flex-shrink: 0;
}

.social-proof__item i {
  color: var(--color-accent);
  font-size: 0.85rem;
}

/* =============================================
   6. DASHBOARD
   ============================================= */
.dashboard {
  padding: var(--section-padding) 0;
  background: var(--color-bg);
  position: relative;
}

/* Cinematic glow behind dashboard */
.dashboard::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(26,111,224,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.dashboard__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  position: relative;
}

.dashboard__header {
  text-align: center;
  margin-bottom: 3rem;
}

.dashboard__header h2 {
  color: var(--color-text-heading);
  margin-bottom: 0.75rem;
}

.dashboard__header p {
  color: var(--color-text-secondary);
  margin: 0 auto;
}

.dashboard__mock {
  background: var(--color-bg-elevated);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 80px rgba(26,111,224,0.03);
  border: 1px solid var(--color-border-strong);
}

/* Dashboard top bar */
.dash__topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.5rem;
  background: var(--color-bg-card);
  border-bottom: 1px solid var(--color-border);
}

.dash__topbar-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dash__meta-icon {
  color: #1a6fe0;
  font-size: 1.4rem;
}

.dash__title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-text);
}

.dash__topbar-right {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}

.dash__account {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Dashboard tabs */
.dash__tabs {
  display: flex;
  gap: 0;
  padding: 0 1.5rem;
  border-bottom: 1px solid var(--color-border);
  overflow-x: auto;
}

.dash__tab {
  padding: 0.85rem 1.25rem;
  background: none;
  cursor: pointer;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--color-text-muted);
  border-bottom: 2px solid transparent;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.dash__tab:hover {
  color: var(--color-accent);
}

.dash__tab--active {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
  font-weight: 600;
}

/* Dashboard summary metrics */
.dash__summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-card);
}

.dash__metric {
  text-align: center;
  padding: 0.75rem;
}

.dash__metric-label {
  display: block;
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.dash__metric-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-text-heading);
}

/* Dashboard table */
.dash__table-wrap {
  overflow-x: auto;
}

.dash__table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-small);
}

.dash__table thead {
  background: var(--color-bg-card);
}

.dash__table th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--color-text-muted);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--color-border);
  white-space: nowrap;
}

.dash__table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  white-space: nowrap;
}

.dash__table tbody tr:hover {
  background: rgba(0,0,0,0.02);
}

.dash__th-check {
  width: 40px;
}

.dash__campaign-name {
  font-weight: 600;
  color: var(--color-text) !important;
}

.dash__status {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 600;
}

.dash__status--active {
  background: var(--color-success-bg);
  color: var(--color-success-text);
}

.dash__status--learning {
  background: var(--color-warning-bg);
  color: var(--color-warning-text);
}

.dash__roas {
  font-weight: 700;
  color: var(--color-success) !important;
}

/* =============================================
   7. SERVICES
   ============================================= */
.services {
  padding: var(--section-padding) 0;
  background: var(--color-bg-surface);
  position: relative;
}

.services__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  text-align: center;
}

.services__headline {
  margin-bottom: 0.75rem;
}

.services__subline {
  margin: 0 auto 3.5rem;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.services__card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  text-align: left;
  transition: transform 0.1s ease;
  will-change: transform;
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Subtle top border glow on cards */
.services__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.services__card:hover::before {
  opacity: 1;
}

.services__card-inner {
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  flex: 1;
}

.services__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: var(--color-accent-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.services__icon i {
  font-size: 1.4rem;
  color: var(--color-accent);
}

.services__card h3 {
  color: var(--color-text-heading);
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
}

.services__card p {
  color: var(--color-text-secondary);
  font-size: var(--fs-small);
  line-height: 1.7;
  max-width: none;
}

.services__number {
  position: absolute;
  bottom: 5px;
  right: 10px;
  font-size: 6rem;
  font-weight: 900;
  color: rgba(0,0,0,0.04);
  line-height: 1;
  pointer-events: none;
}

/* =============================================
   7b. CREATIVE = NEW TARGETING
   ============================================= */
.creative {
  padding: var(--section-padding) 0;
  background: var(--color-bg);
  position: relative;
}

.creative__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  text-align: center;
  position: relative;
}

.creative__eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.creative__headline { margin-bottom: 0.75rem; }

.creative__subline {
  margin: 0 auto 3.5rem;
  max-width: 640px;
}

/* Diagram */
.creative__diagram {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: stretch;
  margin-bottom: 4rem;
}

.creative__diagram-panel {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all var(--transition-base);
}

.creative__diagram-panel--old {
  opacity: 1;
  border-color: rgba(207, 34, 46, 0.2);
  background: linear-gradient(135deg, #ffffff 0%, rgba(207, 34, 46, 0.04) 100%);
  animation: oldWayPulse 4s ease-in-out infinite;
}

@keyframes oldWayPulse {
  0%, 100% { box-shadow: 0 2px 20px rgba(207, 34, 46, 0.06); }
  50% { box-shadow: 0 4px 30px rgba(207, 34, 46, 0.12); }
}

.creative__diagram-panel--old .creative__diagram-label {
  color: var(--color-danger);
}

.creative__diagram-panel--old .creative__diagram-box {
  border-color: rgba(207, 34, 46, 0.25);
  background: rgba(207, 34, 46, 0.06);
}

.creative__diagram-panel--old .creative__diagram-box i {
  color: var(--color-danger);
  opacity: 0.75;
}

.creative__diagram-panel--old .creative__diagram-arrow {
  color: rgba(207, 34, 46, 0.5);
}

.creative__diagram-panel--old .creative__diagram-circles span {
  border-color: rgba(207, 34, 46, 0.25);
  background: rgba(207, 34, 46, 0.08);
  animation: oldCircleFlicker 3s ease-in-out infinite;
}

.creative__diagram-panel--old .creative__diagram-circles span:nth-child(2) {
  animation-delay: 0.5s;
}

.creative__diagram-panel--old .creative__diagram-circles span:nth-child(3) {
  animation-delay: 1s;
}

@keyframes oldCircleFlicker {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  30% { opacity: 1; transform: scale(1.05); }
  60% { opacity: 0.4; transform: scale(0.95); }
}

.creative__diagram-panel--old .creative__diagram-element span {
  color: var(--color-text-secondary);
}

.creative__diagram-panel--old .creative__diagram-caption {
  color: rgba(207, 34, 46, 0.7);
}

.creative__diagram-panel--old:hover {
  border-color: rgba(207, 34, 46, 0.4);
  box-shadow: 0 6px 35px rgba(207, 34, 46, 0.15);
  animation: none;
}

.creative__diagram-panel--new {
  border-color: rgba(34, 197, 94, 0.3);
  box-shadow: 0 4px 30px rgba(34, 197, 94, 0.1);
}

.creative__diagram-panel--new:hover {
  border-color: rgba(34, 197, 94, 0.5);
  box-shadow: 0 6px 40px rgba(34, 197, 94, 0.18);
  transform: translateY(-2px);
}

.creative__diagram-panel--new .creative__diagram-label {
  color: var(--color-success);
}

.creative__diagram-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 2rem;
}

.creative__diagram-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.creative__diagram-element {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.creative__diagram-element span {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--color-text-secondary);
}

.creative__diagram-box {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  background: var(--color-bg-surface);
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.creative__diagram-box i {
  font-size: 1.5rem;
  color: var(--color-text-muted);
}

.creative__diagram-box--algo {
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.25);
}

.creative__diagram-box--algo i {
  color: #22c55e;
  font-size: 1.75rem;
}

.creative__diagram-arrow {
  font-size: 1.5rem;
  color: var(--color-text-muted);
}

.creative__diagram-arrow--active {
  color: #22c55e;
}

.creative__diagram-circles {
  display: flex;
  gap: 0.4rem;
}

.creative__diagram-circles span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-bg-surface);
  border: 2px solid var(--color-border);
  display: block;
}

.creative__diagram-circles--active span {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border-color: #22c55e;
  animation: creativePulse 2s ease-in-out infinite;
}

.creative__diagram-circles--active span:nth-child(2) { animation-delay: 0.3s; }
.creative__diagram-circles--active span:nth-child(3) { animation-delay: 0.6s; }

@keyframes creativePulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; }
}

.creative__diagram-caption {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
  max-width: 280px;
  margin: 0 auto;
}

.creative__diagram-divider {
  display: flex;
  align-items: center;
  justify-content: center;
}

.creative__diagram-divider span {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--color-text-muted);
  background: var(--color-bg-surface);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
}

/* Stats row */
.creative__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.creative__stat {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  transition: all var(--transition-base);
}

.creative__stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(26, 111, 224, 0.15);
}

.creative__stat-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 900;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.creative__stat-label {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}

/* What We Make — updating placeholder */
.creative__cap-title { margin-bottom: 2rem; }

.creative__updating {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-height: 400px;
}

.creative__updating-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
}

.creative__updating-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border-radius: var(--radius-lg);
}

.creative__updating-overlay i {
  font-size: 2rem;
  color: #fff;
  opacity: 0.8;
}

.creative__updating-overlay p {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  max-width: 400px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* Image Accordion — What We Make (hidden during update) */

.creative__accordion {
  display: flex;
  gap: 0.75rem;
  height: 420px;
}

.creative__accordion-item {
  position: relative;
  flex: 0 0 70px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: flex 0.7s cubic-bezier(0.25, 1, 0.5, 1);
  background-image: var(--bg-img);
  background-size: cover;
  background-position: center;
}

.creative__accordion-item--active {
  flex: 1 1 400px;
}

.creative__accordion-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.1) 100%);
  transition: background 0.5s ease;
}

.creative__accordion-item:not(.creative__accordion-item--active) .creative__accordion-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.45) 100%);
}

.creative__accordion-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  transition-delay: 0s;
}

.creative__accordion-item--active .creative__accordion-content {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.creative__accordion-content i {
  font-size: 1.5rem;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.creative__accordion-content h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

.creative__accordion-content p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  max-width: 340px;
  margin: 0 auto;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.creative__accordion-title-vertical {
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(50%) rotate(-90deg);
  transform-origin: center center;
  white-space: nowrap;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  transition: opacity 0.3s ease;
  opacity: 1;
  pointer-events: none;
}

.creative__accordion-item--active .creative__accordion-title-vertical {
  opacity: 0;
}

/* =============================================
   8. RESULTS
   ============================================= */
.results {
  padding: var(--section-padding) 0;
  background: var(--color-bg);
  position: relative;
}

/* Ambient glow */
.results::before {
  content: '';
  position: absolute;
  top: 20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(26,111,224,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.results__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  text-align: center;
  position: relative;
}

.results__headline {
  margin-bottom: 0.75rem;
}

.results__subline {
  margin: 0 auto 3.5rem;
}

.results__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.results__stat {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  transition: all var(--transition-base);
}

.results__stat:hover {
  border-color: var(--color-accent);
  box-shadow: 0 4px 30px var(--color-accent-glow);
  transform: translateY(-4px);
}

.results__stat-value {
  display: block;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.results__stat-label {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}

/* Proof grid */
.results__proof {
  margin-top: 2rem;
}

.results__proof h3 {
  font-size: var(--fs-h2);
  margin-bottom: 0.5rem;
  color: var(--color-text-heading);
}

.results__proof-sub {
  margin: 0 auto 2rem;
  font-size: var(--fs-small);
}

.results__proof-grid {
  columns: 3;
  column-gap: 1.5rem;
}

.results__proof-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-card);
  border: 1px solid rgba(0,0,0,0.12);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all var(--transition-base);
  cursor: pointer;
  break-inside: avoid;
  margin-bottom: 1.5rem;
}

.results__proof-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.results__proof-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  border-color: var(--color-accent);
}

.results__proof-item:hover img {
  transform: scale(1.03);
}

.results__proof-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1rem 0.75rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff;
  font-size: var(--fs-small);
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.results__proof-item:hover .results__proof-label {
  opacity: 1;
}

.results__proof-item--light {
  background: #e0ddd8;
  padding: 0.75rem;
  border: 1px solid rgba(0,0,0,0.18);
  box-shadow: 0 6px 28px rgba(0,0,0,0.12);
}

.results__proof-item--light img {
  border-radius: calc(var(--radius-lg) - 0.5rem);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* =============================================
   9. BEFORE/AFTER SLIDER
   ============================================= */
.before-after {
  padding: var(--section-padding) 0;
  background: var(--color-bg-surface);
}

.before-after__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  text-align: center;
}

.before-after__headline {
  margin-bottom: 0.75rem;
}

.before-after__subline {
  margin: 0 auto 3rem;
}

.ba-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  user-select: none;
  -webkit-user-select: none;
  border: 1px solid var(--color-border-strong);
}

.ba-slider__after {
  width: 100%;
}

.ba-slider__before {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
}

.ba-slider__panel {
  min-width: 800px;
  padding: 3.5rem 3.5rem 4rem;
}

.ba-slider__panel--before {
  background: linear-gradient(135deg, #fdf0f0, #f5e0e0);
}

.ba-slider__panel--after {
  background: linear-gradient(135deg, #eef6f0, #e0f0e4);
}

.ba-slider__panel h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.35rem;
  margin-bottom: 2rem;
}

.ba-slider__panel--before h3 {
  color: var(--color-danger);
}

.ba-slider__panel--after h3 {
  color: var(--color-success);
}

.ba-slider__metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1.5rem;
}

.ba-metric {
  text-align: left;
}

.ba-metric__label {
  display: block;
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.ba-metric__value {
  display: block;
  font-size: 2rem;
  font-weight: 800;
}

.ba-metric__value--bad {
  color: var(--color-danger);
}

.ba-metric__value--good {
  color: var(--color-success);
}

/* Handle */
.ba-slider__handle {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: ew-resize;
  padding: 0 8px;
}

.ba-slider__handle-line {
  flex: 1;
  width: 3px;
  background: var(--color-accent);
}

.ba-slider__handle-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 20px var(--color-accent-glow);
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.ba-slider__handle:hover .ba-slider__handle-circle,
.ba-slider__handle:active .ba-slider__handle-circle {
  transform: scale(1.1);
}

/* =============================================
   9b. SUBTLE CTA NUDGE
   ============================================= */
.nudge-cta {
  text-align: center;
  padding: 2rem var(--container-padding);
  background: var(--color-bg-surface);
}

@media (max-width: 768px) {
  .nudge-cta {
    padding: 1.25rem var(--container-padding);
  }
}

.nudge-cta__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-accent);
  letter-spacing: 0.02em;
  transition: all var(--transition-base);
}

.nudge-cta__link:hover {
  color: var(--color-accent-dark);
  gap: 0.75rem;
}

.nudge-cta__link i {
  font-size: 0.7rem;
  transition: transform var(--transition-base);
}

.nudge-cta__link:hover i {
  transform: translateX(3px);
}

/* =============================================
   10. CASE STUDIES / OUR WORK
   ============================================= */
.work {
  padding: var(--section-padding) 0;
  background: var(--color-bg);
}

.work__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  text-align: center;
}

.work__headline {
  margin-bottom: 0.75rem;
}

.work__subline {
  margin: 0 auto 3rem;
}

.work__carousel-wrap {
  position: relative;
}

.work__carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 1rem 0;
}

.work__carousel::-webkit-scrollbar {
  display: none;
}

.work__card {
  min-width: calc(33.333% - 1rem);
  flex-shrink: 0;
  scroll-snap-align: start;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: left;
  transition: transform 0.1s ease, box-shadow var(--transition-base), border-color var(--transition-base);
  will-change: transform;
}

.work__card:hover {
  box-shadow: var(--shadow-lg), 0 0 40px rgba(26,111,224,0.04);
  border-color: var(--color-border-strong);
}

.work__card-tag {
  display: inline-block;
  padding: 0.25rem 0.85rem;
  background: var(--color-accent-subtle);
  color: var(--color-accent);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.work__card-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--color-text-heading);
}

.work__card-metric {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.work__card-metric-value {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.work__card-metric-label {
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}

.work__card-desc {
  font-size: var(--fs-small);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  max-width: none;
  color: var(--color-text-secondary);
}

.work__card-stats {
  display: flex;
  gap: 1.5rem;
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}

.work__card-stats strong {
  color: var(--color-success);
  font-weight: 700;
}

/* Carousel nav */
.work__carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.work__carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
  color: var(--color-text-secondary);
}

.work__carousel-btn:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.work__carousel-dots {
  display: flex;
  gap: 0.5rem;
}

.work__carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-border-strong);
  cursor: pointer;
  transition: all var(--transition-base);
}

.work__carousel-dots .dot.active {
  background: var(--color-accent);
  transform: scale(1.2);
}

/* =============================================
   10b. PORTFOLIO / SEE OUR CREATIVE
   ============================================= */
.portfolio {
  padding: var(--section-padding) 0;
  background: var(--color-bg-surface);
  position: relative;
}

.portfolio__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  text-align: center;
  position: relative;
}

.portfolio__headline { margin-bottom: 0.75rem; }
.portfolio__subline { margin: 0 auto 2.5rem; }

.portfolio__filters {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.portfolio__filter {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: var(--fs-small);
  font-weight: 600;
  font-family: var(--font-primary);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all var(--transition-base);
}

.portfolio__filter:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.portfolio__filter--active {
  background: var(--gradient-accent);
  color: #fff;
  border-color: transparent;
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.portfolio__item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
  cursor: pointer;
}

.portfolio__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(26, 111, 224, 0.2);
}

.portfolio__item--hidden { display: none; }

.portfolio__item-media {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: var(--color-bg-surface);
}

.portfolio__item-media img,
.portfolio__item-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.portfolio__item:hover .portfolio__item-media img,
.portfolio__item:hover .portfolio__item-media video {
  transform: scale(1.03);
}

.portfolio__play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(26, 111, 224, 0.9);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all var(--transition-base);
  backdrop-filter: blur(4px);
  border: none;
}

.portfolio__play-btn:hover {
  background: var(--color-accent);
  transform: translate(-50%, -50%) scale(1.1);
}

.portfolio__play-btn--playing {
  opacity: 0;
  pointer-events: none;
}

.portfolio__item-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1rem 0.75rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio__item:hover .portfolio__item-info { opacity: 1; }

.portfolio__item-client {
  font-size: var(--fs-small);
  font-weight: 600;
  color: #fff;
}

.portfolio__item-type {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.7);
  padding: 0.2rem 0.6rem;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius-full);
}

/* Empty state */
.portfolio__empty {
  grid-column: 1 / -1;
  padding: 5rem 2rem;
  text-align: center;
}

.portfolio__empty i {
  font-size: 3rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  display: block;
}

.portfolio__empty h3 {
  font-size: var(--fs-h3);
  color: var(--color-text-heading);
  margin-bottom: 0.75rem;
}

.portfolio__empty p {
  color: var(--color-text-secondary);
  max-width: 400px;
  margin: 0 auto;
}

/* =============================================
   10c. AGENCY CYCLE ANIMATION
   ============================================= */
.agency-cycle {
  position: relative;
  text-align: center;
  margin-bottom: 2.5rem;
  height: 1.5em;
  overflow: hidden;
}

.agency-cycle__line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  font-size: clamp(0.85rem, 2vw, 1.05rem);
  font-weight: 700;
  color: var(--color-text-muted);
  letter-spacing: 0.01em;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.4s ease, transform 0.4s ease;
  white-space: nowrap;
}

.agency-cycle__line--active {
  opacity: 1;
  transform: translateY(0);
}

.agency-cycle__line--exit {
  opacity: 0;
  transform: translateY(-100%);
}

@media (max-width: 768px) {
  .agency-cycle {
    margin-bottom: 2rem;
    height: 1.4em;
  }

  .agency-cycle__line {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .agency-cycle {
    margin-bottom: 1.5rem;
    height: 1.3em;
  }

  .agency-cycle__line {
    font-size: 0.75rem;
  }
}

/* =============================================
   11. MOCK SLACK / TESTIMONIAL WALL
   ============================================= */
.slack-wall {
  padding: var(--section-padding) 0;
  background: var(--color-bg);
  position: relative;
}

/* Ambient glow */
.slack-wall::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(26,111,224,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.slack-wall__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  text-align: center;
  position: relative;
}

.slack-wall__headline {
  margin-bottom: 0.75rem;
}

.slack-wall__subline {
  margin: 0 auto 3rem;
}

/* Slack mockup container */
.slack-mock {
  display: flex;
  background: var(--color-bg-elevated);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 80px rgba(26,111,224,0.03);
  border: 1px solid var(--color-border-strong);
  text-align: left;
  height: 550px;
}

/* Sidebar */
.slack-mock__sidebar {
  width: 240px;
  background: #1a2030;
  border-right: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  padding: 0;
}

.slack-mock__workspace {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.slack-mock__workspace-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
}

.slack-mock__workspace-info {
  display: flex;
  flex-direction: column;
}

.slack-mock__workspace-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: #ffffff;
}

.slack-mock__workspace-status {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.slack-mock__workspace-status i {
  color: var(--color-success);
  font-size: 0.5rem;
}

/* Channels */
.slack-mock__channels,
.slack-mock__dms {
  padding: 0.75rem 0;
}

.slack-mock__channels-label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.4rem 1.15rem;
  margin-bottom: 0.25rem;
}

.slack-mock__channel {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.4rem 1.15rem;
  background: none;
  cursor: pointer;
  font-size: var(--fs-small);
  color: rgba(255,255,255,0.55);
  transition: all var(--transition-fast);
  border-radius: 0;
  min-width: 0;
}

.slack-mock__channel i {
  font-size: 0.75rem;
  opacity: 0.7;
  color: rgba(255,255,255,0.55);
  flex-shrink: 0;
}

.slack-mock__channel-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  flex: 1;
}

.slack-mock__channel:hover {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.85);
}

.slack-mock__channel--active {
  background: rgba(26,111,224,0.20);
  color: #ffffff;
  font-weight: 600;
}

.slack-mock__channel--active i {
  opacity: 1;
  color: var(--color-accent);
}

.slack-mock__unread {
  margin-left: auto;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius-full);
  line-height: 1.4;
  flex-shrink: 0;
}

/* DMs */
.slack-mock__dm {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1.15rem;
  font-size: var(--fs-small);
  color: rgba(255,255,255,0.55);
}

.slack-mock__dm-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.slack-mock__dm-status--online {
  background: var(--color-success);
}

/* Main chat area */
.slack-mock__main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.slack-mock__topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}

.slack-mock__topbar-channel {
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-text-heading);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.slack-mock__topbar-channel i {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.slack-mock__topbar-meta {
  display: flex;
  gap: 1.25rem;
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}

.slack-mock__topbar-meta span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* Messages area */
.slack-mock__messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
  scrollbar-width: thin;
  scrollbar-color: var(--color-bg-card-hover) transparent;
}

.slack-mock__messages::-webkit-scrollbar {
  width: 6px;
}

.slack-mock__messages::-webkit-scrollbar-thumb {
  background: var(--color-bg-card-hover);
  border-radius: 3px;
}

/* Individual messages */
.slack-msg {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-radius: var(--radius);
  transition: background var(--transition-fast);
}

.slack-msg:hover {
  background: rgba(0,0,0,0.02);
}

.slack-msg + .slack-msg {
  border-top: 1px solid rgba(0,0,0,0.05);
}

.slack-msg__avatar {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.slack-msg__body {
  flex: 1;
  min-width: 0;
}

.slack-msg__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
  flex-wrap: wrap;
}

.slack-msg__header strong {
  font-size: 0.9rem;
  color: var(--color-text-heading);
}

.slack-msg__badge {
  font-size: var(--fs-xs);
  padding: 0.1rem 0.5rem;
  background: var(--color-accent-subtle);
  color: var(--color-accent);
  border-radius: var(--radius-full);
  font-weight: 600;
}

.slack-msg__badge--team {
  background: rgba(26, 111, 224, 0.10);
  color: #1a6fe0;
}

.slack-msg__time {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}

.slack-msg__text {
  font-size: var(--fs-small);
  color: var(--color-text-secondary);
  line-height: 1.65;
  max-width: none;
}

.slack-msg__text strong {
  color: var(--color-text-heading);
  font-weight: 700;
}

/* Message reactions */
.slack-msg__reactions {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.slack-msg__reaction {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.15rem 0.5rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  color: var(--color-text-secondary);
  transition: all var(--transition-fast);
  cursor: default;
}

.slack-msg__reaction:hover {
  border-color: var(--color-accent);
  background: var(--color-accent-subtle);
}

/* Embedded stats card */
.slack-msg__embed {
  display: flex;
  margin-top: 0.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
}

.slack-msg__embed-bar {
  width: 4px;
  background: var(--gradient-accent);
  flex-shrink: 0;
}

.slack-msg__embed-content {
  padding: 0.85rem 1rem;
  flex: 1;
}

.slack-msg__embed-title {
  font-weight: 700;
  font-size: var(--fs-small);
  color: var(--color-text-heading);
  margin-bottom: 0.6rem;
}

.slack-msg__embed-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.slack-msg__embed-stats div {
  text-align: center;
}

.slack-msg__embed-stats span {
  display: block;
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.2rem;
}

.slack-msg__embed-stats strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-accent);
}

/* Message input bar */
.slack-mock__input {
  padding: 0.75rem 1.25rem;
  border-top: 1px solid var(--color-border);
  flex-shrink: 0;
}

.slack-mock__input-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.slack-mock__input-bar > i {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.slack-mock__input-text {
  flex: 1;
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}

.slack-mock__input-icons {
  display: flex;
  gap: 0.75rem;
}

.slack-mock__input-icons i {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  cursor: default;
}

/* =============================================
   13. BOOK A CALL
   ============================================= */
.book {
  padding: var(--section-padding) 0;
  background: var(--color-bg-surface);
  position: relative;
  overflow: hidden;
}

/* Large ambient glow */
.book::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(26,111,224,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.book__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
}

.book__headline {
  color: var(--color-text-heading);
  margin-bottom: 1rem;
}

.book__subline {
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.book__checklist {
  margin-bottom: 2rem;
}

.book__checklist li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-text-secondary);
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.book__checklist i {
  color: var(--color-accent);
  font-size: 1.1rem;
}

.book__trust {
  display: flex;
  gap: 2rem;
}

.book__trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-muted);
  font-size: var(--fs-small);
}

.book__trust-item i {
  color: var(--color-accent);
}

.book__calendar-placeholder {
  background: var(--color-bg-card);
  border: 2px dashed var(--color-border-strong);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
}

.book__calendar-placeholder i {
  font-size: 3rem;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.book__calendar-placeholder h3 {
  color: var(--color-text-heading);
  margin-bottom: 0.75rem;
}

.book__calendar-placeholder p {
  color: var(--color-text-muted);
  margin: 0 auto 1.5rem;
  font-size: var(--fs-small);
}

/* =============================================
   14. FOOTER
   ============================================= */
.footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: 3.5rem 0 2rem;
}

.footer__container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__logo-text {
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 0.5rem;
}

.footer__tagline {
  color: var(--color-text-secondary);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.footer__desc {
  color: var(--color-text-muted);
  font-size: var(--fs-small);
}

.footer__links h4 {
  color: var(--color-text-heading);
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  font-weight: 700;
}

.footer__links ul li {
  margin-bottom: 0.6rem;
}

.footer__links a {
  color: var(--color-text-muted);
  font-size: var(--fs-small);
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--color-accent);
}

.footer__social h4 {
  color: var(--color-text-heading);
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  font-weight: 700;
}

.footer__social-links {
  display: flex;
  gap: 0.75rem;
}

.footer__social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: all var(--transition-base);
}

.footer__social-links a:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
  transform: translateY(-2px);
}

.footer__bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 2rem;
  text-align: center;
}

.footer__bottom p {
  color: var(--color-text-muted);
  font-size: var(--fs-small);
  margin: 0 auto;
}

/* =============================================
   15. FLOATING CTA
   ============================================= */
.floating-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all var(--transition-slow);
}

.floating-cta--visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.floating-cta--hidden {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(20px) !important;
}

.floating-cta .btn {
  box-shadow: var(--shadow-lg), 0 0 30px var(--color-accent-glow);
}

/* =============================================
   16. CUSTOM CURSOR
   ============================================= */
.cursor {
  display: none;
  pointer-events: none;
  z-index: 9999;
}

.cursor--active {
  display: block;
}

.cursor__dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10001;
  transform: translate(-50%, -50%);
}

.cursor__ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.cursor__ring--hover {
  width: 60px;
  height: 60px;
  border-color: var(--color-accent-light);
  background: rgba(26, 111, 224, 0.06);
}

/* =============================================
   17. RESPONSIVE - TABLET
   ============================================= */
@media (max-width: 1024px) {
  .hero__container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero__subline {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__ctas {
    justify-content: center;
  }

  .hero__visual {
    order: -1;
  }

  .phone-frame {
    width: 250px;
  }

  .mock-ad__image {
    height: 150px;
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services__grid .services__card:last-child {
    grid-column: span 2;
    max-width: 50%;
    margin: 0 auto;
  }

  .results__stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .results__proof-grid {
    columns: 2;
  }

  .work__card {
    min-width: calc(50% - 0.75rem);
  }

  /* Creative section tablet */
  .creative__diagram {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .creative__diagram-divider span {
    transform: rotate(0deg);
  }

  .creative__accordion {
    height: 350px;
  }

  .creative__accordion-item {
    flex: 0 0 55px;
  }

  /* Portfolio tablet */
  .portfolio__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Slack mockup tablet */
  .slack-mock {
    height: 500px;
  }

  .slack-mock__sidebar {
    width: 200px;
  }

  .slack-msg__embed-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .book__container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .book__checklist {
    display: inline-flex;
    flex-direction: column;
    text-align: left;
  }

  .book__trust {
    justify-content: center;
  }

  .footer__top {
    grid-template-columns: repeat(2, 1fr);
  }

  .dash__summary {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =============================================
   18. RESPONSIVE - MOBILE
   ============================================= */
@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
    --section-padding: clamp(3.5rem, 10vw, 5rem);
  }

  /* Mobile nav */
  .nav__links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(245, 243, 239, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10001;
  }

  .nav__links--open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav__links a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-heading);
    transition: color 0.2s ease;
  }

  .nav__links a:hover {
    color: var(--color-accent);
  }

  .nav__links a::after {
    display: none;
  }

  .nav__hamburger {
    display: flex;
    z-index: 10002;
    position: relative;
  }

  .nav__logo {
    z-index: 10002;
    position: relative;
  }

  .nav__cta {
    display: none;
  }

  .nav__links-cta {
    display: list-item;
    margin-top: 1rem;
  }

  .nav__links-cta .btn {
    padding: 0.85rem 2.5rem;
    font-size: 1.1rem;
  }

  /* Hero mobile */
  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-height) + 2rem);
    padding-bottom: 3rem;
  }

  .hero__visual {
    display: none;
  }

  .hero__headline {
    font-size: clamp(2.75rem, 12vw, 4rem);
  }

  /* Services */
  .services__grid {
    grid-template-columns: 1fr;
  }

  .services__grid .services__card:last-child {
    grid-column: span 1;
    max-width: 100%;
  }

  /* Creative mobile */
  .creative__diagram {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .creative__diagram-flow {
    flex-direction: column;
    gap: 1rem;
  }

  .creative__diagram-arrow {
    transform: rotate(90deg);
  }

  .creative__stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .creative__accordion {
    flex-direction: column;
    height: auto;
  }

  .creative__accordion-item {
    flex: 0 0 70px;
    min-height: 70px;
  }

  .creative__accordion-item--active {
    flex: 1 1 250px;
    min-height: 250px;
  }

  .creative__accordion-title-vertical {
    bottom: 50%;
    transform: translateX(-50%) translateY(50%) rotate(0deg);
    font-size: 0.9rem;
  }

  .creative__accordion-content h4 {
    font-size: 1.1rem;
  }

  .creative__accordion-content p {
    font-size: 0.85rem;
  }

  /* Portfolio mobile */
  .portfolio__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .portfolio__item-media {
    aspect-ratio: 4 / 5;
  }

  /* Results */
  .results__stats {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .results__proof-grid {
    columns: 1;
  }

  /* Before/After — keep slider drag effect on mobile */
  .ba-slider {
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-width: 100%;
    touch-action: none;
  }

  .ba-slider__panel {
    min-width: calc(100vw - var(--container-padding) * 2);
    padding: 1.75rem 1.25rem;
  }

  .ba-slider__panel h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .ba-slider__metrics {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 0.5rem;
  }

  .ba-metric__label {
    font-size: 0.6rem;
    margin-bottom: 0.2rem;
  }

  .ba-metric__value {
    font-size: 1.25rem;
  }

  /* Work carousel — stack vertically on mobile */
  .work__carousel-wrap {
    overflow: hidden;
    max-width: 100%;
  }

  .work__carousel {
    flex-direction: column;
    overflow-x: visible;
    scroll-snap-type: none;
    gap: 1rem;
    padding: 0;
  }

  .work__card {
    min-width: 100%;
    width: 100%;
  }

  .work__carousel-nav {
    display: none;
  }

  /* Slack mockup mobile — keep desktop layout, scale down */
  .slack-mock {
    flex-direction: row;
    height: 480px;
  }

  .slack-mock__sidebar {
    width: 180px;
    flex-shrink: 0;
    border-right: 1px solid rgba(255,255,255,0.08);
    border-bottom: none;
    overflow-y: auto;
  }

  .slack-mock__workspace {
    padding: 0.65rem 0.75rem;
    gap: 0.5rem;
  }

  .slack-mock__workspace-icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
  }

  .slack-mock__workspace-name {
    font-size: 0.75rem;
  }

  .slack-mock__workspace-status {
    font-size: 0.6rem;
  }

  .slack-mock__channels-label {
    font-size: 0.6rem;
    padding: 0.3rem 0.75rem;
  }

  .slack-mock__channel {
    padding: 0.3rem 0.75rem;
    font-size: 0.7rem;
  }

  .slack-mock__unread {
    font-size: 0.55rem;
    padding: 0.05rem 0.35rem;
  }

  .slack-mock__dms {
    display: block;
  }

  .slack-mock__dm {
    font-size: 0.7rem;
    padding: 0.25rem 0.75rem;
  }

  .slack-mock__topbar-meta {
    display: none;
  }

  .slack-mock__topbar {
    padding: 0.6rem 0.85rem;
  }

  .slack-mock__topbar-channel {
    font-size: 0.85rem;
  }

  .slack-msg__embed-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Book */
  .book__container {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer__top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Floating CTA mobile */
  .floating-cta {
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: rgba(245, 243, 239, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: center;
  }

  .floating-cta .btn {
    width: 100%;
    justify-content: center;
  }

  /* ===== GLOBAL MOBILE OVERFLOW FIX ===== */
  /* Kill ALL decorative pseudo-element glows that escape viewport */
  .hero__bg-gradient::after,
  .dashboard::before,
  .results::before,
  .slack-wall::before,
  .book::before {
    display: none !important;
  }

  /* Contain every section */
  section,
  .hero,
  .social-proof,
  .dashboard,
  .services,
  .results,
  .before-after,
  .work,
  .slack-wall,
  .book,
  .footer,
  nav {
    overflow-x: hidden;
    max-width: 100vw;
  }

  /* Dashboard mobile */
  .dash__metric-value {
    font-size: 1.2rem;
  }

  .dash__summary {
    grid-template-columns: 1fr 1fr;
    padding: 1rem;
    gap: 0;
  }

  .dash__metric {
    padding: 0.5rem 0.25rem;
  }

  .dash__metric-label {
    font-size: 0.65rem;
  }

  .dash__topbar {
    padding: 0.65rem 1rem;
  }

  .dash__topbar-right {
    display: none;
  }

  .dash__tabs {
    padding: 0 0.75rem;
    gap: 0;
  }

  .dash__tab {
    padding: 0.7rem 0.85rem;
    font-size: var(--fs-xs);
  }

  .dash__table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
  }

  .dash__table th,
  .dash__table td {
    padding: 0.65rem 0.75rem;
    font-size: var(--fs-xs);
  }

  .dashboard__mock {
    overflow: hidden;
    max-width: 100%;
  }

  /* Social proof ticker mobile */
  .social-proof {
    padding: 1.75rem 0;
  }

  .social-proof__text {
    font-size: var(--fs-xs);
    margin-bottom: 1rem;
  }

  .social-proof__item {
    padding: 0.4rem 1rem;
    font-size: var(--fs-xs);
  }

  .social-proof__track {
    gap: 0.75rem;
  }

  /* Before/After slider mobile */
  .ba-slider__panel {
    padding: 2rem 1.25rem;
  }

  .ba-slider__panel h3 {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
  }

  .ba-slider__metrics {
    gap: 0.75rem;
  }

  .ba-metric__value {
    font-size: 1.35rem;
  }

  .ba-metric__label {
    font-size: 0.65rem;
  }

  .ba-slider__handle-circle {
    width: 40px;
    height: 40px;
    font-size: 0.85rem;
  }

  /* Results stats mobile */
  .results__stats {
    gap: 0.75rem;
    margin-bottom: 3rem;
  }

  .results__stat {
    padding: 1.25rem 1rem;
  }

  .results__stat-value {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }

  /* Work carousel mobile — compact cards */
  .work__card {
    padding: 1.25rem;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 0.25rem 1rem;
    align-items: center;
  }

  .work__card-tag {
    grid-row: 1;
    grid-column: 1;
    margin-bottom: 0;
    font-size: 0.6rem;
    padding: 0.2rem 0.6rem;
  }

  .work__card-title {
    grid-row: 1;
    grid-column: 2;
    font-size: 1rem;
    margin-bottom: 0;
  }

  .work__card-metric {
    grid-row: 2;
    grid-column: 1 / -1;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .work__card-metric-value {
    font-size: 1.75rem;
  }

  .work__card-metric-label {
    font-size: var(--fs-xs);
  }

  .work__card-desc {
    grid-column: 1 / -1;
    font-size: var(--fs-xs);
    margin-bottom: 0.75rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .work__card-stats {
    grid-column: 1 / -1;
    gap: 1rem;
    font-size: var(--fs-xs);
  }

  /* Slack mockup mobile — message area refinements */
  .slack-msg {
    gap: 0.5rem;
    padding: 0.5rem 0;
  }

  .slack-msg__avatar {
    width: 30px;
    height: 30px;
    font-size: 0.6rem;
    border-radius: 6px;
  }

  .slack-msg__header strong {
    font-size: 0.8rem;
  }

  .slack-msg__text {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .slack-msg__embed-content {
    padding: 0.6rem 0.75rem;
  }

  .slack-msg__embed-stats strong {
    font-size: 0.9rem;
  }

  .slack-msg__embed-stats span {
    font-size: 0.6rem;
  }

  .slack-mock__messages {
    padding: 0.75rem;
  }

  .slack-mock__input {
    padding: 0.5rem 0.75rem;
  }

  .slack-mock__input-bar {
    padding: 0.4rem 0.65rem;
    gap: 0.5rem;
  }

  .slack-mock__input-text {
    font-size: 0.75rem;
  }

  .slack-mock__input-icons {
    display: none;
  }

  .slack-msg__reactions {
    gap: 0.25rem;
    margin-top: 0.35rem;
  }

  .slack-msg__reaction {
    font-size: 0.7rem;
    padding: 0.1rem 0.4rem;
  }

  .slack-msg__badge {
    font-size: 0.6rem;
    padding: 0.05rem 0.35rem;
  }

  /* Book section mobile */
  .book__subline {
    font-size: 1rem;
  }

  .book__trust {
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
  }

  .book iframe {
    min-height: 550px !important;
  }

  .book__calendar {
    overflow: hidden;
    max-width: 100%;
  }

  /* Footer mobile */
  .footer__top {
    gap: 1.5rem;
  }

  .footer {
    padding: 2.5rem 0 1.5rem;
  }

  .footer__bottom {
    padding-top: 1.5rem;
  }

  /* Hero mobile tweaks */
  .hero__subline {
    font-size: 1rem;
    max-width: 100%;
  }

  .hero__ctas {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero__ctas .btn {
    width: 100%;
    justify-content: center;
  }

  /* Section headlines mobile */
  .section-subline {
    font-size: var(--fs-small);
  }
}

/* =============================================
   19. RESPONSIVE - SMALL PHONES
   ============================================= */
@media (max-width: 480px) {
  :root {
    --section-padding: clamp(2.5rem, 8vw, 3.5rem);
    --container-padding: 1rem;
  }

  /* Hero small phone */
  .hero__headline {
    font-size: clamp(2.25rem, 11vw, 3rem);
  }

  .hero__subline {
    font-size: 0.9rem;
  }

  .hero {
    padding-bottom: 2rem;
  }

  /* Social proof small phone */
  .social-proof__item {
    padding: 0.35rem 0.85rem;
    font-size: 0.7rem;
  }

  /* Dashboard small phone */
  .dash__summary {
    grid-template-columns: 1fr 1fr;
    padding: 0.75rem;
  }

  .dash__metric-value {
    font-size: 1rem;
  }

  .dash__metric-label {
    font-size: 0.6rem;
  }

  .dash__tab {
    padding: 0.6rem 0.65rem;
    font-size: 0.65rem;
  }

  /* Services small phone */
  .services__card-inner {
    padding: 1.75rem 1.5rem;
  }

  .services__card h3 {
    font-size: 1.25rem;
  }

  .services__number {
    font-size: 4.5rem;
  }

  /* Results small phone */
  .results__stats {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .results__stat {
    padding: 1rem 0.75rem;
  }

  .results__stat-value {
    font-size: clamp(1.5rem, 7vw, 2rem);
    margin-bottom: 0.5rem;
  }

  .results__stat-label {
    font-size: var(--fs-xs);
  }

  .results__proof h3 {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  /* Before/After small phone */
  .ba-slider__panel {
    min-width: calc(100vw - var(--container-padding) * 2);
    padding: 1.25rem 0.75rem;
  }

  .ba-slider__panel h3 {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
  }

  .ba-slider__metrics {
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
  }

  .ba-metric__label {
    font-size: 0.55rem;
  }

  .ba-metric__value {
    font-size: 1rem;
  }

  .ba-slider__handle-circle {
    width: 36px;
    height: 36px;
    font-size: 0.75rem;
  }

  .before-after__subline {
    margin-bottom: 2rem;
  }

  /* Work cards small phone */
  .work__card {
    min-width: 100%;
    padding: 1rem;
  }

  .work__card-metric-value {
    font-size: 1.5rem;
  }

  .work__card-title {
    font-size: 0.9rem;
  }

  /* Slack mockup small phone — keep sidebar on left, just narrower */
  .slack-mock {
    flex-direction: row;
    height: 400px;
    border-radius: var(--radius);
  }

  .slack-mock__sidebar {
    width: 130px;
    border-right: 1px solid rgba(255,255,255,0.08);
    border-bottom: none;
    overflow-y: auto;
  }

  .slack-mock__workspace {
    padding: 0.5rem 0.6rem;
    gap: 0.35rem;
  }

  .slack-mock__workspace-icon {
    width: 22px;
    height: 22px;
    border-radius: 5px;
  }

  .slack-mock__workspace-name {
    font-size: 0.65rem;
  }

  .slack-mock__workspace-status {
    font-size: 0.5rem;
  }

  .slack-mock__dms {
    display: block;
  }

  .slack-mock__dm {
    font-size: 0.6rem;
    padding: 0.2rem 0.6rem;
  }

  .slack-mock__channels-label {
    font-size: 0.5rem;
    padding: 0.2rem 0.6rem;
  }

  .slack-mock__channel {
    font-size: 0.6rem;
    padding: 0.25rem 0.6rem;
    border-radius: 0;
    width: 100%;
    margin: 0;
  }

  .slack-mock__unread {
    font-size: 0.5rem;
    padding: 0.02rem 0.3rem;
  }

  .slack-msg__avatar {
    width: 24px;
    height: 24px;
    font-size: 0.5rem;
    border-radius: 5px;
  }

  .slack-msg__header strong {
    font-size: 0.7rem;
  }

  .slack-msg__text {
    font-size: 0.7rem;
  }

  .slack-msg__embed-content {
    padding: 0.5rem 0.6rem;
  }

  .slack-msg__embed-stats {
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem;
  }

  .slack-msg__embed-stats strong {
    font-size: 0.75rem;
  }

  .slack-msg__embed-stats span {
    font-size: 0.5rem;
  }

  .slack-msg__reactions {
    gap: 0.2rem;
  }

  .slack-msg__reaction {
    font-size: 0.6rem;
    padding: 0.05rem 0.3rem;
  }

  .slack-mock__topbar {
    padding: 0.5rem 0.65rem;
  }

  .slack-mock__topbar-channel {
    font-size: 0.75rem;
  }

  .slack-mock__input {
    padding: 0.4rem 0.5rem;
  }

  .slack-mock__input-bar {
    padding: 0.3rem 0.5rem;
  }

  .slack-mock__input-text {
    font-size: 0.6rem;
  }

  .slack-mock__messages {
    padding: 0.5rem;
  }

  /* Nudge CTA small phone */
  .nudge-cta {
    padding: 1.75rem var(--container-padding);
  }

  .nudge-cta__link {
    font-size: 0.8rem;
  }

  /* Book section small phone */
  .book__checklist li {
    font-size: 0.9rem;
  }

  .book iframe {
    min-height: 500px !important;
  }

  /* Footer small phone */
  .footer__top {
    gap: 1.25rem;
  }

  .footer__logo-text {
    font-size: 1.1rem;
  }

  .footer__bottom p {
    font-size: var(--fs-xs);
  }

  /* Floating CTA small phone */
  .floating-cta {
    padding: 0.75rem;
  }

  .floating-cta .btn {
    font-size: var(--fs-small);
    padding: 0.75rem 1.5rem;
  }

  /* Nav mobile small phone */
  .nav__links a {
    font-size: 1.1rem;
  }

  /* Carousel nav small phone */
  .work__carousel-nav {
    gap: 1rem;
    margin-top: 1.5rem;
  }

  .work__carousel-btn {
    width: 38px;
    height: 38px;
  }
}

/* =============================================
   20. REDUCED MOTION
   ============================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal-text .word,
  .reveal-fade {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* =============================================
   20. SELECTION & SCROLLBAR
   ============================================= */
::selection {
  background: var(--color-accent);
  color: #fff;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--color-bg-card-hover);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent);
}
