﻿
/* ==========================================================
   CSS Variables (Design Tokens)
   ========================================================== */
.lr-article {
  /* Brand Colors */
  --primary: #1a56db;
  --primary-dark: #1042a8;
  --primary-light: #e8f0fe;
  --primary-lighter: #f0f6ff;
  --accent: #f97316;
  --accent-light: #fff3e8;
  --accent-dark: #d45a06;

  /* Neutrals */
  --bg-card: #f8fafc;
  --bg-page: #ffffff;
  --bg-code: #f1f5f9;
  --border: #e2e8f0;
  --border-light: #f1f5f9;

  /* Text */
  --text: #1e293b;
  --text-light: #64748b;
  --text-lighter: #94a3b8;
  --text-white: #ffffff;

  /* Semantic */
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --info: #3b82f6;

  /* Typography */
  --font-family: system-ui, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", "Source Code Pro", "Cascadia Code", Consolas, "Courier New", monospace;

  /* Font Sizes (fluid) */
  --fs-xs: clamp(0.75rem, 0.7rem + 0.15vw, 0.8rem);
  --fs-sm: clamp(0.8rem, 0.75rem + 0.2vw, 0.875rem);
  --fs-base: clamp(0.9rem, 0.85rem + 0.25vw, 1rem);
  --fs-lg: clamp(1rem, 0.9rem + 0.4vw, 1.125rem);
  --fs-xl: clamp(1.15rem, 1rem + 0.6vw, 1.35rem);
  --fs-2xl: clamp(1.4rem, 1.15rem + 1vw, 1.75rem);
  --fs-3xl: clamp(1.7rem, 1.3rem + 1.5vw, 2.25rem);
  --fs-4xl: clamp(2rem, 1.5rem + 2vw, 3rem);

  /* Spacing */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;

  /* Radii */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.25rem;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --content-max-width: 960px;
  --content-wide: 1200px;
}

/* ==========================================================
   Reset & Base
   ========================================================== */
.lr-article *,
.lr-article *::before,
.lr-article *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.lr-article {
  font-family: var(--font-family);
  font-size: var(--fs-base);
  line-height: 1.8;
  color: var(--text);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  overflow-wrap: break-word;
  word-break: break-all;
}

.lr-article img {
  max-width: 100%;
  height: auto;
  display: block;
}

.lr-article a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.lr-article a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* ==========================================================
   Hero Section
   ========================================================== */
.lr-hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary) 0%, #0e3baa 50%, #082a7a 100%);
  color: var(--text-white);
  padding: var(--sp-16) var(--sp-6) var(--sp-12);
  overflow: hidden;
}

.lr-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 15% 80%, rgba(249, 115, 22, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 500px 350px at 85% 20%, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.lr-hero__decoration {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.07;
}

.lr-hero__decoration svg {
  width: 100%;
  height: 100%;
}

.lr-hero__inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.lr-hero__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: var(--sp-6);
}

.lr-hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.lr-hero__breadcrumb a:hover {
  color: #ffffff;
  text-decoration: none;
}

.lr-hero__breadcrumb-sep {
  font-size: 0.75em;
  opacity: 0.5;
}

.lr-hero__category {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  padding: var(--sp-1) var(--sp-4);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: var(--sp-5);
  letter-spacing: 0.02em;
}

.lr-hero__category-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.lr-hero__title {
  font-size: var(--fs-4xl);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-5);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.lr-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-4);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.7);
}

.lr-hero__meta-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.lr-hero__meta-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.7;
}

/* ==========================================================
   Article Content Body
   ========================================================== */
.lr-content {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: var(--sp-8) var(--sp-4);
}

/* Headings — CMS hierarchy: H3=section, H4=subsection (no H2) */
.lr-content h3 {
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--text);
  margin-top: var(--sp-12);
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-3);
  border-bottom: 2px solid var(--primary-light);
  line-height: 1.35;
  letter-spacing: -0.005em;
  scroll-margin-top: 2rem;
}

.lr-content h3::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 1.1em;
  background: var(--primary);
  border-radius: 2px;
  margin-right: var(--sp-3);
  vertical-align: middle;
  transform: translateY(-1px);
}

.lr-content h4 {
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--text);
  margin-top: var(--sp-8);
  margin-bottom: var(--sp-4);
  line-height: 1.4;
  scroll-margin-top: 2rem;
}

/* Paragraphs */
.lr-content p {
  margin-bottom: var(--sp-5);
  color: var(--text);
  line-height: 1.85;
}

.lr-content p + p {
  margin-top: 0;
}

/* Lead paragraph */
.lr-lead {
  font-size: var(--fs-lg);
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: var(--sp-8);
  padding-bottom: var(--sp-8);
  border-bottom: 1px solid var(--border);
}

/* Lists */
.lr-content ul,
.lr-content ol {
  margin-bottom: var(--sp-5);
  padding-left: var(--sp-6);
}

.lr-content li {
  margin-bottom: var(--sp-2);
  line-height: 1.75;
}

.lr-content li::marker {
  color: var(--primary);
}

/* Blockquotes */
.lr-content blockquote {
  position: relative;
  margin: var(--sp-8) 0;
  padding: var(--sp-5) var(--sp-6) var(--sp-5) var(--sp-8);
  background: var(--primary-lighter);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: normal;
  color: var(--text);
}

.lr-content blockquote::before {
  content: '\201C';
  position: absolute;
  top: var(--sp-3);
  left: var(--sp-4);
  font-size: 2rem;
  color: var(--primary);
  opacity: 0.3;
  line-height: 1;
}

.lr-content blockquote p:last-child {
  margin-bottom: 0;
}

/* Code */
.lr-content code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: var(--bg-code);
  color: #c7254e;
  padding: 0.15em 0.4em;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.lr-content pre {
  background: #1e293b;
  color: #e2e8f0;
  padding: var(--sp-5) var(--sp-6);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  margin: var(--sp-6) 0;
  line-height: 1.65;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.lr-content pre code {
  background: none;
  color: inherit;
  padding: 0;
  border: none;
  font-size: var(--fs-sm);
}

/* Images */
.lr-content figure {
  margin: var(--sp-8) 0;
}

.lr-content figure img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.lr-content figcaption {
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--text-light);
  margin-top: var(--sp-3);
  font-style: italic;
}

/* Tables (base, see spec_table component for enhanced version) */
.lr-content table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--sp-6) 0;
  font-size: var(--fs-sm);
}

.lr-content table th {
  background: var(--primary);
  color: var(--text-white);
  font-weight: 600;
  text-align: left;
  padding: var(--sp-3) var(--sp-4);
}

.lr-content table td {
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--border);
}

.lr-content table tr:nth-child(even) {
  background: var(--bg-card);
}

/* Info boxes / Callouts */
.lr-callout {
  display: flex;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  border-radius: var(--radius-lg);
  margin: var(--sp-6) 0;
  border: 1px solid;
}

.lr-callout--info {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1e40af;
}

.lr-callout--warning {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}

.lr-callout--success {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
}

.lr-callout--tip {
  background: var(--primary-lighter);
  border-color: #bfdbfe;
  color: var(--primary-dark);
}

.lr-callout__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
}

.lr-callout__content {
  flex: 1;
  min-width: 0;
}

.lr-callout__content p:last-child {
  margin-bottom: 0;
}

.lr-callout__title {
  font-weight: 600;
  margin-bottom: var(--sp-2);
}

/* Key takeaway */
.lr-takeaway {
  background: linear-gradient(135deg, var(--primary-lighter) 0%, #fef3f2 100%);
  border: 2px solid var(--primary);
  border-radius: var(--radius-xl);
  padding: var(--sp-6) var(--sp-8);
  margin: var(--sp-8) 0;
}

.lr-takeaway__label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--sp-3);
}

/* Inline SVG container */
.lr-svg-container {
  display: flex;
  justify-content: center;
  margin: var(--sp-8) 0;
}

.lr-svg-container svg {
  max-width: 100%;
  height: auto;
}

/* ==========================================================
   Section: Big Numbers Grid
   ========================================================== */
.lr-big-numbers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--sp-5);
  margin: var(--sp-8) 0;
}

.lr-big-number {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--sp-6) var(--sp-5);
  text-align: center;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.lr-big-number:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.lr-big-number__value {
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: var(--sp-1);
}

.lr-big-number__unit {
  font-size: 0.45em;
  font-weight: 600;
  color: var(--text-light);
}

.lr-big-number__trend {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: var(--fs-xs);
  font-weight: 600;
  margin-top: var(--sp-1);
}

.lr-big-number__trend--up {
  color: var(--success);
}

.lr-big-number__trend--down {
  color: var(--error);
}

.lr-big-number__label {
  font-size: var(--fs-sm);
  color: var(--text-light);
  margin-top: var(--sp-2);
  line-height: 1.4;
}

/* ==========================================================
   Section: Product Cards
   ========================================================== */
.lr-product-card {
  display: flex;
  gap: var(--sp-6);
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--sp-6);
  margin: var(--sp-6) 0;
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.lr-product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.lr-product-card__image {
  flex-shrink: 0;
  width: 180px;
  height: 140px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lr-product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lr-product-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.lr-product-card__model {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--text);
}

.lr-product-card__model a {
  color: inherit;
  text-decoration: none;
}

.lr-product-card__model a:hover {
  color: var(--primary);
  text-decoration: none;
}

.lr-product-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.lr-product-card__spec {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: var(--sp-1) var(--sp-3);
  font-size: var(--fs-xs);
  color: var(--text-light);
}

.lr-product-card__spec-label {
  color: var(--text-lighter);
}

.lr-product-card__spec-value {
  font-weight: 600;
  color: var(--text);
}

.lr-article .lr-product-card__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: auto;
  padding: var(--sp-2) var(--sp-5);
  background: var(--primary);
  color: var(--text-white) !important;
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  transition: background var(--transition-fast), transform var(--transition-fast);
  width: fit-content;
}

.lr-article .lr-product-card__cta:hover {
  background: var(--primary-dark);
  color: var(--text-white) !important;
  text-decoration: none;
  transform: translateX(2px);
}

.lr-article .lr-product-card__cta svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.lr-article .lr-product-card__cta:hover svg {
  transform: translateX(3px);
}

/* ==========================================================
   Section: Spec Comparison Table
   ========================================================== */
.lr-spec-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: var(--sp-8) 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.lr-spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
  white-space: nowrap;
}

.lr-spec-table thead {
  position: sticky;
  top: 0;
  z-index: 2;
}

.lr-spec-table th {
  background: var(--primary);
  color: var(--text-white);
  font-weight: 600;
  text-align: left;
  padding: var(--sp-4) var(--sp-5);
  font-size: var(--fs-sm);
  letter-spacing: 0.01em;
}

.lr-spec-table th:first-child {
  position: sticky;
  left: 0;
  z-index: 3;
  background: var(--primary-dark);
  min-width: 160px;
}

.lr-spec-table td {
  padding: var(--sp-3) var(--sp-5);
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.lr-spec-table td:first-child {
  position: sticky;
  left: 0;
  background: var(--bg-card);
  font-weight: 600;
  color: var(--text);
  z-index: 1;
  border-right: 2px solid var(--border);
}

.lr-spec-table tbody tr:nth-child(even) {
  background: var(--bg-card);
}

.lr-spec-table tbody tr:nth-child(even) td:first-child {
  background: #f1f5f9;
}

.lr-spec-table tbody tr:hover td {
  background: var(--primary-lighter);
}

.lr-spec-table tbody tr:hover td:first-child {
  background: #dbeafe;
}

/* ==========================================================
   Section: FAQ Accordion
   ========================================================== */
.lr-faq {
  margin: var(--sp-6) 0;
}

.lr-faq__title {
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--sp-6);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.lr-faq__title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 1.1em;
  background: var(--accent);
  border-radius: 2px;
}

.lr-faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: var(--sp-3);
  overflow: hidden;
  transition: box-shadow var(--transition-base);
}

.lr-faq__item:hover {
  box-shadow: var(--shadow-sm);
}

.lr-faq__item[open] {
  box-shadow: var(--shadow-sm);
  border-color: var(--primary);
}

.lr-faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  cursor: pointer;
  font-weight: 600;
  font-size: var(--fs-base);
  color: var(--text);
  list-style: none;
  user-select: none;
  -webkit-user-select: none;
  transition: background var(--transition-fast);
}

.lr-faq__item summary:hover {
  background: var(--bg-card);
}

.lr-faq__item summary::-webkit-details-marker {
  display: none;
}

.lr-faq__item summary::marker {
  display: none;
  content: '';
}

.lr-faq__chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--text-light);
  transition: transform var(--transition-base), color var(--transition-base);
}

.lr-faq__item[open] .lr-faq__chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.lr-faq__answer {
  padding: 0 var(--sp-6) var(--sp-5) var(--sp-6);
  color: var(--text-light);
  line-height: 1.8;
  border-top: 1px solid var(--border-light);
}

.lr-faq__answer p {
  margin-top: var(--sp-3);
}

.lr-faq__answer p:last-child {
  margin-bottom: 0;
}

/* ==========================================================
   Section: Related Articles Cards
   ========================================================== */
.lr-related {
  margin: var(--sp-6) 0;
}

.lr-related__title {
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--sp-6);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.lr-related__title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 1.1em;
  background: var(--primary);
  border-radius: 2px;
}

.lr-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}

.lr-related-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
  text-decoration: none;
  color: inherit;
}

.lr-related-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  text-decoration: none;
  color: inherit;
}

.lr-related-card__thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-card);
}

.lr-related-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.lr-related-card:hover .lr-related-card__thumb img {
  transform: scale(1.05);
}

.lr-related-card__body {
  padding: var(--sp-5);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.lr-related-card__tag {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  border-radius: 100px;
  padding: 2px var(--sp-3);
  width: fit-content;
}

.lr-related-card__title {
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lr-related-card__excerpt {
  font-size: var(--fs-sm);
  color: var(--text-light);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.lr-related-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--primary);
  margin-top: var(--sp-2);
  transition: gap var(--transition-fast);
}

.lr-related-card:hover .lr-related-card__link {
  gap: var(--sp-3);
}

/* ==========================================================
   Section: TOC (Table of Contents)
   ========================================================== */
.lr-toc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--sp-6) var(--sp-8);
  margin: var(--sp-8) 0;
}

.lr-toc__title {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--sp-4);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.lr-toc__list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc-counter;
}

.lr-toc__list li {
  counter-increment: toc-counter;
  margin-bottom: var(--sp-2);
}

.lr-toc__list li::before {
  content: counter(toc-counter, decimal) '.';
  color: var(--primary);
  font-weight: 600;
  margin-right: var(--sp-2);
  font-size: var(--fs-sm);
}

.lr-toc__list a {
  color: var(--text-light);
  font-size: var(--fs-sm);
  line-height: 1.6;
  transition: color var(--transition-fast);
}

.lr-toc__list a:hover {
  color: var(--primary);
  text-decoration: none;
}

/* ==========================================================
   Footer / CTA Section
   ========================================================== */
.lr-article-cta {
  background: linear-gradient(135deg, var(--primary-lighter) 0%, #fff7ed 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: var(--sp-10) var(--sp-8);
  margin: var(--sp-10) 0 var(--sp-6);
  text-align: center;
}

.lr-article-cta__title {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--sp-3);
}

.lr-article-cta__text {
  font-size: var(--fs-base);
  color: var(--text-light);
  margin-bottom: var(--sp-6);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.lr-article-cta__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3);
}

.lr-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
}

.lr-btn--primary {
  background: var(--primary);
  color: var(--text-white);
}

.lr-btn--primary:hover {
  background: var(--primary-dark);
  color: var(--text-white);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.lr-btn--outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.lr-btn--outline:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
  border-color: var(--primary-dark);
  text-decoration: none;
  transform: translateY(-1px);
}

/* ==========================================================
   Responsive Breakpoints
   ========================================================== */
@media (max-width: 768px) {
  .lr-hero {
    padding: var(--sp-10) var(--sp-4) var(--sp-8);
  }

  .lr-hero__title {
    font-size: clamp(1.5rem, 1.2rem + 2vw, 2.25rem);
  }

  .lr-content {
    padding: var(--sp-8) var(--sp-4);
  }

  .lr-product-card {
    flex-direction: column;
  }

  .lr-product-card__image {
    width: 100%;
    height: 200px;
  }

  .lr-related__grid {
    grid-template-columns: 1fr;
  }

  .lr-big-numbers {
    grid-template-columns: repeat(2, 1fr);
  }

  .lr-faq__item summary {
    padding: var(--sp-4) var(--sp-5);
    font-size: var(--fs-sm);
  }

  .lr-faq__answer {
    padding: 0 var(--sp-5) var(--sp-4) var(--sp-5);
  }

  .lr-article-cta {
    padding: var(--sp-8) var(--sp-5);
  }

  .lr-article-cta__buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .lr-hero__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-2);
  }

  .lr-big-numbers {
    grid-template-columns: 1fr;
  }

  .lr-related__grid {
    grid-template-columns: 1fr;
  }

  .lr-product-card__specs {
    flex-direction: column;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .lr-related__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================
   Print Styles
   ========================================================== */
@media print {
  .lr-hero__decoration,
  .lr-related {
    display: none !important;
  }

  .lr-hero {
    background: #1a56db !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .lr-content {
    max-width: 100%;
    padding: 1rem 0;
  }

  .lr-product-card,
  .lr-faq__item,
  .lr-related-card {
    break-inside: avoid;
    box-shadow: none !important;
    border: 1px solid #ccc;
  }
}

/* ==========================================================
   Animations
   ========================================================== */
@keyframes lr-fade-in-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lr-animate-in {
  animation: lr-fade-in-up 0.5s ease-out both;
}

.lr-animate-delay-1 { animation-delay: 0.1s; }
.lr-animate-delay-2 { animation-delay: 0.2s; }
.lr-animate-delay-3 { animation-delay: 0.3s; }

  
/* Tech Diagram Styles */  
.tech-diagram-wrapper { text-align: center; margin: 24px auto; }  
.tech-diagram-wrapper svg { display: block; max-width: 100%; width: auto; height: auto; margin: 0 auto; overflow: visible; }  
.tech-diagram-caption { text-align: center; font-size: 13px; color: #888; margin-top: 8px; font-style: italic; }  
