/* 鲸鱼卖家魔方 - 响应式样式文件 */

/* 超大屏幕 (1400px+) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  .hero-title {
    font-size: 4rem;
  }
  
  .section-title {
    font-size: 3rem;
  }
}

/* 大屏幕 (1200px+) */
@media (min-width: 1200px) {
  .hero-graphic {
    width: 350px;
    height: 350px;
  }
  
  .hero-graphic i {
    font-size: 7rem;
  }
}

/* 中等屏幕 (992px+) */
@media (min-width: 992px) {
  .navbar-nav .nav-link {
    margin: 0 12px;
  }
}

/* 平板屏幕 (768px - 1199px) */
@media (max-width: 1199px) and (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .section-title {
    font-size: 2.25rem;
  }
  
  .hero-graphic {
    width: 250px;
    height: 250px;
  }
  
  .hero-graphic i {
    font-size: 5rem;
  }
  
  .submit-process {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .process-arrow {
    transform: rotate(90deg);
  }
  
  .footer-links {
    justify-content: center;
    margin-top: 1rem;
  }
}

/* 小屏幕 (576px - 767px) */
@media (max-width: 767px) {
  .hero-section {
    padding: 80px 0 0;
  }
  
  .hero-title {
    font-size: 2.5rem;
    text-align: center;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
    margin-top: 2rem;
  }
  
  .hero-graphic {
    width: 200px;
    height: 200px;
    margin-top: 3rem;
  }
  
  .hero-graphic i {
    font-size: 4rem;
  }
  
  .section-title {
    font-size: 2rem;
    text-align: center;
  }
  
  .section-subtitle {
    font-size: 1rem;
    text-align: center;
  }
  
  .features-section,
  .cases-section,
  .contact-section {
    padding: 60px 0;
  }
  
  .feature-card {
    margin-bottom: 1rem;
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
  }
  
  .feature-icon i {
    font-size: 1.5rem;
  }
  
  .submit-process {
    flex-direction: column;
    gap: 1rem;
  }
  
  .process-step {
    min-width: auto;
    width: 100%;
  }
  
  .process-arrow {
    transform: rotate(90deg);
    font-size: 1.25rem;
  }
  
  .wechat-qr {
    width: 150px;
    height: 150px;
  }
  
  .contact-card {
    padding: 2rem 1rem;
  }
  
  .footer {
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .navbar-brand .brand-text {
    display: none;
  }
  
  .logo {
    width: 36px;
    height: 36px;
  }
}

/* 超小屏幕 (< 576px) */
@media (max-width: 575px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .hero-title {
    font-size: 2rem;
    line-height: 1.3;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
  
  .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .features-section,
  .cases-section,
  .contact-section {
    padding: 40px 0;
  }
  
  .feature-card,
  .case-card,
  .contact-card {
    padding: 1.5rem;
  }
  
  .modal-content {
    margin: 1rem;
    padding: 1.5rem;
  }
  
  .form-control {
    padding: 10px 12px;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.875rem;
  }
  
  .navbar-nav .nav-link {
    text-align: center;
    margin: 0.25rem 0;
  }
  
  .submit-process {
    gap: 0.75rem;
  }
  
  .process-step {
    padding: 1rem;
    flex-direction: column;
    text-align: center;
  }
  
  .step-number {
    margin-bottom: 0.5rem;
  }
  
  .case-stats .stat h4 {
    font-size: 1.5rem;
  }
  
  .contact-info {
    gap: 0.75rem;
  }
  
  .contact-item {
    font-size: 0.875rem;
  }
  
  .wechat-qr {
    width: 120px;
    height: 120px;
  }
}

/* 导航栏响应式 */
@media (max-width: 991px) {
  .navbar-collapse {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .navbar-nav {
    text-align: center;
  }
  
  .navbar-nav .nav-item {
    margin: 0.25rem 0;
  }
  
  .navbar-nav .btn {
    margin-top: 0.5rem;
    display: inline-block;
    width: auto;
  }
}

/* 表格响应式 */
@media (max-width: 767px) {
  .table-responsive {
    font-size: 0.875rem;
  }
  
  .custom-table th,
  .custom-table td {
    padding: 0.75rem 0.5rem;
  }
}

/* 卡片网格响应式 */
@media (max-width: 575px) {
  .row.g-4 {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
  }
}

/* 动画响应式 */
@media (max-width: 767px) {
  .animate__animated {
    animation-duration: 0.8s;
  }
  
  .feature-card:hover {
    transform: translateY(-5px);
  }
  
  .case-card:hover {
    transform: translateY(-3px);
  }
}

/* 减少动画效果 (对于偏好减少动画的用户) */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .hero-graphic {
    animation: none;
  }
}

/* 高对比度模式 */
@media (prefers-contrast: high) {
  :root {
    --border-color: #000000;
    --text-light: #333333;
  }
  
  .btn {
    border: 2px solid;
  }
  
  .feature-card,
  .case-card,
  .contact-card {
    border: 2px solid var(--border-color);
  }
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
  :root {
    --text-dark: #f9fafb;
    --text-light: #d1d5db;
    --bg-light: #1f2937;
    --white: #111827;
    --border-color: #374151;
  }
  
  body {
    background-color: var(--white);
    color: var(--text-dark);
  }
  
  .feature-card,
  .case-card,
  .contact-card,
  .card {
    background: #1f2937;
    border-color: var(--border-color);
  }
  
  .form-control {
    background: #1f2937;
    border-color: var(--border-color);
    color: var(--text-dark);
  }
  
  .modal-content {
    background: #1f2937;
  }
}

/* 打印样式 */
@media print {
  .header,
  .navbar,
  .btn,
  .modal-overlay,
  .loading-overlay {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    color: #000;
    background: #fff;
  }
  
  .hero-section,
  .product-submit-section {
    background: #fff !important;
    color: #000 !important;
  }
  
  .section-title {
    font-size: 18pt;
    margin-bottom: 12pt;
  }
  
  .feature-card,
  .case-card {
    box-shadow: none;
    border: 1px solid #ccc;
    page-break-inside: avoid;
  }
} 