/* ============================================
   China Car World - Unified Styles
   ============================================ */

/* --- CSS VARIABLES --- */

:root {
  /* Background colors */
  --bg: #0B0F14;
  --bg-elevated: #141A20;
  --bg-header: #0A0D10;

  /* Text colors */
  --text-main: #D7DDE5;
  --text-secondary: #A5AEBB;
  --text-muted: #8C97A4;
  --text-heading: #F2F4F7;

  /* Accent colors - LED blue theme */
  --accent: #4DA3FF;
  --accent-hover: #1E6BD6;
  --accent-amber: #FFC27A;

  /* UI state colors */
  --success: #3CCB87;
  --warning: #FFC27A;
  --error: #E65252;
  --info: #4DA3FF;

  /* Borders and dividers */
  --border-subtle: #1F262D;
  --border-light: #2B343F;

  /* Shadows */
  --shadow-soft: 0 18px 55px rgba(0, 0, 0, 0.35);

  /* Border radius */
  --radius-lg: 18px;
  --radius-xl: 26px;

  /* Transitions */
  --transition-fast: 160ms ease-out;
  --transition-slow: 420ms ease-out;
}

/* --- RESET & BASE --- */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #0B0F14 0%, #141A20 40%, #1C2128 100%);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  margin-top: 64px;
}

/* --- NAVIGATION --- */

.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: linear-gradient(
    to bottom,
    rgba(10, 13, 16, 0.94),
    rgba(10, 13, 16, 0.82),
    transparent
  );
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 10px 20px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #ffffff, var(--accent) 40%, var(--bg-header) 100%);
  box-shadow: 0 0 18px rgba(77, 163, 255, 0.55);
  position: relative;
  overflow: hidden;
}

.logo-icon::after {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: inherit;
  border: 1px solid rgba(10, 13, 16, 0.45);
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.8) inset;
}

.logo-text {
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 0.96rem;
  text-transform: uppercase;
}

.logo-sub {
  display: block;
  font-size: 0.65rem;
  opacity: 0.65;
  letter-spacing: 0.16em;
}

.nav-links {
  display: flex;
  gap: 20px;
  font-size: 0.9rem;
}

.nav-links a {
  position: relative;
  padding-bottom: 2px;
  color: var(--text-muted);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
  transition: width var(--transition-slow);
  opacity: 0.8;
}

.nav-links a:hover {
  color: var(--text-main);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-chip {
  font-size: 0.7rem;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: radial-gradient(circle at 0 0, rgba(77, 163, 255, 0.25), transparent 60%);
  color: var(--text-muted);
}

/* Breadcrumbs - now positioned below page headers */
.breadcrumbs-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 20px;
  background: rgba(20, 26, 32, 0.3);
  border-bottom: 1px solid var(--border-subtle);
}

.breadcrumbs {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  gap: 8px;
  align-items: center;
}

.breadcrumbs a {
  color: var(--accent);
  transition: color var(--transition-fast);
}

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

/* --- FOOTER --- */

footer {
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-header);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 20px 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a {
  opacity: 0.8;
}

.footer-links a:hover {
  opacity: 1;
}

/* --- ANIMATIONS --- */

.fade-in {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 700ms ease-out, transform 700ms ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- COMMON ELEMENTS --- */

.meta-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(77, 163, 255, 0.7);
}

/* ============================================
   HOME PAGE STYLES
   ============================================ */

/* --- HERO SECTION --- */

.hero {
  margin-top: 64px;
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('../images/germancarworld-dark.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(11, 15, 20, 0.3),
    rgba(11, 15, 20, 0.5)
  );
  z-index: 1;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 80px;
  backdrop-filter: blur(16px);
  background: linear-gradient(
    135deg,
    rgba(20, 26, 32, 0.5),
    rgba(20, 26, 32, 0.4)
  );
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin-bottom: 24px;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(77, 163, 255, 0.9);
  animation: pulse-dot 2.4s ease-out infinite;
}

@keyframes pulse-dot {
  0% {
    transform: scale(1);
    box-shadow: 0 0 12px rgba(77, 163, 255, 0.7);
  }
  60% {
    transform: scale(1.15);
    box-shadow: 0 0 22px rgba(77, 163, 255, 0.2);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 12px rgba(77, 163, 255, 0.7);
  }
}

.hero-title {
  font-size: clamp(2.5rem, 4vw + 1.5rem, 4rem);
  letter-spacing: 0.01em;
  margin-bottom: 20px;
  line-height: 1.2;
  text-align: center;
}

.hero-title span {
  background: linear-gradient(120deg, var(--text-heading), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 1.1rem;
  max-width: 100%;
  color: var(--text-main);
  margin-bottom: 30px;
  line-height: 1.6;
  text-align: center;
}

.hero-subtitle-strong {
  color: var(--accent);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
  justify-content: center;
}

.btn-primary {
  border-radius: 999px;
  padding: 11px 20px;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  white-space: nowrap;
  background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent) 100%);
  color: var(--bg-header);
  font-weight: 600;
  box-shadow: 0 14px 45px rgba(77, 163, 255, 0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 55px rgba(77, 163, 255, 0.6);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-card {
  padding: 0;
  text-align: center;
}

.stat-label {
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.stat-value {
  font-weight: 700;
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  justify-content: center;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--border-subtle);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
}

/* --- HOME BRANDS SECTION --- */

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 26px 20px 40px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  margin-bottom: 20px;
}

.section-title {
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-subtitle {
  font-size: 0.86rem;
  color: var(--text-muted);
  max-width: 25rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(77, 163, 255, 0.7);
}

/* --- HOME CONTENT SECTION --- */

.content-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

.content-title {
  font-size: 1.5rem;
  margin-bottom: 24px;
  color: var(--text-heading);
  position: relative;
  padding-bottom: 16px;
}

.content-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.content-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.content-text p {
  margin-bottom: 16px;
}

.content-text p:last-child {
  margin-bottom: 0;
}

.content-text strong {
  color: var(--accent);
  font-weight: 600;
}

/* ============================================
   INNER PAGES STYLES
   ============================================ */

/* --- PAGE HEADER (Brands List, Brand Detail, Model Detail) --- */

.page-header {
  position: relative;
  padding: 80px 20px 60px;
  text-align: center;
  background-image: url('../images/germancarworld-dark.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(11, 15, 20, 0.75),
    rgba(11, 15, 20, 0.85)
  );
  z-index: 1;
}

.page-header > * {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-title {
  font-size: clamp(2rem, 3vw + 1rem, 2.8rem);
  margin-bottom: 16px;
  background: linear-gradient(120deg, var(--text-heading), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.page-subtitle {
  font-size: 1.05rem;
  color: var(--text-main);
  line-height: 1.6;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

/* --- BRANDS LIST PAGE --- */

.brands-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 20px 60px;
}

.brands-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
}

.brands-grid .brand-card {
  background: radial-gradient(circle at 0 0, rgba(77, 163, 255, 0.12), transparent 65%),
    radial-gradient(circle at 100% 100%, rgba(255, 194, 122, 0.15), transparent 65%),
    var(--bg-elevated);
  padding: 20px;
  width: 300px;
  max-width: 100%;
  flex-shrink: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}

.brands-grid .brand-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.9);
}

.brands-grid .brand-card .brand-image {
  aspect-ratio: 3 / 2;
  margin: -20px -20px 16px -20px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.brands-grid .brand-card .brand-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.brands-grid .brand-card .brand-image-overlay .brand-rank {
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(77, 163, 255, 0.3);
  border: 1px solid rgba(77, 163, 255, 0.6);
  color: #fff;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.brands-grid .brand-card .brand-image-overlay .brand-year {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.brands-grid .brand-card .brand-rank {
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(77, 163, 255, 0.15);
  border: 1px solid rgba(77, 163, 255, 0.4);
  color: var(--accent);
  font-weight: 600;
}

.brands-grid .brand-card .brand-year {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.brands-grid .brand-card .brand-name-main {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.brands-grid .brand-card .brand-name-rus {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.brands-grid .brand-card .brand-short-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.brands-grid .brand-card .brand-body-types {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.brands-grid .brand-card .body-type-tag {
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.brands-grid .brand-card .brand-price {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 500;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Old brand-header styles for horizontal cards - keeping for detail pages */
.brand-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 80px;
}

.brand-rank {
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(77, 163, 255, 0.15);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 600;
  text-align: center;
}

.brand-year {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
}

.brand-info {
  flex: 1;
}

.brand-name-main {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-heading);
}

.brand-name-main .brand-name-rus {
  font-size: 1.2rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-left: 12px;
}

.brand-short-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.6;
  max-width: 800px;
}

.brand-body-types {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 0;
}

.body-type-tag {
  font-size: 0.8rem;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(20, 26, 32, 0.6);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

.brand-meta-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
  text-align: right;
  min-width: 200px;
}

.brand-price {
  font-size: 1rem;
  color: var(--accent);
  font-weight: 600;
}

/* --- BRAND & MODEL DETAIL HEADER --- */

.brand-header,
.model-header {
  position: relative;
  padding: 80px 20px 60px;
  background-image: url('../images/germancarworld-dark.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.brand-header::before,
.model-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(11, 15, 20, 0.75),
    rgba(11, 15, 20, 0.85)
  );
  z-index: 1;
}

.brand-header-content,
.model-header-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}


.brand-rank-badge,
.model-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(77, 163, 255, 0.2);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.brand-title,
.model-title {
  font-size: clamp(2.5rem, 4vw + 1rem, 3.5rem);
  margin-bottom: 12px;
  background: linear-gradient(120deg, var(--text-heading), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-subtitle,
.model-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.brand-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.9rem;
}

.brand-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
}

/* --- PAGE NAVIGATION --- */

.page-nav {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-nav-inner {
  display: flex;
  gap: 8px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-subtle);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.page-nav-inner::-webkit-scrollbar {
  display: none;
}

.page-nav-link {
  padding: 8px 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: rgba(20, 26, 32, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.page-nav-link:hover {
  color: var(--text-main);
  border-color: var(--accent);
  background: rgba(77, 163, 255, 0.1);
}

/* --- CONTENT SECTIONS --- */

.content {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

.content .section:first-child {
  padding-top: 0;
}

.content .section {
  margin-bottom: 50px;
  scroll-margin-top: 80px;
}

.timeline-section {
  scroll-margin-top: 80px;
}

.content .section-title {
  font-size: 1.6rem;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.section-content {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.section-content p {
  margin-bottom: 16px;
}

.section-content strong {
  color: var(--text-main);
  font-weight: 600;
}

/* --- INFO CARDS --- */

/* Mobile: card grid layout */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 30px;
}

.info-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px;
}

.info-card-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.info-card-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
}

/* Desktop: elegant table layout */
@media (min-width: 768px) {
  .info-grid {
    display: block;
    background: linear-gradient(135deg, var(--bg-elevated) 0%, rgba(30, 38, 46, 0.8) 100%);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  }

  .info-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0;
    padding: 18px 28px;
    transition: background 0.2s ease;
  }

  .info-card:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
  }

  .info-card:hover {
    background: rgba(255, 255, 255, 0.05);
  }

  .info-card:last-child {
    border-bottom: none;
  }

  .info-card-title {
    font-size: 1rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
    color: var(--text-secondary);
    margin-bottom: 0;
  }

  .info-card-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: right;
  }
}

/* Specs groups for organized display */
.specs-group {
  margin-bottom: 32px;
}

.specs-group:last-child {
  margin-bottom: 0;
}

.specs-group-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-primary);
  margin-bottom: 16px;
  padding-left: 4px;
}

@media (min-width: 768px) {
  .specs-group-label {
    font-size: 0.85rem;
    margin-bottom: 12px;
  }
}

.specs-group .info-grid {
  margin-bottom: 0;
}

/* --- MODELS LIST --- */

.models-list {
  display: grid;
  gap: 12px;
}

.model-item {
  background: rgba(20, 26, 32, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.model-item:hover {
  border-color: var(--accent);
  background: rgba(20, 26, 32, 0.6);
}

a.model-item {
  cursor: pointer;
}

a.model-item:hover {
  border-color: var(--accent);
  background: rgba(20, 26, 32, 0.7);
}

.model-name {
  font-size: 1.1rem;
  font-weight: 600;
}

.model-type {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.model-description {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.35rem;
  line-height: 1.4;
}

/* Specs list (key-value pairs) */
.specs-list {
  background: rgba(20, 26, 32, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.specs-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.specs-row:last-child {
  border-bottom: none;
}

.specs-label {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.specs-value {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}

/* Generation cards for model page */
.generations-list {
  display: grid;
  gap: 16px;
}

.generation-card {
  background: rgba(20, 26, 32, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 0;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition-fast), background var(--transition-fast);
  overflow: hidden;
}

.generation-card:hover {
  border-color: var(--accent);
  background: rgba(20, 26, 32, 0.6);
}

.generation-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 16px 20px;
  gap: 16px;
}

.generation-card-info {
  flex: 1;
  min-width: 0;
}

.generation-card-title {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
}

.generation-number {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.9em;
}

.generation-card-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.generation-card-tags {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}

.generation-card-description {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
  padding: 12px 20px 16px;
  border-top: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.15);
}

@media (max-width: 640px) {
  .generation-card-header {
    flex-direction: column;
    gap: 12px;
  }

  .generation-card-tags {
    flex-direction: row;
    align-items: center;
    width: 100%;
  }
}

/* Expandable models list */
.models-list-wrapper {
  position: relative;
}

.models-list-collapsible {
  overflow: hidden;
  max-height: 720px; /* ~10 items */
  transition: max-height 0.5s ease-out;
}

.models-list-collapsible.expanded {
  max-height: 5000px;
}

.models-list-fade {
  position: absolute;
  bottom: 56px;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, rgba(11, 15, 20, 0), rgba(11, 15, 20, 1));
  pointer-events: none;
  transition: opacity 0.3s ease-out;
}

.models-list-collapsible.expanded + .models-list-fade {
  opacity: 0;
}

.models-expand-btn {
  width: 100%;
  margin-top: 12px;
  padding: 14px 20px;
  background: rgba(20, 26, 32, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.models-expand-btn:hover {
  background: rgba(20, 26, 32, 0.8);
  border-color: var(--accent);
}

.models-expand-btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease-out;
}

.models-expand-btn.expanded svg {
  transform: rotate(180deg);
}

/* --- ENGINE CARD --- */

.engine-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 30px;
}

.engine-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.engine-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}

.engine-spec {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.engine-spec-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.engine-spec-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
}

/* --- MODIFICATIONS TABLE --- */

.modifications-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.modifications-table th,
.modifications-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.modifications-table th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 600;
  background: rgba(20, 26, 32, 0.4);
}

.modifications-table td {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.modifications-table tr:hover td {
  background: rgba(20, 26, 32, 0.3);
}

/* --- TAGS --- */

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.tag {
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(77, 163, 255, 0.15);
  border: 1px solid var(--accent);
  color: var(--accent);
}

.tag-fuel {
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(100, 100, 100, 0.3);
  color: var(--text-secondary);
  white-space: nowrap;
}

.model-item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  flex-shrink: 0;
}

.model-item-content {
  flex: 1;
  min-width: 0;
}

/* --- UNAVAILABLE ITEMS STYLES --- */

.tag-unavailable {
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(100, 100, 100, 0.2);
  color: var(--text-muted);
  white-space: nowrap;
  border: 1px dashed var(--border-subtle);
}

.model-item-unavailable {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}

.model-item-unavailable:hover {
  transform: none;
  background: var(--surface-elevated);
  border-color: var(--border-subtle);
}

.generation-card-unavailable {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
  background: rgba(20, 26, 32, 0.3);
}

.generation-card-unavailable:hover {
  transform: none;
  border-color: var(--border-subtle);
}

/* ============================================
   TIMELINE STYLES
   ============================================ */

.timeline-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

.timeline-title {
  font-size: 1.6rem;
  margin-bottom: 40px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.timeline {
  position: relative;
  padding-left: 50px;
  display: flex;
  flex-direction: column;
}

/* Vertical line */
.timeline::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    to top,
    var(--accent) 0%,
    var(--border-light) 30%,
    var(--border-light) 70%,
    var(--accent) 100%
  );
}

.timeline-year-group {
  position: relative;
  margin-bottom: 0;
  padding-bottom: 30px;
}

.timeline-year-group:first-child {
  padding-bottom: 0;
}

.timeline-year {
  position: absolute;
  left: -50px;
  width: 40px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--bg);
  padding: 4px 0;
}

/* Dot on timeline */
.timeline-year::after {
  content: "";
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 15px rgba(77, 163, 255, 0.8);
  border: 2px solid var(--bg);
}

.timeline-models {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 20px;
}

.timeline-model {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(20, 26, 32, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
  text-decoration: none;
  color: inherit;
}

.timeline-model:hover {
  border-color: var(--accent);
  background: rgba(20, 26, 32, 0.7);
  transform: translateX(4px);
}

.timeline-model-name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-main);
}

.timeline-model-generation {
  font-size: 0.8rem;
  color: var(--accent);
  padding: 2px 8px;
  background: rgba(77, 163, 255, 0.15);
  border-radius: 999px;
}

.timeline-model-years {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-left: auto;
}

.timeline-model-body {
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 2px 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
}

/* Decade markers */
.timeline-decade {
  position: relative;
  padding: 20px 0 30px 20px;
  margin-top: 20px;
}

.timeline-decade-label {
  position: absolute;
  left: -50px;
  width: 40px;
  text-align: center;
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent-amber);
  letter-spacing: 0.05em;
}

.timeline-decade-label::after {
  content: "";
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-amber);
  box-shadow: 0 0 20px rgba(255, 194, 122, 0.6);
  border: 3px solid var(--bg);
}

.timeline-decade-line {
  height: 1px;
  background: linear-gradient(90deg, var(--accent-amber), transparent);
  margin-bottom: 10px;
}

/* Model status indicator dots */
.timeline-model::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-light);
  flex-shrink: 0;
}

/* Current models - green dot */
.timeline-model.current::before {
  background: var(--success);
  box-shadow: 0 0 10px rgba(60, 203, 135, 0.7);
}

/* Current year marker */
.timeline-now {
  position: relative;
  padding: 20px 0 30px 20px;
}

.timeline-now-label {
  position: absolute;
  left: -50px;
  width: 40px;
  text-align: center;
  font-size: 1rem;
  font-weight: 800;
  color: var(--success);
  letter-spacing: 0.05em;
}

.timeline-now-label::after {
  content: "";
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 20px rgba(60, 203, 135, 0.8);
  border: 3px solid var(--bg);
  animation: pulse-dot 2.4s ease-out infinite;
}

.timeline-now-line {
  height: 1px;
  background: linear-gradient(90deg, var(--success), transparent);
}

.timeline-now-text {
  font-size: 0.85rem;
  color: var(--success);
  margin-top: 8px;
}

/* Legend */
.timeline-legend {
  display: flex;
  gap: 24px;
  margin-bottom: 30px;
  padding: 16px 20px;
  background: rgba(20, 26, 32, 0.4);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}

.timeline-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.timeline-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.timeline-legend-dot.current {
  background: var(--success);
  box-shadow: 0 0 10px rgba(60, 203, 135, 0.7);
}

.timeline-legend-dot.past {
  background: var(--border-light);
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

@media (max-width: 960px) {
  .nav-links {
    display: none;
  }
}

@media (max-width: 640px) {
  /* Hero section */
  .hero {
    min-height: auto;
    padding: 60px 20px;
  }

  .hero-copy {
    padding: 40px 30px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .page-header,
  .brand-header,
  .model-header {
    padding: 60px 20px 40px;
  }

  .modifications-table {
    font-size: 0.85rem;
  }

  .modifications-table th,
  .modifications-table td {
    padding: 10px 12px;
  }

  /* Timeline responsive */
  .timeline {
    padding-left: 40px;
  }

  .timeline::before {
    left: 15px;
  }

  .timeline-year {
    left: -40px;
    width: 30px;
    font-size: 0.75rem;
  }

  .timeline-year::after {
    right: -13px;
    width: 10px;
    height: 10px;
  }

  .timeline-decade-label,
  .timeline-now-label {
    left: -40px;
    width: 30px;
    font-size: 0.85rem;
  }

  .timeline-decade-label::after,
  .timeline-now-label::after {
    right: -13px;
    width: 12px;
    height: 12px;
  }

  .timeline-model {
    flex-wrap: wrap;
    gap: 8px;
  }

  .timeline-model-years {
    margin-left: 0;
    width: 100%;
  }

  .timeline-legend {
    flex-wrap: wrap;
    gap: 16px;
  }
}

/* --- MODIFICATIONS TABLE --- */

.modifications-table-wrapper {
  overflow-x: auto;
  margin: 0 -16px;
  padding: 0 16px;
}

.modifications-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 700px;
}

.modifications-table th,
.modifications-table td {
  padding: 12px 10px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.modifications-table th {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--bg-elevated);
  position: sticky;
  top: 0;
}

.modifications-table td {
  color: var(--text-main);
  vertical-align: top;
}

.modifications-table tbody tr:hover {
  background: rgba(77, 163, 255, 0.05);
}

.modifications-table .text-muted {
  color: var(--text-muted);
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .modifications-table {
    font-size: 0.8rem;
  }

  .modifications-table th,
  .modifications-table td {
    padding: 10px 8px;
  }
}

/* ============================================
   PHOTO GALLERY STYLES (Swiper.js)
   ============================================

   Gallery component for generation detail pages.
   Uses Swiper.js for slider functionality.

   Structure:
   - .gallery-container: Main wrapper
   - .gallery-main: Primary slider with full images
   - .gallery-thumbs: Thumbnail navigation slider
   - .gallery-counter: Image counter display
   ============================================ */

.gallery-container {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  overflow: hidden;
}

/* Main gallery slider */
.gallery-main {
  width: 100%;
  margin-bottom: 16px;
  border-radius: 12px;
  overflow: hidden;
}

.gallery-main .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  aspect-ratio: 3 / 2;
}

.gallery-main .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.gallery-main .swiper-slide img:hover {
  transform: scale(1.02);
}

/* Navigation arrows */
.gallery-main .swiper-button-prev,
.gallery-main .swiper-button-next {
  color: var(--text-main);
  background: rgba(20, 26, 32, 0.7);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  backdrop-filter: blur(8px);
  transition: all var(--transition-fast);
}

.gallery-main .swiper-button-prev:hover,
.gallery-main .swiper-button-next:hover {
  background: rgba(77, 163, 255, 0.3);
  color: var(--accent);
}

.gallery-main .swiper-button-prev::after,
.gallery-main .swiper-button-next::after {
  font-size: 18px;
  font-weight: 700;
}

/* Pagination bullets */
.gallery-main .swiper-pagination {
  bottom: 16px;
}

.gallery-main .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: var(--text-muted);
  opacity: 0.5;
  transition: all var(--transition-fast);
}

.gallery-main .swiper-pagination-bullet-active {
  background: var(--accent);
  opacity: 1;
  width: 24px;
  border-radius: 5px;
}

/* Thumbnail gallery */
.gallery-thumbs {
  margin-top: 16px;
  padding: 0 4px;
}

.gallery-thumbs .swiper-slide {
  width: 25%;
  aspect-ratio: 3 / 2;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.4;
  border: 2px solid transparent;
  transition: all var(--transition-fast);
}

.gallery-thumbs .swiper-slide:hover {
  opacity: 0.8;
}

.gallery-thumbs .swiper-slide-thumb-active {
  opacity: 1;
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(77, 163, 255, 0.4);
}

.gallery-thumbs .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Image counter */
.gallery-counter {
  position: absolute;
  top: 30px;
  right: 30px;
  padding: 6px 14px;
  background: rgba(20, 26, 32, 0.8);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--text-muted);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  z-index: 10;
}

.gallery-counter-current {
  color: var(--accent);
  font-weight: 600;
}

/* Image caption */
.gallery-caption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  padding: 8px 14px;
  background: rgba(11, 15, 20, 0.85);
  backdrop-filter: blur(8px);
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 500;
  pointer-events: none;
}

/* Clickable caption link */
.gallery-caption-link {
  pointer-events: auto;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.gallery-caption-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .gallery-container {
    padding: 12px;
  }

  .gallery-main .swiper-slide {
    aspect-ratio: 3 / 2;
  }

  .gallery-main .swiper-button-prev,
  .gallery-main .swiper-button-next {
    width: 36px;
    height: 36px;
  }

  .gallery-main .swiper-button-prev::after,
  .gallery-main .swiper-button-next::after {
    font-size: 14px;
  }

  .gallery-thumbs .swiper-slide {
    width: 25%;
    aspect-ratio: 3 / 2;
  }

  .gallery-counter {
    top: 20px;
    right: 20px;
    padding: 4px 10px;
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .gallery-main .swiper-button-prev,
  .gallery-main .swiper-button-next {
    display: none;
  }

  .gallery-thumbs .swiper-slide {
    width: 25%;
    aspect-ratio: 3 / 2;
  }
}

/* ============================================
   GALLERY ATTRIBUTION BUTTON & POPUP
   ============================================ */

/* Info button on gallery slides - same style as gallery-caption */
.gallery-info-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(11, 15, 20, 0.85);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: 10;
  backdrop-filter: blur(8px);
}

.gallery-info-btn:hover {
  background: rgba(11, 15, 20, 0.95);
  border-color: var(--accent);
  color: var(--accent);
}

.gallery-info-btn svg {
  width: 16px;
  height: 16px;
}

/* Attribution popup overlay */
.attribution-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}

/* Attribution popup content */
.attribution-popup-content {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  max-width: 400px;
  width: 100%;
  box-shadow: var(--shadow-soft);
}

/* Close button */
.attribution-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.attribution-popup-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
}

/* Attribution popup body */
#attribution-popup-body {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

#attribution-popup-body a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

#attribution-popup-body a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.attribution-modified {
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.85rem;
}

/* Responsive adjustments for attribution */
@media (max-width: 480px) {
  .gallery-info-btn {
    width: 28px;
    height: 28px;
    bottom: 12px;
    right: 12px;
  }

  .gallery-info-btn svg {
    width: 14px;
    height: 14px;
  }

  .attribution-popup-content {
    padding: 20px 24px;
  }
}

/* ============================================
   NEW ELEMENTS STYLES
   ============================================ */

/* --- MODEL ALIASES --- */
.model-aliases {
  font-size: 0.9em;
  color: var(--text-muted);
  font-weight: normal;
}

/* --- FUN FACTS SECTION --- */
.fun-facts-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fun-fact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}

.fun-fact-icon {
  font-size: 1.4em;
  flex-shrink: 0;
  margin-top: 2px;
}

.fun-fact-item p {
  margin: 0;
  color: var(--text-main);
  line-height: 1.6;
}

/* --- BRAND BADGES --- */
.brand-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.brand-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(77, 163, 255, 0.15);
  border: 1px solid rgba(77, 163, 255, 0.3);
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--accent);
}

/* --- TEXT ACCENT --- */
.text-accent {
  color: var(--text-secondary);
  margin-top: 12px;
}

.text-accent strong {
  color: var(--accent);
}

/* --- ELECTRIC SECTION STYLING --- */
#electric .modifications-table td:nth-child(3),
#electric .modifications-table td:nth-child(4),
#electric .modifications-table td:nth-child(5) {
  text-align: center;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 768px) {
  .brand-badges {
    flex-direction: column;
    gap: 8px;
  }

  .fun-fact-item {
    padding: 14px 16px;
  }

  .fun-fact-icon {
    font-size: 1.2em;
  }
}
