/* ================================================
   HENGLI STEEL - JMweb2 Tech Showcase
   Dark Theme + Gradient + 3D Effects
   ================================================ */

/* ---------- CSS Variables ---------- */
:root {
  /* Colors - Industrial Blue & Gold */
  --bg-primary: #0A0F1A;
  --bg-secondary: #0F172A;
  --bg-card: #111827;
  --accent-primary: #1E40AF;
  --accent-secondary: #F59E0B;
  --accent-gold: #FBBF24;
  --accent-blue: #60A5FA;
  --accent-teal: #14B8A6;
  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  
  /* Gradients - Blue to Gold */
  --gradient-main: linear-gradient(135deg, var(--accent-primary) 0%, #3B82F6 50%, var(--accent-secondary) 100%);
  --gradient-card: linear-gradient(145deg, rgba(30, 64, 175, 0.15) 0%, rgba(245, 158, 11, 0.05) 100%);
  --gradient-glow: radial-gradient(circle, rgba(245, 158, 11, 0.25) 0%, transparent 70%);
  
  /* Shadows */
  --shadow-glow: 0 0 40px rgba(245, 158, 11, 0.25);
  --shadow-card: 0 20px 60px rgba(0, 0, 0, 0.5);
  
  /* Animation */
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  
  /* Typography */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* ---------- Reset & Base ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Custom Scrollbar ---------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-secondary);
}

/* ---------- Particles Background ---------- */
#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ---------- Cursor Glow Effect ---------- */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition-smooth);
}

.nav.scrolled {
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(20px);
  padding: 12px 0;
  border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-main);
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition-smooth);
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 20% 20%, rgba(30, 64, 175, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(245, 158, 11, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 100px;
  font-size: 0.875rem;
  color: var(--accent-secondary);
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease forwards;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent-gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

.hero-title .gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
  animation: fadeInUp 0.8s ease 0.4s forwards;
  opacity: 0;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s forwards;
  opacity: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-main);
  color: white;
  box-shadow: 0 10px 40px rgba(245, 158, 11, 0.35);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: 0.6s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 60px rgba(245, 158, 11, 0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.2);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.05);
  border-color: var(--accent-secondary);
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  animation: bounce 2s infinite;
}

.scroll-indicator svg {
  width: 24px;
  height: 24px;
}

/* ---------- Section Base ---------- */
.section {
  position: relative;
  z-index: 10;
  padding: 120px 0;
}

.section-dark {
  background: var(--bg-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- Video Showcase ---------- */
.video-showcase {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
  position: relative;
  overflow: hidden;
}

.video-showcase::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* 中英文双语显示 */
.video-title-cn,
.video-desc-cn {
  display: none;
}

html[lang="zh"] .video-title-cn,
html[lang="zh-TW"] .video-title-cn,
html[lang="ja"] .video-title-cn,
html[lang="ko"] .video-title-cn,
html[lang="zh"] .video-desc-cn,
html[lang="zh-TW"] .video-desc-cn,
html[lang="ja"] .video-desc-cn,
html[lang="ko"] .video-desc-cn {
  display: inline;
  color: var(--accent);
}

html[lang="zh"] .video-title-cn + span,
html[lang="zh-TW"] .video-title-cn + span,
html[lang="ja"] .video-title-cn + span,
html[lang="ko"] .video-title-cn + span,
html[lang="zh"] .video-desc-cn + span,
html[lang="zh-TW"] .video-desc-cn + span,
html[lang="ja"] .video-desc-cn + span,
html[lang="ko"] .video-desc-cn + span {
  display: none;
}

.video-title-cn::before,
.video-desc-cn::before {
  content: '\A';
  white-space: pre;
}

html[lang="en"] .video-title-cn,
html[lang="es"] .video-title-cn,
html[lang="fr"] .video-title-cn,
html[lang="de"] .video-title-cn,
html[lang="pt"] .video-title-cn,
html[lang="it"] .video-title-cn,
html[lang="ru"] .video-title-cn,
html[lang="ar"] .video-title-cn,
html[lang="hi"] .video-title-cn {
  display: none;
}

html[lang="en"] .video-title-cn + span,
html[lang="es"] .video-title-cn + span,
html[lang="fr"] .video-title-cn + span,
html[lang="de"] .video-title-cn + span,
html[lang="pt"] .video-title-cn + span,
html[lang="it"] .video-title-cn + span,
html[lang="ru"] .video-title-cn + span,
html[lang="ar"] .video-title-cn + span,
html[lang="hi"] .video-title-cn + span {
  display: inline;
}

.video-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.video-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 
              0 0 0 1px rgba(245, 158, 11, 0.2),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.video-container video {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, 
    rgba(10, 15, 26, 0.3) 0%, 
    rgba(10, 15, 26, 0.5) 50%,
    rgba(10, 15, 26, 0.8) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.video-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.video-overlay:hover .play-btn {
  transform: scale(1.1);
  box-shadow: 0 0 60px rgba(245, 158, 11, 0.5);
}

.play-btn {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--accent-secondary), var(--accent-gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 0 40px rgba(245, 158, 11, 0.4);
  transition: var(--transition-smooth);
}

.play-btn svg {
  width: 40px;
  height: 40px;
  color: var(--bg-primary);
  margin-left: 5px;
}

.video-overlay span {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.video-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-secondary), var(--accent-gold));
  transition: width 0.1s linear;
}

.video-decoration {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: -30px;
  display: flex;
  align-items: center;
}

.video-decoration .deco-line {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-secondary), transparent);
}

.video-decoration .deco-dot {
  width: 12px;
  height: 12px;
  background: var(--accent-secondary);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--accent-secondary);
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { 
    box-shadow: 0 0 20px var(--accent-secondary);
    transform: scale(1);
  }
  50% { 
    box-shadow: 0 0 40px var(--accent-secondary);
    transform: scale(1.2);
  }
}

@media (max-width: 768px) {
  .video-showcase {
    padding: 60px 0;
  }
  
  .play-btn {
    width: 70px;
    height: 70px;
  }
  
  .play-btn svg {
    width: 28px;
    height: 28px;
  }
  
  .video-overlay span {
    font-size: 0.875rem;
  }
}

/* ---------- Stats Grid ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.stats-row-center {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.stats-row-center .stat-card {
  width: 100%;
  max-width: 320px;
}

.stat-card {
  background: var(--gradient-card);
  border: 1px solid rgba(245, 158, 11, 0.15);
  border-radius: 20px;
  padding: 40px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-main);
  transform: scaleX(0);
  transition: var(--transition-smooth);
}

.stat-card:hover {
  transform: translateY(-8px);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: var(--shadow-glow);
}

.stat-card:hover::before {
  transform: scaleX(1);
}

.stat-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: rgba(245, 158, 11, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-top: 8px;
}

/* ---------- Product Cards (3D) ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}

.product-card {
  background: var(--bg-card);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
  transition: var(--transition-smooth);
  transform-style: preserve-3d;
  perspective: 1000px;
}

.product-card:hover {
  transform: translateY(-12px) rotateX(2deg);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 
    0 30px 60px rgba(0,0,0,0.5),
    0 0 40px rgba(245, 158, 11, 0.15);
}

.product-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,15,0.9) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: var(--transition-smooth);
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  background: var(--gradient-main);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

.product-content {
  padding: 24px;
}

.product-category {
  font-size: 0.75rem;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.product-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.product-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.product-link:hover {
  color: var(--accent-gold);
  gap: 12px;
}

/* ---------- Features Grid ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-glow);
  opacity: 0;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  border-color: rgba(245, 158, 11, 0.3);
  transform: translateY(-8px);
}

.feature-card:hover::before {
  opacity: 0.5;
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: var(--gradient-main);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.feature-desc {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  position: relative;
  z-index: 1;
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-primary), var(--accent-secondary));
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 48px;
  display: flex;
  align-items: center;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.timeline-content {
  width: 45%;
  padding: 24px;
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.05);
  position: relative;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background: var(--accent-secondary);
  border-radius: 50%;
  border: 4px solid var(--bg-primary);
  z-index: 1;
}

.timeline-year {
  display: inline-block;
  padding: 4px 12px;
  background: var(--gradient-main);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.timeline-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.timeline-desc {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* ---------- Clients ---------- */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.client-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.05);
  transition: var(--transition-smooth);
}

.client-card:hover {
  border-color: rgba(245, 158, 11, 0.3);
  transform: translateY(-4px);
}

.client-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.client-logo-img {
  max-width: 140px;
  max-height: 70px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin-bottom: 12px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.client-card:hover .client-logo-img {
  transform: scale(1.05);
}

.client-type {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Text Logo Style */
.client-logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  letter-spacing: 2px;
}

/* ---------- Contact Form ---------- */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info {
  padding: 48px;
  background: var(--gradient-card);
  border-radius: 24px;
  border: 1px solid rgba(245, 158, 11, 0.15);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 32px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(245, 158, 11, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.contact-value {
  font-size: 1rem;
  color: var(--text-primary);
}

.contact-form {
  background: var(--bg-card);
  border-radius: 24px;
  padding: 48px;
  border: 1px solid rgba(255,255,255,0.05);
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 16px 20px;
  background: var(--bg-secondary);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 1rem;
  font-family: var(--font-body);
  transition: var(--transition-smooth);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--accent-secondary);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  z-index: 10;
  padding: 80px 0 40px;
  background: var(--bg-secondary);
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.footer-desc {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.8;
}

.footer-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--accent-secondary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.footer-social a:hover {
  background: var(--accent-secondary);
}

/* ---------- WhatsApp Button ---------- */
.whatsapp-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 64px;
  height: 64px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
  z-index: 999;
  cursor: pointer;
  transition: var(--transition-smooth);
  animation: breathe 3s infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 48px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn svg {
  width: 32px;
  height: 32px;
  fill: white;
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

@keyframes breathe {
  0%, 100% { box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 8px 48px rgba(37, 211, 102, 0.6); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Scroll Animations */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .stats-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item,
  .timeline-item:nth-child(odd) {
    flex-direction: row;
    padding-left: 50px;
  }
  
  .timeline-content {
    width: 100%;
  }
  
  .timeline-dot {
    left: 20px;
  }
  
  .clients-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-brand {
    max-width: 100%;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
  }
}

/* ---------- Utility ---------- */
.text-gradient {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glow {
  filter: drop-shadow(0 0 20px rgba(245, 158, 11, 0.5));
}

/* ---------- Language Selector ---------- */
.lang-selector {
  position: relative;
}

.lang-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-smooth);
}

.lang-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--accent-secondary);
}

.lang-current {
  text-transform: uppercase;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 8px;
  min-width: 150px;
  max-height: 300px;
  overflow-y: auto;
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition-smooth);
  z-index: 1000;
}

.lang-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown::-webkit-scrollbar {
  width: 6px;
}

.lang-dropdown::-webkit-scrollbar-track {
  background: transparent;
}

.lang-dropdown::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
}

.lang-option {
  display: block;
  padding: 10px 14px;
  color: var(--text-secondary);
  font-size: 0.875rem;
  border-radius: 8px;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.lang-option:hover {
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
}

.lang-option.active {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: white;
  font-weight: 500;
}

/* RTL Support for Arabic */
html[dir="rtl"] .lang-dropdown {
  right: auto;
  left: 0;
}

/* ---------- Product Series (Steel Wire) ---------- */
.product-series {
  background: var(--bg-card);
  border-radius: 24px;
  padding: 40px;
  margin-bottom: 32px;
  border: 1px solid rgba(255,255,255,0.05);
  transition: var(--transition-smooth);
}

.product-series:hover {
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.series-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
}

.series-info {
  flex: 1;
}

.series-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 12px;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.series-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 700px;
}

.series-badge {
  padding: 8px 16px;
  background: var(--gradient-main);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Specs Table */
.specs-table {
  background: var(--bg-secondary);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 24px;
}

.specs-header {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr 1.5fr;
  gap: 16px;
  padding: 16px 24px;
  background: rgba(245, 158, 11, 0.1);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-gold);
}

.specs-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr 1.5fr;
  gap: 16px;
  padding: 16px 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
  transition: var(--transition-smooth);
}

.specs-row:hover {
  background: rgba(255,255,255,0.02);
}

.spec-material {
  font-weight: 600;
  color: var(--text-primary);
}

.spec-value {
  color: var(--accent-blue);
  font-weight: 500;
}

.spec-range {
  color: var(--text-secondary);
}

.spec-typical {
  color: var(--accent-secondary);
  font-weight: 500;
}

/* Applications Tags */
.series-applications {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.app-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.app-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.app-tag {
  padding: 6px 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.app-tag:hover {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.3);
  color: var(--accent-gold);
}

/* Button Outline */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  border: 1px solid var(--accent-secondary);
  border-radius: 12px;
  color: var(--accent-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-outline:hover {
  background: var(--accent-secondary);
  color: var(--bg-primary);
}

/* Responsive for Product Series */
@media (max-width: 768px) {
  .product-series {
    padding: 24px;
  }
  
  .series-header {
    flex-direction: column;
    gap: 16px;
  }
  
  .series-title {
    font-size: 1.5rem;
  }
  
  .specs-header,
  .specs-row {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 12px 16px;
    font-size: 0.875rem;
  }
  
  .specs-header span:nth-child(3),
  .specs-header span:nth-child(4),
  .specs-row span:nth-child(3),
  .specs-row span:nth-child(4) {
    display: none;
  }
}

/* Product Specs Preview Tags */
.product-specs-preview {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.spec-tag {
  padding: 4px 10px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 100px;
  font-size: 0.75rem;
  color: var(--accent-gold);
  font-weight: 500;
}

/* Product Card Link Reset */
.product-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Feature Tag (Product Detail) */
.feature-tag {
  padding: 8px 16px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 100px;
  font-size: 0.875rem;
  color: var(--accent-gold);
}

/* Gallery Thumbnails */
.gallery-thumb {
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.gallery-thumb:hover,
.gallery-thumb.active {
  border-color: var(--accent-secondary);
}

.gallery-thumb.active {
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}
