/* 移动端专用样式优化 */
@media (max-width: 768px) {
    /* 基础字体和间距 */
    body {
        font-size: 16px;
        line-height: 1.6;
    }
    
    /* 标题优化 */
    h1 {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    h2 {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 0.875rem;
    }
    
    h3 {
        font-size: 1.25rem;
        line-height: 1.3;
        margin-bottom: 0.75rem;
    }
    
    /* 段落和列表 */
    p, li {
        margin-bottom: 0.75rem;
        line-height: 1.6;
    }
    
    /* Hero Banner移动端优化 */
    .hero-banner {
        padding: 2.5rem 0;
    }
    
    .hero-banner h1 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-banner .lead {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    /* CTA按钮移动端优化 */
    .cta-btn {
        display: block;
        width: 100%;
        max-width: 320px;
        margin: 0.5rem auto;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        min-height: 48px;
        border-radius: 24px;
    }
    
    .cta-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    /* Section间距优化 */
    .section {
        padding: 2.5rem 0;
    }
    
    /* 卡片优化 */
    .card {
        margin-bottom: 1rem;
        padding: 1.25rem !important;
    }
    
    /* 统计数字 */
    .stats-number {
        font-size: 2rem;
    }
    
    /* 表格响应式 */
    .table-responsive {
        font-size: 0.875rem;
    }
    
    .table-custom th,
    .table-custom td {
        padding: 0.5rem;
        font-size: 0.875rem;
    }
    
    /* 价格标签 */
    .price-tag {
        font-size: 1.75rem;
    }
    
    /* FAQ优化 */
    .faq-item {
        padding: 1rem 0;
    }
    
    .faq-question {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .faq-answer {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    /* 导航栏优化 */
    .navbar-brand img {
        height: 32px;
    }
    
    .navbar-nav {
        padding: 1rem 0;
    }
    
    .nav-link {
        padding: 0.75rem 1rem;
        font-size: 1rem;
        min-height: 48px;
        display: flex;
        align-items: center;
    }
    
    /* 图片优化 */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* 信任Logo */
    .trust-logo {
        height: 48px;
        margin-bottom: 1rem;
    }
    
    /* 评价卡片 */
    .testimonial {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }
    
    /* Footer优化 */
    footer {
        padding: 2.5rem 0 !important;
    }
    
    footer h4 {
        font-size: 1.125rem;
        margin-bottom: 1rem;
    }
    
    footer p,
    footer li {
        font-size: 0.9rem;
    }
    
    /* 回到顶部按钮 */
    .back-to-top {
        width: 48px;
        height: 48px;
        bottom: 1rem;
        right: 1rem;
        font-size: 1.25rem;
    }
    
    /* 粘性CTA */
    .sticky-cta {
        padding: 0.75rem;
    }
    
    .sticky-cta .btn {
        min-height: 44px;
        font-size: 0.9rem;
    }
    
    /* Alert优化 */
    .alert {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .alert h4 {
        font-size: 1.125rem;
        margin-bottom: 0.75rem;
    }
    
    .alert ul {
        padding-left: 1.25rem;
    }
    
    .alert li {
        margin-bottom: 0.5rem;
    }
    
    /* 特性图标 */
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    /* 容器内边距 */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* 行间距 */
    .row {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }
    
    .row > * {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    /* 按钮组优化 */
    .d-flex.gap-3 {
        flex-direction: column;
        gap: 0.75rem !important;
    }
    
    /* 列表项优化 */
    ul, ol {
        padding-left: 1.25rem;
    }
    
    /* Badge优化 */
    .badge {
        font-size: 0.875rem;
        padding: 0.375rem 0.75rem;
    }
    
    /* 表单元素最小尺寸 */
    button,
    .btn,
    a.btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* 点击目标优化 */
    a,
    button,
    .clickable {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* 文本对比度增强 */
    .text-muted {
        color: #6b7280 !important;
    }
    
    /* 间距工具类调整 */
    .mb-5 {
        margin-bottom: 2rem !important;
    }
    
    .mt-5 {
        margin-top: 2rem !important;
    }
    
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
}

/* 小屏幕设备额外优化 */
@media (max-width: 576px) {
    h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.25rem;
    }
    
    h3 {
        font-size: 1.125rem;
    }
    
    .hero-banner h1 {
        font-size: 1.375rem;
    }
    
    .stats-number {
        font-size: 1.75rem;
    }
    
    .price-tag {
        font-size: 1.5rem;
    }
    
    .container {
        padding-left: 0.875rem;
        padding-right: 0.875rem;
    }
}

/* 横屏模式优化 */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-banner {
        padding: 2rem 0;
    }
    
    .section {
        padding: 2rem 0;
    }
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
    /* 增加点击区域 */
    a, button {
        padding: 0.5rem;
    }
    
    /* 移除hover效果 */
    .card:hover {
        transform: none;
    }
    
    /* 优化激活状态 */
    button:active,
    .btn:active {
        transform: scale(0.98);
        opacity: 0.9;
    }
}
