/* ========== 全局重置 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', 'PingFang SC', Arial, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background: #fff;
}

/* ========== 导航栏 ========== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
}

.logo span {
    font-size: 22px;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-logo span {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

nav ul li a {
    text-decoration: none;
    color: #666;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #667eea;
}

.nav-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    padding: 10px 24px;
    border-radius: 50px;
    transition: transform 0.3s, box-shadow 0.3s;
    /* ✅ 强制垂直居中 */
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.nav-btn-complaint {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white !important;
    padding: 10px 24px;
    border-radius: 50px;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-left: 12px;
}

.nav-btn-complaint:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
}

/* ========== Hero区域 ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    position: relative;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-gif-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    display: none;
}

.hero-gif-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(26, 26, 46, 0.7) 0%, rgba(26, 26, 46, 0.85) 100%);
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(102, 126, 234, 0.3);
    border: 1px solid rgba(102, 126, 234, 0.5);
    border-radius: 50px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #fff;
}

.hero h1 span {
    background: linear-gradient(135deg, #a78bfa 0%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn-primary {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    display: inline-block;
    padding: 16px 40px;
    background: white;
    color: #333;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid #eee;
    transition: all 0.3s;
}

.btn-secondary:hover {
    border-color: #667eea;
    color: #667eea;
}

/* ========== 轮播图 ========== */
.carousel {
    max-width: 1200px;
    margin: 60px auto 0;
    position: relative;
    z-index: 1;
}

.carousel-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.carousel-track {
    display: flex;
    transition: transform 1s ease;
}

.carousel-slide {
    min-width: 100%;
    height: 400px;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-slide .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    font-weight: 600;
}

.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    color: #667eea;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-prev:hover, .carousel-next:hover {
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.carousel-prev { left: 20px; }
.carousel-next { right: 20px; }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dot.active {
    background: #667eea;
    width: 30px;
    border-radius: 5px;
}

/* ========== 通用Section样式 ========== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 50px;
    color: #667eea;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 16px;
    color: #888;
    max-width: 600px;
    margin: 0 auto;
}

/* ========== 核心功能 ========== */
.features {
    padding: 100px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    border: 1px solid #f0f0f0;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.feature-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: #888;
    line-height: 1.6;
}

/* ========== 材料选择 ========== */
.materials {
    padding: 100px 24px;
    background: #f8f9ff;
}

.materials-container {
    max-width: 1200px;
    margin: 0 auto;
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.material-card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.material-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.15);
}

.material-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.material-card h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 12px;
}

.material-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 16px;
}

.material-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.material-tags span {
    padding: 6px 14px;
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

/* ========== 应用场景 ========== */
.applications {
    padding: 100px 24px;
    background: #f8f9ff;
}

.applications-container {
    max-width: 1200px;
    margin: 0 auto;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.app-item {
    background: white;
    border-radius: 16px;
    padding: 32px 16px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
}

.app-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.app-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.app-item h4 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

/* ========== 关于我们 ========== */
.about {
    padding: 100px 24px;
    background: linear-gradient(180deg, #fff 0%, #f8f9ff 100%);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 80px;
    align-items: center;
}

.about-content { order: 1; }
.about-image { order: 2; }

.about-text p {
    font-size: 16px;
    color: #555;
    line-height: 1.9;
    margin-bottom: 20px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 24px;
}

/* ========== Footer ========== */
footer {
    background: #1a1a2e;
    color: white;
    padding: 60px 24px 30px;
    position: relative;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
}

.footer-brand h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.8;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-col ul li a:hover { color: white; }

.qr-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.qr-row {
    display: flex;
    gap: 20px;
    justify-content: center;
    width: 100%;
}

.qr-item {
    text-align: center;
    transition: transform 0.3s;
}

.qr-item:hover { transform: translateY(-5px); }

.qr-image {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    display: block;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
}

.qr-item:hover .qr-image {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.5);
}

.qr-label {
    margin-top: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
}

/* 备案图标样式（从内联style提取） */
.beian-icon {
    height: 20px;
    vertical-align: middle;
    margin-right: 4px;
    display: inline-block;
}

/* ========== 悬浮报价按钮 ========== */
.floating-quote-btn {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    display: block;
}

.floating-quote-btn a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    transition: all 0.3s;
}

.floating-quote-btn a:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.5);
}

.quote-icon {
    font-size: 20px;
    font-weight: bold;
}

/* ========== 投诉举报弹窗 ========== */
.complaint-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.complaint-modal.active { display: flex; }

.complaint-modal-content {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.complaint-modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 24px;
    border-radius: 20px 20px 0 0;
    text-align: center;
}

.complaint-modal-header h3 {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.complaint-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
}

.complaint-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.complaint-modal-body { padding: 32px; }

.complaint-form-group { margin-bottom: 24px; }

.complaint-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    margin-bottom: 8px;
}

.complaint-form-group input,
.complaint-form-group select,
.complaint-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s;
}

.complaint-form-group input:focus,
.complaint-form-group select:focus,
.complaint-form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.complaint-form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.complaint-form-group .required {
    color: #e74c3c;
    margin-left: 4px;
}

.complaint-submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.complaint-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.complaint-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.complaint-message {
    padding: 16px;
    border-radius: 8px;
    margin-top: 16px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.complaint-message.success {
    display: block;
    background: rgba(46, 204, 113, 0.15);
    color: #27ae60;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.complaint-message.error {
    display: block;
    background: rgba(231, 76, 60, 0.15);
    color: #c0392b;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.complaint-message.loading {
    display: block;
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    border: 1px solid rgba(102, 126, 234, 0.3);
}

/* ========== 响应式适配 ========== */
@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-image { order: 1; }
    .about-content { order: 2; }
    .about-image img { height: auto; }
}

@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        padding: 100px 24px 60px;
    }
    
    .hero-video-container { display: none; }
    .hero-gif-container { display: block; }
    
    .nav-container {
        flex-direction: column;
        gap: 16px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
    
    .hero h1 { font-size: 32px; }
    .hero p { font-size: 16px; }
    .hero-buttons { flex-direction: column; }
    .carousel-slide { height: 250px; }
    
    .features-grid,
    .materials-grid,
    .apps-grid {
        grid-template-columns: 1fr;
    }
    
    .about-container { grid-template-columns: 1fr; }
    .about-image img { height: auto; }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .qr-row {
        flex-direction: column;
        gap: 16px;
    }
    
    .qr-image {
        width: 120px;
        height: 120px;
    }
    
    .floating-quote-btn { bottom: 20px; }
    .floating-quote-btn a {
        padding: 14px 32px;
        font-size: 15px;
    }
}

/* ========== 导航下拉菜单 ========== */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex !important;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.dropdown-arrow {
    font-size: 12px;
    transition: transform 0.3s;
    display: inline-block;
}

/* 下拉菜单面板 */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 180px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 1001;
    list-style: none;
    /* 小三角指示器 */
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 2px;
    transform: translateX(-50%) rotate(45deg);
}

/* 展开状态 */
.nav-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

/* 下拉菜单项 */
.dropdown-menu li {
    margin: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 24px;
    color: #555 !important;
    font-size: 14px !important;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.2s;
}

.dropdown-menu li a:hover {
    background: rgba(102, 126, 234, 0.08);
    color: #667eea !important;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .nav-dropdown {
        width: 100%;
        text-align: center;
    }

    .dropdown-toggle {
        justify-content: center;
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        background: rgba(102, 126, 234, 0.05);
        border-radius: 12px;
        margin-top: 8px;
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        transition: max-height 0.3s ease, padding 0.3s ease;
        padding: 0;
    }

    .dropdown-menu::before {
        display: none;
    }

    .nav-dropdown.active .dropdown-menu {
        max-height: 300px;
        padding: 8px 0;
        transform: none;
    }

    .dropdown-menu li a {
        padding: 12px 24px;
        text-align: center;
    }
}

/* =========================================
   Header & Navigation - 独立重构版
   ========================================= */

/* 1. Header 容器 */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    height: 70px;
    display: flex;
    align-items: center;          /* ✅ 核心：垂直居中 */
    justify-content: space-between;
}

/* 2. Logo */
.header-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #1a1a2e;
    font-size: 20px;
    font-weight: 700;
    white-space: nowrap;
}

.logo-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

/* 3. 导航列表 */
.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;          /* ✅ 核心：所有li垂直居中 */
    gap: 8px;
}

/* 4. 统一导航按钮基础样式 */
.nav-item {
    display: inline-flex;         /* ✅ 强制flex布局 */
    align-items: center;          /* ✅ 文字垂直居中 */
    justify-content: center;
    height: 40px;                 /* ✅ 固定高度 = 严格对齐 */
    padding: 0 22px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;          /* ✅ 禁止换行 */
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff !important;
    line-height: 1;               /* ✅ 消除行高导致的偏移 */
}

.nav-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* 投诉举报按钮 - 红色主题 */
.nav-item--complaint {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
}

.nav-item--complaint:hover {
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

/* 5. 下拉菜单 */
.nav-item-dropdown {
    position: relative;
}

.dropdown-trigger {
    gap: 6px;
}

.dropdown-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

/* 下拉面板 */
.dropdown-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    min-width: 180px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    padding: 8px 0;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 1001;
}

.dropdown-panel li a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
    transition: background 0.2s;
}

.dropdown-panel li a:hover {
    background: #f5f7ff;
    color: #667eea;
}

/* 下拉菜单展开状态 */
.nav-item-dropdown.is-open .dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-item-dropdown.is-open .dropdown-arrow {
    transform: rotate(180deg);
}

/* 6. 移动端适配 */
@media (max-width: 900px) {
    .header-inner {
        padding: 0 16px;
        height: auto;
        flex-wrap: wrap;
        padding-bottom: 12px;
    }

    .nav-list {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
        margin-top: 12px;
    }

    .nav-item {
        height: 36px;
        padding: 0 16px;
        font-size: 13px;
    }

    .dropdown-panel {
        left: 0;
        transform: translateY(-10px);
    }

    .nav-item-dropdown.is-open .dropdown-panel {
        transform: translateY(0);
    }
}