/* ═══════════════════════════════════════════════════════════════════
   LavendelLab — Premium Dark Brand System v4.0
   Based on logo: Purple #5e4d7f · Gold #bf9855
   Dark theme with warm graphite + purple undertone
   ═══════════════════════════════════════════════════════════════════ */

/* --- 0. Global resets --- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; max-width: 100vw; scroll-behavior: smooth; }
body { overflow-x: hidden; word-break: break-word; overflow-wrap: anywhere; }

/* --- 1. Brand Tokens (CSS Custom Properties) --- */
:root {
  /* Primary: Brand purple for dark backgrounds */
  --ll-primary: #8b7aaf;
  --ll-primary-dark: #7466a0;
  --ll-primary-light: #a496c4;
  --ll-primary-subtle: rgba(94,77,127,0.15);

  /* Accent: Brighter warm gold for dark backgrounds */
  --ll-accent: #d4a95e;
  --ll-accent-dark: #bf9855;
  --ll-accent-light: #e0bc78;
  --ll-accent-subtle: rgba(191,152,85,0.12);

  /* Dark neutrals — warm graphite with purple undertone */
  --ll-bg: #141218;
  --ll-bg-alt: #1c1922;
  --ll-bg-card: #1e1b24;
  --ll-surface: #1e1b24;
  --ll-card-bg: #1e1b24;
  --ll-text: #e8e4ed;
  --ll-text-secondary: #a99fba;
  --ll-text-tertiary: #9a90a6;
  --ll-border: rgba(255,255,255,0.08);
  --ll-border-strong: rgba(255,255,255,0.14);

  /* Botanical accent — adapted for dark */
  --ll-sage: #7a9e6c;
  --ll-sage-light: rgba(107,127,94,0.15);
  --ll-sage-subtle: rgba(107,127,94,0.10);

  /* Feedback */
  --ll-success: #6aab6e;
  --ll-error: #c75050;
  --ll-error-bg: rgba(199,80,80,0.15);
  --ll-warning: #d4a95e;

  /* Spacing scale */
  --ll-space-xs: 4px;
  --ll-space-sm: 8px;
  --ll-space-md: 16px;
  --ll-space-lg: 24px;
  --ll-space-xl: 32px;
  --ll-space-2xl: 48px;
  --ll-space-3xl: 64px;
  --ll-space-4xl: 56px;
  --ll-space-5xl: 120px;

  /* Typography — luxury fonts */
  --ll-font: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --ll-font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --ll-radius: 14px;
  --ll-radius-lg: 24px;
  --ll-shadow-sm: 0 1px 2px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.08);
  --ll-shadow-md: 0 2px 4px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.12);
  --ll-shadow-lg: 0 4px 8px rgba(0,0,0,0.08), 0 16px 48px rgba(0,0,0,0.15);
  --ll-transition: 200ms ease;

  /* Override Astra theme variables for dark theme */
  --ast-global-color-0: #8b7aaf;
  --ast-global-color-1: #7466a0;
  --ast-global-color-2: #e8e4ed;
  --ast-global-color-3: #a99fba;
  --ast-global-color-4: #141218;
  --ast-global-color-5: #141218;  /* same as body bg — no visible box */
  --ast-global-color-6: #d4a95e;
  --ast-global-color-7: rgba(232,228,237,0.74);
  --ast-global-color-8: #141218;

  /* Override Astra hardcoded internal vars */
  --ast-code-block-background: #1e1b24;
  --ast-comment-inputs-background: #1e1b24;
  --ast-widget-bg-color: transparent;
  --ast-wc-container-head-bg-color: #1e1b24;
  --ast-title-layout-bg: #141218;
  --ast-search-border-color: rgba(255,255,255,0.14);
  --ast-global-dark-bg-style: #141218;
  --ast-global-dark-lfs: #141218;
}


/* --- 2. Fonts loaded via <link> in wp_head (priority 5) --- */

/* --- 3. Base & Typography --- */
body,
body.ast-body-font-family {
  background: var(--ll-bg) !important;
  color: var(--ll-text);
  font-family: var(--ll-font) !important;
  font-size: 1.05em;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.entry-content, .entry-content p {
  color: var(--ll-text);
  font-family: var(--ll-font) !important;
  font-size: 1.05em;
  line-height: 1.7;
  font-weight: 400;
}

/* Grain texture overlay — behind all content */
body::before {
  content: '';
  position: fixed;
  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.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.02;
  pointer-events: none;
  z-index: -1;
}


h1, h2, h3, h4, h5, h6,
.entry-content :where(h1,h2,h3,h4,h5,h6),
.entry-content :where(h1,h2,h3,h4,h5,h6) a {
  color: var(--ll-text) !important;
  font-family: var(--ll-font-display) !important;
  font-weight: 400 !important;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-transform: none !important;
}
h1, .entry-content :where(h1) { font-size: 2.6em !important; font-size: clamp(2em, 4.5vw, 3.2em) !important; }
h2, .entry-content :where(h2) { font-size: 1.9em !important; font-size: clamp(1.6em, 3vw, 2.2em) !important; }
h3, .entry-content :where(h3) { font-size: 1.28em !important; font-size: clamp(1.15em, 2vw, 1.4em) !important; }
h4, .entry-content :where(h4) { font-size: 1.12em !important; font-size: clamp(1.05em, 1.5vw, 1.2em) !important; }

/* Typography utility classes */
.ll-eyebrow {
  display: block;
  font-family: var(--ll-font);
  font-size: 0.78em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ll-accent);
  margin-bottom: 0.5em;
}
.ll-body-lg {
  font-size: 1.18em;
  font-size: clamp(1.1em, 1.8vw, 1.25em);
  line-height: 1.75;
}
.ll-caption {
  font-size: 0.82em;
  color: var(--ll-text-tertiary);
}
.ll-overline {
  font-size: 0.72em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ll-text-secondary);
}

a { color: var(--ll-primary); transition: color var(--ll-transition); }
a:hover { color: var(--ll-primary-light); }

::selection {
  background: rgba(139,122,175,0.3);
  color: #fff;
}

/* Global form inputs — override Astra white defaults */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="number"],
input[type="tel"],
select,
textarea {
  background: var(--ll-bg-card) !important;
  color: var(--ll-text) !important;
  border-color: var(--ll-border-strong) !important;
  font-family: var(--ll-font) !important;
}
input::placeholder,
textarea::placeholder {
  color: var(--ll-text-tertiary) !important;
}

code {
  background: var(--ll-primary-subtle);
  color: var(--ll-primary-light);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.9em;
}

/* --- 4. Astra Header Override (frosted glass) --- */
.ast-primary-header,
.ast-main-header-wrap .main-header-bar,
header.site-header {
  background: rgba(20,18,24,0.95) !important;
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  box-shadow: 0 1px 20px rgba(0,0,0,0.15);
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .ast-primary-header,
  .ast-main-header-wrap .main-header-bar,
  header.site-header {
    background: rgba(20,18,24,0.8) !important;
    backdrop-filter: blur(24px) saturate(1.5);
    -webkit-backdrop-filter: blur(24px) saturate(1.5);
  }
}
/* Logo: make visible on dark header */
.custom-logo-link img,
.ast-site-identity .custom-logo,
.astra-logo-svg {
  filter: brightness(0) invert(1);
}
.ast-primary-header .site-title a,
.ast-primary-header .site-title,
.main-header-bar .site-title a,
header .site-title a {
  color: #fff !important;
  font-family: var(--ll-font-display);
  font-weight: 400;
  font-size: 1.35em;
  letter-spacing: 0.01em;
}
.ast-primary-header .ast-builder-menu a,
.main-header-bar .menu-link,
.ast-header-break-point .ast-mobile-header-wrap .ast-builder-menu a,
.ast-nav-menu a,
header nav a {
  color: rgba(255,255,255,0.8) !important;
  font-family: var(--ll-font);
  font-weight: 500;
  font-size: 0.92em;
  letter-spacing: 0.02em;
  transition: color var(--ll-transition);
}
.ast-primary-header .ast-builder-menu a:hover,
.main-header-bar .menu-link:hover,
header nav a:hover {
  color: var(--ll-accent-light) !important;
}
/* Center nav menu in header */
.ast-primary-header .ast-builder-grid-row,
.main-header-bar .ast-builder-grid-row {
  justify-content: center;
}
.ast-primary-header .site-header-section:not(:first-child) {
  justify-content: center;
  flex-grow: 0;
}
.ast-primary-header .ast-builder-menu .menu-item {
  margin: 0 2px;
}
/* Nav link pill hover */
.ll-nav-list > li > a,
.ast-primary-header .ast-builder-menu .menu-item > a,
.ast-nav-menu .menu-item > a {
  padding: 6px 14px !important;
  border-radius: 8px;
  transition: background 200ms ease, color 200ms ease;
}
.ll-nav-list > li > a:hover,
.ast-primary-header .ast-builder-menu .menu-item > a:hover,
.ast-nav-menu .menu-item > a:hover {
  background: rgba(255,255,255,0.08) !important;
  color: #fff !important;
}
/* Active nav indicator — scoped to main nav only */
.ll-nav .current-menu-item > a,
.ll-nav .current_page_item > a {
  background: rgba(191,152,85,0.15) !important;
  border-bottom: 2px solid var(--ll-accent) !important;
  padding-bottom: 4px;
}
/* Products dropdown */
.menu-item-has-children,
.ll-nav-list > li.menu-item-has-children {
  position: relative;
}
.ll-nav-list > li > .sub-menu,
.menu-item-has-children > .sub-menu,
.menu-item-has-children > .ast-submenu-container {
  position: absolute !important;
  top: 100% !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(-8px) !important;
  min-width: 240px;
  background: rgba(20,18,30,0.97) !important;
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 8px 0;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  z-index: 999;
  list-style: none !important;
  margin: 0 !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease;
}
.ll-nav-list > li:hover > .sub-menu,
.menu-item-has-children:hover > .sub-menu,
.menu-item-has-children:hover > .ast-submenu-container {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) !important;
}
.ll-nav-list .sub-menu .menu-item a,
.menu-item-has-children .sub-menu .menu-item a,
.menu-item-has-children .ast-submenu-container .menu-item a {
  display: block;
  padding: 10px 20px !important;
  color: rgba(255,255,255,0.85) !important;
  font-size: 0.9em;
  border-radius: 0 !important;
  border-bottom: none !important;
  transition: background 150ms ease, padding-left 150ms ease;
}
.ll-nav-list .sub-menu .menu-item a:hover,
.menu-item-has-children .sub-menu .menu-item a:hover,
.menu-item-has-children .ast-submenu-container .menu-item a:hover {
  background: rgba(191,152,85,0.15) !important;
  padding-left: 24px !important;
  color: var(--ll-accent-light) !important;
}
/* Products dropdown arrow */
.menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-left: 6px;
  vertical-align: middle;
  transition: transform 200ms ease;
}
.menu-item-has-children:hover > a::after {
  transform: rotate(180deg);
}
/* CTA button in nav (Login / Get Started) */
.ll-nav-cta a {
  background: linear-gradient(135deg, var(--ll-accent), var(--ll-accent-dark, #9a7a3a)) !important;
  color: #fff !important;
  padding: 8px 20px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: 0.88em !important;
  transition: box-shadow 200ms ease, transform 200ms ease !important;
  border-bottom: none !important;
}
.ll-nav-cta a:hover {
  box-shadow: 0 4px 16px rgba(191,152,85,0.4) !important;
  transform: translateY(-1px) !important;
  background: linear-gradient(135deg, var(--ll-accent-light), var(--ll-accent)) !important;
}
.ast-mobile-popup-drawer,
.ast-mobile-popup-content,
.ast-mobile-popup-inner,
.ast-mobile-popup-drawer.active .ast-mobile-popup-inner {
  background: rgba(20,18,24,0.95) !important;
}
.ast-mobile-header-content,
.ast-desktop-header-content {
  background: var(--ll-bg) !important;
}
.ast-mobile-popup-drawer .ast-builder-menu a {
  color: var(--ll-text) !important;
}


/* --- 5. Main Content Area --- */
.site-content,
.ast-container,
#primary {
  max-width: 100% !important;
}
.entry-content {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
}
.ast-single-post .entry-content > *,
.page .entry-content > * {
  max-width: 100%;
}

/* --- 6. Layout / Section System --- */
.ll-section {
  max-width: 1100px !important;
  margin: 0 auto !important;
  padding: var(--ll-space-4xl) var(--ll-space-lg);
}
.ll-section-narrow {
  max-width: 800px !important;
  margin: 0 auto !important;
  padding: var(--ll-space-4xl) var(--ll-space-lg);
}
.ll-section-title {
  text-align: center;
  margin-bottom: var(--ll-space-xl);
}
.ll-section-title h2 {
  margin-bottom: 0.3em;
}
.ll-section-title p {
  color: var(--ll-text-secondary);
  font-size: 1.1em;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.75;
}
.ll-divider {
  width: 40px;
  height: 2px;
  background: var(--ll-accent);
  border: none;
  margin: 0.7em auto;
  border-radius: 2px;
  opacity: 0.6;
}
@keyframes ll-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* --- 7. Hero Section --- */
.ll-hero {
  text-align: center;
  padding: 56px 24px 40px;
  max-width: 1100px !important;
  margin: 0 auto !important;
  position: relative;
  overflow: hidden;
}
/* Animated purple orb — behind content */
.ll-hero::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  top: -200px;
  left: -150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(94,77,127,0.18) 0%, transparent 70%);
  filter: blur(90px);
  animation: ll-float 20s ease-in-out infinite;
  pointer-events: none;
  will-change: transform;
  z-index: -1;
}
/* Animated gold orb */
.ll-hero::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  bottom: -200px;
  right: -100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(191,152,85,0.22) 0%, transparent 70%);
  filter: blur(90px);
  animation: ll-float 25s ease-in-out infinite reverse;
  pointer-events: none;
  will-change: transform;
  z-index: -1;
}
@keyframes ll-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(40px, -30px) scale(1.05); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(30px, 40px) scale(1.03); }
}
.ll-hero h1 {
  margin-bottom: 0.4em;
  color: var(--ll-text);
  position: relative;
  z-index: 1;
}
.ll-hero .ll-hero-accent {
  background: linear-gradient(135deg, var(--ll-accent), var(--ll-accent-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ll-hero .ll-subtitle {
  font-size: 1.18em;
  font-size: clamp(1.05em, 2vw, 1.3em);
  color: var(--ll-text-secondary);
  max-width: 700px;
  margin: 0 auto 2em;
  line-height: 1.7;
  font-family: var(--ll-font);
  position: relative;
  z-index: 1;
}
.ll-hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- 8. Buttons --- */
.ll-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--ll-radius);
  text-decoration: none !important;
  font-family: var(--ll-font);
  font-size: 1em;
  font-weight: 600;
  transition: all 300ms cubic-bezier(0.23, 1, 0.32, 1);
  cursor: pointer;
  border: 2px solid transparent;
  line-height: 1.4;
}
.ll-btn-primary {
  background: linear-gradient(135deg, var(--ll-primary), var(--ll-primary-dark));
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(94,77,127,0.3);
}
.ll-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(139,122,175,0.4);
  color: #fff !important;
}
.ll-btn-accent {
  background: var(--ll-accent);
  color: #141218 !important;
  font-weight: 600;
  box-shadow: 0 2px 12px rgba(191,152,85,0.2);
  position: relative;
  overflow: hidden;
}
.ll-btn-accent::after { display: none; }
.ll-btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(191,152,85,0.3);
  color: #141218 !important;
  filter: brightness(1.08);
}
.ll-btn-outline {
  background: rgba(255,255,255,0.05);
  color: var(--ll-text) !important;
  border-color: rgba(255,255,255,0.1);
}
.ll-btn-outline:hover {
  background: rgba(255,255,255,0.1);
  color: #fff !important;
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}
.ll-btn-sm {
  padding: 9px 20px;
  font-size: 0.9em;
}
.ll-btn-lg {
  padding: 16px 40px;
  font-size: 1.1em;
}

/* --- 8b. wpautop fixes & button row fallback --- */
.ll-btn-row { display: flex; gap: 1em; justify-content: center; flex-wrap: wrap; }
.ll-btn-row br { display: none; }
/* Fallback for browsers without :has() */
.ll-card > p:last-child { margin-bottom: 0; }
.ll-card > p:last-child:has(a.ll-btn) { margin: 0; }
.ll-card a.ll-btn { display: inline-block; margin-top: 1em; }
/* Fix inline-styled button containers missing display:flex */
.ll-hero div:has(> a.ll-btn),
.ll-card div:has(> a.ll-btn),
.ll-cta-banner div:has(> a.ll-btn) { display: flex; gap: 1em; justify-content: center; flex-wrap: wrap; }
.ll-card div:has(> a.ll-btn) { justify-content: flex-start; }

/* --- 9. Cards (minimal floating surface) --- */
.ll-card {
  background: linear-gradient(145deg, rgba(30,27,36,0.7), rgba(22,20,28,0.5)) !important;
  border: none;
  border-radius: 24px;
  padding: 36px 32px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.04);
  transition: transform 500ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 500ms ease;
  position: relative;
  overflow: hidden;
}
.ll-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(145deg, rgba(255,255,255,0.06), transparent 50%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.ll-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2), 0 0 60px rgba(94,77,127,0.08), inset 0 1px 0 rgba(255,255,255,0.06);
}
.ll-card h3 {
  color: var(--ll-text);
  margin-bottom: 0.5em;
  font-size: 1.15em;
  font-family: var(--ll-font) !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em;
}
.ll-card p {
  color: var(--ll-text-secondary);
  line-height: 1.7;
  font-size: 0.95em;
}

.ll-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.ll-cards-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 600px) {
  .ll-cards-grid-2 { grid-template-columns: 1fr; }
}
.ll-card-vertical {
  display: flex;
  flex-direction: column;
  background: linear-gradient(145deg, rgba(30,27,36,0.7), rgba(22,20,28,0.5)) !important;
  border: none;
}

/* --- 10. Feature Icon --- */
.ll-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(139,122,175,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--ll-space-md);
  font-size: 1.6em;
}
.ll-icon-gold {
  background: rgba(212,169,94,0.1);
}

/* --- 11. CTA Banner --- */
.ll-cta-banner {
  background: linear-gradient(145deg, rgba(94,77,127,0.3), rgba(60,50,85,0.4));
  color: #fff;
  border-radius: 28px;
  padding: 64px 48px;
  text-align: center;
  margin: var(--ll-space-xl) var(--ll-space-lg);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 40px rgba(94,77,127,0.15);
  border: none;
}
.ll-cta-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(191,152,85,0.15), transparent 65%);
  pointer-events: none;
}
.ll-cta-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.05), transparent 65%);
  pointer-events: none;
}
.ll-cta-banner h2 {
  color: #fff;
  font-size: 1.8em;
  margin-bottom: 0.4em;
}
.ll-cta-banner p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1em;
  margin-bottom: 1.2em;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

/* --- 12. Trust Bar --- */
.ll-trust-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--ll-space-lg);
  padding: var(--ll-space-2xl) var(--ll-space-lg);
  max-width: 1100px;
  margin: 0 auto;
  background: transparent;
  border-radius: 24px;
  border: none;
}
.ll-trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
}
.ll-trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(139,122,175,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3em;
  flex-shrink: 0;
}
.ll-trust-icon-gold {
  background: linear-gradient(135deg, rgba(212,169,94,0.2), rgba(191,152,85,0.08));
}
.ll-trust-item strong {
  display: block;
  font-size: 1.3em;
  color: var(--ll-accent);
  font-family: var(--ll-font-display);
}
.ll-trust-item span {
  font-size: 0.85em;
  color: var(--ll-text-secondary);
}

/* ── .dev-only: SaaS Pricing, Checkout, Portal, Tables ── */

/* --- 13. Pricing Cards --- */
.ll-pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1020px;
  margin: 0 auto;
}
.ll-pricing-card {
  background: linear-gradient(145deg, rgba(30,27,36,0.7), rgba(22,20,28,0.5));
  border: none;
  border-radius: 24px;
  padding: 40px 32px;
  text-align: center;
  position: relative;
  box-shadow: 0 2px 20px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.04);
  transition: transform 500ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 500ms ease;
}
.ll-pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2), 0 0 60px rgba(94,77,127,0.08);
}
.ll-pricing-card.ll-featured {
  background: linear-gradient(145deg, rgba(94,77,127,0.2), rgba(40,35,50,0.7));
  transform: scale(1.03);
  box-shadow: 0 8px 40px rgba(94,77,127,0.15), inset 0 1px 0 rgba(255,255,255,0.06);
}
.ll-pricing-card.ll-featured:hover {
  transform: scale(1.03) translateY(-4px);
}
.ll-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--ll-accent), var(--ll-accent-dark));
  color: white;
  padding: 6px 20px;
  border-radius: 24px;
  font-size: 0.82em;
  font-weight: 600;
  font-family: var(--ll-font);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(191,152,85,0.3);
}
.ll-price {
  font-size: 3em;
  font-weight: 700;
  color: var(--ll-text);
  font-family: var(--ll-font-display);
  margin: 0.5em 0 0.3em;
  line-height: 1;
}
.ll-price span {
  font-size: 0.32em;
  color: var(--ll-text-secondary);
  font-weight: 400;
  font-family: var(--ll-font);
}
.ll-pricing-card ul {
  list-style: none;
  padding: 0;
  text-align: left;
  margin: 1.8em 0;
}
.ll-pricing-card li {
  padding: 10px 0;
  border-bottom: 1px solid var(--ll-border);
  color: var(--ll-text-secondary);
  font-size: 0.95em;
}
.ll-pricing-card li::before {
  content: "\2713";
  color: var(--ll-sage);
  font-weight: 700;
  margin-right: 10px;
}
.ll-checkout-btn {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, var(--ll-primary), var(--ll-primary-dark));
  color: white;
  border: none;
  border-radius: var(--ll-radius);
  padding: 16px;
  font-family: var(--ll-font);
  font-size: 1.05em;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--ll-transition);
  box-shadow: 0 4px 12px rgba(94,77,127,0.2);
}
.ll-checkout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(94,77,127,0.35);
}
.ll-checkout-btn.ll-btn-outline {
  background: transparent;
  color: var(--ll-primary-light);
  border: 2px solid var(--ll-primary);
  box-shadow: none;
}
.ll-checkout-btn.ll-btn-outline:hover {
  background: rgba(139,122,175,0.15);
  color: #fff;
  border-color: var(--ll-primary-light);
  box-shadow: 0 4px 16px rgba(139,122,175,0.2);
}

/* --- 14. Checkout Email Input --- */
#ll-checkout-email {
  max-width: 440px;
  margin: 2.5em auto;
  text-align: center;
  background: var(--ll-bg-card, #1e1b24);
  padding: 32px;
  border-radius: var(--ll-radius-lg);
  box-shadow: none;
  border: 1px solid rgba(255,255,255,0.05);
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  #ll-checkout-email {
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
}
#ll-checkout-email p {
  color: var(--ll-text-secondary);
  margin-bottom: var(--ll-space-md);
}
#ll-email-input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--ll-border);
  border-radius: var(--ll-radius);
  font-size: 1em;
  font-family: var(--ll-font);
  transition: border-color var(--ll-transition), box-shadow var(--ll-transition);
  box-sizing: border-box;
  background: rgba(20,18,24,0.6);
  color: var(--ll-text);
}
#ll-email-input:focus {
  border-color: var(--ll-accent);
  outline: none;
  box-shadow: 0 0 0 4px rgba(191,152,85,0.12);
}
#ll-email-input::placeholder {
  color: var(--ll-text-tertiary);
}
#ll-email-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--ll-primary), var(--ll-primary-dark));
  color: white;
  border: none;
  border-radius: var(--ll-radius);
  padding: 14px;
  font-size: 1em;
  font-weight: 600;
  font-family: var(--ll-font);
  cursor: pointer;
  margin-top: 12px;
  transition: all var(--ll-transition);
}
#ll-email-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(94,77,127,0.3);
}

/* --- 15. Portal --- */
/* Portal: wider for dashboard, narrower for login/register forms */
#ll-portal {
  max-width: 820px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}
#ll-portal-login,
#ll-portal-register {
  max-width: 460px;
  margin: 0 auto;
}
#ll-portal h3 {
  color: var(--ll-text);
  font-size: 1.5em;
  margin-bottom: 0.8em;
  line-height: 1.4;
}
#ll-portal form {
  background: var(--ll-bg-card, #1e1b24);
  padding: 36px;
  border-radius: var(--ll-radius-lg);
  box-shadow: none;
  border: 1px solid rgba(255,255,255,0.05);
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  #ll-portal form {
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
}
#ll-portal label {
  display: block;
  margin-bottom: 1.2em;
  color: var(--ll-text-secondary);
  font-size: 0.9em;
  font-weight: 500;
}
#ll-portal input {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--ll-border);
  border-radius: var(--ll-radius);
  margin-top: 6px;
  font-size: 1em;
  font-family: var(--ll-font);
  transition: border-color var(--ll-transition), box-shadow var(--ll-transition);
  box-sizing: border-box;
  background: rgba(20,18,24,0.6);
  color: var(--ll-text);
}
#ll-portal input::placeholder {
  color: var(--ll-text-tertiary);
}
#ll-portal input:focus {
  border-color: var(--ll-accent);
  outline: none;
  box-shadow: 0 0 0 4px rgba(191,152,85,0.12);
}
#ll-portal button[type="submit"],
#ll-manage-sub {
  background: linear-gradient(135deg, var(--ll-primary), var(--ll-primary-dark));
  color: white;
  border: none;
  border-radius: var(--ll-radius);
  padding: 14px 28px;
  cursor: pointer;
  margin-right: 8px;
  margin-top: 8px;
  font-weight: 600;
  font-size: 1em;
  font-family: var(--ll-font);
  transition: all var(--ll-transition);
}
#ll-portal button[type="submit"]:hover,
#ll-manage-sub:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(94,77,127,0.3);
}
#ll-portal-logout {
  background: transparent;
  color: var(--ll-text-secondary);
  border: 2px solid var(--ll-border-strong);
  border-radius: var(--ll-radius);
  padding: 12px 24px;
  cursor: pointer;
  font-weight: 500;
  font-family: var(--ll-font);
  transition: all var(--ll-transition);
}
#ll-portal-logout:hover {
  border-color: var(--ll-primary);
  color: var(--ll-primary-light);
  background: rgba(139,122,175,0.1);
}
#ll-portal-dashboard {
  background: var(--ll-bg-card, #1e1b24);
  padding: 40px;
  border-radius: var(--ll-radius-lg);
  box-shadow: none;
  border: 1px solid rgba(255,255,255,0.05);
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  #ll-portal-dashboard {
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
}

/* Portal pricing: 2-column card grid */
#ll-portal-pricing .ll-pricing {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 100%;
  gap: 24px;
}
#ll-portal-pricing .ll-pricing-card {
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  word-break: break-word;
  overflow-wrap: anywhere;
}
#ll-portal-pricing .ll-pricing-card.ll-featured {
  transform: none;
}
#ll-portal-pricing .ll-pricing-card.ll-featured:hover {
  transform: translateY(-4px);
}
#ll-portal-pricing .ll-price {
  font-size: 2.6em;
}
#ll-portal-pricing .ll-pricing-card ul {
  margin: 1.2em 0;
  flex: 1;
}
#ll-portal-pricing .ll-pricing-card .ll-btn {
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

/* Portal license table */
#ll-portal table {
  width: 100%;
  table-layout: auto;
}
#ll-portal td code {
  font-size: 0.82em;
  word-break: break-all;
  display: inline-block;
  max-width: 100%;
}
@media (min-width: 601px) {
  #ll-portal th:first-child,
  #ll-portal td:first-child { min-width: 200px; }
  #ll-portal th:last-child,
  #ll-portal td:last-child { white-space: nowrap; }
}
#ll-portal-dashboard > div {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
@media (max-width: 600px) {
  #ll-portal table,
  #ll-portal thead,
  #ll-portal tbody,
  #ll-portal th,
  #ll-portal td,
  #ll-portal tr {
    display: block;
  }
  #ll-portal thead { display: none; }
  #ll-portal tr {
    margin-bottom: 16px;
    background: var(--ll-bg-card, #1e1b24);
    border-radius: var(--ll-radius);
    padding: 16px;
    border: 1px solid rgba(255,255,255,0.06);
  }
  #ll-portal td {
    padding: 6px 0;
    border-bottom: none;
    font-size: 0.9em;
    word-break: break-word;
    white-space: normal !important;
    min-width: 0 !important;
  }
  #ll-portal form {
    padding: 24px 16px !important;
  }
  #ll-portal h2, #ll-portal h3 {
    font-size: 1.2em !important;
    word-break: break-word;
  }
  #ll-portal td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--ll-text-secondary);
    text-transform: uppercase;
    font-size: 0.78em;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 2px;
  }
}

/* --- 16. Tables --- */
#ll-portal table,
#ll-dl-list table,
.ll-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  background: var(--ll-bg-card, #1e1b24);
  border-radius: var(--ll-radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}
#ll-portal th, #ll-dl-list th, .ll-table th {
  padding: 14px 16px;
  text-align: left;
  color: var(--ll-text-secondary);
  font-weight: 500;
  font-size: 0.82em;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(94,77,127,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
#ll-portal td, #ll-dl-list td, .ll-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.93em;
  color: var(--ll-text);
}
#ll-portal tr:hover td, #ll-dl-list tr:hover td, .ll-table tr:hover td {
  background: var(--ll-bg-card, #1e1b24);
}
.ll-download-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--ll-primary), var(--ll-primary-dark));
  color: white !important;
  padding: 8px 20px;
  border-radius: var(--ll-radius);
  text-decoration: none;
  font-size: 0.88em;
  font-weight: 600;
  transition: all var(--ll-transition);
}
.ll-download-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(94,77,127,0.3);
}

/* --- 17. FAQ --- */
details.ll-faq-item {
  background: linear-gradient(145deg, rgba(30,27,36,0.5), rgba(22,20,28,0.3));
  border-radius: 20px;
  padding: 24px 28px;
  margin-bottom: 12px;
  border: none;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.03);
  transition: box-shadow 300ms ease, background 300ms ease;
  cursor: pointer;
}
details.ll-faq-item:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  background: rgba(35, 31, 42, 0.5);
}
details.ll-faq-item[open] {
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
  background: rgba(35, 31, 42, 0.6);
}
details.ll-faq-item summary {
  color: var(--ll-text);
  font-size: 1.05em;
  font-family: var(--ll-font);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
  cursor: pointer;
}
details.ll-faq-item summary::-webkit-details-marker { display: none; }
details.ll-faq-item summary::after {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23d4a95e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  transition: transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
}
details.ll-faq-item[open] summary::after { transform: rotate(180deg); }
details.ll-faq-item .ll-faq-answer {
  color: var(--ll-text-secondary);
  line-height: 1.7;
  margin-top: 0.8em;
  padding-bottom: 4px;
  max-height: none;
  overflow: visible;
  opacity: 1;
}

/* --- 18. Documentation --- */
.ll-doc-section {
  margin-bottom: 3em;
}
.ll-doc-section h2 {
  color: var(--ll-primary);
  font-size: 1.35em;
  padding-bottom: 0.5em;
  border-bottom: 2px solid var(--ll-border);
  margin-bottom: 1em;
}
.ll-doc-section h3 {
  color: var(--ll-text);
  font-size: 1.1em;
  margin-top: 1.5em;
}
.ll-doc-section ol,
.ll-doc-section ul {
  line-height: 1.9;
  color: var(--ll-text);
}
.ll-doc-section table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
  background: var(--ll-bg-card, #1e1b24);
  border-radius: var(--ll-radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}
.ll-doc-section th {
  background: rgba(94,77,127,0.12);
  padding: 12px 14px;
  text-align: left;
  font-weight: 500;
  color: var(--ll-primary-light);
  font-size: 0.9em;
}
.ll-doc-section td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--ll-border);
  color: var(--ll-text);
  font-size: 0.93em;
}

/* --- 19. Contact --- */
.ll-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--ll-space-lg);
  margin: 2em 0;
}
@media (max-width: 600px) {
  .ll-contact-grid { grid-template-columns: 1fr; }
}
.ll-contact-card {
  background: var(--ll-bg-card, #1e1b24);
  border-radius: var(--ll-radius);
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.06);
}
.ll-contact-card h3 { color: var(--ll-primary); font-size: 1.1em; }
.ll-contact-card p { color: var(--ll-text-secondary); line-height: 1.6; }
.ll-contact-form {
  display: grid;
  gap: 1.2em;
  max-width: 640px;
  margin: 0 auto;
}
.ll-contact-form br { display: none; }
.ll-contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--ll-text-secondary);
  font-size: 0.9em;
  font-weight: 500;
}
.ll-contact-form input,
.ll-contact-form textarea,
.ll-contact-form select {
  width: 100%;
  box-sizing: border-box;
}
.ll-contact-form select {
  padding: 12px 14px;
  border: 2px solid var(--ll-border);
  border-radius: var(--ll-radius);
  margin-top: 6px;
  font-size: 1em;
  font-family: var(--ll-font);
  transition: border-color var(--ll-transition), box-shadow var(--ll-transition);
  box-sizing: border-box;
  background: rgba(20,18,24,0.6);
  color: var(--ll-text);
}
.ll-contact-form input::placeholder,
.ll-contact-form textarea::placeholder {
  color: var(--ll-text-tertiary);
}
.ll-contact-form select:focus {
  border-color: var(--ll-accent);
  outline: none;
  box-shadow: 0 0 0 4px rgba(191,152,85,0.12);
}

/* --- 20. Info Box --- */
.ll-info-box {
  background: var(--ll-bg-card, #1e1b24);
  border-radius: var(--ll-radius-lg);
  padding: 32px;
  border: 1px solid rgba(255,255,255,0.05);
  border-left: 4px solid var(--ll-accent);
  box-shadow: none;
}
.ll-info-box h3 { color: var(--ll-accent); }

/* --- 21. Steps --- */
.ll-steps {
  counter-reset: step-counter;
  list-style: none;
  padding: 0;
}
.ll-steps li {
  counter-increment: step-counter;
  padding: 16px 0 16px 64px;
  position: relative;
  border-bottom: 1px solid var(--ll-border);
  line-height: 1.6;
  color: var(--ll-text);
}
.ll-steps li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 14px;
  width: 40px;
  height: 40px;
  border-radius: var(--ll-radius);
  background: linear-gradient(135deg, var(--ll-primary), var(--ll-primary-light));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95em;
}

/* --- 22. Stats --- */
.ll-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--ll-space-lg);
  text-align: center;
  margin: 2em 0;
}
.ll-stat-number {
  font-size: 2.8em;
  font-weight: 700;
  font-family: var(--ll-font-display);
  color: var(--ll-primary);
  line-height: 1;
}
.ll-stat-label {
  font-size: 0.88em;
  color: var(--ll-text-secondary);
  margin-top: 4px;
}

/* --- 23. Footer --- */
.ast-footer-overlay,
.site-footer,
.ast-small-footer,
footer.site-footer {
  background: linear-gradient(180deg, var(--ll-bg), #0c0a10) !important;
  color: rgba(255,255,255,0.7);
  border-top: none;
  position: relative;
}
.ast-footer-overlay::before,
.site-footer::before,
footer.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(191,152,85,0.5), rgba(212,169,94,0.6), transparent);
}
.site-footer a,
.ast-small-footer a {
  color: rgba(255,255,255,0.8) !important;
  transition: color var(--ll-transition);
}
.site-footer a:hover,
.ast-small-footer a:hover {
  color: var(--ll-accent-light) !important;
}
.ast-footer-copyright {
  color: rgba(255,255,255,0.45) !important;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 16px;
}
/* Footer widget headings */
.site-footer .widget-title,
.site-footer h4 {
  color: rgba(255,255,255,0.9) !important;
  font-family: var(--ll-font-display);
  font-size: 1.05em;
  letter-spacing: 0.02em;
  border-bottom: 2px solid var(--ll-accent);
  padding-bottom: 8px;
  display: inline-block;
}

/* --- 23b. wpautop br fix --- */
.ll-hero-actions br,
.ll-hero br,
.ll-section-title br,
div:has(> a.ll-btn) br,
.entry-content > br,
.entry-content > p > br:only-child { display: none; }

/* --- 24. Animations --- */
@keyframes ll-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.ll-animate {
  animation: ll-fade-up 0.6s ease both;
}
.ll-animate-delay-1 { animation-delay: 0.1s; }
.ll-animate-delay-2 { animation-delay: 0.2s; }
.ll-animate-delay-3 { animation-delay: 0.3s; }
.ll-animate-delay-4 { animation-delay: 0.4s; }
.ll-animate-delay-5 { animation-delay: 0.5s; }


/* Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
  .ll-animate { animation: none; opacity: 1; }
  .ll-hero::before, .ll-hero::after { animation: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* --- 25. Thank You (.dev only) --- */
.ll-thankyou {
  max-width: 700px;
  margin: 0 auto;
  padding: 80px 24px;
  text-align: center;
}
.ll-thankyou h1 {
  color: var(--ll-primary);
  font-size: 2.2em;
}
.ll-thankyou-steps {
  background: var(--ll-bg-card, #1e1b24);
  border-radius: var(--ll-radius-lg);
  padding: 32px;
  margin: 2em 0;
  text-align: left;
  box-shadow: none;
  border: 1px solid rgba(255,255,255,0.05);
}


/* ═══════════════════════════════════════════════════════════════════
   27. Premium Utility & Trust Components
   ═══════════════════════════════════════════════════════════════════ */


/* Feature list with checkmarks */
.ll-feature-list {
  list-style: none;
  padding: 0;
}
.ll-feature-list li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  color: var(--ll-text-secondary);
  line-height: 1.6;
}
.ll-feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ll-sage);
  font-weight: 700;
}


/* Premium section background */
.ll-section-cream {
  background: rgba(255,255,255,0.015);
  border-top: none;
  border-bottom: none;
  padding: var(--ll-space-3xl) 0;
}

/* Image with caption */
.ll-image-block {
  border-radius: var(--ll-radius-lg);
  overflow: hidden;
  box-shadow: var(--ll-shadow-md);
}
.ll-image-block img {
  width: 100%;
  height: auto;
  display: block;
}



/* --- 27b. Screenshot sections --- */
.ll-screenshot-hero { margin: var(--ll-space-xl) auto var(--ll-space-2xl); text-align: center; }
.ll-screenshot-feature { margin: var(--ll-space-2xl) auto; text-align: center; }
/* Screenshot glow effect */
.ll-screenshot img,
.ll-screenshot-hero img,
.ll-screenshot-feature img {
  box-shadow: 0 4px 16px rgba(0,0,0,0.2), 0 0 40px rgba(94,77,127,0.08) !important;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 400ms cubic-bezier(0.23,1,0.32,1), box-shadow 400ms ease;
}
.ll-screenshot img:hover,
.ll-screenshot-hero img:hover,
.ll-screenshot-feature img:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2), 0 0 40px rgba(94,77,127,0.08) !important;
}

/* --- 27c. Heading weight for dark theme readability --- */
h2, .entry-content :where(h2) { font-weight: 500 !important; }
h3, .entry-content :where(h3) { font-weight: 500 !important; }

/* --- 27d. Account page: compact hero --- */
/* Compact hero for secondary pages */
.page-id-820 .ll-hero,
.page-id-11 .ll-hero,
.page-id-816 .ll-hero,
.page-id-874 .ll-hero,
.page-id-817 .ll-hero,
.page-id-818 .ll-hero,
.page-id-819 .ll-hero,
.page-id-840 .ll-hero,
.page-id-841 .ll-hero,
.page-id-843 .ll-hero,
.page-id-822 .ll-hero,
.page-id-887 .ll-hero,
.page-id-821 .ll-hero,
.page-id-875 .ll-hero,
.page-id-876 .ll-hero,
.page-id-877 .ll-hero,
.page-id-891 .ll-hero,
.page-id-3 .ll-hero {
  padding: 40px 24px 20px;
}
.page-id-11 .ll-hero h1,
.page-id-874 .ll-hero h1 { font-size: clamp(1.6em, 4vw, 2.2em) !important; }
.page-id-820 .ll-hero .ll-subtitle {
  margin-bottom: 0.8em;
}

/* --- 28. Responsive --- */
@media (max-width: 768px) {
  .ll-hero { padding: 56px 20px 40px; }
  .page-id-820 .ll-hero { padding: 40px 20px 24px; }
  h1, .entry-content :where(h1) { font-size: 2.1em !important; font-size: clamp(1.8em, 6vw, 2.4em) !important; }
  .ll-section, .ll-section-narrow {
    padding: var(--ll-space-xl) var(--ll-space-md);
  }
  .ll-pricing { grid-template-columns: 1fr; max-width: 400px; gap: 40px; }
  .ll-pricing-card.ll-featured { transform: none; order: -1; }
  .ll-pricing-card.ll-featured:hover { transform: translateY(-4px); }
  .ll-cta-banner { padding: 40px 24px; margin: 20px 16px; border-radius: var(--ll-radius); }
  .ll-btn { padding: 14px 28px; font-size: 1em; }
  .ll-stats { grid-template-columns: repeat(2, 1fr); }
  .ll-trust-bar { grid-template-columns: repeat(2, 1fr); }
  .ll-hero-actions { flex-direction: column; align-items: center; }
  .ll-cards-grid { grid-template-columns: 1fr; }
  /* Portal mobile */
  #ll-portal { padding: 0 12px; }
  #ll-portal-dashboard { padding: 24px 16px; }
  #ll-portal-pricing .ll-pricing {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
    gap: 28px;
  }
  #ll-portal-pricing .ll-pricing-card.ll-featured { order: -1; }
}
@media (max-width: 480px) {
  .ll-trust-bar { grid-template-columns: 1fr; }
  .ll-stats { grid-template-columns: 1fr; }
}

/* --- 28b. Accessibility --- */
.ll-btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--ll-accent);
  outline-offset: 2px;
}
.ll-faq-item h3:focus-visible,
.ll-faq-item .ll-faq-question:focus-visible {
  outline: 2px solid var(--ll-accent);
  outline-offset: -2px;
  border-radius: var(--ll-radius);
}
/* Hero badge (both sites) */
.ll-hero-badge {
  display: inline-block;
  background: var(--ll-primary-subtle);
  color: var(--ll-primary-light);
  font-family: var(--ll-font);
  font-size: 0.72em;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(94,77,127,0.2);
  box-shadow: none;
  position: relative;
  z-index: 1;
}




/* --- 29. Astra Misc Overrides --- */
.ast-separate-container .ast-article-post,
.ast-separate-container .ast-article-single,
.ast-separate-container .ast-comment-list li.depth-1,
.ast-separate-container .comment-respond {
  background: var(--ll-bg) !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.ast-separate-container .site-content > .ast-container {
  max-width: 100% !important;
}
.ast-page-builder-template .site-content > .ast-container {
  max-width: 100% !important;
}
.ast-archive-description, .ast-breadcrumbs-wrapper {
  display: none !important;
}
#secondary { display: none !important; }
#primary { width: 100% !important; float: none !important; }

/* ── .dev Dark Theme: Astra content color overrides ── */
.entry-content,
.entry-content p,
.entry-content li,
.entry-content td,
.entry-content dd,
.entry-content span,
.ast-single-post .entry-content > *,
.page .entry-content > * {
  color: var(--ll-text) !important;
}
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.entry-content :where(h1,h2,h3,h4,h5,h6) {
  color: var(--ll-text) !important;
}
.entry-content a {
  color: var(--ll-primary) !important;
}
.entry-content a:hover {
  color: var(--ll-accent) !important;
}
.has-black-color { color: var(--ll-text) !important; }
.has-white-background-color { background-color: var(--ll-bg) !important; }
.has-luminous-vivid-orange-color,
.has-vivid-cyan-blue-color { color: var(--ll-primary) !important; }
.wp-block-group,
.wp-block-column {
  color: var(--ll-text);
}

.ast-header-button-1,
.ast-builder-layout-element[data-section="button-1"],
.site-header-section .ast-builder-layout-element.ast-header-button-1 {
  display: none !important;
}
.ast-page-builder-template .entry-header,
.page .entry-header,
.ast-single-page-title-layout .entry-header {
  display: none !important;
}

/* --- 30. Toast Notifications --- */
.ll-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(30, 27, 36, 0.92);
  color: var(--ll-text);
  padding: 14px 24px;
  border-radius: var(--ll-radius);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  z-index: 10000;
  animation: ll-fade-up 0.3s ease;
  font-size: 0.95em;
  font-family: var(--ll-font);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.ll-toast.ll-toast-error { background: rgba(199,80,80,0.9); color: #fff; }
.ll-toast.ll-toast-success { background: rgba(106,171,110,0.9); color: #fff; }

/* --- 31. Scrollbar --- */
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: var(--ll-bg); }
::-webkit-scrollbar-thumb { background: rgba(191,152,85,0.3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(191,152,85,0.5); }

/* --- 32. Site Switcher Bar --- */
html, body { margin-top: 0 !important; padding-top: 0 !important; }
.ll-site-switcher {
  background: #0a090d;
  padding: 0;
  text-align: center;
  font-size: 0.78em;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin: 0 !important;
}
/* --- Custom Header Navigation --- */
.ll-header {
  position: fixed;
  top: 0 !important;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(20,18,24,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0 24px;
}
.ll-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}
.ll-logo {
  display: flex;
  align-items: center;
  text-decoration: none !important;
  gap: 10px;
  margin-right: 32px;
}
.ll-logo-img {
  height: 36px;
  width: auto;
}
.ll-logo-text {
  font-family: var(--ll-font-display);
  font-size: 1.35em;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
  white-space: nowrap;
  line-height: 1;
}
/* .ll-nav display controlled by theme main.css */

/* Header language switcher */
.ll-header-lang {
  display: flex;
  align-items: center;
  gap: 1px;
  margin-left: auto;
  margin-right: 12px;
  font-size: 0.78em;
  font-weight: 500;
}
.ll-header-lang a {
  padding: 4px 6px;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  border-radius: 4px;
  transition: color 0.2s;
}
.ll-header-lang a:hover { color: rgba(255,255,255,0.8); }
.ll-header-lang .ll-hlang-current { color: rgba(255,255,255,0.95); font-weight: 700; }
.ll-hlang-sep { color: rgba(255,255,255,0.15); font-size: 0.85em; }
.ll-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 4px;
}
.ll-nav-list li a {
  display: inline-block;
  padding: 8px 16px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.9em;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.ll-nav-list li a:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
}
.ll-nav-list li.current_page_item a,
.ll-nav-list li.current_page_ancestor a {
  color: var(--ll-accent, #bf9855);
  background: rgba(191,152,85,0.1);
}
.ll-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
  position: relative;
  z-index: 20;
}
.ll-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.7);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
@media (max-width: 768px) {
  /* Nav mobile: full-screen overlay */
  .ll-nav {
    position: fixed !important;
    top: 64px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height: calc(100vh - 64px) !important;
    width: 100% !important;
    background: #0f0d13 !important;
    z-index: 9999 !important;
    padding: 24px !important;
    overflow-y: auto !important;
  }
  .ll-nav-list {
    flex-direction: column !important;
    gap: 0 !important;
  }
  .ll-nav-list > li > a {
    display: block !important;
    padding: 14px 0 !important;
    font-size: 1.05em !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  }
  /* Mobile dropdown: hidden by default, shown on toggle */
  .ll-nav-list > li > .sub-menu {
    position: static !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    transform: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    transition: none !important;
  }
  .ll-nav-list > li.ll-submenu-open > .sub-menu {
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    padding: 0 0 8px 16px !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    min-width: 0 !important;
    width: 100% !important;
    position: static !important;
  }
  .ll-nav-list > li.ll-submenu-open > a::after {
    transform: rotate(180deg) !important;
  }
  /* Old sub-menu override removed — toggle handles visibility */
  .ll-menu-toggle { display: flex; }
}
/* Push body content below both fixed bars (switcher 28px + header 64px) */
body { padding-top: 0 !important; }
.ll-site-switcher-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.ll-site-switcher a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  color: rgba(255,255,255,0.4);
  text-decoration: none !important;
  border-bottom: none !important;
  font-weight: 500;
  font-family: var(--ll-font);
  transition: all var(--ll-transition);
  border: none;
}
.ll-site-switcher a:hover {
  color: rgba(255,255,255,0.8);
}
.ll-site-switcher a.ll-switcher-active {
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  text-decoration: none !important;
  border-bottom: none !important;
}
.ll-site-switcher a .ll-switcher-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ll-accent);
  display: inline-block;
}
.ll-site-switcher a:not(.ll-switcher-active) .ll-switcher-dot {
  background: rgba(255,255,255,0.15);
}
/* --- Language toggle in switcher bar --- */
.ll-lang-toggle {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 16px;
  font-size: 0.9em;
  font-family: var(--ll-font);
}
.ll-lang-toggle a {
  padding: 5px 8px;
  text-decoration: none !important;
  border-bottom: none !important;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
  transition: all 0.2s;
  border-radius: 3px;
}
.ll-lang-toggle a:hover {
  color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.06);
}
.ll-lang-toggle a.ll-lang-current {
  color: rgba(255,255,255,0.95);
  font-weight: 700;
}
.ll-lang-toggle a.ll-lang-other {
  color: rgba(255,255,255,0.35);
}
.ll-lang-sep {
  color: rgba(255,255,255,0.2);
  font-size: 0.85em;
}
@media (max-width: 480px) {
  .ll-site-switcher a { padding: 5px 6px; font-size: 0.78em; }
  .ll-lang-toggle { padding: 0 4px; }
  .ll-lang-toggle a { padding: 3px 5px; font-size: 0.78em; }
  .ll-lang-sep { margin: 0 1px; }
}

/* ── Hide Astra entry-title only on pages with custom ll-hero h1 ── */
.page-template-astra-page-builder-template .entry-header .entry-title { display: none; }
.page-template-astra-page-builder-template .entry-header.ast-no-title { display: none; }
/* Hide Astra archive banner on WooCommerce pages where we have custom hero */
.woocommerce-page .ast-archive-entry-banner { display: none; }

/* ── 404 Page (global) ── */
.error-404 {
  text-align: center;
  padding: 80px 24px;
  max-width: 600px;
  margin: 0 auto;
}
.error-404 .page-title {
  font-family: var(--ll-font-display);
  color: var(--ll-accent);
  font-size: 4em !important;
  font-size: clamp(3em, 8vw, 5em) !important;
  margin-bottom: 0.2em;
}
.error-404 .page-content p {
  color: var(--ll-text-secondary);
  font-size: 1.1em;
  margin-bottom: 1.5em;
}
.error-404 .wp-block-search,
.error-404 .search-form {
  max-width: 400px;
  margin: 0 auto;
}

/* ── Search box (global) ── */
.wp-block-search__input,
.search-field,
input[type="search"] {
  background: var(--ll-bg-card) !important;
  color: var(--ll-text) !important;
  border: 2px solid var(--ll-border-strong) !important;
  border-radius: var(--ll-radius) !important;
  padding: 12px 16px !important;
  font-family: var(--ll-font) !important;
  font-size: 1em;
}
.wp-block-search__input:focus,
.search-field:focus,
input[type="search"]:focus {
  border-color: var(--ll-primary) !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(139,122,175,0.15);
}
.wp-block-search__button,
.search-submit {
  background: linear-gradient(135deg, var(--ll-primary), var(--ll-primary-dark)) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--ll-radius) !important;
  padding: 12px 24px !important;
  font-family: var(--ll-font) !important;
  cursor: pointer;
  transition: all 200ms ease;
}
.wp-block-search__button:hover,
.search-submit:hover {
  box-shadow: 0 4px 16px rgba(139,122,175,0.3);
}


/* ── Info table (global) ── */
.ll-info-table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.ll-info-table td { padding: 12px 16px; border-bottom: 1px solid var(--ll-border); color: var(--ll-text); }
.ll-info-table td:first-child { font-weight: 600; color: var(--ll-text-secondary); width: 35%; }

/* ═══ Page-wide polish (v1.3 update) ═══ */

/* --- Products page 2-col grid for Coming Soon items --- */
.ll-products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
@media (max-width: 768px) {
  .ll-products-grid { grid-template-columns: 1fr; }
}

/* --- Trust signals bar --- */
.ll-trust-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  padding: 32px 24px;
  max-width: 900px;
  margin: 0 auto;
}
.ll-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ll-text-secondary);
  font-size: 0.88em;
}
.ll-trust-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(94,77,127,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ll-trust-icon svg { width: 18px; height: 18px; stroke: var(--ll-accent); fill: none; stroke-width: 1.5; }
.ll-trust-text strong { display: block; color: var(--ll-text); font-size: 1.05em; font-weight: 600; }
@media (max-width: 768px) {
  .ll-trust-bar { gap: 12px; padding: 20px 12px; flex-wrap: nowrap; }
  .ll-trust-item { flex: 1; min-width: 0; }
  .ll-trust-icon { width: 28px; height: 28px; border-radius: 8px; }
  .ll-trust-icon svg { width: 14px; height: 14px; }
  .ll-trust-item > div span { font-size: 0.65em; }
  .ll-trust-item > div strong { font-size: 0.85em; }
}

/* --- Testimonial / social proof --- */
.ll-testimonials { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.ll-testimonial {
  background: linear-gradient(145deg, rgba(30,27,36,0.5), rgba(22,20,28,0.3));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 28px 32px;
  margin-bottom: 16px;
}
.ll-testimonial-text { font-size: 1em; line-height: 1.7; color: var(--ll-text-secondary); font-style: italic; margin: 0 0 12px; }
.ll-testimonial-author { font-size: 0.85em; color: var(--ll-text-tertiary); }
.ll-testimonial-author strong { color: var(--ll-text); font-style: normal; }
.ll-testimonial-stars { color: var(--ll-accent); font-size: 0.9em; letter-spacing: 2px; margin-bottom: 8px; }

/* --- Account/Portal form enhancement --- */
#ll-portal input[type="email"],
#ll-portal input[type="password"],
#ll-portal input[type="text"] {
  background: rgba(20,18,24,0.8) !important;
  border: 2px solid rgba(255,255,255,0.1) !important;
  border-radius: 10px !important;
  padding: 14px 16px !important;
  color: var(--ll-text) !important;
  font-size: 0.95em !important;
  width: 100% !important;
  box-sizing: border-box !important;
  transition: border-color 200ms ease, box-shadow 200ms ease !important;
}
#ll-portal input:focus {
  border-color: var(--ll-accent) !important;
  box-shadow: 0 0 0 4px rgba(191,152,85,0.12) !important;
  outline: none !important;
}
#ll-portal input::placeholder {
  color: var(--ll-text-tertiary, rgba(255,255,255,0.3)) !important;
}
#ll-portal label {
  display: block;
  color: var(--ll-text-secondary) !important;
  font-size: 0.88em;
  font-weight: 500;
  margin-bottom: 6px;
}

/* --- Contact form enhancement --- */
.ll-contact-form input,
.ll-contact-form textarea,
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
  background: rgba(20,18,24,0.8) !important;
  border: 2px solid rgba(255,255,255,0.08) !important;
  border-radius: var(--ll-radius) !important;
  padding: 14px 16px !important;
  color: var(--ll-text) !important;
  transition: border-color 300ms ease, box-shadow 300ms ease !important;
}
.ll-contact-form input:focus,
.ll-contact-form textarea:focus,
.wpcf7 input:focus,
.wpcf7 textarea:focus {
  border-color: var(--ll-accent) !important;
  box-shadow: 0 0 0 4px rgba(191,152,85,0.12) !important;
  outline: none !important;
}
.wpcf7-submit,
.ll-contact-form button[type="submit"] {
  background: linear-gradient(135deg, var(--ll-accent), var(--ll-accent-dark)) !important;
  color: #141218 !important;
  border: none !important;
  border-radius: var(--ll-radius) !important;
  padding: 16px 40px !important;
  font-weight: 600 !important;
  font-size: 1.05em !important;
  cursor: pointer !important;
  transition: all 300ms ease !important;
  box-shadow: 0 4px 16px rgba(191,152,85,0.3) !important;
}
.wpcf7-submit:hover,
.ll-contact-form button[type="submit"]:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 28px rgba(191,152,85,0.4) !important;
}

/* --- Changelog cards --- */
#changelog-entries .ll-info-box {
  transition: border-color 300ms ease, box-shadow 300ms ease;
}
#changelog-entries .ll-info-box:first-child {
  border-left-color: var(--ll-accent);
  box-shadow: 0 0 40px rgba(191,152,85,0.06), var(--ll-shadow-sm);
}
#changelog-entries .ll-info-box:hover {
  border-color: rgba(191,152,85,0.15);
  box-shadow: 0 0 50px rgba(191,152,85,0.1), var(--ll-shadow-md);
}
#changelog-entries li {
  position: relative;
  padding-left: 1.2em;
}
#changelog-entries li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  background: var(--ll-accent);
  border-radius: 50%;
}

/* --- Steps enhancement --- */
.ll-steps li {
  background: var(--ll-bg-card, #1e1b24);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--ll-radius);
  padding: 20px 24px 20px 60px;
  margin-bottom: 12px;
  transition: border-color 300ms ease, box-shadow 300ms ease;
}
.ll-steps li:hover {
  border-color: rgba(191,152,85,0.2);
  box-shadow: 0 0 30px rgba(191,152,85,0.06);
}


/* --- Section titles spacing --- */
.ll-section-title h2 {
  letter-spacing: -0.02em;
}

/* --- Footer enhancement --- */
footer.site-footer,
.ast-footer-overlay {
  border-top: 1px solid rgba(255,255,255,0.06) !important;
}
.site-footer a {
  transition: color 200ms ease !important;
}


/* --- Better link underlines --- */
.entry-content a:not(.ll-btn):not(.menu-link) {
  text-decoration-color: rgba(139,122,175,0.3) !important;
  text-underline-offset: 3px;
  transition: text-decoration-color 200ms ease, color 200ms ease !important;
}
.entry-content a:not(.ll-btn):not(.menu-link):hover {
  text-decoration-color: var(--ll-accent) !important;
}

/* --- Business info table (contact/about pages) --- */
.ll-business-info,
table[style*="border-left-color"] {
  border-radius: var(--ll-radius-lg) !important;
  overflow: hidden;
}

/* --- Pricing card button full width --- */
.ll-pricing-card .ll-btn {
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

/* --- "All Plans Include" cards glow --- */
.ll-section-cream .ll-card {
  border-color: rgba(255,255,255,0.08);
}
.ll-section-cream .ll-card:hover {
  border-color: rgba(191,152,85,0.25);
  box-shadow: 0 0 30px rgba(191,152,85,0.08);
}

/* --- Download page login area --- */
#ll-dl-list {
  background: var(--ll-bg-card, #1e1b24);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--ll-radius-lg);
  padding: 32px;
}

/* --- Subtle gradient line between sections --- */
.ll-section + .ll-section-cream::before,
.ll-section-cream + .ll-section::before {
  display: none;
}

/* ── Pricing responsive (tablet) ── */
@media (max-width: 1024px) {
  .ll-pricing { grid-template-columns: 1fr !important; max-width: 420px; margin: 0 auto; }
}

/* ── Hero orbs smaller on mobile ── */
@media (max-width: 768px) {
  .ll-hero::before, .ll-hero::after { filter: blur(45px); width: 200px; height: 200px; }
  #ll-portal form { padding: 24px; }
}

/* ── Doc tables scrollable ── */
.ll-doc-section table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ── Accessibility: min tap targets ── */
.ll-lang-switcher a { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
#ll-manage-sub { display: none; }
.ll-cookie-banner button { min-height: 44px; padding: 10px 20px; }

/* --- Portal Tabs --- */
.ll-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--ll-border) !important;
  margin-bottom: 24px !important;
}
.ll-tab-btn {
  background: none;
  border: none;
  color: var(--ll-text-secondary);
  font-family: var(--ll-font);
  font-size: 0.92em;
  font-weight: 500;
  padding: 10px 20px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 200ms ease, border-color 200ms ease;
}
.ll-tab-btn:hover { color: var(--ll-text); }
.ll-tab-btn.ll-tab-active {
  color: var(--ll-accent);
  border-bottom-color: var(--ll-accent);
  font-weight: 600;
}
.ll-tab-panel { animation: ll-fade-up 0.3s ease; }
.ll-tab-panel h4 { margin-top: 0; }

/* --- Homepage product cards responsive --- */
@media (max-width: 768px) {
  .ll-card > div[style*="grid-template-columns: 1fr 1fr"],
  .ll-card > div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  .ll-card > div > div[style*="align-items:flex-end"] {
    align-items: flex-start !important;
    text-align: left !important;
  }
  div[style*="grid-template-columns:repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   PREMIUM UPGRADE v5.0 — Bento Grid, Gradient Mesh, Glow Effects
   ═══════════════════════════════════════════════════════════════════ */

/* --- Animated gradient mesh background --- */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 20%, rgba(94,77,127,0.12) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(191,152,85,0.08) 0%, transparent 50%),
    radial-gradient(ellipse 50% 60% at 50% 50%, rgba(94,77,127,0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
  animation: ll-mesh-drift 30s ease-in-out infinite;
}
@keyframes ll-mesh-drift {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* --- Bento Grid System --- */
.ll-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.ll-bento-item {
  background: linear-gradient(145deg, rgba(30,27,36,0.7), rgba(22,20,28,0.5));
  border: none;
  border-radius: 24px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.04);
  transition: all 500ms cubic-bezier(0.23, 1, 0.32, 1);
}
.ll-bento-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2), 0 0 60px rgba(94,77,127,0.08), inset 0 1px 0 rgba(255,255,255,0.06);
}
/* Inner glow on hover */
.ll-bento-item::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 400ms ease;
  background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(191,152,85,0.06), transparent 40%);
  pointer-events: none;
}
.ll-bento-item:hover::after { opacity: 1; }

/* Bento spans */
.ll-bento-6 { grid-column: span 6; }
.ll-bento-7 { grid-column: span 7; }
.ll-bento-5 { grid-column: span 5; }
.ll-bento-4 { grid-column: span 4; }
.ll-bento-8 { grid-column: span 8; }
.ll-bento-12 { grid-column: span 12; }
@media (max-width: 768px) {
  .ll-bento { grid-template-columns: 1fr; }
  .ll-bento-6, .ll-bento-7, .ll-bento-5, .ll-bento-4, .ll-bento-8, .ll-bento-12 { grid-column: span 1; }
}

/* --- Animated gradient border (featured items) --- */
.ll-glow-border {
  position: relative;
  border: none !important;
}
.ll-glow-border::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--ll-radius-lg) + 1px);
  background: conic-gradient(from 0deg, var(--ll-accent), var(--ll-primary), var(--ll-accent-light), var(--ll-primary-light), var(--ll-accent));
  background-size: 200% 200%;
  animation: ll-border-rotate 4s linear infinite;
  z-index: -1;
  opacity: 0.5;
  transition: opacity 400ms ease;
}
.ll-glow-border:hover::before { opacity: 0.8; }
@keyframes ll-border-rotate {
  to { background-position: 200% 200%; }
}

/* --- Floating tag (like "NEW", "FLAGSHIP") --- */
.ll-float-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.7em;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--ll-font);
}
.ll-float-tag-gold {
  background: linear-gradient(135deg, rgba(191,152,85,0.2), rgba(212,169,94,0.1));
  color: var(--ll-accent-light);
  border: 1px solid rgba(191,152,85,0.3);
}
.ll-float-tag-purple {
  background: linear-gradient(135deg, rgba(139,122,175,0.2), rgba(94,77,127,0.1));
  color: var(--ll-primary-light);
  border: 1px solid rgba(139,122,175,0.3);
}

/* --- Stat counter (big number + label) --- */
.ll-stat-inline {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.ll-stat-inline .ll-stat-num {
  font-family: var(--ll-font-display);
  font-size: 2.8em;
  font-weight: 500;
  background: linear-gradient(135deg, var(--ll-accent), var(--ll-accent-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.ll-stat-inline .ll-stat-lbl {
  font-size: 0.95em;
  color: var(--ll-text-secondary);
}

/* --- Product showcase (image + glass overlay) --- */
.ll-product-showcase {
  position: relative;
  border-radius: var(--ll-radius-lg);
  overflow: hidden;
}
.ll-product-showcase img {
  width: 100%;
  display: block;
  border-radius: var(--ll-radius-lg);
  transition: transform 500ms cubic-bezier(0.23, 1, 0.32, 1);
}
.ll-product-showcase:hover img {
  transform: scale(1.03);
}
.ll-product-showcase .ll-showcase-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(0deg, rgba(20,18,24,0.95) 0%, transparent 100%);
}

/* --- Glow text (for hero accent enhancement) --- */
.ll-glow-text {
  text-shadow: 0 0 40px rgba(212,169,94,0.3), 0 0 80px rgba(191,152,85,0.15);
}

/* --- Horizontal scroll feature bar --- */
.ll-feature-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 16px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.ll-feature-scroll::-webkit-scrollbar { display: none; }
.ll-feature-chip {
  flex-shrink: 0;
  padding: 10px 20px;
  border-radius: 50px;
  background: rgba(30,27,36,0.8);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--ll-text-secondary);
  font-size: 0.88em;
  font-family: var(--ll-font);
  font-weight: 500;
  white-space: nowrap;
  transition: all 300ms ease;
}
.ll-feature-chip:hover {
  border-color: rgba(191,152,85,0.3);
  color: var(--ll-text);
  background: rgba(191,152,85,0.08);
}

/* --- Logo bar (trusted by) --- */
.ll-logo-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  padding: 32px 24px;
  opacity: 0.4;
  filter: grayscale(1) brightness(2);
  transition: opacity 300ms ease;
}
.ll-logo-bar:hover { opacity: 0.6; }
.ll-logo-bar img { height: 28px; width: auto; }

/* --- Subtle noise on bento items --- */
.ll-bento-item::before {
  content: '';
  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.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.015;
  pointer-events: none;
  border-radius: inherit;
}

/* --- Pricing card upgrade (bento pricing) --- */
.ll-pricing-card .ll-price {
  background: linear-gradient(135deg, var(--ll-text), rgba(232,228,237,0.8));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ll-pricing-card.ll-featured .ll-price {
  background: linear-gradient(135deg, var(--ll-accent), var(--ll-accent-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Card list (compact features inside bento) --- */
.ll-compact-list {
  list-style: none;
  padding: 0;
  margin: 1em 0;
}
.ll-compact-list li {
  padding: 6px 0;
  color: var(--ll-text-secondary);
  font-size: 0.9em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ll-compact-list li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ll-accent);
  flex-shrink: 0;
}

/* --- Scroll-triggered glow (via IntersectionObserver in JS) --- */
.ll-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.ll-reveal.ll-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Hero upgrade: homepage dramatic hero --- */
.ll-hero-home {
  padding: 80px 24px 48px !important;
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(94,77,127,0.15), transparent 70%),
              radial-gradient(ellipse 60% 40% at 80% 20%, rgba(191,152,85,0.08), transparent 60%);
}
.ll-hero-home h1 {
  font-size: clamp(2.4em, 5vw, 3.5em) !important;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.ll-hero-eyebrow {
  font-size: 0.8em;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ll-accent-light);
  opacity: 0.7;
  margin-bottom: 1.2em;
  font-weight: 500;
}
.ll-hero-stats {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  gap: 56px !important;
  margin-top: 2.5em !important;
  position: relative;
  z-index: 1;
  padding-top: 1.5em !important;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.ll-hero-stat {
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  min-width: 80px !important;
}
.ll-stat-num {
  font-size: 1.8em !important;
  font-family: var(--ll-font-display) !important;
  color: var(--ll-accent-light) !important;
  font-weight: 600 !important;
  line-height: 1 !important;
}
.ll-stat-label {
  font-size: 0.75em !important;
  color: var(--ll-text-secondary) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  margin-top: 4px !important;
}
@media (max-width: 768px) {
  .ll-hero-home {
    padding: 80px 20px 48px !important;
    min-height: auto;
  }
  .ll-hero-home h1 { font-size: clamp(2em, 6vw, 3em) !important; }
  .ll-hero-stats { gap: 24px; margin-top: 2em; }
  .ll-hero-stat strong { font-size: 1.2em; }
}

/* ═══════════════════════════════════════════════════════════════
   REDESIGN v2.0 — Premium Software Brand Upgrade
   ═══════════════════════════════════════════════════════════════ */

/* --- D1. Unified Hero System --- */
.ll-hero {
  padding: 100px 24px 80px !important;
}
.ll-hero h1 {
  font-size: clamp(2.4em, 5vw, 3.8em) !important;
  font-weight: 300 !important;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.ll-hero .ll-subtitle {
  font-size: clamp(1em, 1.8vw, 1.2em) !important;
  font-weight: 300;
  opacity: 0.7;
  max-width: 650px;
  margin: 0.8em auto 2em;
}
.ll-hero .ll-hero-badge,
.ll-hero .ll-eyebrow {
  font-size: 0.68em !important;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ll-accent) !important;
}

/* --- D2. App Screenshot Presentation --- */
.ll-screenshot,
.ll-app-screenshot,
.ll-hero-screenshot img,
.entry-content img[src*="screenshot"],
.entry-content img[src*="Screenshot"] {
  border-radius: 16px !important;
  box-shadow: 0 0 60px rgba(139,122,175,0.12), 0 20px 60px rgba(0,0,0,0.3) !important;
  border: 1px solid rgba(255,255,255,0.06) !important;
  max-width: 85% !important;
  margin: 2em auto !important;
  display: block !important;
  transition: transform 0.5s cubic-bezier(0.23,1,0.32,1), box-shadow 0.5s ease !important;
}
.ll-screenshot:hover,
.ll-app-screenshot:hover,
.ll-hero-screenshot img:hover {
  transform: scale(1.02) !important;
  box-shadow: 0 0 100px rgba(139,122,175,0.18), 0 30px 80px rgba(0,0,0,0.35) !important;
}

/* --- D3. Section Spacing + Gold Dividers --- */
.ll-section {
  padding: 80px 24px !important;
}
.ll-section-title {
  margin-bottom: 48px !important;
}
.ll-divider {
  width: 48px !important;
  height: 2px !important;
  background: linear-gradient(90deg, var(--ll-accent), rgba(212,169,94,0.3)) !important;
  border: none !important;
  margin: 0.5em auto !important;
}

/* --- D4. Card System Refinement --- */
.ll-card {
  border: 1px solid rgba(255,255,255,0.06) !important;
  padding: 32px !important;
  background: rgba(30,27,36,0.6) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 16px !important;
  transition: all 0.35s cubic-bezier(0.23,1,0.32,1) !important;
}
.ll-card:hover {
  border-color: rgba(212,169,94,0.2) !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 16px 48px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.05) !important;
}
.ll-card::before {
  background: linear-gradient(90deg, transparent, var(--ll-accent), transparent) !important;
  height: 2px !important;
}

/* --- D5. Button Consistency --- */
.ll-btn {
  border-radius: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 0.04em;
}
.ll-btn-accent {
  padding: 16px 40px !important;
  font-size: 1em !important;
}
.ll-btn-accent:hover {
  box-shadow: 0 0 30px rgba(212,169,94,0.2), 0 8px 28px rgba(212,169,94,0.25) !important;
}
.ll-btn-outline {
  border-width: 1.5px !important;
}
.ll-btn-outline:hover {
  background: var(--ll-accent) !important;
  color: #141218 !important;
  border-color: var(--ll-accent) !important;
}
.ll-btn-lg {
  padding: 18px 48px !important;
  font-size: 1.05em !important;
}

/* --- D6. Typography Polish --- */
h1, h2, h3,
.entry-content :where(h1, h2, h3) {
  font-weight: 300 !important;
  letter-spacing: -0.01em;
}
body {
  font-weight: 300;
  line-height: 1.8;
}
.entry-content, .entry-content p {
  font-weight: 300;
  line-height: 1.8;
}

/* --- D7. Contact Cards — better contrast --- */
.ll-contact-card {
  border: 1px solid rgba(255,255,255,0.1) !important;
  background: rgba(30,27,36,0.8) !important;
}
.ll-contact-card h3 {
  color: var(--ll-accent) !important;
}

/* --- D8. Stats Bar --- */
.ll-stats-bar {
  display: flex;
  justify-content: center;
  gap: 48px;
  padding: 32px 0;
  flex-wrap: wrap;
}
.ll-stat-item {
  text-align: center;
}
.ll-stat-number {
  font-family: var(--ll-font-display);
  font-size: 2.4em;
  font-weight: 300;
  color: var(--ll-accent);
  display: block;
  line-height: 1;
}
.ll-stat-label {
  font-size: 0.82em;
  color: var(--ll-text-secondary);
  margin-top: 4px;
  display: block;
}

/* --- D9. Changelog timeline --- */
.ll-changelog-entry {
  border-left: 2px solid var(--ll-accent);
  padding-left: 24px;
  margin-bottom: 32px;
  position: relative;
}
.ll-changelog-entry::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ll-accent);
}

/* --- D10. Cookie banner dark glass --- */
.ll-cookie-banner {
  background: rgba(30,27,36,0.95) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 16px !important;
  box-shadow: 0 -8px 40px rgba(0,0,0,0.3) !important;
}

/* --- D11. Polish --- */
body { animation: ll-page-in 0.4s ease-out; }
@keyframes ll-page-in { from { opacity: 0; } to { opacity: 1; } }
::selection { background: rgba(212,169,94,0.25); color: var(--ll-text); }
html { scroll-behavior: smooth; }

/* --- D12. Mobile --- */
@media (max-width: 768px) {
  .ll-hero { padding: 60px 16px 48px !important; }
  .ll-section { padding: 48px 16px !important; }
  .ll-screenshot, .ll-app-screenshot, .ll-hero-screenshot img {
    max-width: 95% !important;
  }
  .ll-stats-bar { gap: 24px; }
  .ll-stat-number { font-size: 1.8em; }
  .ll-btn-accent { padding: 14px 32px !important; }
}
@media (max-width: 480px) {
  .ll-hero h1 { font-size: clamp(1.8em, 7vw, 2.4em) !important; }
  .ll-stats-bar { flex-direction: row; gap: 8px; }
}

/* ═══════════════════════════════════════════════════════════════
   Phase 5: Micro-interactions
   ═══════════════════════════════════════════════════════════════ */

/* Scroll reveal animations */
.ll-animate {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.23,1,0.32,1), transform 0.7s cubic-bezier(0.23,1,0.32,1);
}
.ll-animate.ll-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger delay for grid children */
.ll-cards-grid .ll-animate:nth-child(2) { transition-delay: 0.08s; }
.ll-cards-grid .ll-animate:nth-child(3) { transition-delay: 0.16s; }
.ll-cards-grid .ll-animate:nth-child(4) { transition-delay: 0.24s; }
.ll-stats-bar .ll-stat-item:nth-child(2) { transition-delay: 0.1s; }
.ll-stats-bar .ll-stat-item:nth-child(3) { transition-delay: 0.2s; }
.ll-stats-bar .ll-stat-item:nth-child(4) { transition-delay: 0.3s; }

/* Header scroll — stronger blur + shadow when scrolled */
.ast-primary-header.ll-header-scrolled,
header.ll-header-scrolled {
  backdrop-filter: blur(24px) saturate(1.5) !important;
  -webkit-backdrop-filter: blur(24px) saturate(1.5) !important;
  background: rgba(20,18,24,0.92) !important;
  box-shadow: 0 4px 30px rgba(0,0,0,0.4) !important;
  border-bottom-color: rgba(255,255,255,0.08) !important;
}

/* Nav link hover — gold underline slide */
.ll-nav-list > li > a,
.ast-nav-menu > li > a {
  position: relative;
}
.ll-nav-list > li > a::after,
.ast-nav-menu > li > a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--ll-accent), var(--ll-accent-light));
  transition: width 0.3s ease, left 0.3s ease;
}
.ll-nav-list > li > a:hover::after,
.ast-nav-menu > li > a:hover::after {
  width: 100%;
  left: 0;
}

/* Button hover glow (reinforced) */
.ll-btn-accent {
  position: relative;
  overflow: hidden;
}
.ll-btn-accent::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.2), transparent 70%);
  transform: translate(-50%,-50%);
  transition: width 0.5s ease, height 0.5s ease;
  pointer-events: none;
}
.ll-btn-accent:hover::before {
  width: 300px;
  height: 300px;
}

/* Product card inner shine on hover */
.ll-card {
  position: relative;
  overflow: hidden;
}
.ll-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(105deg, transparent 40%, rgba(212,169,94,0.06) 50%, transparent 60%);
  transition: left 0.8s cubic-bezier(0.23,1,0.32,1);
  pointer-events: none;
}
.ll-card:hover::after { left: 120%; }

/* Screenshot parallax-like hover */
.ll-screenshot,
.ll-app-screenshot,
.ll-hero-screenshot img {
  will-change: transform;
}

/* ═══════════════════════════════════════════════════════════════
   Phase 6: Mobile Responsive — detailed
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .ll-cards-grid[style*="repeat(2,1fr)"],
  .ll-cards-grid[style*="repeat(3,1fr)"],
  .ll-cards-grid[style*="repeat(4,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .ll-hero-actions {
    gap: 12px;
  }
}

@media (max-width: 768px) {
  /* Nav hide Astra menu on mobile (custom theme uses .ll-nav toggle) */
  .ast-header-break-point .ast-nav-menu {
    display: none;
  }
  /* Hero stats — 2x2 grid on tablet */
  .ll-hero-stats,
  .ll-stats-bar {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
    max-width: 420px;
    margin: 2em auto 0;
  }
  /* Cards grid — single column */
  .ll-cards-grid,
  .ll-cards-grid-2 {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .ll-card {
    padding: 20px 18px !important;
    border-radius: 14px !important;
  }
  /* Card borders more visible on dark bg */
  .ll-card,
  .ll-pricing-card,
  .ll-contact-card,
  details.ll-faq-item {
    border-color: rgba(255,255,255,0.12) !important;
  }
  /* Hero CTAs stack */
  .ll-hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .ll-hero-actions .ll-btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
  /* Screenshot full width */
  .ll-screenshot,
  .ll-app-screenshot,
  .ll-hero-screenshot img,
  .entry-content img[src*="screenshot"] {
    max-width: 100% !important;
    margin: 1rem auto 1.5rem !important;
    border-radius: 12px !important;
  }
  /* CTA banner compact */
  .ll-cta-banner {
    padding: 36px 20px !important;
    margin: 24px 12px !important;
    border-radius: 16px !important;
  }
  /* Contact grid single col */
  .ll-contact-grid {
    grid-template-columns: 1fr !important;
  }
  /* Pricing cards stack */
  .ll-pricing-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
  .ll-pricing-card {
    padding: 28px 20px !important;
  }
  /* Site switcher: stays fixed on mobile too */
  .ll-site-switcher {
    font-size: 0.7em !important;
  }
  .ll-site-switcher a {
    padding: 4px 5px !important;
  }
  .ll-site-switcher .ll-switcher-dot {
    display: none !important;
  }
  .ll-lang-toggle {
    padding: 0 6px !important;
    gap: 0 !important;
  }
  .ll-lang-toggle a {
    padding: 3px 4px !important;
    font-size: 0.9em !important;
  }
  .ll-lang-sep {
    margin: 0 !important;
  }
  /* Header top: 0 — switcher is inside header now, JS handles padding */
  /* Nav menu: directly below header, no gap */
  .ll-nav {
    padding-top: 8px !important;
    margin-top: 0 !important;
    border-top: none !important;
  }
  /* Main padding set by JS */
  /* Tables → block layout on mobile */
  .ll-info-box table,
  .ll-info-box tbody,
  .ll-info-box tr,
  .ll-info-box td,
  .ll-info-box th {
    display: block !important;
    width: 100% !important;
  }
  .ll-info-box tr {
    padding: 10px 0 !important;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .ll-info-box td {
    padding: 2px 0 !important;
  }
  .ll-info-box td:first-child {
    font-weight: 600;
    color: var(--ll-text-secondary);
    font-size: 0.82em;
    margin-bottom: 2px;
  }
  /* Download table scroll */
  #ll-dl-list {
    overflow-x: auto;
    padding: 16px;
  }
  .ll-download-link {
    min-height: 44px;
    padding: 10px 16px !important;
  }
  /* Section spacing tighter */
  .ll-section {
    padding: 36px 16px !important;
  }
  .ll-section-title {
    margin-bottom: 24px !important;
  }
  /* Typography — body text readable */
  .ll-hero .ll-subtitle,
  .ll-card p,
  details.ll-faq-item .ll-faq-answer,
  .ll-pricing-card li {
    font-size: 0.95rem !important;
    line-height: 1.65 !important;
  }
  /* FAQ better hierarchy */
  details.ll-faq-item summary {
    min-height: 44px;
    font-size: 1rem;
    line-height: 1.45;
    padding: 14px 16px !important;
  }
  details.ll-faq-item {
    padding: 0 !important;
    border-radius: 14px !important;
  }
  details.ll-faq-item .ll-faq-answer {
    padding: 0 16px 16px !important;
  }
  /* Touch targets — min 44px */
  .ll-btn,
  .ll-hero-actions .ll-btn,
  .ll-download-link {
    min-height: 44px;
  }
}

@media (max-width: 480px) {
  .ll-hero {
    padding: 48px 16px 32px !important;
  }
  .ll-hero h1 {
    font-size: 1.6em !important;
    line-height: 1.2 !important;
  }
  .ll-hero-stats,
  .ll-stats-bar {
    grid-template-columns: 1fr 1fr !important;
    max-width: 320px;
    gap: 14px !important;
  }
  .ll-hero-stats .ll-stat,
  .ll-stats-bar > div {
    text-align: center;
  }
  .ll-hero-stats .ll-stat strong,
  .ll-stats-bar > div strong {
    font-size: 1.4em !important;
    display: block;
  }
  .ll-hero-stats .ll-stat span,
  .ll-stats-bar > div span {
    font-size: 0.78em !important;
    color: var(--ll-text-secondary);
  }
  .ll-section {
    padding: 32px 16px !important;
  }
  .ll-btn-lg {
    padding: 14px 28px !important;
    font-size: 0.95em !important;
  }
  /* Product card inner padding fix */
  .ll-card > div[style*="padding:36px"],
  .ll-card > div[style*="padding: 36px"] {
    padding: 20px 18px 24px !important;
  }
  .ll-card h2 {
    font-size: 1.25em !important;
  }
  .ll-card h3 {
    font-size: 1.1em !important;
  }
  .ll-card p {
    font-size: 0.9em !important;
    line-height: 1.6 !important;
  }
  /* Price + buttons stack on small screens */
  .ll-card > div > div[style*="justify-content:space-between"] {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }
  /* CTA buttons full width in product cards */
  .ll-card > div > div[style*="display:flex;gap:10px"],
  .ll-card > div > div[style*="display:flex; gap:10px"] {
    flex-direction: column !important;
    width: 100% !important;
    gap: 8px !important;
  }
  .ll-card > div > div[style*="display:flex;gap:10px"] .ll-btn,
  .ll-card > div > div[style*="display:flex; gap:10px"] .ll-btn {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
  }
  /* Feature chips readable */
  .ll-feature-chip {
    font-size: 0.78em !important;
    padding: 5px 11px !important;
  }
  /* Bento items compact */
  .ll-bento-item {
    padding: 22px 18px !important;
  }
  .ll-bento-item h3 {
    font-size: 1.05em !important;
    margin-bottom: 8px !important;
  }
  .ll-bento-item p {
    font-size: 0.85em !important;
    line-height: 1.55 !important;
  }
  /* Pricing cards compact */
  .ll-pricing-card {
    padding: 24px 18px !important;
  }
  .ll-price {
    font-size: 2.2rem !important;
  }
  .ll-badge {
    font-size: 0.7rem !important;
    padding: 4px 10px !important;
  }
  .ll-pricing-card li {
    font-size: 0.88em !important;
    padding: 6px 0 !important;
  }
  /* Meta text scale */
  .ll-hero .ll-hero-badge,
  .ll-eyebrow,
  .ll-caption {
    font-size: 0.78rem !important;
  }
  /* Footer readable */
  footer.site-footer,
  footer.site-footer a,
  footer.site-footer li,
  footer.site-footer p {
    font-size: 0.82rem !important;
    line-height: 1.8 !important;
  }
  /* CTA banner tighter */
  .ll-cta-banner {
    padding: 32px 18px !important;
  }
  .ll-cta-banner h2 {
    font-size: 1.3em !important;
  }
  .ll-cta-banner p {
    font-size: 0.9em !important;
  }
}

/* Small phone hero text clipping */
@media (max-width: 430px) {
  .ll-hero h1 {
    font-size: clamp(1.5rem, 8.5vw, 2.2rem) !important;
    line-height: 1.15 !important;
    text-wrap: balance;
  }
  .ll-hero h1 br { display: none; }
  .ll-hero .ll-subtitle {
    max-width: 32ch;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 375px) {
  .ll-header { padding: 0 12px !important; }
  .ll-header-auth { gap: 2px !important; }
}

/* iOS zoom prevention on inputs */
@media (max-width: 768px) {
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="number"],
  input[type="tel"],
  select,
  textarea {
    font-size: 16px !important;
  }
}

/* Safe area for notch phones */
@supports (padding: env(safe-area-inset-bottom)) {
  .ll-cookie-banner {
    padding-bottom: calc(16px + env(safe-area-inset-bottom)) !important;
  }
  footer.site-footer {
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }
}

/* Reduced motion respect */
@media (prefers-reduced-motion: reduce) {
  .ll-animate,
  .ll-card,
  .ll-btn,
  .ll-screenshot {
    transition: none !important;
    animation: none !important;
  }
  .ll-animate {
    opacity: 1;
    transform: none;
  }
}

/* Stats bar: always 4 in a row on mobile (overrides all above) */
@media (max-width: 480px) {
  .ll-stats-bar {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    gap: 6px !important;
    grid-template-columns: none !important;
    max-width: 100% !important;
    padding: 0 8px !important;
  }
  .ll-stats-bar .ll-stat-item {
    text-align: center;
    min-width: 0;
    flex: 1;
  }
  .ll-stats-bar .ll-stat-number {
    font-size: 1em !important;
  }
  .ll-stats-bar .ll-stat-label {
    font-size: 0.55em !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* ═══════════════════════════════════════════════════════════════
   Shared utility classes (replacing inline styles in HTML)
   ═══════════════════════════════════════════════════════════════ */
.ll-card-body { padding: 36px 36px 40px; }
.ll-feature-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.ll-card-price-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.ll-card-cta-row { display: flex; gap: 10px; }
.ll-text-center { text-align: center; }

/* Product cards (Products page) */
.ll-product-card { padding: 0 !important; overflow: hidden; margin-bottom: 32px; }
.ll-product-card-img { border-bottom: 1px solid rgba(255,255,255,0.06); }
.ll-product-card-img img { width: 100%; display: block; }
.ll-product-card-badge { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.ll-product-card h2 { margin: 0 0 8px; }
.ll-product-card-desc { color: var(--ll-text-secondary); font-size: 1.05em; line-height: 1.7; margin: 0 0 20px; max-width: 600px; }
.ll-product-price { display: flex; align-items: baseline; gap: 8px; }
.ll-price-amount { font-size: 1.8em; font-weight: 700; color: var(--ll-accent); font-family: var(--ll-font-display); }
.ll-price-period { color: var(--ll-text-tertiary); font-size: 0.9em; }

/* Screenshot default padding (was inline) */
.ll-screenshot { padding: 2em 24px; }

/* FAQ jump bar */
.ll-faq-jump {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 16px 24px;
  max-width: 700px;
  margin: 0 auto;
}
.ll-faq-jump .ll-btn { font-size: 0.85em; }
@media (max-width: 768px) {
  .ll-faq-jump {
    position: sticky;
    top: 0;
    z-index: 20;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 10px 16px;
    background: rgba(20,18,24,0.95);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    backdrop-filter: blur(12px);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .ll-faq-jump::-webkit-scrollbar { display: none; }
  .ll-faq-jump .ll-btn { white-space: nowrap; flex-shrink: 0; }
}

/* Pricing card structure */
.ll-pricing-card { border: 1px solid var(--ll-border); }
.ll-pricing-card h3 { color: var(--ll-accent); }
.ll-pricing-card .ll-price { font-size: 2.2em; font-weight: 700; margin: 12px 0; }
.ll-pricing-card .ll-price-sub { opacity: 0.6; margin-bottom: 16px; }
.ll-pricing-card ul { list-style: none; padding: 0; text-align: left; margin: 0 0 20px 0; }
.ll-pricing-card li { padding: 6px 0; border-bottom: 1px solid var(--ll-border); }
.ll-pricing-card li:last-child { border-bottom: none; }
.ll-pricing-featured { border: 2px solid var(--ll-accent); position: relative; }
.ll-pricing-featured .ll-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--ll-accent); color: #000; padding: 2px 16px; border-radius: 12px; font-size: 11px; font-weight: 700; }
.ll-info-table td:first-child { padding: 10px 0; color: var(--ll-text-secondary); width: 160px; font-weight: 500; }
.ll-info-table td:last-child { padding: 10px 0; }
@media (max-width: 768px) {
  .ll-card-body { padding: 24px 20px 28px !important; }
  .ll-card-price-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .ll-card-cta-row { flex-direction: column; width: 100%; gap: 8px; }
  .ll-card-cta-row .ll-btn { width: 100%; text-align: center; justify-content: center; }
  .ll-info-table td:first-child { width: auto !important; display: block; padding: 2px 0 !important; font-size: 0.82em; }
  .ll-info-table td:last-child { display: block; padding: 2px 0 8px !important; }
  .ll-info-table tr { display: block; padding: 8px 0; border-top: 1px solid rgba(255,255,255,0.08); }
}

/* ═══════════════════════════════════════════════════════════════
   Phase 7: Mobile polish — pass 2 (touch, density, page-specific)
   ═══════════════════════════════════════════════════════════════ */

/* Kill hover effects on touch devices */
@media (hover: none) and (pointer: coarse) {
  .ll-card:hover,
  .ll-pricing-card:hover,
  .ll-bento-item:hover,
  .ll-btn-accent:hover,
  .ll-btn-outline:hover,
  .ll-screenshot:hover,
  .ll-app-screenshot:hover,
  details.ll-faq-item:hover {
    transform: none !important;
    filter: none !important;
  }
  .ll-btn-accent::before,
  .ll-card::after,
  .ll-bento-item::after { display: none !important; }
}

@media (max-width: 480px) {
  /* --- Products: Coming Soon cards full-width --- */
  .ll-cards-grid.ll-cards-grid-2,
  .ll-cards-grid[style*="grid-template-columns:repeat(2,1fr)"],
  .ll-cards-grid[style*="grid-template-columns: repeat(2, 1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  /* --- Product card body padding (inline override) --- */
  .ll-card[style*="padding:0"] > div[style*="padding:36px"],
  .ll-card[style*="padding:0"] > div[style*="padding: 36px"] {
    padding: 20px 16px 22px !important;
  }

  /* --- Hero inline CTA wrappers (not .ll-hero-actions) --- */
  .ll-hero > div[style*="display:flex"][style*="justify-content:center"],
  .ll-section > div[style*="text-align:center"][style*="margin-top"] {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
  }
  .ll-hero > div[style*="display:flex"][style*="justify-content:center"] > .ll-btn,
  .ll-section > div[style*="text-align:center"][style*="margin-top"] > .ll-btn {
    width: 100% !important;
    max-width: 320px !important;
  }

  /* --- Pricing cards tighter --- */
  .ll-pricing-card { padding: 20px 16px !important; }
  .ll-price { font-size: 2rem !important; }
  .ll-pricing-card ul { margin: 14px 0 16px !important; }
  .ll-pricing-card li { padding: 5px 0 !important; font-size: 0.84rem !important; }
  #pricing .ll-cards-grid > .ll-card { padding: 22px 18px !important; }

  /* --- Contact/form compact --- */
  .ll-card[style*="padding:32px"] { padding: 20px 16px !important; }
  .ll-contact-card { padding: 22px 18px !important; }

  /* --- Screenshots less vertical space --- */
  .ll-screenshot { padding: 0 12px !important; }
  .ll-screenshot img { border-radius: 10px !important; }

  /* --- Image wrappers (inline padding/shadow) --- */
  div[style*="max-width:960px"][style*="padding:0 24px"] {
    padding: 0 12px !important;
  }
  div[style*="border-radius:16px"][style*="box-shadow:0 16px"] {
    border-radius: 12px !important;
    box-shadow: 0 10px 36px rgba(0,0,0,.32) !important;
  }

  /* --- FAQ section tighter spacing --- */
  .ll-section:has(details.ll-faq-item) {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
  }
  .ll-section:has(details.ll-faq-item) .ll-section-title {
    margin-bottom: 16px !important;
  }

  /* --- Download area --- */
  #ll-dl-list { padding: 20px 16px !important; border-radius: 14px !important; }
  .ll-download-link { width: 100% !important; justify-content: center !important; }

  /* --- About page: wall of text fix --- */
  .ll-section:first-of-type .ll-section-narrow p {
    font-size: 0.96rem !important;
    line-height: 1.75 !important;
  }
  .ll-section:first-of-type .ll-section-narrow p + p {
    margin-top: 14px !important;
  }
}




/* Footer: single column on small mobile */
@media (max-width: 480px) {
  .ll-footer-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .ll-footer-col h4 {
    margin-bottom: 8px !important;
  }
  .ll-footer-inner {
    padding: 40px 16px 24px !important;
  }
}

/* Portal dashboard tabs: wrap on mobile */
@media (max-width: 480px) {
  .ll-tabs {
    flex-wrap: wrap !important;
    gap: 2px !important;
  }
  .ll-tab-btn {
    font-size: 0.8em !important;
    padding: 8px 10px !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    white-space: nowrap !important;
  }
}

/* Desktop dropdown: hidden until hover (fix cascade issue) */
@media (min-width: 769px) {
  .ll-nav-list > li > .sub-menu,
  .menu-item-has-children > .sub-menu {
    position: absolute !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
  .ll-nav-list > li:hover > .sub-menu,
  .menu-item-has-children:hover > .sub-menu {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateX(-50%) translateY(0) !important;
  }
}
