/* ============================================
   KING METAL — Modern Bright Industrial Theme
   2026 Redesign — Professional & Readable
   ============================================ */

/* CSS Variables */
:root {
  --color-bg: #ffffff;
  --color-bg-warm: #fafbfc;
  --color-bg-section: #f4f6f8;
  --color-bg-card: #ffffff;
  --color-border: #e5e7eb;
  --color-border-light: #f3f4f6;
  --color-border-strong: #d1d5db;

  --color-text: #111827;
  --color-text-secondary: #4b5563;
  --color-text-muted: #6b7280;
  --color-text-light: #9ca3af;

  --color-brand: #1e40af;
  --color-brand-light: #3b82f6;
  --color-brand-dark: #1e3a8a;
  --color-brand-glow: rgba(30, 64, 175, 0.1);

  --color-accent: #dc2626;
  --color-success: #059669;
  --color-warning: #d97706;

  --font-display: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.1);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.4s ease;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition-fast); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

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

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
  background: var(--color-brand-dark);
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  padding: 8px 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left {
  display: flex;
  gap: 24px;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar .icon {
  width: 14px;
  height: 14px;
  opacity: 0.8;
}

.top-bar a:hover { color: #fff; }

/* ============================================
   NAVIGATION
   ============================================ */
.main-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 68px;
}

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

.logo-mark {
  height: 40px;
  color: var(--color-brand);
  flex-shrink: 0;
}

.logo-mark svg { width: 100%; height: 100%; }

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

.logo-primary {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  color: var(--color-brand);
}

.logo-secondary {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 500;
}

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

.nav-link {
  display: block;
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: var(--color-brand);
  background: var(--color-brand-glow);
}

.nav-link.active {
  color: var(--color-brand);
  font-weight: 600;
}

.nav-cta {
  background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-light) 100%);
  color: #fff !important;
  margin-left: 8px;
  box-shadow: 0 2px 8px rgba(30, 64, 175, 0.25);
}

.nav-cta:hover {
  background: linear-gradient(135deg, var(--color-brand-dark) 0%, var(--color-brand) 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(30, 64, 175, 0.35);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--color-text);
  border-radius: 1px;
  transition: all var(--transition-fast);
}

.mobile-menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   HERO SECTION
   ============================================ */
/* ============================================
   HERO CAROUSEL
   ============================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: 600px;
}

.hero-carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.85) 50%, rgba(255,255,255,0.75) 100%);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
  z-index: 10;
  box-shadow: var(--shadow-md);
}

.carousel-btn:hover {
  background: #fff;
  border-color: var(--color-brand);
  box-shadow: var(--shadow-lg);
}

.carousel-btn svg {
  width: 24px;
  height: 24px;
  color: var(--color-text);
}

.carousel-prev { left: 24px; }
.carousel-next { right: 24px; }

.carousel-indicators {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid var(--color-border);
  cursor: pointer;
  transition: all var(--transition-base);
}

.indicator:hover {
  background: rgba(255, 255, 255, 0.8);
}

.indicator.active {
  background: var(--color-brand);
  border-color: var(--color-brand);
  transform: scale(1.2);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0 100px;
}

/* Hero Content Styles */
.hero .container {
  position: relative;
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 60%; height: 100%;
  background: url("../images/banner1.jpg?w=1200&h=800&fit=crop") center/cover;
  opacity: 0.12;
  mask-image: linear-gradient(to right, transparent 0%, black 40%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 40%);
}

.hero .container {
  position: relative;
  z-index: 1;
  padding: 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.badge-dot {
  width: 7px; height: 7px;
  background: var(--color-success);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(5, 150, 105, 0.4);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--color-text);
  margin-bottom: 20px;
}

.title-accent {
  color: var(--color-brand);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--color-text-secondary);
  max-width: 520px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--color-brand);
}

.stat-label {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 44px;
  background: var(--color-border-strong);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-light) 100%);
  color: #fff;
  box-shadow: 0 3px 12px rgba(30, 64, 175, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 64, 175, 0.35);
}

.btn-secondary {
  background: #fff;
  color: var(--color-text);
  border: 1.5px solid var(--color-border-strong);
}

.btn-secondary:hover {
  border-color: var(--color-brand);
  color: var(--color-brand);
  background: var(--color-brand-glow);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-border-strong);
}

.btn-outline:hover {
  border-color: var(--color-brand);
  color: var(--color-brand);
  background: var(--color-brand-glow);
}

.btn-light {
  background: #fff;
  color: var(--color-brand);
}

.btn-light:hover {
  background: #f8fafc;
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
}

.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}

.btn-sm { padding: 8px 18px; font-size: 0.82rem; }
.btn-full { width: 100%; }
.btn-ghost {
  background: transparent;
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border);
}
.btn-ghost:hover { color: var(--color-text); border-color: var(--color-border-strong); }

.btn-icon, .btn-icon-left {
  width: 16px; height: 16px;
  transition: transform var(--transition-fast);
}
.btn:hover .btn-icon { transform: translateX(3px); }

.codeimg { margin: 10px 0;}
/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 80px 0; }

.section-header {
  margin-bottom: 48px;
  max-width: 600px;
}

.section-header.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-brand);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--color-text);
  margin-bottom: 12px;
}

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

.section-footer {
  margin-top: 48px;
  text-align: center;
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.products-section { background: var(--color-bg-section); }

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

.product-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  border-color: var(--color-border-strong);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.product-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f1f5f9;
}

.product-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-image img {
  transform: scale(1.06);
}

.product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 64, 175, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.product-card:hover .product-overlay { opacity: 1; }

.product-link {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #fff;
  color: var(--color-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.8);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-link svg { width: 20px; height: 20px; }
.product-card:hover .product-link { transform: scale(1); }

.product-info { padding: 20px; }

.product-info h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-text);
}

.product-info p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

.product-tag {
  display: inline-block;
  padding: 3px 12px;
  background: var(--color-brand-glow);
  border: 1px solid rgba(30, 64, 175, 0.15);
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-brand);
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section { overflow: hidden; }

.features-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

.feature-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.feature-item:hover {
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.feature-icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-light) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.feature-icon svg { width: 22px; height: 22px; }

.feature-text h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--color-text);
}

.feature-text p {
  font-size: 0.87rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.features-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.features-image img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.features-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 3px solid var(--color-brand);
  border-radius: var(--radius-xl);
  opacity: 0.08;
  pointer-events: none;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section { padding: 40px 0; }

.cta-card {
  position: relative;
  background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-dark) 100%);
  border-radius: var(--radius-xl);
  padding: 60px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

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

.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #fff;
  margin-bottom: 12px;
}

.cta-content p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 28px;
  font-size: 1.05rem;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #0f172a;
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}

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

.footer .logo-primary { color: #fff; }

.footer-desc {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.5);
  margin-top: 14px;
  line-height: 1.7;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social a {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--color-brand);
  border-color: var(--color-brand);
  color: #fff;
  transform: translateY(-2px);
}

.footer-social svg { width: 17px; height: 17px; }

.footer-links h4,
.footer-contact h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 16px;
}

.footer-links ul,
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a,
.footer-contact li {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  transition: color var(--transition-fast);
}

.footer-links a:hover { color: #fff; }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-contact svg {
  width: 16px; height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  color: rgba(255,255,255,0.4);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
  position: relative;
  padding: 56px 0 40px;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 40%; height: 100%;
  background: radial-gradient(circle at 80% 50%, rgba(30, 64, 175, 0.06) 0%, transparent 60%);
}

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

.breadcrumb svg { width: 14px; height: 14px; }
.breadcrumb a:hover { color: var(--color-brand); }

.page-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1;
  color: var(--color-text);
  margin-bottom: 12px;
}

.page-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  max-width: 560px;
}

.page-section { padding: 56px 0; }

/* ============================================
   PRODUCTS PAGE
   ============================================ */
.products-page-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
}

.products-sidebar {
  position: sticky;
  top: 88px;
}

.sidebar-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.sidebar-card h3 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.category-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.category-list a {
  display: block;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  transition: all var(--transition-fast);
}

.category-list a:hover,
.category-list a.active {
  background: var(--color-brand-glow);
  color: var(--color-brand);
}

.category-list a.active { font-weight: 600; }

.sidebar-contact p {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}

.products-toolbar {
  display: flex;
  justify-content: end;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}

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

.sort-select {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 6px 14px;
  color: var(--color-text-secondary);
  font-size: 0.84rem;
  cursor: pointer;
}

.sort-select:focus {
  outline: none;
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px var(--color-brand-glow);
}

.products-grid-large {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-card-large {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 0;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.product-card-large:hover {
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.product-image-large {
  position: relative;
  overflow: hidden;
  background: #f1f5f9;
}

.product-image-large img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.product-badge {
  position: absolute;
  top: 12px; left: 12px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.badge-bestseller { background: var(--color-brand); color: #fff; }
.badge-stock { background: var(--color-success); color: #fff; }
.badge-premium { background: var(--color-warning); color: #fff; }
.badge-custom { background: #7c3aed; color: #fff; }
.badge-new { background: #db2777; color: #fff; }
.badge-specialty { background: #0891b2; color: #fff; }

.product-info-large {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-info-large h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}

.product-specs {
  font-size: 0.78rem;
  color: var(--color-brand);
  margin-bottom: 8px;
  font-family: 'SF Mono', monospace;
  background: var(--color-brand-glow);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  display: inline-block;
}

.product-info-large .product-desc {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
  margin-bottom: 16px;
}

.product-actions {
  display: flex;
  gap: 10px;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

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

.page-nav { display: flex; gap: 4px; }

.page-btn {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 500;
  background: #fff;
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  transition: all var(--transition-fast);
}

.page-btn:not(:disabled):hover {
  border-color: var(--color-brand);
  color: var(--color-brand);
}

.page-btn.active {
  background: var(--color-brand);
  color: #fff;
  border-color: var(--color-brand);
}

.page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: start;
}

.about-content .lead {
  font-size: 1.18rem;
  color: var(--color-text);
  margin-bottom: 20px;
  line-height: 1.7;
  font-weight: 500;
}

.about-content p {
  color: var(--color-text-secondary);
  margin-bottom: 14px;
  line-height: 1.8;
}

.about-values {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.value-item {
  display: flex;
  gap: 14px;
  padding: 16px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.value-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-border-strong);
}

.value-icon {
  width: 42px; height: 42px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-light) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.value-icon svg { width: 20px; height: 20px; }

.value-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 3px;
}

.value-item p {
  font-size: 0.84rem;
  color: var(--color-text-muted);
  margin: 0;
}

.about-visual { position: relative; }

.about-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-image img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.about-accent {
  position: absolute;
  top: -16px; left: -16px;
  width: 100px; height: 100px;
  border: 3px solid var(--color-brand);
  border-radius: var(--radius-lg);
  opacity: 0.15;
  z-index: -1;
}

.about-quote {
  margin-top: 20px;
  padding: 24px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.about-quote::before {
  content: '"';
  font-size: 4rem;
  line-height: 1;
  color: var(--color-brand);
  opacity: 0.15;
  position: absolute;
  top: 4px; left: 16px;
}

.about-quote blockquote {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.about-quote cite {
  font-size: 0.78rem;
  font-style: normal;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* Timeline */
.timeline-section { background: var(--color-bg-section); }

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 18px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--color-brand), var(--color-brand-light));
  border-radius: 1px;
}

.timeline-item {
  position: relative;
  padding-top: 44px;
}

.timeline-year {
  position: absolute;
  top: 0; left: 0;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--color-brand);
  background: var(--color-bg-section);
  padding-right: 12px;
}

.timeline-content h4 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}

.timeline-content p {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================
   NEWS PAGE
   ============================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.news-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.news-card:hover {
  border-color: var(--color-border-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.news-card.featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
}

.news-image {
  position: relative;
  overflow: hidden;
  background: #f1f5f9;
}

.news-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  aspect-ratio: 16/10;
}

.news-card.featured .news-image img {
  aspect-ratio: auto;
  height: 100%;
}

.news-category {
  position: absolute;
  top: 16px; left: 16px;
  padding: 5px 14px;
  background: var(--color-brand);
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
}

.news-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-card.featured .news-content { padding: 32px; }

.news-meta {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.news-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 12px;
  line-height: 1.4;
}

.news-card.featured .news-content h3 { font-size: 1.35rem; }

.news-content p {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.news-readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-brand);
  transition: all var(--transition-fast);
}

.news-readmore:hover { color: var(--color-brand-dark); }

.news-readmore::after {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 5px solid currentColor;
  transition: transform var(--transition-fast);
}

.news-readmore:hover::after { transform: translateX(4px); }

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-info-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 12px;
}

.contact-info-panel > p {
  color: var(--color-text-secondary);
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-method {
  display: flex;
  gap: 14px;
  padding: 16px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.contact-method:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-border-strong);
}

.contact-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-light) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.contact-icon svg { width: 20px; height: 20px; }

.contact-method h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 3px;
}

.contact-method p {
  font-size: 0.87rem;
  color: var(--color-text-secondary);
}

.contact-note {
  font-size: 0.76rem !important;
  color: var(--color-text-muted) !important;
}

/* Form */
.form-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.form-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 4px;
}

.form-card > p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 11px 14px;
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px var(--color-brand-glow);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-light);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Map */
.map-section { padding-top: 0; }

.map-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.map-card iframe {
  display: block;
  filter: grayscale(0.3) contrast(1.1);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .features-layout { grid-template-columns: 1fr; gap: 48px; }
  .features-visual { order: -1; }
  .features-image img { aspect-ratio: 16/9; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .products-page-layout { grid-template-columns: 1fr; }
  .products-sidebar { position: static; order: 1; }
  .about-layout { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(3, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .top-bar { display: none; }
  .nav-container { height: 60px; }
  .mobile-menu-toggle { display: flex; }

  .nav-menu {
    position: fixed;
    top: 0; right: -100%;
    width: 80%; max-width: 300px;
    height: 100vh;
    background: #fff;
    border-left: 1px solid var(--color-border);
    flex-direction: column;
    align-items: stretch;
    padding: 80px 24px 24px;
    gap: 4px;
    transition: right var(--transition-slow);
    z-index: 1000;
    box-shadow: var(--shadow-xl);
  }

  .nav-menu.open { right: 0; }
  .nav-link { padding: 12px 16px; font-size: 1rem; }
  .nav-cta { margin-left: 0; margin-top: 8px; }

  .hero-title { font-size: clamp(2.2rem, 10vw, 3.2rem); }
  .hero { padding: 60px 0 80px; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .stat-divider { display: none; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }

  .products-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .section-title { font-size: clamp(1.8rem, 5vw, 2.2rem); }
  .cta-actions { flex-direction: column; }
  .cta-card { padding: 36px 24px; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .product-card-large { grid-template-columns: 1fr; }
  .product-image-large img { aspect-ratio: 16/9; }

  .news-grid { grid-template-columns: 1fr; }
  .news-card.featured {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

  .timeline { grid-template-columns: 1fr; gap: 32px; }
  .timeline::before { display: none; }
  .timeline-item {
    padding-top: 0;
    padding-left: 24px;
    border-left: 2px solid var(--color-brand);
  }
  .timeline-year { position: static; padding: 0; margin-bottom: 6px; }

  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero { padding: 48px 0 64px; }
  .section { padding: 48px 0; }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

a:focus-visible, button:focus-visible,
input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 2px;
}

::selection {
  background: var(--color-brand-glow);
  color: var(--color-brand-dark);
}

/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */

/* Product Detail Grid */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

/* Product Images */
.product-images {
  position: sticky;
  top: 100px;
  align-self: start;
}

.product-main-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-section);
  margin-bottom: 16px;
}

.product-main-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-main-image:hover img {
  transform: scale(1.05);
}

.image-zoom-hint {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  box-shadow: var(--shadow-sm);
}

.image-zoom-hint svg {
  width: 16px;
  height: 16px;
  stroke: var(--color-text-muted);
}

.product-thumbnails {
  display: flex;
  gap: 12px;
}

.thumbnail {
  flex: 1;
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid transparent;
  transition: all var(--transition-base);
  cursor: pointer;
  padding: 0;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbnail:hover {
  border-color: var(--color-brand-light);
  opacity: 0.9;
}

.thumbnail.active {
  border-color: var(--color-brand);
}

/* Product Info Panel */
.product-info-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.product-badges {
  display: flex;
  gap: 8px;
}

.badge {
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-bestseller {
  background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-light) 100%);
  color: white;
}

.badge-stock {
  background: #dcfce7;
  color: var(--color-success);
}

.product-info-panel h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin: 0;
}

.product-key-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 20px;
  background: var(--color-bg-section);
  border-radius: var(--radius-md);
}

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

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

.spec-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-brand-dark);
}

.product-description {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.product-features h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--color-text);
}

.product-features ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.product-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--color-text-secondary);
}

.product-features li::before {
  content: "✓";
  color: var(--color-success);
  font-weight: 700;
  font-size: 1rem;
}

.product-actions-panel {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--color-border-strong);
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.btn-outline svg {
  width: 18px;
  height: 18px;
}

.contact-quick-info {
  display: flex;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border-light);
}

.quick-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quick-contact-item svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-brand);
  flex-shrink: 0;
}

.quick-contact-item .label {
  display: block;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-bottom: 2px;
}

.quick-contact-item .value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
}

/* Product Tabs */
.product-tabs {
  margin-top: 64px;
  border-top: 1px solid var(--color-border);
  padding-top: 48px;
}

.tabs-header {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  border-bottom: 2px solid var(--color-border-light);
  overflow-x: auto;
}

.tab-btn {
  padding: 14px 24px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: all var(--transition-base);
}

.tab-btn:hover {
  color: var(--color-brand);
}

.tab-btn.active {
  color: var(--color-brand);
  border-bottom-color: var(--color-brand);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Specifications Table */
.specs-table-container {padding: 10px 30px;}
.specs-table-container h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  margin-top: 32px;
}

.specs-table-container h3:first-child {
  margin-top: 0;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.specs-table thead {
  background: var(--color-brand);
  color: white;
}

.specs-table th,
.specs-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--color-border-light);
}

.specs-table th {
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.specs-table tbody tr:hover {
  background: var(--color-bg-warm);
}

/* Applications Grid */
.applications-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.application-card {
  padding: 28px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.application-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.app-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--color-brand-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.app-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-brand);
}

.application-card h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--color-text);
}

.application-card p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* Standards List */
.standards-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.standard-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.standard-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.standard-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-success);
}

.standard-info h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--color-text);
}

.standard-info p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.quality-note {
  padding: 24px;
  background: linear-gradient(135deg, var(--color-brand-glow) 0%, rgba(59, 130, 246, 0.05) 100%);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-brand);
}

.quality-note h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--color-brand-dark);
}

.quality-note p {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  text-align: left;
  transition: all var(--transition-base);
}

.faq-question:hover {
  background: var(--color-bg-warm);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-text-muted);
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 24px 20px;
}

.faq-item.active .faq-answer {
  display: block;
  animation: fadeIn 0.3s ease;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* Related Products */
.related-products {
  margin-top: 80px;
  padding-top: 48px;
  border-top: 1px solid var(--color-border);
}

.related-products h3 {
  font-size: 1.8rem;
  margin-bottom: 32px;
}

/* Product Card (smaller version) */
.product-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.product-card .product-image {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.product-card .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.product-card .product-info {
  padding: 20px;
}

.product-card h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--color-text);
}

.product-card .product-specs {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

/* Responsive */
@media (max-width: 1024px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .product-images {
    position: static;
  }

  .applications-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .standards-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .product-key-specs {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .product-features ul {
    grid-template-columns: 1fr;
  }

  .product-actions-panel {
    flex-direction: column;
  }

  .contact-quick-info {
    flex-direction: column;
    gap: 16px;
  }

  .tabs-header {
    flex-wrap: wrap;
    border-bottom: none;
  }

  .tab-btn {
    padding: 10px 16px;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
  }

  .tab-btn.active {
    background: var(--color-brand);
    color: white;
    border-color: var(--color-brand);
  }

  .applications-grid {
    grid-template-columns: 1fr;
  }

  .specs-table th,
  .specs-table td {
    padding: 10px 12px;
    font-size: 0.85rem;
  }
}



/* ============================================
   NEWS DETAIL PAGE
   ============================================ */

/* News Detail Layout */
.news-detail-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  margin-bottom: 64px;
}

/* News Detail Content */
.news-detail-content {
  min-width: 0;
}

/* Featured Image */
.news-featured-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
}

.news-featured-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 2/1;
  object-fit: cover;
}

.news-category-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 8px 16px;
  background: var(--color-brand);
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-sm);
}

/* Article Meta */
.article-meta {
  display: flex;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border-light);
  margin-bottom: 32px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.meta-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-brand);
}

/* Article Content */
.article-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
}

.article-content h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: -0.5px;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--color-text);
}

.article-content h3 {
  font-size: 1.5rem;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--color-text);
}

.article-content p {
  margin-bottom: 20px;
}

.article-content ul,
.article-content ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.article-content ul {
  list-style: none;
  padding-left: 0;
}

.article-content ul li,
.article-content ol li {
  margin-bottom: 12px;
  line-height: 1.7;
}

.article-content ul li::before {
  content: "▸";
  color: var(--color-brand);
  margin-right: 12px;
}

.article-content ol {
  list-style: decimal;
}

.article-content blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  background: linear-gradient(135deg, var(--color-brand-glow) 0%, rgba(59, 130, 246, 0.05) 100%);
  border-left: 4px solid var(--color-brand);
  border-radius: var(--radius-md);
}

.article-content blockquote p {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--color-text);
  margin-bottom: 12px;
}

.article-content blockquote cite {
  display: block;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-style: normal;
}

.article-content strong {
  color: var(--color-text);
  font-weight: 600;
}

/* Article Tags */
.article-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.tag-label {
  font-weight: 600;
  color: var(--color-text);
  margin-right: 8px;
}

.tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--color-bg-section);
  color: var(--color-text-secondary);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  transition: all var(--transition-base);
}

.tag:hover {
  background: var(--color-brand);
  color: white;
}

/* Article Share */
.article-share {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.share-label {
  font-weight: 600;
  color: var(--color-text);
}

.share-buttons {
  display: flex;
  gap: 8px;
}

.share-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.share-btn svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-text-muted);
}

.share-btn:hover {
  background: var(--color-brand);
  border-color: var(--color-brand);
}

.share-btn:hover svg {
  stroke: white;
}

/* Article Navigation */
.article-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
  padding-top: 40px;
}

.nav-link-prev,
.nav-link-next {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.nav-link-prev svg,
.nav-link-next svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-brand);
  flex-shrink: 0;
}

.nav-link-prev:hover,
.nav-link-next:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.nav-label {
  display: block;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.nav-title {
  font-weight: 600;
  color: var(--color-text);
  font-size: 0.95rem;
}

.nav-link-next {
  text-align: right;
  justify-content: flex-end;
}

/* News Sidebar */
.news-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.sidebar-widget {
  background: white;
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.sidebar-widget h4 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: var(--color-text);
}

/* Search Form */
.search-form {
  display: flex;
  gap: 8px;
}

.search-input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.search-input:focus {
  outline: none;
  border-color: var(--color-brand);
}

.search-btn {
  width: 40px;
  height: 40px;
  background: var(--color-brand);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.search-btn svg {
  width: 20px;
  height: 20px;
  stroke: white;
}

.search-btn:hover {
  background: var(--color-brand-dark);
}

/* Category List */
.category-list li {
  margin-bottom: 8px;
}

.category-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--color-border-light);
  transition: all var(--transition-fast);
}

.category-list a:hover {
  color: var(--color-brand);
  padding-left: 8px;
}

.category-list .count {
  background: var(--color-bg-section);
  padding: 2px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* Recent Posts */
.recent-posts li {
  margin-bottom: 16px;
}

.recent-posts a {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  transition: all var(--transition-fast);
}

.recent-posts a:hover {
  opacity: 0.8;
}

.recent-posts img {
  width: 80px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.recent-posts h5 {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 4px;
  line-height: 1.4;
}

.recent-posts time {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* Newsletter Widget */
.newsletter-widget {
  background: linear-gradient(135deg, var(--color-brand-glow) 0%, rgba(59, 130, 246, 0.05) 100%);
  border-left: 4px solid var(--color-brand);
}

.newsletter-widget p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.newsletter-form input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

/* Tags Cloud */
.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags-cloud .tag {
  font-size: 0.8rem;
  padding: 5px 12px;
}

/* Related Articles */
.related-articles {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--color-border);
}

.related-articles h3 {
  font-size: 1.8rem;
  margin-bottom: 32px;
}

/* Responsive */
@media (max-width: 1024px) {
  .news-detail-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .news-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .sidebar-widget {
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  .article-meta {
    flex-direction: column;
    gap: 12px;
  }

  .article-navigation {
    grid-template-columns: 1fr;
  }

  .nav-link-next {
    text-align: left;
    justify-content: flex-start;
  }

  .news-sidebar {
    grid-template-columns: 1fr;
  }

  .article-share {
    flex-direction: column;
    align-items: flex-start;
  }
}
