* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --primary: #ea580c;
  --primary-dark: #c2410c;
  --secondary: #facc15;
  --dark: #1e293b;
  --light: #fff7ed;
  --gray: #64748b;
  --bg-body: #111;
  --bg-alt: #1a1a2e;
  --bg-footer: #0a0a0f;
  --font: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
}
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--dark); overflow-x: hidden; line-height: 1.6; background: var(--bg-body); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
#siteHeader { position: fixed; top: 0; width: 100%; z-index: 1000; padding: 15px 0; transition: .3s; background: rgba(17,17,17,.9); backdrop-filter: blur(10px); }
#siteHeader.scrolled { background: rgba(17,17,17,.98); }
#siteHeader .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 900; color: #fff; }
.logo span { color: var(--secondary); }
#siteNav a { color: rgba(255,255,255,.8); margin-left: 30px; font-size: .95rem; font-weight: 500; transition: .3s; }
#siteNav a:hover { color: var(--secondary); }
#siteNav a.active { color: var(--secondary); }
.hamburger { display: none; flex-direction: column; cursor: pointer; gap: 5px; }
.hamburger span { width: 28px; height: 3px; background: #fff; border-radius: 2px; transition: .3s; }

/* Hero - 卡片堆叠3D */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; background: #111; }
.hero-bg { position: absolute; inset: 0; background-position: center; background-size: cover; background-repeat: no-repeat; opacity: .25; }
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 120px 20px 60px; }
.hero-text h1 { font-size: 3.8rem; font-weight: 900; color: #fff; line-height: 1.1; margin-bottom: 20px; }
.hero-text h1 span { color: var(--secondary); }
.hero-text p { color: rgba(255,255,255,.7); font-size: 1.2rem; margin-bottom: 30px; }
.btn { display: inline-block; padding: 16px 40px; border-radius: 8px; font-weight: 700; font-size: 1rem; transition: .3s; border: none; cursor: pointer; font-family: inherit; }
.btn-primary { background: linear-gradient(135deg, var(--primary), #f97316); color: #fff; box-shadow: 0 8px 30px rgba(234,88,12,.4); }
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 15px 40px rgba(234,88,12,.5); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.4); }
.btn-outline:hover { background: rgba(255,255,255,.1); }

/* Stacked Cards */
.hero-cards { position: relative; height: 500px; perspective: 1200px; }
.stack-card { position: absolute; width: 85%; padding: 30px; border-radius: 20px; color: #fff; transition: all .4s cubic-bezier(.4,0,.2,1); cursor: pointer; backface-visibility: hidden; display: block; }
.stack-card:nth-child(1) { background: linear-gradient(135deg, var(--primary), #f97316); top: 0; right: 0; z-index: 5; box-shadow: 0 30px 60px rgba(234,88,12,.3); transform: rotate(2deg); }
.stack-card:nth-child(2) { background: linear-gradient(135deg, #2563eb, #06b6d4); top: 40px; right: 20px; z-index: 4; box-shadow: 0 30px 60px rgba(37,99,235,.2); transform: rotate(-3deg); }
.stack-card:nth-child(3) { background: linear-gradient(135deg, #059669, #10b981); top: 80px; right: 40px; z-index: 3; box-shadow: 0 30px 60px rgba(5,150,105,.2); transform: rotate(1deg); }
.stack-card .num { font-size: 2.5rem; font-weight: 900; opacity: .3; margin-bottom: 10px; }
.stack-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.stack-card p { font-size: .85rem; opacity: .8; }
.stack-card:hover { transform: rotate(0deg) scale(1.02) translateY(-10px); z-index: 10; }

/* Section */
.section { padding: 120px 0; }
.section-title { font-size: 2.5rem; font-weight: 800; margin-bottom: 15px; text-align: center; color: #fff; }
.section-title span { color: var(--secondary); }
.section-subtitle { text-align: center; color: var(--gray); font-size: 1.1rem; margin-bottom: 60px; }
.section.dark { background: var(--bg-body); }
.section.gray { background: var(--bg-alt); }
.section.dark .section-subtitle, .section.gray .section-subtitle { color: var(--gray); }

/* Services - stacked card style */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; perspective: 1000px; }
.service-card { background: rgba(255,255,255,.05); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.1); border-radius: 20px; padding: 40px 30px; text-align: center; transition: .4s; transform-style: preserve-3d; }
.service-card:hover { transform: translateY(-15px) rotateX(5deg) rotateY(-5deg); background: rgba(255,255,255,.1); border-color: var(--secondary); }
.service-icon { width: 80px; height: 80px; margin: 0 auto 25px; font-size: 2.5rem; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--primary), var(--secondary)); border-radius: 50%; color: #fff; overflow: hidden; }
.service-icon img { width: 100%; height: 100%; object-fit: cover; }
.service-card h3 { color: #fff; font-size: 1.3rem; margin-bottom: 12px; }
.service-card h3 a { color: inherit; }
.service-card h3 a:hover { color: var(--secondary); }
.service-card p { color: rgba(255,255,255,.6); font-size: .95rem; }

/* Projects */
.project-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 20px; }
.project-item { position: relative; border-radius: 16px; overflow: hidden; height: 300px; cursor: pointer; display: block; }
.project-item .project-img { position: absolute; inset: 0; background-position: center; background-size: cover; transition: .5s; }
.project-item:hover .project-img { transform: scale(1.15); }
.project-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.85), transparent); display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; color: #fff; pointer-events: none; }
.project-overlay h3 { font-size: 1.3rem; margin-bottom: 5px; }
.project-overlay p { font-size: .9rem; opacity: .8; }

/* Advantage */
.adv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 30px; }
.adv-card { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 40px 25px; text-align: center; transition: .3s; }
.adv-card:hover { background: rgba(255,255,255,.08); transform: scale(1.05); }
.adv-card .num { font-size: 2.8rem; font-weight: 900; color: var(--secondary); }
.adv-card h4 { color: #fff; font-size: 1.1rem; margin: 10px 0 8px; }
.adv-card p { color: rgba(255,255,255,.5); font-size: .9rem; }

/* News */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }
.news-card { background: rgba(255,255,255,.05); border-radius: 16px; overflow: hidden; transition: .4s; border: 1px solid rgba(255,255,255,.08); display: block; }
.news-card:hover { transform: translateY(-10px) rotateY(3deg); box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.news-card img { width: 100%; height: 200px; object-fit: cover; display: block; }
.news-body { padding: 25px; }
.news-date { color: var(--secondary); font-size: .85rem; }
.news-body h3 { color: #fff; font-size: 1.1rem; margin: 10px 0; }
.news-body h3 a { color: inherit; }
.news-body h3 a:hover { color: var(--secondary); }
.news-body p { color: rgba(255,255,255,.5); font-size: .9rem; }
.news-more { text-align: center; margin-top: 45px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info h3 { color: #fff; font-size: 1.5rem; margin-bottom: 20px; }
.contact-info h3 span { color: var(--secondary); }
.contact-info p { color: rgba(255,255,255,.6); margin-bottom: 30px; }
.contact-detail { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; color: #fff; }
.contact-detail .icon { width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--secondary)); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.2rem; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; padding: 14px 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.15); border-radius: 12px; font-size: .95rem; margin-bottom: 15px; transition: .3s; outline: none; color: #fff; font-family: inherit; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--secondary); box-shadow: 0 0 0 4px rgba(250,204,21,.1); }
.contact-form textarea { height: 140px; resize: vertical; }
.contact-form select option { color: #111; }

/* Footer */
footer { background: var(--bg-footer); color: rgba(255,255,255,.6); padding: 80px 0 30px; border-top: 1px solid rgba(255,255,255,.05); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-brand h3 { color: #fff; font-size: 1.5rem; margin-bottom: 15px; }
.footer-brand h3 span { color: var(--secondary); }
.footer-brand p { font-size: .9rem; line-height: 1.8; color: rgba(255,255,255,.5); }
.footer-col h4 { color: #fff; font-size: 1.1rem; margin-bottom: 20px; }
.footer-col a { display: block; color: rgba(255,255,255,.5); margin-bottom: 12px; font-size: .9rem; transition: .3s; }
.footer-col a:hover { color: var(--secondary); padding-left: 5px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.05); padding-top: 25px; text-align: center; font-size: .85rem; }

/* Page Banner */
.page-banner { min-height: 50vh; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; position: relative; background-position: center; background-size: cover; background-repeat: no-repeat; }
.page-banner::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.65); }
.page-banner > div { position: relative; z-index: 1; padding: 0 20px; }
.page-banner h1 { font-size: 3.5rem; font-weight: 900; }
.page-banner p { font-size: 1.2rem; opacity: .8; margin-top: 10px; }

/* About */
.about-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image { border-radius: 20px; overflow: hidden; }
.about-image img { width: 100%; display: block; }
.about-text h2 { color: #fff; font-size: 2rem; margin-bottom: 20px; }
.about-text h2 span { color: var(--secondary); }
.about-text p { color: rgba(255,255,255,.6); margin-bottom: 15px; line-height: 1.8; }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.stat-item { text-align: center; padding: 20px; background: rgba(255,255,255,.05); border-radius: 12px; }
.stat-item .num { font-size: 2rem; font-weight: 900; color: var(--secondary); }
.stat-item p { color: rgba(255,255,255,.5); font-size: .85rem; margin: 0; }

/* Timeline / 发展历程 */
.timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 25px; }
.tl-item { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 35px 25px; text-align: center; transition: .3s; }
.tl-item:hover { background: rgba(255,255,255,.1); transform: translateY(-6px); }
.tl-year { font-size: 1.8rem; font-weight: 900; color: var(--secondary); display: block; margin-bottom: 10px; }
.tl-item h3 { color: #fff; font-size: 1.2rem; margin-bottom: 8px; }
.tl-item p { color: rgba(255,255,255,.55); font-size: .95rem; }

/* Products */
.product-card-wide { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; background: rgba(255,255,255,.03); border-radius: 20px; overflow: hidden; border: 1px solid rgba(255,255,255,.08); margin-bottom: 40px; transition: .3s; }
.product-card-wide:nth-child(even) { direction: rtl; }
.product-card-wide:nth-child(even) .product-body { direction: ltr; }
.product-card-wide:hover { background: rgba(255,255,255,.06); transform: scale(1.01); }
.product-card-wide .product-img { width: 100%; height: 100%; min-height: 350px; background-position: center; background-size: cover; }
.product-body { padding: 50px; }
.product-body h3 { color: #fff; font-size: 1.8rem; margin-bottom: 15px; }
.product-body p { color: rgba(255,255,255,.6); margin-bottom: 15px; }
.product-tag { display: inline-block; padding: 5px 15px; background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; border-radius: 20px; font-size: .8rem; font-weight: 600; margin-bottom: 15px; align-self: flex-start; }

/* News page */
.news-list { max-width: 900px; margin: 0 auto; }
.news-article { display: grid; grid-template-columns: 300px 1fr; gap: 30px; background: rgba(255,255,255,.03); border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,.08); margin-bottom: 30px; transition: .3s; }
.news-article:hover { transform: translateX(5px); background: rgba(255,255,255,.06); }
.news-article .news-img { width: 100%; height: 100%; min-height: 220px; background-position: center; background-size: cover; }
.news-article-body { padding: 30px; }
.news-article-body .tag { display: inline-block; padding: 4px 12px; background: rgba(250,204,21,.15); color: var(--secondary); border-radius: 20px; font-size: .8rem; font-weight: 600; margin-bottom: 10px; }
.news-article-body h3 { color: #fff; font-size: 1.3rem; margin-bottom: 10px; }
.news-article-body h3 a { color: inherit; }
.news-article-body h3 a:hover { color: var(--secondary); }
.news-article-body p { color: rgba(255,255,255,.5); font-size: .9rem; }

/* Contact page */
.contact-page-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.map-placeholder { width: 100%; height: 400px; border-radius: 16px; overflow: hidden; background: rgba(255,255,255,.05); display: flex; align-items: center; justify-content: center; color: var(--gray-400); }
.map-placeholder iframe { width: 100%; height: 100%; border: 0; }

/* CMS SHARED: 列表 / 详情 / 分页（深色主题） */
.cms-section { padding: 140px 0 64px; }
.cms-section .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.cms-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 26px; }
.cms-card { display: block; background: rgba(255,255,255,.05); border-radius: 14px; overflow: hidden; box-shadow: 0 8px 26px rgba(0,0,0,.2); transition: .25s; text-decoration: none; color: #fff; border: 1px solid rgba(255,255,255,.08); }
.cms-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,.3); }
.cms-card img { width: 100%; height: 200px; object-fit: cover; display: block; }
.cms-card h3 { margin: 0; padding: 18px 18px 4px; font-size: 18px; color: #fff; }
.cms-card p { padding: 0 18px 18px; color: rgba(255,255,255,.5); font-size: 14px; margin: 0; }
.cms-detail { max-width: 860px; margin: 0 auto; padding: 0 20px; }
.cms-detail img { max-width: 100%; border-radius: 14px; margin: 18px 0; }
.cms-detail h1 { font-size: 34px; margin: 10px 0 6px; color: #fff; }
.cms-detail .lead { color: rgba(255,255,255,.6); font-size: 16px; }
.cms-content { line-height: 1.9; color: rgba(255,255,255,.75); margin-top: 18px; }
.cms-content img { max-width: 100%; }
.cms-back { display: inline-block; margin: 8px 0 18px; color: var(--secondary); text-decoration: none; font-weight: 600; }
.cms-pager { margin: 34px 0; text-align: center; }
.cms-pager a, .cms-pager span { padding: 8px 14px; margin: 0 3px; border-radius: 8px; background: rgba(255,255,255,.08); color: #fff; text-decoration: none; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.cms-pager .active { background: var(--primary); color: #fff; }

/* FORM */
.form-alert { padding: 12px 14px; border-radius: 10px; margin-bottom: 12px; font-size: 14px; }
.form-alert-ok { background: #0f3d28; color: #6ee7a0; }
.form-alert-err { background: #451a1a; color: #fca5a5; }
.form-alert-err ul { margin: 6px 0 0; padding-left: 18px; }

/* Responsive */
@media (max-width: 992px) {
  .hero-text h1 { font-size: 2.8rem; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-cards { height: 400px; margin-top: 40px; }
  .about-wrap, .contact-grid, .contact-page-grid { grid-template-columns: 1fr; }
  .product-card-wide { grid-template-columns: 1fr; }
  .product-card-wide:nth-child(even) { direction: ltr; }
  .product-card-wide .product-img { min-height: 250px; }
  .news-article { grid-template-columns: 1fr; }
  .news-article .news-img { min-height: 200px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .page-banner h1 { font-size: 2.6rem; }
}
@media (max-width: 768px) {
  #siteNav { display: none; }
  #siteNav.active { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background: rgba(17,17,17,.98); padding: 20px; }
  #siteNav a { margin: 10px 0; }
  .hamburger { display: flex; }
  .hero-text h1 { font-size: 2rem; }
  .section { padding: 80px 0; }
  .section-title { font-size: 1.8rem; }
  .services-grid, .adv-grid { grid-template-columns: 1fr; }
  .project-grid, .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
  .page-banner h1 { font-size: 2rem; }
}
