/*
Theme Name: Lovix Theme
Theme URI: https://lovix.ai
Author: Lovix
Author URI: https://lovix.ai
Description: Современная тема для информационного сайта о сервисе AI-компаньонов Lovix
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lovix-theme
*/

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

a:hover { color: var(--accent-purple); }

ul, ol { list-style: none; }

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

button { cursor: pointer; border: none; background: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
}

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

/* ============================================
   2. CSS VARIABLES
   ============================================ */
:root {
  /* Colors */
  --bg-primary:       #08080F;
  --bg-secondary:     #0D0D1C;
  --bg-card:          #111128;
  --bg-card-hover:    #17173A;
  --bg-input:         #0F0F25;

  --accent-pink:      #E8336D;
  --accent-purple:    #7B4FD4;
  --accent-pink-soft: rgba(232, 51, 109, 0.15);
  --accent-grad:      linear-gradient(135deg, #E8336D 0%, #7B4FD4 100%);
  --accent-grad-rev:  linear-gradient(135deg, #7B4FD4 0%, #E8336D 100%);
  --accent-glow:      0 0 40px rgba(232, 51, 109, 0.25);
  --accent-glow-sm:   0 0 20px rgba(232, 51, 109, 0.18);

  --text-primary:     #F2F2FA;
  --text-secondary:   #9898BE;
  --text-muted:       #5A5A7A;
  --text-on-accent:   #FFFFFF;

  --border-color:     rgba(255, 255, 255, 0.07);
  --border-accent:    rgba(232, 51, 109, 0.35);

  /* Fonts */
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --section-pad:  90px 0;
  --container-w:  1200px;
  --container-px: 24px;

  /* Radius */
  --radius-sm:    8px;
  --radius-md:    14px;
  --radius-lg:    22px;
  --radius-xl:    32px;
  --radius-pill:  999px;

  /* Shadows */
  --shadow-card:  0 4px 24px rgba(0, 0, 0, 0.45);
  --shadow-hover: 0 8px 40px rgba(0, 0, 0, 0.6);

  /* Transitions */
  --transition:   all 0.25s ease;
  --transition-s: all 0.18s ease;
}

/* ============================================
   3. TYPOGRAPHY
   ============================================ */
.lx-h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
.lx-h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); font-weight: 700; }
.lx-h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 600; }
.lx-lead { font-size: clamp(1rem, 2vw, 1.2rem); color: var(--text-secondary); line-height: 1.8; }
.lx-small { font-size: 0.85rem; color: var(--text-muted); }

.lx-gradient-text {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lx-section-title {
  text-align: center;
  margin-bottom: 16px;
}
.lx-section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 56px;
  font-size: 1.05rem;
  line-height: 1.75;
}

/* ============================================
   4. LAYOUT
   ============================================ */
.lx-container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.lx-section { padding: var(--section-pad); }
.lx-section--sm { padding: 60px 0; }
.lx-section--lg { padding: 120px 0; }

.lx-section--alt { background-color: var(--bg-secondary); }
.lx-section--card-bg { background-color: var(--bg-card); }

.lx-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.lx-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.lx-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.lx-grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }

.lx-flex { display: flex; }
.lx-flex-center { display: flex; align-items: center; justify-content: center; }
.lx-flex-between { display: flex; align-items: center; justify-content: space-between; }
.lx-flex-col { display: flex; flex-direction: column; }
.lx-gap-8 { gap: 8px; }
.lx-gap-16 { gap: 16px; }
.lx-gap-24 { gap: 24px; }

.lx-text-center { text-align: center; }
.lx-mt-8 { margin-top: 8px; }
.lx-mt-16 { margin-top: 16px; }
.lx-mt-24 { margin-top: 24px; }
.lx-mt-32 { margin-top: 32px; }
.lx-mt-48 { margin-top: 48px; }
.lx-mb-16 { margin-bottom: 16px; }
.lx-mb-24 { margin-bottom: 24px; }
.lx-mb-32 { margin-bottom: 32px; }

/* ============================================
   5. BUTTONS
   ============================================ */
.lx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.lx-btn--primary {
  background: var(--accent-grad);
  color: var(--text-on-accent);
  box-shadow: var(--accent-glow-sm);
}
.lx-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--accent-glow);
  color: var(--text-on-accent);
}

.lx-btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-color);
}
.lx-btn--outline:hover {
  border-color: var(--accent-pink);
  color: var(--accent-pink);
  background: var(--accent-pink-soft);
}

.lx-btn--ghost {
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}
.lx-btn--ghost:hover {
  background: rgba(255,255,255,0.1);
  color: var(--text-primary);
}

.lx-btn--sm { padding: 10px 22px; font-size: 0.875rem; }
.lx-btn--lg { padding: 17px 40px; font-size: 1.05rem; }

.lx-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* ============================================
   6. CARDS
   ============================================ */
.lx-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.lx-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}

.lx-card--glow::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 2px;
  background: var(--accent-grad);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  opacity: 0;
  transition: var(--transition);
}
.lx-card--glow:hover::before { opacity: 1; }

.lx-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--accent-pink-soft);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.lx-card__icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent-pink);
  stroke: currentColor;
}

.lx-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.lx-card__text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* ============================================
   7. HEADER & NAVIGATION
   ============================================ */
.lx-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(8, 8, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.lx-header.scrolled {
  background: rgba(8, 8, 15, 0.97);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.lx-header__inner {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lx-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.lx-logo__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--accent-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}

.lx-logo__text {
  font-size: 1.3rem;
  font-weight: 800;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.lx-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.lx-nav__link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-s);
}
.lx-nav__link:hover,
.lx-nav__link.active {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}

.lx-nav__cta {
  margin-left: 12px;
}

.lx-header__right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lx-header__cta-mobile {
  display: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.lx-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.lx-burger__line {
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}
.lx-burger.open .lx-burger__line:nth-child(1) { transform: rotate(45deg) translateY(7px); }
.lx-burger.open .lx-burger__line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.lx-burger.open .lx-burger__line:nth-child(3) { transform: rotate(-45deg) translateY(-7px); }

.lx-mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 16px 24px 24px;
}
.lx-mobile-nav.open { display: flex; }
.lx-mobile-nav .lx-nav__link {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  border-radius: 0;
}
.lx-mobile-nav .lx-nav__cta { margin: 16px 0 0; width: 100%; }
.lx-mobile-nav .lx-btn { width: 100%; }

/* ============================================
   8. HERO SECTION
   ============================================ */
.lx-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.lx-hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(ellipse, rgba(232,51,109,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.lx-hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(123,79,212,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.lx-hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.lx-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-pink-soft);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-pink);
  margin-bottom: 28px;
  letter-spacing: 0.03em;
}

.lx-hero__title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.025em;
}

.lx-hero__subtitle {
  font-size: clamp(1rem, 2.2vw, 1.22rem);
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.lx-hero__actions {
  justify-content: center;
  margin-bottom: 60px;
}

.lx-hero__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.lx-hero__stat {
  text-align: center;
}
.lx-hero__stat-num {
  font-size: 2rem;
  font-weight: 800;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}
.lx-hero__stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.lx-hero__divider {
  width: 1px;
  height: 40px;
  background: var(--border-color);
}

/* ============================================
   9. FEATURES SECTION
   ============================================ */
.lx-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ============================================
   10. HOW IT WORKS
   ============================================ */
.lx-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}

.lx-step {
  text-align: center;
  padding: 40px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  position: relative;
}

.lx-step__num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-grad);
  color: white;
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: var(--accent-glow-sm);
}

.lx-step__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.lx-step__text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}

/* ============================================
   11. COMPANIONS / CATALOG SECTION
   ============================================ */
.lx-companion-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.lx-companion-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.lx-companion-card__img {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, #1A1A3E 0%, #0D0D28 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}
.lx-companion-card__img-placeholder {
  opacity: 0.3;
  font-size: 4rem;
}

.lx-companion-card__body { padding: 18px; }
.lx-companion-card__name { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.lx-companion-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.lx-companion-card__tag {
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--accent-pink-soft);
  color: var(--accent-pink);
  border: 1px solid var(--border-accent);
}

/* ============================================
   12. PRICING SECTION
   ============================================ */
.lx-pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.lx-pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  transition: var(--transition);
}
.lx-pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.lx-pricing-card--featured {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
  box-shadow: var(--accent-glow-sm);
}

.lx-pricing-card__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-grad);
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.lx-pricing-card__plan {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-pink);
  margin-bottom: 12px;
}

.lx-pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}
.lx-pricing-card__currency { font-size: 1.3rem; font-weight: 700; }
.lx-pricing-card__amount { font-size: 3rem; font-weight: 800; line-height: 1; }
.lx-pricing-card__period { font-size: 0.9rem; color: var(--text-muted); }

.lx-pricing-card__old-price {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-bottom: 20px;
}

.lx-pricing-card__divider {
  height: 1px;
  background: var(--border-color);
  margin: 20px 0;
}

.lx-pricing-card__features { margin-bottom: 28px; }
.lx-pricing-card__feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}
.lx-pricing-card__feature-icon {
  color: var(--accent-pink);
  flex-shrink: 0;
  margin-top: 2px;
  font-style: normal;
}

.lx-pricing-card .lx-btn { width: 100%; justify-content: center; }

/* ============================================
   13. TESTIMONIALS
   ============================================ */
.lx-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.lx-testimonial {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.lx-testimonial__stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
  color: #F5A623;
  font-size: 0.9rem;
}

.lx-testimonial__text {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 20px;
  font-style: italic;
}

.lx-testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lx-testimonial__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: white;
  flex-shrink: 0;
}

.lx-testimonial__name { font-size: 0.9rem; font-weight: 600; }
.lx-testimonial__date { font-size: 0.78rem; color: var(--text-muted); }

/* ============================================
   14. FAQ ACCORDION
   ============================================ */
.lx-faq { max-width: 780px; margin: 0 auto; }

.lx-faq__item {
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.lx-faq__question {
  width: 100%;
  text-align: left;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  background: none;
  border: none;
  cursor: pointer;
  transition: var(--transition-s);
}
.lx-faq__question:hover { color: var(--accent-pink); }

.lx-faq__icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
  transition: var(--transition);
  color: var(--accent-pink);
}

.lx-faq__item.open .lx-faq__icon {
  background: var(--accent-pink-soft);
  border-color: var(--border-accent);
  transform: rotate(45deg);
}

.lx-faq__answer {
  display: none;
  padding-bottom: 22px;
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.8;
}
.lx-faq__item.open .lx-faq__answer { display: block; }

/* ============================================
   15. CTA SECTION
   ============================================ */
.lx-cta-section {
  background: var(--bg-secondary);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.lx-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(232,51,109,0.08) 0%, transparent 70%);
}

.lx-cta-section__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   16. CONTENT / INNER PAGE
   ============================================ */
.lx-page-hero {
  padding: 110px 0 70px;
  text-align: center;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}
.lx-page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent-grad);
}

.lx-page-hero .lx-lead { margin-left: auto; margin-right: auto; }

.lx-page-hero__breadcrumb {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.lx-page-hero__breadcrumb a { color: var(--text-muted); }
.lx-page-hero__breadcrumb a:hover { color: var(--accent-pink); }

.lx-content-section { padding: 70px 0; }

.lx-content-section h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.lx-content-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 28px 0 14px;
}
.lx-content-section p {
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 16px;
}
.lx-content-section ul {
  list-style: none;
  margin-bottom: 20px;
}
.lx-content-section ul li {
  padding-left: 24px;
  position: relative;
  color: var(--text-secondary);
  margin-bottom: 10px;
  font-size: 0.95rem;
  line-height: 1.7;
}
.lx-content-section ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-pink);
}

/* ============================================
   17. PROS & CONS
   ============================================ */
.lx-pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.lx-pros, .lx-cons {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.lx-pros { border-top: 3px solid #22C55E; }
.lx-cons { border-top: 3px solid #EF4444; }

.lx-pros__title, .lx-cons__title {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.lx-pros__title { color: #22C55E; }
.lx-cons__title { color: #EF4444; }

.lx-pros__item, .lx-cons__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.lx-pros__item::before { content: '✓'; color: #22C55E; flex-shrink: 0; font-weight: 700; }
.lx-cons__item::before { content: '✕'; color: #EF4444; flex-shrink: 0; font-weight: 700; }

/* ============================================
   18. BADGES & TAGS
   ============================================ */
.lx-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.lx-badge--pink { background: var(--accent-pink-soft); color: var(--accent-pink); border: 1px solid var(--border-accent); }
.lx-badge--purple { background: rgba(123,79,212,0.15); color: #A575F0; border: 1px solid rgba(123,79,212,0.3); }
.lx-badge--green { background: rgba(34,197,94,0.12); color: #22C55E; border: 1px solid rgba(34,197,94,0.25); }

/* ============================================
   19. INFO BOX
   ============================================ */
.lx-infobox {
  background: var(--accent-pink-soft);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 28px 0;
}
.lx-infobox p { color: var(--text-primary); margin: 0; font-size: 0.93rem; }

/* ============================================
   20. TABLE
   ============================================ */
.lx-table-wrap { overflow-x: auto; border-radius: var(--radius-md); }

.lx-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
}
.lx-table th {
  background: var(--bg-card);
  padding: 14px 18px;
  text-align: left;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
}
.lx-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
  vertical-align: middle;
}
.lx-table tr:last-child td { border-bottom: none; }
.lx-table tr:hover td { background: rgba(255,255,255,0.025); }

.lx-check { color: #22C55E; font-weight: 700; }
.lx-cross { color: #EF4444; font-weight: 700; }

/* ============================================
   21. FOOTER
   ============================================ */
.lx-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 64px 0 32px;
}

.lx-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.lx-footer__brand p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 14px 0 20px;
  max-width: 280px;
  line-height: 1.7;
}

.lx-footer__col-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.lx-footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lx-footer__links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-s);
}
.lx-footer__links a:hover { color: var(--text-primary); }

.lx-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--border-color);
}

.lx-footer__copy {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}

.lx-footer__legal {
  display: flex;
  gap: 20px;
}
.lx-footer__legal a {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.lx-footer__legal a:hover { color: var(--text-primary); }

/* ============================================
   22. 404 PAGE
   ============================================ */
.lx-404 {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 0;
}

.lx-404__num {
  font-size: 8rem;
  font-weight: 800;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}

/* ============================================
   23. BREADCRUMBS
   ============================================ */
.lx-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 16px 0;
}
.lx-breadcrumb a { color: var(--text-muted); }
.lx-breadcrumb a:hover { color: var(--accent-pink); }
.lx-breadcrumb__sep { color: var(--text-muted); opacity: 0.4; }

/* ============================================
   24. SCHEMA / RICH TEXT
   ============================================ */
.lx-review-score {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 20px;
}
.lx-review-score__num {
  font-size: 2.4rem;
  font-weight: 800;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.lx-review-score__label { font-size: 0.82rem; color: var(--text-muted); }

/* ============================================
   25. UTILITY / HELPERS
   ============================================ */
.lx-divider {
  height: 1px;
  background: var(--border-color);
  margin: 48px 0;
}

.lx-highlight {
  background: var(--accent-pink-soft);
  border-left: 3px solid var(--accent-pink);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 24px 0;
}
.lx-highlight p { color: var(--text-primary); margin: 0; font-size: 0.93rem; }

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

/* ============================================
   26. MEDIA QUERIES
   ============================================ */
@media (max-width: 1024px) {
  .lx-features__grid { grid-template-columns: repeat(2, 1fr); }
  .lx-pricing { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .lx-testimonials__grid { grid-template-columns: repeat(2, 1fr); }
  .lx-footer__grid { grid-template-columns: 1fr 1fr; }
  .lx-steps { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .lx-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .lx-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 64px 0;
    --container-px: 20px;
  }

  .lx-nav { display: none; }
  .lx-burger { display: flex; }
  .lx-header__cta-mobile { display: inline-flex; }

  .lx-hero { padding: 100px 0 60px; }
  .lx-hero__actions { flex-direction: column; align-items: stretch; }
  .lx-hero__actions .lx-btn { text-align: center; }
  .lx-hero__divider { display: none; }
  .lx-hero__stats { gap: 24px; }

  .lx-features__grid { grid-template-columns: 1fr; }
  .lx-grid-2 { grid-template-columns: 1fr; }
  .lx-grid-3 { grid-template-columns: 1fr; }
  .lx-grid-4 { grid-template-columns: 1fr; }

  .lx-testimonials__grid { grid-template-columns: 1fr; }
  .lx-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .lx-footer__bottom { flex-direction: column; text-align: center; }
  .lx-pros-cons { grid-template-columns: 1fr; }

  .lx-pricing { max-width: 100%; }

  .lx-hero__stat-num { font-size: 1.6rem; }
}

@media (max-width: 480px) {
  .lx-btn--lg { padding: 14px 28px; font-size: 0.97rem; }
  .lx-hero__title { font-size: 2rem; }
  .lx-404__num { font-size: 5rem; }
}

/* ============================================
   27. AGE GATE
   ============================================ */
.lx-age-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 5, 25, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lx-age-gate.active { display: flex; }

.lx-age-gate__card {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: 20px;
  padding: 48px 40px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 32px 80px rgba(232, 51, 109, 0.14), 0 0 0 1px rgba(232, 51, 109, 0.07);
  animation: lxGatePop 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes lxGatePop {
  from { opacity: 0; transform: translateY(18px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0)    scale(1);    }
}

.lx-age-gate__badge {
  display: inline-block;
  background: var(--accent-pink-soft);
  color: var(--accent-pink);
  border: 1px solid var(--border-accent);
  border-radius: 6px;
  padding: 5px 14px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.lx-age-gate__title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  margin: 0 0 14px;
}
.lx-age-gate__text {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.65;
  margin: 0 0 32px;
}

.lx-age-gate__actions { display: flex; flex-direction: column; gap: 10px; }

.lx-age-gate__btn-confirm { width: 100%; justify-content: center; }

.lx-age-gate__btn-decline {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.83rem;
  font-family: inherit;
  cursor: pointer;
  padding: 8px;
  transition: color 0.2s;
}
.lx-age-gate__btn-decline:hover { color: var(--text-secondary); }

.lx-age-gate__note {
  margin-top: 20px;
  font-size: 0.72rem;
  color: var(--text-muted);
  opacity: 0.6;
}

@media (max-width: 480px) {
  .lx-age-gate__card { padding: 36px 24px; }
  .lx-age-gate__title { font-size: 1.3rem; }
}

/* ============================================
   27. PRINT
   ============================================ */
@media print {
  .lx-header, .lx-footer, .lx-btn, .lx-cta-section { display: none; }
  body { background: white; color: black; }
}

/* ============================================
   28. SOCIAL PROOF STRIP
   ============================================ */
.lx-social-proof {
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
}
.lx-social-proof__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.lx-social-proof__avatars {
  display: flex;
  align-items: center;
}
.lx-social-proof__avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent-grad);
  border: 2px solid var(--bg-card);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
  color: #fff;
  margin-left: -7px;
  flex-shrink: 0;
}
.lx-social-proof__avatar:first-child { margin-left: 0; }
.lx-social-proof__text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0;
}
.lx-social-proof__text strong { color: var(--text-primary); }
.lx-social-proof__rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  padding-left: 20px;
  border-left: 1px solid var(--border-color);
}
.lx-social-proof__stars { color: #fbbf24; letter-spacing: 2px; font-size: 0.85rem; }
.lx-social-proof__rating-val { color: var(--text-muted); }
@media (max-width: 600px) {
  .lx-social-proof__rating { display: none; }
  .lx-social-proof__inner { gap: 12px; }
}

/* ============================================
   29. UPDATED DATE BADGE
   ============================================ */
.lx-updated-date {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.lx-updated-date svg { width: 13px; height: 13px; flex-shrink: 0; opacity: 0.65; }

/* ============================================
   29. COMPARISON TABLE
   ============================================ */
.lx-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin: 32px 0;
}
.lx-compare-table th,
.lx-compare-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}
.lx-compare-table thead th {
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.lx-compare-table tbody tr:hover { background: rgba(255,255,255,0.018); }
.lx-compare-table td:first-child { font-weight: 600; color: var(--text-secondary); font-size: 0.82rem; }
.lx-compare-table .lx-ct-brand  { font-weight: 700; color: var(--text-primary); }
.lx-compare-table .lx-ct-yes    { color: #4ade80; }
.lx-compare-table .lx-ct-no     { color: var(--text-muted); opacity: 0.6; }
.lx-compare-table .lx-ct-partial { color: #fbbf24; }
@media (max-width: 768px) {
  .lx-compare-table { font-size: 0.78rem; }
  .lx-compare-table th, .lx-compare-table td { padding: 10px 8px; }
}

/* ============================================
   30. QUIZ
   ============================================ */
.lx-quiz {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 680px;
  margin: 0 auto;
}
.lx-quiz__progress-wrap {
  background: rgba(255,255,255,0.06);
  border-radius: 99px;
  height: 4px;
  margin-bottom: 36px;
  overflow: hidden;
}
.lx-quiz__bar {
  height: 100%;
  background: var(--accent-grad);
  border-radius: 99px;
  transition: width 0.4s ease;
  width: 0;
}
.lx-quiz__counter {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent-pink);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 12px;
}
.lx-quiz__question {
  font-size: 1.16rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 28px;
}
.lx-quiz__options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.lx-quiz__option {
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s, color 0.18s;
  text-align: left;
  line-height: 1.4;
}
.lx-quiz__option:hover:not(:disabled) {
  border-color: var(--accent-pink);
  color: var(--text-primary);
  background: var(--accent-pink-soft);
}
.lx-quiz__option.selected {
  border-color: var(--accent-pink);
  background: var(--accent-pink-soft);
  color: var(--accent-pink);
  font-weight: 600;
}
.lx-quiz__option:disabled { cursor: default; }

.lx-quiz__result { text-align: center; }
.lx-quiz__result-card { padding: 8px 0; }
.lx-quiz__result-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
  margin-bottom: 20px;
}
.lx-quiz__result-img-wrap {
  width: 160px;
  height: 213px;
  margin: 0 auto 20px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--border-accent);
}
.lx-quiz__result-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lx-quiz__result-name {
  font-size: 1.65rem;
  font-weight: 800;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 8px 0 12px;
}
.lx-quiz__result-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
  max-width: 480px;
  margin: 0 auto;
}
.lx-quiz__restart {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.84rem;
  font-family: inherit;
  cursor: pointer;
  padding: 8px 12px;
  transition: color 0.2s;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.lx-quiz__restart:hover { color: var(--text-secondary); }

@media (max-width: 600px) {
  .lx-quiz { padding: 28px 20px; }
  .lx-quiz__options { grid-template-columns: 1fr; }
  .lx-quiz__question { font-size: 1rem; }
}
