/*
 Theme Name: 龙帆出海
 Theme URI: https://www.lfch.com.cn
 Description: 龙帆出海官网 — 深蓝海洋 + 鎏金点缀主题（WordPress 化重构，视觉 1:1 还原原官网）
 Author: WorkBuddy
 Version: 1.0.0
 Requires PHP: 8.0
 License: MIT
*/
/* ============================================
   龙帆出海官网 - 主样式表
   深蓝海洋配色 + 鎏金点缀
   ============================================ */

/* ---- CSS Variables ---- */
:root {
  --navy:        #0B1D3A;
  --navy-light:  #132A52;
  --blue:        #1A3A6E;
  --blue-mid:    #2655A0;
  --gold:        #D4A853;
  --gold-light:  #E8C97A;
  --white:       #FFFFFF;
  --off-white:   #F7F9FC;
  --gray-100:    #F0F3F8;
  --gray-200:    #E4E9F2;
  --gray-300:    #C8D1E0;
  --gray-500:    #6B7B9A;
  --gray-700:    #3A4A66;
  --text:        #1E2D45;
  --text-light:  #5A6E8A;
  --green:       #27AE60;
  --red:         #E74C3C;
  --shadow-sm:   0 2px 8px rgba(11,29,58,0.08);
  --shadow-md:   0 4px 20px rgba(11,29,58,0.12);
  --shadow-lg:   0 8px 40px rgba(11,29,58,0.16);
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --transition:  all 0.3s ease;
}

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

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

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea { font-family: inherit; }

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

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600; letter-spacing: 0.5px;
  transition: var(--transition); cursor: pointer; border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy); box-shadow: 0 4px 15px rgba(212,168,83,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(212,168,83,0.5);
}
.btn-outline {
  border: 2px solid var(--gold); color: var(--gold); background: transparent;
}
.btn-outline:hover { background: var(--gold); color: var(--navy); }
.btn-white {
  background: var(--white); color: var(--navy); font-weight: 600;
}
.btn-white:hover { background: var(--gold-light); }

/* ---- Section Common ---- */
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
  display: inline-block; padding: 6px 18px; border-radius: 20px;
  background: rgba(212,168,83,0.12); color: var(--gold);
  font-size: 13px; font-weight: 600; letter-spacing: 2px; margin-bottom: 16px;
}
.section-title {
  font-size: 36px; font-weight: 700; color: var(--navy); margin-bottom: 16px;
  line-height: 1.3;
}
.section-desc { font-size: 17px; color: var(--text-light); max-width: 680px; margin: 0 auto; }

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 18px 0; transition: var(--transition);
}

/* WordPress 管理栏兼容：登录时导航栏下移并提升层级 */
body.admin-bar .navbar {
  top: 32px !important;
  z-index: 100001 !important;
}
@media screen and (max-width: 782px) {
  body.admin-bar .navbar {
    top: 46px !important;
  }
}
.navbar.scrolled {
  background: rgba(11,29,58,0.97); backdrop-filter: blur(20px);
  padding: 12px 0; box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }

.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-img { height: 42px; width: auto; display: block;
  filter: brightness(1.15) saturate(1.2) contrast(1.05);
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}
.nav-logo-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800; color: var(--navy);
}
.nav-logo-text { font-size: 20px; font-weight: 700; color: #ffffff; }
.nav-logo-text span { color: var(--gold); }

/* 顶部白色背景时LOGO反转 - 用浅色LOGO图 */
.navbar.scrolled .nav-logo-img { content: url('../images/logo.png'); }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 8px 16px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.8);
  transition: var(--transition); position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); background: rgba(255,255,255,0.1); }
.nav-links a.cta { background: var(--gold); color: var(--navy); font-weight: 600; margin-left: 8px; }
.nav-links a.cta:hover { background: var(--gold-light); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 40%, var(--blue) 100%);
  position: relative; overflow: hidden; padding-top: 80px;
}
.hero::before {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 80vh; height: 80vh; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,168,83,0.08) 0%, transparent 70%);
}
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 200px;
  background: linear-gradient(to top, var(--white), transparent);
}

.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 2; }

.hero-content { }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px; border-radius: 30px;
  background: rgba(212,168,83,0.15); border: 1px solid rgba(212,168,83,0.3);
  color: var(--gold-light); font-size: 13px; font-weight: 500; margin-bottom: 24px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero h1 { font-size: 54px; font-weight: 800; color: var(--white); line-height: 1.15; margin-bottom: 10px; }
.hero h1 .highlight { color: var(--gold); }
.hero-sub { font-size: 20px; color: rgba(255,255,255,0.7); margin-bottom: 20px; font-weight: 300; }
.hero-desc { font-size: 16px; color: rgba(255,255,255,0.55); line-height: 1.8; margin-bottom: 36px; max-width: 500px; }

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: flex; gap: 40px; margin-top: 50px; padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat .num { font-size: 32px; font-weight: 800; color: var(--gold); }
.hero-stat .label { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 2px; }

/* Hero Visual */
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-globe {
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(38,85,160,0.4), rgba(11,29,58,0.8));
  border: 2px solid rgba(212,168,83,0.2);
  position: relative; display: flex; align-items: center; justify-content: center;
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }

.hero-globe-inner {
  width: 320px; height: 320px; border-radius: 50%;
  border: 1px solid rgba(212,168,83,0.15);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.hero-globe-inner::before {
  content: ''; position: absolute; width: 100%; height: 100%; border-radius: 50%;
  border: 1px solid rgba(212,168,83,0.1);
  animation: spin 20s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.globe-text { text-align: center; color: var(--white); }
.globe-text .cn { font-size: 42px; font-weight: 800; color: var(--gold); }
.globe-text .en { font-size: 13px; color: rgba(255,255,255,0.5); letter-spacing: 4px; margin-top: 4px; }
.globe-pins { position: absolute; }
.pin {
  position: absolute; width: 12px; height: 12px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 10px rgba(212,168,83,0.6);
  animation: pin-pulse 2s infinite;
}
@keyframes pin-pulse { 0%,100% { box-shadow: 0 0 10px rgba(212,168,83,0.6); } 50% { box-shadow: 0 0 20px rgba(212,168,83,0.9); } }
.pin-vn { top: 38%; left: 62%; }
.pin-my { top: 50%; left: 58%; }
.pin-id { top: 55%; left: 65%; }
.pin-th { top: 42%; left: 56%; }
.pin-ph { top: 44%; left: 72%; }
.pin-cn { top: 35%; left: 50%; }

/* Wave Divider */
.hero-wave {
  position: absolute; bottom: -1px; left: 0; right: 0; z-index: 3;
}
.hero-wave svg { display: block; }

/* ============================================
   SERVICES SECTION (Homepage)
   ============================================ */
.services { background: var(--white); }
.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}

.service-card {
  background: var(--off-white); border-radius: var(--radius-md);
  padding: 40px 28px; text-align: center;
  transition: var(--transition); position: relative; overflow: hidden;
  border: 1px solid var(--gray-200);
}
.service-card:hover {
  transform: translateY(-8px); background: var(--white);
  box-shadow: var(--shadow-lg); border-color: var(--gold);
}
.service-card .icon {
  width: 72px; height: 72px; border-radius: 18px; margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--navy), var(--blue-mid));
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; transition: var(--transition);
}
.service-card:hover .icon { background: linear-gradient(135deg, var(--gold), var(--gold-light)); }
.service-card h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.service-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }
.service-card .arrow {
  display: inline-flex; margin-top: 20px; width: 40px; height: 40px;
  border-radius: 50%; background: var(--gray-100); align-items: center; justify-content: center;
  color: var(--navy); font-size: 18px; transition: var(--transition);
}
.service-card:hover .arrow { background: var(--gold); color: var(--navy); transform: translateX(4px); }

/* ============================================
   ABOUT SECTION
   ============================================ */
.about { background: var(--off-white); }
.about .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img {
  width: 100%; aspect-ratio: 4/3; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy), var(--blue-mid));
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.about-img::after {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.about-img-text { color: var(--white); text-align: center; z-index: 2; position: relative; }
.about-img-text .big { font-size: 64px; font-weight: 800; color: var(--gold); }
.about-img-text .small { font-size: 14px; color: rgba(255,255,255,0.6); letter-spacing: 3px; }

.about-content { }
.about-content .section-header { text-align: left; margin-bottom: 24px; }
.about-content p { font-size: 15px; color: var(--text-light); line-height: 1.9; margin-bottom: 16px; }

.advantages { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.advantage-item {
  display: flex; gap: 14px; align-items: flex-start;
}
.advantage-icon {
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  background: rgba(212,168,83,0.12); display: flex; align-items: center;
  justify-content: center; font-size: 20px;
}
.advantage-item h4 { font-size: 15px; font-weight: 600; color: var(--navy); }
.advantage-item p { font-size: 13px; color: var(--text-light); margin-top: 4px; }

/* ============================================
   DATA SECTION
   ============================================ */
.data-section {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  padding: 80px 0; position: relative; overflow: hidden;
}
.data-section::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='1' fill='%23ffffff' fill-opacity='0.05'/%3E%3C/svg%3E");
}
.data-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; z-index: 2; }
.data-item { text-align: center; color: var(--white); }
.data-item .num { font-size: 48px; font-weight: 800; color: var(--gold); }
.data-item .label { font-size: 15px; color: rgba(255,255,255,0.7); margin-top: 4px; }
.data-item .desc { font-size: 13px; color: rgba(255,255,255,0.4); margin-top: 2px; }

/* ============================================
   CASES SECTION
   ============================================ */
.cases { background: var(--white); }
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card {
  border-radius: var(--radius-md); overflow: hidden;
  background: var(--off-white); border: 1px solid var(--gray-200);
  transition: var(--transition);
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.case-thumb {
  height: 200px; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.case-thumb.vn { background: linear-gradient(135deg, #1A472A, #2D5A3F); }
.case-thumb.my { background: linear-gradient(135deg, #1A3A6E, #2655A0); }
.case-thumb.id { background: linear-gradient(135deg, #4A2900, #6B3D00); }
.case-thumb .flag { font-size: 64px; opacity: 0.3; position: absolute; }
.case-thumb .case-icon { font-size: 48px; z-index: 2; }
.case-tag {
  position: absolute; top: 16px; left: 16px;
  padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600;
  background: rgba(0,0,0,0.5); color: var(--white); backdrop-filter: blur(10px);
}
.case-body { padding: 24px; }
.case-body h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.case-body p { font-size: 14px; color: var(--text-light); line-height: 1.7; }
.case-meta { display: flex; gap: 16px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--gray-200); }
.case-meta span { font-size: 12px; color: var(--gray-500); display: flex; align-items: center; gap: 4px; }

/* ============================================
   NEWS SECTION
   ============================================ */
.news { background: var(--off-white); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  background: var(--white); border-radius: var(--radius-md);
  overflow: hidden; border: 1px solid var(--gray-200);
  transition: var(--transition);
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.news-thumb {
  height: 180px; display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: rgba(255,255,255,0.5); position: relative;
}
.news-thumb.policy { background: linear-gradient(135deg, var(--navy), var(--blue)); }
.news-thumb.market { background: linear-gradient(135deg, #1A4A2A, #265535); }
.news-thumb.guide { background: linear-gradient(135deg, #4A1A0A, #6B2D15); }
.news-date {
  position: absolute; top: 16px; left: 16px;
  background: rgba(0,0,0,0.4); backdrop-filter: blur(10px);
  color: var(--white); padding: 8px 12px; border-radius: var(--radius-sm);
  text-align: center; line-height: 1.2;
}
.news-date .day { font-size: 22px; font-weight: 800; display: block; }
.news-date .mon { font-size: 11px; }
.news-body { padding: 24px; }
.news-body .tag { font-size: 12px; color: var(--gold); font-weight: 600; }
.news-body h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin: 8px 0; line-height: 1.5; }
.news-body p { font-size: 14px; color: var(--text-light); line-height: 1.7; }
.news-body .read-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--gold); }
.news-body .read-more:hover { gap: 10px; }

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  padding: 100px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,168,83,0.1) 0%, transparent 70%);
}
.cta-section h2 { font-size: 40px; font-weight: 800; color: var(--white); margin-bottom: 16px; }
.cta-section p { font-size: 17px; color: rgba(255,255,255,0.7); margin-bottom: 36px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy); color: rgba(255,255,255,0.7); padding: 80px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { font-size: 14px; line-height: 1.8; margin: 16px 0; color: rgba(255,255,255,0.5); }
.footer-brand .social { display: flex; gap: 12px; margin-top: 20px; }
.social a {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,0.08); display: flex; align-items: center;
  justify-content: center; font-size: 18px; transition: var(--transition);
}
.social a:hover { background: var(--gold); }

.footer h4 { font-size: 16px; font-weight: 600; color: var(--white); margin-bottom: 20px; }
.footer-links a { display: block; padding: 6px 0; font-size: 14px; color: rgba(255,255,255,0.5); }
.footer-links a:hover { color: var(--gold); padding-left: 6px; }

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

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

/* ============================================
   AI CHAT WIDGET
   ============================================ */
.chat-widget {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
}
.chat-toggle {
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; cursor: pointer; box-shadow: 0 4px 20px rgba(212,168,83,0.4);
  transition: var(--transition); border: none;
}
.chat-toggle:hover { transform: scale(1.1); }
.chat-toggle .badge {
  position: absolute; top: -4px; right: -4px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--red); color: var(--white);
  font-size: 11px; font-weight: 700; display: flex;
  align-items: center; justify-content: center;
  animation: pulse 2s infinite;
}

.chat-panel {
  position: absolute; bottom: 76px; right: 0;
  width: 380px; max-height: 560px;
  background: var(--white); border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  display: none; flex-direction: column; overflow: hidden;
  transform: translateY(20px); opacity: 0;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.chat-panel.open { display: flex; transform: translateY(0); opacity: 1; }

.chat-header {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  padding: 20px 24px; color: var(--white);
  display: flex; align-items: center; justify-content: space-between;
}
.chat-header-left { display: flex; align-items: center; gap: 12px; }
.chat-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800; color: var(--navy);
}
.chat-header h4 { font-size: 16px; font-weight: 600; }
.chat-header p { font-size: 12px; color: rgba(255,255,255,0.6); }
.chat-close { font-size: 20px; cursor: pointer; opacity: 0.6; transition: var(--transition); }
.chat-close:hover { opacity: 1; }

.chat-messages {
  flex: 1; padding: 20px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 16px;
  background: var(--off-white);
}
.msg {
  max-width: 85%; padding: 12px 16px; border-radius: 16px;
  font-size: 14px; line-height: 1.6; animation: msgIn 0.3s ease;
}
@keyframes msgIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.msg.bot { background: var(--white); color: var(--text); align-self: flex-start; border-bottom-left-radius: 4px; box-shadow: var(--shadow-sm); }
.msg.user { background: var(--blue-mid); color: var(--white); align-self: flex-end; border-bottom-right-radius: 4px; }
.msg .time { font-size: 11px; color: var(--gray-500); margin-top: 6px; }

.chat-quick-actions {
  display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 20px;
  background: var(--white); border-top: 1px solid var(--gray-200);
}
.quick-btn {
  padding: 8px 16px; border-radius: 20px; font-size: 13px;
  background: var(--off-white); color: var(--navy); border: 1px solid var(--gray-200);
  cursor: pointer; transition: var(--transition); white-space: nowrap;
}
.quick-btn:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }

.chat-input-wrap {
  display: flex; align-items: center; gap: 8px;
  padding: 16px 20px; background: var(--white);
  border-top: 1px solid var(--gray-200);
}
.chat-input {
  flex: 1; padding: 12px 16px; border-radius: 24px;
  border: 1px solid var(--gray-200); font-size: 14px;
  outline: none; transition: var(--transition);
}
.chat-input:focus { border-color: var(--gold); }
.chat-send {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy); font-size: 18px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--transition); border: none; flex-shrink: 0;
}
.chat-send:hover { transform: scale(1.05); }

/* ============================================
   SUBPAGE COMMON
   ============================================ */
.page-hero {
  padding: 160px 0 100px;
  background: linear-gradient(160deg, var(--navy) 0%, var(--blue) 100%);
  text-align: center; color: var(--white); position: relative;
}
.page-hero h1 { font-size: 48px; font-weight: 800; margin-bottom: 16px; }
.page-hero h1 .highlight { color: var(--gold); }
.page-hero p { font-size: 18px; color: rgba(255,255,255,0.7); max-width: 600px; margin: 0 auto; }
.page-breadcrumb {
  display: flex; justify-content: center; gap: 8px;
  font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 20px;
}
.page-breadcrumb a { color: rgba(255,255,255,0.6); }
.page-breadcrumb a:hover { color: var(--gold); }

/* Service Detail */
.service-detail { padding: 100px 0; }
.service-detail .container { max-width: 1000px; }
.service-detail h2 {
  font-size: 28px; font-weight: 700; color: var(--navy); margin-bottom: 20px;
  padding-bottom: 16px; border-bottom: 3px solid var(--gold); display: inline-block;
}
.service-detail h3 { font-size: 22px; font-weight: 600; color: var(--navy); margin: 36px 0 16px; }
.service-detail p { font-size: 15px; color: var(--text-light); line-height: 1.9; margin-bottom: 16px; }
.service-detail ul { margin: 16px 0; padding-left: 0; }
.service-detail li {
  padding: 10px 0 10px 28px; position: relative;
  font-size: 15px; color: var(--text); line-height: 1.7;
}
.service-detail li::before {
  content: ''; position: absolute; left: 0; top: 18px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--gold);
}

/* Process Steps */
.process-steps { display: flex; gap: 0; margin: 40px 0; position: relative; }
.process-step { flex: 1; text-align: center; position: relative; padding: 0 16px; }
.process-step::after {
  content: ''; position: absolute; top: 35px; left: 50%; width: 100%; height: 2px;
  background: var(--gray-200); z-index: 0;
}
.process-step:last-child::after { display: none; }
.step-num {
  width: 70px; height: 70px; border-radius: 50%;
  background: var(--off-white); border: 3px solid var(--gray-200);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 800; color: var(--gray-500);
  margin: 0 auto 16px; position: relative; z-index: 1;
  transition: var(--transition);
}
.process-step:hover .step-num { border-color: var(--gold); background: rgba(212,168,83,0.1); color: var(--gold); }
.step-text { font-size: 14px; font-weight: 600; color: var(--navy); }

/* Feature Grid */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 30px 0; }
.feature-item {
  display: flex; gap: 16px; padding: 24px;
  background: var(--off-white); border-radius: var(--radius-md);
  border: 1px solid var(--gray-200); transition: var(--transition);
}
.feature-item:hover { border-color: var(--gold); background: var(--white); box-shadow: var(--shadow-sm); }
.feature-item .icon { font-size: 28px; flex-shrink: 0; }
.feature-item h4 { font-size: 16px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.feature-item p { font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* CTA Card */
.cta-card {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: var(--radius-lg); padding: 60px; text-align: center;
  margin-top: 60px; color: var(--white);
}
.cta-card h3 { font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.cta-card p { font-size: 16px; color: rgba(255,255,255,0.7); margin-bottom: 30px; }

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section { padding: 100px 0; background: var(--off-white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-form-wrap {
  background: var(--white); padding: 40px; border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.contact-form-wrap h2 { font-size: 24px; font-weight: 700; color: var(--navy); margin-bottom: 24px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200); font-size: 14px; color: var(--text);
  transition: var(--transition); background: var(--off-white);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--gold); background: var(--white);
  box-shadow: 0 0 0 3px rgba(212,168,83,0.15);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.contact-info-wrap { }
.contact-info-card {
  background: var(--white); padding: 32px; border-radius: var(--radius-md);
  margin-bottom: 20px; box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--gold);
}
.contact-info-card h4 { font-size: 16px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.contact-info-card p { font-size: 14px; color: var(--text-light); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { margin: 0 auto 36px; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about .container { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .data-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0; background: rgba(11,29,58,0.98);
    padding: 20px; gap: 4px; border-top: 1px solid rgba(255,255,255,0.1);
  }
  .nav-toggle { display: flex; }
  .hero h1 { font-size: 36px; }
  .section-title { font-size: 28px; }
  .services-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .chat-panel { width: calc(100vw - 32px); right: -8px; }
  .page-hero h1 { font-size: 32px; }
  .process-steps { flex-direction: column; gap: 20px; }
  .process-step::after { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ---- Animations ---- */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   NEWS INDEX & DETAIL (公司动态)
   ============================================ */
.news-index { padding: 20px 0 90px; }
.news-index .news-grid { margin-top: 40px; }

.news-detail { padding: 20px 0 90px; }
.news-detail .nd-head { max-width: 820px; margin: 0 auto; text-align: center; }
.news-detail .back {
  display: inline-block; margin: 10px 0 24px; color: var(--gold);
  font-size: 14px; font-weight: 600;
}
.news-detail .nd-date { color: var(--text-light); font-size: 14px; margin-bottom: 8px; }
.news-detail .nd-title {
  font-size: 34px; font-weight: 800; color: var(--navy); margin: 8px 0 14px; line-height: 1.35;
}
.news-detail .nd-tag {
  display: inline-block; padding: 5px 16px; border-radius: 20px;
  background: rgba(212,168,83,0.12); color: var(--gold);
  font-size: 13px; font-weight: 600; margin-bottom: 18px;
}
.news-detail .nd-cover {
  width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius-md);
  margin: 14px 0 28px;
}
.news-detail .nd-body {
  max-width: 820px; margin: 0 auto; font-size: 16px; color: var(--text); line-height: 1.9;
}
.news-detail .nd-body p { margin-bottom: 18px; }
.news-detail .nd-body h2, .news-detail .nd-body h3 {
  font-size: 22px; font-weight: 700; color: var(--navy); margin: 30px 0 14px;
}
.news-detail .nd-body img { max-width: 100%; border-radius: var(--radius-sm); margin: 10px 0; }
.news-detail .nd-body ul { padding-left: 20px; }
.news-detail .nd-body li { margin-bottom: 10px; color: var(--text-light); }

/* news thumb category gradients (extend original) */
.news-thumb.company { background: linear-gradient(135deg, #2A1A4A, #4A2A6B); }
.news-thumb.default { background: linear-gradient(135deg, var(--navy), var(--blue)); }
