/* Shenzhen Xinyang Industrial - Shared Styles */
/* Color: Industrial Deep Blue #164788 + Dark Gray #333333 */

:root {
  --color-blue: #164788;
  --color-blue-dark: #0F2F5C;
  --color-blue-light: #1E5BA8;
  --color-blue-bright: #2B6FD0;
  --color-gray-dark: #333333;
  --color-gray-600: #4B5563;
  --color-gray-500: #6B7280;
  --color-gray-400: #9CA3AF;
  --color-gray-300: #D1D5DB;
  --color-gray-200: #E5E7EB;
  --color-gray-100: #F3F4F6;
  --color-gray-50: #F6F7F9;
  --color-white: #FFFFFF;
  --color-accent: #00A0E9;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--color-gray-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background: var(--color-gray-50);
}

.font-serif { font-family: 'Noto Serif SC', Georgia, serif; }
.font-mono { font-family: 'JetBrains Mono', 'Courier New', monospace; }

/* Colors */
.bg-blue { background-color: var(--color-blue); }
.bg-blue-dark { background-color: var(--color-blue-dark); }
.bg-blue-light { background-color: var(--color-blue-light); }
.text-blue { color: var(--color-blue); }
.text-blue-dark { color: var(--color-blue-dark); }
.text-accent { color: var(--color-accent); }
.border-blue { border-color: var(--color-blue); }

.bg-gradient-blue {
  background: linear-gradient(135deg, #0F2F5C 0%, #164788 50%, #1E5BA8 100%);
}
.bg-gradient-dark {
  background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
}
.bg-gray-50 { background-color: var(--color-gray-50); }

/* Accent line */
.accent-line {
  width: 50px; height: 3px;
  background: var(--color-blue);
  display: inline-block;
}
.accent-line-center {
  width: 50px; height: 3px;
  background: var(--color-blue);
  margin: 0 auto;
}

/* Hero overlay */
.hero-overlay { position: relative; }
.hero-overlay::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,47,92,0.92) 0%, rgba(22,71,136,0.82) 50%, rgba(15,47,92,0.9) 100%);
  z-index: 1;
}
.hero-overlay > * { position: relative; z-index: 2; }

/* Navigation */
.nav-link {
  position: relative;
  transition: color 0.3s ease;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--color-blue);
  transition: width 0.3s ease;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link:hover, .nav-link.active { color: var(--color-blue); }

/* Buttons */
.btn-blue {
  background: var(--color-blue); color: white;
  padding: 12px 32px; font-weight: 600; letter-spacing: 0.5px;
  transition: all 0.3s ease; border: 2px solid var(--color-blue);
  display: inline-block; text-decoration: none; cursor: pointer;
}
.btn-blue:hover { background: var(--color-blue-dark); border-color: var(--color-blue-dark); }

.btn-outline-blue {
  background: transparent; color: var(--color-blue);
  padding: 12px 32px; font-weight: 600; letter-spacing: 0.5px;
  transition: all 0.3s ease; border: 2px solid var(--color-blue);
  display: inline-block; text-decoration: none; cursor: pointer;
}
.btn-outline-blue:hover { background: var(--color-blue); color: white; }

.btn-white {
  background: white; color: var(--color-blue);
  padding: 12px 32px; font-weight: 600; letter-spacing: 0.5px;
  transition: all 0.3s ease; border: 2px solid white;
  display: inline-block; text-decoration: none; cursor: pointer;
}
.btn-white:hover { background: transparent; color: white; }

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

/* Cards */
.card-hover {
  transition: all 0.3s ease;
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px -8px rgba(22,71,136,0.2);
  border-color: var(--color-blue);
}

/* Stat number */
.stat-number {
  font-family: 'Noto Serif SC', serif;
  font-size: 2.5rem; font-weight: 700;
  color: var(--color-blue); line-height: 1;
}

/* Form */
.form-input {
  width: 100%; padding: 12px 16px;
  background: white;
  border: 1px solid var(--color-gray-200);
  transition: all 0.3s ease;
  font-family: inherit; font-size: 14px;
}
.form-input:focus {
  outline: none;
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(22,71,136,0.1);
}

/* Mobile menu */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
}
.mobile-menu.open { transform: translateX(0); }

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up { animation: fadeInUp 0.8s ease-out forwards; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.animate-fade-in { animation: fadeIn 1s ease-out forwards; }

/* Partner logo */
.partner-logo {
  filter: grayscale(100%); opacity: 0.5;
  transition: all 0.3s ease;
}
.partner-logo:hover { filter: grayscale(0%); opacity: 1; }

/* Product tag */
.product-tag {
  display: inline-block;
  padding: 2px 10px;
  font-size: 11px;
  background: #E8F0FE;
  color: var(--color-blue);
  border-radius: 2px;
}

/* Timeline */
.timeline-line {
  position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px; background: var(--color-blue);
  transform: translateX(-50%);
}
.timeline-dot {
  width: 14px; height: 14px;
  background: var(--color-blue);
  border-radius: 50%;
  border: 3px solid white;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--color-gray-100); }
::-webkit-scrollbar-thumb { background: var(--color-blue); border-radius: 4px; }

/* Right-click protection */
body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
