/* ========================================
   绘梦空间 - 统一样式表
   ======================================== */

/* ===== CSS Variables ===== */
:root {
  --primary-dark: #050510;
  --primary-purple: #7c3aed;
  --accent-blue: #3b82f6;
  --accent-cyan: #06b6d4;
  --text-white: #ffffff;
  --text-gray: #94a3b8;
  --text-dark: #1e1b2e;
  --bg-light: #f8f9fc;
  --card-bg: rgba(255,255,255,0.03);
  --border-glow: rgba(123,58,237,0.4);
  --gradient-hero: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
  --gradient-purple: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  --gradient-blue: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
  --nav-height: 70px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --radius: 12px;
  --shadow: 0 8px 32px rgba(0,0,0,0.3);
  --shadow-hover: 0 16px 48px rgba(123,58,237,0.25);
}

/* ===== Reset ===== */
* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",PingFang SC,Microsoft YaHei,sans-serif; background:var(--bg-light); color:var(--text-dark); overflow-x:hidden; }
a{ text-decoration: none;}
/* ===== Navigation (shared) ===== */
.navbar { position:fixed; top:0; left:0; right:0; height:var(--nav-height); z-index:1000; display:flex; align-items:center; justify-content:space-between; padding:0 5%; background:rgba(5,5,16,0.55); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); transition:background var(--transition), backdrop-filter var(--transition); }
.navbar.scrolled { background:rgba(5,5,16,0.85); backdrop-filter:blur(20px); -webkit-backdrop-filter:blur(20px); border-bottom:1px solid rgba(255,255,255,0.05); }
.navbar.menu-open { background:rgba(5,5,16,0.95); backdrop-filter:blur(20px); -webkit-backdrop-filter:blur(20px); }
.logo { display:flex; align-items:center; gap:10px; text-decoration:none; }
.logo-icon { width:36px; height:36px; background:var(--gradient-purple); border-radius:8px; display:flex; align-items:center; justify-content:center; color:white; font-weight:bold; font-size:18px; position:relative; overflow:hidden; }
.logo-icon::after { content:''; position:absolute; inset:0; background:linear-gradient(135deg,transparent 40%,rgba(255,255,255,0.2) 100%); }
.logo-text { color:var(--text-white); font-size:18px; font-weight:600; letter-spacing:1px; }
.nav-links { display:flex; align-items:center; gap:40px; list-style:none; }
.nav-links a { color:var(--text-gray); text-decoration:none; font-size:16px; position:relative; transition:color var(--transition); }
.nav-links a:hover, .nav-links a.active { color:var(--text-white); }
.nav-links a.active::after { content:''; position:absolute; bottom:-6px; left:0; right:0; height:2px; background:var(--gradient-purple); border-radius:2px; }
.nav-contact { display:flex; align-items:center; gap:12px; }
.nav-phone { color:var(--text-white); font-size:14px; text-decoration:none; display:flex; align-items:center; gap:6px; }
.nav-phone svg { width:16px; height:16px; }
.hamburger { display:none; flex-direction:column; gap:5px; cursor:pointer; padding:8px; z-index:1001; }
.hamburger span { display:block; width:24px; height:2px; background:var(--text-white); border-radius:2px; transition:all var(--transition); }
.hamburger.active span:nth-child(1) { transform:rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity:0; }
.hamburger.active span:nth-child(3) { transform:rotate(-45deg) translate(5px,-5px); }

/* ===== Footer (shared) ===== */
.footer { background:#0a0a14; color:var(--text-gray); padding:60px 5% 0; }
.footer-main { display:grid; grid-template-columns:2fr auto auto; gap:60px; max-width:1200px; margin:0 auto; padding-bottom:40px; border-bottom:1px solid rgba(255,255,255,0.05); }
.footer-logo { display:flex; align-items:center; gap:10px; margin-bottom:16px; }
.footer-logo-icon { width:32px; height:32px; background:var(--gradient-purple); border-radius:6px; display:flex; align-items:center; justify-content:center; color:white; font-weight:bold; font-size:14px; }
.footer-logo-text { color:var(--text-white); font-size:16px; font-weight:600; }
.footer-info p { font-size:13px; line-height:2; color:var(--text-gray); display:flex; align-items:center; gap:8px; }
.footer-info svg { width:14px; height:14px; }
.footer-col h4 { font-size:14px; color:var(--text-white); margin-bottom:16px; font-weight:600; }
.footer-col a { display:inline-block; color:var(--text-gray); text-decoration:none; font-size:13px; line-height:2.2; margin-right:24px; transition:color var(--transition); }
.footer-col a:hover { color:var(--text-white); }
.footer-col a:last-child { margin-right:0; }
.footer-qr { width:100px; height:100px; background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.1); border-radius:8px; display:flex; align-items:center; justify-content:center; color:var(--text-gray); font-size:11px; margin-bottom:8px; }
.footer-qr img {max-width:100%;max-height:100% }
.footer-qr-text { font-size:12px; color:var(--text-gray); text-align:center; }
.footer-bottom { text-align:center; padding:20px 5%; font-size:12px; color:var(--text-gray); max-width:1200px; margin:0 auto; }
.footer-bottom a{color:#fff}
/* ===== Reveal Animation (shared) ===== */
.reveal { opacity:0; transform:translateY(40px); transition:all 0.8s cubic-bezier(0.4,0,0.2,1); }
.reveal.visible { opacity:1; transform:translateY(0); }
.reveal-delay-1 { transition-delay:0.1s; }
.reveal-delay-2 { transition-delay:0.2s; }
.reveal-delay-3 { transition-delay:0.3s; }
.reveal-delay-4 { transition-delay:0.4s; }
.reveal-delay-5 { transition-delay:0.5s; }

/* ===== Mobile Menu (shared) ===== */
.mobile-menu { position:fixed; top:0; right:0; width:300px; height:100vh; background:rgba(5,5,16,0.98); backdrop-filter:blur(20px); z-index:999; transform:translateX(100%); transition:transform var(--transition); padding:100px 32px 32px; }
.mobile-menu.active { transform:translateX(0); }
.mobile-menu a { display:block; color:var(--text-gray); text-decoration:none; font-size:16px; padding:14px 0; border-bottom:1px solid rgba(255,255,255,0.05); transition:color var(--transition); }
.mobile-menu a:hover, .mobile-menu a.active { color:var(--text-white); }
.mobile-overlay { position:fixed; inset:0; background:rgba(0,0,0,0.6); z-index:998; opacity:0; pointer-events:none; transition:opacity var(--transition); }
.mobile-overlay.active { opacity:1; pointer-events:all; }

/* ===== Glow Hover (shared) ===== */
.glow-hover { transition:all var(--transition); }
.glow-hover:hover { box-shadow:0 0 20px rgba(123,58,237,0.3), 0 0 40px rgba(59,130,246,0.1); }

/* ===== Button 3D (shared) ===== */
.btn-3d { position:relative; transition:all 0.15s ease; }
.btn-3d:active { transform:scale(0.96) translateY(2px); }
.btn-3d::before { content:''; position:absolute; inset:-2px; border-radius:inherit; background:linear-gradient(135deg,rgba(123,58,237,0.5),rgba(59,130,246,0.5)); opacity:0; transition:opacity var(--transition); z-index:-1; filter:blur(8px); }
.btn-3d:hover::before { opacity:1; }

/* ===== Section Common (shared) ===== */
.section { padding:80px 0; max-width:1200px; margin:0 auto; }
.section-title { text-align:center; font-size:clamp(24px,3vw,32px); font-weight:700; color:var(--text-dark); margin-bottom:48px; position:relative; }
.section-title::after { content:''; display:block; width:40px; height:3px; background:var(--gradient-purple); margin:12px auto 0; border-radius:2px; }
.section-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:48px; }
.section-header h2 { font-size:clamp(24px,3vw,32px); font-weight:700; color:var(--text-dark); }
.section-header .more { color:var(--primary-purple); text-decoration:none; font-size:14px; display:flex; align-items:center; gap:6px; transition:gap var(--transition); }
.section-header .more:hover { gap:12px; }

/* ==========================================
   INDEX PAGE
   ========================================== */

/* Hero Banner */
.hero { position:relative; min-height:100vh; background:var(--gradient-hero); display:flex; align-items:center; justify-content:center; text-align:center; overflow:hidden;  }
.hero::before { content:''; position:absolute; inset:0; background:
  radial-gradient(ellipse 80% 50% at 50% 120%, rgba(123,58,237,0.3) 0%, transparent 60%),
  radial-gradient(ellipse 60% 40% at 20% 80%, rgba(59,130,246,0.2) 0%, transparent 50%),
  radial-gradient(ellipse 60% 40% at 80% 80%, rgba(6,182,212,0.2) 0%, transparent 50%); }
.hero-lines { position:absolute; inset:0; overflow:hidden; pointer-events:none; }
.hero-line { position:absolute; width:200%; height:2px; background:linear-gradient(90deg, transparent, rgba(123,58,237,0.6), rgba(59,130,246,0.8), rgba(6,182,212,0.6), transparent); animation:heroLineFlow 8s linear infinite; opacity:0.6; }
.hero-line:nth-child(1) { top:35%; left:-50%; animation-duration:10s; }
.hero-line:nth-child(2) { top:55%; left:-50%; animation-duration:12s; animation-delay:-3s; }
.hero-line:nth-child(3) { top:45%; left:-50%; animation-duration:9s; animation-delay:-6s; }
@keyframes heroLineFlow { 0% { transform:translateX(-50%) rotate(-2deg); } 100% { transform:translateX(50%) rotate(-2deg); } }
.hero-particles { position:absolute; inset:0; pointer-events:none; }
.hero-particle { position:absolute; width:4px; height:4px; background:rgba(255,255,255,0.8); border-radius:50%; animation:heroParticleFloat 15s infinite ease-in-out; }
@keyframes heroParticleFloat { 0%,100% { transform:translateY(0) translateX(0); opacity:0; } 10% { opacity:1; } 90% { opacity:1; } 100% { transform:translateY(-100vh) translateX(50px); opacity:0; } }
.hero-content { position:relative; z-index:2; max-width:800px; padding:0 20px; }
.hero-badge { display:inline-block; padding:6px 16px; border:1px solid rgba(255,255,255,0.2); border-radius:20px; color:var(--text-gray); font-size:12px; margin-bottom:24px; backdrop-filter:blur(10px); }
.hero-title { font-size:clamp(28px,5vw,44px); font-weight:700; color:var(--text-white); line-height:1.5; margin-bottom:20px; text-shadow:0 0 40px rgba(123,58,237,0.3); }
.hero-subtitle { font-size:clamp(14px,2vw,18px); color:var(--text-gray); line-height:1.8; margin-bottom:40px; }
.hero-buttons { display:flex; gap:20px; justify-content:center; flex-wrap:wrap; }
.hero-btn { padding:14px 36px; border-radius:8px; font-size:14px; cursor:pointer; transition:all var(--transition); position:relative; overflow:hidden; display:flex; align-items:center; gap:8px; border:none; font-family:inherit; text-decoration: none; }
.hero-btn-primary { background:rgba(255,255,255,0.1); border:1px solid rgba(255,255,255,0.2); color:var(--text-white); backdrop-filter:blur(10px); }
.hero-btn-primary:hover { background:rgba(255,255,255,0.2); border-color:rgba(255,255,255,0.4); transform:translateY(-2px); box-shadow:0 8px 24px rgba(123,58,237,0.3); }
.hero-btn::after { content:''; position:absolute; inset:0; background:linear-gradient(135deg,transparent 40%,rgba(255,255,255,0.1) 100%); opacity:0; transition:opacity var(--transition); }
.hero-btn:hover::after { opacity:1; }
.hero-btn svg { width:16px; height:16px; }

/* Index - Products Grid */
.products-section { background:var(--bg-light); }
.products-grid { display:grid; grid-template-columns:repeat(6,1fr); gap:24px; }
.product-card { grid-column:span 2; }
.product-card:nth-child(4) { grid-column:2 / span 2; }
.product-card:nth-child(5) { grid-column:4 / span 2; }
@media (min-width:769px) and (max-width:1024px) {
  .products-grid { grid-template-columns:repeat(4,1fr); }
  .product-card, .product-card:nth-child(4), .product-card:nth-child(5) { grid-column:span 2; }
  .product-card:nth-child(5) { grid-column:2 / span 2; }
}
@media (max-width:768px) {
  .products-grid { grid-template-columns:1fr; }
  .product-card, .product-card:nth-child(4), .product-card:nth-child(5) { grid-column:span 1; }
}
.product-card { background:white; border-radius:var(--radius); padding:0; overflow:hidden; transition:all var(--transition); cursor:pointer; box-shadow:0 2px 8px rgba(0,0,0,0.05); border:1px solid rgba(0,0,0,0.04); }
.product-card:hover { transform:translateY(-8px) scale(1.02); box-shadow:var(--shadow-hover); border-color:var(--border-glow); }
.product-card:hover .product-img { transform:scale(1.05); }
.product-img-wrap { width:100%; height:200px; overflow:hidden; position:relative; }
.product-img-wrap img{width: 100%;height:100%;}
.product-img { width:100%; height:100%; object-fit:cover; transition:transform var(--transition); }
.product-img-placeholder { width:100%; height:100%; display:flex; align-items:center; justify-content:center; font-size:48px; transition:transform var(--transition); }
.product-img-placeholder img{width: 100%;height:100%;}
.product-card:nth-child(1) .product-img-placeholder { background:linear-gradient(135deg,#dbeafe,#ede9fe); }
.product-card:nth-child(2) .product-img-placeholder { background:linear-gradient(135deg,#fce7f3,#ede9fe); }
.product-card:nth-child(3) .product-img-placeholder { background:linear-gradient(135deg,#e0f2fe,#dbeafe); }
.product-card:nth-child(4) .product-img-placeholder { background:linear-gradient(135deg,#f0fdf4,#dbeafe); }
.product-card:nth-child(5) .product-img-placeholder { background:linear-gradient(135deg,#fef3c7,#fce7f3); }
.product-info { padding:20px 24px; }
.product-info h3 { font-size:16px; font-weight:600; color:var(--text-dark); margin-bottom:6px; }
.product-info p { font-size:13px; color:var(--text-gray); line-height:1.6; }
.product-arrow { display:flex; justify-content:space-between; align-items:center; margin-top:16px; }
.product-arrow svg { width:20px; height:20px; color:var(--primary-purple); transition:transform var(--transition); }
.product-card:hover .product-arrow svg { transform:translateX(4px); }

/* Index - About Section */
.about-section { background:white; }
.about-wrap { display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; }
@media (max-width:768px) { .about-wrap { grid-template-columns:1fr; gap:40px; } }
.about-visual { position:relative; height:400px; display:flex; align-items:center; justify-content:center; }
.about-visual-bg { position:absolute; inset:0; background:linear-gradient(135deg,#dbeafe 0%,#ede9fe 50%,#e0f2fe 100%); border-radius:var(--radius); opacity:0.6; }
.about-visual-hex { position:relative; width:200px; height:200px; }
.about-hex { position:absolute; width:100px; height:100px; background:linear-gradient(135deg,rgba(59,130,246,0.8),rgba(6,182,212,0.6)); clip-path:polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%); animation:hexFloat 6s ease-in-out infinite; }
.about-hex:nth-child(1) { top:0; left:50%; transform:translateX(-50%); animation-delay:0s; }
.about-hex:nth-child(2) { top:60px; left:0; animation-delay:-1s; }
.about-hex:nth-child(3) { top:60px; right:0; animation-delay:-2s; }
.about-hex:nth-child(4) { top:120px; left:50%; transform:translateX(-50%); animation-delay:-3s; }
@keyframes hexFloat { 0%,100% { transform:translateY(0) scale(1); } 50% { transform:translateY(-10px) scale(1.05); } }
.about-content h3 { font-size:24px; font-weight:700; color:var(--text-dark); margin-bottom:20px; }
.about-content p { font-size:14px; color:var(--text-gray); line-height:1.8; margin-bottom:24px; }
.about-btn { display:inline-block; padding:12px 28px; background:var(--gradient-purple); color:white; border-radius:6px; text-decoration:none; font-size:14px; transition:all var(--transition); box-shadow:0 4px 16px rgba(123,58,237,0.3); position:relative; overflow:hidden; }
.about-btn:hover { transform:translateY(-2px); box-shadow:0 8px 24px rgba(123,58,237,0.4); }
.about-btn::after { content:''; position:absolute; inset:0; background:linear-gradient(135deg,transparent 40%,rgba(255,255,255,0.2) 100%); }

/* Index - News Section */
.news-section { background:var(--bg-light); }
.news-grid { display:grid; grid-template-columns:1fr 1fr; gap:32px; }
@media (max-width:768px) { .news-grid { grid-template-columns:1fr; } }
.news-featured { position:relative; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); transition:all var(--transition); cursor:pointer; }
.news-featured:hover { transform:translateY(-4px); box-shadow:var(--shadow-hover); }
.news-featured-img { width:100%; height:280px; object-fit:cover; background:linear-gradient(135deg,#1e1b2e,#302b63); }
.news-featured-img-placeholder { width:100%; height:280px; display:flex; align-items:center; justify-content:center; font-size:80px; background:linear-gradient(135deg,#1e1b2e,#302b63); color:white; }
.news-featured-content { padding:24px; background:white; }
.news-date { font-size:12px; color:var(--primary-purple); font-weight:600; margin-bottom:8px; }
.news-title { font-size:16px; font-weight:600; color:var(--text-dark); line-height:1.5; }
.news-list { display:flex; flex-direction:column; gap:20px; }
.news-item { display:flex; gap:16px; padding:16px 20px; background:white; border-radius:var(--radius); transition:all var(--transition); cursor:pointer; border-left:3px solid transparent; }
.news-item:hover { border-left-color:var(--primary-purple); transform:translateX(4px); box-shadow:0 4px 16px rgba(0,0,0,0.08); }
.news-item-date { font-size:12px; color:var(--text-gray); white-space:nowrap; margin-top:2px; }
.news-item-body h4 { font-size:14px; font-weight:600; color:var(--text-dark); margin-bottom:6px; line-height:1.4; }
.news-item-body p { font-size:12px; color:var(--text-gray); line-height:1.6; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }

/* ==========================================
   PAGE BANNER (about / products / news / contact)
   ========================================== */
.page-banner { position:relative; display:flex; align-items:center; justify-content:center; text-align:center; overflow:hidden; min-height:600px;}
.page-banner-content { position:relative; z-index:2; }
.page-banner h1 { font-size:clamp(28px,4vw,40px); font-weight:700; color:var(--text-white); margin-bottom:8px; text-shadow:0 0 40px rgba(123,58,237,0.3); }
.page-banner .subtitle { font-size:12px; color:var(--text-gray); letter-spacing:4px; text-transform:uppercase; }

/* Page-specific banner backgrounds */
.page-about .page-banner { height:60vh;  background:var(--gradient-hero); }
.page-about .page-banner::before { content:''; position:absolute; inset:0; background:radial-gradient(ellipse 60% 50% at 50% 100%, rgba(123,58,237,0.25) 0%, transparent 60%); }

.page-products .page-banner { height:50vh;  background:var(--gradient-hero); }
.page-products .page-banner::before { content:''; position:absolute; inset:0; background:radial-gradient(ellipse 80% 50% at 50% 120%, rgba(59,130,246,0.25) 0%, transparent 60%); }

.page-news .page-banner { height:45vh; background:var(--gradient-hero); }
.page-news .page-banner::before { content:''; position:absolute; inset:0; background:radial-gradient(ellipse 50% 50% at 80% 20%, rgba(59,130,246,0.2) 0%, transparent 60%), radial-gradient(ellipse 40% 40% at 20% 80%, rgba(123,58,237,0.15) 0%, transparent 50%); }

.page-contact .page-banner { height:45vh; background:linear-gradient(135deg,#0a0a1e 0%, #1a1a3e 50%, #2d2654 100%); }
.page-contact .page-banner::before { content:''; position:absolute; inset:0; background:
  radial-gradient(ellipse 50% 50% at 30% 30%, rgba(123,58,237,0.25) 0%, transparent 50%),
  radial-gradient(ellipse 50% 50% at 70% 70%, rgba(59,130,246,0.2) 0%, transparent 50%),
  radial-gradient(ellipse 30% 30% at 50% 100%, rgba(6,182,212,0.15) 0%, transparent 50%); }

/* Banner lines (about + products) */
.page-banner-lines { position:absolute; inset:0; overflow:hidden; pointer-events:none; }
.page-banner-line { position:absolute; width:200%; }
.page-about .page-banner-line { height:1px; background:linear-gradient(90deg, transparent, rgba(123,58,237,0.5), rgba(59,130,246,0.7), rgba(6,182,212,0.5), transparent); animation:aboutLineFlow 10s linear infinite; }
.page-about .page-banner-line:nth-child(1) { top:40%; left:-50%; animation-duration:12s; }
.page-about .page-banner-line:nth-child(2) { top:60%; left:-50%; animation-duration:14s; animation-delay:-4s; }
.page-about .page-banner-line:nth-child(3) { top:50%; left:-50%; animation-duration:11s; animation-delay:-7s; }

.page-products .page-banner-line { height:2px; background:linear-gradient(90deg, transparent, rgba(59,130,246,0.6), rgba(6,182,212,0.8), rgba(123,58,237,0.6), transparent); animation:productsLineFlow 10s linear infinite; }
.page-products .page-banner-line:nth-child(1) { top:30%; left:-50%; animation-duration:12s; }
.page-products .page-banner-line:nth-child(2) { top:50%; left:-50%; animation-duration:14s; animation-delay:-4s; }
.page-products .page-banner-line:nth-child(3) { top:70%; left:-50%; animation-duration:11s; animation-delay:-7s; }


.page-news .page-banner-line { height:1px; background:linear-gradient(90deg, transparent, rgba(123,58,237,0.5), rgba(59,130,246,0.7), rgba(6,182,212,0.5), transparent); animation:aboutLineFlow 10s linear infinite; }
.page-news .page-banner-line:nth-child(1) { top:30%; left:-50%; animation-duration:12s; }
.page-news .page-banner-line:nth-child(2) { top:40%; left:-50%; animation-duration:14s; animation-delay:-4s; }
.page-news .page-banner-line:nth-child(3) { top:60%; left:-50%; animation-duration:11s; animation-delay:-7s; }

.page-contact .page-banner-line { height:2px; background:linear-gradient(90deg, transparent, rgba(59,130,246,0.6), rgba(6,182,212,0.8), rgba(123,58,237,0.6), transparent); animation:productsLineFlow 10s linear infinite; }
.page-contact .page-banner-line:nth-child(1) { top:40%; left:-50%; animation-duration:12s; }
.page-contact .page-banner-line:nth-child(2) { top:20%; left:-50%; animation-duration:14s; animation-delay:-4s; }
.page-contact .page-banner-line:nth-child(3) { top:80%; left:-50%; animation-duration:11s; animation-delay:-7s; }

@keyframes aboutLineFlow { 0% { transform:translateX(-50%) rotate(-1deg); } 100% { transform:translateX(50%) rotate(-1deg); } }
@keyframes productsLineFlow { 0% { transform:translateX(-50%) rotate(3deg); } 100% { transform:translateX(50%) rotate(3deg); } }

/* Banner particles (news) */
.page-banner-particles { position:absolute; inset:0; pointer-events:none; }
.page-banner-particle { position:absolute; width:2px; height:2px; background:rgba(255,255,255,0.6); border-radius:50%; animation:bannerParticleFloat 10s infinite ease-in-out; }
@keyframes bannerParticleFloat { 0%,100% { transform:translateY(0); opacity:0; } 10% { opacity:1; } 90% { opacity:1; } 100% { transform:translateY(-80vh) translateX(30px); opacity:0; } }

/* Banner letter (about) */
.page-banner-letter { position:absolute; right:15%; top:50%; transform:translateY(-50%); font-size:clamp(120px,20vw,200px); font-weight:800; color:rgba(255,255,255,0.03); letter-spacing:-10px; pointer-events:none; }

/* ==========================================
   ABOUT PAGE
   ========================================== */
.about-page { background:white; padding:80px 5%; }
.about-page-wrap { max-width:1200px; margin:0 auto; }
.about-header { display:flex; justify-content:space-between; align-items:flex-end; margin-bottom:60px; }
.about-header-left h2 { font-size:clamp(32px,5vw,48px); font-weight:700; color:var(--text-dark); line-height:1.2; }
.about-header-left h2 span { color:var(--primary-purple); }
.about-header-left p { font-size:14px; color:var(--text-gray); margin-top:8px; }
.about-header-right { display:flex; gap:8px; }
.about-header-right span { width:8px; height:8px; background:var(--gradient-purple); border-radius:50%; display:inline-block; animation:dotPulse 2s infinite ease-in-out; }
.about-header-right span:nth-child(2) { animation-delay:0.2s; }
.about-header-right span:nth-child(3) { animation-delay:0.4s; }
@keyframes dotPulse { 0%,100% { opacity:0.3; transform:scale(0.8); } 50% { opacity:1; transform:scale(1); } }
.about-body { display:grid; grid-template-columns:1fr 1.2fr; gap:60px; align-items:center; }
@media (max-width:768px) { .about-body { grid-template-columns:1fr; gap:40px; } }
.about-img { position:relative; height:500px; border-radius:var(--radius); overflow:hidden; background:linear-gradient(135deg,#0f0c29,#302b63,#1e1b2e); display:flex; align-items:center; justify-content:center; }
.about-img::before { content:''; position:absolute; inset:0; background:radial-gradient(ellipse at 50% 50%, rgba(123,58,237,0.2) 0%, transparent 70%); }
.about-img::after { content:''; position:absolute; width:200px; height:200px; border-radius:50%; border:2px solid rgba(123,58,237,0.3); animation:circleExpand 4s infinite ease-in-out; }
@keyframes circleExpand { 0%,100% { transform:scale(1); opacity:0.5; } 50% { transform:scale(1.2); opacity:0.8; } }
.about-img-inner { position:relative; z-index:2; width:300px; height:400px; background:linear-gradient(135deg,#1e1b2e,#302b63); border-radius:var(--radius); display:flex; align-items:center; justify-content:center; font-size:80px; box-shadow:var(--shadow); }
.about-img-inner::before { content:''; position:absolute; inset:-2px; border-radius:14px; background:linear-gradient(135deg,rgba(123,58,237,0.5),rgba(59,130,246,0.5)); z-index:-1; }
.about-img-ring { position:absolute; width:120px; height:120px; border:2px solid rgba(123,58,237,0.4); border-radius:50%; animation:ringRotate 8s linear infinite; }
.about-img-ring:nth-child(2) { width:180px; height:180px; animation-duration:12s; animation-direction:reverse; border-color:rgba(59,130,246,0.3); }
@keyframes ringRotate { 0% { transform:rotate(0deg); } 100% { transform:rotate(360deg); } }
.about-text h3 { font-size:28px; font-weight:700; color:var(--text-dark); margin-bottom:24px; position:relative; display:inline-block; }
.about-text h3::after { content:''; position:absolute; bottom:-6px; left:28px; width:56px; height:3px; background:var(--gradient-purple); border-radius:2px; }
.about-text p { font-size:14px; color:var(--text-gray); line-height:2; margin-bottom:16px; }
.about-text .highlight { color:var(--primary-purple); font-weight:600; }

/* ==========================================
   PRODUCTS PAGE
   ========================================== */
.products-page { padding:80px 0; max-width:1200px; margin:0 auto; }
.product-row { display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; margin-bottom:80px; }
.product-row:nth-child(even) .product-row-img { order:2; }
.product-row:nth-child(even) .product-row-text { order:1; }
@media (max-width:768px) { .product-row { grid-template-columns:1fr; gap:40px; margin-bottom:60px; } .product-row:nth-child(even) .product-row-img { order:1; } .product-row:nth-child(even) .product-row-text { order:2; } }
.product-row-img { position:relative; height:320px; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); transition:all var(--transition); cursor:pointer; }
.product-row-img img{width:100%;height: 100%;}
.product-row-img:hover { transform:scale(1.02) translateY(-4px); box-shadow:var(--shadow-hover); }
.product-row-img:hover .product-row-img-glow { opacity:1; }
.product-row-img-inner { width:100%; height:100%; display:flex; align-items:center; justify-content:center; font-size:80px; position:relative; z-index:2; }
.product-row-img-glow { position:absolute; inset:-2px; border-radius:14px; background:linear-gradient(135deg,rgba(123,58,237,0.4),rgba(59,130,246,0.4)); opacity:0; transition:opacity var(--transition); filter:blur(8px); z-index:0; }
.product-row:nth-child(1) .product-row-img-inner { background:linear-gradient(135deg,#dbeafe,#ede9fe); }
.product-row:nth-child(2) .product-row-img-inner { background:linear-gradient(135deg,#fce7f3,#ede9fe); }
.product-row:nth-child(3) .product-row-img-inner { background:linear-gradient(135deg,#e0f2fe,#dbeafe); }
.product-row:nth-child(4) .product-row-img-inner { background:linear-gradient(135deg,#f0fdf4,#dbeafe); }
.product-row:nth-child(5) .product-row-img-inner { background:linear-gradient(135deg,#fef3c7,#fce7f3); }
.product-row-text h3 { font-size:clamp(20px,3vw,28px); font-weight:700; color:var(--text-dark); margin-bottom:12px; }
.product-row-text .tag { display:inline-block; padding:4px 12px; background:linear-gradient(135deg,rgba(123,58,237,0.1),rgba(59,130,246,0.1)); color:var(--primary-purple); font-size:12px; border-radius:4px; margin-bottom:16px; }
.product-row-text p { font-size:14px; color:var(--text-gray); line-height:1.8; margin-bottom:20px; }
.product-row-text .features { display:flex; flex-wrap:wrap; gap:8px; }
.product-row-text .feature-tag { padding:6px 14px; background:white; border:1px solid rgba(0,0,0,0.06); border-radius:20px; font-size:12px; color:var(--text-gray); transition:all var(--transition); }
.product-row-text .feature-tag:hover { border-color:var(--primary-purple); color:var(--primary-purple); transform:translateY(-2px); box-shadow:0 4px 12px rgba(123,58,237,0.1); }

/* ==========================================
   NEWS PAGE
   ========================================== */
.news-page { padding:80px 5%; max-width:1200px; margin:0 auto; }
.news-featured-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-bottom:60px; }
@media (max-width:1024px) { .news-featured-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:768px) { .news-featured-grid { grid-template-columns:1fr; } }
.news-card { background:white; border-radius:var(--radius); overflow:hidden; box-shadow:0 2px 8px rgba(0,0,0,0.05); transition:all var(--transition); cursor:pointer; border:1px solid rgba(0,0,0,0.04); }
.news-card:hover { transform:translateY(-8px) scale(1.02); box-shadow:var(--shadow-hover); border-color:var(--border-glow); }
.news-card:hover .news-card-img { transform:scale(1.05); }
.news-card-img-wrap { height:200px; overflow:hidden; position:relative; }
.news-card-img { width:100%; height:100%; background:linear-gradient(135deg,#1e1b2e,#302b63); display:flex; align-items:center; justify-content:center; font-size:60px; transition:transform var(--transition); }
.news-featured-img-placeholder img, .news-card-img img{width:100%;height:100%;}
.news-card-body { padding:24px; }
.news-card-date { font-size:12px; color:var(--primary-purple); font-weight:600; margin-bottom:8px; }
.news-card-title { font-size:16px; font-weight:600; color:var(--text-dark); line-height:1.5; margin-bottom:12px; }
.news-card-desc { font-size:13px; color:var(--text-gray); line-height:1.6; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.news-card-footer { display:flex; justify-content:space-between; align-items:center; padding:0 24px 20px; }
.news-card-read { font-size:12px; color:var(--primary-purple); font-weight:600; }
.news-card-arrow { transition:transform var(--transition); }
.news-card:hover .news-card-arrow { transform:translateX(4px); }
.news-list-page { display:flex; flex-direction:column; gap:16px; }
.news-list-item { display:grid; grid-template-columns:80px 1fr 100px; gap:20px; padding:24px; background:white; border-radius:var(--radius); transition:all var(--transition); cursor:pointer; align-items:center; border-left:3px solid transparent; }
.news-list-item:hover { border-left-color:var(--primary-purple); transform:translateX(4px); box-shadow:0 4px 16px rgba(0,0,0,0.08); }
.news-list-date { font-size:12px; color:var(--text-gray); white-space:nowrap; text-align:center; }
.news-list-date .day { font-size:24px; font-weight:700; color:var(--primary-purple); display:block; line-height:1; }
.news-list-date .month { font-size:11px; text-transform:uppercase; letter-spacing:1px; }
.news-list-content h4 { font-size:15px; font-weight:600; color:var(--text-dark); margin-bottom:6px; line-height:1.4; }
.news-list-content p { font-size:13px; color:var(--text-gray); line-height:1.6; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.news-list-arrow { display:flex; justify-content:flex-end; }
.news-list-arrow svg { width:20px; height:20px; color:var(--text-gray); transition:all var(--transition); }
.news-list-item:hover .news-list-arrow svg { color:var(--primary-purple); transform:translateX(4px); }
@media (max-width:768px) { .news-list-item { grid-template-columns:60px 1fr; } .news-list-arrow { display:none; } }

/* ==========================================
   CONTACT PAGE
   ========================================== */
.contact-section { padding:80px 0; max-width:1200px; margin:0 auto; position:relative; }
.contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:60px; }
@media (max-width:768px) { .contact-grid { grid-template-columns:1fr; gap:40px; } }
.contact-info { position:relative; }
.contact-info h2 { font-size:clamp(20px,3vw,28px); font-weight:700; color:var(--text-dark); padding-bottom:16px; margin-bottom:32px; border-bottom:2px solid var(--text-dark); position:relative; display:inline-block; }
.contact-info h2::after { content:''; position:absolute; bottom:-2px; left:0; width:60%; height:2px; background:var(--gradient-purple); }
.contact-info .company-info { margin-bottom:40px; }
.contact-info .company-info p { font-size:14px; color:var(--text-gray); line-height:2; }
.contact-info .company-info strong { color:var(--text-dark); font-weight:600; }
.contact-info h3 { font-size:clamp(18px,2.5vw,22px); font-weight:700; color:var(--text-dark); margin-bottom:12px; }
.contact-info .tagline { font-size:13px; color:var(--text-gray); line-height:1.8; margin-bottom:6px; }
.contact-info .en-line { font-size:12px; color:var(--text-gray); line-height:1.6; }
.contact-form { background:white; border-radius:var(--radius); padding:40px; box-shadow:0 4px 24px rgba(0,0,0,0.06); border:1px solid rgba(0,0,0,0.04); }
.contact-form-title { font-size:20px; font-weight:600; color:var(--text-dark); margin-bottom:24px; padding-bottom:16px; border-bottom:1px solid rgba(0,0,0,0.05); }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:16px; }
@media (max-width:480px) { .form-row { grid-template-columns:1fr; } }
.form-group { margin-bottom:16px; }
.form-input { width:100%; padding:12px 16px; border:1px solid rgba(0,0,0,0.1); border-radius:6px; font-size:14px; font-family:inherit; transition:all var(--transition); background:#f8f9fc; }
.form-input:focus { outline:none; border-color:var(--primary-purple); background:white; box-shadow:0 0 0 3px rgba(123,58,237,0.1); }
.form-input.invalid { border-color:#ef4444; background:rgba(239,68,68,0.05); }
.form-input.invalid:focus { box-shadow:0 0 0 3px rgba(239,68,68,0.1); }
.form-textarea { width:100%; padding:12px 16px; border:1px solid rgba(0,0,0,0.1); border-radius:6px; font-size:14px; font-family:inherit; min-height:120px; resize:vertical; transition:all var(--transition); background:#f8f9fc; }
.form-textarea:focus { outline:none; border-color:var(--primary-purple); background:white; box-shadow:0 0 0 3px rgba(123,58,237,0.1); }
.form-textarea.invalid { border-color:#ef4444; }
.form-error { color:#ef4444; font-size:11px; margin-top:4px; min-height:14px; }
.form-submit { width:100%; padding:14px; background:var(--gradient-purple); color:white; border:none; border-radius:6px; font-size:15px; font-weight:600; cursor:pointer; transition:all var(--transition); margin-top:8px; font-family:inherit; position:relative; overflow:hidden; box-shadow:0 4px 16px rgba(123,58,237,0.3); }
.form-submit:hover { transform:translateY(-2px); box-shadow:0 8px 24px rgba(123,58,237,0.4); }
.form-submit:active { transform:scale(0.96) translateY(2px); }
.form-submit::after { content:''; position:absolute; inset:0; background:linear-gradient(135deg,transparent 40%,rgba(255,255,255,0.2) 100%); opacity:0; transition:opacity var(--transition); }
.form-submit:hover::after { opacity:1; }
.form-success { display:none; padding:16px; background:rgba(34,197,94,0.1); border:1px solid rgba(34,197,94,0.3); border-radius:6px; color:#16a34a; font-size:13px; margin-top:12px; text-align:center; }
.form-success.show { display:block; animation:fadeIn 0.4s ease; }
@keyframes fadeIn { from { opacity:0; transform:translateY(-10px); } to { opacity:1; transform:translateY(0); } }
.contact-cards { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:32px; }
@media (max-width:480px) { .contact-cards { grid-template-columns:1fr; } }
.contact-card { background:white; border-radius:8px; padding:20px; display:flex; align-items:center; gap:12px; transition:all var(--transition); border:1px solid rgba(0,0,0,0.04); cursor:pointer; }
.contact-card:hover { transform:translateY(-4px); box-shadow:0 8px 24px rgba(0,0,0,0.08); border-color:var(--border-glow); }
.contact-card-icon { width:40px; height:40px; background:linear-gradient(135deg,rgba(123,58,237,0.1),rgba(59,130,246,0.1)); border-radius:50%; display:flex; align-items:center; justify-content:center; color:var(--primary-purple); flex-shrink:0; }
.contact-card-icon svg { width:18px; height:18px; }
.contact-card-info h5 { font-size:12px; color:var(--text-gray); margin-bottom:4px; font-weight:normal; }
.contact-card-info p { font-size:13px; color:var(--text-dark); font-weight:500; }

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width:768px) {
  .nav-links { display:none; }
  .nav-contact { display:none; }
  .hamburger { display:flex; }
  .hero-title { font-size:28px; }
  .hero-buttons { flex-direction:column; width:100%; max-width:280px; margin:0 auto; }
  .hero-btn { width:100%; justify-content:center; }
  .section { padding:60px 5%; }
  .products-grid { grid-template-columns:1fr !important; }
  .product-card, .product-card:nth-child(4), .product-card:nth-child(5) { grid-column:span 1 !important; }
  .about-wrap { grid-template-columns:1fr; }
  .news-grid { grid-template-columns:1fr; }
  .footer-main { grid-template-columns:1fr; gap:32px; }
  .footer-col a { margin-right:16px; }
  /* About page */
  .page-about .about-header { flex-direction:column; align-items:flex-start; gap:20px; }
  .page-about .about-body { grid-template-columns:1fr; }
  .page-about .about-img { height:350px; }
  .page-about .about-img-inner { width:200px; height:280px; font-size:60px; }
  /* Products page */
  .page-products .products-page { padding:60px 5%; }
  .page-products .product-row { grid-template-columns:1fr; }
  .page-products .product-row-img { height:260px; }
  /* News page */
  .page-news .news-page { padding:60px 5%; }
  /* Contact page */
  .page-contact .contact-section { padding:60px 5%; }
  .page-contact .contact-grid { grid-template-columns:1fr; }
  .page-contact .contact-form { padding:24px; }
}


/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}  
.pagination li { display: inline-block; }
.pagination a, .pagination span { width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition); }
.pagination a:hover, .pagination span:hover { color: #750400;
   }
.pagination li.active a, .pagination li.active span { 
    background: var(--primary-purple);
    color: var(--text-white);
    border-color: var(--highlight-color);}
.pagination li.disabled a, .pagination li.disabled span { background-color: #EEE; color: #BBB; }

.noresult{text-align: center;}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/* 新闻详情 */
.news-detail {
    padding: 80px 0;
}

.news-detail-header {
    margin-bottom: 40px;
}

.news-detail-header h1 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-detail-content {
    font-size: 16px;
    line-height: 2;
    color: var(--text-color);
}

.news-detail-content p {
    margin-bottom: 20px;
}

.news-detail-content img {
    width: 100%;
    max-width: 800px;
    margin: 30px auto;
    border-radius: 12px;
}