/* ==========================================================================
   PT. Atlas Prima Internasional - Modern Industrial Red Theme CSS
   ========================================================================== */

:root, :root[data-theme="dark"] {
  --bg-body: #121212;
  --bg-surface: #1E1E1E;
  --bg-header: rgba(18, 18, 18, 0.9);
  --primary-red: #FF4D4D;
  --hover-red: #E63946;
  --red-glow: rgba(255, 77, 77, 0.25);
  --text-main: #F8F9FA;
  --text-muted: #A0A0A0;
  --border-color: #2D2D2D;
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  --red-badge-bg: rgba(255, 77, 77, 0.12);
}

:root[data-theme="light"] {
  --bg-body: #FAFAFA;
  --bg-surface: #FFFFFF;
  --bg-header: rgba(250, 250, 250, 0.9);
  --primary-red: #D90429;
  --hover-red: #EF233C;
  --red-glow: rgba(217, 4, 41, 0.2);
  --text-main: #1A1A1A;
  --text-muted: #6C757D;
  --border-color: #E5E5E5;
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  --red-badge-bg: rgba(217, 4, 41, 0.08);
}

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-body);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: var(--primary-red);
  text-decoration: none;
  transition: all 0.3s ease;
}
a:hover {
  color: var(--hover-red);
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Badge / Tag */
.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--red-badge-bg);
  color: var(--primary-red);
  border: 1px solid var(--primary-red);
  margin-bottom: 16px;
}

/* Header Navbar */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-header);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

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

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: filter 0.3s ease, transform 0.3s ease;
}

:root[data-theme="dark"] .logo-img {
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.25)) brightness(1.05);
}

:root[data-theme="light"] .logo-img {
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.15)) brightness(0.95);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: 0.02em;
}

.logo-sub {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--primary-red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-red);
  transition: all 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Dropdown Menu Styles */
.dropdown-chevron {
  transition: transform 0.25s ease;
  color: var(--text-muted);
}

.has-dropdown:hover .dropdown-chevron {
  transform: rotate(180deg);
  color: var(--primary-red);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 800px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 1000;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Hover bridge to keep mouse path seamless */
.has-dropdown::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 20px;
  display: block;
}

.has-dropdown:hover .nav-dropdown-menu,
.has-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.dropdown-category {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.category-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-red);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.category-icon {
  font-size: 1rem;
}

.dropdown-subitems {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  margin: 0;
}

.dropdown-sublink {
  display: block;
  padding: 8px 10px;
  border-radius: 10px;
  transition: all 0.2s ease;
  background: transparent;
}

.dropdown-sublink:hover {
  background: var(--red-badge-bg);
}

.sublink-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 2px;
  transition: color 0.2s ease;
}

.dropdown-sublink:hover .sublink-title {
  color: var(--primary-red);
}

.sublink-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.nav-dropdown-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
}

.dropdown-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--primary-red);
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.dropdown-footer-link:hover {
  background: var(--red-badge-bg);
  transform: translateX(2px);
}

.dropdown-footer-link.secondary {
  color: var(--text-muted);
}

.dropdown-footer-link.secondary:hover {
  color: var(--text-main);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 8px 12px;
  border-radius: 9999px;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.theme-toggle-btn:hover {
  border-color: var(--primary-red);
  color: var(--primary-red);
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--bg-surface);
  padding: 4px 8px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.lang-btn {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.lang-btn.active, .lang-btn:hover {
  color: #ffffff;
  background: var(--primary-red);
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 9999px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  background: var(--primary-red);
  color: #ffffff;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px var(--red-glow);
  transition: all 0.3s ease;
}

.btn-cta:hover {
  background: var(--hover-red);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--red-glow);
  color: #ffffff;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 9999px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  background: transparent;
  color: var(--text-main);
  border: 1.5px solid var(--border-color);
  transition: all 0.3s ease;
}

.btn-outline:hover {
  border-color: var(--primary-red);
  color: var(--primary-red);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 90vh;
  padding-top: 140px;
  padding-bottom: 100px;
  background: var(--bg-body);
  color: var(--text-main);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--text-main);
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 600px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  background: var(--bg-surface);
}

.hero-visual-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.hero-floating-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: var(--bg-surface);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--card-shadow);
}

.floating-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  flex-shrink: 0;
}

/* Sections */
.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px auto;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--text-main);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* About Section */
.about-section {
  background: var(--bg-body);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.stat-card {
  background: var(--bg-surface);
  padding: 24px 20px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--card-shadow);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-red);
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary-red);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

.clients-wrapper {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
}

.clients-title {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.clients-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.client-badge {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-main);
  background: var(--bg-surface);
  padding: 12px 24px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  transition: all 0.3s ease;
}

.client-badge.has-logo {
  background: #ffffff;
  padding: 12px 20px;
}

.client-logo-img {
  max-height: 44px;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.08));
}

/* Products Section */
.products-section {
  background: var(--bg-body);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.product-card {
  background: var(--bg-surface);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: var(--card-shadow);
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-red);
}

.product-img-box {
  height: 220px;
  width: 100%;
  background: var(--bg-body);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-img-box img {
  transform: scale(1.05);
}

.product-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.product-title {
  font-size: 1.25rem;
  color: var(--text-main);
  margin-bottom: 12px;
}

.product-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.product-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-red);
}

/* Services Section */
.services-section {
  background: var(--bg-body);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}

.service-card {
  background: var(--bg-surface);
  padding: 36px 30px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  box-shadow: var(--card-shadow);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-red);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: var(--red-badge-bg);
  color: var(--primary-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 24px;
}

.service-card h3 {
  font-size: 1.35rem;
  color: var(--text-main);
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Why Choose Us Section */
.why-us-section {
  background: var(--bg-body);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.why-card {
  background: var(--bg-surface);
  padding: 36px 28px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  box-shadow: var(--card-shadow);
}

.why-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-red);
}

.why-icon-badge {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--primary-red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.why-card h3 {
  font-size: 1.3rem;
  color: var(--text-main);
  margin-bottom: 14px;
}

.why-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Brand Partners */
.brand-partners {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
}

.brand-partners-title {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.brands-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.brand-tag {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-main);
  background: var(--bg-surface);
  padding: 10px 22px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

/* CTA Banner */
.cta-banner {
  background: var(--bg-body);
  padding: 80px 0;
  text-align: center;
}

.cta-box {
  background: var(--bg-surface);
  padding: 60px 40px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  max-width: 900px;
  margin: 0 auto;
  box-shadow: var(--card-shadow);
}

.cta-box h2 {
  font-size: 2.5rem;
  color: var(--text-main);
  margin-bottom: 20px;
}

.cta-box p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* Footer */
.site-footer {
  background: var(--bg-surface);
  color: var(--text-muted);
  padding-top: 80px;
  padding-bottom: 40px;
  border-top: 1px solid var(--border-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand h3 {
  font-size: 1.35rem;
  color: var(--text-main);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-col h4 {
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--primary-red);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
}

/* Page Content & Line Card Markdown Styling */
.page-content {
  color: var(--text-main);
  font-size: 1.05rem;
  line-height: 1.8;
}

.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4 {
  color: var(--text-main);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-family: 'Outfit', sans-serif;
}

.page-content h2 {
  font-size: 2rem;
  font-weight: 800;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.85rem;
  margin-top: 3rem;
  margin-bottom: 1.75rem;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.page-content h3 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--primary-red);
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
}

.page-content p {
  color: var(--text-main);
  opacity: 0.92;
  margin-bottom: 1.35rem;
  line-height: 1.8;
  font-size: 1.02rem;
}

.page-content hr {
  border: 0;
  height: 1px;
  background: var(--border-color);
  margin: 3rem 0;
}

/* Enhanced Table Styling for Technical Data & Matrices */
.page-content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 2rem 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  background: var(--bg-surface);
}

.page-content th {
  background: var(--bg-body);
  color: var(--text-main);
  font-weight: 700;
  padding: 16px 20px;
  text-align: left;
  font-size: 0.9rem;
  border-bottom: 2px solid var(--border-color);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.page-content td {
  padding: 16px 20px;
  font-size: 0.96rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
  vertical-align: top;
  line-height: 1.65;
}

.page-content tr:last-child td {
  border-bottom: none;
}

.page-content tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.02);
}

.page-content tr:hover td {
  background: var(--red-badge-bg);
}

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

/* Line Card Brand Cards Grid & Components */
.brand-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
  margin: 2.5rem 0;
}

.brand-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.brand-card:hover {
  border-color: var(--primary-red);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.brand-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 16px;
}

.brand-card-logo-wrap {
  background: var(--bg-body);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  max-width: 180px;
}

.brand-card-logo {
  max-height: 38px;
  max-width: 100%;
  object-fit: contain;
}

.brand-card-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--red-badge-bg);
  color: var(--primary-red);
  border: 1px solid var(--primary-red);
  white-space: nowrap;
}

.brand-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
  font-family: 'Outfit', sans-serif;
  line-height: 1.3;
}

.brand-card-origin {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.brand-card-desc {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 18px;
}

.brand-card-replaces {
  background: var(--bg-body);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
}

.brand-card-replaces strong {
  color: var(--primary-red);
}

.brand-card-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
}

.brand-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #FFFFFF !important;
  background: var(--primary-red);
  text-decoration: none;
  transition: all 0.25s ease;
  text-align: center;
}

.brand-card-btn:hover {
  background: var(--hover-red);
  color: #FFFFFF !important;
  transform: scale(1.02);
}

.brand-card-btn.secondary {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-main) !important;
}

.brand-card-btn.secondary:hover {
  border-color: var(--primary-red);
  color: var(--primary-red) !important;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid, .about-grid {
    grid-template-columns: 1fr;
  }
  .why-us-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-content h1 {
    font-size: 2.6rem;
  }
  .brand-cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .nav-menu {
    display: none;
  }
  .linecard-container {
    padding: 20px !important;
  }
  .brand-card {
    padding: 22px;
  }
  .page-content table {
    display: block;
    overflow-x: auto;
  }
}



/* Product Catalog Showcase Styles */
.products-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 9999px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
}

.filter-tab:hover, .filter-tab.active {
  background: var(--primary-red);
  color: #FFFFFF !important;
  border-color: var(--primary-red);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px var(--red-glow);
}

.product-item-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.product-item-card:hover {
  border-color: var(--primary-red);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.product-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.product-card-logo-box {
  background: var(--bg-body);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 8px 14px;
  height: 52px;
  max-width: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-logo-box img {
  max-height: 38px;
  max-width: 100%;
  object-fit: contain;
}

.product-models-list {
  background: var(--bg-body);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 16px 0;
  font-size: 0.88rem;
}

.product-models-title {
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-models-items {
  color: var(--text-muted);
  line-height: 1.5;
}

/* Product Detail Two-Column Layout & Sidebar */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
  align-items: start;
}

.product-detail-main {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 44px;
  box-shadow: var(--card-shadow);
}

.product-sidebar-sticky {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-widget {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--card-shadow);
}

.sidebar-widget-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
  font-family: 'Outfit', sans-serif;
}

.sidebar-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.88rem;
}

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

.sidebar-spec-label {
  color: var(--text-muted);
  font-weight: 600;
}

.sidebar-spec-val {
  color: var(--text-main);
  font-weight: 700;
  text-align: right;
}

.sidebar-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF !important;
  background: var(--primary-red);
  text-decoration: none;
  transition: all 0.25s ease;
  margin-top: 18px;
  text-align: center;
}

.sidebar-cta-btn:hover {
  background: var(--hover-red);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--red-glow);
}

@media (max-width: 992px) {
  .product-detail-layout {
    grid-template-columns: 1fr;
  }
  .product-sidebar-sticky {
    position: static;
  }
}

/* Modern FAQ Accordion & Search Styling */
.faq-search-box {
  max-width: 600px;
  margin: 0 auto 40px auto;
  position: relative;
}

.faq-search-input {
  width: 100%;
  padding: 16px 24px 16px 50px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 9999px;
  font-size: 1rem;
  color: var(--text-main);
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
  outline: none;
}

.faq-search-input:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 4px var(--red-glow);
}

.faq-search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.2rem;
}

.faq-group {
  margin-bottom: 36px;
}

.faq-group-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: border-color 0.3s ease, transform 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(255, 77, 77, 0.4);
}

.faq-item[open] {
  border-color: var(--primary-red);
}

.faq-summary {
  padding: 20px 24px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  list-style: none;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-red);
  transition: transform 0.3s ease;
}

.faq-item[open] .faq-summary::after {
  content: "−";
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px 22px 24px;
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.75;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 4px;
  padding-top: 16px;
}

.faq-answer strong {
  color: var(--text-main);
}

.faq-answer a {
  color: var(--primary-red);
  text-decoration: underline;
}
