/* Weilai.ai 响应式适配 - 三端完美适配 */
:root {
    --primary: #6366f1;
    --secondary: #06b6d4;
    --success: #10b981;
    --dark: #0f172a;
    --darker: #020617;
    --gray-100: #f1f5f9;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
}

/* 基础响应式 */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; }

/* 超大屏幕 */
@media (min-width: 1400px) {
    html { font-size: 17px; }
    .container { max-width: 1320px; }
}

/* 大屏幕笔记本 */
@media (max-width: 1199px) {
    html { font-size: 15px; }
    .hero-title { font-size: 3rem !important; }
    .hero-subtitle { font-size: 1.25rem !important; }
}

/* 平板横屏 */
@media (max-width: 991px) {
    html { font-size: 14px; }
    .hero { padding: 6rem 0 4rem !important; }
    .hero-title { font-size: 2.5rem !important; }
    .hero-buttons { flex-direction: column; gap: 1rem; }
    .hero-buttons .btn { width: 100%; justify-content: center; }
    .stats-section { padding: 4rem 0; }
    .model-card { margin-bottom: 1rem; }
}

/* 平板竖屏 */
@media (max-width: 767px) {
    html { font-size: 13px; }
    .navbar { padding: 0.75rem 0; }
    .navbar-brand { font-size: 1.1rem; }
    .hero { padding: 5rem 0 3rem !important; min-height: auto; }
    .hero-title { font-size: 2rem !important; line-height: 1.2; }
    .hero-subtitle { font-size: 1rem !important; }
    .hero-description { font-size: 0.95rem; }
    .section { padding: 3rem 0; }
    .section-title { font-size: 1.75rem; }
    .section-subtitle { font-size: 0.95rem; }
    .card-body { padding: 1rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 1rem; }
    .model-grid { grid-template-columns: 1fr !important; }
    .pricing-grid { grid-template-columns: 1fr !important; }
    .feature-icon { width: 48px; height: 48px; font-size: 1.25rem; }
    .footer { padding: 2rem 0 1rem; }
    .footer-brand { font-size: 1.1rem; }
}

/* 手机 */
@media (max-width: 575px) {
    html { font-size: 12px; }
    .container { padding-left: 1rem; padding-right: 1rem; }
    .navbar-toggler { padding: 0.5rem; font-size: 1.25rem; }
    .hero { padding: 4rem 0 2rem !important; }
    .hero-title { font-size: 1.75rem !important; }
    .hero-badge { font-size: 0.7rem; padding: 0.3rem 0.75rem; }
    .btn { padding: 0.625rem 1rem; font-size: 0.875rem; }
    .btn-lg { padding: 0.75rem 1.25rem; font-size: 0.95rem; }
    .card { border-radius: 12px; }
    .section { padding: 2.5rem 0; }
    .section-title { font-size: 1.5rem; margin-bottom: 0.5rem; }
    .feature-card { padding: 1.25rem; }
    .stats-card { padding: 1rem; }
    .stats-value { font-size: 1.5rem; }
    .pricing-card { padding: 1.5rem 1rem; }
    .model-icon { width: 40px; height: 40px; font-size: 1rem; }
    .table { font-size: 0.8rem; }
    .table td, .table th { padding: 0.625rem; }
    .footer-links { flex-direction: column; gap: 0.5rem; }
    .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
}

/* 超小手机 */
@media (max-width: 375px) {
    html { font-size: 11px; }
    .hero-title { font-size: 1.5rem !important; }
    .stats-grid { grid-template-columns: 1fr !important; }
    .pricing-grid { gap: 0.75rem; }
}

/* 横屏手机 */
@media (max-height: 500px) and (orientation: landscape) {
    .hero { padding: 2rem 0 !important; }
    .hero-title { font-size: 1.75rem !important; }
    .hero-buttons { flex-direction: row; flex-wrap: wrap; }
}

/* 高对比度模式 */
@media (prefers-contrast: high) {
    .card { border-width: 2px; }
    .btn { border-width: 2px; }
}

/* 减少动画 */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 打印样式 */
@media print {
    .navbar, .footer, .hero-buttons, .btn { display: none !important; }
    .hero { padding: 1rem 0; }
    body { background: white; color: black; }
}
