/* ==========================================
   新疆东华特创 - 极简白+品牌蓝
   响应式优化版
   ========================================== */

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-font-smoothing:antialiased}
body{font-family:'Inter','PingFang SC','Microsoft YaHei',sans-serif;color:#1e293b;background:#fff;line-height:1.7;overflow-x:hidden}
::selection{background:#2563eb;color:#fff}
a{color:inherit;text-decoration:none}
ul{list-style:none}
img{max-width:100%;height:auto;display:block}

:root{
  --blue:#2563eb;--blue-dark:#1d4ed8;--blue-light:#3b82f6;
  --blue-50:#eff6ff;--blue-100:#dbeafe;--blue-200:#bfdbfe;
  --text:#1e293b;--text-muted:#64748b;--text-light:#94a3b8;
  --bg:#fff;--bg-alt:#f8fafc;--bg-muted:#f1f5f9;
  --border:#e2e8f0;--green:#10b981;--amber:#f59e0b;
  --shadow-sm:0 1px 3px rgba(0,0,0,.06);
  --shadow:0 4px 24px rgba(0,0,0,.08);
  --shadow-lg:0 12px 48px rgba(0,0,0,.1);
  --radius:12px;--radius-lg:20px;
}

/* ===== Mobile-First Base ===== */
.container{max-width:1200px;margin:0 auto;padding:0 20px}
.container-sm{max-width:900px;margin:0 auto;padding:0 20px}
.section{padding:48px 0}

/* Navbar */
.nav{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.92);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-bottom:1px solid transparent;transition:border-color .3s}
.nav.scrolled{border-bottom-color:var(--border)}
.nav-inner{display:flex;align-items:center;justify-content:space-between;height:60px}
.nav-brand{display:flex;align-items:center;gap:8px;font-size:1.125rem;font-weight:700;letter-spacing:-.02em}
.nav-brand img{height:34px;width:auto}
.nav-links{display:none;align-items:center;gap:2px}
.nav-link{color:#000;font-weight:700;padding:12px 22px;border-radius:12px;transition:all .25s;font-size:1rem;letter-spacing:.02em;position:relative;border:2px solid transparent}
.nav-link:hover{color:var(--blue);background:var(--blue-50);border-color:var(--blue-200);transform:translateY(-1px);box-shadow:0 2px 12px rgba(37,99,235,.1)}
.nav-link.active{color:#fff;background:linear-gradient(135deg,var(--blue),var(--blue-dark));font-weight:700;box-shadow:0 4px 16px rgba(37,99,235,.35);border-color:transparent}
.nav-link.active:hover{transform:none;box-shadow:0 4px 16px rgba(37,99,235,.35)}
.nav-btn{display:block;padding:8px;border-radius:8px;border:none;background:none;cursor:pointer}
.nav-btn:hover{background:var(--bg-muted)}
.nav-btn svg{width:22px;height:22px;color:var(--text)}

.mobile-menu{display:none;border-top:1px solid var(--border);background:#fff}
.mobile-menu.open{display:block}
.mobile-inner{padding:8px 20px;display:flex;flex-direction:column;gap:2px}
.mobile-link{display:block;padding:12px 16px;border-radius:10px;color:var(--text-muted);font-weight:500;font-size:.875rem;transition:all .2s}
.mobile-link:hover{background:var(--bg-muted);color:var(--text)}
.mobile-link.active{color:var(--blue);background:var(--blue-50);font-weight:600}

/* Hero */
.hero{position:relative;background:#fff;overflow:hidden;padding:32px 0 48px}
.hero-grid{display:grid;grid-template-columns:1fr;gap:32px;align-items:center}
.hero-badge{display:inline-flex;align-items:center;gap:8px;padding:6px 14px;background:var(--blue-50);border-radius:100px;color:var(--blue);font-size:.75rem;font-weight:600;margin-bottom:16px;letter-spacing:.01em}
.hero-badge .dot{width:6px;height:6px;background:var(--green);border-radius:50%;animation:pulse 2s infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.4}}
.hero h1{font-size:2rem;font-weight:800;line-height:1.15;letter-spacing:-.03em;color:var(--text)}
.hero h1 span{color:var(--blue)}
.hero-desc{font-size:.9375rem;color:var(--text-muted);line-height:1.7;margin-top:16px;max-width:520px}
.hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
.hero-stats-row{display:flex;gap:28px;margin-top:28px;padding-top:20px;border-top:1px solid var(--border)}
.hero-stats-row div{font-size:1.5rem;font-weight:800;color:var(--blue);line-height:1}
.hero-stats-row div small{font-size:.75rem;font-weight:500;display:block;color:var(--text-light);margin-top:2px}
.hero img{border-radius:16px;box-shadow:var(--shadow-lg)}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;padding:10px 22px;font-weight:600;font-size:.875rem;border-radius:10px;transition:all .2s;cursor:pointer;border:none;font-family:inherit;white-space:nowrap}
.btn:active{transform:scale(.98)}
.btn-primary{background:var(--blue);color:#fff;box-shadow:0 2px 8px rgba(37,99,235,.3)}
.btn-primary:hover{background:var(--blue-dark);box-shadow:0 4px 16px rgba(37,99,235,.4)}
.btn-outline{border:2px solid var(--border);color:var(--text);background:#fff}
.btn-outline:hover{border-color:var(--blue);color:var(--blue)}
.btn-ghost{color:var(--text-muted);padding:8px 14px;background:transparent;font-weight:500;font-size:.875rem}
.btn-ghost:hover{color:var(--blue);background:var(--bg-muted)}
.btn-lg{padding:14px 32px;font-size:1rem;border-radius:12px}

/* Section headings */
.section-tag{display:inline-flex;align-items:center;gap:10px;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:var(--blue);margin-bottom:12px}
.section-tag::before{content:'';display:inline-block;width:32px;height:2px;background:var(--blue);border-radius:1px}
.section-tag::after{content:'';display:inline-block;width:32px;height:2px;background:var(--blue);border-radius:1px}
.section-title{font-size:2rem;font-weight:900;letter-spacing:-.03em;line-height:1.15;color:var(--text);position:relative;padding-bottom:16px}
.section-title::after{content:'';position:absolute;bottom:0;left:50%;transform:translateX(-50%);width:60px;height:4px;background:linear-gradient(90deg,var(--blue),var(--blue-light));border-radius:2px}
.section-sub{font-size:.9375rem;color:var(--text-muted);margin-top:12px;max-width:600px}
.text-center .section-title::after{left:50%;transform:translateX(-50%)}
@media(min-width:768px){
  .section-title{font-size:2.5rem}.section-tag{font-size:.8125rem}
}
.text-center{text-align:center}
.mx-auto{margin-left:auto;margin-right:auto}

/* Cards */
.card{background:var(--bg);border:1px solid var(--border);border-radius:16px;padding:24px;transition:all .3s}
.card:hover{box-shadow:var(--shadow);border-color:var(--blue-200);transform:translateY(-2px)}
.card-icon{width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;margin-bottom:14px}
.card-icon svg{width:22px;height:22px}
.card-title{font-size:1.0625rem;font-weight:700;margin-bottom:6px;color:var(--text)}
.card-desc{color:var(--text-muted);font-size:.875rem;line-height:1.65}

/* Image card */
.img-card{background:var(--bg);border:1px solid var(--border);border-radius:16px;overflow:hidden;transition:all .3s}
.img-card:hover{box-shadow:var(--shadow-lg);border-color:var(--blue-200);transform:translateY(-2px)}
.img-card-img{width:100%;height:180px;object-fit:cover}
.img-card-body{padding:20px}

/* Grid */
.grid{display:grid;gap:16px}
.grid-2{grid-template-columns:1fr}
.grid-3{grid-template-columns:1fr}
.grid-4{grid-template-columns:1fr 1fr}

/* Stats */
.stats-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
.stat-val{font-size:2rem;font-weight:800;color:var(--blue);line-height:1}
.stat-val small{font-size:1rem;font-weight:600}
.stat-label{font-size:.75rem;color:var(--text-light);margin-top:4px}

/* Page header */
.page-head{background:linear-gradient(180deg,var(--blue-50),#fff);padding:60px 0 40px;text-align:center}
.page-head h1{font-size:2rem;font-weight:800;color:var(--text);letter-spacing:-.02em}
.page-head p{font-size:1rem;color:var(--text-muted);margin-top:6px}

/* Brand grid */
.brand-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;max-width:800px;margin:0 auto}
.brand-item{background:var(--bg);border:1px solid var(--border);border-radius:14px;padding:20px 16px;text-align:center;transition:all .2s}
.brand-item:hover{box-shadow:var(--shadow);border-color:var(--blue-200)}
.brand-name{font-size:1rem;font-weight:700;color:var(--text)}
.brand-desc{font-size:.75rem;color:var(--text-muted);margin-top:4px}

/* Timeline */
.timeline{position:relative;padding-left:36px;max-width:600px;margin:0 auto}
.timeline::before{content:'';position:absolute;left:11px;top:0;bottom:0;width:2px;background:var(--blue-100)}
.timeline-item{position:relative;padding-bottom:24px}
.timeline-dot{position:absolute;left:-36px;top:0;width:24px;height:24px;background:var(--blue);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.6875rem;font-weight:700;z-index:1;box-shadow:0 0 0 4px var(--blue-100)}
.timeline-year{font-weight:700;font-size:1rem;color:var(--text)}
.timeline-desc{color:var(--text-muted);margin-top:4px;font-size:.875rem;line-height:1.5}

/* Feature list */
.feature-list{display:flex;flex-direction:column;gap:6px;margin-top:10px}
.feature-list li{display:flex;align-items:center;gap:8px;font-size:.8125rem;color:var(--text-muted)}
.feature-dot{width:5px;height:5px;border-radius:50%;flex-shrink:0}

/* Case card */
.case{background:var(--bg);border:1px solid var(--border);border-radius:16px;padding:24px;transition:all .3s;margin-bottom:16px}
.case:hover{box-shadow:var(--shadow);border-color:var(--blue-200)}
.case-tag{display:inline-block;padding:4px 10px;border-radius:100px;font-size:.6875rem;font-weight:700;text-transform:uppercase;letter-spacing:.02em;margin-bottom:10px}
.tag-gov{background:var(--blue-50);color:var(--blue)}
.tag-sec{background:rgba(16,185,129,.1);color:var(--green)}
.tag-edu{background:rgba(245,158,11,.1);color:var(--amber)}
.tag-sw{background:rgba(59,130,246,.1);color:#3b82f6}
.case-title{font-size:1.125rem;font-weight:700;margin-bottom:6px}
.case-desc{color:var(--text-muted);font-size:.875rem;line-height:1.65}
.case-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:16px;padding:16px;background:var(--bg-alt);border-radius:12px}
.case-metric-val{font-size:1.25rem;font-weight:800;color:var(--green)}
.case-metric-label{font-size:.6875rem;color:var(--text-muted);margin-top:2px}

/* Product category */
.product-category{margin-bottom:40px}
.product-header{display:flex;align-items:center;gap:12px;margin-bottom:8px}
.product-icon{width:36px;height:36px;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.product-icon svg{width:18px;height:18px}
.product-desc{padding-left:48px;margin-bottom:24px;color:var(--text-muted);font-size:.875rem;max-width:600px}
.product-grid{margin-left:0}

/* Contact */
.info-card{background:var(--bg);border:1px solid var(--border);border-radius:16px;padding:24px 16px;text-align:center;transition:all .2s}
.info-card:hover{box-shadow:var(--shadow)}
.info-icon{width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;margin:0 auto 10px}
.info-icon svg{width:22px;height:22px}
.info-title{font-weight:700;margin-bottom:4px;color:var(--text);font-size:.9375rem}
.info-text{color:var(--text-muted);font-size:.8125rem;line-height:1.6}

/* Map */
.map-wrap{border-radius:16px;overflow:hidden;box-shadow:var(--shadow);margin-bottom:24px}

/* CTA */
.cta{background:linear-gradient(135deg,var(--blue),var(--blue-dark));padding:60px 0;position:relative;overflow:hidden;text-align:center}
.cta::before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 20% 50%,rgba(255,255,255,.08) 0%,transparent 50%)}
.cta-title{font-size:1.5rem;font-weight:800;color:#fff;position:relative}
.cta-desc{color:rgba(255,255,255,.75);font-size:.9375rem;margin:12px 0 24px;position:relative}
.cta .btn-white{background:#fff;color:var(--blue);font-weight:700}
.cta .btn-white:hover{background:#f8fafc}
.cta .btn-line{border:2px solid rgba(255,255,255,.3);color:#fff;background:transparent}
.cta .btn-line:hover{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.5)}

/* Footer */
.footer{background:#0f172a;color:#fff;padding:48px 0 0}
.footer-grid{display:grid;grid-template-columns:1fr;gap:32px;padding-bottom:40px}
.footer-brand{font-size:1rem;font-weight:700;margin-bottom:6px}
.footer-desc{color:#94a3b8;font-size:.8125rem;line-height:1.7}
.footer-heading{font-size:.625rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:#64748b;margin-bottom:12px}
.footer-links{display:flex;flex-direction:column;gap:8px}
.footer-links a{color:#94a3b8;font-size:.8125rem;transition:color .2s}
.footer-links a:hover{color:#fff}
.footer-links .text-item{color:#94a3b8;font-size:.8125rem}
.footer-contact{display:flex;align-items:flex-start;gap:8px;font-size:.8125rem;color:#94a3b8}
.footer-contact svg{width:14px;height:14px;flex-shrink:0;margin-top:3px;color:#64748b}
.footer-bottom{border-top:1px solid rgba(255,255,255,.08);padding:16px 0;display:flex;flex-direction:column;align-items:center;gap:6px;font-size:.6875rem;color:#64748b}
.footer-bottom a{color:#64748b;transition:color .2s}
.footer-bottom a:hover{color:#94a3b8}

/* Divider */
.divider{width:40px;height:3px;background:var(--blue);border-radius:2px;margin:12px auto 0}

/* Animations */
.reveal{opacity:0;transform:translateY(20px);transition:opacity .6s ease-out,transform .6s ease-out}
.reveal.visible{opacity:1;transform:translateY(0)}

/* Prose */
.prose p{font-size:.9375rem;color:var(--text-muted);line-height:1.8;margin-bottom:14px}
.prose p strong{color:var(--text);font-weight:600}

.bg-alt{background:var(--bg-alt)}

/* ===== Tablet (640px+) ===== */
@media(min-width:640px){
  .container{padding:0 24px}.container-sm{padding:0 24px}
  .section{padding:64px 0}
  .hero h1{font-size:2.5rem}
  .hero-desc{font-size:1rem}
  .section-title{font-size:2rem}
  .brand-grid{grid-template-columns:repeat(4,1fr)}
  .grid-3{grid-template-columns:repeat(2,1fr)}
  .grid-2{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:repeat(2,1fr)}
  .footer-bottom{flex-direction:row;justify-content:space-between}
  .case{padding:28px}
  .img-card-img{height:200px}
  .hero img{border-radius:20px}
}

/* ===== Desktop (768px+) ===== */
@media(min-width:768px){
  .nav-links{display:flex}.nav-btn{display:none}
  .nav-inner{height:68px}.nav-brand img{height:38px}
  .hero-grid{grid-template-columns:1fr 1fr}
  .hero h1{font-size:3rem}
  .hero{padding:40px 0 64px}
  .section{padding:80px 0}
  .section-title{font-size:2.25rem}
  .card{padding:28px}
  .stats-grid{grid-template-columns:repeat(4,1fr)}
  .page-head h1{font-size:2.5rem}
  .cta-title{font-size:2rem}
  .product-grid{margin-left:48px}
  .grid-3{grid-template-columns:repeat(3,1fr)}
}

/* ===== Large (1024px+) ===== */
@media(min-width:1024px){
  .hero h1{font-size:3.75rem}
  .hero-stats-row{gap:40px}
  .hero-stats-row div{font-size:1.75rem}
  .section-title{font-size:2.5rem}
  .grid-4{grid-template-columns:repeat(4,1fr)}
  .footer-grid{grid-template-columns:2fr 1fr 1fr 1.2fr}
  .page-head h1{font-size:3rem}
  .page-head{padding:80px 0 60px}
  .cta{padding:80px 0}
}
