/* ========================================
   影文落地页 - 响应式样式补充文件
   深色太空主题
   
   注意：主要响应式样式已在 style.css 中定义
   此文件仅包含补充样式和特殊设备支持
   ======================================== */

/* ========================================
   触摸设备优化
   ======================================== */
@media (hover: none) and (pointer: coarse) {
    /* 增大触摸目标 */
    .nav-menu a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .btn {
        min-height: 44px;
    }
    
    .feature-toggle {
        min-height: 44px;
    }
    
    .hamburger {
        min-width: 44px;
        min-height: 44px;
    }
    
    /* 禁用悬停效果 */
    .feature-card:hover,
    .scenario-card:hover,
    .pricing-card:hover,
    .format-card:hover {
        transform: none;
        box-shadow: none;
    }
    
    .pricing-card-featured:hover {
        transform: scale(1.02);
    }
    
    /* 点击时的反馈效果 */
    .btn:active,
    .feature-toggle:active,
    .nav-menu a:active {
        transform: scale(0.98);
        opacity: 0.9;
    }
}

/* ========================================
   打印样式
   ======================================== */
@media print {
    /* 隐藏不需要打印的元素 */
    .header,
    .hamburger,
    .hero-scroll-hint,
    .feature-toggle,
    .btn,
    .pricing-btn,
    .btn-download,
    .download-links,
    .footer-social,
    .background-blobs {
        display: none !important;
    }
    
    /* 调整页面布局 */
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: #fff;
    }
    
    .hero {
        background: none;
        color: #000;
        padding: 1rem 0;
        min-height: auto;
    }
    
    .hero-title,
    .hero-title-main,
    .hero-title-accent,
    .hero-subtitle,
    .hero-description {
        color: #000;
        background: none;
        -webkit-text-fill-color: #000;
    }
    
    .section-title,
    .section-subtitle {
        color: #000;
    }
    
    .feature-card,
    .scenario-card,
    .pricing-card,
    .format-card {
        background: #fff;
        border: 1px solid #ccc;
        box-shadow: none;
    }
    
    .feature-title,
    .scenario-title,
    .pricing-title {
        color: #000;
    }
    
    .feature-desc,
    .scenario-desc,
    .pricing-desc {
        color: #333;
    }
    
    /* 确保内容可见 */
    .feature-details {
        max-height: none !important;
        opacity: 1 !important;
    }
    
    /* 分页控制 */
    .features,
    .scenarios,
    .specs,
    .pricing {
        page-break-inside: avoid;
    }
}

/* ========================================
   高对比度模式支持
   ======================================== */
@media (prefers-contrast: high) {
    :root {
        --border-glass: rgba(255, 255, 255, 0.3);
        --text-secondary: #c0c0c0;
    }
    
    .btn {
        border: 2px solid currentColor;
    }
    
    .feature-card,
    .scenario-card,
    .pricing-card,
    .format-card {
        border-width: 2px;
    }
    
    .text-gradient,
    .text-gradient-primary,
    .text-gradient-accent,
    .hero-title-main,
    .hero-title-accent {
        background: none;
        -webkit-text-fill-color: #fff;
        color: #fff;
    }
}

/* ========================================
   减少动画模式支持
   ======================================== */
@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;
    }
    
    .blob {
        animation: none !important;
    }
    
    .hero-badge-dot::before {
        animation: none !important;
    }
}

/* ========================================
   深色模式强制（确保一致性）
   ======================================== */
@media (prefers-color-scheme: light) {
    /* 即使系统是浅色模式，也保持深色主题 */
    html.dark {
        color-scheme: dark;
    }
}

