:root {
  --primary: #FF6B00;
  --primary-light: #FF8C38;
  --primary-dark: #D45800;
  --accent: #FFD700;
  --dark: #1A1A2E;
  --dark2: #16213E;
  --dark3: #0F3460;
  --text: #333;
  --text-light: #666;
  --bg: #F8F9FA;
  --white: #fff;
  --card-shadow: 0 8px 32px rgba(0,0,0,0.08);
  --radius: 16px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'PingFang SC','Microsoft YaHei',sans-serif; color: var(--text); background: var(--bg); }
a { text-decoration: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* === NAV === */
.navbar {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.12); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-logo { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 800; color: var(--dark); text-decoration: none; }
.nav-logo img { height: 32px; width: auto; }
.nav-logo span { color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 16px; border-radius: 8px; font-size: 15px; font-weight: 500;
  color: var(--text); transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); background: rgba(255,107,0,0.06); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.btn-primary {
  background: linear-gradient(135deg,var(--primary),var(--primary-dark));
  color: white; padding: 9px 22px; border-radius: 24px; font-size: 14px;
  font-weight: 600; border: none; cursor: pointer; transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.9; }
.btn-outline {
  background: transparent; color: var(--primary); border: 2px solid var(--primary);
  padding: 7px 20px; border-radius: 24px; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all 0.2s;
}
.btn-outline:hover { background: var(--primary); color: white; }
.mobile-toggle { display: none; font-size: 24px; background: none; border: none; cursor: pointer; }

/* === HERO === */
.hero {
  background: linear-gradient(135deg,var(--dark) 0%,var(--dark3) 50%,#1a3a5c 100%);
  color: white; padding: 160px 0 80px; text-align: center; position: relative; overflow: hidden;
}
.hero::before {
  content:''; position:absolute; top:-50%; left:-50%; width:200%; height:200%;
  background: radial-gradient(ellipse at center,rgba(255,107,0,0.12) 0%,transparent 60%);
  animation: pulse 6s infinite;
}
@keyframes pulse { 0%,100%{transform:scale(1);opacity:.5} 50%{transform:scale(1.1);opacity:1} }
.hero-badge {
  display:inline-block; background:rgba(255,107,0,0.2); border:1px solid rgba(255,107,0,0.5);
  color:var(--primary-light); padding:6px 18px; border-radius:20px; font-size:13px;
  letter-spacing:2px; margin-bottom:20px; position:relative;
}
.hero h1 { font-size:52px; font-weight:800; line-height:1.2; margin-bottom:14px; position:relative; }
.hero h1 span { color:var(--primary-light); }
.hero-sub { font-size:18px; opacity:0.85; margin-bottom:36px; position:relative; }
.hero-stats { display:flex; justify-content:center; gap:56px; margin-top:40px; position:relative; }
.hero-stat .num { font-size:40px; font-weight:800; color:var(--accent); }
.hero-stat .label { font-size:14px; opacity:0.75; margin-top:4px; }

/* === SECTIONS === */
.section { padding: 80px 0; }
.section-dark { background: var(--dark); color: white; }
.section-title { text-align:center; margin-bottom:48px; }
.section-title h2 { font-size:36px; font-weight:800; margin-bottom:10px; }
.section-title p { color:var(--text-light); font-size:16px; }
.section-dark .section-title p { color:rgba(255,255,255,0.6); }

/* === PRODUCT TABS === */
.prod-tabs { display:flex; justify-content:center; gap:8px; margin-bottom:40px; flex-wrap:wrap; }
.prod-tab {
  padding:10px 24px; border-radius:30px; border:2px solid #e5e5e5; background:white;
  font-size:15px; font-weight:600; cursor:pointer; transition:all 0.2s; color:var(--text-light);
}
.prod-tab.active, .prod-tab:hover { border-color:var(--primary); color:var(--primary); background:rgba(255,107,0,0.04); }

/* 产品展示 - 固定2行布局 */
.prod-showcase { display:flex; flex-direction:column; gap:28px; }
.prod-showcase-row { display:grid; gap:24px; }
.prod-showcase-row.row-2 { grid-template-columns:1fr 1fr; }
.prod-showcase-row.row-3 { grid-template-columns:1fr 1fr 1fr; }

.prod-showcase-card {
  background:white; border-radius:var(--radius); overflow:hidden;
  box-shadow:0 4px 20px rgba(0,0,0,0.06); border:1px solid #eee;
  transition:transform 0.25s,box-shadow 0.25s; display:flex; flex-direction:column;
}
.prod-showcase-card:hover { transform:translateY(-6px); box-shadow:0 18px 48px rgba(0,0,0,0.12); }
.psc-top {
  background: linear-gradient(135deg, var(--primary) 0%, #FF8C38 40%, #FFA94D 100%);
  color:white; padding:28px 28px 20px; text-align:center; position:relative;
  overflow:hidden;
}
.psc-top::after {
  content:''; position:absolute; bottom:-20px; left:0; right:0; height:40px;
  background:white; border-radius:50% 50% 0 0;
}
.psc-top .psc-icon { font-size:48px; margin-bottom:10px; display:block; }
.psc-top .psc-cat {
  display:inline-block; font-size:11px; background:rgba(255,255,255,0.25);
  padding:3px 12px; border-radius:12px; margin-bottom:8px; letter-spacing:1px; color:white;
}
.psc-top h3 { font-size:22px; font-weight:800; position:relative; z-index:1; color:white; }

/* 带产品截图的卡片顶部 */
.psc-top.with-image {
  padding:0; height:220px; background-size:cover; background-position:center top;
  background-repeat:no-repeat; display:flex; flex-direction:column;
  align-items:center; justify-content:flex-end;
}
.psc-top.with-image::before {
  content:''; position:absolute; bottom:0; left:0; right:0; height:60%;
  background:linear-gradient(transparent,rgba(212,88,0,0.85));
  z-index:0;
}
.psc-top.with-image .psc-cat,
.psc-top.with-image h3 { position:relative; z-index:1; color:white; }
.psc-top.with-image .psc-icon { display:none; }
.psc-top.with-image .image-label {
  position:absolute; top:12px; right:14px; z-index:2;
  font-size:11px; background:rgba(255,107,0,0.9); color:white;
  padding:4px 12px; border-radius:10px; letter-spacing:1px; font-weight:600;
}
.psc-body { padding:28px; flex:1; display:flex; flex-direction:column; }
.psc-body .psc-desc { font-size:14px; color:var(--text-light); line-height:1.75; margin-bottom:18px; }
.psc-features { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:18px; }
.psc-feat-tag {
  font-size:12px; padding:5px 12px; border-radius:16px; font-weight:500;
  background:var(--bg); color:var(--text); border:1px solid #e8e8e8;
  transition:all 0.2s;
}
.psc-feat-tag.highlight {
  background:linear-gradient(135deg,rgba(255,107,0,0.1),rgba(255,140,56,0.06));
  color:var(--primary); border-color:rgba(255,107,0,0.25); font-weight:700;
}
.psc-footer {
  margin-top:auto; display:flex; align-items:center; justify-content:space-between;
  padding-top:16px; border-top:1px solid #f0f0f0;
}
.psc-footer .psc-count { font-size:13px; color:var(--text-light); }
.psc-footer .psc-count strong { color:var(--primary); }
.psc-footer .psc-arrow {
  display:inline-flex; align-items:center; gap:4px; color:var(--primary);
  font-size:13px; font-weight:600; text-decoration:none; transition:gap 0.2s;
}
.psc-footer .psc-arrow:hover { gap:8px; }

/* 旧产品grid（保留兼容） */
.prod-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(320px,1fr)); gap:24px; }
.prod-card {
  background:white; border-radius:var(--radius); padding:32px; box-shadow:var(--card-shadow);
  transition:transform 0.2s,box-shadow 0.2s; border:1px solid #f0f0f0;
}
.prod-card:hover { transform:translateY(-4px); box-shadow:0 16px 48px rgba(0,0,0,0.12); }
.prod-card .icon { font-size:40px; margin-bottom:16px; }
.prod-card h3 { font-size:20px; font-weight:700; margin-bottom:10px; }
.prod-card p { font-size:14px; color:var(--text-light); line-height:1.7; }
.prod-card .features { margin-top:16px; }
.prod-card .features li { font-size:13px; color:var(--text-light); padding:4px 0; list-style:none; padding-left:18px; position:relative; }
.prod-card .features li::before { content:'✓'; position:absolute; left:0; color:var(--primary); font-weight:700; }

/* === CUSTOM DEV === */
.dev-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:20px; }
.dev-card {
  background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.1);
  border-radius:var(--radius); padding:28px; transition:transform 0.2s;
}
.dev-card:hover { transform:translateY(-3px); }
.dev-card .icon { font-size:34px; margin-bottom:12px; }
.dev-card h4 { font-size:17px; font-weight:700; margin-bottom:8px; }
.dev-card p { font-size:13px; opacity:0.7; line-height:1.6; }

/* === CASES === */
.case-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(340px,1fr)); gap:24px; }
.case-card {
  background:white; border-radius:var(--radius); overflow:hidden;
  box-shadow:var(--card-shadow); transition:transform 0.2s;
}
.case-card:hover { transform:translateY(-3px); }
.case-card .c-header { padding:24px 28px; background:linear-gradient(135deg,var(--dark),var(--dark3)); color:white; }
.case-card .c-header h4 { font-size:18px; font-weight:700; }
.case-card .c-body { padding:20px 28px 28px; }
.case-card .c-body p { font-size:14px; color:var(--text-light); line-height:1.7; }
.case-feat-list { margin-top:14px; display:flex; flex-wrap:wrap; gap:8px; }
.case-feat-tag {
  display:inline-block; font-size:12px; padding:4px 12px; border-radius:14px;
  background:rgba(255,107,0,0.06); color:var(--primary-dark); font-weight:500;
  border:1px solid rgba(255,107,0,0.12);
}

/* === DOWNLOADS === */
.dl-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:20px; }
.dl-card {
  background:white; border-radius:14px; padding:24px; display:flex; align-items:center; gap:18px;
  box-shadow:0 4px 16px rgba(0,0,0,0.06); transition:transform 0.2s;
}
.dl-card:hover { transform:translateY(-2px); }
.dl-icon { font-size:36px; width:56px; height:56px; background:rgba(255,107,0,0.08); border-radius:14px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.dl-info h4 { font-size:15px; font-weight:700; }
.dl-info p { font-size:12px; color:var(--text-light); margin-top:4px; }
.dl-btn {
  margin-left:auto; background:var(--primary); color:white; border:none;
  padding:8px 18px; border-radius:20px; font-size:13px; font-weight:600; cursor:pointer;
}

/* === NEWS === */
.news-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(340px,1fr)); gap:24px; }
.news-card {
  background:white; border-radius:var(--radius); overflow:hidden;
  box-shadow:0 4px 20px rgba(0,0,0,0.07); transition:transform 0.2s;
}
.news-card:hover { transform:translateY(-3px); }
.news-card .n-img { height:180px; background:linear-gradient(135deg,var(--primary),var(--dark3)); display:flex; align-items:center; justify-content:center; font-size:48px; color:rgba(255,255,255,0.3); }
.news-card .n-body { padding:20px 24px 24px; }
.news-card .n-date { font-size:12px; color:var(--text-light); margin-bottom:8px; }
.news-card h4 { font-size:17px; font-weight:700; line-height:1.4; }
.news-card p { font-size:13px; color:var(--text-light); margin-top:8px; line-height:1.6; }

/* === CONTACT === */
.contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:start; }
.contact-info h3 { font-size:22px; font-weight:700; margin-bottom:20px; }
.contact-info p { font-size:15px; line-height:2; }
.contact-info .highlight { color:var(--primary); font-weight:700; font-size:18px; }
.contact-form input, .contact-form textarea {
  width:100%; padding:12px 16px; border:2px solid #e5e5e5; border-radius:10px;
  font-size:14px; font-family:inherit; outline:none; transition:border-color 0.2s; margin-bottom:14px;
}
.contact-form input:focus, .contact-form textarea:focus { border-color:var(--primary); }
.contact-form textarea { min-height:120px; resize:vertical; }
.contact-form button {
  background:linear-gradient(135deg,var(--primary),var(--primary-dark));
  color:white; border:none; padding:14px 40px; border-radius:30px;
  font-size:16px; font-weight:700; cursor:pointer;
}

/* === FOOTER === */
footer {
  background:var(--dark); color:rgba(255,255,255,0.6); padding:48px 0 24px; text-align:center;
  font-size:14px;
}
footer a { color:var(--primary-light); }
.footer-links { display:flex; justify-content:center; gap:24px; margin-bottom:16px; flex-wrap:wrap; }
.footer-links a { color:rgba(255,255,255,0.8); font-size:14px; }
.footer-links a:hover { color:var(--primary-light); }

/* === PAGE BANNER === */
.page-banner {
  background:linear-gradient(135deg,var(--dark) 0%,var(--dark3) 100%);
  color:white; padding:140px 0 60px; text-align:center;
}
.page-banner h1 { font-size:42px; font-weight:800; }
.page-banner p { font-size:16px; opacity:0.8; margin-top:10px; }

/* === MODAL === */
.modal-overlay {
  display:none; position:fixed; top:0;left:0;right:0;bottom:0;
  background:rgba(0,0,0,0.6); z-index:1000; justify-content:center; align-items:center;
  backdrop-filter:blur(4px);
}
.modal-overlay.show { display:flex; }
.modal-box {
  background:white; border-radius:var(--radius); width:90%; max-width:500px;
  box-shadow:0 24px 64px rgba(0,0,0,0.3); animation:modalIn 0.3s ease; position:relative; overflow:hidden;
}
@keyframes modalIn { from{opacity:0;transform:scale(0.9) translateY(20px)} to{opacity:1;transform:scale(1) translateY(0)} }
.modal-close {
  position:absolute; top:16px;right:16px; width:32px;height:32px; border-radius:50%;
  border:none; background:rgba(0,0,0,0.08); font-size:18px; cursor:pointer;
  display:flex; align-items:center; justify-content:center; transition:background 0.2s; z-index:2;
}
.modal-close:hover { background:rgba(0,0,0,0.15); }
.modal-head { background:linear-gradient(135deg,var(--primary),var(--primary-dark)); color:white; padding:28px 32px; text-align:center; }
.modal-head h3 { font-size:22px; font-weight:800; margin-bottom:6px; }
.modal-body { padding:28px 32px 32px; }
.modal-phone-item {
  display:flex; align-items:center; gap:14px; padding:18px 20px; background:var(--bg);
  border-radius:12px; margin-bottom:14px; text-decoration:none; color:var(--text); transition:background 0.2s;
}
.modal-phone-item:hover { background:rgba(255,107,0,0.06); }
.modal-phone-item .ph-icon { font-size:28px; width:48px;height:48px; background:rgba(255,107,0,0.1); border-radius:12px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.modal-phone-item .ph-num { font-size:22px; font-weight:800; color:var(--primary-dark); letter-spacing:1px; }
.modal-phone-item .ph-label { font-size:12px; color:var(--text-light); }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  /* 导航 */
  .nav-links { display:none; }
  .nav-links.open { display:flex; flex-direction:column; position:absolute; top:68px; left:0;right:0; background:white; padding:16px; box-shadow:0 8px 24px rgba(0,0,0,0.1); z-index:998; }
  .nav-links a { padding:12px 16px; border-radius:8px; font-size:15px; }
  .mobile-toggle { display:block; }
  .nav-actions .btn-primary { padding:7px 16px; font-size:13px; }
  /* Hero / Page Banner */
  .hero h1 { font-size:30px; }
  .hero-stats { flex-direction:column; gap:20px; }
  .page-banner { padding:120px 0 40px; }
  .page-banner h1 { font-size:28px; }
  /* 产品展示 - 固定行变单列 */
  .prod-showcase-row.row-2, .prod-showcase-row.row-3 { grid-template-columns:1fr; }
  .prod-grid { grid-template-columns:1fr; }
  /* 案例 */
  .case-grid { grid-template-columns:1fr; }
  /* 新闻 */
  .news-grid { grid-template-columns:1fr; }
  /* 下载 */
  .dl-grid { grid-template-columns:1fr; }
  /* 联系我们 */
  .contact-grid { grid-template-columns:1fr; }
  /* 定制开发 */
  .dev-grid { grid-template-columns:1fr; }
  /* Modal */
  .modal-box { width:95%; max-width:420px; }
  .modal-head { padding:22px 20px; }
  .modal-body { padding:20px 20px 24px; }
  .modal-phone-item .ph-num { font-size:18px; }
  /* 页脚 */
  footer { padding:36px 0 20px; font-size:13px; }
  .footer-links { gap:14px; }
  /* 通用 */
  .section { padding:56px 0; }
  .section-title h2 { font-size:28px; }
  .section-title p { font-size:15px; }
  .container { padding:0 16px; }
  .prod-tab { padding:8px 16px; font-size:13px; }
}

/* 小屏手机 */
@media (max-width: 480px) {
  .hero { padding:140px 0 50px; }
  .hero h1 { font-size:24px; }
  .hero-sub { font-size:14px; }
  .hero-stats { gap:12px; }
  .hero-stat .num { font-size:28px; }
  .hero-badge { font-size:11px; padding:5px 14px; }
  .about-stats { gap:12px; }
  .about-stat .num { font-size:24px; }
  .about-stat .label { font-size:11px; }
  .psc-top h3 { font-size:18px; }
  .psc-top.with-image { height:160px; }
  .psc-body { padding:20px; }
  .psc-footer { flex-direction:column; gap:10px; align-items:flex-start; }
  .prod-tabs { gap:6px; }
  .prod-tab { padding:7px 12px; font-size:12px; }
}
