/* ============================================================
   FREE MIND CONSULTANCY — style.css
   All layout, typography, components
   Colors: strictly black, white, and grays only
   ============================================================ */

/* ── CSS Custom Properties ────────────────────────────────── */
:root {
  /* Colors */
  --color-black:      #000000;
  --color-white:      #FFFFFF;
  --color-bg:         #FAFAFA;
  --color-bg-dark:    #111111;
  --color-bg-card:    #FFFFFF;
  --color-text:       #111111;
  --color-text-muted: #666666;
  --color-border:     #DDDDDD;
  --color-border-dark:#333333;
  --color-gray-100:   #F5F5F5;
  --color-gray-200:   #EEEEEE;
  --color-gray-400:   #BBBBBB;
  --color-gray-600:   #888888;
  --color-gray-700:   #444444;
  --color-gray-800:   #222222;
  --color-gray-900:   #111111;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-weight-light:  300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-bold:   700;

  /* Spacing */
  --spacing-xs:   4px;
  --spacing-sm:   8px;
  --spacing-md:   16px;
  --spacing-lg:   24px;
  --spacing-xl:   40px;
  --spacing-2xl:  64px;
  --spacing-3xl:  96px;

  /* Layout */
  --container-max: 1280px;
  --nav-height:    80px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 12px rgba(0,0,0,0.10);
  --shadow-lg:  0 8px 24px rgba(0,0,0,0.12);

  /* Transitions */
  --transition-fast:   150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow:   400ms ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: var(--font-family);
  border: none;
  background: none;
}

input, textarea, select {
  font-family: var(--font-family);
}

/* Section scroll offset for sticky nav */
section[id],
div[id] {
  scroll-margin-top: var(--nav-height);
}

/* ── Page Loader ──────────────────────────────────────────── */
#page-loader {
  position: fixed;
  inset: 0;
  background: var(--color-white);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

#page-loader .loader-text {
  font-size: 20px;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.08em;
  color: var(--color-black);
  opacity: 0;
}

/* ── Container ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  color: var(--color-text);
}

h1 { font-size: clamp(36px, 5vw, 56px); }
h2 { font-size: clamp(28px, 3.5vw, 40px); }
h3 { font-size: clamp(18px, 2vw, 22px); }
h4 { font-size: 18px; }

p { line-height: 1.7; }

.section-label {
  display: block;
  font-size: 12px;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-md);
}

.section-heading {
  margin-bottom: var(--spacing-md);
}

.section-subtitle {
  font-size: 18px;
  font-weight: var(--font-weight-light);
  color: var(--color-text-muted);
  max-width: 640px;
  line-height: 1.6;
}

.section-header {
  margin-bottom: var(--spacing-2xl);
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.02em;
  transition: all var(--transition-normal);
  cursor: pointer;
  border: none;
  border-radius: 0;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-black);
  color: var(--color-white);
  border: 1px solid var(--color-black);
}

.btn-primary:hover {
  background: var(--color-gray-800);
}

.btn-outline {
  background: transparent;
  color: var(--color-black);
  border: 1px solid var(--color-black);
}

.btn-outline:hover {
  background: var(--color-black);
  color: var(--color-white);
}

.btn-full {
  width: 100%;
}

/* ── Navigation ───────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background var(--transition-slow), border-color var(--transition-slow), backdrop-filter var(--transition-slow);
}

.site-nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.nav-logo-text {
  font-size: 16px;
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
}

.nav-links a {
  font-size: 14px;
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
  text-decoration: none;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a:hover {
  color: var(--color-black);
}

/* Services Dropdown trigger */
.nav-dropdown-trigger {
  position: static;
}

.nav-dropdown-trigger > a::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: 6px;
  vertical-align: middle;
  transition: transform var(--transition-fast);
}

.nav-dropdown-trigger:hover > a::after {
  transform: rotate(180deg);
}

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: min(1100px, 95vw);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.nav-dropdown-trigger:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

/* Narrow single-column dropdown for Products */
.mega-menu--narrow {
  width: 280px;
  grid-template-columns: 1fr;
  left: 0;
  transform: none;
}

.mega-menu--narrow .mega-col {
  border-right: none;
}

.mega-menu--narrow a strong {
  display: block;
  font-size: 13px;
  color: var(--color-text);
  margin-bottom: 1px;
}

.mega-col {
  padding: var(--spacing-lg);
  border-right: 1px solid var(--color-border);
}

.mega-col:last-child {
  border-right: none;
}

.mega-col-title {
  font-size: 11px;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-sm);
  border-bottom: 1px solid var(--color-border);
}

.mega-col a {
  display: block;
  font-size: 13px;
  font-weight: var(--font-weight-normal);
  color: var(--color-text);
  padding: 5px 0;
  transition: color var(--transition-fast);
}

.mega-col a:hover {
  color: var(--color-black);
  font-weight: var(--font-weight-medium);
}

/* Nav Right */
.nav-right {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.nav-cta {
  font-size: 13px;
  padding: 10px 20px;
}

.theme-toggle {
  font-size: 13px;
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
  padding: 8px 12px;
  border: 1px solid var(--color-border);
  background: transparent;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.theme-toggle:hover {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #FFFFFF;
  transition: all var(--transition-normal);
}

.nav-hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.nav-hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: #0a0a0a;
  border-bottom: 1px solid #222;
  z-index: 999;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.nav-mobile.open {
  max-height: 85vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.nav-mobile-inner {
  padding: var(--spacing-md) var(--spacing-lg);
}

.nav-mobile-link {
  display: block;
  padding: 14px 0;
  font-size: 15px;
  font-weight: var(--font-weight-medium);
  color: #F5F5F5;
  border-bottom: 1px solid #1f1f1f;
}

.mobile-category-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 14px 0;
  font-size: 15px;
  font-weight: var(--font-weight-medium);
  color: #F5F5F5;
  background: none;
  border: none;
  border-bottom: 1px solid #1f1f1f;
  cursor: pointer;
  text-align: left;
}

.mobile-category-arrow {
  font-size: 12px;
  transition: transform var(--transition-fast);
}

.mobile-category-btn.active .mobile-category-arrow {
  transform: rotate(180deg);
}

.mobile-sub-links {
  max-height: 0;
  overflow: hidden;
  transition: max-height 500ms ease;
  padding-left: var(--spacing-md);
}

.mobile-sub-links.open {
  max-height: 1200px; /* enough for all 30 services + category headers */
}

.mobile-sub-links a {
  display: block;
  padding: 10px 0;
  font-size: 14px;
  color: #888888;
  border-bottom: 1px solid #1a1a1a;
}

.nav-mobile-cta {
  margin-top: var(--spacing-md);
  padding: var(--spacing-md) 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

/* ── Ticker Bar ───────────────────────────────────────────── */
.ticker-bar {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  z-index: 900;
  background: #000000;
  border-bottom: 1px solid #222222;
  overflow: hidden;
  white-space: nowrap;
  padding: 9px 0;
}

.ticker-track {
  display: inline-flex;
  width: max-content;
}

.ticker-text {
  display: inline-block;
  font-size: 12px;
  font-weight: var(--font-weight-medium);
  color: #888888;
  letter-spacing: 0.06em;
  padding-right: 0;
}

/* Hero needs top offset to account for ticker height (~38px) */
.hero {
  scroll-margin-top: calc(var(--nav-height) + 38px);
}

/* ── Hero Logo Circle ─────────────────────────────────────── */
.hero-logo-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: #000000;
  border: 1.5px solid #2a2a2a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-lg);
  overflow: hidden;
  box-shadow: 0 0 0 6px rgba(255,255,255,0.04);
}

.hero-logo-circle img {
  width: 110px;
  height: 110px;
  object-fit: contain;
}

/* ── Hero Witty Tagline ───────────────────────────────────── */
.hero-tagline-wit {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: var(--spacing-xl);
  margin-top: var(--spacing-sm);
  text-align: center;
  /* Ensure it never appears above the logo due to animation opacity */
  min-height: 64px;
}

.wit-line-1 {
  font-size: 13px;
  font-weight: var(--font-weight-light);
  color: #555555;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wit-line-2 {
  font-size: 13px;
  font-weight: var(--font-weight-light);
  color: #444444;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wit-line-3 {
  font-size: 22px;
  font-weight: var(--font-weight-bold);
  color: #FFFFFF;
  letter-spacing: -0.01em;
  margin-top: 8px;
  position: relative;
  display: inline-block;
}

.wit-line-3::after {
  content: '';
  display: block;
  width: 0;
  height: 1px;
  background: #FFFFFF;
  margin: 6px auto 0;
  transition: width 1s ease 2s;
}

.wit-line-3.line-animate::after {
  width: 100%;
}

/* ── Hero Section ─────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-white);
  padding-top: 38px; /* ticker height */
}

#particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: var(--spacing-2xl) var(--spacing-lg);
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-lg);
}

.hero-headline {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: var(--font-weight-bold);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-black);
  margin-bottom: var(--spacing-lg);
}

.hero-typewriter {
  display: inline-block;
  position: relative;
}

.hero-cursor {
  display: inline-block;
  width: 3px;
  height: 0.85em;
  background: var(--color-black);
  margin-left: 2px;
  vertical-align: text-bottom;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: var(--font-weight-light);
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto var(--spacing-xl);
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--spacing-xl);
}

.hero-scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
  color: var(--color-text-muted);
  font-size: 12px;
  letter-spacing: 0.05em;
}

.scroll-arrow {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid var(--color-text-muted);
}

.hero-rule {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-border);
}

/* ── Podcast Banner ───────────────────────────────────────── */
.podcast-banner {
  background: #000000;
  border-top: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
  padding: 48px 0;
  overflow: hidden;
  position: relative;
}

.podcast-banner::before {
  content: 'PODCAST';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 120px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.02);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.podcast-banner-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 48px;
}

/* Left */
.podcast-banner-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.podcast-banner-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #666666;
}

.podcast-banner-label::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 0 8px rgba(255,255,255,0.6);
}

.podcast-banner-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0;
}

.podcast-banner-desc {
  font-size: 14px;
  color: #555555;
  line-height: 1.7;
  max-width: 380px;
  font-weight: 300;
}

.podcast-banner-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.podcast-banner-tags span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #444444;
  border: 1px solid #2a2a2a;
  padding: 4px 10px;
}

/* Center: Visualizer */
/* Podcast title + wave in one row (used on mobile) */
.podcast-title-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.podcast-visualizer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* Mobile-only inline visualizer (hidden on desktop) */
.podcast-visualizer-mobile {
  display: none;
}

/* Desktop-only center visualizer */
.podcast-visualizer-desktop {
  display: flex;
}

.podcast-mic-icon {
  width: 64px;
  height: 64px;
  border: 1px solid #2a2a2a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0a0a;
}

.podcast-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 32px;
}

.podcast-wave span {
  display: block;
  width: 3px;
  background: #333333;
  border-radius: 2px;
  transform-origin: bottom center;
}

/* Right */
.podcast-banner-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.podcast-listen-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #444444;
  margin: 0;
}

.podcast-badge-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.podcast-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border: 1px solid #222222;
  background: #0a0a0a;
  text-decoration: none;
  color: #FFFFFF;
  transition: border-color 200ms ease, background 200ms ease;
  min-width: 200px;
}

.podcast-badge:hover {
  border-color: #FFFFFF;
  background: #111111;
}

.podcast-badge img {
  height: 22px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1) brightness(2);
  flex-shrink: 0;
}

.podcast-badge span {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ── Stats Bar ────────────────────────────────────────────── */
.stats-bar {
  background: var(--color-gray-900);
  color: var(--color-white);
  padding: var(--spacing-xl) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.stat-item {
  padding: var(--spacing-md) var(--spacing-lg);
  border-right: 1px solid var(--color-border-dark);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-size: clamp(36px, 4vw, 48px);
  font-weight: var(--font-weight-bold);
  line-height: 1;
  color: var(--color-white);
  display: block;
  margin-bottom: var(--spacing-xs);
}

.stat-label {
  font-size: 13px;
  font-weight: var(--font-weight-light);
  color: var(--color-gray-400);
  letter-spacing: 0.04em;
}

/* ── Section Layout ───────────────────────────────────────── */
.section {
  padding: var(--spacing-3xl) 0;
}

.section-light {
  background: var(--color-bg);
}

.section-white {
  background: var(--color-white);
}

.section-dark {
  background: var(--color-gray-900);
  color: var(--color-white);
}

.section-dark .section-heading,
.section-dark h2,
.section-dark h3 {
  color: var(--color-white);
}

.section-dark .section-subtitle,
.section-dark .section-label {
  color: var(--color-gray-400);
}

/* ── PublishMatch Banner ──────────────────────────────────── */
.publishmatch-banner {
  position: relative;
  padding: 72px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-card);
  overflow: hidden;
}

/* Subtle noise texture overlay */
.pm-banner-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' 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)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.5;
}

.pm-banner-inner {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Hook pill */
.pm-hook-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.pm-hook-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px #4ade80;
  animation: pulseDot 2s ease-in-out infinite;
  flex-shrink: 0;
}

/* Brand Name (replaces logo) */
.pm-banner-logo-wrap {
  margin-bottom: 20px;
}

.pm-brand-name {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.pm-brand-publish {
  color: var(--color-text);
  position: relative;
  background: linear-gradient(135deg, var(--color-text) 0%, var(--color-text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: pmShimmer 3s ease-in-out infinite;
}

.pm-brand-match {
  color: var(--color-text);
  position: relative;
  background: linear-gradient(135deg, #a78bfa 0%, #60a5fa 50%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: pmGradientSlide 3s linear infinite;
}

.pm-brand-ai {
  font-size: 0.45em;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  -webkit-text-fill-color: var(--color-text-muted);
  margin-left: 6px;
  align-self: flex-end;
  margin-bottom: 4px;
  border: 1px solid var(--color-border);
  padding: 2px 7px;
  border-radius: 4px;
  animation: pmAiBlink 4s ease-in-out infinite;
}

@keyframes pmShimmer {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.75; }
}

@keyframes pmGradientSlide {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

@keyframes pmAiBlink {
  0%, 90%, 100% { opacity: 1; }
  95%           { opacity: 0.3; }
}

/* Title */
.pm-banner-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: var(--font-weight-bold);
  letter-spacing: -0.025em;
  color: var(--color-text);
  margin: 0 0 14px;
  line-height: 1.15;
}

.pm-banner-desc {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin: 0 0 28px;
  max-width: 500px;
}

/* Animated CTA Button */
.pm-banner-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--color-text);
  color: var(--color-bg);
  font-size: 14px;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 200ms ease, box-shadow 200ms ease;
  overflow: visible;
}

.pm-banner-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.pm-cta-pulse {
  position: absolute;
  inset: 0;
  border: 2px solid var(--color-text);
  opacity: 0;
  animation: ctaPulse 2.2s ease-out infinite;
}

.pm-cta-pulse-2 {
  animation-delay: 1.1s;
}

@keyframes ctaPulse {
  0%   { opacity: 0.5; transform: scale(1); }
  100% { opacity: 0;   transform: scale(1.1); }
}

/* Stats column */
.pm-banner-stats {
  display: flex;
  flex-direction: column;
  gap: 28px;
  text-align: right;
  flex-shrink: 0;
  border-left: 1px solid var(--color-border);
  padding-left: 40px;
}

.pm-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pm-stat-num {
  font-size: 32px;
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  line-height: 1;
  letter-spacing: -0.02em;
}

.pm-stat-lbl {
  font-size: 11px;
  color: var(--color-text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Mobile */
@media (max-width: 768px) {
  .pm-banner-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .pm-brand-name {
    font-size: clamp(22px, 6vw, 32px);
  }

  .pm-banner-stats {
    flex-direction: row;
    text-align: left;
    border-left: none;
    border-top: 1px solid var(--color-border);
    padding-left: 0;
    padding-top: 24px;
    justify-content: space-between;
  }

  .pm-banner-cta {
    width: 100%;
    justify-content: center;
  }

  .pm-stat-num { font-size: 24px; }
}

/* ── Koelai Section ───────────────────────────────────────── */
.koelai-section {
  padding: 80px 0;
  overflow: hidden;
  background: var(--color-bg);
}

.koelai-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 80px;
  align-items: center;
}

/* ── Left: Circle + Rings ──────────────────────────────────── */
.koelai-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
  min-height: 300px;
  justify-content: center;
}

.koelai-voice-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  pointer-events: none;
}

.kvr {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  opacity: 0;
  transform: translate(-50%, -50%);
  animation: voiceRing 3.2s ease-out infinite;
}

.kvr-1 { width: 260px; height: 260px; animation-delay: 0s; }
.kvr-2 { width: 320px; height: 320px; animation-delay: 0.8s; }
.kvr-3 { width: 380px; height: 380px; animation-delay: 1.6s; }
.kvr-4 { width: 440px; height: 440px; animation-delay: 2.4s; }

@keyframes voiceRing {
  0%   { opacity: 0.7; transform: translate(-50%, -50%) scale(0.75); }
  100% { opacity: 0;   transform: translate(-50%, -50%) scale(1); }
}

.koelai-circle {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--color-border);
  box-shadow: 0 0 0 10px rgba(255,255,255,0.03), 0 24px 64px rgba(0,0,0,0.5);
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.koelai-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.koelai-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  padding: 6px 16px;
  border-radius: 100px;
  position: relative;
  z-index: 2;
}

.koelai-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px #4ade80;
  animation: pulseDot 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.3; transform: scale(1.6); }
}

/* ── Right: Content ────────────────────────────────────────── */
.koelai-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.koelai-heading {
  font-size: clamp(34px, 4vw, 52px);
  font-weight: var(--font-weight-bold);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--color-text);
  margin: 0;
}

.koelai-heading em {
  font-style: italic;
}

.koelai-sub {
  font-size: 16px;
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
  line-height: 1.5;
  margin: 0;
}

.koelai-desc {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin: 0;
}

.koelai-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.koelai-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.koelai-features li span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-text);
  flex-shrink: 0;
}

/* ── Animated Call Button ──────────────────────────────────── */
.koelai-call-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 18px 28px;
  background: var(--color-text);
  color: var(--color-bg);
  text-decoration: none;
  border-radius: 4px;
  margin-top: 8px;
  transition: transform 200ms ease, box-shadow 200ms ease;
  overflow: hidden;
}

.koelai-call-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}

.koelai-call-btn:active {
  transform: translateY(0);
}

/* Pulsing rings on the button */
.koelai-call-pulse {
  position: absolute;
  inset: 0;
  border-radius: 4px;
  border: 2px solid var(--color-text);
  opacity: 0;
  animation: btnPulse 2.4s ease-out infinite;
}

.koelai-call-pulse-2 {
  animation-delay: 1.2s;
}

@keyframes btnPulse {
  0%   { opacity: 0.5; transform: scale(1); }
  100% { opacity: 0;   transform: scale(1.08); }
}

.koelai-call-icon {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.koelai-call-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: relative;
  z-index: 1;
}

.koelai-call-top {
  font-size: 11px;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}

.koelai-call-num {
  font-size: 20px;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

/* ── Dark mode ─────────────────────────────────────────────── */
[data-theme="dark"] .koelai-call-btn {
  background: var(--color-white);
  color: var(--color-black);
}

[data-theme="dark"] .koelai-call-pulse {
  border-color: var(--color-white);
}

/* ── Tablet ─────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .koelai-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .koelai-visual {
    min-height: 260px;
  }

  .koelai-circle {
    width: 170px;
    height: 170px;
  }

  .kvr-1 { width: 200px; height: 200px; }
  .kvr-2 { width: 250px; height: 250px; }
  .kvr-3 { width: 300px; height: 300px; }
  .kvr-4 { width: 350px; height: 350px; }

  .koelai-features li {
    justify-content: center;
  }

  .koelai-call-btn {
    align-self: center;
  }
}

/* ── Mobile ────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .koelai-call-btn {
    width: 100%;
    justify-content: center;
  }

  .koelai-call-num {
    font-size: 16px;
  }

  /* Shrink voice rings so they don't overflow on small screens */
  .kvr-1 { width: 150px; height: 150px; }
  .kvr-2 { width: 190px; height: 190px; }
  .kvr-3 { width: 230px; height: 230px; }
  .kvr-4 { width: 270px; height: 270px; }

  .koelai-visual {
    min-height: 210px;
  }

  .koelai-circle {
    width: 130px;
    height: 130px;
  }
}

/* ── About Section ────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: start;
  margin-bottom: var(--spacing-2xl);
}

.about-text p {
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-md);
  font-size: 16px;
  line-height: 1.8;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-2xl);
}

.pillar-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  padding: var(--spacing-lg);
}

.pillar-card h4 {
  font-size: 16px;
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-sm);
  color: var(--color-text);
}

.pillar-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
}

.focus-box {
  background: var(--color-gray-100);
  border: 1px solid var(--color-border);
  padding: var(--spacing-lg);
}

.focus-box h4 {
  font-size: 15px;
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-xs);
  color: var(--color-text);
}

.focus-box p {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* ── Who We Serve ─────────────────────────────────────────── */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--spacing-md);
}

.audience-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.audience-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.audience-card h3 {
  font-size: 17px;
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-sm);
  color: var(--color-text);
}

.audience-card p {
  font-size: 13px;
  color: var(--color-text-muted);
  flex: 1;
  margin-bottom: var(--spacing-md);
  line-height: 1.6;
}

.audience-link {
  font-size: 13px;
  font-weight: var(--font-weight-medium);
  color: var(--color-black);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--color-black);
  padding-bottom: 2px;
  transition: gap var(--transition-fast);
}

.audience-link:hover {
  gap: 10px;
}

/* ── Services Section ─────────────────────────────────────── */
.services-tabs {
  display: flex;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--spacing-2xl);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  touch-action: pan-x;
  cursor: grab;
}

.services-tabs::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  flex-shrink: 0;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: var(--font-weight-medium);
  color: var(--color-text-muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  margin-bottom: -1px;
}

.tab-btn:hover {
  color: var(--color-text);
}

.tab-btn.active {
  color: var(--color-black);
  border-bottom-color: var(--color-black);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
}

.service-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  padding: var(--spacing-lg);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-card h3 {
  font-size: 18px;
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-xs);
  color: var(--color-text);
}

.service-card .service-desc {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-md);
  line-height: 1.5;
}

.service-benefits {
  margin-bottom: var(--spacing-md);
}

.service-benefits li {
  font-size: 13px;
  color: var(--color-text-muted);
  padding: 4px 0;
  padding-left: var(--spacing-md);
  position: relative;
}

.service-benefits li::before {
  content: '-';
  position: absolute;
  left: 0;
  color: var(--color-gray-600);
}

.service-learn-more {
  font-size: 13px;
  font-weight: var(--font-weight-medium);
  color: var(--color-black);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  border-bottom: 1px solid var(--color-black);
  padding-bottom: 1px;
  transition: opacity var(--transition-fast);
}

.service-learn-more:hover {
  opacity: 0.7;
}

.service-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.service-details.open {
  max-height: 200px;
}

.service-details-inner {
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--color-border);
  margin-top: var(--spacing-md);
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ── How It Works ─────────────────────────────────────────── */
.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
  margin-top: var(--spacing-2xl);
}

.timeline::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(10% + 20px);
  right: calc(10% + 20px);
  height: 1px;
  background: var(--color-border);
  z-index: 0;
}

.timeline-step {
  text-align: center;
  padding: 0 var(--spacing-md);
  position: relative;
  z-index: 1;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  font-size: 24px;
  font-weight: var(--font-weight-bold);
  color: var(--color-gray-400);
  margin: 0 auto var(--spacing-lg);
}

.step-title {
  font-size: 15px;
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-sm);
  color: var(--color-text);
}

.step-desc {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ── Achievements ─────────────────────────────────────────── */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

.achievement-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-black);
  padding: var(--spacing-lg);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.achievement-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.achievement-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ── Testimonials ─────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

.testimonial-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  padding: var(--spacing-xl);
  display: flex;
  flex-direction: column;
}

.testimonial-quote {
  font-size: 15px;
  font-style: italic;
  color: var(--color-text-muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: var(--spacing-lg);
}

.testimonial-author {
  border-top: 1px solid var(--color-border);
  padding-top: var(--spacing-md);
}

.testimonial-name {
  font-size: 14px;
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  display: block;
  margin-bottom: 2px;
}

.testimonial-role {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-lg) 0;
  cursor: pointer;
  gap: var(--spacing-md);
  width: 100%;
  background: none;
  border: none;
  text-align: left;
}

.faq-question-text {
  font-size: 16px;
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
  line-height: 1.4;
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: var(--font-weight-light);
  color: var(--color-text-muted);
  transition: transform var(--transition-normal);
  line-height: 1;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding-bottom: var(--spacing-lg);
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ── Contact Section ──────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--spacing-3xl);
  align-items: start;
}

.contact-info h3 {
  font-size: 20px;
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-lg);
  color: var(--color-text);
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: var(--spacing-lg);
}

.contact-detail-label {
  font-size: 11px;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.contact-detail-value {
  font-size: 15px;
  color: var(--color-text);
}

.contact-detail-value a {
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid var(--color-border);
  transition: border-color var(--transition-fast);
}

.contact-detail-value a:hover {
  border-color: var(--color-black);
}

.social-links-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  margin-top: var(--spacing-lg);
}

.social-links-list a {
  font-size: 14px;
  color: var(--color-text);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid var(--color-gray-100);
  transition: color var(--transition-fast);
}

.social-links-list a:hover {
  color: var(--color-black);
  font-weight: var(--font-weight-medium);
}

/* ── Podcast Section ──────────────────────────────────────── */
.podcast-section {
  border-top: 1px solid var(--color-border);
  padding-top: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

.podcast-section h4 {
  font-size: 14px;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-md);
}

.podcast-links {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.podcast-link {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  text-decoration: none;
  color: var(--color-text);
  padding: var(--spacing-sm);
  border: 1px solid var(--color-border);
  transition: border-color var(--transition-fast);
}

.podcast-link:hover {
  border-color: var(--color-black);
}

.podcast-link img {
  height: 28px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
}

.podcast-link span {
  font-size: 13px;
  font-weight: var(--font-weight-medium);
}

/* ── Contact Form ─────────────────────────────────────────── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.form-group label {
  font-size: 13px;
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px var(--spacing-md);
  font-size: 14px;
  color: var(--color-text);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 0;
  outline: none;
  transition: border-color var(--transition-fast);
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-black);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-group .file-note {
  font-size: 12px;
  color: var(--color-text-muted);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: #ffffff;
  cursor: pointer;
}

.form-checkbox-label {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.form-checkbox-label a {
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
}

.form-submit-btn {
  padding: 16px;
  font-size: 15px;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.02em;
}

.form-success {
  display: none;
  background: var(--color-black);
  color: var(--color-white);
  padding: var(--spacing-xl);
  text-align: center;
}

.form-success p {
  font-size: 16px;
  line-height: 1.6;
}

.form-error {
  display: none;
  font-size: 13px;
  color: #222222;
  background: var(--color-gray-100);
  border: 1px solid var(--color-border);
  padding: var(--spacing-md);
  margin-top: var(--spacing-sm);
}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: var(--color-gray-900);
  color: var(--color-white);
  padding: var(--spacing-3xl) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: var(--spacing-2xl);
  padding-bottom: var(--spacing-2xl);
}

.footer-col-title {
  font-size: 11px;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gray-400);
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-sm);
  border-bottom: 1px solid var(--color-border-dark);
}

.footer-logo {
  margin-bottom: var(--spacing-md);
}

.footer-logo img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-logo-text {
  font-size: 18px;
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  letter-spacing: -0.01em;
}

.footer-tagline {
  font-size: 12px;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gray-400);
  margin-bottom: var(--spacing-md);
}

.footer-desc {
  font-size: 13px;
  color: var(--color-gray-600);
  line-height: 1.7;
  margin-bottom: var(--spacing-lg);
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.footer-socials a {
  font-size: 12px;
  color: var(--color-gray-600);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-socials a:hover {
  color: var(--color-white);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.footer-links a {
  font-size: 13px;
  color: var(--color-gray-600);
  text-decoration: none;
  transition: color var(--transition-fast);
  padding: 3px 0;
}

.footer-links a:hover {
  color: var(--color-white);
}

.footer-contact-item {
  font-size: 13px;
  color: var(--color-gray-600);
  margin-bottom: var(--spacing-sm);
  line-height: 1.5;
}

.footer-contact-item a {
  color: var(--color-gray-600);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-contact-item a:hover {
  color: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid var(--color-border-dark);
  padding: var(--spacing-lg) 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.footer-copyright {
  font-size: 12px;
  color: var(--color-gray-600);
}

.footer-legal {
  display: flex;
  gap: var(--spacing-lg);
}

.footer-legal a {
  font-size: 12px;
  color: var(--color-gray-600);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-legal a:hover {
  color: var(--color-white);
}

/* ── WhatsApp Floating Button ─────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 80px;
  right: 24px;
  background: var(--color-black);
  color: var(--color-white);
  padding: 12px 20px;
  font-size: 13px;
  font-weight: var(--font-weight-medium);
  text-decoration: none;
  z-index: 999;
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.whatsapp-float:hover {
  background: var(--color-gray-800);
}

/* ── Back to Top ──────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--color-black);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top::before {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 8px solid var(--color-white);
}

/* ── Inner Pages (Privacy, Terms, Disclaimer) ─────────────── */
.inner-page {
  padding-top: calc(var(--nav-height) + var(--spacing-3xl));
  padding-bottom: var(--spacing-3xl);
}

.inner-page-header {
  margin-bottom: var(--spacing-2xl);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: var(--spacing-xl);
}

.inner-page-header .breadcrumb {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-md);
}

.inner-page-header .breadcrumb a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.inner-page-header .breadcrumb a:hover {
  color: var(--color-text);
}

.inner-page-header h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: var(--spacing-sm);
}

.inner-page-header .last-updated {
  font-size: 13px;
  color: var(--color-text-muted);
}

.legal-content {
  max-width: 780px;
}

.legal-content h2 {
  font-size: 20px;
  font-weight: var(--font-weight-bold);
  margin: var(--spacing-2xl) 0 var(--spacing-md);
  color: var(--color-text);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: var(--spacing-md);
}

.legal-content ul {
  margin: var(--spacing-md) 0;
  padding-left: var(--spacing-md);
}

.legal-content ul li {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: var(--spacing-xs);
  position: relative;
  padding-left: var(--spacing-md);
}

.legal-content ul li::before {
  content: '-';
  position: absolute;
  left: 0;
}

.legal-content a {
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
}

/* ── Focus Styles (Accessibility) ────────────────────────── */
:focus-visible {
  outline: 2px solid var(--color-black);
  outline-offset: 2px;
}

/* ── Scroll Reveal Helper Classes ─────────────────────────── */
.reveal {
  opacity: 0;
}

.reveal.revealed {
  opacity: 1;
}

/* ── Responsive Breakpoints ───────────────────────────────── */

/* 1024px */
@media (max-width: 1024px) {
  .podcast-banner-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .podcast-visualizer {
    display: none;
  }

  .podcast-banner-right {
    align-items: flex-start;
  }

  .audience-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }

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

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

  .timeline {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }

  .timeline::before {
    display: none;
  }

  .timeline-step {
    text-align: left;
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: var(--spacing-md);
    align-items: start;
    padding: 0;
  }

  .step-number {
    margin: 0;
  }

  .mega-menu {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── 768px — Tablet / Large Mobile ───────────────────────── */
@media (max-width: 768px) {
  :root {
    --spacing-3xl: 56px;
    --spacing-2xl: 36px;
    --spacing-xl:  28px;
    --nav-height:  64px;
  }

  /* ── Navigation ── */
  .nav-links,
  .nav-cta {
    display: none;
  }

  /* Hide nav logo on mobile */
  .nav-logo {
    display: none;
  }

  .nav-right {
    gap: 8px;
    margin-left: auto;
  }

  /* Keep theme toggle but make it smaller */
  .theme-toggle {
    display: flex;
    font-size: 12px;
    padding: 6px 10px;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-mobile {
    display: block;
  }

  /* ── Ticker ── */
  .ticker-bar {
    top: var(--nav-height);
  }

  .ticker-text {
    font-size: 11px;
  }

  /* ── Hero ── */
  .hero {
    padding-top: 48px;
    min-height: 100svh;
  }

  .hero-content {
    padding: var(--spacing-2xl) var(--spacing-md);
  }

  .hero-logo-circle {
    width: 110px;
    height: 110px;
    margin-bottom: var(--spacing-md);
  }

  .hero-logo-circle img {
    width: 86px;
    height: 86px;
  }

  .hero-eyebrow {
    font-size: 11px;
  }

  .hero-headline {
    font-size: clamp(32px, 8vw, 44px);
    letter-spacing: -0.02em;
  }

  .hero-sub {
    font-size: 15px;
    padding: 0 var(--spacing-sm);
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .wit-line-1,
  .wit-line-2 {
    font-size: 11px;
  }

  .wit-line-3 {
    font-size: 18px;
  }

  /* ── Podcast Banner ── */
  .podcast-banner {
    padding: 32px 0;
  }

  .podcast-banner-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* Hide the center desktop visualizer on mobile */
  .podcast-visualizer-desktop {
    display: none;
  }

  /* Show the inline mobile visualizer next to title */
  .podcast-visualizer-mobile {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
  }

  .podcast-visualizer-mobile .podcast-wave {
    height: 24px;
    gap: 2px;
  }

  .podcast-visualizer-mobile .podcast-wave span {
    width: 2px;
  }

  .podcast-title-row {
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
  }

  .podcast-banner-title {
    font-size: 32px;
    margin: 0;
  }

  .podcast-banner-left {
    padding-bottom: 24px;
    border-bottom: 1px solid #1a1a1a;
    margin-bottom: 24px;
  }

  /* Right column: full width, left aligned */
  .podcast-banner-right {
    align-items: flex-start;
    width: 100%;
  }

  .podcast-listen-label {
    margin-bottom: 12px;
  }

  /* Badges side by side, equal width */
  .podcast-badge-links {
    flex-direction: row;
    gap: 12px;
    width: 100%;
  }

  .podcast-badge {
    flex: 1;
    min-width: 0;
    padding: 12px 14px;
    justify-content: center;
  }

  .podcast-badge span {
    font-size: 12px;
  }

  /* ── Stats Bar ── */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .stat-item:nth-child(1),
  .stat-item:nth-child(2) {
    border-bottom: 1px solid var(--color-border-dark);
  }

  .stat-number {
    font-size: 36px;
  }

  /* ── Section padding ── */
  .section {
    padding: var(--spacing-3xl) 0;
  }

  .section-header {
    margin-bottom: var(--spacing-xl);
  }

  .section-subtitle {
    font-size: 15px;
  }

  /* ── About ── */
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }

  .pillars-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .focus-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
  }

  /* ── Who We Serve ── */
  .audience-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
  }

  /* ── Services ── */
  .services-tabs {
    gap: 0;
  }

  .tab-btn {
    padding: 12px 14px;
    font-size: 13px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  /* ── Timeline ── */
  .timeline {
    gap: var(--spacing-lg);
  }

  .step-number {
    width: 48px;
    height: 48px;
    font-size: 18px;
    flex-shrink: 0;
  }

  /* ── Achievements ── */
  .achievements-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  /* ── Testimonials ── */
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  /* ── Contact ── */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }

  .social-links-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .podcast-links {
    flex-direction: row;
    gap: var(--spacing-sm);
  }

  .podcast-link {
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
    gap: 8px;
    white-space: nowrap;
    overflow: hidden;
  }

  .podcast-link img {
    height: 22px;
    flex-shrink: 0;
  }

  .podcast-link span {
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* ── Footer ── */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-sm);
  }

  .footer-legal {
    gap: var(--spacing-md);
    flex-wrap: wrap;
  }

  /* ── Floating Buttons — icon only on mobile, separated corners ── */
  .whatsapp-float {
    bottom: 20px;
    right: auto;
    left: 16px;
    padding: 12px;
    width: 48px;
    height: 48px;
    justify-content: center;
    font-size: 0;           /* hide text label */
    border-radius: 50%;
  }

  .whatsapp-float::before {
    content: '';
    display: block;
    width: 22px;
    height: 22px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347z'/%3E%3Cpath d='M12 0C5.373 0 0 5.373 0 12c0 2.123.554 4.112 1.524 5.836L.057 23.886l6.223-1.433A11.94 11.94 0 0012 24c6.627 0 12-5.373 12-12S18.627 0 12 0zm0 22c-1.86 0-3.601-.5-5.1-1.37l-.36-.214-3.754.864.944-3.635-.235-.374A9.96 9.96 0 012 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10z'/%3E%3C/svg%3E") center/contain no-repeat;
    flex-shrink: 0;
  }

  .back-to-top {
    right: 16px;
    bottom: 20px;
    width: 48px;
    height: 48px;
  }

  /* ── Koelai call strip mobile fix ── */
  .koelai-call-btn {
    width: 100%;
    justify-content: flex-start;
    padding: 16px 20px;
  }

  .koelai-call-num {
    font-size: 18px;
  }

  /* ── PublishMatch banner mobile ── */
  .pm-hook-pill {
    font-size: 11px;
  }

  .pm-banner-title {
    font-size: 22px;
  }
}

/* ── 480px — Small Mobile ─────────────────────────────────── */
@media (max-width: 480px) {
  .focus-grid {
    grid-template-columns: 1fr;
  }

  .audience-grid {
    grid-template-columns: 1fr;
  }

  .tab-btn {
    padding: 10px 10px;
    font-size: 12px;
  }

  .podcast-badge-links {
    flex-direction: column;
  }

  .podcast-badge {
    flex: unset;
    width: 100%;
  }

  .hero-headline {
    font-size: clamp(28px, 9vw, 38px);
  }

  .wit-line-3 {
    font-size: 16px;
  }

  .container {
    padding: 0 var(--spacing-md);
  }

  .section-heading {
    font-size: clamp(24px, 7vw, 32px);
  }

  .podcast-banner-title {
    font-size: 28px;
  }

  .podcast-banner-desc {
    font-size: 13px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px; /* prevents iOS zoom on focus */
  }

  .footer-legal {
    flex-direction: column;
    gap: var(--spacing-xs);
  }
}

/* ── 375px — Smallest Mobile ──────────────────────────────── */
@media (max-width: 375px) {
  :root {
    --spacing-3xl: 48px;
    --spacing-2xl: 28px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--color-border-dark);
    padding: var(--spacing-md);
  }

  .stat-item:last-child {
    border-bottom: none;
  }

  .hero-logo-circle {
    width: 90px;
    height: 90px;
  }

  .hero-logo-circle img {
    width: 70px;
    height: 70px;
  }

  .mega-menu {
    display: none; /* already hidden on mobile but safety */
  }
}
