/* ==========================================================================
   WowPlugins — "Dark Refined" Design System
   CI: 01_CI_Design_System.md | Version: 3.0 | Chat 03
   ========================================================================== */

/* --------------------------------------------------------------------------
   §1 — Design Tokens (CSS Custom Properties)
   Hardcoded hex values anywhere outside :root are a violation of CI rules.
   -------------------------------------------------------------------------- */
:root {
  /* Backgrounds */
  --wp-bg-base:    #0B1020;
  --wp-bg-surface: #161c26;
  --wp-bg-glass:   rgba(22, 28, 38, 0.8);
  --wp-bg-raised:  #1e2633;

  /* Text */
  --wp-text-primary:   #f0f2f5;
  --wp-text-secondary: #8b95a5;
  --wp-text-muted:     #4a5568;

  /* Brand — Teal */
  --wp-brand:       #0a9aa1;
  --wp-brand-light: #2ad1d9;
  --wp-brand-dark:  #066166;
  --wp-brand-glow:  rgba(10, 154, 161, 0.22);

  /* UI States */
  --wp-success: #10b981;
  --wp-warning: #f59e0b;
  --wp-danger:  #ef4444;

  /* Borders */
  --wp-border:       rgba(10, 154, 161, 0.12);
  --wp-border-brand: rgba(10, 154, 161, 0.35);

  /* Shadows */
  --wp-shadow-sm:    0 1px 3px rgba(0,0,0,0.4);
  --wp-shadow-md:    0 8px 32px rgba(0,0,0,0.45);
  --wp-shadow-glow:  0 0 40px rgba(10, 154, 161, 0.18);

  /* Easing */
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-spring:    cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Legacy aliases (used by partials / PDP pages — keep for compat) */
  --bg-base:           var(--wp-bg-base);
  --bg-surface:        var(--wp-bg-surface);
  --bg-surface-hover:  var(--wp-bg-raised);
  --border-subtle:     var(--wp-border);
  --text-primary:      var(--wp-text-primary);
  --text-secondary:    var(--wp-text-secondary);
  --accent:            var(--wp-brand);
  --accent-light:      var(--wp-brand-light);
  --accent-dark:       var(--wp-brand-dark);
  --accent-muted:      rgba(10, 154, 161, 0.12);
  --accent-border:     var(--wp-border-brand);
  --accent-glow:       var(--wp-shadow-glow);
}

/* --------------------------------------------------------------------------
   §2 — Local Fonts (DSGVO-compliant — no CDN)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Geist';
  src: url('./assets/fonts/geist/Geist-VariableFont_wght.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Geist';
  src: url('./assets/fonts/geist/Geist-Italic-VariableFont_wght.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('./assets/fonts/jetbrains/JetBrainsMono-VariableFont_wght.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('./assets/fonts/jetbrains/JetBrainsMono-Italic-VariableFont_wght.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   §3 — Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--wp-bg-base);
  color: var(--wp-text-primary);
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* --------------------------------------------------------------------------
   §4 — Typography Scale
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--wp-text-primary);
}

h1 { font-size: clamp(2.8rem, 6vw, 5rem); margin-bottom: 1.5rem; }
h2 { font-size: clamp(2rem, 4vw, 3rem);   margin-bottom: 1.25rem; }
h3 { font-size: 1.4rem;                    margin-bottom: 0.75rem; }
h4 { font-size: 1.15rem;                   margin-bottom: 0.5rem; }

p {
  color: var(--wp-text-secondary);
  margin-bottom: 1rem;
}

a {
  color: var(--wp-text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover { color: var(--wp-brand-light); }

strong {
  font-weight: 600;
  color: var(--wp-text-primary);
}

pre, code {
  font-family: 'JetBrains Mono', 'Fira Code', Menlo, monospace;
  font-size: 0.9em;
}

/* --------------------------------------------------------------------------
   §5 — Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.text-center { text-align: center; }

/* --------------------------------------------------------------------------
   §6 — Shared Section Headers
   -------------------------------------------------------------------------- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wp-brand-light);
  background: rgba(10, 154, 161, 0.1);
  border: 1px solid var(--wp-border-brand);
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.section-title {
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  color: var(--wp-text-secondary);
  max-width: 620px;
  margin: 0 auto 4rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   §7 — Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.22s var(--ease-out-quart);
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

/* Primary: White / inverted */
.btn-primary {
  background: var(--wp-text-primary);
  color: var(--wp-bg-base);
  border-color: var(--wp-text-primary);
}
.btn-primary:hover {
  background: transparent;
  color: var(--wp-text-primary);
  border-color: var(--wp-border);
}

/* Accent: Brand Teal with glow */
.btn-accent {
  background: var(--wp-brand);
  color: #fff;
  box-shadow: 0 0 24px var(--wp-brand-glow);
}
.btn-accent:hover {
  background: var(--wp-brand-light);
  box-shadow: 0 0 36px rgba(42, 209, 217, 0.35);
  transform: translateY(-1px);
  color: #fff;
}

/* Secondary: Ghost */
.btn-secondary {
  background: transparent;
  color: var(--wp-text-primary);
  border-color: var(--wp-border);
}
.btn-secondary:hover {
  background: var(--wp-bg-raised);
  border-color: var(--wp-border-brand);
  color: var(--wp-text-primary);
}

/* Glassmorphism Button for Hero */
.btn-glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--wp-text-primary);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--wp-text-primary);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-block { width: 100%; }

/* CTA Sweep shimmer animation (Hover Only) */
.btn-accent {
  position: relative;
  overflow: hidden;
}
.btn-accent::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: skewX(-20deg);
}
.btn-accent:hover::after {
  animation: btn-sweep-hover 0.8s ease-out forwards;
}
@keyframes btn-sweep-hover {
  0%   { left: -100%; }
  100% { left: 140%; }
}

/* --------------------------------------------------------------------------
   §8 — Navigation Header (Glass)
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(11, 16, 32, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--wp-border);
  padding: 0.9rem 0;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
  background: rgba(11, 16, 32, 0.92);
  box-shadow: 0 1px 0 var(--wp-border), 0 4px 20px rgba(0,0,0,0.4);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

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

.logo-img {
  display: block;
}

.lang-switcher {
  display: flex;
  align-items: center;
}

.lang-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--wp-text-secondary);
  transition: color 0.2s ease;
  text-decoration: none;
}

.lang-link:hover {
  color: var(--wp-text-primary);
}

.globe-icon {
  color: var(--wp-text-muted);
  transition: color 0.2s ease;
}

.lang-link:hover .globe-icon {
  color: var(--wp-brand-light);
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--wp-text-primary);
  cursor: pointer;
  padding: 0.4rem;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--wp-border);
}

.ci-brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.ci-brand-logo .logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.ci-brand-text {
  font-family: 'Geist', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.05em;
  color: var(--wp-text-primary);
  line-height: 1;
}

.ci-brand-sub {
  color: var(--wp-brand-light);
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--wp-text-secondary);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--wp-text-primary);
}

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

/* --------------------------------------------------------------------------
   §9 — Trust Bar (Scrolling Ticker)
   -------------------------------------------------------------------------- */
.trust-bar {
  background: var(--wp-bg-surface);
  border-bottom: 1px solid var(--wp-border);
  overflow: hidden;
  padding: 0.7rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.trust-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding-right: 3rem;
  animation: trust-scroll 28s linear infinite;
  width: max-content;
}

.trust-track:hover {
  animation-play-state: paused;
}

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

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--wp-text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}

.trust-item svg {
  color: var(--wp-brand-light);
  flex-shrink: 0;
}

.trust-divider {
  width: 1px;
  height: 16px;
  background: var(--wp-border);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   §10 — Hero Section
   -------------------------------------------------------------------------- */
.hero {
  padding: 4rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Animated Gradient Mesh (Hero Blobs) */
@property --blob-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.hero-glow-orb {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  /* Filter to blend the blobs nicely */
  filter: blur(80px);
}

.hero-glow-blob {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
  opacity: 0.85;
}

.blob-1 {
  width: 500px;
  height: 500px;
  top: 0;
  left: 10%;
  background: conic-gradient(from var(--blob-angle), rgba(10, 154, 161, 0.6), rgba(10, 154, 161, 0.2), rgba(10, 154, 161, 0.6));
  animation: blob-spin 10s linear infinite, blob-move-1 12s ease-in-out infinite alternate;
}

.blob-2 {
  width: 450px;
  height: 450px;
  bottom: 0;
  right: 10%;
  background: conic-gradient(from calc(var(--blob-angle) + 90deg), rgba(30, 60, 160, 0.5), rgba(30, 60, 160, 0.1), rgba(30, 60, 160, 0.5));
  animation: blob-spin 14s linear infinite reverse, blob-move-2 15s ease-in-out infinite alternate;
}

@keyframes blob-spin {
  to { --blob-angle: 360deg; }
}

@keyframes blob-move-1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(120px, 60px) scale(1.3); }
}

@keyframes blob-move-2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-100px, -80px) scale(1.35); }
}

/* Floating Hero Icons */
.hero-floating-icons {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.floating-icon {
  position: absolute;
  color: var(--wp-brand-light);
  opacity: 0.15;
  animation: float-icon 18s ease-in-out infinite alternate;
}

.floating-icon-1 { top: 15%; left: 15%; animation-delay: 0s; width: 64px; height: 64px; }
.floating-icon-2 { top: 60%; right: 12%; animation-delay: -4s; width: 80px; height: 80px; }
.floating-icon-3 { bottom: 10%; left: 20%; animation-delay: -8s; width: 48px; height: 48px; }
.floating-icon-4 { top: 25%; right: 25%; animation-delay: -12s; width: 56px; height: 56px; }

@keyframes float-icon {
  0% { transform: translateY(0) rotate(0deg) scale(1); }
  100% { transform: translateY(-40px) rotate(15deg) scale(1.1); }
}

/* Subtle grid overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, black 30%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  margin-bottom: 1.75rem;
}

.hero h1 {
  font-size: clamp(2.8rem, 6.5vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  max-width: 900px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg,
    #F3F4F6 0%,
    var(--wp-brand) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero h1 .hero-accent {
  background: linear-gradient(135deg, var(--wp-brand-light) 0%, var(--wp-brand) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.br-desktop { display: none; }
@media (min-width: 768px) {
  .br-desktop { display: block; }
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 620px;
  margin: 0 auto 2.75rem;
  color: var(--wp-text-secondary);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-meta {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--wp-text-secondary);
}

.hero-meta-item svg {
  color: var(--wp-brand-light); /* High contrast teal */
  stroke-width: 3;
}

/* --------------------------------------------------------------------------
   §11 — Feature Grid
   -------------------------------------------------------------------------- */
.features {
  padding: 6rem 0;
  position: relative;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--wp-bg-glass);
  border: 1px solid var(--wp-border);
  border-radius: 16px;
  padding: 2.25rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.3s ease, transform 0.3s var(--ease-out-quart), box-shadow 0.3s ease;
  cursor: default;
}

.feature-card:hover {
  border-color: var(--wp-border-brand);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3), 0 0 0 1px var(--wp-border-brand);
}

.feature-card:hover .feature-icon {
  background: rgba(10, 154, 161, 0.2);
  box-shadow: 0 0 20px var(--wp-brand-glow);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: radial-gradient(circle at center, rgba(10, 154, 161, 0.15) 0%, rgba(10, 154, 161, 0.02) 70%);
  color: var(--wp-brand-light);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(10, 154, 161, 0.25);
  box-shadow: inset 0 0 10px rgba(10, 154, 161, 0.1), 0 0 20px rgba(10, 154, 161, 0.05);
  transition: all 0.3s ease;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}

.feature-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
  color: var(--wp-text-secondary);
}

/* --------------------------------------------------------------------------
   §12 — CMS Switcher
   -------------------------------------------------------------------------- */
.cms-switcher-wrap {
  display: flex;
  justify-content: center;
  margin: 0 auto 3rem;
  padding: 0.4rem;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  width: fit-content;
  gap: 0.25rem;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}

.cms-switcher {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
}

.cms-tab {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 100px;
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--wp-text-secondary);
  white-space: nowrap;
}

.cms-tab:hover:not(.active) {
  color: var(--wp-text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.cms-tab.active {
  background: #f8fafc;
  border-color: #ffffff;
  color: #0f172a;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3), 0 1px 2px rgba(255,255,255,0.8) inset;
}

.tag-soon-v2 {
  font-size: 0.65rem;
  padding: 0.2rem 0.5rem;
  border-radius: 100px;
  background: rgba(147, 51, 234, 0.15); /* Purple */
  border: 1px solid rgba(147, 51, 234, 0.4);
  color: #d8b4fe;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-left: 0.35rem;
  box-shadow: 0 0 12px rgba(147, 51, 234, 0.25);
  position: relative;
  top: -1px;
}

.cms-tab[data-cms="typo3"] .tag-soon-v2 {
  background: rgba(245, 158, 11, 0.15); /* Amber */
  border-color: rgba(245, 158, 11, 0.4);
  color: #fcd34d;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.25);
}

.cms-content {
  display: none;
  animation: fadeUp 0.35s var(--ease-out-quart) both;
}

.cms-content.active {
  display: block;
}

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

/* --------------------------------------------------------------------------
   §13 — Product Showcase Rows (Full-Width Plugin Presentations)
   -------------------------------------------------------------------------- */
.products-section {
  padding: 5rem 0;
}

.product-showcase {
  background: var(--wp-bg-glass);
  border: 1px solid rgba(10, 154, 161, 0.15);
  box-shadow: 0 0 0 1px rgba(10, 154, 161, 0.08);
  border-radius: 20px;
  padding: 2.5rem 3rem;
  margin-bottom: 1.75rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-showcase::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--wp-brand-light) 50%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
}

.product-showcase:hover {
  border-color: var(--wp-border-brand);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35), var(--wp-shadow-glow);
}

.product-showcase:hover::before {
  opacity: 1;
}

/* Card Spotlight Effect (Globalized) */
.spotlight-card {
  position: relative;
  overflow: hidden;
}

.spotlight-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    800px circle at calc(var(--mouse-x, 0) * 1px) calc(var(--mouse-y, 0) * 1px),
    rgba(10, 154, 161, 0.18),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 0;
}

.spotlight-card:hover::after {
  opacity: 1;
}

/* Product Showcase: Sales Triggers */
.product-showcase-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--wp-brand);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  box-shadow: 0 4px 12px var(--wp-shadow-glow);
  z-index: 10;
}

.guarantee-seal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--wp-text-secondary);
  margin-top: 1rem;
}

.guarantee-seal svg {
  width: 14px;
  height: 14px;
  color: var(--wp-text-muted);
}

.compat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.compat-tag {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--wp-border);
  color: var(--wp-text-secondary);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.preview-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed var(--wp-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wp-text-muted);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.product-showcase-inner {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

.product-showcase-body {
  display: flex;
  flex-direction: column;
}

/* Alternating layout — swap column order */
.product-showcase--reverse .product-showcase-inner {
  grid-template-columns: 340px 1fr;
  direction: rtl;
}

.product-showcase--reverse .product-showcase-body {
  order: 2;
  direction: ltr;
}

.product-showcase--reverse .product-showcase-side {
  order: 1;
  text-align: left;
}

.product-showcase-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.product-showcase-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(10, 154, 161, 0.1);
  border: 1px solid var(--wp-border-brand);
  color: var(--wp-brand-light);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.product-showcase:hover .product-showcase-icon {
  background: rgba(10, 154, 161, 0.2);
  box-shadow: 0 0 20px var(--wp-brand-glow);
}

.product-showcase-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.product-showcase-title h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.03em;
}

.product-showcase-tag {
  background: var(--wp-bg-base);
  border: 1px solid var(--wp-border);
  padding: 0.2rem 0.7rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--wp-text-secondary);
  letter-spacing: 0.02em;
}

.product-showcase-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--wp-text-secondary);
  margin-top: -0.5rem;
  margin-bottom: 1.25rem;
}

.product-showcase-rating svg {
  color: #fbbf24;
  width: 14px;
  height: 14px;
}

.product-showcase-rating strong {
  color: var(--wp-text-primary);
}

.product-showcase-desc {
  color: var(--wp-text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 560px;
}

.product-showcase-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-showcase-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--wp-text-secondary);
  line-height: 1.5;
}

.product-showcase-features .check-icon {
  width: 16px;
  height: 16px;
  margin-top: 0.15rem;
  color: var(--wp-brand-light);
  flex-shrink: 0;
}

.product-showcase-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 2rem;
}

.product-showcase-target {
  font-size: 0.85rem;
  color: var(--wp-text-secondary);
}

.product-showcase-target strong {
  color: var(--wp-text-primary);
  margin-right: 0.3rem;
}

/* Right Column: Price Anchor + CTA */
.product-showcase-side {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.product-showcase-buy {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.25rem;
}

.product-showcase-price {
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
}

.product-showcase-price .price-prefix {
  font-size: 0.85rem;
  color: var(--wp-text-muted);
  margin-right: 0.3rem;
}

.product-showcase-price .price-currency {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--wp-text-secondary);
}

.product-showcase-price .price-amount {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  color: var(--wp-text-primary);
  letter-spacing: -0.04em;
}

.product-showcase-price .price-period {
  font-size: 0.85rem;
  color: var(--wp-text-secondary);
  margin-left: 0.15rem;
}

.product-showcase-price-fallback {
  font-size: 0.95rem;
  color: var(--wp-text-muted);
  font-style: italic;
}

.product-showcase-cta {
  width: 100%;
}

.product-showcase-cta .btn {
  width: 100%;
  padding: 0.85rem 1.5rem;
}

/* Shared tag utilities (used by CMS tabs, roadmap, PDP) */
.tag {
  background: var(--wp-bg-base);
  border: 1px solid var(--wp-border);
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--wp-text-secondary);
  letter-spacing: 0.02em;
}

.tag-soon {
  color: var(--wp-text-muted);
  background: transparent;
  border-color: transparent;
}

/* Shared layout utilities (used by roadmap cards, PDP) */
.product-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.product-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.025em;
}

.product-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   §14 — Agency / Bundle Hero Card
   -------------------------------------------------------------------------- */
.agency-bundle-section {
  margin-top: 5rem;
  position: relative;
}

.agency-bundle-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 300px;
  background: radial-gradient(ellipse,
    rgba(10, 154, 161, 0.12) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

/* Animated glow border for bundle */
@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.agency-card {
  position: relative;
  z-index: 1;
  background: var(--wp-bg-glass);
  border-radius: 20px;
  padding: 3.5rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--wp-brand);
  box-shadow:
    0 0 0 1px var(--wp-border-brand),
    0 0 60px rgba(10, 154, 161, 0.12),
    0 30px 80px rgba(0,0,0,0.5);
  overflow: hidden;
}

/* Corner accent glow */
.agency-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(10, 154, 161, 0.15) 0%, transparent 65%);
  pointer-events: none;
}

/* Top shimmer line */
.agency-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--wp-brand) 30%,
    var(--wp-brand-light) 50%,
    var(--wp-brand) 70%,
    transparent 100%
  );
}

.agency-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(10,154,161,0.2), rgba(42,209,217,0.1));
  border: 1px solid var(--wp-border-brand);
  color: var(--wp-brand-light);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.agency-content {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 4rem;
  align-items: center;
}

.agency-value {
  display: flex;
  flex-direction: column;
}

.agency-value h3 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--wp-brand-light);
  letter-spacing: -0.04em;
  margin-bottom: 0.75rem;
}

.agency-checkout-panel {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.2rem;
  margin: 1rem 0;
}

.currency {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--wp-text-secondary);
  margin-top: 0.4rem;
}

.amount {
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1;
  color: var(--wp-text-primary);
  letter-spacing: -0.05em;
}

.period {
  font-size: 0.95rem;
  color: var(--wp-text-secondary);
  margin-bottom: 0.4rem;
}

.agency-desc-primary {
  color: var(--wp-text-primary);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.agency-desc-secondary {
  color: var(--wp-text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.agency-highlight-box {
  margin-bottom: 1.5rem;
  padding: 0.75rem 1rem;
  background: rgba(10, 154, 161, 0.08);
  border: 1px solid var(--wp-border-brand);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--wp-brand-light);
  line-height: 1.5;
  width: 100%;
}

/* Features list in bundle */
.agency-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2rem;
  align-content: start;
}

.agency-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--wp-text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.check-icon {
  width: 20px;
  height: 20px;
  color: var(--wp-brand-light);
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.agency-action {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: stretch;
  width: 100%;
}

/* --------------------------------------------------------------------------
   §15 — Roadmap Grid
   -------------------------------------------------------------------------- */
.roadmap-section {
  padding: 4rem 0 5rem;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.roadmap-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.roadmap-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transform: translateY(-2px);
}

.roadmap-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
  color: var(--wp-text-primary);
}

.roadmap-card p {
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0;
  color: var(--wp-text-secondary);
}

.roadmap-card .product-info {
  margin-bottom: 0.85rem;
}

/* Quarter Tags Color Coding */
.tag-q2 {
  background: rgba(10, 154, 161, 0.15);
  color: #2ad1d9; /* Teal */
  border-color: rgba(10, 154, 161, 0.3);
}

.tag-q3 {
  background: rgba(147, 51, 234, 0.15);
  color: #c084fc; /* Purple */
  border-color: rgba(147, 51, 234, 0.3);
}

.tag-q4 {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24; /* Amber */
  border-color: rgba(245, 158, 11, 0.3);
}

/* 2027 Highlight Banner */
.roadmap-card-full {
  grid-column: 1 / -1;
  background: radial-gradient(ellipse at top, rgba(10, 154, 161, 0.12) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(10, 154, 161, 0.25);
  border-radius: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem;
  margin-top: 1rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
}

.roadmap-card-full h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--wp-text-primary);
  letter-spacing: -0.02em;
}

.roadmap-card-full p {
  max-width: 580px;
  font-size: 1rem;
  color: var(--wp-text-secondary);
  line-height: 1.6;
}

/* Quarter badge */
.tag-q2 {
  background: rgba(10, 154, 161, 0.18);
  border: 1px solid var(--wp-brand);
  color: var(--wp-brand-light);
}

/* --------------------------------------------------------------------------
   §16 — Waitlist Card
   -------------------------------------------------------------------------- */
.waitlist-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  max-width: 900px;
  margin: 4rem auto;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

@media (min-width: 768px) {
  .waitlist-card.split-layout {
    flex-direction: row;
    text-align: left;
  }
}

.waitlist-content-inner {
  padding: 3.5rem;
  flex: 1.2;
}

.waitlist-perks {
  padding: 3.5rem;
  flex: 1;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: left;
}

@media (min-width: 768px) {
  .waitlist-perks {
    border-top: none;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
  }
}

.waitlist-perks h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--wp-text-primary);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.perk-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.perk-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.perk-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.perk-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.perk-text strong {
  font-size: 0.95rem;
  color: var(--wp-text-primary);
  font-weight: 600;
}

.perk-text span {
  font-size: 0.85rem;
  color: var(--wp-text-secondary);
  line-height: 1.5;
}

.waitlist-card h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  color: var(--wp-text-primary);
}

.waitlist-form {
  display: flex;
  align-items: center;
  margin-top: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  padding: 0.35rem;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}

.waitlist-form:focus-within {
  border-color: rgba(10, 154, 161, 0.4);
  box-shadow: 0 0 0 3px rgba(10, 154, 161, 0.15), inset 0 2px 4px rgba(0,0,0,0.2);
  background: rgba(255, 255, 255, 0.05);
}

.waitlist-icon {
  position: absolute;
  left: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wp-text-muted);
  pointer-events: none;
  transition: color 0.3s ease;
}

.waitlist-form:focus-within .waitlist-icon {
  color: var(--wp-brand-light);
}

.waitlist-input {
  flex: 1;
  background: transparent;
  border: none;
  border-radius: 100px;
  padding: 0.75rem 1rem 0.75rem 3.25rem;
  color: var(--wp-text-primary);
  font-family: inherit;
  font-size: 1rem;
}

.waitlist-input:focus {
  outline: none;
}

.waitlist-input::placeholder {
  color: var(--wp-text-muted);
}

.waitlist-form button {
  border-radius: 100px;
  padding: 0.75rem 2rem;
  margin: 0;
}

/* --------------------------------------------------------------------------
   §17 — Tax / Phase-1 Notice
   -------------------------------------------------------------------------- */
.tax-notice {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.82rem;
  color: var(--wp-text-muted);
}

.phase-notice {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: var(--wp-warning);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}

/* --------------------------------------------------------------------------
   §18 — Footer
   -------------------------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--wp-border);
  padding: 4rem 0 2rem;
  margin-top: 5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--wp-text-secondary);
  line-height: 1.65;
  margin-top: 0.75rem;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--wp-text-muted);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--wp-text-secondary);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--wp-text-primary);
}

.footer-bottom {
  border-top: 1px solid var(--wp-border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--wp-text-muted);
}

/* --------------------------------------------------------------------------
   §19 — Code Blocks / Misc
   -------------------------------------------------------------------------- */
.code-block {
  background: #000;
  border: 1px solid var(--wp-border);
  border-radius: 10px;
  padding: 1.5rem;
  color: var(--wp-text-secondary);
  overflow-x: auto;
  text-align: left;
  margin-top: 2rem;
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   §20 — PDP (Product Detail Pages) — unchanged from previous system
   -------------------------------------------------------------------------- */
.pdp-hero {
  padding: 6rem 0 4rem;
  display: flex;
  align-items: center;
  gap: 4rem;
}
.pdp-hero-content { flex: 1; }
.pdp-hero-content h1 { font-size: 3.5rem; margin-bottom: 1rem; }
.pdp-hero-image {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--wp-shadow-glow);
  border: 1px solid var(--wp-border);
}
.pdp-hero-image img { width: 100%; height: auto; display: block; }

.bento-section { padding: 4rem 0; }
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.bento-card {
  background: var(--wp-bg-surface);
  border: 1px solid var(--wp-border);
  border-radius: 12px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
}
.bento-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.bento-card p { color: var(--wp-text-secondary); margin: 0; }
.bento-icon { margin-bottom: 1.5rem; color: var(--wp-brand); }
.bento-wide { grid-column: span 2; }

.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 4rem auto;
}
.feature-column {
  background: var(--wp-bg-surface);
  border: 1px solid var(--wp-border);
  border-radius: 12px;
  padding: 3rem;
}
.feature-column-pro {
  border-color: var(--wp-border-brand);
  position: relative;
  overflow: hidden;
}
.feature-column-pro::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--wp-brand-dark), var(--wp-brand-light));
}
.feature-column h3 {
  font-size: 1.5rem;
  margin-top: 0;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
  color: var(--wp-text-secondary);
  line-height: 1.5;
}
.feature-list li strong {
  color: var(--wp-text-primary);
  display: block;
}

.faq-section { padding: 4rem 0; max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--wp-border); padding: 1.5rem 0; }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  margin: 0;
}
.faq-answer { color: var(--wp-text-secondary); margin-top: 1rem; line-height: 1.6; }

.demo-teaser {
  background: var(--wp-bg-surface);
  border: 1px solid var(--wp-border);
  border-radius: 12px;
  padding: 3rem;
  margin: 4rem auto;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.demo-teaser::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--wp-brand-dark), var(--wp-brand));
}
.demo-teaser h2 { font-size: 2rem; margin-bottom: 1rem; }
.demo-teaser p {
  color: var(--wp-text-secondary);
  margin-bottom: 2rem;
  font-size: 1.1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------------------------------
   §21 — Gallery / Performance Showcases (WowGallery PDP)
   -------------------------------------------------------------------------- */
.live-grid-showcase { columns: 1; column-gap: 1.5rem; margin: 2rem 0; }
@media (min-width: 600px) { .live-grid-showcase { columns: 2; } }
@media (min-width: 900px) { .live-grid-showcase { columns: 4; } }

.live-grid-item {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  border: 1px solid var(--wp-border-brand);
}
.live-grid-item img { width: 100%; display: block; transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1); }
.live-grid-item:hover img { transform: scale(1.08); }
.live-grid-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}
.live-grid-item:hover .live-grid-overlay { opacity: 1; }
.live-grid-overlay-text { color: #fff; font-weight: 600; font-size: 0.95rem; display: flex; align-items: center; gap: 0.5rem; }

/* Joomla Atum Mockup */
.atum-mockup {
  background: #171c24; border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  position: relative; z-index: 1; text-align: left;
  color: rgba(255,255,255,0.85);
}
.atum-header { background: #0a0e13; padding: 0.75rem 1.5rem; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #171c24; }
.atum-header-left { display: flex; align-items: center; gap: 1.5rem; color: rgba(255,255,255,0.85); font-weight: 500; font-size: 0.9rem; }
.atum-logo { color: #fff; font-weight: bold; font-size: 1.2rem; letter-spacing: -0.5px; }
.atum-logo-icon { color: #007db0; margin-right: 0.2rem; }
.atum-toolbar { display: flex; gap: 0.4rem; }
.atum-btn { padding: 0.35rem 0.75rem; border-radius: 4px; font-size: 0.85rem; font-weight: 500; border: none; cursor: default; display: flex; align-items: center; gap: 0.4rem; }
.atum-btn-success { background: #3d854d; color: #fff; }
.atum-btn-primary { background: #007db0; color: #fff; }
.atum-btn-danger  { background: #c62a25; color: #fff; }
.atum-body { display: flex; height: 340px; }
.atum-sidebar { width: 220px; background: #0f151d; padding: 1rem 0; display: flex; flex-direction: column; gap: 0.2rem; }
.atum-nav-item { padding: 0.5rem 1rem; margin: 0 0.5rem; border-radius: 4px; color: rgba(255,255,255,0.7); font-size: 0.85rem; display: flex; align-items: center; gap: 0.75rem; }
.atum-nav-item.active { color: #fff; background: #007db0; }
.atum-content { flex: 1; background: #171c24; padding: 2rem; overflow-y: auto; }
.atum-title { color: #fff; font-size: 1.25rem; font-weight: 600; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.75rem; }
.atum-fieldset { background: #0f151d; border: 1px solid rgba(255,255,255,0.05); border-radius: 4px; padding: 1.5rem; }
.atum-sync-progress { margin-top: 1rem; background: #0f151d; border: 1px solid rgba(255,255,255,0.05); padding: 1.5rem; border-radius: 4px; }
.atum-progress-bar { height: 12px; background: rgba(255,255,255,0.05); border-radius: 6px; margin-top: 0.75rem; overflow: hidden; }
.atum-progress-fill { height: 100%; background: #3d854d; width: 65%; position: relative; overflow: hidden; border-radius: 6px; }
.atum-progress-fill::after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); animation: shimmer 1.5s infinite; }

/* Performance Bars */
.perf-tacho-wrapper { display: flex; flex-direction: column; gap: 2rem; background: rgba(255,255,255,0.02); border: 1px solid var(--wp-border-brand); padding: 2.5rem; border-radius: 12px; }
.perf-comparison { display: flex; align-items: center; gap: 1rem; }
.perf-label { width: 140px; font-weight: 600; font-size: 0.9rem; color: var(--wp-text-secondary); }
.perf-bar-track { flex: 1; height: 24px; background: rgba(255,255,255,0.05); border-radius: 12px; overflow: hidden; position: relative; }
.perf-bar-fill { height: 100%; display: flex; align-items: center; color: #fff; font-size: 0.8rem; font-weight: bold; border-radius: 12px; transition: width 1s ease-out; white-space: nowrap; }
.perf-bar-bad  { background: linear-gradient(90deg, #c62828, #e53935); width: 95%; justify-content: flex-end; padding-right: 1rem; }
.perf-bar-good { background: linear-gradient(90deg, var(--wp-brand), #2ad1d9); width: 15%; justify-content: flex-start; padding-left: 1rem; }
.perf-metrics { display: flex; justify-content: space-around; margin-top: 1rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.05); }
.perf-metric { text-align: center; }
.perf-metric-val { font-size: 2.5rem; font-weight: 800; background: linear-gradient(to right, var(--wp-text-primary), var(--wp-brand)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; }
.perf-metric-lbl { font-size: 0.85rem; color: var(--wp-text-secondary); margin-top: 0.5rem; text-transform: uppercase; letter-spacing: 1px; }

/* UI Mockup */
.ui-mockup-wrapper { background: var(--wp-bg-base); border: 1px solid var(--wp-border); border-radius: 8px; padding: 1.5rem; font-family: "JetBrains Mono", monospace; font-size: 0.9rem; color: var(--wp-text-secondary); margin-bottom: 1.5rem; box-shadow: inset 0 0 20px rgba(0,0,0,0.5); position: relative; overflow: hidden; }
.ui-mockup-header { display: flex; justify-content: space-between; border-bottom: 1px solid var(--wp-border); padding-bottom: 0.75rem; margin-bottom: 1rem; font-weight: 600; color: var(--wp-text-primary); }
.ui-mockup-row { display: flex; justify-content: space-between; margin-bottom: 0.5rem; }
.ui-mockup-toggle { width: 32px; height: 16px; background: var(--wp-brand); border-radius: 10px; position: relative; }
.ui-mockup-toggle::after { content: ""; position: absolute; right: 2px; top: 2px; width: 12px; height: 12px; background: #fff; border-radius: 50%; }

/* Changelog */
.changelog-section { padding: 4rem 0; max-width: 800px; margin: 0 auto; }
.changelog-timeline { position: relative; padding-left: 2rem; border-left: 2px solid var(--wp-border); margin-top: 2rem; }
.changelog-entry { position: relative; margin-bottom: 3rem; }
.changelog-entry::before { content: ""; position: absolute; left: -2.4rem; top: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--wp-brand); border: 3px solid var(--wp-bg-base); box-shadow: 0 0 0 2px var(--wp-border-brand); }
.changelog-version { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.changelog-version h3 { margin: 0; color: var(--wp-text-primary); font-size: 1.25rem; }
.changelog-date { color: var(--wp-text-secondary); font-size: 0.9rem; }
.changelog-content { background: var(--wp-bg-surface); border: 1px solid var(--wp-border); border-radius: 8px; padding: 1.5rem; }
.changelog-content pre { margin: 0; background: transparent; border: none; padding: 0; color: var(--wp-text-secondary); white-space: pre-wrap; font-family: inherit; font-size: 1rem; line-height: 1.6; }

/* Money-back badge */
.money-back-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(10, 154, 161, 0.1); border: 1px solid var(--wp-border-brand); color: var(--wp-brand-light); padding: 0.5rem 1rem; border-radius: 20px; font-size: 0.9rem; font-weight: 600; margin-top: 1rem; }

/* --------------------------------------------------------------------------
   §22 — Keyframe Animations
   -------------------------------------------------------------------------- */
@keyframes shimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(10, 154, 161, 0); }
  50%       { box-shadow: 0 0 0 8px rgba(10, 154, 161, 0.12); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

/* --------------------------------------------------------------------------
   §23 — Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .agency-content {
    grid-template-columns: 1fr 1fr;
  }
  .agency-action {
    margin-top: 1.5rem;
  }
}

@media (max-width: 900px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-wide { grid-column: span 1; }
  .feature-split { grid-template-columns: 1fr; }
  .pdp-hero { flex-direction: column; text-align: center; }
  /* .footer-content grid-template-columns: 1fr 1fr removed to preserve 2fr 1fr 1fr 1fr down to 768px */
}

@media (max-width: 768px) {
  .hero { padding: 5rem 0 3.5rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-meta {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
  
  /* Mobile Navigation Menu with Premium Fade-Transition */
  .mobile-menu-toggle {
    display: inline-flex;
  }
  .nav-cta-btn {
    display: none;
  }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(8, 11, 16, 0.96);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--wp-border);
    padding: 1.5rem 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(-8px);
    z-index: 190;
  }
  .header.menu-open .nav-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav-links {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    list-style: none;
  }
  .nav-links a {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--wp-text-secondary);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: all 0.2s ease;
  }
  .nav-links a:hover {
    color: var(--wp-text-primary);
    background: rgba(255, 255, 255, 0.04);
  }

  /* CMS Tab Switcher Horizontal Touch Scrolling */
  .cms-switcher-wrap {
    width: auto;
    max-width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .cms-switcher-wrap::-webkit-scrollbar {
    display: none;
  }

  /* Product Showcase Rows: Stack on mobile */
  .product-showcase {
    padding: 2rem 1.5rem;
  }
  .product-showcase-inner {
    grid-template-columns: 1fr;
  }
  .product-showcase--reverse .product-showcase-body,
  .product-showcase--reverse .product-showcase-side {
    order: 0;
    align-items: flex-start;
    text-align: left;
  }
  .product-showcase-side {
    align-items: flex-start;
    text-align: left;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .product-showcase-cta {
    width: auto;
    flex-grow: 1;
  }
  .product-showcase-features {
    grid-template-columns: 1fr;
  }

  /* Agency Bundle CTA stacking */
  .agency-content { grid-template-columns: 1fr; }
  .agency-features { grid-template-columns: 1fr; }
  .agency-action {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100%;
  }

  .waitlist-form { flex-direction: column; }
  .footer-content { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

/* ==========================================================================
   Scroll Reveal
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (max-width: 480px) {
  h1 { font-size: 2.4rem; }
  .agency-card { padding: 2rem; }
  .cms-tab { padding: 0.5rem 1rem; font-size: 0.82rem; }
}

/* ==========================================================================
   Accessibility: Reduced Motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
