/*
Theme Name: Tikitfy
Theme URI: https://tikitfy.nl
Author: Tikitfy
Author URI: https://tikitfy.nl
Description: Smart Ticketing for Every Experience — the official Tikitfy.nl WordPress theme. A clean, modern light theme inspired by CM.com with bold typography and high-converting layouts.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tickitfy
Tags: ticketing, events, festivals, modern, light, clean, one-page, full-width-template
*/

/* ============================================================
   DESIGN TOKENS — Light theme matching CM.com aesthetic
   ============================================================ */
:root {
  /* Brand Colors */
  --clr-primary:       #7B2FFF;
  --clr-primary-dark:  #6020DD;
  --clr-primary-light: #F0E8FF;
  --clr-secondary:     #FF3B5C;
  --clr-accent:        #FF9A3C;

  /* Light surfaces */
  --clr-bg:            #ffffff;
  --clr-bg-alt:        #F7F5FF;
  --clr-surface:       #ffffff;
  --clr-surface-2:     #F2F0F8;
  --clr-card:          #ffffff;

  /* Dark bg for hero / footer / CTA */
  --clr-dark:          #0D0B14;
  --clr-dark-2:        #1a1030;

  /* Text */
  --clr-text:          #0D0B14;
  --clr-text-mid:      #3D3554;
  --clr-text-muted:    #6E6886;
  --clr-white:         #ffffff;

  /* Borders */
  --clr-border:        #E4E0F0;
  --clr-border-strong: #C0B8D8;

  /* Gradients */
  --grad-hero:    linear-gradient(135deg, #0D0B14 0%, #1e0e38 50%, #2a1250 100%);
  --grad-primary: linear-gradient(135deg, #7B2FFF 0%, #FF3B5C 100%);
  --grad-warm:    linear-gradient(135deg, #FF3B5C 0%, #FF9A3C 100%);

  /* Typography */
  --font-display: 'Sora', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  8rem;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  /* Shadows */
  --shadow-xs:   0 1px 4px rgba(80,60,140,0.07);
  --shadow-sm:   0 2px 12px rgba(80,60,140,0.09);
  --shadow-md:   0 8px 32px rgba(80,60,140,0.11);
  --shadow-lg:   0 24px 64px rgba(80,60,140,0.14);
  --shadow-card: 0 4px 24px rgba(80,60,140,0.10);

  /* Transitions */
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --container: 1200px;
  --nav-h: 72px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

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

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--clr-text);
}

h1 { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); font-weight: 700; }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.8rem); }
h4 { font-size: 1.15rem; }
p  { color: var(--clr-text-mid); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clr-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 20px; height: 2px;
  background: var(--clr-primary);
  flex-shrink: 0;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--space-md); }
.section        { padding: var(--space-xl) 0; }
.section--tight { padding: var(--space-lg) 0; }

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

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .section { padding: var(--space-lg) 0; }
}
@media (max-width: 560px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  border-radius: 100px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.22s var(--ease-out);
  white-space: nowrap;
}

.btn--primary {
  background: var(--grad-primary);
  color: white;
  box-shadow: 0 4px 16px rgba(123,47,255,0.28);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(123,47,255,0.38); }

.btn--secondary {
  background: var(--grad-warm);
  color: white;
  box-shadow: 0 4px 16px rgba(255,59,92,0.22);
}
.btn--secondary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(255,59,92,0.32); }

.btn--outline {
  background: transparent;
  color: var(--clr-primary);
  border: 2px solid var(--clr-primary);
}
.btn--outline:hover { background: var(--clr-primary-light); transform: translateY(-2px); }

.btn--ghost {
  background: rgba(255,255,255,0.12);
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(255,255,255,0.22); transform: translateY(-2px); }

.btn--white { background: white; color: var(--clr-primary); box-shadow: var(--shadow-md); }
.btn--white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--clr-border);
  box-shadow: 0 1px 20px rgba(80,60,140,0.08);
}

/* Nav starts transparent on dark hero → white text */
.site-header:not(.scrolled) .nav-links a,
.site-header:not(.scrolled) .site-logo .logo-text { color: rgba(255,255,255,0.9); }
.site-header:not(.scrolled) .nav-links a:hover     { color: #fff; }
.site-header:not(.scrolled) .hamburger span        { background: white; }

/* After scroll → dark text */
.site-header.scrolled .nav-links a         { color: var(--clr-text-mid); }
.site-header.scrolled .site-logo .logo-text{ color: var(--clr-text); }
.site-header.scrolled .hamburger span      { background: var(--clr-text); }
.site-header.scrolled .btn--ghost {
  background: transparent;
  color: var(--clr-primary);
  border: 2px solid var(--clr-primary);
  backdrop-filter: none;
}
.site-header.scrolled .btn--ghost:hover { background: var(--clr-primary-light); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.site-logo .logo-mark {
  width: 34px; height: 34px;
  background: var(--grad-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: white;
  flex-shrink: 0;
}

.site-logo .logo-text { color: var(--clr-text); transition: color 0.3s; }

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--clr-text-mid);
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--clr-primary); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s var(--ease-out);
  border-radius: 2px;
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 0.75rem; }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: white; transition: all 0.25s; border-radius: 2px; }

@media (max-width: 900px) { .nav-links { display: none; } .hamburger { display: flex; } }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: white;
  z-index: 999;
  padding: calc(var(--nav-h) + 2rem) var(--space-md) var(--space-md);
  flex-direction: column;
  gap: 1.25rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--clr-text-muted); transition: color 0.2s; }
.mobile-menu a:hover { color: var(--clr-primary); }

/* ============================================================
   HERO — Dark background (matches CM.com dark hero)
   ============================================================ */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  background: var(--grad-hero);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123,47,255,0.25) 0%, transparent 70%);
  top: -150px; right: -100px;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,59,92,0.12) 0%, transparent 70%);
  bottom: -100px; left: -50px;
  pointer-events: none;
}

.hero h1, .hero .hero-description { color: var(--clr-white); }
.hero .hero-description { opacity: 0.8; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content { display: flex; flex-direction: column; gap: 1.5rem; }

.hero-title .highlight {
  display: block;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description { font-size: 1.15rem; max-width: 480px; line-height: 1.7; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats { display: flex; gap: var(--space-md); margin-top: 0.5rem; }
.stat { display: flex; flex-direction: column; }

.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.5); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 500; }

.hero-visual { position: relative; }
.hero-phone-wrap { position: relative; display: flex; justify-content: center; }

.phone-mockup {
  width: 280px;
  background: rgba(255,255,255,0.08);
  border-radius: 36px;
  padding: 14px;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(123,47,255,0.2);
  border: 1px solid rgba(255,255,255,0.15);
  position: relative; z-index: 2;
  animation: floatPhone 4s ease-in-out infinite;
}

@keyframes floatPhone {
  0%,100% { transform: translateY(0px) rotate(-1.5deg); }
  50%      { transform: translateY(-14px) rotate(1.5deg); }
}

.phone-screen {
  border-radius: 28px;
  overflow: hidden;
  background: #1a1030;
  min-height: 480px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.phone-event-card { background: var(--grad-primary); border-radius: 14px; padding: 1rem; color: white; }
.phone-event-title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin-bottom: 0.2rem; }
.phone-event-meta  { font-size: 0.78rem; opacity: 0.85; }
.phone-tickets     { display: flex; flex-direction: column; gap: 0.45rem; }

.phone-ticket-item {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ticket-type  { font-size: 0.82rem; font-weight: 600; color: rgba(255,255,255,0.9); }
.ticket-price { font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; color: #c78fff; }

.phone-cta {
  background: var(--grad-primary);
  border-radius: 10px;
  padding: 0.85rem;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: white;
  margin-top: auto;
}

.badge-float {
  position: absolute;
  background: rgba(255,255,255,0.95);
  border: 1px solid var(--clr-border);
  border-radius: 12px;
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--clr-text);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  z-index: 3;
}

.badge-float--top-left    { top: 40px; left: -40px; animation: floatBadge1 3.5s ease-in-out infinite; }
.badge-float--bottom-right{ bottom: 60px; right: -30px; animation: floatBadge2 4.5s ease-in-out infinite 1s; }

@keyframes floatBadge1 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes floatBadge2 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22C55E;
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(34,197,94,0.6);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot { 0%,100% { opacity:1; } 50% { opacity:0.4; } }

@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-visual { display: none; } }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  padding: var(--space-md) 0;
  background: white;
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  overflow: hidden;
}

.trust-bar-label {
  text-align: center;
  font-size: 0.72rem;
  color: var(--clr-text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.logo-ticker { display: flex; gap: var(--space-lg); animation: ticker 25s linear infinite; width: max-content; }
.logo-ticker:hover { animation-play-state: paused; }
@keyframes ticker { 0% { transform:translateX(0); } 100% { transform:translateX(-50%); } }

.logo-item {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--clr-border-strong);
  white-space: nowrap;
  transition: color 0.2s;
}
.logo-item:hover { color: var(--clr-primary); }

/* ============================================================
   FEATURES — White
   ============================================================ */
.features-section { background: white; }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}
.section-header p { font-size: 1.05rem; color: var(--clr-text-muted); line-height: 1.7; }

.feature-card {
  background: white;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all 0.28s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover { border-color: rgba(123,47,255,0.2); transform: translateY(-4px); box-shadow: var(--shadow-card); }
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: var(--clr-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.feature-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.feature-card p  { color: var(--clr-text-muted); font-size: 0.88rem; line-height: 1.6; }

/* ============================================================
   INDUSTRY — Alt bg
   ============================================================ */
.industry-section { background: var(--clr-bg-alt); }

.industry-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
  box-shadow: var(--shadow-sm);
}
.industry-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.industry-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.4s var(--ease-out); }
.industry-card:hover .industry-bg { transform: scale(1.04); }

.industry-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,11,20,0.9) 0%, rgba(13,11,20,0.25) 60%, transparent 100%);
}

.industry-content { position: relative; z-index: 1; padding: 1.5rem; }
.industry-tag { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: #c78fff; margin-bottom: 0.4rem; font-weight: 600; }
.industry-card h3 { font-size: 1.3rem; margin-bottom: 0.3rem; color: white; }
.industry-card p  { color: rgba(255,255,255,0.7); font-size: 0.88rem; }

.industry-card--music   .industry-bg { background: linear-gradient(135deg, #2d1060 0%, #7b2fff 100%); }
.industry-card--sports  .industry-bg { background: linear-gradient(135deg, #0a2060 0%, #2f70ff 100%); }
.industry-card--museums .industry-bg { background: linear-gradient(135deg, #1a2a10 0%, #3d7a20 100%); }
.industry-emoji { font-size: 5rem; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -70%); opacity: 0.3; pointer-events: none; }

/* ============================================================
   PLATFORM — White
   ============================================================ */
.platform-section { background: white; }

.platform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); align-items: center; }

.platform-dashboard {
  background: var(--clr-dark);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-lg);
}

.dashboard-header { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1.25rem; }
.dashboard-dot { width: 12px; height: 12px; border-radius: 50%; }
.dashboard-dot:nth-child(1) { background: #FF5F57; }
.dashboard-dot:nth-child(2) { background: #FEBC2E; }
.dashboard-dot:nth-child(3) { background: #28C840; }
.dashboard-title { font-family: var(--font-mono); font-size: 0.72rem; color: rgba(255,255,255,0.35); margin-left: auto; }

.stats-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 0.75rem; margin-bottom: 1.25rem; }

.mini-stat { background: rgba(255,255,255,0.06); border-radius: var(--radius-sm); padding: 0.75rem; text-align: center; }
.mini-stat-val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.mini-stat-label { font-size: 0.68rem; color: rgba(255,255,255,0.4); margin-top: 2px; text-transform: uppercase; letter-spacing: 0.06em; }

.chart-bar-row { display: flex; flex-direction: column; gap: 0.5rem; }
.chart-bar-item { display: flex; align-items: center; gap: 0.75rem; }
.chart-bar-label { font-size: 0.72rem; color: rgba(255,255,255,0.4); width: 42px; flex-shrink: 0; }
.chart-bar-track { flex: 1; height: 7px; background: rgba(255,255,255,0.06); border-radius: 100px; overflow: hidden; }
.chart-bar-fill  { height: 100%; border-radius: 100px; background: var(--grad-primary); transition: width 1.5s var(--ease-out); }
.chart-bar-val   { font-size: 0.72rem; font-weight: 600; width: 34px; text-align: right; flex-shrink: 0; color: rgba(255,255,255,0.5); }

.platform-features { display: flex; flex-direction: column; gap: 1.75rem; }
.platform-feature  { display: flex; gap: 1rem; align-items: flex-start; }

.platform-feature-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--clr-primary-light); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.platform-feature h4 { margin-bottom: 0.2rem; }
.platform-feature p  { color: var(--clr-text-muted); font-size: 0.9rem; }

@media (max-width: 900px) { .platform-grid { grid-template-columns: 1fr; } }

/* ============================================================
   TESTIMONIALS — Alt bg
   ============================================================ */
.testimonials-section { background: var(--clr-bg-alt); }

.testimonial-card {
  background: white;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-xs);
  transition: box-shadow 0.3s, transform 0.3s;
}
.testimonial-card:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); }

.testimonial-stars  { color: #FBBF24; font-size: 1rem; letter-spacing: 2px; }
.testimonial-quote  { font-size: 0.95rem; line-height: 1.75; color: var(--clr-text-mid); font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; }

.testimonial-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: white;
  flex-shrink: 0;
}

.testimonial-name { font-weight: 700; font-size: 0.9rem; color: var(--clr-text); }
.testimonial-role { font-size: 0.78rem; color: var(--clr-text-muted); }

/* ============================================================
   PRICING — White, clean cards, FIXED font
   ============================================================ */
.pricing-strip { background: white; padding: var(--space-xl) 0; }

.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--space-md); align-items: start; }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }

.pricing-card {
  background: white;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }

.pricing-card--featured {
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 4px rgba(123,47,255,0.08);
}

.pricing-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--grad-primary);
  color: white;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-name {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--clr-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

/* ── PRICING PRICE: Syne display font, not mono ── */
.pricing-price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: var(--clr-text);
  margin-bottom: 0.25rem;
  letter-spacing: -0.04em;
}

.pricing-price sub {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--clr-text-muted);
  vertical-align: baseline;
  letter-spacing: 0;
}

.pricing-period { font-size: 0.85rem; color: var(--clr-text-muted); margin-bottom: 1.5rem; }

.pricing-features { display: flex; flex-direction: column; gap: 0.65rem; margin-bottom: 1.75rem; }
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--clr-text-mid);
  line-height: 1.4;
}
.pricing-features li::before {
  content: '✓';
  color: var(--clr-primary);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================================================
   CTA BAND — Dark (matches CM.com dark CTA sections)
   ============================================================ */
.cta-band {
  padding: var(--space-xl) 0;
  background: var(--grad-hero);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(123,47,255,0.15) 0%, transparent 100%);
  pointer-events: none;
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.cta-inner h2 { color: white; }
.cta-inner p  { font-size: 1.05rem; color: rgba(255,255,255,0.7); line-height: 1.7; }
.cta-actions  { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   BLOG — White
   ============================================================ */
.blog-section { background: white; }

.blog-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: white;
  border: 1px solid var(--clr-border);
  transition: all 0.28s var(--ease-out);
}
.blog-card:hover { border-color: rgba(123,47,255,0.2); transform: translateY(-4px); box-shadow: var(--shadow-card); }

.blog-thumb {
  height: 190px;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }

.blog-body { padding: 1.25rem; }

.blog-tag { font-family: var(--font-mono); font-size: 0.68rem; color: var(--clr-primary); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; margin-bottom: 0.5rem; }
.blog-card h4 { font-size: 0.95rem; line-height: 1.45; margin-bottom: 0.4rem; color: var(--clr-text); transition: color 0.2s; }
.blog-card:hover h4 { color: var(--clr-primary); }
.blog-meta { font-size: 0.78rem; color: var(--clr-text-muted); }

/* ============================================================
   FOOTER — Dark (like CM.com)
   ============================================================ */
.site-footer {
  background: var(--clr-dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: var(--space-xl) 0 var(--space-md);
}

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-lg); margin-bottom: var(--space-lg); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand { display: flex; flex-direction: column; gap: 1rem; }
.footer-brand .site-logo .logo-text { color: white; }
.footer-tagline { color: rgba(255,255,255,0.4); font-size: 0.88rem; line-height: 1.65; max-width: 280px; }

.footer-socials { display: flex; gap: 0.65rem; margin-top: 0.5rem; }
.social-btn {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.4);
  transition: all 0.2s;
}
.social-btn:hover { background: var(--clr-primary); border-color: var(--clr-primary); color: white; }

.footer-col h5 { font-family: var(--font-display); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: white; margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a  { font-size: 0.88rem; color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-col a:hover { color: white; }

.footer-bottom {
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal { font-size: 0.78rem; color: rgba(255,255,255,0.3); }
.footer-legal-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-legal-links a { font-size: 0.78rem; color: rgba(255,255,255,0.3); transition: color 0.2s; }
.footer-legal-links a:hover { color: white; }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out); }
.reveal.visible   { opacity: 1; transform: translateY(0); }
.reveal-delay-1   { transition-delay: 0.1s; }
.reveal-delay-2   { transition-delay: 0.2s; }
.reveal-delay-3   { transition-delay: 0.3s; }
.reveal-delay-4   { transition-delay: 0.4s; }

/* ============================================================
   PAGE TEMPLATES
   ============================================================ */
.page-hero { padding: calc(var(--nav-h) + var(--space-lg)) 0 var(--space-lg); background: var(--grad-hero); text-align: center; }
.page-hero h1 { color: white; }

.entry-content { max-width: 800px; margin: 0 auto; padding: var(--space-lg) var(--space-md); }
.entry-content p           { margin-bottom: 1.25rem; color: var(--clr-text-mid); line-height: 1.8; }
.entry-content h2          { margin: 2.5rem 0 1rem; }
.entry-content h3          { margin: 2rem 0 0.75rem; }
.entry-content h4          { margin: 1.5rem 0 0.5rem; }
.entry-content a           { color: var(--clr-primary); }
.entry-content a:hover     { text-decoration: underline; }
.entry-content ul, .entry-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.entry-content li          { color: var(--clr-text-mid); margin-bottom: 0.4rem; line-height: 1.7; }
.entry-content blockquote  { border-left: 3px solid var(--clr-primary); padding: 0.75rem 1.25rem; margin: 1.5rem 0; background: var(--clr-bg-alt); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

/* ============================================================
   SINGLE POST
   ============================================================ */
.post-hero {
  background: var(--grad-hero);
  padding: calc(var(--nav-h) + var(--space-lg)) 0 var(--space-lg);
}
.post-hero__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.post-cat-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(123,47,255,0.35);
  color: #d4b8ff;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  border: 1px solid rgba(123,47,255,0.4);
  width: fit-content;
  transition: background 0.2s;
}
.post-cat-badge:hover { background: rgba(123,47,255,0.5); }
.post-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.12;
  color: white;
  letter-spacing: -0.025em;
}
.post-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
}
.post-meta__sep { opacity: 0.4; }
.post-thumb-wrap { max-width: 900px; margin: 0 auto; padding: var(--space-md) var(--space-md) 0; }
.post-thumb { width: 100%; height: auto; border-radius: var(--radius-lg); display: block; box-shadow: var(--shadow-lg); }

/* Article body */
.post-body { max-width: 760px; margin: 0 auto; padding: var(--space-lg) var(--space-md); }

/*
 * Post content typography
 * Targets both plain HTML and Gutenberg block classes (.wp-block-*)
 * Uses explicit pixel/rem values — NOT clamp() — so mobile stays readable.
 */
.post-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--clr-text-mid);
}

/* Spacing between all direct children */
.post-content > * + * { margin-top: 1.4em; }

/* Paragraphs */
.post-content p,
.post-content .wp-block-paragraph {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--clr-text-mid);
  margin: 0 0 1.25em;
  max-width: 100%;
}

/* ── Headings: fixed sizes, no giant clamp ── */
.post-content h2,
.post-content .wp-block-heading[data-level="2"],
.post-content h2.wp-block-heading {
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.018em !important;
  color: var(--clr-text) !important;
  margin: 2.5em 0 0.65em !important;
  padding-top: 0.75em !important;
  border-top: 2px solid var(--clr-border) !important;
}

.post-content h3,
.post-content h3.wp-block-heading {
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  letter-spacing: -0.015em !important;
  color: var(--clr-text) !important;
  margin: 2em 0 0.5em !important;
}

.post-content h4,
.post-content h4.wp-block-heading {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: var(--clr-text) !important;
  margin: 1.75em 0 0.4em !important;
}

/* Reset the global h2/h3 clamp inside post-content */
.post-content h2 { font-size: 1.5rem; }
.post-content h3 { font-size: 1.2rem; }
.post-content h4 { font-size: 1.05rem; }

/* Links */
.post-content a {
  color: var(--clr-primary);
  text-decoration: underline;
  text-decoration-color: rgba(123,47,255,0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}
.post-content a:hover { text-decoration-color: var(--clr-primary); }

/* Bold */
.post-content strong { color: var(--clr-text); font-weight: 700; }

/* Lists */
.post-content ul,
.post-content ol,
.post-content .wp-block-list {
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  margin: 0 0 1.25em;
}
.post-content ul li,
.post-content .wp-block-list li { list-style: disc; }
.post-content ol li { list-style: decimal; }
.post-content li { color: var(--clr-text-mid); line-height: 1.7; }

/* Blockquote */
.post-content blockquote,
.post-content .wp-block-quote {
  margin: 2em 0;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--clr-primary);
  background: var(--clr-bg-alt);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  font-size: 1.05rem;
}
.post-content blockquote p,
.post-content .wp-block-quote p { margin: 0; }

/* Code */
.post-content code { font-family: var(--font-mono); font-size: 0.88em; background: var(--clr-surface-2); color: var(--clr-primary); padding: 0.15em 0.4em; border-radius: 4px; }
.post-content pre,
.post-content .wp-block-code { background: var(--clr-dark); border-radius: var(--radius-md); padding: 1.25rem 1.5rem; overflow-x: auto; }
.post-content pre code { background: none; color: rgba(255,255,255,0.85); padding: 0; }

/* Images */
.post-content img { border-radius: var(--radius-md); max-width: 100%; height: auto; }
.post-content figure,
.post-content .wp-block-image { margin: 2em 0; }
.post-content figcaption,
.post-content .wp-block-image figcaption { font-size: 0.82rem; color: var(--clr-text-muted); text-align: center; margin-top: 0.5rem; font-style: italic; }

/* Separator */
.post-content hr,
.post-content .wp-block-separator { border: none; border-top: 1px solid var(--clr-border); margin: 2.5em 0; }

/* Buttons inside content */
.post-content .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background: var(--grad-primary);
  color: white;
  border-radius: 100px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.post-content .wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(123,47,255,0.3); }

/* Tags */
.post-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: var(--space-md); padding-top: var(--space-md); border-top: 1px solid var(--clr-border); }
.post-tag { display: inline-block; padding: 0.3rem 0.85rem; background: var(--clr-bg-alt); border: 1px solid var(--clr-border); border-radius: 100px; font-size: 0.8rem; color: var(--clr-text-muted); transition: all 0.2s; }
.post-tag:hover { background: var(--clr-primary-light); border-color: var(--clr-primary); color: var(--clr-primary); }

/* Post navigation */
.post-nav { background: var(--clr-bg-alt); border-top: 1px solid var(--clr-border); border-bottom: 1px solid var(--clr-border); }
.post-nav__inner { max-width: 900px; margin: 0 auto; padding: var(--space-md); display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
@media (max-width: 600px) { .post-nav__inner { grid-template-columns: 1fr; } }
.post-nav__item { display: flex; flex-direction: column; gap: 0.4rem; padding: 1rem 1.25rem; background: white; border: 1px solid var(--clr-border); border-radius: var(--radius-md); transition: all 0.22s var(--ease-out); }
.post-nav__item:hover { border-color: rgba(123,47,255,0.3); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.post-nav__item--next { text-align: right; }
.post-nav__dir { font-family: var(--font-mono); font-size: 0.7rem; color: var(--clr-primary); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.post-nav__title { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; color: var(--clr-text); line-height: 1.3; }

/* Related posts */
.post-related { background: white; padding: var(--space-lg) 0; }
.post-related__inner { max-width: var(--container); margin: 0 auto; padding: 0 var(--space-md); }
.post-related__title { font-size: 1.5rem; margin-bottom: var(--space-md); }

/* Comments */
.post-comments { background: var(--clr-bg-alt); padding: var(--space-lg) 0; border-top: 1px solid var(--clr-border); }
.post-comments__inner { max-width: 760px; margin: 0 auto; padding: 0 var(--space-md); }

/* ============================================================
   WP CORE
   ============================================================ */
.wp-block-image { margin: var(--space-md) 0; }
.wp-block-image img { border-radius: var(--radius-md); }
.screen-reader-text { border:0; clip:rect(1px,1px,1px,1px); clip-path:inset(50%); height:1px; margin:-1px; overflow:hidden; padding:0; position:absolute; width:1px; word-wrap:normal !important; }

/* ============================================================
   UTILITIES
   ============================================================ */
.text-gradient { background: var(--grad-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.text-center { text-align: center; }
.text-muted  { color: var(--clr-text-muted); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mb-md { margin-bottom: var(--space-md); }


/* Homepage: keep original design, but let sections breathe full-width */
.site-main--home {
  overflow: clip;
}
.site-main--home > section,
.site-main--home > .section,
.site-main--home > .hero,
.site-main--home > .cta-band,
.site-main--home > .logo-strip {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}
.site-main--home .container {
  max-width: 1240px;
}
@media (max-width: 767px) {
  .site-main--home .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}


/* ============================================================
   MARKETING PAGE TEMPLATE (ACF) — full redesign
   Prefix: .mp-  to avoid collisions
   ============================================================ */

/* ── Shared eyebrow label ───────────────────────────────────── */
.mp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-primary);
}
.mp-eyebrow::before {
  content: '';
  display: block;
  width: 18px;
  height: 2px;
  background: var(--clr-primary);
  flex-shrink: 0;
}
.mp-eyebrow--light { color: rgba(255,255,255,0.6); }
.mp-eyebrow--light::before { background: rgba(255,255,255,0.4); }

/* ── HERO ───────────────────────────────────────────────────── */
.mp-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + 4rem) 0 var(--space-lg);
  background: linear-gradient(180deg, #faf7ff 0%, #f3eeff 40%, #ffffff 100%);
}

/* decorative gradient blobs */
.mp-hero__blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.mp-hero__blob--1 {
  width: 600px; height: 600px;
  top: -200px; right: -150px;
  background: radial-gradient(circle, rgba(123,47,255,0.1) 0%, transparent 70%);
}
.mp-hero__blob--2 {
  width: 400px; height: 400px;
  bottom: -100px; left: -80px;
  background: radial-gradient(circle, rgba(255,59,92,0.07) 0%, transparent 70%);
}

.mp-hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-lg);
  align-items: center;
  position: relative;
  z-index: 1;
}

.mp-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mp-hero__title {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--clr-text);
  margin: 0;
}

.mp-hero__lead {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--clr-text-mid);
  max-width: 52ch;
  margin: 0;
}

.mp-hero__actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

/* Hero media */
.mp-hero__media { position: relative; }

.mp-hero__img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 60px rgba(123,47,255,0.08);
  display: block;
}

/* Illustrated placeholder — shows when no hero image uploaded */
.mp-hero__placeholder {
  border-radius: var(--radius-lg);
  background: var(--clr-surface-2);
  border: 1px solid var(--clr-border);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-md);
}

.mp-placeholder__card {
  background: white;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-xs);
}

.mp-placeholder__bar {
  height: 10px;
  border-radius: 100px;
  background: var(--clr-surface-2);
  margin-bottom: 0.5rem;
}
.mp-placeholder__bar--title { width: 60%; background: linear-gradient(90deg, #e8e0ff, #d4c8ff); }
.mp-placeholder__bar--sub   { width: 40%; }

.mp-placeholder__chips {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.75rem;
}
.mp-placeholder__chips span {
  height: 22px;
  width: 56px;
  border-radius: 100px;
  background: var(--clr-primary-light);
}
.mp-placeholder__chips span:nth-child(2) { background: rgba(255,59,92,0.12); }
.mp-placeholder__chips span:nth-child(3) { background: rgba(255,154,60,0.12); width: 40px; }

.mp-placeholder__kpi strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.mp-placeholder__kpi span {
  font-size: 0.78rem;
  color: var(--clr-text-muted);
  margin-top: 0.25rem;
  display: block;
}

.mp-placeholder__spark {
  margin-top: 0.75rem;
}
.mp-placeholder__spark svg {
  width: 100%;
  height: 40px;
}

.mp-placeholder__progress-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--clr-text-muted);
  margin-bottom: 0.35rem;
}
.mp-placeholder__progress-row strong {
  color: var(--clr-text);
  font-weight: 700;
}
.mp-placeholder__bar-track {
  height: 6px;
  border-radius: 100px;
  background: var(--clr-surface-2);
  overflow: hidden;
}
.mp-placeholder__bar-fill {
  height: 100%;
  border-radius: 100px;
  background: var(--grad-primary);
}

/* ── STATS BAR ──────────────────────────────────────────────── */
.mp-stats {
  background: var(--clr-bg-alt);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  padding: var(--space-md) 0;
}

.mp-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.mp-stat {
  padding: 1.25rem var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  border-right: 1px solid var(--clr-border);
  transition: background 0.2s;
}
.mp-stat:last-child { border-right: none; }
.mp-stat:hover { background: rgba(123,47,255,0.03); }

.mp-stat__value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.mp-stat__label {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  line-height: 1.4;
}

/* ── FEATURE SECTIONS ───────────────────────────────────────── */
.mp-section { background: white; }
.mp-section--alt { background: var(--clr-bg-alt); }

.mp-section__header {
  max-width: 680px;
  margin-bottom: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.mp-section__title {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  line-height: 1.15;
  color: var(--clr-text);
  letter-spacing: -0.02em;
  margin: 0;
}

.mp-section__desc {
  font-size: 1rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
  max-width: 56ch;
  margin: 0;
}

/* Cards */
.mp-cards {
  align-items: stretch;
}

.mp-card {
  background: white;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: transform 0.26s var(--ease-out), box-shadow 0.26s, border-color 0.26s;
  position: relative;
  overflow: hidden;
}
.mp-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease-out);
}
.mp-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  border-color: rgba(123,47,255,0.15);
}
.mp-card:hover::after { transform: scaleX(1); }

.mp-section--alt .mp-card { background: white; }

.mp-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--clr-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  transition: background 0.2s;
}
.mp-card:hover .mp-card__icon { background: #ddd0ff; }

.mp-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--clr-text);
  line-height: 1.25;
  margin: 0;
}

.mp-card__desc {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

/* ── SPLIT BAND ─────────────────────────────────────────────── */
.mp-band { background: var(--clr-bg-alt); }

.mp-band__box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--clr-dark);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.mp-band__copy {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

.mp-band__title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: white;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

.mp-band__text {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  margin: 0;
}

.mp-band__list {
  list-style: none;
  padding: 0;
  margin: 0.25rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.mp-band__list li {
  position: relative;
  padding-left: 1.5rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
  line-height: 1.5;
}
.mp-band__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clr-accent);
}

.mp-band__actions { margin-top: 0.5rem; }

.mp-band__media {
  position: relative;
  overflow: hidden;
  min-height: 360px;
}
.mp-band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Placeholder for band when no image */
.mp-band__placeholder {
  width: 100%;
  height: 100%;
  min-height: 360px;
  background: linear-gradient(135deg, rgba(123,47,255,0.25) 0%, rgba(255,59,92,0.2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mp-band__placeholder-inner {
  text-align: center;
  padding: 2rem;
}
.mp-band__placeholder-icon {
  font-size: 4rem;
  opacity: 0.5;
  margin-bottom: 1rem;
}
.mp-band__placeholder-lines span {
  display: block;
  height: 8px;
  border-radius: 100px;
  background: rgba(255,255,255,0.2);
  margin-bottom: 0.5rem;
}

/* ── CTA BAND ───────────────────────────────────────────────── */
.mp-cta { background: white; padding-bottom: var(--space-lg); }

.mp-cta__box {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0D0B14 0%, #1e0e38 50%, #2a1250 100%);
  border-radius: 28px;
  padding: 4rem 3rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-md);
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.mp-cta__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 30% 50%, rgba(123,47,255,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.mp-cta__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 600px;
}

.mp-cta__title {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  color: white;
  line-height: 1.15;
  letter-spacing: -0.022em;
  margin: 0;
}

.mp-cta__text {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin: 0;
}

.mp-cta__btn {
  font-size: 1rem;
  padding: 0.9rem 2rem;
  align-self: flex-start;
}

/* Decorative rings */
.mp-cta__graphic {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 300px;
  height: 300px;
  pointer-events: none;
  z-index: 0;
}

.mp-cta__graphic-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
  animation: ring-pulse 4s ease-in-out infinite;
}
.mp-cta__graphic-ring--1 { animation-delay: 0s; }
.mp-cta__graphic-ring--2 { inset: -30px; animation-delay: 0.5s; }
.mp-cta__graphic-ring--3 { inset: -60px; animation-delay: 1s; }

@keyframes ring-pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.03); }
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .mp-hero__inner  { grid-template-columns: 1fr; }
  .mp-hero__lead   { max-width: 100%; }
  .mp-stats__grid  { grid-template-columns: repeat(2, 1fr); }
  .mp-stat         { border-right: none; border-bottom: 1px solid var(--clr-border); }
  .mp-stat:nth-child(even)  { border-right: none; }
  .mp-band__box    { grid-template-columns: 1fr; }
  .mp-band__media  { min-height: 260px; }
  .mp-cta__box     { grid-template-columns: 1fr; padding: 2.5rem 2rem; }
  .mp-cta__graphic { display: none; }
}

@media (max-width: 768px) {
  .mp-hero   { padding-top: calc(var(--nav-h) + 2.5rem); }
  .mp-stats__grid { grid-template-columns: 1fr 1fr; }
  .mp-band__copy  { padding: 2rem 1.5rem; }
}

@media (max-width: 560px) {
  .mp-stats__grid  { grid-template-columns: 1fr; }
  .mp-stat         { border-right: none; }
  .mp-cta__box     { padding: 2rem 1.25rem; }
  .mp-hero__title  { font-size: 2rem; }
}


/* Full-width /home/ page only */
.entry-content--home-fullwidth > .wp-block-group,
.entry-content--home-fullwidth > .wp-block-cover,
.entry-content--home-fullwidth > .wp-block-columns,
.entry-content--home-fullwidth > .alignfull,
.entry-content--home-fullwidth > [class*="wp-block-acf-"] {
  margin-top: 0;
  margin-bottom: 0;
}

.entry-content--home-fullwidth .alignfull {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  max-width: 100vw;
}

.entry-content--home-fullwidth .alignwide {
  max-width: min(1320px, calc(100vw - 48px));
  margin-left: auto;
  margin-right: auto;
}

.entry-content--home-fullwidth .wp-block-group__inner-container,
.entry-content--home-fullwidth .wp-block-cover__inner-container,
.entry-content--home-fullwidth .wp-block-columns,
.entry-content--home-fullwidth .acf-innerblocks-container,
.entry-content--home-fullwidth .container {
  width: 100%;
}

.entry-content--home-fullwidth .wp-block-group:not(.alignfull):not(.alignwide),
.entry-content--home-fullwidth .wp-block-cover:not(.alignfull):not(.alignwide),
.entry-content--home-fullwidth .wp-block-columns:not(.alignfull):not(.alignwide),
.entry-content--home-fullwidth > p,
.entry-content--home-fullwidth > h1,
.entry-content--home-fullwidth > h2,
.entry-content--home-fullwidth > h3,
.entry-content--home-fullwidth > h4,
.entry-content--home-fullwidth > h5,
.entry-content--home-fullwidth > h6,
.entry-content--home-fullwidth > ul,
.entry-content--home-fullwidth > ol,
.entry-content--home-fullwidth > blockquote {
  max-width: min(1200px, calc(100vw - 48px));
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.entry-content--home-fullwidth .hero,
.entry-content--home-fullwidth .trust-bar,
.entry-content--home-fullwidth .features-section,
.entry-content--home-fullwidth .industry-section,
.entry-content--home-fullwidth .platform-section,
.entry-content--home-fullwidth .testimonials-section,
.entry-content--home-fullwidth .blog-section,
.entry-content--home-fullwidth .cta-band {
  width: 100%;
  max-width: 100%;
}

.entry-content--home-fullwidth .hero .container,
.entry-content--home-fullwidth .features-section .container,
.entry-content--home-fullwidth .industry-section .container,
.entry-content--home-fullwidth .platform-section .container,
.entry-content--home-fullwidth .testimonials-section .container,
.entry-content--home-fullwidth .blog-section .container,
.entry-content--home-fullwidth .cta-band .container {
  max-width: min(1280px, calc(100vw - 48px));
}

.entry-content--home-fullwidth .trust-bar {
  padding-left: 24px;
  padding-right: 24px;
}

.entry-content--home-fullwidth .logo-ticker {
  width: max-content;
}

@media (max-width: 900px) {
  .entry-content--home-fullwidth .alignwide,
  .entry-content--home-fullwidth .wp-block-group:not(.alignfull):not(.alignwide),
  .entry-content--home-fullwidth .wp-block-cover:not(.alignfull):not(.alignwide),
  .entry-content--home-fullwidth .wp-block-columns:not(.alignfull):not(.alignwide),
  .entry-content--home-fullwidth > p,
  .entry-content--home-fullwidth > h1,
  .entry-content--home-fullwidth > h2,
  .entry-content--home-fullwidth > h3,
  .entry-content--home-fullwidth > h4,
  .entry-content--home-fullwidth > h5,
  .entry-content--home-fullwidth > h6,
  .entry-content--home-fullwidth > ul,
  .entry-content--home-fullwidth > ol,
  .entry-content--home-fullwidth > blockquote,
  .entry-content--home-fullwidth .hero .container,
  .entry-content--home-fullwidth .features-section .container,
  .entry-content--home-fullwidth .industry-section .container,
  .entry-content--home-fullwidth .platform-section .container,
  .entry-content--home-fullwidth .testimonials-section .container,
  .entry-content--home-fullwidth .blog-section .container,
  .entry-content--home-fullwidth .cta-band .container {
    max-width: calc(100vw - 32px);
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* ============================================================
   SECTION TOGGLE — admin/editor helper styles
   Applied via the `section-toggle` wrapper class on the ACF field
   ============================================================ */
.acf-field.section-toggle {
  border-top: 3px solid var(--clr-primary, #7B2FFF);
  padding-top: 1rem;
  margin-bottom: 1.5rem;
  background: rgba(123, 47, 255, 0.03);
  border-radius: 0 0 8px 8px;
}

.acf-field.section-toggle .acf-label label {
  font-weight: 700;
  font-size: 0.95rem;
  color: #3d3554;
}

.acf-field.section-toggle .acf-true-false .acf-switch {
  --acf-switch-on: #7B2FFF;
}
