/* ================================================================
   DenniDigital — Main Stylesheet
   Professional WordPress Theme for a Digital Technology Company
   Author: DenniDigital | Version: 1.0.0
   ================================================================ */

/* ================================================================
   1. CUSTOM PROPERTIES
   ================================================================ */
:root {
  /* Brand */
  --brand-indigo:  #6366f1;
  --brand-violet:  #8b5cf6;
  --brand-purple:  #a855f7;
  --brand-blue:    #3b82f6;
  --brand-cyan:    #06b6d4;
  --brand-emerald: #10b981;
  --brand-amber:   #f59e0b;

  /* Gradients */
  --g-brand:      linear-gradient(135deg, #6366f1, #8b5cf6);
  --g-brand-full: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
  --g-brand-h:    linear-gradient(90deg, #6366f1, #a855f7);
  --g-indigo-glow: radial-gradient(ellipse at center, rgba(99,102,241,0.22) 0%, transparent 70%);
  --g-violet-glow: radial-gradient(ellipse at center, rgba(139,92,246,0.18) 0%, transparent 70%);

  /* Backgrounds */
  --bg-base:     #030712;
  --bg-subtle:   #080e1c;
  --bg-raised:   #0d1526;
  --bg-elevated: #111827;
  --bg-overlay:  #1a2437;
  --bg-card:     rgba(17, 24, 39, 0.7);
  --bg-glass:    rgba(255, 255, 255, 0.03);

  /* Borders */
  --border-xs:    rgba(255, 255, 255, 0.04);
  --border-sm:    rgba(255, 255, 255, 0.07);
  --border-md:    rgba(255, 255, 255, 0.11);
  --border-lg:    rgba(255, 255, 255, 0.18);
  --border-brand: rgba(99, 102, 241, 0.3);

  /* Text */
  --text-primary:   #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted:     #64748b;
  --text-dimmed:    #475569;
  --text-brand:     #818cf8;
  --text-violet:    #c084fc;

  /* Fonts */
  --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;

  /* Spacing scale */
  --s-1: 4px;   --s-2: 8px;   --s-3: 12px;  --s-4: 16px;
  --s-5: 20px;  --s-6: 24px;  --s-8: 32px;  --s-10: 40px;
  --s-12: 48px; --s-16: 64px; --s-20: 80px; --s-24: 96px;
  --s-32: 128px;

  /* Radius */
  --r-xs: 4px; --r-sm: 8px; --r-md: 12px; --r-lg: 16px;
  --r-xl: 20px; --r-2xl: 28px; --r-3xl: 36px; --r-full: 9999px;

  /* Transitions */
  --ease-out:    cubic-bezier(0.0, 0.0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0.0, 0.2, 1);
  --dur-fast:   150ms;
  --dur-normal: 240ms;
  --dur-slow:   400ms;

  /* Shadows */
  --shadow-sm:    0 1px 3px rgba(0,0,0,.35), 0 1px 2px rgba(0,0,0,.2);
  --shadow-md:    0 4px 16px rgba(0,0,0,.35);
  --shadow-lg:    0 8px 40px rgba(0,0,0,.45);
  --shadow-xl:    0 20px 60px rgba(0,0,0,.55);
  --shadow-brand: 0 4px 28px rgba(99,102,241,.32);
  --shadow-brand-lg: 0 8px 48px rgba(99,102,241,.45);

  /* Z-index */
  --z-base: 0; --z-raised: 10; --z-dropdown: 100;
  --z-nav: 900; --z-overlay: 1000; --z-modal: 2000;

  /* ── Aliases used by inner-page / product-page CSS ─────────────── */
  --color-indigo:       #6366f1;
  --color-indigo-rgb:   99, 102, 241;
  --color-violet:       #8b5cf6;
  --color-violet-rgb:   139, 92, 246;
  --color-indigo-light: #818cf8;
  --color-violet-light: #c084fc;
  --border-subtle:      rgba(255, 255, 255, 0.07);
  --radius-xs:          4px;
  --radius-sm:          8px;
  --radius-md:          12px;
  --radius-lg:          16px;
  --radius-xl:          20px;
  --radius-2xl:         28px;
  --radius-3xl:         36px;
  --text-base:          #f1f5f9;

  /* ── Aliases used by blog-system CSS (section 37) ───────────────── */
  --indigo-300:    #a5b4fc;
  --indigo-400:    #818cf8;
  --indigo-500:    #6366f1;
  --violet-300:    #c4b5fd;
  --violet-400:    #c084fc;
  --violet-500:    #8b5cf6;
  --gray-50:       #f9fafb;
  --gray-100:      #f3f4f6;
  --gray-200:      #e5e7eb;
  --gray-300:      #d1d5db;
  --gray-400:      #9ca3af;
  --gray-500:      #6b7280;
  --surface:       #111827;
  --surface-raised: #1a2437;
  --border:        rgba(255, 255, 255, 0.07);
  --radius:        12px;
  --s-7:           28px;
  --s-14:          56px;
}


/* ================================================================
   2. RESET & BASE
   ================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }


/* ================================================================
   3. TYPOGRAPHY
   ================================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.13;
  color: var(--text-primary);
  letter-spacing: -0.022em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 5rem); }
h2 { font-size: clamp(1.875rem, 3.8vw, 3.25rem); }
h3 { font-size: clamp(1.375rem, 2.2vw, 1.875rem); }
h4 { font-size: clamp(1.0625rem, 1.8vw, 1.25rem); }

p { color: var(--text-secondary); line-height: 1.75; }

.text-gradient {
  background: var(--g-brand-full);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-brand);
  padding: 5px 14px;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.18);
  border-radius: var(--r-full);
  margin-bottom: var(--s-6);
}

.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--brand-indigo);
  border-radius: 50%;
  flex-shrink: 0;
}


/* ================================================================
   4. LAYOUT
   ================================================================ */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--s-6);
}

.container--narrow { max-width: 860px; }
.container--wide   { max-width: 1440px; }

.section { padding: var(--s-32) 0; position: relative; }
.section--sm { padding: var(--s-20) 0; }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--s-16);
}

.section-header h2 { margin-bottom: var(--s-4); }
.section-header p  { font-size: 1.0625rem; }
.section-header--left { text-align: left; margin-left: 0; }


/* ================================================================
   5. BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 13px 26px;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: var(--font-display);
  border-radius: var(--r-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--dur-normal) var(--ease-out);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  line-height: 1;
}

/* Primary */
.btn--primary {
  background: var(--g-brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-brand-lg);
}

/* Ghost */
.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border-md);
}
.btn--ghost:hover {
  color: var(--text-primary);
  background: var(--bg-glass);
  border-color: var(--border-lg);
}

/* Outline */
.btn--outline {
  background: transparent;
  color: var(--text-brand);
  border-color: var(--border-brand);
}
.btn--outline:hover {
  background: rgba(99,102,241,.08);
  border-color: var(--brand-indigo);
  color: #fff;
}

/* White (for gradient CTA) */
.btn--white {
  background: #fff;
  color: #6366f1;
  border-color: #fff;
}
.btn--white:hover {
  background: rgba(255,255,255,0.92);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

/* Outline White */
.btn--outline-white {
  background: transparent;
  color: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.35);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.65);
  color: #fff;
}

/* Sizes */
.btn--sm  { padding: 9px 18px; font-size: 0.875rem; }
.btn--lg  { padding: 17px 36px; font-size: 1.0625rem; border-radius: var(--r-lg); }

.icon-arrow {
  display: inline-block;
  font-style: normal;
  transition: transform var(--dur-normal) var(--ease-out);
}
.btn:hover .icon-arrow { transform: translateX(4px); }


/* ================================================================
   6. NAVIGATION
   ================================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  padding: var(--s-4) 0;
  transition: all var(--dur-normal) var(--ease-out);
}

.site-header.scrolled {
  background: rgba(3, 7, 18, 0.88);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border-xs);
  padding: var(--s-3) 0;
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-8);
}

/* Logo */
.navbar__logo {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  flex-shrink: 0;
}

.logo-mark { width: 36px; height: 36px; flex-shrink: 0; }
.logo-mark svg { width: 100%; height: 100%; }

.logo-text {
  font-family: var(--font-display);
  font-size: 1.175rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: var(--g-brand-full);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Nav menu */
.navbar__menu { flex: 1; display: flex; justify-content: center; }

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.navbar__nav li a {
  display: block;
  padding: 8px 13px;
  font-size: 0.895rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--r-sm);
  transition: all var(--dur-fast) var(--ease-out);
}

.navbar__nav li a:hover {
  color: var(--text-primary);
  background: var(--bg-glass);
}

.navbar__nav li.current-menu-item > a,
.navbar__nav li.current_page_item > a,
.navbar__nav li a.current-menu-item {
  color: var(--text-primary);
  background: var(--bg-glass);
  font-weight: 600;
  position: relative;
}
.navbar__nav li.current-menu-item > a::after,
.navbar__nav li.current_page_item > a::after,
.navbar__nav li a.current-menu-item::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 13px;
  right: 13px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
}

/* Actions */
.navbar__actions { display: flex; align-items: center; gap: var(--s-3); }

/* Mobile toggle */
.navbar__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  padding: 7px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-md);
  border-radius: var(--r-sm);
  cursor: pointer;
  flex-shrink: 0;
}

.navbar__toggle span {
  display: block;
  width: 100%; height: 2px;
  background: var(--text-secondary);
  border-radius: 1px;
  transition: all var(--dur-normal) var(--ease-out);
}

.navbar__toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__toggle.is-active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.navbar__toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-nav) - 1);
  background: rgba(3, 7, 18, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transform: translateX(100%);
  transition: transform var(--dur-slow) var(--ease-out);
  padding-top: 88px;
  overflow-y: auto;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu__inner {
  padding: var(--s-8) var(--s-6);
}

.mobile-menu__nav li a {
  display: block;
  padding: var(--s-4) 0;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-xs);
  transition: color var(--dur-fast) var(--ease-out);
}

.mobile-menu__nav li a:hover { color: var(--text-primary); }

.mobile-menu__actions {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  margin-top: var(--s-8);
}

.mobile-menu__actions .btn { justify-content: center; }


/* ================================================================
   7. HERO SECTION
   ================================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 128px 0 80px;
  overflow: hidden;
}

/* Background layers */
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

.hero__bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,.055) 1px, transparent 1px),
    linear-gradient(to right, rgba(99,102,241,.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 0%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 0%, black 0%, transparent 100%);
}

.hero__bg-glow--1 {
  position: absolute;
  top: -15%; left: 50%; transform: translateX(-50%);
  width: min(1000px, 120vw); height: min(1000px, 120vw);
  background: radial-gradient(ellipse at center, rgba(99,102,241,.12) 0%, rgba(139,92,246,.06) 35%, transparent 70%);
}

.hero__bg-glow--2 {
  position: absolute;
  bottom: -20%; left: 15%;
  width: 600px; height: 600px;
  background: radial-gradient(ellipse at center, rgba(139,92,246,.07) 0%, transparent 65%);
}

.hero__bg-noise {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.018;
}

/* Content */
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 7px 16px;
  background: rgba(99,102,241,.08);
  border: 1px solid rgba(99,102,241,.2);
  border-radius: var(--r-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-brand);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--s-8);
}

.hero__badge-dot {
  width: 7px; height: 7px;
  background: var(--brand-indigo);
  border-radius: 50%;
  animation: pulse-dot 2.2s ease-in-out infinite;
  flex-shrink: 0;
}

.hero__headline {
  font-size: clamp(2.75rem, 6.5vw, 5.5rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.04em;
  margin-bottom: var(--s-6);
  font-family: var(--font-display);
  color: var(--text-primary);
}

.hero__headline .highlight {
  background: var(--g-brand-full);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__description {
  font-size: clamp(1.0625rem, 2.2vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 660px;
  margin: 0 auto var(--s-10);
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-4);
  flex-wrap: wrap;
  margin-bottom: var(--s-16);
}

.hero__tech-stack {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--s-3);
}

.hero__tech-stack-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 5px 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-md);
  border-radius: var(--r-full);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--dur-normal) var(--ease-out);
}

.tech-pill:hover {
  border-color: var(--border-brand);
  color: var(--text-primary);
  background: var(--bg-overlay);
}

.tech-pill .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-indigo);
  flex-shrink: 0;
}
.tech-pill .dot--cyan    { background: var(--brand-cyan); }
.tech-pill .dot--emerald { background: var(--brand-emerald); }
.tech-pill .dot--amber   { background: var(--brand-amber); }
.tech-pill .dot--violet  { background: var(--brand-violet); }

/* Floating decoration cards */
.hero__floating-cards {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: var(--s-2);
  padding: 10px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-md);
  border-radius: var(--r-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}

.floating-card__icon { font-size: 1.125rem; }

.floating-card--1 { top: 22%; left: 5%;  animation: float-card 7s ease-in-out infinite; }
.floating-card--2 { top: 28%; right: 4%; animation: float-card 9s ease-in-out infinite reverse; }
.floating-card--3 { bottom: 28%; left: 6%;  animation: float-card 8s ease-in-out infinite 1s; }
.floating-card--4 { bottom: 22%; right: 5%; animation: float-card 6.5s ease-in-out infinite 0.5s; }


/* ================================================================
   8. STATS BAR
   ================================================================ */
.stats-bar {
  padding: var(--s-10) 0;
  border-top: 1px solid var(--border-xs);
  border-bottom: 1px solid var(--border-xs);
  background: var(--bg-subtle);
}

.stats-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: var(--s-8);
}

.stat-item { text-align: center; }

.stat-item__value {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 900;
  font-family: var(--font-display);
  background: var(--g-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: var(--s-1);
}

.stat-item__label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Dividers between stats */
.stats-bar__inner .stat-item + .stat-item {
  position: relative;
}


/* ================================================================
   9. PILLARS (WHAT WE BUILD)
   ================================================================ */
.pillars { background: var(--bg-base); }

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
}

.pillar-card {
  padding: var(--s-8);
  background: var(--bg-elevated);
  border: 1px solid var(--border-sm);
  border-radius: var(--r-xl);
  transition: all var(--dur-normal) var(--ease-out);
  cursor: default;
}

.pillar-card:hover {
  border-color: rgba(99,102,241,.3);
  transform: translateY(-5px);
  box-shadow: var(--shadow-brand);
  background: var(--bg-overlay);
}

.pillar-card__icon {
  width: 52px; height: 52px;
  background: rgba(99,102,241,.08);
  border: 1px solid rgba(99,102,241,.16);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--s-5);
  transition: background var(--dur-normal) var(--ease-out);
}

.pillar-card:hover .pillar-card__icon {
  background: rgba(99,102,241,.15);
}

.pillar-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-display);
  margin-bottom: var(--s-3);
}

.pillar-card__desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}


/* ================================================================
   10. PLUGIN ECOSYSTEM
   ================================================================ */
.ecosystem {
  background: var(--bg-subtle);
  position: relative;
  overflow: hidden;
}

.ecosystem::before {
  content: '';
  position: absolute;
  top: -20%; left: 50%; transform: translateX(-50%);
  width: 900px; height: 500px;
  background: radial-gradient(ellipse at top, rgba(99,102,241,.07) 0%, transparent 70%);
  pointer-events: none;
}

.ecosystem__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
}

.product-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-sm);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  transition: all var(--dur-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--g-brand);
  transform: scaleX(0);
  transition: transform var(--dur-normal) var(--ease-out);
}

.product-card:hover {
  border-color: rgba(99,102,241,.28);
  background: var(--bg-overlay);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.product-card:hover::after { transform: scaleX(1); }

.product-card__icon {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.375rem;
  margin-bottom: var(--s-4);
  flex-shrink: 0;
}

/* Icon color variants */
.product-icon--crm        { background: rgba(99,102,241,.14); }
.product-icon--erp        { background: rgba(16,185,129,.14); }
.product-icon--church     { background: rgba(245,158,11,.14); }
.product-icon--real-estate{ background: rgba(59,130,246,.14); }
.product-icon--venue      { background: rgba(236,72,153,.14); }
.product-icon--agency     { background: rgba(239,68,68,.14); }
.product-icon--accounting { background: rgba(6,182,212,.14); }
.product-icon--procurement{ background: rgba(168,85,247,.14); }

.product-card__tag {
  display: inline-block;
  padding: 3px 9px;
  background: rgba(99,102,241,.08);
  border-radius: var(--r-full);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-brand);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: var(--s-3);
}

.product-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-display);
  margin-bottom: var(--s-2);
}

.product-card__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
  margin-bottom: var(--s-4);
}

.product-card__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-brand);
  transition: color var(--dur-fast) var(--ease-out);
  margin-top: auto;
}

.product-card__link:hover { color: #fff; }

/* Ecosystem footer */
.ecosystem__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-6);
  flex-wrap: wrap;
  margin-top: var(--s-12);
  padding-top: var(--s-10);
  border-top: 1px solid var(--border-xs);
}

.ecosystem__footer p {
  font-size: 0.9375rem;
  color: var(--text-muted);
}


/* ================================================================
   11. HEADLESS ARCHITECTURE
   ================================================================ */
.architecture { background: var(--bg-base); }

.architecture__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--s-16);
  align-items: center;
}

.architecture__content h2 { margin-bottom: var(--s-5); }
.architecture__content > p { font-size: 1.0625rem; margin-bottom: var(--s-8); }

.architecture__benefits {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: var(--s-4);
  padding: var(--s-4) var(--s-5);
  background: var(--bg-elevated);
  border: 1px solid var(--border-sm);
  border-radius: var(--r-md);
  transition: all var(--dur-normal) var(--ease-out);
}

.benefit-item:hover {
  border-color: var(--border-brand);
  background: var(--bg-overlay);
}

.benefit-item__icon {
  width: 40px; height: 40px;
  background: rgba(99,102,241,.08);
  border: 1px solid rgba(99,102,241,.16);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.benefit-item__text h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.benefit-item__text p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Architecture Diagram */
.arch-diagram {
  background: var(--bg-elevated);
  border: 1px solid var(--border-md);
  border-radius: var(--r-xl);
  padding: var(--s-8);
  position: relative;
  overflow: hidden;
}

.arch-diagram::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(ellipse at center, rgba(99,102,241,.12) 0%, transparent 70%);
  pointer-events: none;
}

.arch-diagram__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--s-8);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--border-xs);
}

.arch-diagram__title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-display);
}

.arch-diagram__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(16,185,129,.1);
  border: 1px solid rgba(16,185,129,.2);
  border-radius: var(--r-full);
  font-size: 0.72rem;
  font-weight: 700;
  color: #34d399;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.arch-diagram__badge::before {
  content: '';
  width: 6px; height: 6px;
  background: #34d399;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

.arch-stack { display: flex; flex-direction: column; gap: 0; }

.arch-layer {
  padding: var(--s-4) var(--s-5);
  border-radius: var(--r-md);
}

.arch-layer--frontend { background: rgba(6,182,212,.06); border: 1px solid rgba(6,182,212,.15); }
.arch-layer--backend  { background: rgba(99,102,241,.06); border: 1px solid rgba(99,102,241,.15); }
.arch-layer--infra    { background: rgba(16,185,129,.06); border: 1px solid rgba(16,185,129,.15); }

.arch-layer__label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: var(--s-3);
}

.arch-layer__content { display: flex; gap: var(--s-2); flex-wrap: wrap; }

.arch-tech {
  padding: 5px 12px;
  border-radius: var(--r-full);
  font-size: 0.8125rem;
  font-weight: 600;
}

.arch-tech--react   { background: rgba(6,182,212,.12); color: #22d3ee; border: 1px solid rgba(6,182,212,.2); }
.arch-tech--next    { background: rgba(255,255,255,.06); color: var(--text-secondary); border: 1px solid var(--border-md); }
.arch-tech--vite    { background: rgba(168,85,247,.12); color: #c084fc; border: 1px solid rgba(168,85,247,.2); }
.arch-tech--wp      { background: rgba(33,117,155,.12); color: #4ec9e1; border: 1px solid rgba(33,117,155,.2); }
.arch-tech--plugin  { background: rgba(99,102,241,.12); color: #818cf8; border: 1px solid rgba(99,102,241,.2); }
.arch-tech--hosting { background: rgba(16,185,129,.12); color: #34d399; border: 1px solid rgba(16,185,129,.2); }
.arch-tech--cdn     { background: rgba(245,158,11,.12); color: #fbbf24; border: 1px solid rgba(245,158,11,.2); }

.arch-connector {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-2) var(--s-5);
}

.arch-connector__line {
  flex: 1;
  height: 1px;
  background: var(--border-sm);
}

.arch-connector__label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}


/* ================================================================
   12. PLUGIN + THEME MODEL
   ================================================================ */
.model-section { background: var(--bg-subtle); }

.model-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-6);
  margin-bottom: var(--s-6);
}

.model-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-md);
  border-radius: var(--r-xl);
  padding: var(--s-10);
  position: relative;
  overflow: hidden;
  transition: all var(--dur-normal) var(--ease-out);
}

.model-card--plugin { border-color: rgba(99,102,241,.2); }
.model-card--theme  { border-color: rgba(139,92,246,.2); }

.model-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.model-card__badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--r-full);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--s-5);
}

.model-card--plugin .model-card__badge {
  background: rgba(99,102,241,.12);
  color: var(--text-brand);
  border: 1px solid rgba(99,102,241,.22);
}

.model-card--theme .model-card__badge {
  background: rgba(139,92,246,.12);
  color: var(--text-violet);
  border: 1px solid rgba(139,92,246,.22);
}

.model-card__title {
  font-size: 1.5rem;
  font-weight: 800;
  font-family: var(--font-display);
  margin-bottom: var(--s-4);
}

.model-card--plugin .model-card__title { color: var(--text-brand); }
.model-card--theme .model-card__title  { color: var(--text-violet); }

.model-card__desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--s-6);
}

.model-card__features { display: flex; flex-direction: column; gap: var(--s-3); }

.model-feature {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.model-feature::before {
  content: '✓';
  width: 20px; height: 20px;
  background: rgba(99,102,241,.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--brand-indigo);
  flex-shrink: 0;
  text-align: center;
  line-height: 20px;
}

/* Combined product card */
.model-equal-card {
  background: var(--g-brand-full);
  border-radius: var(--r-xl);
  padding: var(--s-16) var(--s-12);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.model-equal-card::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at top left, rgba(255,255,255,.12) 0%, transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(0,0,0,.2) 0%, transparent 60%);
  pointer-events: none;
}

.model-equal-card__inner { position: relative; z-index: 1; }

.model-equal-card__formula {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-4);
  flex-wrap: wrap;
  margin-bottom: var(--s-6);
}

.formula-item {
  padding: 8px 18px;
  border-radius: var(--r-full);
  font-size: 0.875rem;
  font-weight: 700;
  background: rgba(255,255,255,.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
}

.formula-plus, .formula-equals {
  font-size: 1.5rem;
  font-weight: 800;
  color: rgba(255,255,255,.6);
}

.formula-result {
  padding: 8px 20px;
  background: rgba(255,255,255,.22);
  border-radius: var(--r-full);
  font-size: 0.9rem;
  font-weight: 800;
  color: #fff;
  border: 1px solid rgba(255,255,255,.4);
}

.model-equal-card__headline {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  font-family: var(--font-display);
  color: #fff;
  margin-bottom: var(--s-4);
}

.model-equal-card__desc {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.8);
  max-width: 560px;
  margin: 0 auto var(--s-8);
  line-height: 1.65;
}


/* ================================================================
   13. MANAGED HOSTING
   ================================================================ */
.hosting { background: var(--bg-base); }

.hosting__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--s-16);
  align-items: start;
}

.hosting__content h2 { margin-bottom: var(--s-5); }
.hosting__content > p { font-size: 1.0625rem; margin-bottom: var(--s-8); }

.hosting__cta { display: flex; gap: var(--s-4); flex-wrap: wrap; }

.hosting__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
}

.hosting-feature {
  background: var(--bg-elevated);
  border: 1px solid var(--border-sm);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  transition: all var(--dur-normal) var(--ease-out);
}

.hosting-feature:hover {
  border-color: var(--border-brand);
  background: var(--bg-overlay);
}

.hosting-feature__icon {
  font-size: 1.75rem;
  margin-bottom: var(--s-3);
  display: block;
}

.hosting-feature__title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-display);
  margin-bottom: var(--s-2);
}

.hosting-feature__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}


/* ================================================================
   14. WHY DENNIDIIGITAL
   ================================================================ */
.why-section { background: var(--bg-subtle); }

.why-section__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}

.why-card {
  padding: var(--s-8);
  background: var(--bg-elevated);
  border: 1px solid var(--border-sm);
  border-radius: var(--r-xl);
  transition: all var(--dur-normal) var(--ease-out);
}

.why-card:hover {
  border-color: rgba(99,102,241,.22);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.why-card__number {
  font-size: 3rem;
  font-weight: 900;
  font-family: var(--font-display);
  background: var(--g-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.06em;
  line-height: 1;
  margin-bottom: var(--s-5);
  opacity: 0.7;
}

.why-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-display);
  margin-bottom: var(--s-3);
}

.why-card__desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}


/* ================================================================
   15. INDUSTRIES
   ================================================================ */
.industries { background: var(--bg-base); }

.industries__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
}

.industry-item {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-4) var(--s-5);
  background: var(--bg-elevated);
  border: 1px solid var(--border-sm);
  border-radius: var(--r-md);
  transition: all var(--dur-normal) var(--ease-out);
}

.industry-item:hover {
  border-color: var(--border-brand);
  background: var(--bg-overlay);
  transform: translateX(5px);
}

.industry-item__icon {
  font-size: 1.375rem;
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: rgba(99,102,241,.07);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
}

.industry-item__name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  font-family: var(--font-display);
  margin-bottom: 2px;
}

.industry-item__sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}


/* ================================================================
   16. BUSINESS MODEL
   ================================================================ */
.business-model { background: var(--bg-subtle); }

.bm-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
}

.bm-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-sm);
  border-radius: var(--r-xl);
  padding: var(--s-8);
  position: relative;
  transition: all var(--dur-normal) var(--ease-out);
}

.bm-card:hover {
  border-color: rgba(99,102,241,.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.bm-card--featured {
  background: var(--bg-overlay);
  border-color: rgba(99,102,241,.35);
  box-shadow: 0 0 0 1px rgba(99,102,241,.15), var(--shadow-brand);
}

.bm-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  background: var(--g-brand);
  border-radius: var(--r-full);
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.bm-card__icon {
  font-size: 2rem;
  margin-bottom: var(--s-5);
  display: block;
}

.bm-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-display);
  margin-bottom: var(--s-3);
}

.bm-card__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--s-5);
}

.bm-card__features {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.bm-card__features li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: var(--s-4);
  position: relative;
}

.bm-card__features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--brand-indigo);
  font-size: 0.75rem;
}


/* ================================================================
   17. CTA SECTION
   ================================================================ */
.cta-section {
  background: var(--bg-base);
  padding: var(--s-32) 0;
}

.cta-card {
  background: var(--g-brand-full);
  border-radius: var(--r-3xl);
  padding: var(--s-20) var(--s-16);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at top left, rgba(255,255,255,.14) 0%, transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(0,0,0,.18) 0%, transparent 55%);
  pointer-events: none;
}

.cta-card__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 5px 16px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--r-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255,255,255,.92);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--s-6);
  position: relative;
  z-index: 1;
}

.cta-card__headline {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 900;
  font-family: var(--font-display);
  color: #fff;
  margin-bottom: var(--s-5);
  letter-spacing: -0.03em;
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-card__desc {
  font-size: 1.125rem;
  color: rgba(255,255,255,.8);
  max-width: 520px;
  margin: 0 auto var(--s-10);
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

.cta-card__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-4);
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  margin-bottom: var(--s-6);
}

.cta-card__note {
  font-size: 0.875rem;
  color: rgba(255,255,255,.55);
  position: relative;
  z-index: 1;
}


/* ================================================================
   18. FOOTER
   ================================================================ */
.site-footer {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-xs);
  padding: var(--s-20) 0 var(--s-8);
}

.footer__main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--s-12);
  margin-bottom: var(--s-16);
  padding-bottom: var(--s-16);
  border-bottom: 1px solid var(--border-xs);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-5);
  text-decoration: none;
}

.footer__logo-text {
  font-family: var(--font-display);
  font-size: 1.175rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: var(--g-brand-full);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer__tagline {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--s-6);
  max-width: 280px;
}

.footer__social { display: flex; gap: var(--s-3); margin-bottom: var(--s-6); }

.social-link {
  width: 36px; height: 36px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-md);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--dur-normal) var(--ease-out);
}

.social-link:hover {
  background: rgba(99,102,241,.1);
  border-color: rgba(99,102,241,.3);
  color: var(--text-brand);
}

.footer__badge {
  display: inline-block;
  padding: 5px 12px;
  background: rgba(99,102,241,.07);
  border: 1px solid rgba(99,102,241,.15);
  border-radius: var(--r-full);
}

.footer__badge-text {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.footer__col-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-primary);
  margin-bottom: var(--s-5);
}

/* Footer product status badge — "In Dev" label beside DigencySuite */
.footer__product-badge {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 1px 5px;
  border-radius: 3px;
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
  border: 1px solid rgba(99, 102, 241, 0.3);
  vertical-align: middle;
  margin-left: 4px;
}

[data-theme="light"] .footer__product-badge {
  background: rgba(99, 102, 241, 0.08);
  color: #6366f1;
  border-color: rgba(99, 102, 241, 0.2);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.footer__links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color var(--dur-fast) var(--ease-out);
}

.footer__links a:hover { color: var(--text-primary); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  flex-wrap: wrap;
}

.footer__copyright { font-size: 0.875rem; color: var(--text-muted); }

.footer__bottom-links { display: flex; gap: var(--s-6); }

.footer__bottom-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--dur-fast) var(--ease-out);
}

/* =================================================================
   22 — BREADCRUMB
   ================================================================= */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: var(--s-8);
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); transition: color var(--dur-fast) var(--ease-out); }
.breadcrumb a:hover { color: var(--text-base); }
.breadcrumb span[aria-current="page"] { color: var(--text-base); }


/* =================================================================
   23 — INNER HERO (shared by About, Products, Services, Contact)
   ================================================================= */
.inner-hero {
  position: relative;
  padding: 6rem 0 4rem;
  overflow: hidden;
}
.inner-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.inner-hero__glow {
  position: absolute;
  width: 36rem;
  height: 36rem;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.08;
}
.inner-hero__glow--left  { top: -8rem; left: -8rem;  background: var(--color-indigo); }
.inner-hero__glow--right { top: -4rem; right: -8rem; background: var(--color-violet); }
.inner-hero__body        { max-width: 52rem; }
.inner-hero__sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-top: var(--s-4);
  max-width: 44rem;
}
.section--sm { padding: var(--s-12) 0; }


/* =================================================================
   24 — INNER SECTION CTA (shared across sub-pages)
   ================================================================= */
.inner-cta { padding: var(--s-24) 0; background: var(--bg-base); }
.inner-cta__card {
  background: linear-gradient(135deg, rgba(var(--color-indigo-rgb),.9) 0%, rgba(var(--color-violet-rgb),.85) 100%);
  border-radius: var(--radius-2xl);
  padding: var(--s-16) var(--s-12);
  text-align: center;
}
.inner-cta__card h2 { font-size: clamp(1.5rem,3vw,2rem); color: #fff; margin-bottom: var(--s-4); }
.inner-cta__card p  { color: rgba(255,255,255,.8); font-size: 1.0625rem; margin-bottom: var(--s-8); max-width: 40rem; margin-left: auto; margin-right: auto; }
.inner-cta__actions { display: flex; gap: var(--s-4); justify-content: center; flex-wrap: wrap; }
.btn--white { background: #fff; color: var(--color-indigo); font-weight: 600; }
.btn--white:hover { background: rgba(255,255,255,.9); color: var(--color-indigo); }
.btn--outline-white { background: transparent; border: 1.5px solid rgba(255,255,255,.4); color: #fff; }
.btn--outline-white:hover { background: rgba(255,255,255,.1); border-color: #fff; }


/* =================================================================
   25 — PRODUCT HERO
   ================================================================= */
.product-hero {
  position: relative;
  padding: 5.5rem 0 4rem;
  overflow: hidden;
}
.product-hero__bg { position: absolute; inset: 0; pointer-events: none; }
.product-hero__glow {
  position: absolute;
  top: -4rem; left: -4rem;
  width: 40rem; height: 40rem;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.15;
  background: rgb(var(--product-rgb));
}
.product-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 3rem 3rem;
}
.product-hero__content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-16);
  align-items: center;
}
.product-hero__badge-wrap { display: flex; align-items: center; gap: var(--s-3); margin-bottom: var(--s-4); }
.product-hero__icon { font-size: 2rem; }
.product-hero__tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25em 0.85em;
  border-radius: 9999px;
  background: rgba(var(--product-rgb),.12);
  color: var(--product-light, #a5b4fc);
  border: 1px solid rgba(var(--product-rgb),.25);
}
.product-hero__name { font-size: clamp(2rem,5vw,3.25rem); line-height: 1.1; margin-bottom: var(--s-4); }
.product-hero__desc { font-size: 1.0625rem; color: var(--text-muted); line-height: 1.75; margin-bottom: var(--s-5); max-width: 36rem; }
.product-hero__points { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2) var(--s-4); margin-bottom: var(--s-8); }
.product-hero__point { display: flex; align-items: flex-start; gap: var(--s-2); font-size: 0.9375rem; color: var(--text-muted); }
.php-check { color: var(--product-light, #a5b4fc); font-weight: 700; flex-shrink: 0; margin-top: 0.1em; }
.product-hero__actions { display: flex; gap: var(--s-3); flex-wrap: wrap; }

/* Mock preview card */
.product-preview-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.4);
}
.product-preview-card__header {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-3) var(--s-4);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-raised);
}
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot.red    { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green  { background: #28c840; }
.product-preview-card__title { font-size: 0.75rem; color: var(--text-muted); margin-left: var(--s-2); }
.product-preview-card__body { padding: var(--s-4); }

/* Mock dashboard widgets */
.mock-stat-row { display: flex; gap: var(--s-3); margin-bottom: var(--s-4); }
.mock-stat { flex: 1; background: var(--bg-raised); border-radius: var(--radius-lg); padding: var(--s-3); }
.mock-stat__val { display: block; font-size: 1.1rem; font-weight: 700; }
.mock-stat__lbl { display: block; font-size: 0.65rem; color: var(--text-muted); margin-top: 0.1em; }
.mock-bar-chart { display: flex; align-items: flex-end; gap: var(--s-1); height: 60px; margin-bottom: var(--s-3); border-radius: var(--radius-sm); overflow: hidden; }
.mock-bar { border-radius: 3px 3px 0 0; flex: 1; min-width: 0; }
.mock-list { display: flex; flex-direction: column; gap: var(--s-2); }
.mock-list__item { display: flex; align-items: center; gap: var(--s-2); }
.mock-list__avatar { width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; }
.mock-list__lines { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.mock-line { height: 6px; border-radius: 9999px; background: var(--border-subtle); }
.mock-line--lg { width: 80%; }
.mock-line--sm { width: 50%; }
.mock-badge { font-size: 0.6rem; font-weight: 600; padding: 2px 6px; border-radius: 9999px; white-space: nowrap; }


/* =================================================================
   26 — PRODUCT INDUSTRIES BAR
   ================================================================= */
.product-industries { background: var(--bg-raised); border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); padding: var(--s-4) 0; }
.product-industries__inner { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; }
.product-industries__label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); flex-shrink: 0; }
.product-industries__pill {
  font-size: 0.8125rem;
  padding: 0.25em 0.85em;
  border-radius: 9999px;
  background: rgba(var(--product-rgb),.1);
  color: var(--product-light, #a5b4fc);
  border: 1px solid rgba(var(--product-rgb),.2);
}


/* =================================================================
   27 — PRODUCT FEATURES GRID
   ================================================================= */
.product-features { background: var(--bg-base); }
.product-features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
}
.pf-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--s-6);
  transition: border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.pf-card:hover {
  border-color: rgba(var(--product-rgb),.45);
  transform: translateY(-3px);
}
.pf-card__icon {
  width: 2.5rem; height: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  margin-bottom: var(--s-4);
}
.pf-card__title { font-size: 0.9375rem; font-weight: 600; margin-bottom: var(--s-2); }
.pf-card__desc  { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }


/* =================================================================
   28 — PRODUCT CAPABILITIES GRID
   ================================================================= */
.product-capabilities { background: var(--bg-raised); }
.pca__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--s-16);
  align-items: center;
}
.pca__content h2 { margin: var(--s-4) 0; }
.pca__content p  { color: var(--text-muted); line-height: 1.75; margin-bottom: var(--s-6); }
.pca__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
}
.pca__item {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  padding: var(--s-5);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  transition: border-color var(--dur-fast) var(--ease-out);
}
.pca__item:hover { border-color: rgba(var(--product-rgb),.4); }
.pca__item-icon {
  width: 2.25rem; height: 2.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.pca__item-title { font-size: 0.875rem; font-weight: 600; margin-bottom: var(--s-1); }
.pca__item-desc  { font-size: 0.8125rem; color: var(--text-muted); line-height: 1.5; }


/* =================================================================
   29 — PRODUCT COMPANION THEME SECTION
   ================================================================= */
.product-companion { background: var(--bg-base); }
.product-companion__card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  padding: var(--s-12);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-12);
  align-items: center;
}
.product-companion__text .eyebrow { margin-bottom: var(--s-3); }
.product-companion__text h2 { margin-bottom: var(--s-4); }
.product-companion__text p  { color: var(--text-muted); line-height: 1.75; margin-bottom: var(--s-6); }
.product-companion__list { list-style: none; display: flex; flex-direction: column; gap: var(--s-2); margin-bottom: var(--s-8); }
.product-companion__list li { display: flex; align-items: center; gap: var(--s-2); font-size: 0.9375rem; color: var(--text-muted); }
.product-companion__list li::before { content: "✓"; color: var(--product-light,#a5b4fc); font-weight: 700; flex-shrink: 0; }

/* Companion mockup */
.companion-preview {
  background: var(--bg-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
}
.companion-preview__titlebar { display: flex; align-items: center; gap: 6px; padding: var(--s-3) var(--s-4); background: var(--bg-base); border-bottom: 1px solid var(--border-subtle); }
.companion-preview__sidebar { width: 64px; background: var(--bg-base); border-right: 1px solid var(--border-subtle); display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-3); flex-shrink: 0; }
.cp-nav-item { height: 28px; border-radius: var(--radius-md); background: var(--border-subtle); }
.cp-nav-item--active { background: rgba(var(--product-rgb),.18); }
.companion-preview__main { flex: 1; display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-3); overflow: hidden; min-width: 0; }
.companion-preview { flex-direction: row !important; }
.companion-preview__main { }
.cp-header-bar { height: 28px; background: var(--border-subtle); border-radius: var(--radius-md); margin-bottom: var(--s-2); }
.cp-cards-row { display: flex; gap: var(--s-2); }
.cp-mini-card { flex: 1; height: 3.5rem; background: var(--border-subtle); border-radius: var(--radius-md); }
.cp-chart-area { flex: 1; background: var(--border-subtle); border-radius: var(--radius-md); min-height: 0; }


/* =================================================================
   30 — PRICING CARDS
   ================================================================= */
.product-pricing  { background: var(--bg-raised); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: var(--s-6);
  align-items: start;
}
.pricing-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  padding: var(--s-8);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  transition: box-shadow var(--dur-fast) var(--ease-out);
}
.pricing-card--featured {
  border-color: rgba(var(--product-rgb),.5);
  box-shadow: 0 0 0 1px rgba(var(--product-rgb),.18), 0 20px 60px rgba(var(--product-rgb),.12);
}
.pricing-card__badge {
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  padding: 0.25rem 1rem;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.pricing-card__name   { font-size: 1.125rem; font-weight: 700; }
.pricing-card__desc   { font-size: 0.875rem; color: var(--text-muted); }
.pricing-card__price  { display: flex; align-items: baseline; gap: var(--s-1); }
.pricing-card__amount { font-size: 2.5rem; font-weight: 800; line-height: 1; }
.pricing-card__period { font-size: 0.875rem; color: var(--text-muted); }
.pricing-card__cta    { text-align: center; margin-top: var(--s-2); }
.pricing-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--s-4);
}
.pricing-card__features li  { display: flex; align-items: flex-start; gap: var(--s-2); font-size: 0.875rem; color: var(--text-muted); }
.pricing-check { font-weight: 700; flex-shrink: 0; }
.pricing-note  { text-align: center; margin-top: var(--s-8); font-size: 0.875rem; color: var(--text-muted); }


/* =================================================================
   31 — PRODUCT BOTTOM CTA
   ================================================================= */
.product-bottom-cta { background: var(--bg-base); padding: var(--s-24) 0; }
.product-bottom-cta__card {
  background: linear-gradient(135deg, rgba(var(--product-rgb),.9) 0%, rgba(var(--product-rgb),.6) 100%);
  border-radius: var(--radius-2xl);
  padding: var(--s-16) var(--s-12);
  text-align: center;
}
.product-bottom-cta__icon { font-size: 3rem; margin-bottom: var(--s-4); }
.product-bottom-cta__card h2 { font-size: clamp(1.5rem,3vw,2rem); color: #fff; margin-bottom: var(--s-4); }
.product-bottom-cta__card p  { color: rgba(255,255,255,.8); font-size: 1.0625rem; margin-bottom: var(--s-8); max-width: 38rem; margin-left: auto; margin-right: auto; }
.product-bottom-cta__actions { display: flex; gap: var(--s-4); justify-content: center; flex-wrap: wrap; }


/* =================================================================
   32 — PRODUCTS LISTING PAGE
   ================================================================= */
.products-hero { padding-bottom: 2rem; }

/* Filter toolbar */
.products-filter {
  display: flex;
  gap: var(--s-2);
  flex-wrap: wrap;
  margin-top: var(--s-8);
}
.products-filter__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  border: 1.5px solid var(--border-subtle);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
}
.products-filter__btn:hover,
.products-filter__btn--active {
  border-color: var(--color-indigo);
  background: rgba(var(--color-indigo-rgb),.1);
  color: var(--color-indigo-light);
}
.products-filter__count {
  background: var(--bg-raised);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.1em 0.55em;
  border-radius: 9999px;
  color: var(--text-muted);
}

/* Products grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: var(--s-6);
}
.product-card-full {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  padding: var(--s-8);
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  transition: border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.product-card-full:hover { border-color: rgba(var(--product-rgb),.4); transform: translateY(-4px); }
.pcf__header { display: flex; align-items: flex-start; gap: var(--s-4); }
.pcf__icon-wrap {
  width: 3.5rem; height: 3.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.pcf__tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2em 0.75em;
  border-radius: 9999px;
  border: 1px solid transparent;
  display: inline-block;
  margin-bottom: var(--s-1);
}
.pcf__name { font-size: 1.25rem; font-weight: 700; }
.pcf__desc { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.65; }
.pcf__features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-2);
}
.pcf__features li { display: flex; align-items: center; gap: var(--s-2); font-size: 0.875rem; color: var(--text-muted); }
.pcf__feat-icon    { font-size: 0.9rem; }
.pcf__industries   { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.pcf__industry-pill {
  font-size: 0.75rem;
  padding: 0.2em 0.75em;
  border-radius: 9999px;
  background: var(--bg-raised);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}
.pcf__footer { display: flex; align-items: center; gap: var(--s-4); margin-top: auto; padding-top: var(--s-2); border-top: 1px solid var(--border-subtle); }
.pcf__cta { flex-shrink: 0; }
.pcf__demo-link { font-size: 0.875rem; color: var(--text-muted); transition: color var(--dur-fast); }
.pcf__demo-link:hover { color: var(--text-base); }

/* Architecture callout */
.arch-callout-card {
  display: flex;
  align-items: center;
  gap: var(--s-8);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  padding: var(--s-10) var(--s-12);
}
.arch-callout-card__icon { font-size: 2.5rem; flex-shrink: 0; }
.arch-callout-card__body { flex: 1; }
.arch-callout-card__body h2 { font-size: 1.375rem; margin-bottom: var(--s-3); }
.arch-callout-card__body p  { color: var(--text-muted); line-height: 1.7; }
.arch-callout-card__cta { flex-shrink: 0; }


/* =================================================================
   33 — SERVICES PAGE
   ================================================================= */
/* Overview cards */
.services-overview__grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: var(--s-5);
}
.svc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  padding: var(--s-8) var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  transition: border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.svc-card:hover { border-color: var(--color-indigo); transform: translateY(-3px); }
.svc-card__icon  { font-size: 2rem; }
.svc-card__title { font-size: 1.0625rem; font-weight: 700; }
.svc-card__desc  { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; flex: 1; }
.svc-card__link  { font-size: 0.875rem; font-weight: 600; color: var(--color-indigo-light); }

/* Detail sections */
.services-detail { background: var(--bg-base); }
.services-detail--alt { background: var(--bg-raised); }
.services-detail__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-16);
  align-items: center;
}
.services-detail__inner--reverse { direction: rtl; }
.services-detail__inner--reverse > * { direction: ltr; }
.services-detail__content .eyebrow { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--color-indigo-light); margin-bottom: var(--s-3); display: block; }
.services-detail__content h2 { font-size: clamp(1.5rem,3vw,2rem); margin-bottom: var(--s-4); }
.services-detail__content p  { color: var(--text-muted); line-height: 1.75; margin-bottom: var(--s-4); }
.services-detail__list { list-style: none; display: flex; flex-direction: column; gap: var(--s-2); margin-bottom: var(--s-8); }
.services-detail__list li { display: flex; align-items: flex-start; gap: var(--s-2); font-size: 0.9375rem; color: var(--text-muted); }
.services-detail__list li::before { content: "✓"; color: var(--color-indigo-light); font-weight: 700; flex-shrink: 0; margin-top: 0.15em; }

/* Visual cards */
.services-visual-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  padding: var(--s-8);
}
.svc-visual-icon { font-size: 2.5rem; margin-bottom: var(--s-6); text-align: center; }
.svc-table { display: flex; flex-direction: column; gap: var(--s-2); }
.svc-table__row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: var(--s-2);
  padding: var(--s-3) var(--s-4);
  background: var(--bg-raised);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  font-size: 0.8125rem;
  color: var(--text-muted);
  align-items: center;
}
.svc-table__row--featured { border-color: var(--color-indigo); background: rgba(var(--color-indigo-rgb),.08); }
.svc-table__plan { font-weight: 700; color: var(--text-base); }

/* Theme stack visual */
.theme-stack { position: relative; height: 12rem; }
.theme-stack__card {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  border-radius: var(--radius-xl);
  border: 1px solid transparent;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-base);
  transition: transform var(--dur-normal) var(--ease-out);
}
.theme-stack__dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }

/* Hosting features */
.hosting-features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); margin-bottom: var(--s-8); }
.hosting-feat-item { display: flex; align-items: flex-start; gap: var(--s-3); }
.hosting-feat-item__icon { font-size: 1.25rem; flex-shrink: 0; margin-top: 0.1em; }
.hosting-feat-item h4 { font-size: 0.9375rem; font-weight: 600; margin-bottom: var(--s-1); }
.hosting-feat-item p  { font-size: 0.8125rem; color: var(--text-muted); line-height: 1.5; }

/* Hosting SLA visual */
.hosting-sla-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  padding: var(--s-8);
  text-align: center;
}
.hosting-sla-card__title   { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: var(--s-2); }
.hosting-sla-card__percent { font-size: 4rem; font-weight: 900; color: #34d399; line-height: 1; margin-bottom: var(--s-4); }
.hosting-sla-card__percent span { font-size: 2rem; }
.hosting-sla-uptime-bar { display: flex; gap: 3px; justify-content: center; margin-bottom: var(--s-3); flex-wrap: wrap; }
.uptime-tick { width: 8px; height: 28px; border-radius: 3px; }
.uptime-tick--ok   { background: #34d399; }
.uptime-tick--warn { background: #f59e0b; }
.hosting-sla-card__label { font-size: 0.75rem; color: var(--text-muted); }

/* Enterprise badges */
.enterprise-badges { display: flex; flex-wrap: wrap; gap: var(--s-3); justify-content: center; padding: var(--s-8); }
.enterprise-badge {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--dur-fast) var(--ease-out);
}
.enterprise-badge:hover { border-color: var(--color-indigo); color: var(--color-indigo-light); }

/* Support plans */
.support-plans-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--s-6); align-items: start; }
.support-plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  padding: var(--s-8);
  position: relative;
  display: flex; flex-direction: column; gap: var(--s-4);
}
.support-plan-card--featured { border-color: var(--color-indigo); box-shadow: 0 0 0 1px rgba(var(--color-indigo-rgb),.2), 0 20px 60px rgba(var(--color-indigo-rgb),.1); }
.support-plan-card__badge {
  position: absolute;
  top: -1px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(90deg, var(--color-indigo), var(--color-violet));
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.2rem 1rem;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}
.support-plan-card__name { font-size: 1.125rem; font-weight: 700; }
.support-plan-card__desc { font-size: 0.875rem; color: var(--text-muted); }
.support-plan-card__list { list-style: none; display: flex; flex-direction: column; gap: var(--s-2); border-top: 1px solid var(--border-subtle); padding-top: var(--s-4); }
.support-plan-card__list li { display: flex; align-items: flex-start; gap: var(--s-2); font-size: 0.875rem; color: var(--text-muted); }


/* =================================================================
   34 — CONTACT PAGE
   ================================================================= */
/* Info bar */
.contact-info-bar { background: var(--bg-raised); border-bottom: 1px solid var(--border-subtle); padding: var(--s-8) 0; }
.contact-info-bar__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--s-5); }
.cib-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--s-6);
  display: flex; flex-direction: column; gap: var(--s-2);
  transition: border-color var(--dur-fast) var(--ease-out);
}
.cib-card:hover { border-color: var(--color-indigo); }
.cib-card__icon  { font-size: 1.5rem; }
.cib-card__title { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.cib-card__value { font-size: 0.9375rem; font-weight: 600; color: var(--color-indigo-light); }
.cib-card__note  { font-size: 0.8125rem; color: var(--text-muted); }

/* Contact grid */
.contact-section { background: var(--bg-base); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 20rem;
  gap: var(--s-12);
  align-items: start;
}
.contact-form-wrap h2 { font-size: 1.5rem; margin-bottom: var(--s-2); }
.contact-form-wrap > p { color: var(--text-muted); margin-bottom: var(--s-8); }

/* Form styles */
.contact-form { display: flex; flex-direction: column; gap: var(--s-5); }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.contact-form__field { display: flex; flex-direction: column; gap: var(--s-1); }
.contact-form__label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-base);
  display: flex; align-items: center; gap: var(--s-1);
}
.required { color: #f87171; }
.contact-form__input,
.contact-form__select,
.contact-form__textarea {
  background: var(--bg-raised);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 0.7rem 1rem;
  font-size: 0.9375rem;
  color: var(--text-base);
  font-family: inherit;
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
  width: 100%;
}
.contact-form__input::placeholder,
.contact-form__textarea::placeholder { color: var(--text-muted); }
.contact-form__input:focus,
.contact-form__select:focus,
.contact-form__textarea:focus {
  outline: none;
  border-color: var(--color-indigo);
  box-shadow: 0 0 0 3px rgba(var(--color-indigo-rgb),.12);
}
.contact-form__select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%236b7280' d='M1.646 4.646a.5.5 0 01.708 0L8 10.293l5.646-5.647a.5.5 0 01.708.708l-6 6a.5.5 0 01-.708 0l-6-6a.5.5 0 010-.708z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 14px; padding-right: 2.5rem; cursor: pointer; }
.contact-form__textarea { resize: vertical; min-height: 150px; }
.contact-form__footer { display: flex; align-items: center; gap: var(--s-4); flex-wrap: wrap; }
.contact-form__privacy { font-size: 0.8125rem; color: var(--text-muted); }
.contact-form__privacy a { color: var(--color-indigo-light); }

/* Form notices */
.form-notice { padding: var(--s-4) var(--s-5); border-radius: var(--radius-lg); font-size: 0.9375rem; margin-bottom: var(--s-6); }
.form-notice--success { background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.3); color: #34d399; }
.form-notice--error   { background: rgba(248,113,113,.08); border: 1px solid rgba(248,113,113,.25); color: #f87171; }

/* Sidebar */
.contact-sidebar { display: flex; flex-direction: column; gap: var(--s-5); }
.contact-sidebar__card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--s-6);
}
.contact-sidebar__card h3 { font-size: 0.9375rem; font-weight: 700; margin-bottom: var(--s-4); }
.contact-sidebar__list { list-style: none; display: flex; flex-direction: column; gap: var(--s-2); }
.contact-sidebar__list li { display: flex; align-items: center; justify-content: space-between; font-size: 0.875rem; color: var(--text-muted); gap: var(--s-2); }
.contact-sidebar__label { }
.contact-sidebar__val   { font-weight: 600; color: var(--text-base); }
.contact-sidebar__plugins { list-style: none; display: flex; flex-direction: column; gap: var(--s-1); }
.contact-sidebar__plugins li a { font-size: 0.875rem; color: var(--text-muted); transition: color var(--dur-fast); display: block; padding: var(--s-1) 0; }
.contact-sidebar__plugins li a:hover { color: var(--color-indigo-light); }
.contact-sidebar__socials { display: flex; flex-direction: column; gap: var(--s-2); }
.contact-social-link {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: var(--s-2) var(--s-3);
  border-radius: var(--radius-md);
  background: var(--bg-raised);
  border: 1px solid var(--border-subtle);
  transition: all var(--dur-fast) var(--ease-out);
}
.contact-social-link:hover { color: var(--color-indigo-light); border-color: var(--color-indigo); }

/* FAQ */
.contact-faq { background: var(--bg-raised); }
.faq-list { display: flex; flex-direction: column; gap: var(--s-2); max-width: 52rem; margin: 0 auto; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: border-color var(--dur-fast) var(--ease-out);
}
.faq-item:hover { border-color: rgba(var(--color-indigo-rgb),.4); }
.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-5) var(--s-6);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-base);
  font-family: inherit;
  transition: color var(--dur-fast) var(--ease-out);
}
.faq-item__question:hover { color: var(--color-indigo-light); }
.faq-item__icon { font-size: 1.25rem; font-weight: 400; color: var(--text-muted); flex-shrink: 0; line-height: 1; transition: transform var(--dur-fast) var(--ease-out); }
.faq-item__question[aria-expanded="true"] .faq-item__icon { transform: rotate(45deg); }
.faq-item__answer { padding: 0 var(--s-6) var(--s-5); }
.faq-item__answer p { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.75; }


/* =================================================================
   35 — ABOUT PAGE
   ================================================================= */
/* Story */
.about-story { background: var(--bg-base); }
.about-story__inner { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-16); align-items: start; }
.about-story__text .eyebrow { margin-bottom: var(--s-3); display: block; }
.about-story__text h2 { margin-bottom: var(--s-5); }
.about-story__text p  { color: var(--text-muted); line-height: 1.75; margin-bottom: var(--s-4); }

/* Timeline */
.timeline-item { display: grid; grid-template-columns: 4.5rem 1.5rem 1fr; gap: var(--s-3); align-items: start; }
.timeline-item__year { font-size: 0.875rem; font-weight: 700; color: var(--color-indigo-light); padding-top: 0.15em; text-align: right; }
.timeline-item__line { display: flex; flex-direction: column; align-items: center; }
.timeline-item__dot  { width: 12px; height: 12px; border-radius: 50%; background: var(--color-indigo); flex-shrink: 0; box-shadow: 0 0 0 3px rgba(var(--color-indigo-rgb),.2); }
.timeline-item__vert { width: 2px; flex: 1; background: var(--border-subtle); min-height: 1.5rem; }
.timeline-item__text { font-size: 0.875rem; color: var(--text-muted); padding-top: 0.05em; padding-bottom: var(--s-4); }

/* Mission & Vision */
.about-mission { background: var(--bg-raised); }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-8); }
.mv-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  padding: var(--s-10);
}
.mv-card--mission { border-top: 3px solid var(--color-indigo); }
.mv-card--vision  { border-top: 3px solid var(--color-violet); }
.mv-card__icon    { font-size: 2rem; margin-bottom: var(--s-4); }
.mv-card__heading { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: var(--s-3); }
.mv-card p        { color: var(--text-muted); line-height: 1.75; }

/* Values */
.about-values { background: var(--bg-base); }
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--s-5); }
.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  padding: var(--s-7) var(--s-6);
  transition: border-color var(--dur-fast), transform var(--dur-fast);
}
.value-card:hover { border-color: var(--color-indigo); transform: translateY(-3px); }
.value-card__icon  { font-size: 1.75rem; margin-bottom: var(--s-4); }
.value-card__title { font-size: 1.0625rem; font-weight: 700; margin-bottom: var(--s-2); }
.value-card__desc  { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }

/* Stack section */
.about-stack { background: var(--bg-raised); }
.about-stack__inner { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-16); align-items: center; }
.about-stack__content .eyebrow { display: block; margin-bottom: var(--s-3); }
.about-stack__content h2 { margin-bottom: var(--s-4); }
.about-stack__content p  { color: var(--text-muted); line-height: 1.75; margin-bottom: var(--s-6); }
.about-stack__dl { display: flex; flex-direction: column; gap: var(--s-3); }
.about-stack__dl-item { display: grid; grid-template-columns: 6rem 1fr; gap: var(--s-3); align-items: start; }
.about-stack__dl-item dt { font-size: 0.8125rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; padding-top: 0.15em; }
.about-stack__dl-item dd { font-size: 0.9375rem; color: var(--text-base); }

/* Stack visual */
.stack-visual { display: flex; flex-direction: column; gap: var(--s-1); }
.stack-layer {
  padding: var(--s-3) var(--s-4);
  border-radius: var(--radius-lg);
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  text-align: center;
  transition: opacity var(--dur-fast), transform var(--dur-fast);
}
.stack-layer:hover { opacity: 1 !important; transform: translateX(4px); }

/* Stats strip */
.about-stats-strip { background: var(--bg-base); border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); padding: var(--s-12) 0; }
.about-stats-strip__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--s-4); }
.about-stat { text-align: center; }
.about-stat__val { display: block; font-size: 3rem; font-weight: 900; background: linear-gradient(135deg, var(--color-indigo-light), var(--color-violet-light, #c4b5fd)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; margin-bottom: var(--s-2); }
.about-stat__lbl { font-size: 0.875rem; color: var(--text-muted); font-weight: 500; }


/* =================================================================
   36 — RESPONSIVE UPDATES (≤ 1024px)
   ================================================================= */
@media (max-width: 1024px) {
  .product-hero__content  { grid-template-columns: 1fr; }
  .product-hero__right    { display: none; }
  .product-features__grid { grid-template-columns: repeat(2,1fr); }
  .pca__inner             { grid-template-columns: 1fr; }
  .pca__grid              { grid-template-columns: 1fr 1fr; }
  .product-companion__card { grid-template-columns: 1fr; }
  .pricing-grid            { grid-template-columns: 1fr; max-width: 28rem; margin: 0 auto; }
  .services-overview__grid { grid-template-columns: 1fr 1fr; }
  .services-detail__inner  { grid-template-columns: 1fr; }
  .services-detail__inner--reverse { direction: ltr; }
  .support-plans-grid      { grid-template-columns: 1fr; max-width: 24rem; margin: 0 auto; }
  .contact-info-bar__grid  { grid-template-columns: 1fr 1fr; }
  .contact-grid            { grid-template-columns: 1fr; }
  .contact-sidebar         { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: var(--s-4); }
  .about-story__inner      { grid-template-columns: 1fr; }
  .about-stack__inner      { grid-template-columns: 1fr; }
  .mv-grid                 { grid-template-columns: 1fr; max-width: 36rem; margin: 0 auto; }
  .values-grid             { grid-template-columns: 1fr 1fr; }
  .about-stats-strip__grid { grid-template-columns: 1fr 1fr; }
  .products-grid           { grid-template-columns: 1fr; max-width: 44rem; margin: 0 auto; }
  .arch-callout-card       { flex-direction: column; text-align: center; }
}

@media (max-width: 640px) {
  .product-features__grid  { grid-template-columns: 1fr; }
  .pca__grid               { grid-template-columns: 1fr; }
  .product-hero__points    { grid-template-columns: 1fr; }
  .services-overview__grid { grid-template-columns: 1fr; }
  .contact-info-bar__grid  { grid-template-columns: 1fr; }
  .contact-form__row       { grid-template-columns: 1fr; }
  .contact-sidebar         { grid-template-columns: 1fr; }
  .values-grid             { grid-template-columns: 1fr; }
  .about-stats-strip__grid { grid-template-columns: 1fr 1fr; }
  .pcf__features           { grid-template-columns: 1fr; }
  .hosting-features-grid   { grid-template-columns: 1fr; }
  .inner-hero              { padding: 4rem 0 2.5rem; }
  .product-hero            { padding: 4rem 0 2.5rem; }
  .product-companion__card { padding: var(--s-6); }
}

.footer__bottom-links a:hover { color: var(--text-secondary); }


/* ================================================================
   19. BLOG / INNER PAGES
   ================================================================ */

/* Page Hero */
.page-hero {
  padding: 160px 0 80px;
  text-align: center;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-xs);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -30%; left: 50%; transform: translateX(-50%);
  width: 800px; height: 500px;
  background: var(--g-indigo-glow);
  pointer-events: none;
}

.page-hero__inner { position: relative; z-index: 1; }

.page-hero__title {
  margin-bottom: var(--s-5);
}

.page-hero__desc {
  font-size: 1.125rem;
  max-width: 560px;
  margin: 0 auto;
}

/* Posts grid */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
}

.post-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-sm);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: all var(--dur-normal) var(--ease-out);
}

.post-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99,102,241,.25);
  box-shadow: var(--shadow-md);
}

.post-card__thumb {
  display: block;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.post-card__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}

.post-card:hover .post-card__thumb img { transform: scale(1.04); }

.post-card__body { padding: var(--s-6); }

.post-card__meta {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  margin-bottom: var(--s-3);
}

.post-card__category {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-brand);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.post-card__date { font-size: 0.8125rem; color: var(--text-muted); }

.post-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: var(--s-3);
  font-family: var(--font-display);
  line-height: 1.4;
}

.post-card__title a { color: var(--text-primary); transition: color var(--dur-fast) var(--ease-out); }
.post-card__title a:hover { color: var(--text-brand); }

.post-card__excerpt { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: var(--s-4); line-height: 1.6; }

.post-card__read-more {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-brand);
  transition: color var(--dur-fast) var(--ease-out);
}

.post-card__read-more:hover { color: #fff; }

/* Pagination */
.pagination { margin-top: var(--s-12); }
.pagination .nav-links { display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; }
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-md);
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: all var(--dur-fast) var(--ease-out);
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background: var(--brand-indigo);
  color: #fff;
  border-color: var(--brand-indigo);
}
.pagination .page-numbers.prev,
.pagination .page-numbers.next { width: auto; padding: 0 var(--s-4); }

/* No results */
.no-results { text-align: center; padding: var(--s-20) 0; }
.no-results h2 { margin-bottom: var(--s-4); }

/* Inner page content */
.page-body {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.page-body h2,
.page-body h3,
.page-body h4 { color: var(--text-primary); margin: var(--s-8) 0 var(--s-4); }

.page-body p { margin-bottom: var(--s-5); }

.page-body a {
  color: var(--text-brand);
  text-decoration: underline;
  text-decoration-color: rgba(129,140,248,.4);
  text-underline-offset: 3px;
}

.page-body a:hover { color: #fff; }

.page-featured-image {
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-bottom: var(--s-10);
}

.page-featured-image img { width: 100%; }


/* ================================================================
   20. ANIMATIONS & KEYFRAMES
   ================================================================ */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.55; transform: scale(1.35); }
}

@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes gradient-move {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

.reveal.is-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; }


/* ================================================================
   21. RESPONSIVE
   ================================================================ */

/* Large tablets / small laptops */
@media (max-width: 1100px) {
  .pillars__grid      { grid-template-columns: repeat(2, 1fr); }
  .ecosystem__grid    { grid-template-columns: repeat(2, 1fr); }
  .bm-grid            { grid-template-columns: repeat(2, 1fr); }
  .why-section__grid  { grid-template-columns: repeat(2, 1fr); }

  .architecture__inner { grid-template-columns: 1fr; gap: var(--s-10); }
  .hosting__inner      { grid-template-columns: 1fr; gap: var(--s-10); }
  .hosting__features   { grid-template-columns: repeat(3, 1fr); }

  .footer__main { grid-template-columns: 1fr 1fr; gap: var(--s-10); }
}

/* Tablet */
@media (max-width: 768px) {
  :root {
    --s-32: 80px;
    --s-20: 60px;
  }

  .navbar__menu { display: none; }
  .navbar__btn-contact { display: none; }
  .navbar__toggle { display: flex; }
  .mobile-menu { display: block; }

  .hero { padding: 108px 0 64px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { text-align: center; justify-content: center; }
  .hero__floating-cards { display: none; }

  .stats-bar__inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s-6);
    text-align: center;
  }

  .pillars__grid   { grid-template-columns: 1fr; }
  .ecosystem__grid { grid-template-columns: 1fr 1fr; }

  .model-section__grid { grid-template-columns: 1fr; }

  .why-section__grid  { grid-template-columns: 1fr; }
  .industries__grid   { grid-template-columns: 1fr 1fr; }
  .bm-grid            { grid-template-columns: 1fr; }

  .hosting__features { grid-template-columns: 1fr 1fr; }

  .cta-card { padding: var(--s-12) var(--s-6); }
  .cta-card__headline { font-size: clamp(1.5rem, 5vw, 2rem); }

  .footer__main { grid-template-columns: 1fr; gap: var(--s-8); }
  .footer__bottom { flex-direction: column; text-align: center; }

  .posts-grid { grid-template-columns: 1fr; }
}

/* Mobile */
@media (max-width: 480px) {
  .ecosystem__grid    { grid-template-columns: 1fr; }
  .industries__grid   { grid-template-columns: 1fr; }
  .hosting__features  { grid-template-columns: 1fr; }

  .model-equal-card { padding: var(--s-10) var(--s-5); }
  .model-equal-card__formula { flex-direction: column; gap: var(--s-2); }

  .hero__tech-stack { flex-direction: column; align-items: center; }

  .navbar__actions .btn--sm { padding: 8px 14px; font-size: 0.8125rem; }
}

/* Print */
@media print {
  .site-header,
  .mobile-menu,
  .hero__bg,
  .hero__floating-cards { display: none !important; }
  body { background: #fff; color: #000; }
}


/* ============================================================
   SECTION 37 — BLOG SYSTEM
   (home.php · single.php · archive.php · search.php)
   ============================================================ */

/* ── Reading Progress Bar ────────────────────────────────── */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,.08);
  z-index: 9999;
  pointer-events: none;
}
.reading-progress__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--indigo-500), var(--violet-500));
  transition: width .1s linear;
}

/* ── Blog Hero ───────────────────────────────────────────── */
.blog-hero.inner-hero {
  padding-bottom: var(--s-10);
}
.blog-hero .inner-hero__title,
.archive-hero .inner-hero__title,
.search-hero .inner-hero__title {
  max-width: 56rem;
}
.search-term {
  background: none;
  color: var(--violet-400);
  font-style: normal;
}

/* ── Category Filter Tabs ────────────────────────────────── */
.blog-filter {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: var(--s-8);
}
.blog-filter__btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem 1rem;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  color: var(--gray-300);
  font-size: .8125rem;
  font-weight: 500;
  background: rgba(255,255,255,.04);
  text-decoration: none;
  transition: background .18s, border-color .18s, color .18s;
}
.blog-filter__btn:hover {
  background: rgba(99,102,241,.15);
  border-color: var(--indigo-500);
  color: #fff;
}
.blog-filter__btn--active {
  background: linear-gradient(135deg, var(--indigo-500), var(--violet-500));
  border-color: transparent;
  color: #fff;
}
.blog-filter__count {
  background: rgba(255,255,255,.15);
  border-radius: 999px;
  padding: 1px 7px;
  font-size: .72rem;
  font-weight: 600;
}
.blog-filter__btn--active .blog-filter__count {
  background: rgba(255,255,255,.25);
}

/* ── Archive Hero – result count ────────────────────────── */
.archive-hero__count {
  display: inline-block;
  margin-top: var(--s-3);
  font-size: .9rem;
  color: var(--gray-400);
}

/* ── Search Hero Form ────────────────────────────────────── */
.search-hero__form {
  display: flex;
  gap: .75rem;
  margin-top: var(--s-8);
  max-width: 52rem;
}
.search-hero__input {
  flex: 1;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  color: #fff;
  padding: .8rem 1.25rem;
  font-size: 1rem;
  outline: none;
  transition: border-color .18s, background .18s;
}
.search-hero__input:focus {
  border-color: var(--indigo-500);
  background: rgba(255,255,255,.09);
}
.search-hero__btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: .5rem;
}

/* ── Blog Outer + Layout ─────────────────────────────────── */
.blog-outer {
  padding-top: var(--s-14);
  padding-bottom: var(--s-20);
}
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 22rem;
  gap: var(--s-12);
  align-items: start;
}
.blog-main { min-width: 0; }

/* ── Category Pill ───────────────────────────────────────── */
.blog-cat-pill {
  display: inline-block;
  padding: .2rem .75rem;
  border-radius: 999px;
  background: rgba(99,102,241,.2);
  color: var(--indigo-300);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .18s, color .18s;
  white-space: nowrap;
}
.blog-cat-pill:hover {
  background: rgba(99,102,241,.4);
  color: #fff;
}
.blog-cat-pill--page {
  background: rgba(139,92,246,.2);
  color: var(--violet-300);
}

/* ── Reading Time ────────────────────────────────────────── */
.blog-card__reading-time {
  font-size: .78rem;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  gap: .3rem;
  white-space: nowrap;
}
.blog-card__reading-time::before {
  content: '';
  display: inline-block;
  width: 13px;
  height: 13px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%236b7280'%3E%3Cpath fill-rule='evenodd' d='M10 18a8 8 0 100-16 8 8 0 000 16zm.75-13a.75.75 0 00-1.5 0v5c0 .414.336.75.75.75h4a.75.75 0 000-1.5h-3.25V5z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

/* ── Lead Card ───────────────────────────────────────────── */
.blog-lead-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--s-10);
  transition: border-color .2s;
}
.blog-lead-card:hover { border-color: rgba(99,102,241,.4); }
.blog-lead-card__thumb {
  display: block;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.blog-lead-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.blog-lead-card:hover .blog-lead-card__thumb img { transform: scale(1.04); }
.blog-lead-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  padding: var(--s-8) var(--s-8);
  justify-content: center;
}
.blog-lead-card__meta {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.blog-lead-card__title {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--gray-50);
}
.blog-lead-card__title a {
  color: inherit;
  text-decoration: none;
}
.blog-lead-card__title a:hover { color: var(--indigo-300); }
.blog-lead-card__excerpt {
  color: var(--gray-400);
  font-size: .9375rem;
  line-height: 1.65;
}
.blog-lead-card__footer {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  flex-wrap: wrap;
  margin-top: auto;
}

/* ── Blog Grid ───────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
  margin-bottom: var(--s-10);
}

/* ── Blog Card ───────────────────────────────────────────── */
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.blog-card:hover {
  border-color: rgba(99,102,241,.35);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,.4);
}
.blog-card__thumb {
  display: block;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--surface-raised);
}
.blog-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.blog-card:hover .blog-card__thumb img { transform: scale(1.04); }
.blog-card__thumb--placeholder {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, rgba(99,102,241,.12), rgba(139,92,246,.12));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}
.blog-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: var(--s-5);
  flex: 1;
}
.blog-card__meta {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
}
.blog-card__title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--gray-50);
}
.blog-card__title a {
  color: inherit;
  text-decoration: none;
}
.blog-card__title a:hover { color: var(--indigo-300); }
.blog-card__excerpt {
  font-size: .875rem;
  color: var(--gray-400);
  line-height: 1.6;
  flex: 1;
}
.blog-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding-top: var(--s-3);
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.blog-card__author {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8125rem;
  color: var(--gray-300);
  font-weight: 500;
}
.blog-card__avatar {
  width: 24px !important;
  height: 24px !important;
  border-radius: 50%;
  object-fit: cover;
}
.blog-card__date {
  font-size: .78rem;
  color: var(--gray-500);
}

/* ── Pagination ──────────────────────────────────────────── */
.blog-pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: .5rem;
  flex-wrap: wrap;
}
.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  height: 2.4rem;
  padding: 0 .75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--gray-300);
  font-size: .875rem;
  font-weight: 500;
  text-decoration: none;
  background: var(--surface);
  transition: border-color .18s, background .18s, color .18s;
}
.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
  background: linear-gradient(135deg, var(--indigo-500), var(--violet-500));
  border-color: transparent;
  color: #fff;
}
.blog-pagination .page-numbers.dots {
  background: none;
  border-color: transparent;
  cursor: default;
}

/* ── No Posts / Empty State ──────────────────────────────── */
.blog-no-posts {
  text-align: center;
  padding: var(--s-16) var(--s-6);
}
.blog-no-posts__icon {
  font-size: 3.5rem;
  display: block;
  margin-bottom: var(--s-4);
}
.blog-no-posts h2 {
  font-size: 1.5rem;
  color: var(--gray-100);
  margin-bottom: var(--s-2);
}
.blog-no-posts p {
  color: var(--gray-400);
  margin-bottom: var(--s-6);
}
.search-no-results__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--s-4);
}

/* ── Sidebar ─────────────────────────────────────────────── */
.blog-sidebar {
  position: sticky;
  top: calc(var(--header-h, 72px) + var(--s-4));
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  max-height: calc(100vh - var(--header-h, 72px) - var(--s-8));
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(99,102,241,.3) transparent;
}
.sidebar-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s-5) var(--s-5);
}
.sidebar-widget__title {
  font-size: .9375rem;
  font-weight: 700;
  color: var(--gray-100);
  margin-bottom: var(--s-4);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--border);
}

/* Sidebar – Search */
.sidebar-search {
  display: flex;
  gap: .5rem;
}
.sidebar-search__input {
  flex: 1;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: #fff;
  padding: .55rem .875rem;
  font-size: .875rem;
  outline: none;
  transition: border-color .18s;
}
.sidebar-search__input:focus { border-color: var(--indigo-500); }
.sidebar-search__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  flex-shrink: 0;
  background: rgba(99,102,241,.2);
  border: 1px solid rgba(99,102,241,.3);
  border-radius: var(--radius);
  color: var(--indigo-300);
  cursor: pointer;
  transition: background .18s, color .18s;
}
.sidebar-search__btn:hover {
  background: var(--indigo-500);
  color: #fff;
}

/* Sidebar – Categories */
.sidebar-categories {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.sidebar-categories__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sidebar-categories__link {
  color: var(--gray-300);
  font-size: .875rem;
  text-decoration: none;
  flex: 1;
  padding: .3rem .5rem;
  border-radius: 6px;
  transition: background .15s, color .15s;
}
.sidebar-categories__link:hover,
.sidebar-categories__link--active {
  background: rgba(99,102,241,.15);
  color: var(--indigo-300);
}
.sidebar-categories__count {
  font-size: .75rem;
  color: var(--gray-500);
  background: rgba(255,255,255,.06);
  border-radius: 999px;
  padding: 1px 8px;
  font-weight: 600;
}

/* Sidebar – Recent Posts */
.sidebar-recent {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .875rem;
}
.sidebar-recent__item {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
}
.sidebar-recent__thumb {
  flex-shrink: 0;
  width: 60px;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
  display: block;
}
.sidebar-recent__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sidebar-recent__text { flex: 1; min-width: 0; }
.sidebar-recent__title {
  display: block;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--gray-200);
  text-decoration: none;
  line-height: 1.35;
  margin-bottom: .25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-recent__title:hover { color: var(--indigo-300); }
.sidebar-recent__date,
.sidebar-recent__meta { font-size: .72rem; color: var(--gray-500); }

/* Sidebar – Tags */
.sidebar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.sidebar-tag {
  display: inline-block;
  padding: .25rem .7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: .78rem;
  color: var(--gray-400);
  text-decoration: none;
  background: rgba(255,255,255,.03);
  transition: border-color .15s, background .15s, color .15s;
}
.sidebar-tag:hover,
.sidebar-tag--active {
  border-color: var(--indigo-500);
  background: rgba(99,102,241,.12);
  color: var(--indigo-300);
}

/* Sidebar – Newsletter */
.sidebar-newsletter {
  background: linear-gradient(135deg, rgba(99,102,241,.15), rgba(139,92,246,.15));
  border-color: rgba(99,102,241,.25);
  text-align: center;
}
.sidebar-newsletter__icon { font-size: 2rem; display: block; margin-bottom: var(--s-3); }
.sidebar-newsletter__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-100);
  margin-bottom: var(--s-2);
}
.sidebar-newsletter__desc {
  font-size: .8125rem;
  color: var(--gray-400);
  line-height: 1.55;
  margin-bottom: var(--s-4);
}
.sidebar-newsletter .btn { width: 100%; justify-content: center; }


/* ── Single Post Hero ────────────────────────────────────── */
.single-hero {
  padding: var(--s-16) 0 var(--s-12);
  position: relative;
  overflow: hidden;
}
.single-hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(99,102,241,.1) 0%, transparent 70%);
  pointer-events: none;
}
.single-hero__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 600px at 80% -10%, rgba(139,92,246,.08), transparent);
  pointer-events: none;
}
.single-hero .container--narrow { max-width: 760px; }
.single-hero__tags {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: var(--s-5);
}
.single-hero__reading-time {
  font-size: .8125rem;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  gap: .3rem;
}
.single-hero__reading-time::before {
  content: '';
  display: inline-block;
  width: 13px;
  height: 13px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%236b7280'%3E%3Cpath fill-rule='evenodd' d='M10 18a8 8 0 100-16 8 8 0 000 16zm.75-13a.75.75 0 00-1.5 0v5c0 .414.336.75.75.75h4a.75.75 0 000-1.5h-3.25V5z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}
.single-hero__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--gray-50);
  margin-bottom: var(--s-5);
}
.single-hero__excerpt {
  font-size: 1.0625rem;
  color: var(--gray-300);
  line-height: 1.7;
  margin-bottom: var(--s-6);
}
.single-hero__byline {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  flex-wrap: wrap;
}
.single-hero__avatar {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,.1);
}
.single-hero__byline-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.single-hero__author {
  font-size: .875rem;
  font-weight: 600;
  color: var(--gray-100);
}
.single-hero__date {
  font-size: .78rem;
  color: var(--gray-500);
}

/* ── Share Buttons ───────────────────────────────────────── */
.single-share {
  display: flex;
  gap: .5rem;
  margin-left: auto;
}
.single-share__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--gray-400);
  background: rgba(255,255,255,.04);
  text-decoration: none;
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
}
.single-share__btn:hover {
  border-color: var(--indigo-500);
  background: rgba(99,102,241,.15);
  color: var(--indigo-300);
}
.single-share__copy--copied {
  border-color: var(--violet-500);
  background: rgba(139,92,246,.15);
  color: var(--violet-300);
}

/* ── Featured Image ──────────────────────────────────────── */
.single-featured-image {
  margin-bottom: var(--s-10);
}
.single-featured-image__img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: block;
}

/* ── Single Content Layout ───────────────────────────────── */
.single-content-section { padding-top: var(--s-10); padding-bottom: var(--s-16); }
.single-content-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-12);
  align-items: start;
}
/* When no TOC: keep article comfortably narrow & centred */
.single-content-layout:not(.has-toc) .single-content {
  max-width: 760px;
  margin: 0 auto;
}
/* When TOC is active (JS adds .has-toc): restore 2-column */
.single-content-layout.has-toc {
  grid-template-columns: 1fr 240px;
}
.single-content { min-width: 0; min-height: 80px; }
.single-body {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--gray-300);
}
.single-body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-50);
  margin: var(--s-10) 0 var(--s-4);
}
.single-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-100);
  margin: var(--s-7) 0 var(--s-3);
}
.single-body p { margin-bottom: var(--s-5); }
.single-body ul,
.single-body ol {
  padding-left: 1.5em;
  margin-bottom: var(--s-5);
}
.single-body li { margin-bottom: .4em; }
.single-body a {
  color: var(--indigo-400);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.single-body a:hover { color: var(--violet-400); }
.single-body blockquote {
  border-left: 3px solid var(--indigo-500);
  margin: var(--s-6) 0;
  padding: var(--s-4) var(--s-5);
  background: rgba(99,102,241,.08);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--gray-200);
  font-style: italic;
}
.single-body pre,
.single-body code {
  font-family: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace;
  font-size: .875rem;
}
.single-body pre {
  background: rgba(0,0,0,.4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--s-5);
  overflow-x: auto;
  margin-bottom: var(--s-5);
}
.single-body :not(pre) > code {
  background: rgba(99,102,241,.15);
  color: var(--violet-300);
  padding: .15em .4em;
  border-radius: 4px;
}
.single-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.single-body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: var(--s-8) 0;
}

/* ── Table of Contents ───────────────────────────────────── */
.single-toc {
  display: none;
  position: sticky;
  top: calc(var(--header-h, 72px) + var(--s-4));
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s-5);
  max-height: calc(100vh - var(--header-h, 72px) - var(--s-8));
  overflow-y: auto;
  scrollbar-width: thin;
}
.toc__title {
  font-size: .875rem;
  font-weight: 700;
  color: var(--gray-200);
  margin-bottom: var(--s-3);
  padding-bottom: var(--s-2);
  border-bottom: 1px solid var(--border);
}
.toc__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.toc__item a {
  display: block;
  font-size: .8125rem;
  color: var(--gray-400);
  text-decoration: none;
  padding: .3rem .5rem;
  border-radius: 6px;
  line-height: 1.35;
  transition: background .14s, color .14s;
}
.toc__item a:hover { background: rgba(99,102,241,.12); color: var(--indigo-300); }
.toc__item--sub a { padding-left: 1.25rem; font-size: .78rem; }

/* ── Post Tags ───────────────────────────────────────────── */
.single-post-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  padding: var(--s-5) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: var(--s-8) 0;
}
.single-post-tags__label {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--gray-400);
  margin-right: .25rem;
}

/* ── Post Navigation ─────────────────────────────────────── */
.single-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
  margin-top: var(--s-8);
}
.single-post-nav__link {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: var(--s-4) var(--s-5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: border-color .18s, background .18s;
}
.single-post-nav__link:hover {
  border-color: rgba(99,102,241,.4);
  background: rgba(99,102,241,.06);
}
.single-post-nav__link--next { text-align: right; }
.single-post-nav__dir {
  font-size: .78rem;
  color: var(--gray-500);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.single-post-nav__title {
  font-size: .9rem;
  color: var(--gray-200);
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Author Bio Card ─────────────────────────────────────── */
.single-author-bio {
  padding: var(--s-12) 0;
  background: rgba(255,255,255,.02);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.author-bio-card {
  display: flex;
  gap: var(--s-6);
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s-6) var(--s-7);
}
.author-bio-card__avatar {
  width: 80px !important;
  height: 80px !important;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(99,102,241,.35);
  flex-shrink: 0;
}
.author-bio-card__body { flex: 1; min-width: 0; }
.author-bio-card__label {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .25rem;
}
.author-bio-card__name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-50);
  margin-bottom: var(--s-2);
}
.author-bio-card__desc {
  font-size: .9rem;
  color: var(--gray-400);
  line-height: 1.65;
  margin-bottom: var(--s-4);
}
.author-bio-card__link {
  font-size: .875rem;
  font-weight: 600;
  color: var(--indigo-400);
  text-decoration: none;
}
.author-bio-card__link:hover { color: var(--violet-400); }

/* ── Related Posts ───────────────────────────────────────── */
.single-related {
  padding-top: var(--s-16);
  padding-bottom: var(--s-16);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
}

/* ── Single Comments ─────────────────────────────────────── */
.single-comments { padding: var(--s-12) 0 var(--s-16); }


/* ============================================================
   SECTION 37 — RESPONSIVE overrides for blog
   ============================================================ */

/* ≤ 1200px: keep 2-col layout but shrink sidebar */
@media (max-width: 1200px) {
  .blog-layout { grid-template-columns: 1fr 19rem; gap: var(--s-8); }
  .single-content-layout.has-toc { grid-template-columns: 1fr 200px; }
}

/* ≤ 1024px: sidebar below main */
@media (max-width: 1024px) {
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar {
    position: static;
    max-height: none;
    overflow-y: visible;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .sidebar-newsletter { grid-column: span 2; }

  .single-content-layout,
  .single-content-layout.has-toc { grid-template-columns: 1fr; }
  .single-toc { display: none !important; }

  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }

  .blog-lead-card { grid-template-columns: 1fr; }
  .blog-lead-card__thumb { max-height: 260px; }
}

/* ≤ 768px */
@media (max-width: 768px) {
  .blog-sidebar { grid-template-columns: 1fr; }
  .sidebar-newsletter { grid-column: span 1; }

  .blog-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }

  .single-hero__byline { gap: var(--s-2); }
  .single-share { display: none; }

  .single-post-nav { grid-template-columns: 1fr; }

  .author-bio-card { flex-direction: column; align-items: center; text-align: center; }
  .author-bio-card__avatar { margin-bottom: var(--s-2); }

  .search-hero__form { flex-direction: column; }

  .blog-filter { gap: .4rem; }
  .blog-filter__btn { font-size: .75rem; padding: .35rem .75rem; }
}



/* =================================================================
   38 — ERROR 404 PAGE
   ================================================================= */
.error-404 {
  min-height: 70vh;
  display: flex;
  align-items: center;
}
.error-404__inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.error-404__number {
  font-size: clamp(6rem, 20vw, 12rem);
  font-weight: 900;
  font-family: var(--font-display);
  letter-spacing: -0.06em;
  line-height: 1;
  margin-bottom: var(--s-6);
  display: block;
}
.error-404__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: var(--s-5);
}
.error-404__desc {
  max-width: 480px;
  margin: 0 auto var(--s-10);
  font-size: 1.0625rem;
  color: var(--text-secondary);
}
.error-404__actions {
  display: flex;
  gap: var(--s-4);
  justify-content: center;
  flex-wrap: wrap;
}


/* ================================================================
   LIGHT MODE  —  [data-theme="light"]
   Professional light palette inspired by Linear, Stripe, Vercel.
   Every CSS variable is overridden here; component overrides follow.
   ================================================================ */

/* ── 1. Token overrides ──────────────────────────────────────── */
[data-theme="light"] {
  /* Background hierarchy */
  --bg-base:      #ffffff;
  --bg-subtle:    #f8fafc;
  --bg-raised:    #f1f5f9;
  --bg-elevated:  #e8edf5;
  --bg-overlay:   #dde5f0;
  --bg-card:      #ffffff;
  --bg-glass:     rgba(255, 255, 255, 0.75);

  /* Borders */
  --border-xs:     rgba(15, 23, 42, 0.05);
  --border-sm:     rgba(15, 23, 42, 0.08);
  --border-md:     rgba(15, 23, 42, 0.12);
  --border-lg:     rgba(15, 23, 42, 0.18);
  --border-brand:  rgba(99, 102, 241, 0.28);
  --border-subtle: rgba(15, 23, 42, 0.07);
  --border:        rgba(15, 23, 42, 0.08);

  /* Typography */
  --text-primary:   #0f172a;
  --text-secondary: #334155;
  --text-muted:     #64748b;
  --text-dimmed:    #94a3b8;
  --text-brand:     #4f46e5;
  --text-violet:    #7c3aed;
  --text-base:      #0f172a;

  /* Shadows — warm, soft, directional */
  --shadow-sm:       0 1px 2px rgba(15, 23, 42, 0.04),
                     0 1px 4px rgba(15, 23, 42, 0.06);
  --shadow-md:       0 2px 6px rgba(15, 23, 42, 0.04),
                     0 6px 20px rgba(15, 23, 42, 0.07);
  --shadow-lg:       0 4px 12px rgba(15, 23, 42, 0.05),
                     0 16px 40px rgba(15, 23, 42, 0.09);
  --shadow-xl:       0 8px 24px rgba(15, 23, 42, 0.06),
                     0 32px 64px rgba(15, 23, 42, 0.10);
  --shadow-brand:    0 4px 20px rgba(99, 102, 241, 0.20);
  --shadow-brand-lg: 0 8px 40px rgba(99, 102, 241, 0.30);

  /* Surface aliases */
  --surface:        #ffffff;
  --surface-raised: #f1f5f9;
  --color-indigo:       #6366f1;
  --color-indigo-light: #818cf8;
  --color-violet:       #8b5cf6;
  --gray-800: #1e293b;
  --gray-700: #334155;
  --gray-600: #475569;
  /* Gray scale semantically inverted for light-mode text readability:
     In dark mode gray-50 ≈ white = perfect for text on dark bg.
     In light mode we need dark text on light bg, so invert the scale. */
  --gray-50:  #0f172a;   /* heading / primary text on light bg */
  --gray-100: #1e293b;   /* strong body text */
  --gray-200: #334155;   /* body text */
  --gray-300: #475569;   /* secondary body text */
  --gray-400: #64748b;   /* muted text */
  --gray-500: #94a3b8;   /* dimmed / timestamps */
  --indigo-300: #a5b4fc;
  --indigo-400: #818cf8;
  --indigo-500: #6366f1;
  --violet-300: #c4b5fd;
  --violet-400: #a78bfa;
  --violet-500: #8b5cf6;
}


/* ── 2. Base / Body ──────────────────────────────────────────── */
[data-theme="light"] body {
  background-color: #ffffff;
  color: #0f172a;
}


/* ── 3. Header & Nav ─────────────────────────────────────────── */
[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.80);
  backdrop-filter: blur(16px) saturate(1.8);
  -webkit-backdrop-filter: blur(16px) saturate(1.8);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
[data-theme="light"] .site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06),
              0 4px 20px rgba(15, 23, 42, 0.05);
}
[data-theme="light"] .navbar__logo-text,
[data-theme="light"] .logo-text { -webkit-text-fill-color: transparent; /* inherit gradient */ }
[data-theme="light"] .navbar__nav li a { color: #475569; }
[data-theme="light"] .navbar__nav li a:hover {
  color: #0f172a;
  background: rgba(15, 23, 42, 0.04);
}
[data-theme="light"] .navbar__nav li.current-menu-item > a,
[data-theme="light"] .navbar__nav li.current_page_item > a,
[data-theme="light"] .navbar__nav li a.current-menu-item {
  color: #0f172a;
  background: rgba(99, 102, 241, 0.07);
}
[data-theme="light"] .navbar__nav li.current-menu-item > a::after,
[data-theme="light"] .navbar__nav li.current_page_item > a::after,
[data-theme="light"] .navbar__nav li a.current-menu-item::after {
  background: #6366f1;
}
[data-theme="light"] .navbar__toggle {
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.10);
}
[data-theme="light"] .navbar__toggle span { background: #334155; }
[data-theme="light"] .btn--ghost {
  color: #334155;
  border-color: rgba(15, 23, 42, 0.14);
}
[data-theme="light"] .btn--ghost:hover {
  color: #0f172a;
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.20);
}
[data-theme="light"] .mobile-menu {
  background: rgba(255, 255, 255, 0.99);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
[data-theme="light"] .mobile-menu__nav li a {
  color: #334155;
  border-bottom-color: rgba(15, 23, 42, 0.07);
}
[data-theme="light"] .mobile-menu__nav li a:hover { color: #0f172a; }


/* ── 4. Hero Section ─────────────────────────────────────────── */
[data-theme="light"] .hero {
  background: linear-gradient(160deg, #f5f3ff 0%, #faf5ff 35%, #ffffff 65%);
}
[data-theme="light"] .hero__bg-grid {
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.055) 1px, transparent 1px),
    linear-gradient(to right, rgba(99, 102, 241, 0.055) 1px, transparent 1px);
  opacity: 0.65;
}
[data-theme="light"] .hero__bg-glow--1 {
  background: radial-gradient(ellipse at center,
    rgba(99, 102, 241, 0.09) 0%,
    rgba(139, 92, 246, 0.05) 35%,
    transparent 70%);
}
[data-theme="light"] .hero__bg-glow--2 {
  background: radial-gradient(ellipse at center,
    rgba(139, 92, 246, 0.06) 0%, transparent 65%);
}
[data-theme="light"] .hero__bg-noise { opacity: 0.008; }
[data-theme="light"] .hero__badge {
  background: rgba(99, 102, 241, 0.07);
  border-color: rgba(99, 102, 241, 0.18);
}
[data-theme="light"] .tech-pill {
  background: rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(15, 23, 42, 0.09);
  color: #475569;
}
[data-theme="light"] .hero__tech-stack-label { color: #64748b; }
[data-theme="light"] .floating-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08),
              0 1px 4px rgba(15, 23, 42, 0.05);
}


/* ── 5. Stats Bar ────────────────────────────────────────────── */
[data-theme="light"] .stats-bar {
  background: #f8fafc;
  border-top: 1px solid rgba(15, 23, 42, 0.07);
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}


/* ── 6. Sections & Cards ─────────────────────────────────────── */
[data-theme="light"] .section { background: transparent; }
[data-theme="light"] .pillars { background: #ffffff; }
[data-theme="light"] .ecosystem { background: #f8fafc; }
[data-theme="light"] .ecosystem::before {
  background: radial-gradient(ellipse at top,
    rgba(99, 102, 241, 0.05) 0%, transparent 70%);
}
[data-theme="light"] .architecture { background: #ffffff; }
[data-theme="light"] .model-section { background: #f8fafc; }
[data-theme="light"] .hosting-section { background: #ffffff; }
[data-theme="light"] .why-section { background: #f8fafc; }
[data-theme="light"] .industries { background: #ffffff; }
[data-theme="light"] .business-model { background: #f8fafc; }

/* Generic card elevation: white bg + shadow + subtle border */
[data-theme="light"] .pillar-card,
[data-theme="light"] .why-card,
[data-theme="light"] .value-card,
[data-theme="light"] .industry-item,
[data-theme="light"] .hosting-feature,
[data-theme="light"] .model-card,
[data-theme="light"] .arch-diagram,
[data-theme="light"] .benefit-item {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04),
              0 4px 12px rgba(15, 23, 42, 0.05);
}
[data-theme="light"] .pillar-card:hover,
[data-theme="light"] .why-card:hover,
[data-theme="light"] .value-card:hover {
  border-color: rgba(99, 102, 241, 0.25);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06),
              0 12px 36px rgba(99, 102, 241, 0.10);
  background: #ffffff;
  transform: translateY(-5px);
}
[data-theme="light"] .product-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04),
              0 4px 12px rgba(15, 23, 42, 0.05);
}
[data-theme="light"] .product-card:hover {
  border-color: rgba(99, 102, 241, 0.25);
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06),
              0 16px 40px rgba(99, 102, 241, 0.10);
  transform: translateY(-4px);
}
[data-theme="light"] .product-card__link:hover { color: #4f46e5; }
[data-theme="light"] .benefit-item:hover {
  border-color: rgba(99, 102, 241, 0.22);
  background: #f5f3ff;
}
[data-theme="light"] .industry-item:hover {
  border-color: rgba(99, 102, 241, 0.20);
  background: #f5f3ff;
}
[data-theme="light"] .hosting-feature:hover {
  border-color: rgba(99, 102, 241, 0.20);
  background: #f5f3ff;
}
[data-theme="light"] .arch-diagram::before {
  background: radial-gradient(ellipse at center,
    rgba(99, 102, 241, 0.07) 0%, transparent 70%);
}
[data-theme="light"] .arch-diagram__header {
  border-bottom-color: rgba(15, 23, 42, 0.08);
}


/* ── 7. Architecture diagram tech pills ─────────────────────── */
[data-theme="light"] .arch-layer--frontend {
  background: rgba(6, 182, 212, 0.06);
  border-color: rgba(6, 182, 212, 0.18);
}
[data-theme="light"] .arch-layer--backend {
  background: rgba(99, 102, 241, 0.06);
  border-color: rgba(99, 102, 241, 0.18);
}
[data-theme="light"] .arch-layer--infra {
  background: rgba(16, 185, 129, 0.06);
  border-color: rgba(16, 185, 129, 0.18);
}
[data-theme="light"] .arch-tech--react  { background: rgba(6,182,212,.12); color: #0e7490; border-color: rgba(6,182,212,.25); }
[data-theme="light"] .arch-tech--next   { background: rgba(15,23,42,.06); color: #334155; border-color: rgba(15,23,42,.12); }
[data-theme="light"] .arch-tech--vite   { background: rgba(139,92,246,.10); color: #7c3aed; border-color: rgba(139,92,246,.22); }
[data-theme="light"] .arch-tech--wp     { background: rgba(33,117,155,.10); color: #0e6e8e; border-color: rgba(33,117,155,.22); }
[data-theme="light"] .arch-tech--plugin { background: rgba(99,102,241,.10); color: #4f46e5; border-color: rgba(99,102,241,.22); }
[data-theme="light"] .arch-tech--hosting{ background: rgba(16,185,129,.10); color: #059669; border-color: rgba(16,185,129,.22); }
[data-theme="light"] .arch-tech--cdn    { background: rgba(245,158,11,.10); color: #b45309; border-color: rgba(245,158,11,.22); }
[data-theme="light"] .arch-connector__line { background: rgba(15, 23, 42, 0.10); }


/* ── 8. Eyebrow & Badges ─────────────────────────────────────── */
[data-theme="light"] .eyebrow {
  background: rgba(99, 102, 241, 0.07);
  border-color: rgba(99, 102, 241, 0.16);
  color: #4f46e5;
}
[data-theme="light"] .product-card__tag {
  background: rgba(99, 102, 241, 0.07);
  color: #4f46e5;
}
[data-theme="light"] .hero__badge-dot { background: var(--brand-indigo); }


/* ── 9. Inner Heroes (About, Services, Contact pages) ────────── */
[data-theme="light"] .inner-hero {
  background: linear-gradient(140deg, #ede9fe 0%, #f5f3ff 40%, #faf5ff 70%, #ffffff 100%);
}
[data-theme="light"] .inner-hero__glow--left,
[data-theme="light"] .inner-hero__glow--right { opacity: 0.20; }


/* ── 10. About page — mission / vision / values ─────────────── */
[data-theme="light"] .mv-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 6px 20px rgba(15, 23, 42, 0.06);
}
[data-theme="light"] .about-story__timeline {
  border-left-color: rgba(15, 23, 42, 0.10);
}
[data-theme="light"] .timeline-item__dot {
  background: var(--brand-indigo);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
}
[data-theme="light"] .timeline-item__vert {
  background: rgba(15, 23, 42, 0.10);
}
[data-theme="light"] .about-stats-strip {
  background: linear-gradient(135deg, #ede9fe 0%, #f5f3ff 100%);
  border-top: 1px solid rgba(99, 102, 241, 0.12);
  border-bottom: 1px solid rgba(99, 102, 241, 0.12);
}
[data-theme="light"] .about-stat__val { color: #4f46e5; }
[data-theme="light"] .about-stat__lbl { color: #475569; }
[data-theme="light"] .stack-layer { filter: brightness(1.15) saturate(0.85); }


/* ── 11. Blog & Content Cards ────────────────────────────────── */
[data-theme="light"] .blog-card,
[data-theme="light"] .blog-card--featured {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 4px 12px rgba(15, 23, 42, 0.05);
}
[data-theme="light"] .blog-card:hover {
  border-color: rgba(99, 102, 241, 0.20);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.07), 0 12px 36px rgba(99, 102, 241, 0.08);
}
[data-theme="light"] .blog-tag {
  background: #f1f5f9;
  color: #475569;
  border-color: rgba(15, 23, 42, 0.08);
}
[data-theme="light"] .blog-tag:hover {
  background: rgba(99, 102, 241, 0.08);
  color: #4f46e5;
  border-color: rgba(99, 102, 241, 0.18);
}
[data-theme="light"] .blog-sidebar .widget {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 4px 12px rgba(15, 23, 42, 0.05);
}
[data-theme="light"] .post-card__thumbnail { border-color: rgba(15, 23, 42, 0.06); }


/* ── 12. Code & Pre blocks ───────────────────────────────────── */
[data-theme="light"] code {
  background: #f1f5f9;
  border: 1px solid rgba(15, 23, 42, 0.09);
  color: #4f46e5;
}
[data-theme="light"] pre {
  background: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: #e2e8f0;
}
[data-theme="light"] pre code { background: transparent; border: none; color: inherit; }


/* ================================================================
   SECTION 39 — PRODUCTS MEGA-MENU
   ================================================================ */

/* Container li */
.has-megamenu { position: relative; }

/* Toggle link */
.has-megamenu > a {
  display: flex;
  align-items: center;
  gap: 4px;
}
.megamenu-chevron {
  flex-shrink: 0;
  opacity: 0.55;
  transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast);
}
.has-megamenu:hover > a .megamenu-chevron,
.has-megamenu:focus-within > a .megamenu-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

/* Panel */
.megamenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: 660px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-md);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xl);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s var(--ease-out), transform 0.18s var(--ease-out);
  z-index: 500;
}
.has-megamenu:hover .megamenu,
.has-megamenu:focus-within .megamenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Inner padding wrapper */
.megamenu__inner { padding: 20px; }

/* 4-column product grid */
.megamenu__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-bottom: 14px;
}

/* Individual product tile */
.megamenu__item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px;
  border-radius: var(--r-md);
  text-decoration: none;
  border: 1px solid transparent;
  transition: background var(--dur-fast), border-color var(--dur-fast);
}
.megamenu__item:hover {
  background: var(--bg-glass);
  border-color: var(--border-subtle);
}
.megamenu__item-icon {
  font-size: 1.35rem;
  line-height: 1;
  margin-bottom: 4px;
}
.megamenu__item-name {
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--text-primary);
  line-height: 1.3;
}
.megamenu__item-tag {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* Footer strip */
.megamenu__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}
.megamenu__footer-note {
  font-size: 0.725rem;
  color: var(--text-muted);
}
.megamenu__footer-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-light);
  text-decoration: none;
  transition: color var(--dur-fast);
}
.megamenu__footer-link:hover { color: var(--primary); }


/* ── Mobile submenu accordion ─────────────────────────────── */
.mobile-has-submenu { list-style: none; }

.mobile-submenu__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: none;
  border: none;
  padding: 10px 0;
  font-size: var(--font-size-base);
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  text-align: left;
  border-radius: var(--r-sm);
  transition: color var(--dur-fast);
}
.mobile-submenu__toggle:hover { color: var(--text-primary); }
.mobile-submenu__toggle.is-current { color: var(--primary-light); }

.mobile-submenu__chevron {
  flex-shrink: 0;
  transition: transform var(--dur-fast) var(--ease-out);
}
.mobile-submenu__toggle.is-open .mobile-submenu__chevron {
  transform: rotate(180deg);
}

.mobile-submenu {
  list-style: none;
  padding: 4px 0 8px 12px;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s var(--ease-out);
}
.mobile-submenu li { margin: 0; }
.mobile-submenu li a {
  display: block;
  padding: 7px 10px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--r-sm);
  transition: background var(--dur-fast), color var(--dur-fast);
}
.mobile-submenu li:first-child a {
  font-weight: 600;
  color: var(--primary-light);
}
.mobile-submenu li a:hover {
  background: var(--bg-glass);
  color: var(--text-primary);
}


/* ── Light mode ───────────────────────────────────────────── */
[data-theme="light"] .megamenu {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.10);
  box-shadow:
    0 8px 24px rgba(15, 23, 42, 0.09),
    0 24px 64px rgba(15, 23, 42, 0.07);
}
[data-theme="light"] .megamenu__item-name { color: #0f172a; }
[data-theme="light"] .megamenu__item-tag  { color: #64748b; }
[data-theme="light"] .megamenu__item:hover {
  background: rgba(99, 102, 241, 0.05);
  border-color: rgba(99, 102, 241, 0.14);
}
[data-theme="light"] .megamenu__footer      { border-top-color: rgba(15, 23, 42, 0.08); }
[data-theme="light"] .megamenu__footer-note { color: #94a3b8; }
[data-theme="light"] .megamenu__footer-link { color: #6366f1; }
[data-theme="light"] .megamenu__footer-link:hover { color: #4f46e5; }

[data-theme="light"] .mobile-submenu__toggle { color: #475569; }
[data-theme="light"] .mobile-submenu__toggle.is-current { color: #6366f1; }
[data-theme="light"] .mobile-submenu li a   { color: #475569; }
[data-theme="light"] .mobile-submenu li:first-child a { color: #6366f1; }
[data-theme="light"] .mobile-submenu li a:hover {
  background: rgba(15, 23, 42, 0.04);
  color: #0f172a;
}


/* ================================================================
   SECTION 40 — TESTIMONIALS
   ================================================================ */

.testimonials { background: var(--bg-primary); }

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
  margin-top: var(--s-16);
}

.testimonial-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  padding: var(--s-8);
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  transition: border-color var(--dur-normal), box-shadow var(--dur-normal), transform var(--dur-normal);
}
.testimonial-card:hover {
  border-color: var(--border-md);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.testimonial-card--featured {
  border-color: rgba(99, 102, 241, 0.28);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, var(--bg-elevated) 60%);
}

/* Stars */
.testimonial-card__stars { display: flex; gap: 3px; }
.testimonial-card__star  { color: #f59e0b; font-size: 0.9rem; line-height: 1; }

/* Quote */
.testimonial-card__quote {
  font-size: 0.925rem;
  line-height: 1.75;
  color: var(--text-secondary);
  font-style: italic;
  flex: 1;
}
.testimonial-card__quote::before {
  content: '\201C';
  font-size: 1.6rem;
  line-height: 0;
  vertical-align: -0.45em;
  margin-right: 2px;
  color: var(--primary);
  font-style: normal;
  font-weight: 700;
}

/* Author row */
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding-top: var(--s-4);
  border-top: 1px solid var(--border-subtle);
}
.testimonial-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.testimonial-card__name {
  font-size: 0.875rem;
  font-weight: 650;
  color: var(--text-primary);
  line-height: 1.3;
}
.testimonial-card__role {
  font-size: 0.775rem;
  color: var(--text-muted);
  line-height: 1.3;
}
.testimonial-card__product {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--primary-light);
  background: rgba(99, 102, 241, 0.14);
  border-radius: var(--r-sm);
  padding: 3px 8px;
  margin-left: auto;
  flex-shrink: 0;
  white-space: nowrap;
}

/* Responsive */
@media (max-width: 960px) {
  .testimonials__grid { grid-template-columns: 1fr 1fr; gap: var(--s-4); }
}
@media (max-width: 580px) {
  .testimonials__grid { grid-template-columns: 1fr; }
}

/* ── Light mode ───────────────────────────────────────────── */
[data-theme="light"] .testimonial-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 4px 12px rgba(15, 23, 42, 0.04);
}
[data-theme="light"] .testimonial-card:hover {
  border-color: rgba(99, 102, 241, 0.20);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.07), 0 12px 36px rgba(99, 102, 241, 0.08);
}
[data-theme="light"] .testimonial-card--featured {
  border-color: rgba(99, 102, 241, 0.22);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.04) 0%, #ffffff 60%);
}
[data-theme="light"] .testimonial-card__quote { color: #475569; }
[data-theme="light"] .testimonial-card__author { border-top-color: rgba(15, 23, 42, 0.08); }
[data-theme="light"] .testimonial-card__name   { color: #0f172a; }
[data-theme="light"] .testimonial-card__role   { color: #64748b; }
[data-theme="light"] .testimonial-card__product {
  color: #4f46e5;
  background: rgba(99, 102, 241, 0.08);
}


/* ================================================================
   SECTION 41 — LEGAL PAGES (Privacy, Terms, Cookies)
   ================================================================ */

/* Legal hero accent colour */
.legal-hero .inner-hero__glow--left  { --glow-color: rgba(99, 102, 241, 0.18); }
.legal-hero .inner-hero__glow--right { --glow-color: rgba(168, 85, 247, 0.14); }

/* Constrained prose column */
.legal-prose {
  max-width: 780px;
  margin: 0 auto;
}

.legal-intro {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--primary);
  border-radius: var(--r-lg);
  padding: var(--s-6) var(--s-8);
  margin-bottom: var(--s-12);
}
.legal-intro p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 0;
}
.legal-intro p + p { margin-top: var(--s-3); }

/* Numbered sections */
.legal-section {
  padding-bottom: var(--s-10);
  margin-bottom: var(--s-10);
  border-bottom: 1px solid var(--border-subtle);
}
.legal-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}
.legal-section h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 var(--s-5);
}
.legal-section h3 {
  font-size: 0.975rem;
  font-weight: 650;
  color: var(--text-primary);
  margin: var(--s-6) 0 var(--s-3);
}
.legal-section p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin: 0 0 var(--s-4);
}
.legal-section ul {
  padding-left: var(--s-6);
  margin: var(--s-3) 0 var(--s-4);
}
.legal-section li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: var(--s-2);
}
.legal-section a {
  color: var(--primary-light);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.legal-section a:hover { color: var(--primary); }

/* Contact block */
.legal-contact-block {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  padding: var(--s-5) var(--s-6);
  margin-top: var(--s-4);
}
.legal-contact-block p { margin: 0 0 var(--s-2); font-size: 0.9rem; }
.legal-contact-block p:last-child { margin: 0; }

/* Cookie table */
.legal-table-wrap {
  overflow-x: auto;
  margin: var(--s-4) 0;
  border-radius: var(--r-md);
  border: 1px solid var(--border-subtle);
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.legal-table th {
  background: var(--bg-glass);
  color: var(--text-primary);
  font-weight: 650;
  padding: 10px 14px;
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid var(--border-subtle);
}
.legal-table td {
  padding: 10px 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
}
.legal-table tr:last-child td { border-bottom: none; }
.legal-table code {
  font-size: 0.8rem;
  background: var(--bg-glass);
  padding: 1px 5px;
  border-radius: var(--r-xs);
}

/* ── Light mode ───────────────────────────────────────────── */
[data-theme="light"] .legal-intro {
  background: #f8faff;
  border-color: rgba(99, 102, 241, 0.15);
}
[data-theme="light"] .legal-intro p { color: #475569; }
[data-theme="light"] .legal-section h2,
[data-theme="light"] .legal-section h3  { color: #0f172a; }
[data-theme="light"] .legal-section p,
[data-theme="light"] .legal-section li  { color: #475569; }
[data-theme="light"] .legal-section a   { color: #6366f1; }
[data-theme="light"] .legal-section a:hover { color: #4f46e5; }
[data-theme="light"] .legal-section     { border-bottom-color: rgba(15, 23, 42, 0.07); }
[data-theme="light"] .legal-contact-block {
  background: #f8faff;
  border-color: rgba(15, 23, 42, 0.08);
}
[data-theme="light"] .legal-table-wrap  { border-color: rgba(15, 23, 42, 0.08); }
[data-theme="light"] .legal-table th    { background: #f1f5f9; color: #0f172a; border-bottom-color: rgba(15, 23, 42, 0.08); }
[data-theme="light"] .legal-table td    { color: #475569; border-bottom-color: rgba(15, 23, 42, 0.06); }
[data-theme="light"] .legal-table code  { background: #e2e8f0; }


/* ================================================================
   SECTION 42 — CAREERS PAGE
   ================================================================ */

/* Values grid */
.careers-values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
  margin-top: var(--s-12);
}
.careers-value-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  padding: var(--s-6);
  transition: border-color var(--dur-normal), transform var(--dur-normal);
}
.careers-value-card:hover { border-color: var(--border-md); transform: translateY(-2px); }
.careers-value-card__icon { font-size: 1.8rem; margin-bottom: var(--s-4); }
.careers-value-card h3 { font-size: 0.975rem; font-weight: 650; color: var(--text-primary); margin: 0 0 var(--s-2); }
.careers-value-card p  { font-size: 0.875rem; line-height: 1.65; color: var(--text-secondary); margin: 0; }

/* Empty state */
.careers-empty {
  text-align: center;
  max-width: 480px;
  margin: var(--s-12) auto 0;
}
.careers-empty__icon { font-size: 3rem; margin-bottom: var(--s-5); }
.careers-empty h3    { font-size: 1.25rem; font-weight: 700; color: var(--text-primary); margin: 0 0 var(--s-3); }
.careers-empty p     { font-size: 0.95rem; line-height: 1.7; color: var(--text-secondary); margin: 0 0 var(--s-6); }

/* Skills 2-col */
.careers-skills__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-16);
  align-items: start;
}
.careers-skills__content h2 { font-size: 1.5rem; margin: var(--s-2) 0 var(--s-5); }
.careers-skills__content p  { font-size: 0.95rem; line-height: 1.75; color: var(--text-secondary); margin: 0 0 var(--s-6); }
.careers-skills__list {
  padding-left: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.careers-skills__list li { font-size: 0.9rem; line-height: 1.65; color: var(--text-secondary); }

/* CTA card */
.careers-cta-card {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, var(--bg-elevated) 60%);
  border: 1px solid rgba(99, 102, 241, 0.28);
  border-radius: var(--r-xl);
  padding: var(--s-8);
  text-align: center;
}
.careers-cta-card__icon { font-size: 2.5rem; margin-bottom: var(--s-4); }
.careers-cta-card h3    { font-size: 1.15rem; font-weight: 700; color: var(--text-primary); margin: 0 0 var(--s-3); }
.careers-cta-card p     { font-size: 0.9rem; line-height: 1.7; color: var(--text-secondary); margin: 0 0 var(--s-6); }

@media (max-width: 900px) {
  .careers-values__grid       { grid-template-columns: 1fr 1fr; }
  .careers-skills__inner      { grid-template-columns: 1fr; gap: var(--s-10); }
}
@media (max-width: 580px) {
  .careers-values__grid       { grid-template-columns: 1fr; }
}

/* ── Light mode ───────────────────────────────────────────── */
[data-theme="light"] .careers-value-card { background: #ffffff; border-color: rgba(15, 23, 42, 0.08); }
[data-theme="light"] .careers-value-card h3 { color: #0f172a; }
[data-theme="light"] .careers-value-card p  { color: #475569; }
[data-theme="light"] .careers-empty h3      { color: #0f172a; }
[data-theme="light"] .careers-empty p       { color: #475569; }
[data-theme="light"] .careers-skills__content p,
[data-theme="light"] .careers-skills__list li { color: #475569; }
[data-theme="light"] .careers-cta-card {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, #ffffff 60%);
  border-color: rgba(99, 102, 241, 0.18);
}
[data-theme="light"] .careers-cta-card h3 { color: #0f172a; }
[data-theme="light"] .careers-cta-card p  { color: #475569; }


/* ================================================================
   SECTION 43 — PARTNERS PAGE
   ================================================================ */

/* Tier grid */
.partners-tiers__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
  margin-top: var(--s-12);
  align-items: start;
}

.partner-tier-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  padding: var(--s-7);
  position: relative;
  transition: border-color var(--dur-normal), transform var(--dur-normal);
}
.partner-tier-card:hover {
  border-color: var(--border-md);
  transform: translateY(-3px);
}
.partner-tier-card--featured {
  border-color: rgba(99, 102, 241, 0.35);
  background: linear-gradient(160deg, rgba(99, 102, 241, 0.10) 0%, var(--bg-elevated) 50%);
  transform: scale(1.02);
}
.partner-tier-card--featured:hover { transform: scale(1.02) translateY(-3px); }

.partner-tier-card__most-popular {
  position: absolute;
  top: -1px;
  right: var(--s-6);
  background: var(--primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
}

.partner-tier-card__badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--r-sm);
  margin-bottom: var(--s-4);
}
.partner-tier-card__badge--silver { background: rgba(148, 163, 184, 0.18); color: #94a3b8; }
.partner-tier-card__badge--gold   { background: rgba(245, 158, 11, 0.18); color: #f59e0b; }
.partner-tier-card__badge--platinum { background: rgba(99, 102, 241, 0.18); color: var(--primary-light); }

.partner-tier-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 var(--s-2);
}
.partner-tier-card > p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0 0 var(--s-5);
}
.partner-tier-card__perks {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  padding: 0;
  list-style: none;
}
.partner-tier-card__perks li {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-secondary);
  padding-left: var(--s-5);
  position: relative;
}
.partner-tier-card__perks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-light);
  font-weight: 700;
}

/* Process steps */
.partners-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-6);
  margin-top: var(--s-12);
  position: relative;
}
.partners-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 16px);
  right: calc(12.5% + 16px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary) 0%, rgba(99,102,241,0.2) 100%);
}
.partners-step { text-align: center; position: relative; z-index: 1; }
.partners-step__num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--s-5);
  position: relative;
  z-index: 2;
}
.partners-step h3 { font-size: 1rem; font-weight: 650; color: var(--text-primary); margin: 0 0 var(--s-2); }
.partners-step p  { font-size: 0.875rem; line-height: 1.65; color: var(--text-secondary); margin: 0; }

/* Apply section */
.partners-apply__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s-16);
  align-items: center;
}
.partners-apply__text h2 { font-size: 1.5rem; margin: var(--s-2) 0 var(--s-4); }
.partners-apply__text p  { font-size: 0.95rem; line-height: 1.75; color: var(--text-secondary); margin: 0 0 var(--s-5); }
.partners-apply__checklist {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  padding: 0;
  list-style: none;
}
.partners-apply__checklist li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding-left: var(--s-5);
  position: relative;
}
.partners-apply__checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-light);
  font-weight: 700;
}
.partners-apply__cta { text-align: center; }
.partners-apply__email-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: var(--s-3) 0 0;
}

@media (max-width: 960px) {
  .partners-tiers__grid       { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .partner-tier-card--featured { transform: none; }
  .partners-steps             { grid-template-columns: 1fr 1fr; }
  .partners-steps::before     { display: none; }
  .partners-apply__inner      { grid-template-columns: 1fr; text-align: center; }
  .partners-apply__checklist  { align-items: center; }
  .partners-apply__checklist li { padding-left: 0; }
  .partners-apply__checklist li::before { display: none; }
}
@media (max-width: 580px) {
  .partners-steps { grid-template-columns: 1fr; }
}

/* ── Light mode ───────────────────────────────────────────── */
[data-theme="light"] .partner-tier-card { background: #ffffff; border-color: rgba(15, 23, 42, 0.08); }
[data-theme="light"] .partner-tier-card--featured {
  background: linear-gradient(160deg, rgba(99, 102, 241, 0.04) 0%, #ffffff 50%);
  border-color: rgba(99, 102, 241, 0.20);
}
[data-theme="light"] .partner-tier-card h3 { color: #0f172a; }
[data-theme="light"] .partner-tier-card > p { color: #475569; }
[data-theme="light"] .partner-tier-card__perks li { color: #475569; }
[data-theme="light"] .partner-tier-card__perks li::before { color: #6366f1; }
[data-theme="light"] .partners-step h3 { color: #0f172a; }
[data-theme="light"] .partners-step p  { color: #475569; }
[data-theme="light"] .partners-apply__text p  { color: #475569; }
[data-theme="light"] .partners-apply__checklist li { color: #475569; }
[data-theme="light"] .partners-apply__checklist li::before { color: #6366f1; }
[data-theme="light"] .partners-apply__email-note { color: #94a3b8; }


/* ================================================================
   SECTION 44 — DOCUMENTATION PAGE
   ================================================================ */

/* Docs product grid */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
  margin-top: var(--s-12);
}

.docs-card {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  padding: var(--s-5);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  text-decoration: none;
  transition: border-color var(--dur-normal), transform var(--dur-normal), box-shadow var(--dur-normal);
  position: relative;
}
.docs-card:hover {
  border-color: rgba(99, 102, 241, 0.30);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.docs-card__icon {
  font-size: 1.6rem;
  line-height: 1;
  flex-shrink: 0;
}
.docs-card__body { flex: 1; min-width: 0; }
.docs-card__name {
  font-size: 0.875rem;
  font-weight: 650;
  color: var(--text-primary);
  margin: 0 0 3px;
}
.docs-card__desc {
  font-size: 0.775rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}
.docs-card__badge {
  position: absolute;
  top: var(--s-3);
  right: var(--s-3);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary-light);
  background: rgba(99, 102, 241, 0.12);
  border-radius: var(--r-xs);
  padding: 2px 6px;
}

@media (max-width: 900px) { .docs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .docs-grid { grid-template-columns: 1fr; } }

/* ── Light mode ───────────────────────────────────────────── */
[data-theme="light"] .docs-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
[data-theme="light"] .docs-card:hover {
  border-color: rgba(99, 102, 241, 0.22);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.07), 0 8px 24px rgba(99, 102, 241, 0.07);
}
[data-theme="light"] .docs-card__name  { color: #0f172a; }
[data-theme="light"] .docs-card__desc  { color: #64748b; }
[data-theme="light"] .docs-card__badge {
  color: #6366f1;
  background: rgba(99, 102, 241, 0.08);
}
.docs-card__badge--live {
  color: #34d399;
  background: rgba(52, 211, 153, 0.12);
}
.docs-card__badge--dev {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.12);
}
[data-theme="light"] .docs-card__badge--live {
  color: #059669;
  background: rgba(16, 185, 129, 0.10);
}
[data-theme="light"] .docs-card__badge--dev {
  color: #d97706;
  background: rgba(245, 158, 11, 0.10);
}


/* ── 13. Forms & Inputs ──────────────────────────────────────── */
[data-theme="light"] input[type="text"],
[data-theme="light"] input[type="email"],
[data-theme="light"] input[type="search"],
[data-theme="light"] textarea,
[data-theme="light"] select {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.14);
  color: #0f172a;
}
[data-theme="light"] input[type="text"]:focus,
[data-theme="light"] input[type="email"]:focus,
[data-theme="light"] input[type="search"]:focus,
[data-theme="light"] textarea:focus {
  border-color: var(--brand-indigo);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}
[data-theme="light"] input::placeholder,
[data-theme="light"] textarea::placeholder { color: #94a3b8; }


/* ── 14. Footer — dark navy for professional contrast ────────── */
[data-theme="light"] .site-footer {
  background: #0c1023;
  border-top: none;
}
[data-theme="light"] .footer__main {
  border-bottom-color: rgba(255, 255, 255, 0.07);
}
[data-theme="light"] .footer__tagline { color: #94a3b8; }
[data-theme="light"] .footer__col-title { color: #f1f5f9; }
[data-theme="light"] .footer__links a { color: #94a3b8; }
[data-theme="light"] .footer__links a:hover { color: #f1f5f9; }
[data-theme="light"] .footer__copyright { color: #64748b; }
[data-theme="light"] .footer__bottom {
  border-top-color: rgba(255, 255, 255, 0.07);
}
[data-theme="light"] .footer__bottom-links a { color: #64748b; }
[data-theme="light"] .footer__bottom-links a:hover { color: #94a3b8; }
[data-theme="light"] .social-link {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.10);
  color: #94a3b8;
}
[data-theme="light"] .social-link:hover {
  background: rgba(99, 102, 241, 0.18);
  border-color: rgba(99, 102, 241, 0.35);
  color: #a5b4fc;
}
[data-theme="light"] .footer__badge {
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.22);
}
[data-theme="light"] .footer__badge-text { color: #a5b4fc; }


/* ── 15. CTA Section — gradient (works on both themes) ───────── */
[data-theme="light"] .cta-section .cta-card {
  box-shadow: 0 8px 48px rgba(99, 102, 241, 0.28);
}


/* ── 16. Product pages & detail sections ─────────────────────── */
[data-theme="light"] .product-hero {
  background: linear-gradient(140deg, #f0f3ff 0%, #f5f0ff 50%, #ffffff 100%);
}
[data-theme="light"] .pricing-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.10);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
}
[data-theme="light"] .pricing-card--featured {
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.16), 0 16px 48px rgba(99, 102, 241, 0.10);
}
[data-theme="light"] .feature-item {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
[data-theme="light"] .feature-item:hover { border-color: rgba(99, 102, 241, 0.20); }
[data-theme="light"] .tab-btn {
  color: #64748b;
  border-color: rgba(15, 23, 42, 0.10);
}
[data-theme="light"] .tab-btn:hover { color: #0f172a; background: rgba(15, 23, 42, 0.04); }
[data-theme="light"] .tab-btn.active {
  background: var(--brand-indigo);
  color: #ffffff;
  border-color: var(--brand-indigo);
}


/* ── 17. Miscellaneous ───────────────────────────────────────── */
[data-theme="light"] .breadcrumb a { color: #64748b; }
[data-theme="light"] .breadcrumb a:hover { color: #4f46e5; }
[data-theme="light"] .breadcrumb span { color: #94a3b8; }
[data-theme="light"] .search-hero__input {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
  color: #0f172a;
}
[data-theme="light"] .pagination a,
[data-theme="light"] .pagination span {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.10);
  color: #334155;
}
[data-theme="light"] .pagination a:hover { border-color: var(--brand-indigo); color: var(--brand-indigo); }
[data-theme="light"] .pagination .current { background: var(--brand-indigo); color: #ffffff; border-color: var(--brand-indigo); }
[data-theme="light"] hr { border-color: rgba(15, 23, 42, 0.08); }
[data-theme="light"] blockquote {
  background: #f5f3ff;
  border-left-color: var(--brand-indigo);
  color: #334155;
}
[data-theme="light"] .section-divider { background: rgba(15, 23, 42, 0.08); }


/* ── 19. Additional component light overrides ────────────────── */

/* Business-model cards */
[data-theme="light"] .bm-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 4px 12px rgba(15, 23, 42, 0.05);
}
[data-theme="light"] .bm-card:hover {
  border-color: rgba(99, 102, 241, 0.25);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.07), 0 12px 32px rgba(99, 102, 241, 0.09);
}
[data-theme="light"] .bm-card--featured {
  background: #f5f3ff;
  border-color: rgba(99, 102, 241, 0.30);
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.15), 0 4px 20px rgba(99, 102, 241, 0.14);
}
[data-theme="light"] .bm-card__features li { color: #475569; }
[data-theme="light"] .bm-card__title { color: #0f172a; }
[data-theme="light"] .bm-card__desc  { color: #475569; }

/* Services: svc-card + detail visual */
[data-theme="light"] .svc-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 4px 12px rgba(15, 23, 42, 0.05);
}
[data-theme="light"] .svc-card:hover { border-color: rgba(99, 102, 241, 0.25); }
[data-theme="light"] .svc-card__link { color: #4f46e5; }
[data-theme="light"] .services-detail--alt { background: #f8fafc; }
[data-theme="light"] .services-visual-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 4px 12px rgba(15, 23, 42, 0.05);
}
[data-theme="light"] .svc-table__row {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.08);
  color: #475569;
}
[data-theme="light"] .svc-table__row--featured {
  border-color: rgba(99, 102, 241, 0.30);
  background: rgba(99, 102, 241, 0.05);
}
[data-theme="light"] .svc-table__plan { color: #0f172a; }

/* Contact info bar cards */
[data-theme="light"] .cib-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 4px 12px rgba(15, 23, 42, 0.05);
}
[data-theme="light"] .cib-card:hover { border-color: rgba(99, 102, 241, 0.25); }
[data-theme="light"] .cib-card__value { color: #0f172a; }
[data-theme="light"] .cib-card__note  { color: #64748b; }

/* Contact form inputs + feedback notices */
[data-theme="light"] .contact-form__input,
[data-theme="light"] .contact-form__select {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.14);
  color: #0f172a;
}
[data-theme="light"] .contact-form__input:focus,
[data-theme="light"] .contact-form__select:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}
[data-theme="light"] .contact-form__label { color: #334155; }
[data-theme="light"] .form-notice--success {
  background: #f0fdf4;
  border-color: #86efac;
  color: #166534;
}
[data-theme="light"] .form-notice--error {
  background: #fef2f2;
  border-color: #fca5a5;
  color: #991b1b;
}

/* About page — inner CTA */
[data-theme="light"] .inner-cta { background: #f8fafc; }
[data-theme="light"] .inner-cta__card {
  background: var(--g-brand-full);
  box-shadow: 0 8px 48px rgba(99, 102, 241, 0.28);
}

/* About stack definition list */
[data-theme="light"] .about-stack { background: #f8fafc; }
[data-theme="light"] .about-stack__dl-item {
  border-color: rgba(15, 23, 42, 0.08);
}
[data-theme="light"] .about-stack__dl-item dt { color: #0f172a; }
[data-theme="light"] .about-stack__dl-item dd { color: #475569; }

/* Plugin+Theme = Complete Product card */
[data-theme="light"] .model-equal-card {
  background: linear-gradient(135deg, #ede9fe 0%, #f5f3ff 50%, #faf5ff 100%);
  border-color: rgba(99, 102, 241, 0.18);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.10);
}
[data-theme="light"] .model-equal-card__headline { color: #0f172a; }
[data-theme="light"] .model-equal-card__desc { color: #334155; }
[data-theme="light"] .formula-item--plugin { background: rgba(99, 102, 241, 0.10); color: #4f46e5; border-color: rgba(99,102,241,0.25); }
[data-theme="light"] .formula-item--theme  { background: rgba(139, 92, 246, 0.10); color: #7c3aed; border-color: rgba(139,92,246,0.25); }
[data-theme="light"] .formula-plus,
[data-theme="light"] .formula-equals { color: #64748b; }
[data-theme="light"] .formula-result { color: #0f172a; }

/* Single post hero */
[data-theme="light"] .single-hero {
  background: linear-gradient(140deg, #f5f3ff 0%, #faf5ff 35%, #ffffff 70%);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
[data-theme="light"] .single-hero__glow { opacity: 0.20; }
[data-theme="light"] .single-hero__title   { color: #0f172a; }
[data-theme="light"] .single-hero__excerpt { color: #334155; }
[data-theme="light"] .single-hero__author  { color: #0f172a; }
[data-theme="light"] .single-hero__date    { color: #64748b; }
[data-theme="light"] .single-hero__reading-time { color: #64748b; }
[data-theme="light"] .single-share__btn {
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.10);
  color: #334155;
}
[data-theme="light"] .single-share__btn:hover {
  background: #e8edf5;
  border-color: rgba(99, 102, 241, 0.25);
  color: #4f46e5;
}
[data-theme="light"] .blog-cat-pill {
  background: rgba(99, 102, 241, 0.08);
  color: #4f46e5;
  border-color: rgba(99, 102, 241, 0.16);
}

/* Blog filter buttons */
[data-theme="light"] .blog-filter__btn {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.10);
  color: #475569;
}
[data-theme="light"] .blog-filter__btn:hover {
  border-color: rgba(99, 102, 241, 0.25);
  color: #4f46e5;
}
[data-theme="light"] .blog-filter__btn--active {
  background: #6366f1;
  border-color: #6366f1;
  color: #ffffff;
}
[data-theme="light"] .blog-filter__count {
  background: rgba(15, 23, 42, 0.07);
  color: #64748b;
}
[data-theme="light"] .blog-filter__btn--active .blog-filter__count {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

/* Blog lead card */
[data-theme="light"] .blog-lead-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 8px 28px rgba(15, 23, 42, 0.07);
}

/* Reading progress bar */
[data-theme="light"] .reading-progress { background: rgba(15, 23, 42, 0.06); }

/* Buttons: outline variants on light backgrounds */
[data-theme="light"] .btn--outline {
  border-color: rgba(15, 23, 42, 0.20);
  color: #334155;
}
[data-theme="light"] .btn--outline:hover {
  border-color: #6366f1;
  color: #4f46e5;
  background: rgba(99, 102, 241, 0.05);
}

/* Archive / search page heroes */
[data-theme="light"] .archive-hero,
[data-theme="light"] .search-results-hero {
  background: linear-gradient(140deg, #f5f3ff 0%, #faf5ff 35%, #ffffff 70%);
}
[data-theme="light"] .no-results-section { background: #f8fafc; }
[data-theme="light"] .search-hero__form .search-hero__input {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
  color: #0f172a;
}


/* ── 18. Light-mode fixes for blog sidebar & single post ────── */
[data-theme="light"] .single-author-bio {
  background: var(--bg-subtle);
  border-top-color: rgba(15, 23, 42, 0.08);
  border-bottom-color: rgba(15, 23, 42, 0.08);
}
[data-theme="light"] .author-bio-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 1px 3px rgba(15,23,42,.04), 0 4px 12px rgba(15,23,42,.05);
}
[data-theme="light"] .author-bio-card__avatar {
  border-color: rgba(99, 102, 241, 0.25);
}
[data-theme="light"] .sidebar-search__input {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
  color: #0f172a;
}
[data-theme="light"] .sidebar-search__input:focus {
  border-color: #6366f1;
}
[data-theme="light"] .sidebar-search__input::placeholder { color: #94a3b8; }
[data-theme="light"] .sidebar-categories__count {
  background: rgba(15, 23, 42, 0.06);
  color: #64748b;
}
[data-theme="light"] .sidebar-tag {
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.10);
  color: #475569;
}
[data-theme="light"] .sidebar-tag:hover,
[data-theme="light"] .sidebar-tag--active {
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(99, 102, 241, 0.25);
  color: #4f46e5;
}
[data-theme="light"] .sidebar-newsletter {
  background: linear-gradient(135deg, rgba(99,102,241,.06), rgba(139,92,246,.06));
  border-color: rgba(99, 102, 241, 0.15);
}
[data-theme="light"] .sidebar-recent__title { color: #334155; }
[data-theme="light"] .sidebar-recent__date,
[data-theme="light"] .sidebar-recent__meta  { color: #94a3b8; }
[data-theme="light"] .single-post-tags {
  border-top-color: rgba(15, 23, 42, 0.08);
  border-bottom-color: rgba(15, 23, 42, 0.08);
}
[data-theme="light"] .single-post-nav__link {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
}
[data-theme="light"] .single-post-nav__link:hover {
  border-color: rgba(99, 102, 241, 0.25);
  background: rgba(99, 102, 241, 0.04);
}
[data-theme="light"] .single-featured-image__img {
  border-color: rgba(15, 23, 42, 0.08);
}
[data-theme="light"] .toc__item a { color: #475569; }
[data-theme="light"] .toc__item a:hover { background: rgba(99,102,241,.07); color: #4f46e5; }
[data-theme="light"] .toc__title { color: #334155; }


/* ── 18. Dark-mode header hardcoded value guard ──────────────── */
/* Ensures the dark nav scrolled style is only applied in dark mode */
[data-theme="dark"] .site-header.scrolled {
  background: rgba(3, 7, 18, 0.92);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
}
[data-theme="dark"] .mobile-menu {
  background: rgba(3, 7, 18, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}


/* ================================================================
   THEME TOGGLE BUTTON
   ================================================================ */

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-sm);
  border-radius: 50%;
  background: var(--bg-raised);
  color: var(--text-secondary);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
  flex-shrink: 0;
}
.theme-toggle:hover {
  background: var(--bg-elevated);
  border-color: var(--brand-indigo);
  color: var(--brand-indigo);
  transform: scale(1.08);
}
.theme-toggle:focus-visible {
  outline: 2px solid var(--brand-indigo);
  outline-offset: 2px;
}

/*
  Icon convention (standard UX):
  — Light mode  → show Moon icon  (click to go dark)
  — Dark mode   → show Sun icon   (click to go light)
  Default (no attribute) = light, so Moon is shown.
*/
.theme-toggle__sun  { display: none; }
.theme-toggle__moon { display: block; }

[data-theme="light"] .theme-toggle__sun  { display: none; }
[data-theme="light"] .theme-toggle__moon { display: block; }
[data-theme="dark"]  .theme-toggle__moon { display: none; }
[data-theme="dark"]  .theme-toggle__sun  { display: block; }


/* ================================================================
   AUTO COLOR SCHEME — follows OS when set to "auto"
   ================================================================ */

@media (prefers-color-scheme: light) {
  [data-theme="auto"] {
    --bg-base:      #ffffff;
    --bg-subtle:    #f8fafc;
    --bg-raised:    #f1f5f9;
    --bg-elevated:  #e8edf5;
    --bg-card:      #ffffff;
    --bg-glass:     rgba(255, 255, 255, 0.75);
    --border-xs:    rgba(15, 23, 42, 0.05);
    --border-sm:    rgba(15, 23, 42, 0.08);
    --border-md:    rgba(15, 23, 42, 0.12);
    --border-lg:    rgba(15, 23, 42, 0.18);
    --border-subtle: rgba(15, 23, 42, 0.07);
    --border:       rgba(15, 23, 42, 0.08);
    --text-primary:   #0f172a;
    --text-secondary: #334155;
    --text-muted:     #64748b;
    --text-base:      #0f172a;
    --surface:        #ffffff;
    --shadow-md: 0 2px 6px rgba(15,23,42,0.04), 0 6px 20px rgba(15,23,42,0.07);
  }
  [data-theme="auto"] .site-header.scrolled {
    background: rgba(255,255,255,0.96);
    border-bottom-color: rgba(15,23,42,0.08);
    box-shadow: 0 1px 0 rgba(15,23,42,0.06), 0 4px 20px rgba(15,23,42,0.05);
  }
[data-theme="auto"] .mobile-menu { background: rgba(255,255,255,0.99); }
}


/* ================================================================
   SECTION 45 — DIFFERENCE COMPARISON + CORE FOCUS GRID
   ================================================================ */

/* ── Difference / Comparison Section ──────────────────────────── */
.difference-section {
  background: var(--bg-subtle);
}

.difference-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
  align-items: start;
}

.diff-col {
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--border-sm);
  background: var(--bg-card);
}

.diff-col--dd {
  background: linear-gradient(145deg, rgba(99,102,241,.07) 0%, rgba(168,85,247,.06) 100%);
  border-color: rgba(99,102,241,.28);
}

.diff-col__header {
  padding: 1.75rem 2rem 1.5rem;
  border-bottom: 1px solid var(--border-xs);
}

.diff-col--dd .diff-col__header {
  border-bottom-color: rgba(99,102,241,.15);
}

.diff-col__icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: .75rem;
}

.diff-col__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 .3rem;
  line-height: 1.3;
}

.diff-col--dd .diff-col__title {
  background: linear-gradient(90deg, #6366f1, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.diff-col__sub {
  font-size: .85rem;
  color: var(--text-muted);
  margin: 0;
}

.diff-list {
  list-style: none;
  margin: 0;
  padding: 1.5rem 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .85rem;
}

.diff-list__item {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-size: .92rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.diff-list__icon {
  flex-shrink: 0;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  font-weight: 800;
  margin-top: .15rem;
}

.diff-list__item--no {
  opacity: .6;
}

.diff-list__item--no .diff-list__icon {
  background: rgba(239,68,68,.12);
  color: #ef4444;
}

.diff-list__item--yes {
  color: var(--text-primary);
  font-weight: 500;
}

.diff-list__item--yes .diff-list__icon {
  background: rgba(99,102,241,.15);
  color: #6366f1;
}

@media (max-width: 768px) {
  .difference-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Light mode — Difference ─────────────────────────────────── */
[data-theme="light"] .difference-section {
  background: #f8fafc;
}
[data-theme="light"] .diff-col {
  background: #ffffff;
  border-color: rgba(15,23,42,.08);
}
[data-theme="light"] .diff-col--dd {
  background: linear-gradient(145deg, rgba(99,102,241,.04) 0%, rgba(168,85,247,.04) 100%);
  border-color: rgba(99,102,241,.22);
}
[data-theme="light"] .diff-list__item--yes {
  color: #0f172a;
}
[data-theme="light"] .diff-list__item--no {
  color: #94a3b8;
}

/* ── Core Focus Grid (About page) ─────────────────────────────── */
.core-focus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.focus-card {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-sm);
  border-radius: 1rem;
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.focus-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99,102,241,.35);
  box-shadow: 0 8px 28px rgba(99,102,241,.12);
  text-decoration: none;
}

.focus-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .25rem;
}

.focus-card__icon {
  font-size: 1.6rem;
  line-height: 1;
}

.focus-card__tag {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(99,102,241,.1);
  padding: .2rem .55rem;
  border-radius: 999px;
}

.focus-card__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.3;
}

.focus-card__industry {
  font-size: .78rem;
  color: var(--text-muted);
  margin: 0;
  font-weight: 500;
}

.focus-card__desc {
  font-size: .875rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: .25rem 0 0;
  flex: 1;
}

.focus-card__cta {
  font-size: .8rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: .5rem;
  display: inline-block;
  transition: gap .2s;
}

.focus-card:hover .focus-card__cta {
  letter-spacing: .02em;
}

/* Coming-soon focus card — non-linked, visually distinct */
.focus-card--coming {
  cursor: default;
  opacity: .72;
}
.focus-card--coming:hover {
  border-color: var(--border);
  box-shadow: none;
  transform: none;
}

/* "Coming Soon" badge inside coming-soon focus card */
.focus-card__coming-badge {
  display: inline-block;
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(148,163,184,.12);
  color: var(--text-secondary);
  border: 1px solid rgba(148,163,184,.25);
  margin-top: auto;
}

[data-theme="light"] .focus-card__coming-badge {
  background: rgba(100,116,139,.08);
  color: #64748b;
  border-color: rgba(100,116,139,.2);
}


  .core-focus-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .core-focus-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Light mode — Core Focus ─────────────────────────────────── */
[data-theme="light"] .focus-card {
  background: #ffffff;
  border-color: rgba(15,23,42,.08);
}
[data-theme="light"] .focus-card:hover {
  border-color: rgba(99,102,241,.3);
  box-shadow: 0 8px 28px rgba(99,102,241,.08);
}
[data-theme="light"] .focus-card__name {
  color: #0f172a;
}
[data-theme="light"] .focus-card__desc {
  color: #475569;
}

/* ── Business Model — 5-card grid fix ────────────────────────── */
.bm-grid {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

/* ==========================================================================
   SECTION 46 — REALTY WP-CRM PRODUCT PAGE
   page-realtywpcrm.php
   ========================================================================== */

/* ── Custom Properties ──────────────────────────────────────────────────── */
.rwp-page {
  --rwp-rgb:   59, 130, 246;
  --rwp-light: #60a5fa;
  --rwp-dark:  #2563eb;
  --rwp-bg-dark: #0d111a;
}

/* ── HERO ────────────────────────────────────────────────────────────────── */
.rwp-hero {
  position: relative;
  background: linear-gradient(160deg, #0d111a 0%, #0f1726 60%, #0d111a 100%);
  padding: var(--s-20) 0 var(--s-16);
  overflow: hidden;
  color: #fff;
}

.rwp-hero__glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(59,130,246,.22) 0%, transparent 70%);
  pointer-events: none;
}

.rwp-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,.05) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.rwp-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-12);
  align-items: center;
}

.rwp-hero__badge-row {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-4);
}

.rwp-hero__icon {
  font-size: 2rem;
  line-height: 1;
}

.rwp-hero__badge {
  display: inline-block;
  padding: .25rem .75rem;
  background: rgba(59,130,246,.18);
  border: 1px solid rgba(59,130,246,.35);
  border-radius: 999px;
  font-size: .8125rem;
  font-weight: 600;
  color: #93c5fd;
  letter-spacing: .03em;
}

.rwp-hero__title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin: 0 0 var(--s-5);
  letter-spacing: -.02em;
}

.rwp-hero__subtitle {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(255,255,255,.7);
  margin: 0 0 var(--s-6);
  max-width: 560px;
}

.rwp-hero__bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--s-8);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.rwp-hero__bullets li {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-size: .9375rem;
  color: rgba(255,255,255,.85);
}

.rwp-hero__bullets li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(59,130,246,.25);
  border: 1px solid rgba(59,130,246,.5);
  color: #60a5fa;
  font-size: .75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.rwp-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-bottom: var(--s-8);
}

.rwp-hero__social-proof {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-5);
}

.rwp-sp-item {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-size: .875rem;
  color: rgba(255,255,255,.6);
}

.rwp-sp-item strong { color: #fff; }

.rwp-stars { color: #fbbf24; letter-spacing: .05em; }

/* Mock Dashboard */
.rwp-hero__dashboard {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.rwp-mock {
  width: 100%;
  max-width: 520px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.5);
}

.rwp-mock__titlebar {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-3) var(--s-4);
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.rwp-mock__title {
  font-size: .75rem;
  color: rgba(255,255,255,.4);
  margin-left: var(--s-2);
}

.rwp-mock__body {
  display: flex;
}

.rwp-mock__sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
  padding: var(--s-3);
  background: rgba(0,0,0,.25);
  border-right: 1px solid rgba(255,255,255,.05);
}

.rwp-mock-nav {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: rgba(255,255,255,.4);
  cursor: pointer;
}

.rwp-mock-nav--active {
  background: rgba(59,130,246,.25);
  color: #60a5fa;
}

.rwp-mock__main {
  flex: 1;
  padding: var(--s-4);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.rwp-mock-stats {
  display: flex;
  gap: var(--s-3);
}

.rwp-mock-stat {
  flex: 1;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 8px;
  padding: var(--s-2) var(--s-3);
}

.rwp-mock-stat__val {
  font-size: 1.125rem;
  font-weight: 700;
}

.rwp-mock-stat__lbl {
  font-size: .625rem;
  color: rgba(255,255,255,.35);
  margin-top: 2px;
}

.rwp-mock-pipeline {
  display: flex;
  gap: var(--s-2);
  align-items: flex-end;
  min-height: 80px;
}

.rwp-pipeline-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rwp-pipeline-label {
  font-size: .5625rem;
  color: rgba(255,255,255,.3);
  text-align: center;
  margin-bottom: 2px;
}

.rwp-pipeline-card {
  height: 24px;
  border-radius: 4px;
  background: rgba(255,255,255,.06);
  border-left: 2px solid transparent;
}

.rwp-mock-ai {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  background: rgba(59,130,246,.1);
  border: 1px solid rgba(59,130,246,.2);
  border-radius: 8px;
  padding: var(--s-2) var(--s-3);
}

.rwp-mock-ai__badge {
  font-size: .6875rem;
  font-weight: 600;
  color: #60a5fa;
  white-space: nowrap;
}

.rwp-mock-ai__text {
  font-size: .6875rem;
  color: rgba(255,255,255,.5);
}

/* ── PROOF BAR ───────────────────────────────────────────────────────────── */
.rwp-proof-bar {
  background: rgba(59,130,246,.07);
  border-top: 1px solid rgba(59,130,246,.15);
  border-bottom: 1px solid rgba(59,130,246,.15);
  padding: var(--s-5) 0;
}

.rwp-proof-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--s-4);
}

.rwp-proof-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 100px;
}

.rwp-proof-item__num {
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--rwp-dark);
  line-height: 1.1;
}

.rwp-proof-item__lbl {
  font-size: .8125rem;
  color: var(--text-muted, #888);
}

.rwp-proof-sep {
  width: 1px;
  height: 40px;
  background: rgba(59,130,246,.2);
}

/* ── FEATURE OVERVIEW GRID ───────────────────────────────────────────────── */
.rwp-overview {
  background: var(--bg-subtle, #f8f9fa);
}

.rwp-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
  margin-top: var(--s-10);
}

.rwp-overview-card {
  background: var(--bg-card, #fff);
  border: 1px solid var(--border-color, #e5e7eb);
  border-radius: 14px;
  padding: var(--s-6);
  transition: box-shadow 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.rwp-overview-card:hover {
  box-shadow: 0 8px 32px rgba(59,130,246,.12);
  border-color: rgba(59,130,246,.3);
  transform: translateY(-3px);
}

.rwp-overview-card__icon {
  font-size: 2rem;
  margin-bottom: var(--s-3);
}

.rwp-overview-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin: 0 0 var(--s-2);
  color: var(--text-base, #111);
}

.rwp-overview-card__desc {
  font-size: .875rem;
  line-height: 1.65;
  color: var(--text-muted, #666);
  margin: 0;
}

/* ── FEATURE SHOWCASE SECTIONS ───────────────────────────────────────────── */
.rwp-showcase {
  background: var(--bg-subtle, #f8f9fa);
}

.rwp-showcase--dark {
  background: #0d111a !important;
  color: #fff;
}

.rwp-showcase__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-14);
  align-items: start;
}

.rwp-showcase__inner--reversed .rwp-showcase__copy { order: 2; }
.rwp-showcase__inner--reversed .rwp-showcase__features { order: 1; }

.rwp-showcase__copy h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  margin: var(--s-3) 0 var(--s-4);
  letter-spacing: -.02em;
  line-height: 1.2;
}

.rwp-showcase__copy p {
  font-size: 1rem;
  line-height: 1.75;
  margin: 0 0 var(--s-6);
}

.rwp-showcase--dark .rwp-showcase__copy h2 { color: #fff; }
.rwp-showcase--dark .rwp-showcase__copy p   { color: rgba(255,255,255,.7); }

.rwp-eyebrow--light {
  color: #60a5fa !important;
  background: rgba(59,130,246,.15) !important;
  border-color: rgba(59,130,246,.3) !important;
}

.rwp-showcase__features {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
}

.rwp-feature-item {
  display: flex;
  gap: var(--s-4);
  align-items: flex-start;
}

.rwp-feature-item__icon {
  font-size: 1.375rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.rwp-feature-item__title {
  font-size: .9375rem;
  font-weight: 700;
  margin: 0 0 var(--s-1);
  color: inherit;
}

.rwp-feature-item__desc {
  font-size: .875rem;
  line-height: 1.6;
  margin: 0;
  color: var(--text-muted, #777);
}

.rwp-showcase--dark .rwp-feature-item__title { color: #fff; }
.rwp-showcase--dark .rwp-feature-item__desc  { color: rgba(255,255,255,.55); }

/* ── COMPANION THEME ─────────────────────────────────────────────────────── */
.rwp-companion {
  background: var(--bg-base, #fff);
}

.rwp-companion__card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-12);
  align-items: start;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid rgba(59,130,246,.2);
  border-radius: 20px;
  padding: var(--s-10) var(--s-12);
}

.rwp-companion__copy h2 {
  font-size: clamp(1.5rem, 2.2vw, 1.875rem);
  font-weight: 800;
  margin: var(--s-3) 0 var(--s-4);
  color: #1e3a5f;
  letter-spacing: -.02em;
}

.rwp-companion__copy p {
  font-size: 1rem;
  line-height: 1.75;
  color: #3b4d6b;
  margin: 0 0 var(--s-6);
}

.rwp-companion__list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.rwp-companion__list li {
  display: flex;
  gap: var(--s-2);
  font-size: .9375rem;
  color: #1e3a5f;
}

.rwp-companion__list li::before {
  content: '✓';
  color: var(--rwp-dark);
  font-weight: 700;
  flex-shrink: 0;
}

/* Companion theme preview mock */
.rwp-theme-preview {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 60px rgba(59,130,246,.2), 0 4px 16px rgba(0,0,0,.1);
  background: #fff;
  border: 1px solid rgba(59,130,246,.15);
}

.rwp-theme-preview__bar {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-2) var(--s-4);
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
}

.rwp-theme-preview__url {
  font-size: .6875rem;
  color: #64748b;
  margin-left: var(--s-2);
  font-family: monospace;
}

.rwp-theme-preview__body { background: #fff; }

.rwp-theme-preview__nav {
  height: 44px;
  background: #0f172a;
}

.rwp-theme-preview__hero-band {
  height: 80px;
  background: linear-gradient(90deg, #1d4ed8, #2563eb);
  display: flex;
  align-items: center;
  padding: 0 var(--s-4);
}

.rwp-theme-preview__search-bar {
  height: 32px;
  width: 100%;
  background: rgba(255,255,255,.15);
  border-radius: 6px;
}

.rwp-theme-preview__listings {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: var(--s-3);
}

.rwp-listing-card {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.rwp-listing-card__img {
  height: 48px;
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
}

.rwp-listing-card__price {
  height: 10px;
  background: #1d4ed8;
  margin: 4px 6px 2px;
  border-radius: 3px;
  width: 55%;
}

.rwp-listing-card__info {
  height: 8px;
  background: #e2e8f0;
  margin: 0 6px var(--s-2);
  border-radius: 3px;
  width: 75%;
}

/* ── PRICING ─────────────────────────────────────────────────────────────── */
.rwp-pricing {
  background: var(--bg-subtle, #f8f9fa);
}

.rwp-pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
  margin-top: var(--s-10);
}

.rwp-pricing-card {
  position: relative;
  background: var(--bg-card, #fff);
  border: 1px solid var(--border-color, #e5e7eb);
  border-radius: 16px;
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  transition: box-shadow 220ms ease, transform 220ms ease;
}

.rwp-pricing-card:hover {
  box-shadow: 0 8px 40px rgba(0,0,0,.08);
  transform: translateY(-3px);
}

.rwp-pricing-card--featured {
  border-color: var(--rwp-dark);
  box-shadow: 0 0 0 2px var(--rwp-dark), 0 12px 40px rgba(59,130,246,.15);
}

.rwp-pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--rwp-dark);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: .2rem .75rem;
  border-radius: 999px;
  white-space: nowrap;
}

.rwp-pricing-card__header { display: flex; flex-direction: column; gap: var(--s-2); }

.rwp-pricing-card__name {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  color: var(--text-base, #111);
}

.rwp-pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: var(--s-1);
}

.rwp-pricing-card__amount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--rwp-dark);
  line-height: 1;
}

.rwp-pricing-card__period {
  font-size: .8125rem;
  color: var(--text-muted, #888);
}

.rwp-pricing-card__desc {
  font-size: .8125rem;
  color: var(--text-muted, #888);
  margin: 0;
}

.rwp-pricing-card__cta {
  width: 100%;
  text-align: center;
}

.rwp-pricing-card__cta--featured {
  background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
}

.rwp-pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  flex: 1;
}

.rwp-pricing-card__feature {
  display: flex;
  gap: var(--s-2);
  font-size: .84375rem;
  line-height: 1.5;
  color: var(--text-base, #333);
}

.rwp-pricing-card__feature--disabled {
  color: var(--text-muted, #bbb);
}

.rwp-pricing-check {
  color: var(--rwp-dark);
  font-weight: 700;
  flex-shrink: 0;
}

.rwp-pricing-x {
  color: var(--border-color, #d1d5db);
  flex-shrink: 0;
}

.rwp-pricing-note {
  text-align: center;
  font-size: .875rem;
  color: var(--text-muted, #888);
  margin-top: var(--s-6);
}

.rwp-pricing-note a {
  color: var(--rwp-dark);
  font-weight: 600;
  text-decoration: underline;
}

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.rwp-faq {
  background: var(--bg-base, #fff);
}

.rwp-faq__inner {
  max-width: 760px;
  margin: 0 auto;
}

.rwp-faq-list {
  margin-top: var(--s-8);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.rwp-faq-item {
  border: 1px solid var(--border-color, #e5e7eb);
  border-radius: 12px;
  overflow: hidden;
}

.rwp-faq-item__q {
  padding: var(--s-5) var(--s-6);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-base, #111);
  transition: background 150ms ease;
}

.rwp-faq-item__q::-webkit-details-marker { display: none; }

.rwp-faq-item__q::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--rwp-dark);
  flex-shrink: 0;
}

.rwp-faq-item[open] .rwp-faq-item__q {
  background: rgba(59,130,246,.04);
}

.rwp-faq-item[open] .rwp-faq-item__q::after { content: '−'; }

.rwp-faq-item__a {
  padding: 0 var(--s-6) var(--s-5);
  border-top: 1px solid var(--border-color, #e5e7eb);
}

.rwp-faq-item__a p {
  margin: var(--s-4) 0 0;
  font-size: .9375rem;
  line-height: 1.75;
  color: var(--text-muted, #555);
}

/* ── BOTTOM CTA ──────────────────────────────────────────────────────────── */
.rwp-bottom-cta {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #1e40af 100%);
  padding: var(--s-16) 0;
}

.rwp-bottom-cta__card {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.rwp-bottom-cta__icon {
  font-size: 3rem;
  margin-bottom: var(--s-4);
}

.rwp-bottom-cta__card h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 var(--s-4);
  letter-spacing: -.02em;
}

.rwp-bottom-cta__card p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(255,255,255,.8);
  margin: 0 0 var(--s-8);
}

.rwp-bottom-cta__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--s-3);
}

/* ── BACK BAR ────────────────────────────────────────────────────────────── */
.rwp-back-bar {
  background: var(--bg-subtle, #f8f9fa);
  border-top: 1px solid var(--border-color, #e5e7eb);
  padding: var(--s-6) 0;
}

.rwp-back-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  flex-wrap: wrap;
}

.rwp-back-bar__inner p {
  color: var(--text-muted, #888);
  font-size: .9375rem;
  margin: 0;
}

/* ── RESPONSIVE ──────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .rwp-pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .rwp-hero__inner,
  .rwp-showcase__inner,
  .rwp-showcase__inner--reversed,
  .rwp-companion__card {
    grid-template-columns: 1fr;
  }

  .rwp-showcase__inner--reversed .rwp-showcase__copy  { order: 0; }
  .rwp-showcase__inner--reversed .rwp-showcase__features { order: 0; }

  .rwp-hero__dashboard { display: none; }

  .rwp-overview-grid { grid-template-columns: repeat(2, 1fr); }

  .rwp-companion__card { padding: var(--s-8); }
}

@media (max-width: 640px) {
  .rwp-overview-grid { grid-template-columns: 1fr; }

  .rwp-pricing-grid { grid-template-columns: 1fr; }

  .rwp-proof-bar__inner { gap: var(--s-3); }
  .rwp-proof-sep { display: none; }

  .rwp-back-bar__inner { text-align: center; justify-content: center; }
}

/* ── DARK MODE OVERRIDES ─────────────────────────────────────────────────── */
.dark-mode .rwp-proof-bar {
  background: rgba(59,130,246,.08);
  border-color: rgba(59,130,246,.2);
}

.dark-mode .rwp-proof-item__num   { color: #60a5fa; }

.dark-mode .rwp-overview           { background: #0f172a; }
.dark-mode .rwp-overview-card      { background: #1e293b; border-color: rgba(255,255,255,.07); }
.dark-mode .rwp-overview-card:hover{ border-color: rgba(59,130,246,.4); }
.dark-mode .rwp-overview-card__title{ color: #f1f5f9; }
.dark-mode .rwp-overview-card__desc { color: rgba(255,255,255,.5); }

.dark-mode .rwp-showcase           { background: #0f172a; }

.dark-mode .rwp-companion          { background: #0a0f1a; }
.dark-mode .rwp-companion__card    { background: linear-gradient(135deg, #0f1e3d 0%, #162040 100%); border-color: rgba(59,130,246,.25); }
.dark-mode .rwp-companion__copy h2 { color: #e2e8f0; }
.dark-mode .rwp-companion__copy p  { color: rgba(255,255,255,.6); }
.dark-mode .rwp-companion__list li { color: #cbd5e1; }
.dark-mode .rwp-theme-preview      { background: #1e293b; border-color: rgba(59,130,246,.2); }
.dark-mode .rwp-theme-preview__bar { background: #0f172a; border-color: rgba(255,255,255,.06); }
.dark-mode .rwp-listing-card       { border-color: rgba(255,255,255,.08); }
.dark-mode .rwp-listing-card__img  { background: linear-gradient(135deg, #1e3a5f, #1d4ed8); }
.dark-mode .rwp-listing-card__price{ background: #60a5fa; }
.dark-mode .rwp-listing-card__info { background: rgba(255,255,255,.12); }

.dark-mode .rwp-pricing            { background: #0a0f1a; }
.dark-mode .rwp-pricing-card       { background: #1e293b; border-color: rgba(255,255,255,.08); }
.dark-mode .rwp-pricing-card--featured { border-color: #2563eb; box-shadow: 0 0 0 2px #2563eb, 0 12px 40px rgba(59,130,246,.2); }
.dark-mode .rwp-pricing-card__name  { color: #f1f5f9; }
.dark-mode .rwp-pricing-card__amount{ color: #60a5fa; }
.dark-mode .rwp-pricing-card__desc  { color: rgba(255,255,255,.4); }
.dark-mode .rwp-pricing-card__feature{ color: rgba(255,255,255,.75); }
.dark-mode .rwp-pricing-card__feature--disabled{ color: rgba(255,255,255,.25); }
.dark-mode .rwp-pricing-x          { color: rgba(255,255,255,.2); }
.dark-mode .rwp-pricing-note       { color: rgba(255,255,255,.4); }

.dark-mode .rwp-faq                { background: #0f172a; }
.dark-mode .rwp-faq-item           { border-color: rgba(255,255,255,.08); }
.dark-mode .rwp-faq-item__q        { color: #f1f5f9; }
.dark-mode .rwp-faq-item[open] .rwp-faq-item__q { background: rgba(59,130,246,.08); }
.dark-mode .rwp-faq-item__a        { border-color: rgba(255,255,255,.06); }
.dark-mode .rwp-faq-item__a p      { color: rgba(255,255,255,.55); }

.dark-mode .rwp-back-bar           { background: #0a0f1a; border-color: rgba(255,255,255,.07); }
.dark-mode .rwp-back-bar__inner p  { color: rgba(255,255,255,.4); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SECTION 47 — IN-DEVELOPMENT PRODUCT STYLES
   (Homepage coming-soon card + /products/ dev teaser section)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* ── Homepage: coming-soon card ──────────────────────────────────────────── */
.product-card--dev {
  position: relative;
  opacity: .88;
}
.product-card--dev::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 8px,
    rgba(0,0,0,.025) 8px,
    rgba(0,0,0,.025) 9px
  );
  pointer-events: none;
}
.product-card__dev-badge {
  display: inline-block;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 2px 10px;
  border-radius: 100px;
  background: rgba(239,68,68,.1);
  color: #ef4444;
  border: 1px solid rgba(239,68,68,.25);
  margin-bottom: var(--s-2);
}

/* ── /products/ page: dev teaser section ────────────────────────────────── */
.products-dev-section {
  background: var(--bg-subtle, #f8f9fa);
}
.products-dev-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--s-8);
  margin-top: var(--s-10);
}

/* ── Dev card ────────────────────────────────────────────────────────────── */
.product-dev-card {
  background: var(--bg-base, #fff);
  border: 1px solid var(--border, rgba(0,0,0,.08));
  border-radius: var(--radius-lg, 16px);
  padding: var(--s-8);
  position: relative;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.product-dev-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,.08);
}
.product-dev-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 10px,
    rgba(0,0,0,.018) 10px,
    rgba(0,0,0,.018) 11px
  );
  pointer-events: none;
}
.product-dev-card__header {
  display: flex;
  align-items: flex-start;
  gap: var(--s-4);
  margin-bottom: var(--s-5);
}
.product-dev-card__icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  border: 1px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.product-dev-card__status-badge {
  display: inline-block;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 100px;
  background: rgba(var(--product-rgb, 99,102,241),.1);
  color: var(--product-light, #818cf8);
  border: 1px solid rgba(var(--product-rgb, 99,102,241),.2);
  margin-bottom: 4px;
}
.product-dev-card__name {
  font-size: 1.125rem;
  font-weight: 800;
  margin: 0 0 3px;
  color: var(--text-heading);
}
.product-dev-card__tag {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.product-dev-card__desc {
  font-size: .9375rem;
  line-height: 1.65;
  color: var(--text-muted, #777);
  margin: 0 0 var(--s-5);
}
.product-dev-card__points {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.product-dev-card__points li {
  font-size: .875rem;
  display: flex;
  align-items: center;
  gap: var(--s-2);
  color: var(--text-body);
}
.product-dev-card__points li::before {
  content: '→';
  color: var(--product-light, #818cf8);
  flex-shrink: 0;
}
.product-dev-card__cta {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* ── Dark mode overrides ─────────────────────────────────────────────────── */
.dark-mode .products-dev-section          { background: #0a0f1a; }
.dark-mode .product-card--dev::after,
.dark-mode .product-dev-card::before      { opacity: .4; }
.dark-mode .product-card__dev-badge       { background: rgba(239,68,68,.15); color: #f87171; border-color: rgba(239,68,68,.3); }
.dark-mode .product-dev-card              { background: #111827; border-color: rgba(255,255,255,.07); }
.dark-mode .product-dev-card__name        { color: #f1f5f9; }
.dark-mode .product-dev-card__desc        { color: rgba(255,255,255,.5); }
.dark-mode .product-dev-card__points li   { color: rgba(255,255,255,.7); }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .products-dev-grid { grid-template-columns: 1fr; }
}


/* =============================================================================
   Section 48 — Accessibility & Global Utilities
   ============================================================================= */

/* Skip-to-main-content link (hidden until focused) */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  padding: 0.75rem 1.5rem;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  text-decoration: none;
  transition: top 0.15s ease;
  white-space: nowrap;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* Navbar active anchor link (formerly JS-injected) */
.navbar__nav a.is-active {
  color: var(--text-primary) !important;
  background: var(--bg-glass) !important;
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SECTION 49 — MANAGED CRM (page-realtywpcrm.php additions)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* ── Pricing panel switcher ─────────────────────────────────────────────── */
.rwp-pricing-switcher {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-3, .75rem);
  padding: var(--s-6) var(--s-4);
  background: var(--bg-base, #fff);
  border-bottom: 1px solid var(--border-color, #e5e7eb);
  position: sticky;
  top: 0;
  z-index: 40;
}

.rwp-switcher-pill {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem 1.35rem;
  border-radius: 999px;
  border: 1.5px solid var(--border-color, #d1d5db);
  background: transparent;
  color: var(--text-muted, #6b7280);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease,
              box-shadow 180ms ease, transform 120ms ease;
  white-space: nowrap;
  -webkit-user-select: none;
  user-select: none;
}

.rwp-switcher-pill:hover {
  border-color: var(--rwp-dark, #2563eb);
  color: var(--rwp-dark, #2563eb);
  transform: translateY(-1px);
}

.rwp-switcher-pill:focus-visible {
  outline: 3px solid rgba(37,99,235,.4);
  outline-offset: 2px;
}

.rwp-switcher-pill--active {
  background: var(--rwp-dark, #2563eb);
  border-color: var(--rwp-dark, #2563eb);
  color: #fff;
  box-shadow: 0 4px 16px rgba(37,99,235,.3);
}

.rwp-switcher-pill--active:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
  color: #fff;
}

.rwp-switcher-pill__icon {
  font-size: 1.05rem;
  line-height: 1;
}

.rwp-switcher-pill__badge {
  display: inline-block;
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .2em .55em;
  border-radius: 999px;
  background: rgba(255,255,255,.25);
  color: inherit;
  border: 1px solid rgba(255,255,255,.35);
  line-height: 1;
  transition: background 180ms ease, border-color 180ms ease;
}

.rwp-switcher-pill:not(.rwp-switcher-pill--active) .rwp-switcher-pill__badge {
  background: rgba(37,99,235,.12);
  color: var(--rwp-dark, #2563eb);
  border-color: rgba(37,99,235,.2);
}

/* ── Panel enter animation ───────────────────────────────────────────────── */
@keyframes rwpPanelIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.rwp-panel-enter {
  animation: rwpPanelIn .35s cubic-bezier(.22,.68,0,1.2) both;
}

/* ── 3-column pricing grid (Managed plans) ───────────────────────────────── */
.rwp-pricing-grid--3col {
  grid-template-columns: repeat(3, 1fr);
}

/* ── 3-column overview grid (How It Works) ───────────────────────────────── */
.rwp-overview-grid--3col {
  grid-template-columns: repeat(3, 1fr);
}

/* ── Step number badge ───────────────────────────────────────────────────── */
.rwp-step-num {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--rwp-dark, #2563eb);
  color: #fff !important;
  font-size: 1.125rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── Comparison table ────────────────────────────────────────────────────── */
.rwp-compare-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  border: 1px solid var(--border-color, #e5e7eb);
  margin-top: var(--s-10, 2.5rem);
}

.rwp-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9375rem;
  line-height: 1.5;
}

.rwp-compare-table thead th {
  padding: .875rem 1.25rem;
  text-align: left;
  font-weight: 700;
  font-size: .8125rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  background: var(--bg-subtle, #f8fafc);
  border-bottom: 2px solid var(--border-color, #e5e7eb);
  color: var(--text-muted, #555);
}

.rwp-compare-table tbody tr:nth-child(even) {
  background: rgba(0,0,0,.02);
}

.rwp-compare-table tbody td {
  padding: .75rem 1.25rem;
  border-bottom: 1px solid var(--border-color, rgba(0,0,0,.06));
  vertical-align: middle;
  color: var(--text-body, #333);
}

.rwp-compare-table tbody tr:last-child td {
  border-bottom: none;
}

.rwp-compare-table__label {
  font-weight: 600;
  color: var(--text-heading);
}

.rwp-compare-table__managed {
  color: var(--rwp-dark, #2563eb);
  font-weight: 600;
  background: rgba(37,99,235,.04);
}

.rwp-compare-table thead th.rwp-compare-table__managed {
  background: rgba(37,99,235,.07);
  color: var(--rwp-dark, #2563eb);
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .rwp-pricing-grid--3col   { grid-template-columns: repeat(2, 1fr); }
  .rwp-overview-grid--3col  { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .rwp-pricing-grid--3col   { grid-template-columns: 1fr; }
  .rwp-overview-grid--3col  { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .rwp-compare-table                        { font-size: .8125rem; }
  .rwp-compare-table thead th,
  .rwp-compare-table tbody td               { padding: .6rem .75rem; }
}

/* ── Dark mode ───────────────────────────────────────────────────────────── */
.dark-mode .rwp-step-num                    { background: #1d4ed8; }
.dark-mode .rwp-compare-table-wrap          { border-color: rgba(255,255,255,.08); }
.dark-mode .rwp-compare-table thead th      { background: #1e293b; color: #64748b; border-bottom-color: rgba(255,255,255,.1); }
.dark-mode .rwp-compare-table tbody tr:nth-child(even) { background: rgba(255,255,255,.025); }
.dark-mode .rwp-compare-table tbody td      { border-bottom-color: rgba(255,255,255,.06); color: rgba(255,255,255,.7); }
.dark-mode .rwp-compare-table__label        { color: #e2e8f0; }
.dark-mode .rwp-compare-table__managed      { color: #60a5fa; background: rgba(59,130,246,.06); }
.dark-mode .rwp-compare-table thead th.rwp-compare-table__managed { background: rgba(59,130,246,.1); color: #60a5fa; }

/* ── Pricing switcher — dark mode ───────────────────────────────────────── */
.dark-mode .rwp-pricing-switcher            { background: #0a0f1a; border-bottom-color: rgba(255,255,255,.08); }
.dark-mode .rwp-switcher-pill               { border-color: rgba(255,255,255,.12); color: rgba(255,255,255,.5); }
.dark-mode .rwp-switcher-pill:hover         { border-color: #60a5fa; color: #60a5fa; }
.dark-mode .rwp-switcher-pill--active       { background: #1d4ed8; border-color: #1d4ed8; color: #fff; box-shadow: 0 4px 16px rgba(29,78,216,.4); }
.dark-mode .rwp-switcher-pill:not(.rwp-switcher-pill--active) .rwp-switcher-pill__badge { background: rgba(96,165,250,.12); color: #60a5fa; border-color: rgba(96,165,250,.25); }






