/* ===== 全局重置与基础 ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: #f0f2f5;
    color: #1a1a2e;
    line-height: 1.7;
    transition: background 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

body.dark {
    background: #0d0d1a;
    color: #e0e0e0;
}

/* ===== 容器 ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== 辅助类 ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-center {
    text-align: center;
}

.mt-16 {
    margin-top: 16px;
}

.mb-16 {
    margin-bottom: 16px;
}

.mb-32 {
    margin-bottom: 32px;
}

/* ===== 按钮 ===== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, #ff6b35, #ff8c00);
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff8c00, #ff6b35);
    transition: left 0.4s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 0;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.45);
}

.btn:active {
    transform: translateY(-1px);
}

/* ===== 卡片 ===== */
.card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                box-shadow 0.4s ease;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

body.dark .card {
    background: rgba(30, 30, 60, 0.9);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.05);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

body.dark .card:hover {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

/* ===== 毛玻璃 ===== */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

body.dark .glass {
    background: rgba(20, 20, 40, 0.7);
    border-color: rgba(255, 255, 255, 0.08);
}

/* ===== 渐变背景 ===== */
.gradient-bg {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #fff;
    position: relative;
}

.gradient-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.08) 0%, transparent 60%),
                radial-gradient(circle at 80% 50%, rgba(255, 140, 0, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

/* ===== 段落间距 ===== */
.section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 16px;
    text-align: center;
    position: relative;
    font-weight: 800;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #ff6b35, #ff8c00);
    margin: 12px auto 0;
    border-radius: 4px;
}

.gradient-bg .section-title::after {
    background: linear-gradient(90deg, #fff, #ff8c00);
}

.section-sub {
    text-align: center;
    color: #666;
    margin-bottom: 48px;
    font-size: 1.1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

body.dark .section-sub {
    color: #aaa;
}

.gradient-bg .section-sub {
    color: #ccc;
}

/* ===== 网格布局 ===== */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

/* ===== 滚动动画 ===== */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== 导航栏 ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 12px 0;
    transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.3s ease;
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.08);
    padding: 8px 0;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

body.dark .nav.scrolled {
    background: rgba(13, 13, 26, 0.95);
}

.nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: #ff6b35;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.02);
}

.nav-logo svg {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    gap: 6px;
    list-style: none;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: #1a1a2e;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
    position: relative;
}

body.dark .nav-menu a {
    color: #e0e0e0;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: rgba(255, 107, 53, 0.15);
    color: #ff6b35;
    transform: translateY(-1px);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: #ff6b35;
    border-radius: 3px;
}

/* ===== 汉堡菜单按钮 ===== */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 6px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: #1a1a2e;
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

body.dark .nav-toggle span {
    background: #e0e0e0;
}

.nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ===== 搜索框 ===== */
.search-box {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    padding: 4px 4px 4px 14px;
    margin-left: 8px;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
}

body.dark .search-box {
    background: rgba(255, 255, 255, 0.08);
}

.search-box:focus-within {
    background: rgba(0, 0, 0, 0.08);
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.3);
}

body.dark .search-box:focus-within {
    background: rgba(255, 255, 255, 0.12);
}

.search-box input {
    border: none;
    background: transparent;
    padding: 8px 4px;
    outline: none;
    width: 120px;
    font-size: 0.9rem;
    color: inherit;
    transition: width 0.3s ease;
}

.search-box input:focus {
    width: 160px;
}

.search-box button {
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    font-size: 1.1rem;
    padding: 6px 8px;
    border-radius: 50%;
    transition: background 0.3s ease, transform 0.2s ease;
}

body.dark .search-box button {
    color: #aaa;
}

.search-box button:hover {
    background: rgba(255, 107, 53, 0.15);
    transform: scale(1.1);
}

/* ===== 模式切换按钮 ===== */
.mode-toggle {
    background: none;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    flex-shrink: 0;
}

.mode-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: rotate(15deg);
}

.nav.scrolled .mode-toggle {
    border-color: rgba(0, 0, 0, 0.15);
    color: #1a1a2e;
}

body.dark .nav.scrolled .mode-toggle {
    border-color: rgba(255, 255, 255, 0.15);
    color: #e0e0e0;
}

/* ===== 面包屑 ===== */
.breadcrumb {
    background: rgba(255, 255, 255, 0.05);
    padding: 14px 0;
    font-size: 0.9rem;
    color: #aaa;
    margin-top: 60px;
}

body.dark .breadcrumb {
    background: rgba(255, 255, 255, 0.03);
}

.breadcrumb a {
    color: #ff8c00;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #ff6b35;
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 8px;
    color: #666;
}

/* ===== Hero 区域 ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.12) 0%, transparent 60%);
    animation: heroPulse 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -20%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.06) 0%, transparent 60%);
    animation: heroPulse 10s ease-in-out infinite reverse;
}

@keyframes heroPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.15);
        opacity: 1;
    }
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    background: linear-gradient(135deg, #fff 0%, #ff8c00 50%, #ff6b35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: heroTitleFade 1s ease;
}

@keyframes heroTitleFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 32px;
    opacity: 0.9;
    animation: heroTextFade 1s ease 0.2s both;
}

@keyframes heroTextFade {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 0.9;
        transform: translateY(0);
    }
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    animation: heroBtnFade 1s ease 0.4s both;
}

@keyframes heroBtnFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-buttons .btn:last-child {
    background: transparent;
    border: 2px solid #fff;
}

.hero-buttons .btn:last-child:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15);
}

/* ===== Banner 轮播 ===== */
.banner-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    margin-top: 48px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.banner-slide {
    display: none;
    animation: bannerFade 0.6s ease;
}

.banner-slide.active {
    display: block;
}

.banner-slide img {
    width: 100%;
    display: block;
    border-radius: 20px;
    transition: transform 0.6s ease;
}

.banner-slide:hover img {
    transform: scale(1.02);
}

@keyframes bannerFade {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.banner-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.banner-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.banner-dots span:hover {
    transform: scale(1.3);
}

.banner-dots span.active {
    background: #ff6b35;
    transform: scale(1.2);
    box-shadow: 0 0 12px rgba(255, 107, 53, 0.5);
}

/* ===== 品牌介绍 ===== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-text p {
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* ===== 团队网格 ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.team-card {
    text-align: center;
    padding: 28px 20px;
}

.team-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: block;
    border: 3px solid rgba(255, 107, 53, 0.2);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.team-card:hover img {
    border-color: #ff6b35;
    transform: scale(1.05);
}

.team-card h3 {
    margin-bottom: 4px;
}

.team-card p {
    font-size: 0.95rem;
}

/* ===== 产品卡片 ===== */
.product-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 16px;
    transition: transform 0.4s ease;
}

.product-card:hover img {
    transform: scale(1.03);
}

/* ===== 统计数字 ===== */
.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: #ff6b35;
    display: block;
    line-height: 1.2;
    margin-bottom: 8px;
}

/* ===== FAQ ===== */
.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 16px 0;
    transition: background 0.3s ease;
}

body.dark .faq-item {
    border-color: rgba(255, 255, 255, 0.08);
}

.faq-item:hover {
    background: rgba(255, 107, 53, 0.02);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 8px 0;
    user-select: none;
}

.faq-question .icon {
    font-size: 1.4rem;
    transition: transform 0.4s ease, color 0.3s ease;
    color: #ff6b35;
    flex-shrink: 0;
    margin-left: 12px;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.45s ease;
    padding: 0 16px;
    color: #555;
    line-height: 1.8;
}

body.dark .faq-answer {
    color: #bbb;
}

.faq-item.open .faq-answer {
    max-height: 500px;
    padding: 16px 16px 20px;
}

.faq-item.open .faq-question .icon {
    transform: rotate(45deg);
    color: #ff8c00;
}

/* ===== HowTo ===== */
.howto-step {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(255, 107, 53, 0.05);
    border-radius: 12px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.howto-step:hover {
    background: rgba(255, 107, 53, 0.08);
    transform: translateX(4px);
}

body.dark .howto-step {
    background: rgba(255, 107, 53, 0.08);
}

body.dark .howto-step:hover {
    background: rgba(255, 107, 53, 0.12);
}

.howto-step .step-num {
    width: 40px;
    height: 40px;
    background: #ff6b35;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    font-size: 1.1rem;
}

/* ===== 评价卡片 ===== */
.testimonial-card {
    padding: 32px 28px;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 4rem;
    color: #ff6b35;
    opacity: 0.2;
    position: absolute;
    top: 12px;
    left: 20px;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 12px;
    font-size: 1.05rem;
}

/* ===== 文章卡片 ===== */
.article-card {
    padding: 24px;
}

.article-card h4 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.article-card .date {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 8px;
}

.article-card p {
    font-size: 0.95rem;
    margin-bottom: 16px;
    color: #555;
}

body.dark .article-card p {
    color: #bbb;
}

/* ===== 友情链接 ===== */
.partner-link {
    display: inline-block;
    margin: 6px 12px;
    color: #ff8c00;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.partner-link:hover {
    color: #ff6b35;
    transform: translateY(-2px);
}

/* ===== 订阅表单 ===== */
.newsletter-form {
    display: flex;
    gap: 8px;
    max-width: 400px;
    margin: 16px auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    outline: none;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.newsletter-form input:focus {
    border-color: #ff6b35;
    background: rgba(255, 255, 255, 0.1);
}

.newsletter-form button {
    padding: 12px 24px;
    border-radius: 24px;
    border: none;
    background: #ff6b35;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.newsletter-form button:hover {
    background: #ff8c00;
    transform: translateY(-2px);
}

/* ===== Footer ===== */
.footer {
    background: #1a1a2e;
    color: #aaa;
    padding: 48px 0 24px;
}

.footer a {
    color: #ff8c00;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #ff6b35;
    text-decoration: underline;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.footer h4 {
    color: #fff;
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    text-align: center;
    font-size: 0.85rem;
}

.footer-bottom p {
    margin-bottom: 4px;
}

/* ===== 返回顶部 ===== */
.back-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: #ff6b35;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 999;
}

.back-top.show {
    opacity: 1;
    visibility: visible;
}

.back-top:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.5);
}

.back-top:active {
    transform: translateY(-2px);
}

/* ===== 响应式：平板 ===== */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.6rem;
    }
    
    .about-content {
        gap: 32px;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* ===== 响应式：手机 ===== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 56px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 4px;
        display: none;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        z-index: 999;
    }
    
    body.dark .nav-menu {
        background: rgba(13, 13, 26, 0.98);
    }
    
    .nav-menu.open {
        display: flex;
        animation: menuSlideIn 0.3s ease;
    }
    
    @keyframes menuSlideIn {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .search-box input {
        width: 80px;
    }
    
    .search-box input:focus {
        width: 120px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.05rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section {
        padding: 56px 0;
    }
    
    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .banner-carousel {
        max-width: 100%;
        margin-top: 32px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .breadcrumb {
        margin-top: 56px;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }
}

/* ===== 响应式：小手机 ===== */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 0.95rem;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-sub {
        font-size: 0.95rem;
        margin-bottom: 32px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .card {
        padding: 16px;
    }
    
    .search-box {
        margin-left: 4px;
    }
    
    .search-box input {
        width: 60px;
    }
    
    .search-box input:focus {
        width: 90px;
    }
    
    .nav-logo {
        font-size: 1.2rem;
    }
    
    .nav-logo svg {
        width: 30px;
        height: 30px;
    }
    
    .back-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
}

/* ===== 打印样式 ===== */
@media print {
    .nav,
    .back-top,
    .banner-carousel,
    .banner-dots,
    .mode-toggle,
    .search-box,
    .nav-toggle {
        display: none !important;
    }
    
    .hero {
        min-height: auto;
        padding: 60px 0;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    body {
        background: #fff;
        color: #000;
    }
    
    .section {
        padding: 30px 0;
        page-break-inside: avoid;
    }
}