/* ============================================
   芯锐科技 - 黑金奢华风格
   ============================================ */

:root {
    --gold: #d4a853;
    --gold-light: #f0d48a;
    --gold-dark: #b8860b;
    --accent: #e8c56d;
    --bg: #0c0c0c;
    --bg2: #141414;
    --bg3: #1a1a1a;
    --card: #181818;
    --card-hover: #222;
    --text: #f0ece2;
    --text2: #a09880;
    --border: rgba(212,168,83,0.15);
    --glow: 0 0 30px rgba(212,168,83,0.3);
    --gradient: linear-gradient(135deg, #d4a853, #f0d48a, #d4a853);
    --radius: 16px;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

html { scroll-behavior:smooth; }

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%; /* 防止iOS旋转时字体变大 */
}

/* iOS安全区域 */
@supports (padding: env(safe-area-inset-top)) {
    #navbar { padding-top: env(safe-area-inset-top); }
    .footer-bottom { padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
    .back-top { bottom: calc(20px + env(safe-area-inset-bottom)); right: calc(20px + env(safe-area-inset-right)); }
}

a { text-decoration:none; color:inherit; }
img { max-width:100%; display:block; }
ul { list-style:none; }

/* ====== Loader ====== */
#loader {
    position:fixed; inset:0; z-index:99999;
    background:var(--bg);
    display:flex; align-items:center; justify-content:center;
    transition: opacity .6s, visibility .6s;
}
#loader.done { opacity:0; visibility:hidden; pointer-events:none; }

.loader-inner { text-align:center; }
.loader-chip {
    width:60px; height:60px; margin:0 auto 24px;
    position:relative;
    border:3px solid var(--gold);
    border-radius:8px;
    animation: chipPulse 1.2s ease-in-out infinite;
}
.chip-body {
    position:absolute; inset:12px;
    background:var(--gold);
    border-radius:4px;
    opacity:.6;
}
.chip-pin {
    position:absolute; width:3px; height:10px; background:var(--gold);
}
.chip-pin:nth-child(1){ top:-10px; left:15px; }
.chip-pin:nth-child(2){ top:-10px; right:15px; }
.chip-pin:nth-child(3){ bottom:-10px; left:15px; }
.chip-pin:nth-child(4){ bottom:-10px; right:15px; }

@keyframes chipPulse {
    0%,100% { transform:scale(1); box-shadow:0 0 10px rgba(212,168,83,.3); }
    50% { transform:scale(1.08); box-shadow:0 0 30px rgba(212,168,83,.6); }
}

.loader-text {
    font-size:22px; font-weight:900; letter-spacing:6px;
    background:var(--gradient); -webkit-background-clip:text; -webkit-text-fill-color:transparent;
    background-clip:text; margin-bottom:20px;
}
.loader-bar { width:180px; height:3px; background:#333; border-radius:3px; margin:0 auto; overflow:hidden; }
.loader-fill { width:0; height:100%; background:var(--gradient); border-radius:3px; animation:fillBar 1.8s ease forwards; }
@keyframes fillBar { to{width:100%;} }

/* ====== Cursor ====== */
.cursor-dot, .cursor-ring { display:none; }
@media (hover:hover) and (pointer:fine) {
    .cursor-dot {
        display:block; position:fixed; z-index:99998;
        width:6px; height:6px; background:var(--gold); border-radius:50%;
        pointer-events:none; transition:transform .1s;
    }
    .cursor-ring {
        display:block; position:fixed; z-index:99997;
        width:36px; height:36px; border:1.5px solid rgba(212,168,83,.4);
        border-radius:50%; pointer-events:none;
        transition:width .2s, height .2s, border-color .2s;
    }
    .cursor-ring.hover { width:56px; height:56px; border-color:var(--gold); }
}

/* ====== Particles ====== */
#particles { position:fixed; inset:0; z-index:0; pointer-events:none; }

/* ====== Navbar ====== */
#navbar {
    position:fixed; top:0; left:0; width:100%; z-index:1000;
    height:72px; transition:all .3s;
}
#navbar.scrolled {
    background:rgba(12,12,12,.92);
    backdrop-filter:blur(16px);
    border-bottom:1px solid var(--border);
    box-shadow:0 2px 20px rgba(0,0,0,.5);
}
.nav-container {
    max-width:1280px; margin:0 auto; padding:0 32px;
    height:100%; display:flex; align-items:center; justify-content:space-between;
}
.logo { display:flex; align-items:center; gap:10px; font-weight:700; font-size:18px; }
.logo-icon {
    width:40px; height:40px; background:var(--gradient);
    border-radius:10px; display:flex; align-items:center; justify-content:center;
    font-weight:900; font-size:18px; color:#0c0c0c;
}
.logo-icon.sm { width:32px; height:32px; font-size:14px; border-radius:8px; }
.logo-text { color:var(--gold); }

.nav-links { display:flex; gap:4px; }
.nav-link {
    padding:8px 18px; font-size:14px; color:var(--text2);
    border-radius:8px; transition:all .25s;
}
.nav-link:hover, .nav-link.active { color:var(--gold); background:rgba(212,168,83,.08); }

.btn-nav {
    padding:8px 24px; background:var(--gradient); border:none;
    border-radius:8px; font-weight:600; font-size:13px; color:#0c0c0c;
    cursor:pointer; transition:all .25s;
}
.btn-nav:hover { box-shadow:var(--glow); transform:translateY(-1px); }

.hamburger {
    display:none; flex-direction:column; gap:5px; cursor:pointer;
    padding:8px; /* 增大触摸区域 */
    z-index:1001;
}
.hamburger span {
    width:24px; height:2px; background:var(--text); transition:.3s;
    display:block;
}
.hamburger.open span:nth-child(1){ transform:rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2){ opacity:0; }
.hamburger.open span:nth-child(3){ transform:rotate(-45deg) translate(5px,-5px); }

/* ====== Hero ====== */
.hero {
    position:relative; min-height:100vh;
    display:flex; align-items:center; justify-content:center;
    overflow:hidden;
}
.hero-bg { position:absolute; inset:0; overflow:hidden; }

.hero-slide {
    position:absolute; inset:0;
    background-size:cover; background-position:center;
    opacity:0; transform:scale(1.08);
    transition: opacity 1.2s ease, transform 6s ease;
    will-change: opacity, transform;
}
.hero-slide.active {
    opacity:1; transform:scale(1);
}

.hero-overlay {
    position:absolute; inset:0; z-index:2;
    background:linear-gradient(135deg, rgba(12,12,12,.9) 0%, rgba(12,12,12,.6) 50%, rgba(12,12,12,.85) 100%);
}

/* 幻灯片指示器 */
.hero-dots {
    position:absolute; bottom:70px; left:50%; transform:translateX(-50%);
    display:flex; gap:10px; z-index:3;
}
.hero-dot {
    width:10px; height:10px; border-radius:50%;
    background:rgba(240,206,138,.25); cursor:pointer;
    transition:all .3s; border:1.5px solid transparent;
}
.hero-dot.active {
    background:var(--gold); border-color:var(--gold-light);
    box-shadow:0 0 10px rgba(212,168,83,.5);
    transform:scale(1.2);
}
.hero-dot:hover { background:rgba(212,168,83,.5); }

.hero-content { position:relative; z-index:2; text-align:center; padding:0 20px; max-width:860px; }

.hero-badge {
    display:inline-flex; align-items:center; gap:8px;
    padding:6px 20px; border:1px solid var(--border);
    border-radius:50px; font-size:13px; color:var(--gold);
    background:rgba(212,168,83,.06);
    margin-bottom:28px; opacity:0; animation:fadeUp .7s .3s forwards;
}
.badge-dot {
    width:7px; height:7px; background:var(--gold); border-radius:50%;
    animation:blink 1.5s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

.hero-title { font-size:clamp(42px,7.5vw,88px); font-weight:900; line-height:1.1; margin-bottom:20px; }
.title-line { display:block; opacity:0; transform:translateY(30px); animation:fadeUp .7s forwards; }
.title-line:nth-child(1){ animation-delay:.4s; }
.title-line:nth-child(2){ animation-delay:.6s; }
.title-line:nth-child(3){ animation-delay:.8s; }

.title-gradient {
    background:var(--gradient); -webkit-background-clip:text; -webkit-text-fill-color:transparent;
    background-clip:text;
}

.hero-desc {
    font-size:17px; color:var(--text2); max-width:560px; margin:0 auto 36px;
    opacity:0; animation:fadeUp .7s 1s forwards;
}

.hero-buttons {
    display:flex; gap:16px; justify-content:center; flex-wrap:wrap;
    margin-bottom:56px; opacity:0; animation:fadeUp .7s 1.2s forwards;
}

.btn {
    padding:13px 30px; border-radius:10px; font-size:15px; font-weight:600;
    display:inline-flex; align-items:center; gap:8px;
    transition:all .25s; cursor:pointer; border:none;
}
.btn-primary {
    background:var(--gradient); color:#0c0c0c;
}
.btn-primary:hover { box-shadow:var(--glow); transform:translateY(-2px); }
.btn-outline {
    background:transparent; color:var(--text);
    border:1.5px solid rgba(240,206,138,.3);
}
.btn-outline:hover { border-color:var(--gold); color:var(--gold); }
.btn-full { width:100%; justify-content:center; }

.hero-stats {
    display:flex; align-items:center; justify-content:center; gap:36px;
    opacity:0; animation:fadeUp .7s 1.4s forwards;
}
.stat-item { text-align:center; }
.stat-num {
    font-size:44px; font-weight:900;
    background:var(--gradient); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
}
.stat-plus { font-size:22px; color:var(--gold); font-weight:700; }
.stat-label { display:block; font-size:13px; color:var(--text2); margin-top:2px; }
.stat-divider { width:1px; height:44px; background:linear-gradient(to bottom,transparent,var(--border),transparent); }

.scroll-hint {
    position:absolute; bottom:28px; left:50%; transform:translateX(-50%);
    display:flex; flex-direction:column; align-items:center; gap:6px;
    color:var(--text2); font-size:11px; opacity:0; animation:fadeUp .7s 2s forwards; z-index:3;
}
.scroll-mouse {
    width:22px; height:34px; border:1.5px solid rgba(240,206,138,.3);
    border-radius:11px; position:relative;
}
.scroll-wheel {
    width:3px; height:7px; background:var(--gold); border-radius:2px;
    position:absolute; top:6px; left:50%; transform:translateX(-50%);
    animation:scrollWh 2s infinite;
}
@keyframes scrollWh { 0%{opacity:1;transform:translateX(-50%) translateY(0)} 100%{opacity:0;transform:translateX(-50%) translateY(12px)} }

@keyframes fadeUp { to{opacity:1;transform:translateY(0)} }

/* ====== Section ====== */
.section { padding:100px 20px; position:relative; z-index:1; }
.section-dark { background:var(--bg2); }

.section-header { text-align:center; margin-bottom:64px; }
.section-tag {
    display:inline-block; font-size:11px; font-weight:700; letter-spacing:3px;
    color:var(--gold); background:rgba(212,168,83,.08);
    padding:5px 16px; border-radius:20px; border:1px solid var(--border);
    margin-bottom:16px;
}
.section-title {
    font-size:clamp(28px,4.5vw,46px); font-weight:900; margin-bottom:12px;
    background:linear-gradient(135deg,var(--text),var(--gold));
    -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
}
.section-title.tl { text-align:left; }
.section-desc { font-size:16px; color:var(--text2); max-width:520px; margin:0 auto; }

/* ====== Products Grid ====== */
.products-grid {
    display:grid; grid-template-columns:repeat(auto-fill, minmax(320px,1fr));
    gap:24px; max-width:1280px; margin:0 auto;
}

.product-card {
    background:var(--card); border-radius:var(--radius); overflow:hidden;
    border:1px solid var(--border); transition:all .35s;
    position:relative;
}
.product-card:hover {
    transform:translateY(-8px);
    border-color:rgba(212,168,83,.35);
    box-shadow:0 16px 48px rgba(0,0,0,.5), var(--glow);
}

.card-glow {
    position:absolute; inset:0; z-index:1; pointer-events:none;
    background:radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(212,168,83,.12), transparent 60%);
    opacity:0; transition:opacity .3s;
}
.product-card:hover .card-glow { opacity:1; }

.card-img { position:relative; height:200px; overflow:hidden; }
.card-img img { width:100%; height:100%; object-fit:cover; transition:transform .5s; }
.product-card:hover .card-img img { transform:scale(1.08); }

.card-badge {
    position:absolute; top:12px; right:12px; z-index:2;
    padding:4px 14px; background:var(--gradient);
    border-radius:20px; font-size:11px; font-weight:700; color:#0c0c0c;
}

.card-body { padding:20px; position:relative; z-index:2; }
.card-body h3 { font-size:18px; font-weight:700; margin-bottom:6px; }
.card-body p { color:var(--text2); font-size:13px; margin-bottom:12px; }

.card-tags { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:14px; }
.card-tags span {
    font-size:11px; color:var(--gold);
    background:rgba(212,168,83,.08); padding:3px 10px; border-radius:12px;
}

.card-link {
    font-size:13px; font-weight:600; color:var(--gold);
    transition:all .25s; display:inline-block;
}
.card-link:hover { color:var(--gold-light); letter-spacing:1px; }

/* ====== Advantages ====== */
.adv-grid {
    display:grid; grid-template-columns:repeat(auto-fill, minmax(260px,1fr));
    gap:24px; max-width:1200px; margin:0 auto 60px;
}

.adv-card {
    background:var(--card); border-radius:var(--radius); padding:32px 24px;
    text-align:center; border:1px solid var(--border); transition:all .35s;
    position:relative; overflow:hidden;
}
.adv-card::before {
    content:''; position:absolute; top:0; left:0; width:100%; height:3px;
    background:var(--gradient); transform:scaleX(0); transition:transform .35s;
}
.adv-card:hover::before { transform:scaleX(1); }
.adv-card:hover { transform:translateY(-6px); box-shadow:0 12px 36px rgba(0,0,0,.4); }

.adv-icon-wrap {
    width:64px; height:64px; margin:0 auto 18px;
    background:rgba(212,168,83,.08); border-radius:16px;
    display:flex; align-items:center; justify-content:center;
    transition:all .3s;
}
.adv-icon { font-size:28px; color:var(--gold); }
.adv-card:hover .adv-icon-wrap { background:rgba(212,168,83,.15); transform:rotate(8deg) scale(1.05); }

.adv-card h3 { font-size:18px; font-weight:700; margin-bottom:8px; }
.adv-card p { color:var(--text2); font-size:13px; line-height:1.7; margin-bottom:18px; }

.bar-wrap { text-align:left; }
.bar-wrap span { font-size:11px; color:var(--gold); display:block; margin-top:6px; text-align:right; }
.bar-wrap .bar {
    height:6px; background:rgba(255,255,255,.06); border-radius:3px; overflow:hidden;
}
.bar-wrap .bar::after {
    content:''; display:block; height:100%; width:0;
    background:var(--gradient); border-radius:3px;
    transition:width 1.2s ease;
}
.bar-wrap .bar.show::after { width:var(--w); }

/* Counters */
.counters {
    display:grid; grid-template-columns:repeat(4,1fr); gap:20px;
    max-width:1000px; margin:0 auto;
    background:var(--card); border-radius:var(--radius);
    padding:40px 20px; border:1px solid var(--border);
}
.counter { text-align:center; padding:12px; }
.counter-num {
    font-size:38px; font-weight:900;
    background:var(--gradient); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
}
.counter-label { font-size:13px; color:var(--text2); margin-top:4px; }

/* ====== Applications ====== */
.app-scroll { overflow:hidden; padding:10px 0; }
.app-track {
    display:flex; gap:24px; padding:10px 32px;
    animation:scrollTrack 28s linear infinite;
    width:max-content;
    -webkit-overflow-scrolling:touch; /* iOS平滑滚动 */
}
.app-track:hover { animation-play-state:paused; }
@keyframes scrollTrack { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

.app-card { min-width:300px; flex-shrink:0; }
.app-card-inner {
    background:var(--card); border-radius:var(--radius); padding:36px 28px;
    text-align:center; border:1px solid var(--border);
    transition:all .35s; height:100%;
}
.app-card-inner:hover {
    transform:translateY(-8px); border-color:rgba(212,168,83,.3);
    box-shadow:0 12px 36px rgba(0,0,0,.4);
}

.app-icon-box {
    width:56px; height:56px; margin:0 auto 16px;
    background:var(--gradient); border-radius:14px;
    display:flex; align-items:center; justify-content:center;
    font-size:24px;
}
.app-card-inner h3 { font-size:17px; font-weight:700; margin-bottom:8px; }
.app-card-inner p { color:var(--text2); font-size:13px; margin-bottom:12px; }
.app-tag {
    display:inline-block; font-size:11px; color:var(--gold);
    background:rgba(212,168,83,.08); padding:4px 14px; border-radius:20px;
}

/* ====== About ====== */
.about-wrap {
    display:grid; grid-template-columns:1fr 1.1fr; gap:48px;
    max-width:1100px; margin:0 auto 60px; align-items:center;
}
.about-img { position:relative; border-radius:var(--radius); overflow:hidden; }
.about-img img { width:100%; height:400px; object-fit:cover; transition:transform .5s; }
.about-img:hover img { transform:scale(1.04); }
.about-badge {
    position:absolute; bottom:16px; right:16px;
    background:var(--gradient); padding:12px 20px; border-radius:12px; text-align:center;
}
.badge-year { display:block; font-size:24px; font-weight:900; color:#0c0c0c; }
.about-badge span:last-child { font-size:11px; color:#0c0c0c; opacity:.8; }

.about-text { }
.about-text p { color:var(--text2); font-size:14px; line-height:1.8; margin-bottom:14px; }

/* Timeline */
.timeline { margin-top:28px; padding-left:28px; position:relative; }
.timeline::before {
    content:''; position:absolute; left:7px; top:0; bottom:0; width:2px;
    background:linear-gradient(to bottom,var(--gold),var(--gold-dark));
}
.tl-item { position:relative; margin-bottom:18px; padding-left:18px; }
.tl-dot {
    position:absolute; left:-25px; top:3px;
    width:12px; height:12px; background:var(--gold); border-radius:50%;
    border:3px solid var(--bg2); box-shadow:0 0 8px rgba(212,168,83,.4);
}
.tl-year { font-size:14px; font-weight:700; color:var(--gold); display:block; margin-bottom:2px; }
.tl-item p { color:var(--text2); font-size:13px; }

/* Team Banner */
.team-banner {
    position:relative; max-width:1100px; margin:0 auto;
    border-radius:var(--radius); overflow:hidden;
}
.team-banner img { width:100%; height:360px; object-fit:cover; }
.team-overlay {
    position:absolute; bottom:0; left:0; right:0;
    padding:32px; background:linear-gradient(to top, rgba(12,12,12,.95), transparent);
}
.team-overlay h3 { font-size:24px; font-weight:700; margin-bottom:6px; }
.team-overlay p { color:var(--text2); font-size:14px; }

/* ====== Contact ====== */
.contact-wrap {
    display:grid; grid-template-columns:1fr 1.4fr; gap:40px;
    max-width:1100px; margin:0 auto;
}

.info-card {
    display:flex; gap:14px; padding:16px;
    background:var(--card); border-radius:12px; margin-bottom:12px;
    border:1px solid var(--border); transition:all .3s;
}
.info-card:hover { transform:translateX(6px); border-color:rgba(212,168,83,.3); }
.info-icon {
    width:44px; height:44px; flex-shrink:0;
    background:rgba(212,168,83,.08); border-radius:10px;
    display:flex; align-items:center; justify-content:center; font-size:20px;
}
.info-card h4 { font-size:14px; font-weight:600; margin-bottom:2px; }
.info-card p { color:var(--text2); font-size:13px; line-height:1.5; }

.contact-form {
    background:var(--card); border-radius:var(--radius); padding:32px;
    border:1px solid var(--border);
}
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.fg { margin-bottom:16px; }
.fg input, .fg textarea, .fg select {
    width:100%; padding:14px 16px;
    background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08);
    border-radius:10px; color:var(--text); font-size:16px; /* 16px防止iOS缩放 */
    font-family:inherit; outline:none; transition:all .25s;
}
.fg select { cursor:pointer; appearance:none; -webkit-appearance:none; }
.fg select option { background:var(--card); }
.fg input:focus, .fg textarea:focus, .fg select:focus {
    border-color:var(--gold); box-shadow:0 0 0 3px rgba(212,168,83,.1);
}
.fg input::placeholder, .fg textarea::placeholder { color:var(--text2); }

/* ====== Footer ====== */
.footer { background:#080808; }
.footer-top {
    max-width:1200px; margin:0 auto; padding:60px 32px 40px;
}
.footer-grid {
    display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:36px;
}
.footer-logo {
    display:flex; align-items:center; gap:10px;
    font-size:18px; font-weight:700; margin-bottom:12px; color:var(--gold);
}
.footer-col p { color:var(--text2); font-size:13px; line-height:1.7; margin-bottom:16px; }
.socials { display:flex; gap:10px; flex-wrap:wrap; }
.socials a {
    padding:5px 12px; background:rgba(255,255,255,.04); border-radius:6px;
    font-size:12px; color:var(--text2); transition:all .25s;
}
.socials a:hover { background:var(--gold); color:#0c0c0c; }

.footer-col h4 {
    font-size:14px; font-weight:600; margin-bottom:16px;
    padding-bottom:8px; border-bottom:2px solid var(--gold); display:inline-block;
}
.footer-col ul li { margin-bottom:10px; }
.footer-col ul li a { color:var(--text2); font-size:13px; transition:all .25s; }
.footer-col ul li a:hover { color:var(--gold); padding-left:4px; }

.footer-bottom {
    border-top:1px solid rgba(255,255,255,.05);
    padding:20px 32px; text-align:center;
}
.footer-bottom p { color:var(--text2); font-size:12px; }

/* ====== Back to Top ====== */
.back-top {
    position:fixed; bottom:28px; right:28px;
    width:46px; height:46px; background:var(--gradient);
    border:none; border-radius:50%; color:#0c0c0c; font-size:18px;
    cursor:pointer; z-index:999;
    opacity:0; visibility:hidden; transform:translateY(16px);
    transition:all .3s; box-shadow:var(--glow);
}
.back-top.show { opacity:1; visibility:visible; transform:translateY(0); }
.back-top:hover { transform:translateY(-4px); }

/* ====== Scroll Reveal ====== */
.reveal {
    opacity:0; transform:translateY(36px);
    transition:opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity:1; transform:translateY(0); }

/* ========================================
   平板适配 (1024px以下)
   ======================================== */
@media (max-width:1024px) {
    .about-wrap { grid-template-columns:1fr; gap:32px; }
    .about-img img { height:300px; }
    .contact-wrap { grid-template-columns:1fr; gap:28px; }
    .footer-grid { grid-template-columns:1fr 1fr; gap:28px; }
    .counters { grid-template-columns:repeat(2,1fr); padding:28px 16px; }
    .products-grid { grid-template-columns:repeat(auto-fill, minmax(280px,1fr)); }
    .app-card { min-width:260px; }
}

/* ========================================
   手机适配 (768px以下)
   ======================================== */
@media (max-width:768px) {
    /* -- 导航栏 -- */
    .nav-container { padding:0 16px; }
    .logo-icon { width:34px; height:34px; font-size:15px; border-radius:8px; }
    .logo-text { font-size:15px; }
    .btn-nav { display:none; }
    .hamburger { display:flex; z-index:1001; }

    .nav-links {
        display:none; position:fixed; inset:0;
        background:rgba(12,12,12,.98);
        flex-direction:column; align-items:center; justify-content:center; gap:12px;
        z-index:1000;
    }
    .nav-links.open { display:flex; }
    .nav-link { font-size:17px; padding:12px 24px; }

    /* -- Hero -- */
    .hero { min-height:100svh; }
    .hero-content { padding:0 16px; }
    .hero-badge { font-size:12px; padding:5px 14px; margin-bottom:20px; }
    .hero-title { font-size:34px; }
    .title-line { margin-bottom:4px; }
    .hero-desc { font-size:14px; margin-bottom:28px; }
    .hero-buttons { flex-direction:column; align-items:center; gap:12px; margin-bottom:40px; }
    .btn { padding:12px 28px; font-size:14px; width:100%; justify-content:center; max-width:260px; }
    .hero-stats { flex-direction:column; gap:14px; }
    .stat-divider { width:40px; height:1px; }
    .stat-num { font-size:32px; }
    .stat-plus { font-size:18px; }
    .stat-label { font-size:12px; }
    .hero-dots { bottom:60px; }
    .scroll-hint { bottom:18px; }

    /* -- 通用板块 -- */
    .section { padding:72px 16px; }
    .section-header { margin-bottom:40px; }
    .section-title { font-size:26px; }
    .section-desc { font-size:14px; }

    /* -- 产品 -- */
    .products-grid { grid-template-columns:1fr; gap:16px; }
    .card-img { height:180px; }
    .card-body { padding:16px; }
    .card-body h3 { font-size:16px; }
    .card-body p { font-size:12px; }
    .card-tags span { font-size:10px; padding:2px 8px; }

    /* -- 优势 -- */
    .adv-grid { grid-template-columns:1fr; gap:16px; }
    .adv-card { padding:24px 18px; }
    .adv-icon-wrap { width:52px; height:52px; }
    .adv-icon { font-size:22px; }
    .adv-card h3 { font-size:16px; }
    .adv-card p { font-size:12px; }

    .counters { grid-template-columns:1fr 1fr; gap:12px; padding:24px 12px; }
    .counter { padding:8px; }
    .counter-num { font-size:28px; }
    .counter-label { font-size:11px; }

    /* -- 应用领域 -- */
    .app-card { min-width:240px; }
    .app-card-inner { padding:24px 18px; }
    .app-icon-box { width:46px; height:46px; font-size:20px; }
    .app-card-inner h3 { font-size:15px; }
    .app-card-inner p { font-size:12px; }

    /* -- 关于 -- */
    .about-wrap { gap:24px; }
    .about-img img { height:240px; }
    .about-badge { padding:10px 14px; }
    .badge-year { font-size:20px; }
    .about-text p { font-size:13px; }
    .timeline { padding-left:24px; margin-top:20px; }
    .tl-item { margin-bottom:14px; padding-left:14px; }
    .team-banner img { height:220px; }
    .team-overlay { padding:20px; }
    .team-overlay h3 { font-size:18px; }
    .team-overlay p { font-size:12px; }

    /* -- 联系 -- */
    .contact-form { padding:20px; }
    .form-row { grid-template-columns:1fr; gap:0; }
    .fg input, .fg textarea, .fg select { padding:12px 14px; font-size:14px; }
    .info-card { padding:12px; }
    .info-icon { width:38px; height:38px; font-size:17px; }
    .info-card h4 { font-size:13px; }
    .info-card p { font-size:12px; }

    /* -- 页脚 -- */
    .footer-top { padding:40px 16px 28px; }
    .footer-grid { grid-template-columns:1fr; gap:24px; }
    .footer-col h4 { font-size:13px; margin-bottom:12px; }
    .footer-col ul li { margin-bottom:8px; }
    .footer-col ul li a { font-size:12px; }
    .footer-bottom { padding:16px; }

    /* -- 返回顶部 -- */
    .back-top { width:40px; height:40px; font-size:16px; bottom:20px; right:20px; }

    /* -- 隐藏自定义光标 -- */
    .cursor-dot, .cursor-ring { display:none !important; }
}

/* ========================================
   小手机适配 (480px以下)
   ======================================== */
@media (max-width:480px) {
    .nav-container { padding:0 12px; }
    #navbar { height:60px; }

    .hero-title { font-size:26px; }
    .hero-badge { font-size:11px; padding:4px 10px; }
    .hero-desc { font-size:13px; }
    .stat-num { font-size:28px; }
    .hero-dots { bottom:50px; gap:8px; }
    .hero-dot { width:8px; height:8px; }

    .section { padding:56px 12px; }
    .section-title { font-size:22px; }
    .section-desc { font-size:13px; }

    .products-grid { gap:12px; }
    .card-img { height:160px; }
    .card-badge { font-size:10px; padding:3px 10px; }
    .card-body { padding:14px; }
    .card-body h3 { font-size:15px; }
    .card-link { font-size:12px; }

    .adv-card { padding:20px 14px; }
    .counters { gap:8px; padding:18px 10px; }
    .counter-num { font-size:24px; }
    .counter-label { font-size:10px; }

    .app-card { min-width:200px; }
    .app-card-inner { padding:18px 14px; }
    .app-icon-box { width:40px; height:40px; font-size:18px; border-radius:10px; }
    .app-card-inner h3 { font-size:14px; }
    .app-card-inner p { font-size:11px; }
    .app-tag { font-size:10px; padding:3px 10px; }

    .about-img img { height:200px; }
    .about-text p { font-size:12px; }
    .timeline { padding-left:20px; }
    .tl-year { font-size:13px; }
    .tl-item p { font-size:12px; }
    .team-banner img { height:180px; }
    .team-overlay h3 { font-size:16px; }
    .team-overlay p { font-size:11px; }

    .contact-form { padding:16px; }
    .fg { margin-bottom:12px; }
    .fg input, .fg textarea, .fg select { padding:10px 12px; font-size:13px; border-radius:8px; }
    .btn-full { padding:12px; font-size:14px; }

    .footer-top { padding:32px 12px 20px; }
    .footer-col p { font-size:12px; }
    .socials a { font-size:11px; padding:4px 10px; }
    .footer-bottom p { font-size:11px; }
}

/* ========================================
   触摸设备优化
   ======================================== */
@media (hover:none) {
    .product-card:hover,
    .adv-card:hover,
    .app-card-inner:hover,
    .info-card:hover {
        transform:none;
        box-shadow:none;
    }
    .card-glow { display:none; }
    .product-card { -webkit-tap-highlight-color:transparent; }
}
