/* responsive.css - 响应式样式 */

/* 平板端 */
@media (max-width: 1023px) {
    :root {
        --section-padding: 70px;
    }

    .section-title {
        font-size: 1.875rem;
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-banner {
        height: 300px;
    }

    .page-banner-title {
        font-size: 2.25rem;
    }
}

/* 移动端 */
@media (max-width: 767px) {
    :root {
        --section-padding: 50px;
    }

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .section-title {
        font-size: 1.625rem;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    /* 导航 */
    .header-inner {
        height: 70px;
    }

    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: #ffffff;
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
        gap: 0;
        transform: translateX(100%);
        transition: transform var(--transition-base);
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
    }

    .nav.active {
        transform: translateX(0);
    }

    .nav-link {
        width: 100%;
        padding: 14px 0;
        border-bottom: 1px solid var(--border-light);
        font-size: 1rem;
    }

    .nav-link::after {
        display: none;
    }

    .header-phone {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    /* 按钮 */
    .btn {
        padding: 10px 22px;
        font-size: 0.875rem;
    }

    .btn-lg {
        padding: 14px 28px;
    }

    /* 卡片 */
    .card-img,
    .product-card-img,
    .news-card-img {
        height: 180px;
    }

    .app-card {
        height: 260px;
    }

    /* 页脚 */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    /* 表单 */
    .form-row {
        grid-template-columns: 1fr;
    }

    /* 横幅 */
    .page-banner {
        height: 240px;
    }

    .page-banner-title {
        font-size: 1.75rem;
    }

    /* 统计 */
    .stat-number {
        font-size: 2rem;
    }

    /* 时间线 */
    .timeline {
        padding-left: 24px;
    }

    .timeline-dot {
        left: -24px;
        width: 12px;
        height: 12px;
    }
}

/* 小屏移动端 */
@media (max-width: 374px) {
    .logo-text {
        font-size: 1rem;
    }

    .logo-icon {
        width: 60px;
        height: 36px;
        font-size: 1rem;
    }
}
