/* ============================================================
   COLSHINE B2B - Dark Industrial Style
   ============================================================ */

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

:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #141414;
  --bg-card: #1a1a1a;
  --border-color: #2a2a2a;
  --text-primary: #f5f5f5;
  --text-secondary: #a0a0a0;
  --text-muted: #666666;
  --accent: #388E3C;
  --accent-hover: #43A047;
  --accent-dark: #2E7D32;
  --success: #22c55e;
  --error: #ef4444;
  --transition: 200ms ease-out;
}

html { scroll-behavior: smooth; }

body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(180deg, #0a0a0a 0%, #1a1f2e 100%);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  font-size: 16px;
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }

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

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

@media (max-width: 640px) {
  .container { padding: 0 16px; }
}

/* ============================================================
   Header / Navigation
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
}

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

.nav-logo img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 15px;
  padding: 8px 0;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switch {
  position: relative;
}

.lang-switch select {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: border-color var(--transition);
}

.lang-switch select:hover {
  border-color: var(--accent);
}

/* Mobile menu */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  position: relative;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px auto;
  transition: transform var(--transition), opacity var(--transition);
}

#nav-checkbox { display: none; }

@media (max-width: 1023px) {
  .nav-toggle { display: block; }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border-color);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
  }

  #nav-checkbox:checked ~ .nav-links {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  #nav-checkbox:checked ~ label .nav-toggle span { opacity: 0; }
  #nav-checkbox:checked ~ label .nav-toggle::before {
    transform: translateY(7px) rotate(45deg);
  }
  #nav-checkbox:checked ~ label .nav-toggle::after {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* ============================================================
   Breadcrumb
   ============================================================ */
.breadcrumb {
  padding: 20px 0;
  font-size: 14px;
  color: var(--text-muted);
}

.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .separator { margin: 0 8px; }

/* ============================================================
   Hero Section
   ============================================================ */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1f2e 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.5) 60%, transparent 100%);
}

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

.hero h1 {
  font-size: 3rem;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .hero { min-height: 420px; }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.4;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(56, 142, 60, 0.3);
}

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

.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-lg { padding: 16px 36px; font-size: 17px; }
.btn-block { width: 100%; }

/* ============================================================
   Section common
   ============================================================ */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .section { padding: 48px 0; }
  .section-header h2 { font-size: 1.75rem; }
  .section-header { margin-bottom: 32px; }
}

/* ============================================================
   Category Cards
   ============================================================ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 1023px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .category-grid { grid-template-columns: 1fr; }
}

.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: all var(--transition);
  position: relative;
}

.category-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.category-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.category-card-body {
  padding: 20px;
  text-align: center;
}

.category-card-body h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.category-card-body .cat-link {
  font-size: 14px;
  color: var(--accent);
}

/* ============================================================
   Stats Section
   ============================================================ */
.stats-section {
  background: linear-gradient(135deg, rgba(56, 142, 60, 0.1) 0%, rgba(10, 10, 10, 0.8) 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

@media (max-width: 1023px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 640px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

.stat-item .stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item .stat-label {
  font-size: 1rem;
  color: var(--text-secondary);
}

/* ============================================================
   Why Choose Us
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1023px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .features-grid { grid-template-columns: 1fr; }
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 28px 24px;
  transition: all var(--transition);
  text-align: center;
}

.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(56, 142, 60, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--accent);
  font-size: 24px;
  font-weight: 700;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* ============================================================
   Product Cards
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 1023px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .product-grid { grid-template-columns: 1fr; }
}

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

.product-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #111;
}

.product-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card .product-category {
  font-size: 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  margin-bottom: 8px;
}

.product-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.4;
  color: var(--text-primary);
  flex: 1;
}

.product-card-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.product-card-actions .btn {
  flex: 1;
  font-size: 13px;
  padding: 8px 12px;
}

/* ============================================================
   Video Section
   ============================================================ */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.video-grid.video-grid-4col {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1023px) {
  .video-grid.video-grid-4col { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .video-grid.video-grid-4col { grid-template-columns: 1fr; }
}

@media (max-width: 1023px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .video-grid { grid-template-columns: 1fr; }
}

.video-card {
  cursor: pointer;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: all var(--transition);
}

.video-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

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

.video-card:hover .video-thumb img {
  transform: scale(1.05);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(56, 142, 60, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.video-card:hover .video-play-btn {
  background: var(--accent-hover);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-play-btn::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px;
}

.video-card-body {
  padding: 16px 20px;
}

.video-card-body h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Video modal */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.video-modal:target { display: flex; }

.video-modal-content {
  width: 100%;
  max-width: 960px;
  position: relative;
}

.video-modal-close {
  position: absolute;
  top: -48px;
  right: 0;
  color: #fff;
  font-size: 32px;
  text-decoration: none;
  line-height: 1;
}

.video-modal-iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: 8px;
}

/* ============================================================
   News Cards
   ============================================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 1023px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .news-grid { grid-template-columns: 1fr; }
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-date {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.news-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
  color: var(--text-primary);
}

.news-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.news-card .read-more {
  font-size: 14px;
  font-weight: 600;
}

/* ============================================================
   CTA Section
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--accent-dark) 0%, #1a1f2e 100%);
  padding: 64px 0;
  text-align: center;
  border-radius: 16px;
  margin: 40px 0;
}

.cta-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-bottom: 24px;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 64px 0 0;
  margin-top: 80px;
}

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

@media (max-width: 1023px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.footer-col ul { list-style: none; }

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

.footer-col a {
  color: var(--text-secondary);
  font-size: 14px;
  transition: color var(--transition);
}

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

.footer-col p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 8px;
}

.footer-col .contact-item {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 24px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

/* Social icons */
.social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.social-links a:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ============================================================
   Inquiry Floating Panel
   ============================================================ */
.inquiry-panel {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  width: 320px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  transition: all var(--transition);
}

.inquiry-panel-header {
  background: var(--accent);
  color: #fff;
  padding: 14px 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.inquiry-panel-header .badge {
  background: rgba(255, 255, 255, 0.25);
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
}

#inquiry-toggle { display: none; }

.inquiry-panel-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

#inquiry-toggle:checked ~ .inquiry-panel-body {
  max-height: 400px;
  overflow-y: auto;
}

.inquiry-list {
  padding: 12px 16px;
}

.inquiry-item {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
  align-items: center;
}

.inquiry-item:last-child { border-bottom: none; }

.inquiry-item img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.inquiry-item-info { flex: 1; min-width: 0; }

.inquiry-item-info .name {
  font-size: 13px;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.inquiry-item-remove {
  color: var(--text-muted);
  cursor: pointer;
  font-size: 18px;
  padding: 0 4px;
  background: none;
  border: none;
}

.inquiry-item-remove:hover { color: var(--error); }

.inquiry-panel-footer {
  padding: 12px 16px;
  border-top: 1px solid var(--border-color);
}

.inquiry-empty {
  padding: 24px 16px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

@media (max-width: 640px) {
  .inquiry-panel { width: calc(100% - 32px); right: 16px; bottom: 16px; }
}

/* ============================================================
   Products Page - Sidebar Layout
   ============================================================ */
.products-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  padding: 40px 0;
}

@media (max-width: 1023px) {
  .products-layout { grid-template-columns: 1fr; }
}

.sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  height: fit-content;
  position: sticky;
  top: 92px;
}

@media (max-width: 1023px) {
  .sidebar { position: static; }
}

.sidebar h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.category-list { list-style: none; }

.category-list li { margin-bottom: 4px; }

.category-list a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 14px;
  transition: all var(--transition);
}

.category-list a:hover {
  background: rgba(56, 142, 60, 0.1);
  color: var(--accent);
}

.category-list a.active {
  background: var(--accent);
  color: #fff;
}

.products-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.products-header h1 {
  font-size: 1.75rem;
  font-weight: 700;
}

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

/* ============================================================
   Pagination
   ============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 14px;
  transition: all var(--transition);
}

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

.pagination .current {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.pagination .disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* ============================================================
   Product Detail
   ============================================================ */
.product-detail {
  padding: 40px 0;
}

.product-detail-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

@media (max-width: 1023px) {
  .product-detail-top { grid-template-columns: 1fr; gap: 32px; }
}

.product-detail-image {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.product-detail-info h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.2;
}

.product-detail-info .product-category {
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.product-detail-info .description {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.product-detail-info .inquiry-btn {
  width: 100%;
  max-width: 280px;
}

.specs-section {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 60px;
}

.specs-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr {
  border-bottom: 1px solid var(--border-color);
}

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

.specs-table td {
  padding: 12px 0;
  font-size: 14px;
}

.specs-table td:first-child {
  color: var(--text-muted);
  width: 200px;
  font-weight: 500;
}

.specs-table td:last-child {
  color: var(--text-primary);
}

.related-products h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
}

/* ============================================================
   About Page
   ============================================================ */
.page-hero {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, rgba(26, 31, 46, 0.8) 0%, rgba(10, 10, 10, 0.9) 100%);
  border-bottom: 1px solid var(--border-color);
}

.page-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.page-hero p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .page-hero { padding: 48px 0; }
  .page-hero h1 { font-size: 1.75rem; }
}

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

@media (max-width: 1023px) {
  .about-intro { grid-template-columns: 1fr; gap: 32px; }
}

.about-intro-text h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

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

.about-intro-image {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.about-intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Factory Tabs */
.factory-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1px;
}

.factory-tab {
  padding: 12px 24px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
  margin-bottom: -1px;
}

.factory-tab:hover { color: var(--text-primary); }

.factory-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.factory-tab-content {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
}

.factory-tab-content.active { display: block; }

.factory-tab-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 32px;
  align-items: center;
}

@media (max-width: 768px) {
  .factory-tab-inner { grid-template-columns: 1fr; padding: 20px; gap: 20px; }
}

.factory-tab-inner img {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.factory-tab-inner p {
  color: var(--text-secondary);
  line-height: 1.8;
}

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

@media (max-width: 1023px) {
  .mission-section { grid-template-columns: 1fr; }
}

.mission-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 32px;
  transition: all var(--transition);
}

.mission-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.mission-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--accent);
}

.mission-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 14px;
}

/* Certifications grid */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

@media (max-width: 1023px) {
  .cert-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
}

.cert-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: all var(--transition);
}

.cert-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.cert-card img {
  height: 50px;
  width: auto;
  margin: 0 auto 10px;
  object-fit: contain;
}

.cert-card .cert-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

/* Exhibition cards */
.exhibition-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 1023px) {
  .exhibition-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .exhibition-grid { grid-template-columns: 1fr; }
}

.exhibition-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: all var(--transition);
}

.exhibition-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.exhibition-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.exhibition-card-body {
  padding: 20px;
}

.exhibition-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.exhibition-card .exhibition-meta {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 10px;
}

.exhibition-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* ============================================================
   Capabilities Page
   ============================================================ */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-color);
  transform: translateX(-50%);
}

@media (max-width: 768px) {
  .timeline::before { left: 24px; }
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .timeline-item { grid-template-columns: 1fr; padding-left: 64px; gap: 16px; }
}

.timeline-item:nth-child(even) .timeline-content { grid-column: 2; }
.timeline-item:nth-child(odd) .timeline-content { grid-column: 1; text-align: right; }

@media (max-width: 768px) {
  .timeline-item:nth-child(even) .timeline-content,
  .timeline-item:nth-child(odd) .timeline-content {
    grid-column: 1;
    text-align: left;
  }
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: 0 0 0 4px rgba(56, 142, 60, 0.2);
}

@media (max-width: 768px) {
  .timeline-dot { left: 24px; }
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
}

.timeline-step {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.timeline-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.timeline-content p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.capability-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 1023px) {
  .capability-section { grid-template-columns: 1fr; gap: 32px; }
}

.capability-section .text h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.capability-section .text p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.capability-section .image {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.capability-section .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   Contact Page
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  padding: 40px 0;
}

@media (max-width: 1023px) {
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 32px;
  height: fit-content;
  position: sticky;
  top: 92px;
}

@media (max-width: 1023px) {
  .contact-info-card { position: static; }
}

.contact-info-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.contact-info-item {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(56, 142, 60, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 16px;
}

.contact-info-text h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.contact-info-text p,
.contact-info-text a {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 32px;
}

.contact-form-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.form-group label .required {
  color: var(--error);
  margin-left: 2px;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 14px;
  font-family: inherit;
  transition: border-color var(--transition);
  line-height: 1.5;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
}

.form-control::placeholder { color: var(--text-muted); }

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

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

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}

.selected-products-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 18px;
}

.selected-products-box h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--accent);
}

.selected-products-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.selected-product-tag {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--text-secondary);
}

/* Flash messages */
.flash-messages {
  margin-bottom: 20px;
}

.flash-message {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 10px;
  font-size: 14px;
  border: 1px solid transparent;
}

.flash-success {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.3);
  color: #4ade80;
}

.flash-error {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: #f87171;
}

.flash-warning {
  background: rgba(234, 179, 8, 0.1);
  border-color: rgba(234, 179, 8, 0.3);
  color: #facc15;
}

.flash-info {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
  color: #60a5fa;
}

/* ============================================================
   News Detail
   ============================================================ */
.news-detail {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}

.news-detail-header {
  margin-bottom: 32px;
  text-align: center;
}

.news-detail-header h1 {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .news-detail-header h1 { font-size: 1.5rem; }
}

.news-detail-meta {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.news-detail-image {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 32px;
  aspect-ratio: 16/9;
}

.news-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-detail-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.news-detail-content p { margin-bottom: 18px; }
.news-detail-content h2 { font-size: 1.5rem; margin: 32px 0 16px; color: var(--text-primary); }
.news-detail-content h3 { font-size: 1.25rem; margin: 24px 0 12px; color: var(--text-primary); }
.news-detail-content ul, .news-detail-content ol { margin: 16px 0 16px 24px; }
.news-detail-content li { margin-bottom: 8px; }
.news-detail-content strong { color: var(--text-primary); }
.news-detail-content a { color: var(--accent); }

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

.related-news h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
}

/* ============================================================
   Privacy / Static pages
   ============================================================ */
.static-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}

.static-page h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.static-page h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 32px 0 16px;
  color: var(--text-primary);
}

.static-page h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 24px 0 12px;
  color: var(--text-primary);
}

.static-page p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.static-page ul, .static-page ol {
  color: var(--text-secondary);
  margin: 16px 0 16px 24px;
  line-height: 1.8;
}

/* ============================================================
   RTL Support
   ============================================================ */
html[dir="rtl"] body { direction: rtl; text-align: right; }

html[dir="rtl"] .nav-links { flex-direction: row-reverse; }
html[dir="rtl"] .nav-right { flex-direction: row-reverse; }
html[dir="rtl"] .btn { text-align: center; }

html[dir="rtl"] .inquiry-panel { right: auto; left: 20px; }
html[dir="rtl"] .inquiry-item { flex-direction: row-reverse; }

@media (max-width: 640px) {
  html[dir="rtl"] .inquiry-panel { left: 16px; right: 16px; }
}

html[dir="rtl"] .timeline::before { right: 50%; left: auto; transform: translateX(50%); }
html[dir="rtl"] .timeline-dot { right: 50%; left: auto; transform: translateX(50%); }

@media (max-width: 768px) {
  html[dir="rtl"] .timeline::before { right: 24px; left: auto; transform: none; }
  html[dir="rtl"] .timeline-dot { right: 24px; left: auto; transform: none; }
  html[dir="rtl"] .timeline-item { padding-left: 0; padding-right: 64px; }
}

html[dir="rtl"] .timeline-item:nth-child(odd) .timeline-content { text-align: left; }
html[dir="rtl"] .timeline-item:nth-child(even) .timeline-content { text-align: right; }

@media (max-width: 768px) {
  html[dir="rtl"] .timeline-item:nth-child(even) .timeline-content,
  html[dir="rtl"] .timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
  }
}

html[dir="rtl"] .contact-info-item { flex-direction: row-reverse; }
html[dir="rtl"] .specs-table td:first-child { text-align: right; }
html[dir="rtl"] .feature-icon { margin: 0 auto 16px; }
html[dir="rtl"] .breadcrumb .separator { display: inline-block; transform: scaleX(-1); }
