/* ========================================
   金率格练字培训官网 - 响应式样式
   ======================================== */

/* 大屏桌面 (1200px+) */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
}

/* 桌面 (992px - 1199px) */
@media (max-width: 1199px) {
    :root {
        --section-padding: 80px;
        --font-size-5xl: 44px;
        --font-size-4xl: 36px;
        --font-size-3xl: 28px;
    }
    
    .hero-content {
        gap: 40px;
    }
    
    .about-content,
    .contact-content {
        gap: 40px;
    }
    
    .market-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 平板 (768px - 991px) */
@media (max-width: 991px) {
    :root {
        --section-padding: 60px;
        --font-size-5xl: 40px;
        --font-size-4xl: 32px;
        --font-size-3xl: 24px;
    }
    
    /* 导航 */
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 0;
        box-shadow: var(--shadow-md);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-base);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        padding: 16px 0;
        border-bottom: 1px solid var(--border-color);
        width: 100%;
        text-align: center;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    /* Hero */
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text {
        order: 1;
    }
    
    .hero-image {
        order: 0;
    }
    
    .hero-image {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    
    .hero-image img {
        max-width: 400px;
        margin: 0 auto;
        display: block;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .floating-card {
        display: none;
    }
    
    /* 关于品牌 */
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: 0;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .about-text {
        order: 1;
        text-align: center;
    }
    
    .about-features {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .feature-item {
        justify-content: center;
        text-align: center;
    }
    
    .feature-text {
        text-align: center;
    }
    
    .experience-badge {
        right: 20px;
        bottom: -10px;
    }
    
    /* 市场分析 */
    .policy-card {
        grid-template-columns: 1fr;
    }
    
    .policy-image {
        height: 250px;
    }
    
    .policy-image img {
        object-position: top;
    }
    
    /* 课程 */
    .courses-tabs {
        flex-wrap: wrap;
    }
    
    .course-card {
        grid-template-columns: 1fr;
    }
    
    .course-image {
        height: 300px;
    }
    
    .course-text {
        padding: 32px;
    }
    
    /* 产品 */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* 加盟支持 */
    .timeline {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .timeline::before {
        display: none;
    }
    
    .timeline-item {
        flex: 0 0 calc(33.333% - 20px);
        min-width: 160px;
        background: white;
        padding: 20px;
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-sm);
    }
    
    .timeline-content p {
        max-width: none;
        font-size: var(--font-size-sm);
    }
    
    .timeline-year {
        width: 60px;
        height: 60px;
        font-size: var(--font-size-sm);
    }
    
    .support-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* 合作流程 */
    .process-steps {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .process-steps::before {
        display: none;
    }
    
    .process-step {
        flex: 0 0 calc(33.333% - 20px);
        min-width: 150px;
    }
    
    /* 联系我们 */
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        order: 1;
    }
    
    .contact-qrcode-wrapper {
        order: 0;
    }
    
    .qrcode-box {
        width: 160px;
        height: 160px;
    }
    
    /* 页脚 */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-brand p {
        max-width: none;
    }
    
    .footer-links {
        justify-content: center;
    }
}

/* 核心技术原理响应式 */
@media (max-width: 991px) {
    .tech-intro {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .rules-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tech-highlight {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .tech-intro {
        padding: 30px;
    }
    
    .golden-ratio {
        width: 150px;
        height: 150px;
    }
    
    .ratio-number {
        font-size: 36px;
    }
    
    .rules-grid {
        grid-template-columns: 1fr;
    }
    
    .rules-section {
        padding: 24px;
    }
}

/* 为什么选择金率格响应式 */
@media (max-width: 991px) {
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-stats {
        gap: 30px;
        padding: 30px;
    }
    
    .dual-market {
        grid-template-columns: 1fr;
    }
    
    .synergy-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .why-us-grid {
        grid-template-columns: 1fr;
    }
    
    .why-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .why-stat-item {
        flex: 0 0 calc(50% - 10px);
    }
    
    .solution-list li {
        font-size: var(--font-size-xs);
    }
    
    .warm-quote {
        padding: 30px;
    }
    
    .quote-text {
        font-size: var(--font-size-base);
    }
    
    .course-market-tabs {
        flex-direction: column;
        align-items: stretch;
    }
    
    .market-tab-btn {
        justify-content: center;
    }
    
    .course-levels {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .method-steps {
        flex-wrap: wrap;
    }
    
    .method-step {
        flex: 0 0 calc(50% - 10px);
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .profit-grid {
        grid-template-columns: 1fr;
    }
    
    .profit-model {
        padding: 24px;
    }
}

/* 小平板和大手机 (576px - 767px) */
@media (max-width: 767px) {
    :root {
        --section-padding: 50px;
        --font-size-5xl: 32px;
        --font-size-4xl: 28px;
        --font-size-3xl: 22px;
        --font-size-2xl: 20px;
    }
    
    .navbar {
        height: 70px;
    }
    
    .logo img {
        height: 40px;
    }
    
    .logo-text {
        font-size: var(--font-size-xl);
    }
    
    /* 导航栏适配：隐藏logo文字，只显示图标 */
    .logo-text {
        display: none;
    }
    
    .nav-actions .btn-primary {
        padding: 10px 14px;
        font-size: var(--font-size-sm);
    }
    
    .hero {
        padding-top: 70px;
    }
    
    .hero-badge {
        padding: 8px 16px;
        font-size: var(--font-size-xs);
    }
    
    .hero-title {
        font-size: var(--font-size-4xl);
    }
    
    .hero-desc {
        font-size: var(--font-size-base);
    }
    
    .hero-slogan {
        font-size: var(--font-size-sm);
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-item {
        display: flex;
        align-items: baseline;
        justify-content: center;
        gap: 4px;
    }
    
    .stat-label {
        margin-left: 8px;
    }
    
    /* 减少 section 间距 */
    .section-padding {
        padding: 40px 0;
    }
    
    .section-header {
        margin-bottom: 28px;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 8px;
    }
    
    .section-desc {
        font-size: 13px;
    }
    
    /* 为什么选择金率格 - 左右平铺 */
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .why-card {
        padding: 16px 12px;
    }
    
    .why-icon {
        width: 44px;
        height: 44px;
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .why-card h4 {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .why-card p {
        font-size: 11px;
        line-height: 1.4;
    }
    
    /* 市场分析 - 减少间距 */
    .market-block {
        padding: 16px;
    }
    
    .market-header h3 {
        font-size: 15px;
    }
    
    .market-body h4 {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .pain-points {
        gap: 8px;
        margin-bottom: 12px;
    }
    
    .pain-item {
        padding: 8px;
    }
    
    .pain-item p {
        font-size: 12px;
    }
    
    .solution-box {
        padding: 12px;
    }
    
    .solution-box h5 {
        font-size: 13px;
        margin-bottom: 8px;
    }
    
    .solution-list li {
        font-size: 11px;
        padding: 3px 0;
    }
    
    /* 八大优势 - 更紧凑的 2×4 布局 */
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .advantage-card {
        padding: 10px 8px;
        border-radius: 8px;
    }
    
    .adv-number {
        font-size: 14px;
        margin-bottom: 4px;
        opacity: 0.5;
    }
    
    .adv-icon {
        width: 28px;
        height: 28px;
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    .advantage-card h4 {
        font-size: 12px;
        margin-bottom: 3px;
    }
    
    .advantage-card p {
        font-size: 10px;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    /* 核心技术 - 紧凑布局 */
    .tech-content {
        gap: 16px;
    }
    
    .tech-intro {
        padding: 20px;
    }
    
    .tech-text h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .tech-text p {
        font-size: 12px;
        line-height: 1.5;
        margin-bottom: 8px;
    }
    
    .golden-ratio {
        width: 120px;
        height: 120px;
    }
    
    .ratio-number {
        font-size: 28px;
    }
    
    .rules-section {
        padding: 20px;
    }
    
    .rules-section h4 {
        font-size: 15px;
        margin-bottom: 16px;
    }
    
    .rules-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .rule-card {
        padding: 14px 10px;
    }
    
    .rule-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .rule-card h5 {
        font-size: 13px;
        margin-bottom: 4px;
    }
    
    .rule-card p {
        font-size: 11px;
        line-height: 1.4;
    }
    
    .tech-highlight {
        gap: 12px;
    }
    
    .highlight-box {
        padding: 14px;
    }
    
    .highlight-box i {
        font-size: 24px;
        margin-bottom: 8px;
    }
    
    .highlight-box h4 {
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    .highlight-box p {
        font-size: 11px;
        line-height: 1.4;
    }
    
    /* 课程体系 - 紧凑布局 */
    .course-market-tabs {
        margin-bottom: 20px;
    }
    
    .market-tab-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .courses-intro {
        padding: 16px;
        margin-bottom: 16px;
    }
    
    .courses-intro h3 {
        font-size: 15px;
        margin-bottom: 8px;
    }
    
    .courses-intro p {
        font-size: 12px;
        line-height: 1.5;
    }
    
    .course-levels {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .level-card {
        padding: 14px 10px;
    }
    
    .level-badge {
        font-size: 10px;
        padding: 3px 8px;
        margin-bottom: 8px;
    }
    
    .level-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .level-card h4 {
        font-size: 13px;
        margin-bottom: 4px;
    }
    
    .level-age {
        font-size: 11px;
        margin-bottom: 6px;
    }
    
    .level-card > p {
        font-size: 11px;
        line-height: 1.4;
        margin-bottom: 8px;
    }
    
    .level-features li {
        font-size: 10px;
        padding: 2px 0;
    }
    
    /* 四维教学法 - 左右平铺 */
    .methodology {
        padding: 16px;
        margin-top: 16px;
    }
    
    .methodology h4 {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .method-steps {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .method-step {
        flex: 1 1 calc(25% - 8px);
        min-width: 60px;
        padding: 10px 6px;
    }
    
    .step-num {
        font-size: 18px;
        margin-bottom: 4px;
    }
    
    .method-step h5 {
        font-size: 12px;
        margin-bottom: 4px;
    }
    
    .method-step p {
        font-size: 10px;
        line-height: 1.3;
    }
    
    /* 老年课程好处 - 左右平铺 */
    .senior-benefits {
        padding: 16px;
        margin-top: 16px;
    }
    
    .senior-benefits h4 {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .benefit-item {
        padding: 12px 8px;
    }
    
    .benefit-item i {
        font-size: 20px;
        margin-bottom: 6px;
    }
    
    .benefit-item h5 {
        font-size: 12px;
        margin-bottom: 4px;
    }
    
    .benefit-item p {
        font-size: 10px;
        line-height: 1.3;
    }
    
    /* 产品中心 - 更紧凑的 4×2 布局 */
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }
    
    .product-card {
        padding: 10px 6px;
        border-radius: 8px;
    }
    
    .product-image {
        width: 32px;
        height: 32px;
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    .product-card h4 {
        font-size: 11px;
        margin-bottom: 2px;
    }
    
    .product-card p {
        font-size: 9px;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    /* 加盟支持 - 超紧凑布局 */
    .profit-model {
        padding: 14px;
        margin-bottom: 16px;
        border-radius: 10px;
    }
    
    .profit-model h3 {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .profit-grid {
        gap: 10px;
    }
    
    .profit-card {
        padding: 10px 8px;
        border-radius: 8px;
        margin-bottom: 0;
    }
    
    .profit-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    .profit-card h4 {
        font-size: 12px;
        margin-bottom: 6px;
    }
    
    .profit-list li {
        font-size: 10px;
        padding: 2px 0;
    }
    
    .profit-list li i {
        font-size: 8px;
        margin-right: 4px;
    }
    
    .support-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .support-card {
        padding: 10px 6px;
        border-radius: 8px;
    }
    
    .support-icon {
        width: 28px;
        height: 28px;
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    .support-card h4 {
        font-size: 11px;
        margin-bottom: 3px;
    }
    
    .support-card p {
        font-size: 9px;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    /* 合作流程 - 超紧凑 3×2 布局 */
    .process-steps {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .process-step {
        flex: 1 1 calc(33.333% - 8px);
        min-width: 70px;
        padding: 10px 6px;
        border-radius: 8px;
    }
    
    .step-number {
        width: 18px;
        height: 18px;
        font-size: 10px;
        margin-bottom: 6px;
    }
    
    .step-icon {
        width: 26px;
        height: 26px;
        font-size: 12px;
        margin-bottom: 6px;
    }
    
    .process-step h4 {
        font-size: 11px;
        margin-bottom: 3px;
    }
    
    .process-step p {
        font-size: 9px;
        line-height: 1.2;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .section-tag {
        padding: 6px 16px;
        font-size: var(--font-size-xs);
    }
    
    /* 关于我们 - 紧凑布局 */
    .about-text {
        text-align: center;
    }
    
    .about-text h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .about-intro {
        font-size: 13px;
        line-height: 1.6;
        margin-bottom: 16px;
        text-align: center;
    }
    
    /* 专业资质等改为左右平铺并居中 */
    .about-features {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        max-width: none;
    }
    
    .feature-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 14px 10px;
        background: rgba(212, 175, 55, 0.05);
        border-radius: 10px;
        border: 1px solid rgba(212, 175, 55, 0.1);
    }
    
    .feature-icon {
        width: 44px;
        height: 44px;
        font-size: 20px;
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .feature-text {
        text-align: center;
    }
    
    .feature-text h4 {
        font-size: 14px;
        margin-bottom: 4px;
    }
    
    .feature-text p {
        font-size: 11px;
        line-height: 1.4;
    }
    
    .policy-text {
        padding: 24px;
    }
    
    .policy-highlight {
        flex-direction: column;
    }
    
    .highlight-item {
        text-align: center;
    }
    
    .market-grid {
        grid-template-columns: 1fr;
    }
    
    .courses-tabs {
        flex-direction: column;
        align-items: stretch;
    }
    
    .tab-btn {
        justify-content: center;
    }
    
    .course-image {
        height: 200px;
    }
    
    .course-text {
        padding: 24px;
    }
    
    /* 保持八大优势、产品中心、加盟支持、合作流程的紧凑布局 */
    /* 不覆盖之前定义的紧凑样式 */
    
    .contact-form-wrapper {
        padding: 24px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        text-align: center;
    }
    
    .footer-column h4 {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .footer-column li {
        font-size: 12px;
        margin-bottom: 6px;
    }
    
    /* 联系我们 - 紧凑布局 */
    .contact-content {
        gap: 20px;
    }
    
    .info-card {
        padding: 12px;
        margin-bottom: 10px;
    }
    
    .info-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
        margin-right: 12px;
    }
    
    .info-text h4 {
        font-size: 13px;
        margin-bottom: 4px;
    }
    
    .info-text p {
        font-size: 12px;
    }
    
    .contact-qrcode {
        padding: 20px;
    }
    
    .contact-qrcode h3 {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .qrcode-box {
        width: 120px;
        height: 120px;
        margin-bottom: 12px;
    }
    
    .contact-tips p {
        font-size: 12px;
        margin-bottom: 6px;
    }
    
    /* 页脚 - 紧凑布局 */
    .footer-brand img {
        height: 44px;
        margin-bottom: 12px;
    }
    
    .footer-brand p {
        font-size: 12px;
        line-height: 1.5;
        margin-bottom: 16px;
    }
    
    .footer-bottom {
        padding: 12px 0;
    }
    
    .footer-bottom p {
        font-size: 11px;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: var(--font-size-base);
        right: 15px;
        bottom: 80px;
    }
    
    .float-contact {
        right: 15px;
        bottom: 15px;
    }
    
    .float-btn {
        padding: 12px 18px;
        font-size: var(--font-size-sm);
    }
    
    .float-btn span {
        display: none;
    }
}

/* 小手机 (< 576px) */
@media (max-width: 575px) {
    :root {
        --section-padding: 28px;
    }
    
    .container {
        padding: 0 12px;
    }
    
    /* 小屏幕隐藏电话号码文字，只显示图标 */
    .nav-actions .btn-primary .phone-text {
        display: none;
    }
    
    .nav-actions .btn-primary {
        padding: 8px 10px;
    }
    
    .nav-actions {
        gap: 10px;
    }
    
    .hero-title {
        font-size: 24px;
        line-height: 1.3;
    }
    
    .hero-desc {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .hero-slogan {
        font-size: 12px;
        line-height: 1.5;
        margin-bottom: 14px;
    }
    
    .hero-image {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin-bottom: 14px;
    }
    
    .hero-image img {
        max-width: 240px;
        margin: 0 auto;
        display: block;
    }
    
    .experience-badge {
        padding: 16px 20px;
    }
    
    .exp-number {
        font-size: var(--font-size-2xl);
    }
    
    /* 八大优势 - 超紧凑 2×4 */
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    
    .advantage-card {
        padding: 8px 6px;
        border-radius: 6px;
    }
    
    .adv-number {
        font-size: 12px;
        margin-bottom: 3px;
        opacity: 0.4;
    }
    
    .adv-icon {
        width: 24px;
        height: 24px;
        font-size: 12px;
        margin-bottom: 4px;
    }
    
    .advantage-card h4 {
        font-size: 11px;
        margin-bottom: 2px;
    }
    
    .advantage-card p {
        font-size: 9px;
        line-height: 1.2;
        -webkit-line-clamp: 2;
    }
    
    /* 产品中心 - 超紧凑 4×2 */
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
    }
    
    .product-card {
        padding: 8px 4px;
        border-radius: 6px;
    }
    
    .product-image {
        width: 28px;
        height: 28px;
        font-size: 12px;
        margin-bottom: 4px;
    }
    
    .product-card h4 {
        font-size: 10px;
        margin-bottom: 2px;
    }
    
    .product-card p {
        font-size: 8px;
        line-height: 1.2;
        -webkit-line-clamp: 2;
    }
    
    /* 加盟支持 - 超紧凑 */
    .profit-model {
        padding: 12px;
        margin-bottom: 12px;
        border-radius: 8px;
    }
    
    .profit-model h3 {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .profit-grid {
        gap: 8px;
    }
    
    .profit-card {
        padding: 8px 6px;
        border-radius: 6px;
        margin-bottom: 0;
    }
    
    .profit-icon {
        width: 28px;
        height: 28px;
        font-size: 12px;
        margin-bottom: 4px;
    }
    
    .profit-card h4 {
        font-size: 11px;
        margin-bottom: 4px;
    }
    
    .profit-list li {
        font-size: 9px;
        padding: 1px 0;
    }
    
    .profit-list li i {
        font-size: 7px;
        margin-right: 3px;
    }
    
    .support-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
    
    .support-card {
        padding: 8px 4px;
        border-radius: 6px;
    }
    
    .support-icon {
        width: 24px;
        height: 24px;
        font-size: 12px;
        margin-bottom: 4px;
    }
    
    .support-card h4 {
        font-size: 10px;
        margin-bottom: 2px;
    }
    
    .support-card p {
        font-size: 8px;
        line-height: 1.2;
        -webkit-line-clamp: 2;
    }
    
    /* 合作流程 - 超紧凑 3×2 */
    .process-steps {
        gap: 6px;
    }
    
    .process-step {
        flex: 1 1 calc(33.333% - 6px);
        min-width: 60px;
        padding: 8px 4px;
        border-radius: 6px;
    }
    
    .step-number {
        width: 16px;
        height: 16px;
        font-size: 9px;
        margin-bottom: 4px;
    }
    
    .step-icon {
        width: 22px;
        height: 22px;
        font-size: 10px;
        margin-bottom: 4px;
    }
    
    .process-step h4 {
        font-size: 10px;
        margin-bottom: 2px;
    }
    
    .process-step p {
        font-size: 8px;
        line-height: 1.2;
        -webkit-line-clamp: 2;
    }
    
    /* 减少 section 间距 */
    .section-padding {
        padding: 28px 0;
    }
    
    .section-header {
        margin-bottom: 20px;
    }
    
    .section-title {
        font-size: 20px;
        margin-bottom: 6px;
    }
    
    .section-desc {
        font-size: 12px;
    }
    
    .info-card {
        flex-direction: column;
        text-align: center;
    }
    
    .info-icon {
        margin: 0 auto;
    }
    
    .scroll-indicator {
        display: none;
    }
}

/* 超小屏幕 (<= 400px) */
@media (max-width: 400px) {
    .container {
        padding: 0 10px;
    }
    
    .navbar {
        height: 60px;
    }
    
    .logo img {
        height: 32px;
    }
    
    .nav-actions {
        gap: 8px;
    }
    
    .nav-actions .btn-primary {
        padding: 6px 8px;
    }
    
    .hamburger {
        padding: 4px;
    }
    
    .hamburger span {
        width: 20px;
        height: 1.5px;
    }
    
    /* 超小屏幕进一步压缩四大部分 */
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
    }
    
    .advantage-card {
        padding: 6px 4px;
    }
    
    .adv-icon {
        width: 22px;
        height: 22px;
        font-size: 11px;
        margin-bottom: 3px;
    }
    
    .advantage-card h4 {
        font-size: 10px;
    }
    
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 5px;
    }
    
    .product-card {
        padding: 6px 3px;
    }
    
    .product-image {
        width: 24px;
        height: 24px;
        font-size: 11px;
        margin-bottom: 3px;
    }
    
    .product-card h4 {
        font-size: 9px;
    }
    
    .support-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
    }
    
    .support-card {
        padding: 6px 3px;
    }
    
    .support-icon {
        width: 22px;
        height: 22px;
        font-size: 11px;
        margin-bottom: 3px;
    }
    
    .support-card h4 {
        font-size: 9px;
    }
    
    .process-steps {
        gap: 5px;
    }
    
    .process-step {
        padding: 6px 3px;
    }
    
    .step-icon {
        width: 20px;
        height: 20px;
        font-size: 9px;
        margin-bottom: 3px;
    }
    
    .process-step h4 {
        font-size: 9px;
    }
}

/* 横屏模式 */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }
    
    .hero-content {
        grid-template-columns: 1fr 1fr;
        text-align: left;
    }
    
    .hero-text {
        order: 0;
    }
    
    .hero-image {
        order: 1;
    }
    
    .hero-buttons {
        justify-content: flex-start;
        flex-direction: row;
    }
    
    .hero-buttons .btn {
        width: auto;
    }
    
    .hero-stats {
        justify-content: flex-start;
    }
    
    .scroll-indicator {
        display: none;
    }
}

/* 高分辨率屏幕优化 */
@media (min-resolution: 192dpi) {
    .hero-image img,
    .about-image img,
    .policy-image img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* 减少动画 (用户偏好) */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* 打印样式 */
@media print {
    .header,
    .scroll-indicator,
    .back-to-top,
    .float-contact,
    .hero-buttons,
    .contact-form-wrapper {
        display: none !important;
    }
    
    .hero {
        min-height: auto;
        padding: 40px 0;
    }
    
    .section-padding {
        padding: 40px 0;
    }
    
    body {
        font-size: 12pt;
        color: black;
    }
    
    a {
        text-decoration: underline;
    }
    
    .page-break {
        page-break-before: always;
    }
}
