/**
 * LivingDot Theme Styles — Pressable-Inspired Premium Design
 * Vibrant blue + burnt orange palette, Sofia Sans typography, layered shadows.
 * Gutenberg-first, block-pattern-based WordPress theme.
 */

/* ========================================
   1. Design Tokens (CSS Custom Properties)
   ======================================== */

:root {
  /* Dark mode is default — Pressable style */
  --ld-bg: #0D1229;
  --ld-surface: #111827;
  --ld-surface-light: #1A2235;
  --ld-text: #F8FAFC;
  --ld-text-secondary: #94A3B8;
  --ld-border: #1A2235;
  --ld-border-light: #2A3650;

  /* Accent colors — Pressable vibrant blue + burnt orange + teal */
  --ld-primary: #1C54E3;
  --ld-primary-light: #4A7CF0;
  --ld-secondary: #D36B00;
  --ld-secondary-light: #E8913A;
  --ld-accent: #0DABA5;
  --ld-accent-light: #3DD4CF;
  --ld-cyan: #33BFFF;

  /* Gradient — blue to orange (Pressable signature) */
  --ld-gradient: linear-gradient(135deg, var(--ld-primary) 0%, var(--ld-secondary) 100%);
  --ld-gradient-soft: linear-gradient(135deg, rgba(28,84,227,0.15) 0%, rgba(211,107,0,0.15) 100%);

  /* Shadows — Pressable layered shadow system */
  --ld-shadow: 0 0.3px 0.4px hsla(230, 13%, 9%, 0.02), 0 0.9px 1.5px hsla(230, 13%, 9%, 0.045), 0 3.5px 6px hsla(230, 13%, 9%, 0.09);
  --ld-shadow-lg: 0 1.2px 1.9px -1px hsla(230, 13%, 9%, 0.01), 0 3px 5px -1px hsla(230, 13%, 9%, 0.015), 0 8px 15px -1px hsla(230, 13%, 9%, 0.05), 0 28px 40px -1px hsla(230, 13%, 9%, 0.1);
  --ld-shadow-glow: 0 0 40px rgba(28, 84, 227, 0.15);

  /* Inner glow for dark surfaces (Pressable effect) */
  --ld-inner-glow: inset 0 0 0.5px 1px hsla(0, 0%, 100%, 0.075);

  /* Typography — Sofia Sans (Pressable geometric sans) */
  --ld-font: 'Sofia Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  --ld-lh-body: 1.6;
  --ld-lh-heading: 1.05;

  /* Spacing */
  --ld-space-xs: 0.25rem;
  --ld-space-sm: 0.5rem;
  --ld-space-md: 1rem;
  --ld-space-lg: 1.5rem;
  --ld-space-xl: 2rem;
  --ld-space-2xl: 3rem;
  --ld-space-3xl: 4rem;
  --ld-space-4xl: 6rem;

  /* Radii */
  --ld-radius-sm: 6px;
  --ld-radius-md: 12px;
  --ld-radius-lg: 16px;
  --ld-radius-xl: 24px;

  /* Transitions */
  --ld-t-color: color 150ms ease;
  --ld-t-bg: background-color 150ms ease;
  --ld-t-transform: transform 200ms ease;
  --ld-t-opacity: opacity 150ms ease;
  --ld-t-shadow: box-shadow 300ms ease;

  /* Focus */
  --ld-focus: 0 0 0 3px rgba(28, 84, 227, 0.4);
}

/* Light mode override — Pressable very light blue background */
[data-theme="light"] {
  --ld-bg: #E6EEFF;
  --ld-surface: #FFFFFF;
  --ld-surface-light: #F1F5FE;
  --ld-text: #0D1229;
  --ld-text-secondary: #4E546E;
  --ld-border: #D1D9E6;
  --ld-border-light: #B8C4D9;
  --ld-shadow: 0 0.3px 0.4px hsla(230, 13%, 9%, 0.02), 0 0.9px 1.5px hsla(230, 13%, 9%, 0.045), 0 3.5px 6px hsla(230, 13%, 9%, 0.09);
  --ld-shadow-lg: 0 1.2px 1.9px -1px hsla(230, 13%, 9%, 0.01), 0 3px 5px -1px hsla(230, 13%, 9%, 0.015), 0 8px 15px -1px hsla(230, 13%, 9%, 0.05), 0 28px 40px -1px hsla(230, 13%, 9%, 0.1);
  --ld-shadow-glow: 0 0 40px rgba(28, 84, 227, 0.1);
}

/* ========================================
   2. Base & Reset
   ======================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--ld-font);
  font-size: 1rem;
  line-height: var(--ld-lh-body);
  color: var(--ld-text);
  background-color: var(--ld-bg);
  margin: 0;
  padding: 0;
  transition: var(--ld-t-color), var(--ld-t-bg);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ld-font);
  font-weight: 800;
  line-height: var(--ld-lh-heading);
  color: var(--ld-text);
  margin-top: 0;
  text-wrap: balance;
  letter-spacing: -0.02em;
}

p { margin-top: 0; color: var(--ld-text-secondary); }

a {
  color: var(--ld-primary-light);
  text-decoration: none;
  transition: var(--ld-t-color);
}
a:hover { color: var(--ld-primary-light); }

a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: none;
  box-shadow: var(--ld-focus);
  border-radius: var(--ld-radius-sm);
}

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

button { font-family: inherit; cursor: pointer; }

/* ========================================
   3. Skip Link
   ======================================== */

.ld-skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--ld-gradient);
  color: #fff;
  padding: var(--ld-space-sm) var(--ld-space-md);
  z-index: 10000;
  border-radius: 0 0 var(--ld-radius-md) 0;
  font-weight: 600;
  text-decoration: none;
  transition: top 200ms ease;
}
.ld-skip-link:focus { top: 0; }

/* ========================================
   4. Announcement Banner
   ======================================== */

.ld-announcement-banner {
  background: var(--ld-surface);
  border-bottom: 1px solid var(--ld-border);
  color: var(--ld-text-secondary);
  padding: var(--ld-space-sm) var(--ld-space-md);
  text-align: center;
  font-size: 0.875rem;
}
.ld-banner-text {
  color: var(--ld-text-secondary);
  margin: 0;
}
.ld-banner-text a {
  color: var(--ld-primary-light);
  font-weight: 500;
}

/* ========================================
   5. Site Header
   ======================================== */

.ld-site-header {
  background-color: rgba(13, 18, 41, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ld-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--ld-t-bg);
}
[data-theme="light"] .ld-site-header {
  background-color: rgba(230, 238, 255, 0.85);
}

.ld-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--ld-space-md) var(--ld-space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ld-space-lg);
}

.ld-site-logo img { height: 36px; width: auto; }

.ld-header-right {
  display: flex;
  align-items: center;
  gap: var(--ld-space-lg);
}

.ld-primary-nav ul {
  list-style: none;
  display: flex;
  gap: var(--ld-space-xl);
  margin: 0;
  padding: 0;
}

.ld-primary-nav a {
  color: var(--ld-text-secondary);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: var(--ld-space-sm) 0;
  display: inline-block;
  position: relative;
}
.ld-primary-nav a:hover {
  color: var(--ld-text);
  text-decoration: none;
}
.ld-primary-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--ld-gradient);
  transition: width 200ms ease;
}
.ld-primary-nav a:hover::after,
.ld-primary-nav a:focus-visible::after { width: 100%; }

/* Mobile nav toggle */
.ld-mobile-nav-toggle {
  display: none;
  background: var(--ld-surface-light);
  border: 1px solid var(--ld-border);
  color: var(--ld-text);
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  border-radius: var(--ld-radius-sm);
  padding: 0;
}
.ld-mobile-nav-toggle:hover { background: var(--ld-border-light); }

/* CTA Button */
.ld-btn-cta .wp-block-button__link {
  background: var(--ld-gradient);
  color: #fff;
  font-weight: 600;
  padding: 0.625rem 1.5rem;
  border-radius: var(--ld-radius-md);
  border: none;
  text-decoration: none;
  display: inline-block;
  transition: var(--ld-t-transform), var(--ld-t-shadow);
  box-shadow: 0 4px 14px rgba(28, 84, 227, 0.3);
}
.ld-btn-cta .wp-block-button__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(28, 84, 227, 0.4);
  text-decoration: none;
}

/* Theme Toggle */
.ld-theme-toggle .wp-block-button__link {
  background: var(--ld-surface-light);
  border: 1px solid var(--ld-border);
  color: var(--ld-text);
  padding: 0.5rem;
  border-radius: var(--ld-radius-sm);
  min-width: 40px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
}
.ld-theme-toggle .wp-block-button__link:hover {
  background: var(--ld-border-light);
}
.ld-theme-icon-dark { display: none; }
[data-theme="dark"] .ld-theme-icon-light { display: none; }
[data-theme="dark"] .ld-theme-icon-dark { display: inline; }

/* ========================================
   6. Hero Section
   ======================================== */

.ld-hero {
  background: var(--ld-bg);
  color: var(--ld-text);
  padding: var(--ld-space-4xl) var(--ld-space-lg);
  position: relative;
  overflow: hidden;
}

/* Background grid pattern */
.ld-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(28, 84, 227, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 84, 227, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Decorative orbs */
.ld-hero::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(28, 84, 227, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.ld-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--ld-space-3xl);
  align-items: center;
}

.ld-hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--ld-text);
  margin-bottom: var(--ld-space-lg);
  text-wrap: balance;
  line-height: 1.05;
}

.ld-hero-title .gradient {
  background: var(--ld-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ld-hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--ld-text-secondary);
  margin-bottom: var(--ld-space-xl);
  line-height: 1.7;
  max-width: 540px;
}

.ld-hero .wp-block-buttons {
  gap: var(--ld-space-md);
}

.ld-btn-primary .wp-block-button__link {
  background: var(--ld-gradient);
  color: #fff;
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: var(--ld-radius-md);
  font-size: 1rem;
  border: none;
  text-decoration: none;
  display: inline-block;
  transition: var(--ld-t-transform), var(--ld-t-shadow);
  box-shadow: 0 4px 14px rgba(28, 84, 227, 0.35);
}
.ld-btn-primary .wp-block-button__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(28, 84, 227, 0.45);
  text-decoration: none;
}

.ld-btn-secondary .wp-block-button__link {
  background: transparent;
  color: var(--ld-text);
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: var(--ld-radius-md);
  font-size: 1rem;
  border: 1px solid var(--ld-border-light);
  text-decoration: none;
  display: inline-block;
  transition: var(--ld-t-bg), var(--ld-t-border), var(--ld-t-transform);
}
.ld-btn-secondary .wp-block-button__link:hover {
  background: var(--ld-surface-light);
  border-color: var(--ld-primary);
  transform: translateY(-2px);
  text-decoration: none;
}

/* Hero visual placeholder */
.ld-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ld-hero-visual::before {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: var(--ld-gradient-soft);
  filter: blur(60px);
  pointer-events: none;
}

.ld-hero-mockup {
  background: var(--ld-surface);
  border: 1px solid var(--ld-border);
  border-radius: var(--ld-radius-lg);
  padding: var(--ld-space-xl);
  width: 100%;
  max-width: 480px;
  position: relative;
  box-shadow: var(--ld-shadow-lg), var(--ld-inner-glow);
}

.ld-hero-mockup-header {
  display: flex;
  gap: var(--ld-space-sm);
  margin-bottom: var(--ld-space-lg);
}
.ld-hero-mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.ld-hero-mockup-dot:nth-child(1) { background: #1C54E3; }
.ld-hero-mockup-dot:nth-child(2) { background: #D36B00; }
.ld-hero-mockup-dot:nth-child(3) { background: #0DABA5; }

.ld-hero-mockup-row {
  height: 12px;
  background: var(--ld-surface-light);
  border-radius: 6px;
  margin-bottom: var(--ld-space-md);
}
.ld-hero-mockup-row:nth-child(odd) { width: 100%; }
.ld-hero-mockup-row:nth-child(even) { width: 75%; }

/* ========================================
   7. Trust Bar
   ======================================== */

.ld-trust-bar {
  background: var(--ld-surface);
  border-top: 1px solid var(--ld-border);
  border-bottom: 1px solid var(--ld-border);
  padding: var(--ld-space-xl) var(--ld-space-lg);
  text-align: center;
  transition: var(--ld-t-bg);
  overflow: hidden;
}

.ld-trust-label {
  font-size: 0.8125rem;
  color: var(--ld-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: var(--ld-space-lg);
}

.ld-trust-marquee {
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.ld-trust-track {
  display: flex;
  gap: var(--ld-space-2xl);
  animation: ld-marquee 30s linear infinite;
  width: max-content;
}
.ld-trust-marquee:hover .ld-trust-track { animation-play-state: paused; }

@keyframes ld-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ld-trust-track { animation: none; justify-content: center; flex-wrap: wrap; width: auto; }
}

.ld-trust-logo {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--ld-text-secondary);
  opacity: 0.6;
  transition: var(--ld-t-opacity);
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: -0.01em;
}
.ld-trust-logo:hover { opacity: 1; }

/* ========================================
   8. Value Props
   ======================================== */

.ld-value-props {
  padding: var(--ld-space-4xl) var(--ld-space-lg);
  max-width: 1200px;
  margin: 0 auto;
}

.ld-section-title {
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: var(--ld-space-3xl);
  color: var(--ld-text);
  font-weight: 800;
}

.ld-value-grid {
  gap: var(--ld-space-xl);
}

.ld-value-card {
  background: var(--ld-surface);
  border-radius: var(--ld-radius-lg);
  padding: var(--ld-space-2xl);
  text-align: left;
  transition: var(--ld-t-bg), var(--ld-t-shadow), var(--ld-t-transform);
  border: 1px solid var(--ld-border);
  position: relative;
  overflow: hidden;
  box-shadow: var(--ld-inner-glow);
}
.ld-value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ld-shadow-glow);
  border-color: var(--ld-border-light);
}
.ld-value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--ld-gradient);
  opacity: 0;
  transition: opacity 300ms ease;
}
.ld-value-card:hover::before { opacity: 1; }

.ld-value-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--ld-radius-md);
  background: var(--ld-gradient-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--ld-space-md);
  border: 1px solid rgba(28, 84, 227, 0.15);
}

.ld-value-title {
  font-size: 1.25rem;
  margin-bottom: var(--ld-space-sm);
  color: var(--ld-text);
  font-weight: 700;
}

.ld-value-text {
  color: var(--ld-text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ========================================
   9. Solutions
   ======================================== */

.ld-solutions {
  padding: var(--ld-space-4xl) var(--ld-space-lg);
  background: var(--ld-surface);
  transition: var(--ld-t-bg);
  border-top: 1px solid var(--ld-border);
  border-bottom: 1px solid var(--ld-border);
}

.ld-solutions-grid {
  gap: var(--ld-space-xl);
  max-width: 1200px;
  margin: 0 auto;
}

.ld-solution-card {
  background: var(--ld-bg);
  border-radius: var(--ld-radius-lg);
  padding: var(--ld-space-2xl);
  border: 1px solid var(--ld-border);
  transition: var(--ld-t-bg), var(--ld-t-shadow), var(--ld-t-transform);
  position: relative;
  overflow: hidden;
  box-shadow: var(--ld-inner-glow);
}
.ld-solution-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ld-shadow-glow);
  border-color: var(--ld-border-light);
}
.ld-solution-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--ld-gradient);
  opacity: 0;
  transition: opacity 300ms ease;
}
.ld-solution-card:hover::before { opacity: 1; }

.ld-solution-icon {
  font-size: 2rem;
  margin-bottom: var(--ld-space-md);
  color: var(--ld-primary-light);
  line-height: 1;
}

.ld-solution-title {
  font-size: 1.375rem;
  margin-bottom: var(--ld-space-sm);
  color: var(--ld-text);
  font-weight: 700;
}

.ld-solution-text {
  color: var(--ld-text-secondary);
  margin-bottom: var(--ld-space-md);
  font-size: 0.9375rem;
}

.ld-solution-list {
  font-size: 0.8125rem;
  color: var(--ld-text-secondary);
  margin-bottom: var(--ld-space-lg);
  opacity: 0.8;
}

.ld-btn-solution .wp-block-button__link {
  border: 1px solid var(--ld-border-light);
  color: var(--ld-text);
  background: transparent;
  font-weight: 600;
  padding: 0.625rem 1.25rem;
  border-radius: var(--ld-radius-md);
  text-decoration: none;
  transition: var(--ld-t-bg), var(--ld-t-color), var(--ld-t-border);
}
.ld-btn-solution .wp-block-button__link:hover {
  background: var(--ld-surface-light);
  border-color: var(--ld-primary);
  color: var(--ld-primary-light);
  text-decoration: none;
}

/* ========================================
   10. Features Tabs
   ======================================== */

.ld-features {
  padding: var(--ld-space-4xl) var(--ld-space-lg);
  max-width: 1200px;
  margin: 0 auto;
}

.ld-tablist {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--ld-space-sm);
  margin-bottom: var(--ld-space-2xl);
  background: var(--ld-surface);
  padding: var(--ld-space-sm);
  border-radius: var(--ld-radius-xl);
  border: 1px solid var(--ld-border);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.ld-tab .wp-block-button__link {
  background: transparent;
  color: var(--ld-text-secondary);
  border: none;
  padding: 0.625rem 1.25rem;
  border-radius: var(--ld-radius-md);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: var(--ld-t-bg), var(--ld-t-color);
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}
.ld-tab .wp-block-button__link:hover {
  background: var(--ld-surface-light);
  color: var(--ld-text);
}
.ld-tab.is-active .wp-block-button__link {
  background: var(--ld-gradient);
  color: #fff;
  box-shadow: 0 2px 8px rgba(28, 84, 227, 0.3);
}

.ld-tabpanel {
  display: none;
  animation: ld-fadeIn 300ms ease;
}
.ld-tabpanel.is-active { display: block; }

@keyframes ld-fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .ld-tabpanel { animation: none; }
}

.ld-tabpanel .wp-block-columns { gap: var(--ld-space-2xl); }
.ld-tabpanel h3 {
  font-size: 1.25rem;
  margin-bottom: var(--ld-space-sm);
  color: var(--ld-text);
}
.ld-tabpanel p { color: var(--ld-text-secondary); }

/* ========================================
   11. Stats
   ======================================== */

.ld-stats {
  padding: var(--ld-space-3xl) var(--ld-space-lg);
  background: var(--ld-surface);
  border-top: 1px solid var(--ld-border);
  border-bottom: 1px solid var(--ld-border);
  color: var(--ld-text);
}

.ld-stats-grid {
  gap: var(--ld-space-xl);
  max-width: 1100px;
  margin: 0 auto;
}

.ld-stat {
  text-align: center;
  position: relative;
}
.ld-stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--ld-border);
}

.ld-stat-icon {
  font-size: 1.5rem;
  margin-bottom: var(--ld-space-sm);
  color: var(--ld-primary-light);
}

.ld-stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  background: var(--ld-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--ld-space-xs);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.ld-stat-source {
  font-size: 0.75rem;
  color: var(--ld-text-secondary);
  margin-bottom: var(--ld-space-sm);
  opacity: 0.7;
}

.ld-stat-label {
  font-size: 0.875rem;
  color: var(--ld-text-secondary);
  margin-bottom: 0;
}

/* ========================================
   12. Pricing
   ======================================== */

.ld-pricing {
  padding: var(--ld-space-4xl) var(--ld-space-lg);
  max-width: 1200px;
  margin: 0 auto;
}

.ld-pricing-grid {
  gap: var(--ld-space-xl);
  align-items: stretch;
}

.ld-pricing-card {
  background: var(--ld-surface);
  border-radius: var(--ld-radius-lg);
  padding: var(--ld-space-2xl);
  border: 1px solid var(--ld-border);
  transition: var(--ld-t-bg), var(--ld-t-shadow), var(--ld-t-transform);
  position: relative;
  box-shadow: var(--ld-inner-glow);
}
.ld-pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ld-shadow-glow);
  border-color: var(--ld-border-light);
}

.ld-pricing-featured {
  border: 1px solid transparent;
  background: linear-gradient(var(--ld-surface), var(--ld-surface)) padding-box,
              var(--ld-gradient) border-box;
  transform: scale(1.02);
}
.ld-pricing-featured:hover {
  transform: scale(1.02) translateY(-6px);
}

.ld-pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ld-gradient);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(28, 84, 227, 0.3);
}

.ld-pricing-name {
  font-size: 1.125rem;
  text-align: center;
  margin-bottom: var(--ld-space-sm);
  color: var(--ld-text);
  font-weight: 700;
}

.ld-pricing-price {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  color: var(--ld-text);
  margin-bottom: var(--ld-space-xs);
  line-height: 1;
}

.ld-pricing-period {
  font-size: 1rem;
  font-weight: 500;
  color: var(--ld-text-secondary);
}

.ld-pricing-desc {
  text-align: center;
  color: var(--ld-text-secondary);
  font-size: 0.875rem;
  margin-bottom: var(--ld-space-lg);
}

.ld-pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--ld-space-xl) 0;
}

.ld-pricing-features li {
  padding: var(--ld-space-sm) 0;
  border-bottom: 1px solid var(--ld-border);
  font-size: 0.875rem;
  color: var(--ld-text-secondary);
  position: relative;
  padding-left: 1.5rem;
}
.ld-pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--ld-accent);
  font-weight: 700;
}
.ld-pricing-features li:last-child { border-bottom: none; }

.ld-btn-pricing { width: 100%; }
.ld-btn-pricing .wp-block-button__link {
  width: 100%;
  text-align: center;
  font-weight: 600;
  padding: 0.75rem;
  border-radius: var(--ld-radius-md);
  text-decoration: none;
  transition: var(--ld-t-bg), var(--ld-t-transform);
}
.ld-btn-pricing.is-style-fill .wp-block-button__link {
  background: var(--ld-gradient);
  color: #fff;
  border: none;
  box-shadow: 0 4px 14px rgba(28, 84, 227, 0.3);
}
.ld-btn-pricing.is-style-fill .wp-block-button__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(28, 84, 227, 0.4);
  text-decoration: none;
}
.ld-btn-pricing.is-style-outline .wp-block-button__link {
  background: transparent;
  color: var(--ld-text);
  border: 1px solid var(--ld-border-light);
}
.ld-btn-pricing.is-style-outline .wp-block-button__link:hover {
  background: var(--ld-surface-light);
  border-color: var(--ld-primary);
  text-decoration: none;
}

/* ========================================
   12.5 Comparison Table
   ======================================== */

.ld-comparison {
  padding: var(--ld-space-4xl) var(--ld-space-lg);
  max-width: 900px;
  margin: 0 auto;
}

.ld-comparison-table {
  width: 100%;
  margin: 0;
}

.ld-comparison-table table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 1rem;
  background: var(--ld-surface);
  border: 1px solid var(--ld-border);
  border-radius: var(--ld-radius-lg);
  overflow: hidden;
  box-shadow: var(--ld-shadow), var(--ld-inner-glow);
}

.ld-comparison-table th,
.ld-comparison-table td {
  padding: 1.125rem var(--ld-space-lg);
  text-align: left;
  border-bottom: 1px solid var(--ld-border);
}

/* Header row */
.ld-comparison-table thead th {
  color: var(--ld-text-secondary);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--ld-surface-light);
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

/* Round top corners of header cells */
.ld-comparison-table thead th:first-child {
  border-top-left-radius: var(--ld-radius-lg);
}
.ld-comparison-table thead th:last-child {
  border-top-right-radius: var(--ld-radius-lg);
}

.ld-comparison-table td {
  color: var(--ld-text);
  background: var(--ld-surface);
  font-weight: 500;
}
.ld-comparison-table tbody tr:hover td {
  background: var(--ld-surface-light);
}
.ld-comparison-table tbody tr:last-child td {
  border-bottom: none;
}

/* Round bottom corners of last row cells */
.ld-comparison-table tbody tr:last-child td:first-child {
  border-bottom-left-radius: var(--ld-radius-lg);
}
.ld-comparison-table tbody tr:last-child td:last-child {
  border-bottom-right-radius: var(--ld-radius-lg);
}

/* LivingDot column highlight */
.ld-comparison-table thead th:nth-child(2) {
  color: var(--ld-primary-light);
  font-weight: 700;
  border-left: 2px solid var(--ld-primary);
  border-right: 2px solid var(--ld-border);
  background: rgba(28, 84, 227, 0.06);
}
.ld-comparison-table tbody td:nth-child(2) {
  border-left: 2px solid var(--ld-primary);
  border-right: 2px solid var(--ld-border);
  background: rgba(28, 84, 227, 0.03);
  text-align: center;
  color: var(--ld-accent);
  font-weight: 700;
  font-size: 1.125rem;
}
.ld-comparison-table tbody tr:hover td:nth-child(2) {
  background: rgba(28, 84, 227, 0.06);
}

/* Other Hosts column */
.ld-comparison-table thead th:nth-child(3) {
  border-right: none;
}
.ld-comparison-table tbody td:nth-child(3) {
  text-align: center;
  color: var(--ld-text-secondary);
  opacity: 0.3;
  font-weight: 700;
  font-size: 1.125rem;
  border-right: none;
}

/* Feature column */
.ld-comparison-table tbody td:nth-child(1) {
  font-weight: 500;
}

/* ========================================
   13. Testimonials
   ======================================== */

.ld-testimonials {
  padding: var(--ld-space-4xl) var(--ld-space-lg);
  background: var(--ld-bg);
  transition: var(--ld-t-bg);
}

.ld-testimonial-carousel {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.ld-testimonial-track {
  position: relative;
  min-height: 220px;
}

.ld-testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 400ms ease, visibility 400ms ease;
  padding: var(--ld-space-2xl);
  background: var(--ld-surface);
  border-radius: var(--ld-radius-lg);
  border: 1px solid var(--ld-border);
  box-shadow: var(--ld-inner-glow);
}
.ld-testimonial-slide.is-active {
  opacity: 1;
  visibility: visible;
  position: relative;
}
@media (prefers-reduced-motion: reduce) {
  .ld-testimonial-slide { transition: none; }
}

.ld-testimonial-stars {
  color: #D36B00;
  font-size: 1.125rem;
  letter-spacing: 0.1em;
  margin-bottom: var(--ld-space-md);
}

.ld-testimonial-quote {
  border: none;
  padding: 0;
  margin: 0;
}
.ld-testimonial-quote p {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--ld-text);
  line-height: 1.7;
}
.ld-testimonial-quote cite {
  display: block;
  margin-top: var(--ld-space-md);
  font-style: normal;
  font-weight: 600;
  color: var(--ld-text-secondary);
  font-size: 0.9375rem;
}

.ld-testimonial-nav {
  display: flex;
  justify-content: center;
  gap: var(--ld-space-md);
  margin-top: var(--ld-space-xl);
}
.ld-testimonial-nav .wp-block-button__link {
  background: var(--ld-surface);
  border: 1px solid var(--ld-border);
  color: var(--ld-text);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.25rem;
  padding: 0;
  transition: var(--ld-t-bg), var(--ld-t-border);
}
.ld-testimonial-nav .wp-block-button__link:hover {
  background: var(--ld-surface-light);
  border-color: var(--ld-primary);
}

/* ========================================
   13.5 Review Ticker
   ======================================== */

.ld-review-ticker {
  background: var(--ld-surface);
  border-top: 1px solid var(--ld-border);
  border-bottom: 1px solid var(--ld-border);
  padding: var(--ld-space-xl) 0;
  overflow: hidden;
}

.ld-review-track {
  display: flex;
  gap: var(--ld-space-xl);
  animation: ld-review-scroll 40s linear infinite;
  width: max-content;
}
.ld-review-ticker:hover .ld-review-track { animation-play-state: paused; }

@keyframes ld-review-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ld-review-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}

.ld-review-item {
  flex-shrink: 0;
  background: var(--ld-bg);
  border: 1px solid var(--ld-border);
  border-radius: var(--ld-radius-md);
  padding: var(--ld-space-md) var(--ld-space-lg);
  font-size: 0.875rem;
  color: var(--ld-text-secondary);
  max-width: 320px;
  white-space: normal;
}
.ld-review-item::before {
  content: '"';
  color: var(--ld-primary);
  font-size: 1.25rem;
  font-weight: 700;
  margin-right: 4px;
}

/* ========================================
   14. Call to Action
   ======================================== */

.ld-cta-wave {
  display: block;
  width: 100%;
  height: 60px;
  margin-bottom: -1px;
}

.ld-cta {
  padding: var(--ld-space-4xl) var(--ld-space-lg);
  background: var(--ld-surface);
  border-top: 1px solid var(--ld-border);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ld-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(28, 84, 227, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.ld-cta-inner {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.ld-cta-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--ld-text);
  margin-bottom: var(--ld-space-lg);
  font-weight: 800;
}

.ld-cta-text {
  font-size: 1.125rem;
  color: var(--ld-text-secondary);
  margin-bottom: var(--ld-space-xl);
}

.ld-btn-cta-large .wp-block-button__link {
  background: var(--ld-gradient);
  color: #fff;
  font-weight: 700;
  padding: 1rem 2.5rem;
  border-radius: var(--ld-radius-md);
  font-size: 1.125rem;
  border: none;
  text-decoration: none;
  display: inline-block;
  transition: var(--ld-t-transform), var(--ld-t-shadow);
  box-shadow: 0 4px 20px rgba(28, 84, 227, 0.35);
}
.ld-btn-cta-large .wp-block-button__link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(28, 84, 227, 0.45);
  text-decoration: none;
}

/* ========================================
   15. Footer
   ======================================== */

.ld-site-footer {
  background: var(--ld-surface);
  color: var(--ld-text-secondary);
  padding-top: var(--ld-space-3xl);
  border-top: 1px solid var(--ld-border);
}

.ld-footer-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--ld-space-lg) var(--ld-space-3xl);
}

.ld-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--ld-space-2xl);
}

.ld-footer-heading {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ld-text);
  margin-bottom: var(--ld-space-lg);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ld-footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--ld-space-sm);
}

.ld-footer-nav a {
  color: var(--ld-text-secondary);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: var(--ld-t-color);
}
.ld-footer-nav a:hover {
  color: var(--ld-primary-light);
}

.ld-footer-bottom {
  border-top: 1px solid var(--ld-border);
  padding: var(--ld-space-lg) 0;
}

.ld-footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--ld-space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--ld-space-md);
}

.ld-copyright {
  font-size: 0.875rem;
  color: var(--ld-text-secondary);
  margin: 0;
  opacity: 0.7;
}

.ld-social-links ul {
  display: flex;
  gap: var(--ld-space-md);
  list-style: none;
  padding: 0;
  margin: 0;
}
.ld-social-links a {
  color: var(--ld-text-secondary);
  transition: var(--ld-t-color);
}
.ld-social-links a:hover {
  color: var(--ld-primary-light);
}

/* ========================================
   16. 404 Page
   ======================================== */

.ld-page-404 {
  text-align: center;
  padding: var(--ld-space-4xl) var(--ld-space-lg);
}
.ld-404-title {
  font-size: 6rem;
  font-weight: 800;
  background: var(--ld-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--ld-space-md);
}
.ld-404-text {
  font-size: 1.125rem;
  color: var(--ld-text-secondary);
  margin-bottom: var(--ld-space-xl);
}

/* ========================================
   17. Responsive
   ======================================== */

@media (max-width: 768px) {
  .ld-header-inner {
    flex-wrap: wrap;
    gap: var(--ld-space-md);
  }
  .ld-mobile-nav-toggle { display: flex; }
  .ld-primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ld-bg);
    border-bottom: 1px solid var(--ld-border);
    padding: var(--ld-space-md) var(--ld-space-lg);
    display: none;
  }
  .ld-primary-nav.is-open { display: block; }
  .ld-primary-nav ul {
    flex-direction: column;
    gap: var(--ld-space-sm);
    width: 100%;
  }

  .ld-hero { padding: var(--ld-space-3xl) var(--ld-space-md); }
  .ld-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .ld-hero-subtitle { margin-left: auto; margin-right: auto; }
  .ld-hero-visual { display: none; }
  .ld-hero-title { font-size: 2.25rem; }

  .ld-value-grid,
  .ld-solutions-grid,
  .ld-pricing-grid {
    flex-direction: column !important;
  }
  .ld-pricing-featured { transform: none; }
  .ld-pricing-featured:hover { transform: translateY(-6px); }

  .ld-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .ld-stat:not(:last-child)::after { display: none; }

  .ld-footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
  .ld-tablist { flex-direction: column; align-items: stretch; }
  .ld-tab .wp-block-button__link { width: 100%; }
}

@media (max-width: 480px) {
  .ld-stats-grid { grid-template-columns: 1fr; }
}

/* ========================================
   18. Scroll Margin & Utilities
   ======================================== */

h1, h2, h3, h4, h5, h6 { scroll-margin-top: 80px; }
[id] { scroll-margin-top: 80px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
