/* ==========================================
   DESIGN SYSTEM & MODERN CORE STYLING
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Color Palette - Emerald Tech / Eco Premium */
  --primary-hue: 152;
  --primary-sat: 60%;
  --primary-light: 45%;
  --primary: hsl(var(--primary-hue), var(--primary-sat), var(--primary-light));
  --primary-hover: hsl(var(--primary-hue), var(--primary-sat), calc(var(--primary-light) - 8%));
  --primary-glow: hsla(var(--primary-hue), var(--primary-sat), var(--primary-light), 0.35);

  --accent-hue: 38;
  --accent: hsl(var(--accent-hue), 90%, 55%); /* Warm Gold */
  
  /* Theme-specific variables (Default: Dark Mode) */
  --bg: hsl(220, 28%, 7%);
  --bg-gradient: radial-gradient(circle at 50% 0%, hsl(220, 24%, 12%) 0%, hsl(220, 28%, 7%) 80%);
  --surface: rgba(23, 30, 43, 0.65);
  --surface-border: rgba(255, 255, 255, 0.08);
  --text-main: hsl(210, 20%, 95%);
  --text-muted: hsl(215, 15%, 70%);
  --text-inverse: hsl(220, 28%, 7%);
  --shadow: rgba(0, 0, 0, 0.5);
  --glass-blur: 16px;
  --card-hover-bg: rgba(30, 41, 59, 0.8);
}

/* Light Theme Variables */
[data-theme="light"] {
  --bg: hsl(210, 20%, 96%);
  --bg-gradient: linear-gradient(135deg, hsl(210, 20%, 96%) 0%, hsl(210, 20%, 90%) 100%);
  --surface: rgba(255, 255, 255, 0.75);
  --surface-border: rgba(0, 0, 0, 0.08);
  --text-main: hsl(220, 25%, 15%);
  --text-muted: hsl(215, 15%, 45%);
  --text-inverse: hsl(210, 20%, 96%);
  --shadow: rgba(15, 23, 42, 0.08);
  --card-hover-bg: rgba(255, 255, 255, 0.95);
}

/* Global Reset & Base Setup */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  background-image: var(--bg-gradient);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-hover);
}

/* ==========================================
   REUSABLE UTILITIES & LAYOUT SHAPES
   ========================================== */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.glass-panel {
  background: var(--surface);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--surface-border);
  box-shadow: 0 8px 32px 0 var(--shadow);
  border-radius: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  border: none;
  gap: 8px;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--primary-glow);
}

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

.btn-secondary:hover {
  background: var(--surface);
  transform: translateY(-2px);
}

.gradient-text {
  background: linear-gradient(135deg, var(--text-main) 30%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================
   NAVIGATION BAR
   ========================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 80px;
  transition: background 0.3s ease, height 0.3s ease;
}

.navbar.scrolled {
  background: var(--surface);
  backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid var(--surface-border);
  height: 70px;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo-container {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo-img {
  height: 46px;
  display: block;
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.5));
}

.nav-logo-img:hover {
  transform: scale(1.03);
  filter: drop-shadow(0 4px 8px rgba(16, 185, 129, 0.3)) drop-shadow(0 2px 5px rgba(0, 0, 0, 0.5));
}

.footer-logo-img {
  height: 38px;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

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

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
  cursor: pointer;
}

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

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

.icon-btn {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.icon-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: scale(1.05);
}

/* Language Toggle Custom */
.lang-btn {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  width: 44px;
}

/* Hamburger mobile menu */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
}

/* ==========================================
   HERO BANNER SECTION
   ========================================== */

.hero {
  padding-top: 160px;
  padding-bottom: 80px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  top: 15%;
  right: -5%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
  animation: float-slow 12s infinite alternate ease-in-out;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
}

.hero-media-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.hero-media-wrapper img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.hero-media-wrapper:hover img {
  transform: scale(1.03);
}

/* ==========================================
   ABOUT & SMART FACTORY
   ========================================== */

.section {
  padding: 100px 0;
}

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

.section-tag {
  color: var(--primary);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.section-desc {
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
}

.factory-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.factory-content h3 {
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
}

.factory-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-card {
  padding: 1.5rem;
  border-radius: 16px;
  text-align: center;
}

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

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.factory-media {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.factory-media img {
  width: 100%;
  display: block;
}

/* ==========================================
   PRODUCT CATEGORIES GALLERY (GRID)
   ========================================== */

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.product-card {
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-8px);
  background: var(--card-hover-bg);
  border-color: rgba(var(--primary-hue), var(--primary-sat), var(--primary-light), 0.3);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.product-image-wrapper {
  height: 200px;
  overflow: hidden;
  position: relative;
  background: hsl(220, 20%, 15%);
}

.product-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.product-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary);
  color: #fff;
  padding: 4px 12px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.product-info {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-info h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.product-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid var(--surface-border);
  padding-top: 1rem;
}

.spec-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--surface-border);
  padding: 2px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================
   PRICING CALCULATOR & TABLE
   ========================================== */

.price-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 992px) {
  .price-layout {
    grid-template-columns: 0.85fr 1.15fr;
  }
}

/* Calculator Card */
.calculator-card {
  padding: 2.5rem;
}

.calculator-card h3 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.form-select, .form-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--surface-border);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  color: var(--text-main);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-select:focus, .form-input:focus {
  border-color: var(--primary);
}

.calc-results {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--surface-border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.calc-val {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
}

.calc-total {
  font-size: 1.6rem;
  color: var(--primary);
}

/* Pricing Table Panel */
.table-panel {
  padding: 2rem;
  overflow-x: auto;
}

.table-wrapper {
  width: 100%;
  overflow-x: auto;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.pricing-table th, .pricing-table td {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--surface-border);
}

.pricing-table th {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.pricing-table tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.highlight-row {
  color: var(--primary);
  font-weight: 600;
}

/* ==========================================
   MEDIA / VIDEO GALLERY CENTER
   ========================================== */

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.media-card {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.media-card-portrait {
  aspect-ratio: 9/16;
}

.media-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.media-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.2rem;
  transition: background 0.3s ease;
}

.media-card:hover .media-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.1) 100%);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: 50px;
  height: 50px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px var(--primary-glow);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding-left: 3px; /* visual center for triangle */
}

.media-card:hover .play-button {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--accent);
  box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
}

.media-title {
  font-size: 0.95rem;
  color: #fff;
  font-weight: 600;
  line-height: 1.3;
}

.media-duration {
  font-size: 0.75rem;
  color: var(--accent);
  margin-top: 4px;
  display: block;
}

/* ==========================================
   INQUIRY / CONTACT FORM
   ========================================== */

.inquiry-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .inquiry-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info-panel {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-panel h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.contact-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-glow);
  border: 1px solid rgba(var(--primary-hue), var(--primary-sat), var(--primary-light), 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-text h4 {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 3px;
}

.contact-text p, .contact-text a {
  font-size: 1.05rem;
  color: var(--text-main);
  text-decoration: none;
}

.contact-text a:hover {
  color: var(--primary);
}

.inquiry-form {
  padding: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

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

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

/* ==========================================
   VIDEO PLAYER MODAL
   ========================================== */

.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: zoom-out; /* Click anywhere on backdrop to close */
}

.modal.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 900px;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--surface-border);
  cursor: default; /* Keep standard cursor over video */
}

.modal-content video {
  width: 100%;
  display: block;
}

.video-frame-header {
  background: hsl(220, 24%, 12%);
  border-bottom: 1px solid var(--surface-border);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  position: relative;
  user-select: none;
}

.video-frame-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.dot-close {
  background: #ef4444; /* macOS close red */
}

.dot-minimize {
  background: #f59e0b; /* macOS minimize yellow */
}

.dot-maximize {
  background: #10b981; /* macOS maximize green */
}

.video-frame-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.modal-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 0.95rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2010;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-close:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.05);
  box-shadow: 0 4px 15px var(--primary-glow);
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
  background: hsl(220, 28%, 5%);
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, transparent, var(--primary) 50%, transparent) 1;
  padding: 80px 0 40px 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 60px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 1fr;
  }
}

@media (min-width: 992px) {
  .footer-grid {
    grid-template-columns: 1.3fr 0.8fr 0.8fr 1.3fr;
    gap: 4rem;
  }
}

.footer-brand p.footer-desc {
  margin-top: 15px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 25px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 1rem;
}

.footer-socials a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px var(--primary-glow);
}

.footer-links h4, .footer-contact h4 {
  font-family: 'Outfit', sans-serif;
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.footer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-menu a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.footer-menu a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.contact-location {
  margin-bottom: 20px;
}

.contact-location:last-child {
  margin-bottom: 0;
}

.location-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-family: 'Outfit', sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.na-badge {
  background: rgba(59, 130, 246, 0.12);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.factory-badge {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.facility-badge {
  background: rgba(107, 114, 128, 0.15);
  color: #9ca3af;
  border: 1px solid rgba(107, 114, 128, 0.25);
}

.contact-location p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

.contact-location p strong {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
}

.contact-location p a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-location p a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid var(--surface-border);
  padding-top: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

@media (min-width: 576px) {
  .footer-bottom {
    flex-direction: row;
  }
}

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

.footer-bottom p.tagline {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
}

/* ==========================================
   KEYFRAME ANIMATIONS
   ========================================== */

@keyframes float-slow {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  100% {
    transform: translateY(-20px) rotate(5deg);
  }
}

/* Language Visibility Toggles */
[data-lang="zh"] .lang-en {
  display: none !important;
}
[data-lang="en"] .lang-zh {
  display: none !important;
}

/* Responsive Overrides */
@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-content h1 {
    font-size: 2.8rem;
  }
  .factory-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 767px) {
  .navbar {
    height: 70px;
  }
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 3rem 2rem;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
  }
  .nav-menu.active {
    transform: translateX(0);
  }
  .menu-toggle {
    display: flex;
  }
}
