/* ============================================
   宁波理德科技有限公司 - 企业官网样式
   设计风格：暖色调、集团大气风格
   参考风格：DHL企业网站
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  --color-primary: #F57C00;       /* 主色-品牌橙 */
  --color-primary-dark: #E65100;  /* 深橙 */
  --color-accent: #F5A623;        /* 暖金色 */
  --color-accent-light: #FFC857;  /* 浅金色 */
  --color-warm-bg: #FBF7F0;       /* 暖白背景 */
  --color-cream: #F5EFE3;        /* 奶油色 */
  --color-dark: #1A1A2E;         /* 深色文字 */
  --color-text: #333333;         /* 正文文字 */
  --color-text-light: #666666;   /* 次要文字 */
  --color-border: #E8E0D4;       /* 边框色 */
  --color-white: #FFFFFF;
  --color-overlay: rgba(26, 26, 46, 0.7);
  --font-cn: 'Noto Sans SC', 'Microsoft YaHei', 'PingFang SC', sans-serif;
  --font-en: 'Montserrat', 'Arial', sans-serif;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
  --transition: all 0.3s ease;
  --max-width: 1320px;
}

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

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

body {
  font-family: var(--font-cn);
  color: var(--color-text);
  background-color: var(--color-warm-bg);
  line-height: 1.7;
  overflow-x: hidden;
}

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

ul, ol {
  list-style: none;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header / Navigation ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  background: transparent;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

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

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

.logo-img {
  height: 32px;
  width: auto;
  transition: var(--transition);
}

/* Logo on dark hero background - invert to white */
.header:not(.scrolled) .logo-img {
  filter: brightness(0) invert(1);
}

/* Logo on scrolled white header - normal gray */
.header.scrolled .logo-img {
  filter: none;
}

/* Footer logo - invert to white on dark background */
.footer .logo-img {
  filter: brightness(0) invert(1);
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 20px;
}

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

.logo-text .cn {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.2;
}

.logo-text .en {
  font-size: 11px;
  font-weight: 500;
  color: var(--color-text-light);
  letter-spacing: 1px;
  font-family: var(--font-en);
}

.header.scrolled .logo-text .cn {
  color: var(--color-dark);
}

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

.nav-main a {
  padding: 8px 20px;
  font-size: 18px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  border-radius: 6px;
  position: relative;
  transition: var(--transition);
}

.header.scrolled .nav-main a {
  color: var(--color-text);
}

.nav-main a:hover,
.nav-main a.active {
  color: var(--color-white);
  background: var(--color-primary);
}

.header.scrolled .nav-main a:hover,
.header.scrolled .nav-main a.active {
  color: var(--color-white);
}

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

/* ---------- Language Switcher ---------- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  transition: var(--transition);
  font-family: var(--font-en);
}

.header.scrolled .lang-switch {
  border-color: var(--color-border);
  color: var(--color-text);
}

.lang-switch:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}

.btn-header {
  padding: 10px 28px;
  background: var(--color-primary);
  color: white;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-header:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  padding: 8px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-dark);
  transition: var(--transition);
  border-radius: 2px;
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1A1A2E 0%, #4A2418 40%, #C45A00 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img,
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(245,124,0,0.15) 0%, rgba(26,26,46,0.7) 100%);
  z-index: 2;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
}

.hero-particles .particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--color-accent);
  border-radius: 50%;
  opacity: 0.3;
  animation: particleFloat 15s infinite ease-in-out;
}

@keyframes particleFloat {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.3; }
  50% { transform: translateY(-100px) translateX(50px); opacity: 0.6; }
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  padding-top: 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(245, 166, 35, 0.15);
  border: 1px solid rgba(245, 166, 35, 0.3);
  border-radius: 50px;
  color: var(--color-accent);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 28px;
  animation: fadeInUp 0.8s ease forwards;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero h1 {
  font-size: 56px;
  font-weight: 800;
  color: white;
  line-height: 1.2;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s 0.2s ease both;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .subtitle {
  font-size: 20px;
  color: rgba(255,255,255,0.75);
  max-width: 640px;
  line-height: 1.8;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s 0.4s ease both;
}

.hero-btns {
  display: flex;
  gap: 16px;
  animation: fadeInUp 0.8s 0.6s ease both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,124,0,0.4);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

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

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  animation: fadeInUp 0.8s 0.8s ease both;
}

.hero-stats .stat {
  text-align: left;
}

.hero-stats .stat-number {
  font-size: 40px;
  font-weight: 800;
  color: var(--color-accent);
  font-family: var(--font-en);
  line-height: 1;
}

.hero-stats .stat-number span {
  font-size: 20px;
  margin-left: 2px;
}

.hero-stats .stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-top: 8px;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  animation: fadeInUp 0.8s 1s ease both;
}

.scroll-indicator .mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator .mouse::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: rgba(255,255,255,0.5);
  border-radius: 2px;
  animation: scrollMouse 2s infinite;
}

@keyframes scrollMouse {
  0% { opacity: 1; top: 6px; }
  100% { opacity: 0; top: 20px; }
}

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

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  font-family: var(--font-en);
}

.section-tag::before,
.section-tag::after {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--color-primary);
}

.section-header h2 {
  font-size: 40px;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 16px;
  line-height: 1.3;
}

.section-header p {
  font-size: 16px;
  color: var(--color-text-light);
  line-height: 1.8;
}

/* ---------- About Section ---------- */
.about-section {
  background: var(--color-white);
}

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

.about-image {
  position: relative;
}

.about-image-main {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #2D1B36, #3D1F2E);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.about-image-float {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background: var(--color-primary);
  color: white;
  padding: 24px 32px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

.about-image-float .number {
  font-size: 36px;
  font-weight: 800;
  font-family: var(--font-en);
  line-height: 1;
}

.about-image-float .label {
  font-size: 13px;
  opacity: 0.9;
  margin-top: 4px;
}

.about-content h3 {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 20px;
  line-height: 1.4;
}

.about-content p {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 2;
  margin-bottom: 16px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--color-warm-bg);
  border-radius: 10px;
  transition: var(--transition);
}

.about-feature:hover {
  background: var(--color-cream);
  transform: translateX(4px);
}

.about-feature .icon {
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  flex-shrink: 0;
}

.about-feature span {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-dark);
}

/* ---------- Products Section ---------- */
.products-section {
  background: var(--color-warm-bg);
}

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

.product-card {
  background: var(--color-white);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--color-border);
}

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

.product-card-image {
  aspect-ratio: 1/1;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #f0ebe3, #e8e0d4);
}

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

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

.product-card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 4px 12px;
  background: var(--color-primary);
  color: white;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.product-card-body {
  padding: 24px;
}

.product-card-body h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.product-card-body p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

.product-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}

.product-card-link:hover {
  gap: 12px;
}

/* ---------- Capabilities Section ---------- */
.capabilities-section {
  background: var(--color-dark);
  color: white;
  position: relative;
  overflow: hidden;
}

.capabilities-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245,124,0,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.capability-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition);
}

.capability-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-4px);
  border-color: rgba(245,166,35,0.3);
}

.capability-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.capability-card h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.capability-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
}

/* ---------- Certifications Section ---------- */
.certifications-section {
  background: var(--color-white);
}

.certifications-image {
  margin-top: 40px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #fff;
}

.certifications-image img {
  width: 100%;
  height: auto;
  display: block;
}

.certifications-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.cert-tag {
  display: inline-block;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  background: rgba(245,124,0,0.08);
  border: 1px solid rgba(245,124,0,0.2);
  border-radius: 100px;
  transition: var(--transition);
}

.cert-tag:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

/* ---------- Campus Section ---------- */
.campus-section {
  background: var(--color-white);
}

.campus-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.campus-gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16/9;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.campus-gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.campus-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.campus-gallery-item:hover img {
  transform: scale(1.05);
}

.campus-gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  opacity: 0;
  transition: var(--transition);
}

.campus-gallery-item:hover .campus-gallery-overlay {
  opacity: 1;
}

.campus-gallery-label {
  color: white;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.campus-note {
  text-align: center;
  margin-top: 24px;
  font-size: 13px;
  color: var(--color-text-light);
  font-style: italic;
}

/* ---------- Global Section ---------- */
.global-section {
  background: var(--color-white);
}

.global-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.global-map {
  position: relative;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #f8f4ee, #ede7db);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.global-map-inner {
  width: 85%;
  opacity: 0.9;
}

.map-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--color-primary);
  border-radius: 50%;
  animation: mapPulse 2s infinite;
}

.map-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  animation: mapPulse 2s infinite;
  opacity: 0.5;
}

@keyframes mapPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}

.global-info h3 {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 16px;
  line-height: 1.4;
}

.global-info p {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 2;
  margin-bottom: 24px;
}

.global-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.global-stat {
  padding: 20px;
  background: var(--color-warm-bg);
  border-radius: 12px;
  border-left: 4px solid var(--color-primary);
}

.global-stat .number {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-primary);
  font-family: var(--font-en);
}

.global-stat .label {
  font-size: 13px;
  color: var(--color-text-light);
  margin-top: 4px;
}

/* ---------- News Section ---------- */
.news-section {
  background: var(--color-warm-bg);
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
}

.news-card {
  background: var(--color-white);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--color-border);
}

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

.news-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: linear-gradient(135deg, #f0ebe3, #e8e0d4);
}

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

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

.news-card-body {
  padding: 24px;
}

.news-card-date {
  font-size: 13px;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 8px;
  font-family: var(--font-en);
}

.news-card-body h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 8px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-body p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary), #D42A44);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245,166,35,0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 40px;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 40px;
  background: white;
  color: var(--color-primary);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo {
  margin-bottom: 20px;
}

.footer-brand .logo-text .cn {
  color: white;
}

.footer-brand .logo-text .en {
  color: rgba(255,255,255,0.5);
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  max-width: 320px;
}

.footer h5 {
  color: white;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-links a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  padding: 6px 0;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--color-accent);
  transform: translateX(4px);
}

.footer-contact p {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-contact .icon {
  color: var(--color-accent);
  font-size: 16px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 16px;
  transition: var(--transition);
}

.footer-socials a:hover {
  background: var(--color-primary);
  color: white;
}

/* ---------- Page Banner ---------- */
.page-banner {
  min-height: 400px;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, #1A1A2E 0%, #4A2418 40%, #C45A00 100%);
  padding-top: 80px;
}

.page-banner .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(245,124,0,0.12) 0%, rgba(26,26,46,0.7) 100%);
}

.page-banner-content {
  position: relative;
  z-index: 2;
}

.page-banner h1 {
  font-size: 48px;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
}

.page-banner .breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

.page-banner .breadcrumb a {
  color: var(--color-accent);
}

.page-banner .breadcrumb a:hover {
  color: white;
}

/* ---------- About Page Specific ---------- */
.about-detail-section {
  background: var(--color-white);
}

.about-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-detail-content h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 20px;
}

.about-detail-content p {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 2;
  margin-bottom: 16px;
}

.timeline {
  position: relative;
  padding-left: 32px;
}

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

.timeline-item {
  position: relative;
  padding-bottom: 32px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -36px;
  top: 4px;
  width: 10px;
  height: 10px;
  background: var(--color-primary);
  border-radius: 50%;
  border: 3px solid var(--color-warm-bg);
}

.timeline-item .year {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  font-family: var(--font-en);
  margin-bottom: 4px;
}

.timeline-item h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 4px;
}

.timeline-item p {
  font-size: 14px;
  color: var(--color-text-light);
}

/* Team / Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.value-card {
  text-align: center;
  padding: 40px 28px;
  background: var(--color-white);
  border-radius: 16px;
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}

.value-card .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
}

.value-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.value-card p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.8;
}

/* ---------- Products Page Specific ---------- */
.product-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.product-detail-card {
  background: var(--color-white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

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

.product-detail-image {
  aspect-ratio: 16/16;
  overflow: hidden;
  background: linear-gradient(135deg, #f0ebe3, #e8e0d4);
}

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

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

.product-detail-body {
  padding: 28px;
}

.product-detail-body h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 12px;
}

.product-detail-body p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 20px;
}

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

.product-feature-tag {
  padding: 4px 14px;
  background: var(--color-warm-bg);
  border-radius: 20px;
  font-size: 13px;
  color: var(--color-text-light);
  font-weight: 500;
}

/* Product category tabs */
.product-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.product-tab {
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  border: 2px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-text);
  cursor: pointer;
  transition: var(--transition);
}

.product-tab:hover,
.product-tab.active {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

/* ---------- News Page Specific ---------- */
.news-list-item {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  background: var(--color-white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: var(--transition);
  margin-bottom: 24px;
}

.news-list-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.news-list-image {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: linear-gradient(135deg, #f0ebe3, #e8e0d4);
}

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

.news-list-body {
  padding: 28px 28px 28px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-list-date {
  font-size: 13px;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 8px;
  font-family: var(--font-en);
}

.news-list-body h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 12px;
  line-height: 1.5;
}

.news-list-body p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.8;
}

/* ---------- Contact Page Specific ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info-cards {
  display: grid;
  gap: 20px;
}

.contact-info-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--color-white);
  border-radius: 12px;
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.contact-info-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-sm);
}

.contact-info-card .icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 4px;
}

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

.contact-form-card {
  background: var(--color-white);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.contact-form-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.contact-form-card > p {
  font-size: 14px;
  color: var(--color-text-light);
  margin-bottom: 28px;
}

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--color-border);
  border-radius: 8px;
  font-size: 14px;
  font-family: var(--font-cn);
  color: var(--color-text);
  transition: var(--transition);
  background: var(--color-warm-bg);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  background: var(--color-white);
}

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

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

.btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-submit:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

/* Map container */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  margin-top: 48px;
  background: var(--color-cream);
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero h1 { font-size: 40px; }
  .hero-stats { gap: 32px; }
  .hero-stats .stat-number { font-size: 32px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .product-detail-grid { grid-template-columns: repeat(2, 1fr); }
  .capabilities-grid { grid-template-columns: repeat(2, 1fr); }
  .campus-gallery { grid-template-columns: repeat(2, 1fr); }
  .global-content { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-main { display: none; }
  .menu-toggle { display: flex; }
  
  .nav-main.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26,26,46,0.98);
    padding: 100px 24px 24px;
    z-index: 999;
    align-items: center;
    gap: 8px;
  }

  .nav-main.open a {
    color: white;
    font-size: 20px;
    padding: 16px 32px;
    width: 100%;
    text-align: center;
  }

  .hero { min-height: 90vh; }
  .hero h1 { font-size: 32px; }
  .hero .subtitle { font-size: 16px; }
  .hero-btns { flex-direction: column; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .hero-stats .stat-number { font-size: 28px; }
  
  .section { padding: 60px 0; }
  .section-header h2 { font-size: 28px; }
  
  .products-grid { grid-template-columns: 1fr; }
  .capabilities-grid { grid-template-columns: 1fr; }
  .campus-gallery { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
    .cert-tag { font-size: 13px; padding: 6px 14px; }
  
  .global-stats { grid-template-columns: 1fr; }
  
  .product-detail-grid { grid-template-columns: 1fr; }
  .news-list-item { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  
  .page-banner h1 { font-size: 32px; }
  .values-grid { grid-template-columns: 1fr; }
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 20px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
  z-index: 100;
}

.back-to-top.show {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}

/* Loading animation */
.loading-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  z-index: 9999;
  transition: width 0.3s ease;
}
