/* ==================== Reset & Base ==================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-y: scroll;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ==================== Navigation ==================== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 72px;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;
    transition: box-shadow 0.3s;
}
.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    flex-shrink: 0;
    white-space: nowrap;
}
.nav-logo .logo-icon {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
}
.nav-links {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    align-items: center;
}
.nav-links a {
    padding: 8px 20px;
    font-size: 15px;
    font-weight: 500;
    color: #555;
    border-radius: 8px;
    transition: all 0.25s;
    position: relative;
    white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
    color: #667eea;
    background: #f0f2ff;
}

/* 导航下拉菜单 */
.nav-dropdown {
    position: relative;
}
.nav-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 160px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, transform 0.25s;
    transform: translateX(-50%) translateY(8px);
    z-index: 100;
}
.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    color: #555;
    border-radius: 8px;
    transition: all 0.2s;
}
.dropdown-menu a:hover,
.dropdown-menu a.active {
    color: #667eea;
    background: #f0f2ff;
}

/* 二级子菜单 */
.dropdown-sub {
    position: relative;
}
.dropdown-sub > a::after {
    content: '▸';
    float: right;
    margin-left: 8px;
    font-size: 12px;
    color: #bbb;
}
.dropdown-sub-menu {
    position: absolute;
    top: 0;
    left: 100%;
    margin-left: 4px;
    min-width: 170px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, transform 0.2s;
    transform: translateX(-8px);
    z-index: 101;
}
.dropdown-sub:hover > .dropdown-sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}
.nav-contact-btn {
    padding: 10px 24px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff !important;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(102,126,234,0.3);
    flex-shrink: 0;
    white-space: nowrap;
}
.nav-contact-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(102,126,234,0.4);
}

/* ==================== Section Common ==================== */
.section {
    padding: 100px 60px;
}
.section-title {
    text-align: center;
    margin-bottom: 16px;
}
.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
}
.section-title .en {
    font-size: 14px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 500;
}
.section-desc {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px;
    font-size: 16px;
    color: #888;
    line-height: 1.8;
}

/* ==================== Hero Section ==================== */
#home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 72px;
    background: linear-gradient(160deg, #f8f9ff 0%, #eef1ff 40%, #f5f0ff 100%);
    position: relative;
    overflow: hidden;
}
.hero-bg-shapes {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
}
.hero-bg-shapes .circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
}
.hero-bg-shapes .c1 {
    width: 500px; height: 500px;
    background: #667eea;
    top: -100px; right: -100px;
}
.hero-bg-shapes .c2 {
    width: 350px; height: 350px;
    background: #764ba2;
    bottom: -80px; left: -80px;
}
.hero-bg-shapes .c3 {
    width: 200px; height: 200px;
    background: #f093fb;
    top: 40%; left: 10%;
}
.hero-content {
    max-width: 1200px;
    display: flex;
    align-items: center;
    gap: 80px;
    position: relative;
    z-index: 1;
}
.hero-text {
    flex: 1;
}
.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 24px;
}
.hero-text h1 {
    font-size: 48px;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.3;
    margin-bottom: 20px;
}
.hero-text h1 span {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-text p {
    font-size: 18px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 520px;
}
.hero-buttons {
    display: flex;
    gap: 16px;
}
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(102,126,234,0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102,126,234,0.4);
}
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: #fff;
    color: #667eea;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid #667eea;
    border-radius: 10px;
    transition: all 0.3s;
}
.btn-outline:hover {
    background: #667eea;
    color: #fff;
    transform: translateY(-2px);
}
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}
.hero-card-stack {
    position: relative;
    width: 420px;
    height: 360px;
}
.hero-card {
    position: absolute;
    width: 300px;
    padding: 28px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}
.hero-card:nth-child(1) {
    top: 0; left: 0;
    z-index: 3;
    transform: rotate(-3deg);
}
.hero-card:nth-child(2) {
    top: 30px; left: 80px;
    z-index: 2;
    transform: rotate(2deg);
}
.hero-card:nth-child(3) {
    top: 60px; left: 40px;
    z-index: 1;
    transform: rotate(-1deg);
    opacity: 0.7;
}
.hero-card .card-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 14px;
}
.hero-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}
.hero-card p {
    font-size: 13px;
    color: #888;
    line-height: 1.6;
}
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #e8e8e8;
}
.stat-item .stat-num {
    font-size: 32px;
    font-weight: 800;
    color: #667eea;
}
.stat-item .stat-label {
    font-size: 14px;
    color: #999;
    margin-top: 4px;
}

/* ==================== Products Section ==================== */
#products {
    background: #fff;
}
.products-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.product-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    padding: 36px 28px;
    text-align: center;
    transition: all 0.35s;
    position: relative;
    overflow: hidden;
    display: block;
    color: inherit;
    cursor: pointer;
}
.product-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.35s;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    border-color: transparent;
}
.product-card:hover::before {
    transform: scaleX(1);
}
.product-icon {
    width: 80px; height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    overflow: hidden;
    background: #f5f5f5;
}
.product-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.product-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
}
.product-card p {
    font-size: 14px;
    color: #888;
    line-height: 1.7;
    margin-bottom: 20px;
}
.product-tag {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}
.product-features {
    text-align: left;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f5f5f5;
}
.product-features li {
    font-size: 13px;
    color: #666;
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.product-features li::before {
    content: '✓';
    color: #667eea;
    font-weight: bold;
    font-size: 14px;
}

/* ==================== About Section ==================== */
#about {
    background: #f8f9ff;
}
.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 80px;
    align-items: center;
}
.about-left {
    flex: 1;
}
.about-left h3 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 20px;
    line-height: 1.4;
}
.about-left p {
    font-size: 16px;
    color: #666;
    line-height: 2;
    margin-bottom: 16px;
}
.about-right {
    flex: 1;
}
.about-card {
    background: #fff;
    border-radius: 16px;
    padding: 36px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}
.about-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}
.info-row {
    display: flex;
    padding: 14px 0;
    border-bottom: 1px solid #f8f8f8;
}
.info-row:last-child { border-bottom: none; }
.info-label {
    width: 100px;
    font-size: 14px;
    color: #999;
    flex-shrink: 0;
}
.info-value {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}
.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.about-stat-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
    transition: transform 0.3s;
}
.about-stat-card:hover {
    transform: translateY(-4px);
}
.about-stat-card .num {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.about-stat-card .label {
    font-size: 14px;
    color: #999;
    margin-top: 6px;
}
.advantages-grid {
    max-width: 1200px;
    margin: 60px auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.advantage-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid #f0f0f0;
}
.advantage-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}
.advantage-card .icon {
    font-size: 36px;
    margin-bottom: 16px;
}
.advantage-card h4 {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
}
.advantage-card p {
    font-size: 13px;
    color: #888;
    line-height: 1.7;
}

/* ==================== Contact Section ==================== */
#contact {
    background: #fff;
}
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
}
.contact-info {
    flex: 1;
}
.contact-info h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
}
.contact-info > p {
    font-size: 15px;
    color: #888;
    margin-bottom: 32px;
}
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid #f5f5f5;
}
.contact-item:last-child { border-bottom: none; }
.contact-item .c-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    background: #f0f2ff;
}
.contact-item h4 {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 4px;
}
.contact-item p {
    font-size: 14px;
    color: #888;
}
.contact-item a {
    color: #667eea;
    font-weight: 500;
}
.wechat-item {
    align-items: flex-start;
}

/* 右侧浮动二维码 */
.float-qr {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    text-align: center;
    width: 200px;
    transition: opacity 0.3s, transform 0.3s;
}
.float-qr.hidden {
    opacity: 0;
    transform: translateY(-50%) translateX(20px);
    pointer-events: none;
}
.float-qr img {
    width: 160px;
    height: 160px;
    border-radius: 12px;
    border: 2px solid #f0f0f0;
    object-fit: cover;
    background: #f9f9f9;
}
.float-qr-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 10px;
}
.float-qr-tip {
    font-size: 12px;
    color: #aaa;
    margin-top: 8px;
}

/* 回到顶部按钮 */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 30px;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(102,126,234,0.4);
    transition: opacity 0.3s, transform 0.3s;
}
.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102,126,234,0.5);
}
.back-to-top.hidden {
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
}
.contact-map {
    flex: 1.2;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    position: relative;
    min-height: 420px;
}
.map-card {
    width: 100%;
    height: 100%;
    min-height: 420px;
    background: linear-gradient(160deg, #f0f2ff 0%, #e8f5e9 100%);
    background-image: url('../images/map-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
}
.map-card-icon {
    font-size: 56px;
    margin-bottom: 16px;
    animation: bounce 2s ease infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.map-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
}
.map-card .map-address {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 10px;
}
.map-card .map-coords {
    font-size: 12px;
    color: #999;
    margin-bottom: 28px;
    font-family: monospace;
}
.map-card .map-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}
.map-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
}
.map-btn.amap {
    background: #667eea;
    color: #fff;
    box-shadow: 0 4px 15px rgba(102,126,234,0.3);
}
.map-btn.amap:hover {
    background: #5a6fd6;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102,126,234,0.4);
}
.map-btn.baidu {
    background: #2e7d32;
    color: #fff;
    box-shadow: 0 4px 15px rgba(46,125,50,0.3);
}
.map-btn.baidu:hover {
    background: #256427;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46,125,50,0.4);
}
.map-link {
    display: block;
    margin-top: 16px;
    padding: 12px 24px;
    background: #f0f2ff;
    color: #667eea;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s;
}
.map-link:hover {
    background: #667eea;
    color: #fff;
}
.map-link.baidu {
    background: #e8f5e9;
    color: #2e7d32;
}
.map-link.baidu:hover {
    background: #2e7d32;
    color: #fff;
}

/* ==================== Footer ==================== */
.footer {
    background: #1a1a2e;
    color: #ccc;
    padding: 50px 60px 30px;
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand {
    flex: 1;
    min-width: 0;
}
.footer-brand h3 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    flex-shrink: 0;
}
.footer-brand p {
    font-size: 14px;
    color: #888;
    line-height: 1.8;
}
.footer-links {
    flex-shrink: 0;
}
.footer-links h4 {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
    white-space: nowrap;
}
.footer-links a {
    display: block;
    font-size: 14px;
    color: #888;
    padding: 4px 0;
    transition: color 0.2s;
    white-space: nowrap;
}
.footer-links a:hover { color: #667eea; }
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #666;
    white-space: nowrap;
}
.footer-bottom a {
    color: #888;
    transition: color 0.2s;
}
.footer-bottom a:hover {
    color: #667eea;
}

/* ==================== Animations ==================== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
