/* 响应式设计样式 - 增强版 */

/* 大屏幕样式调整 (1200px以上) */
@media (min-width: 1200px) {
  .hero-title {
    font-size: 3.75rem;
  }
  
  .hero-animation {
    height: 450px;
  }
  
  .feature-item {
    padding: 1.5rem;
  }
  
  .hero-shape-3 {
    width: 200px;
    height: 200px;
    top: 15%;
    left: 10%;
  }
}

/* 中等屏幕样式调整 (768px ~ 1199px) */
@media (max-width: 1199px) {
  :root {
    --container-width: 960px;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-text {
    flex: none;
    width: 100%;
    margin-bottom: var(--spacing-xl);
  }
  
  .hero-visual {
    flex: none;
    width: 100%;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-subtitle {
    margin: 0 auto var(--spacing-xl);
  }
  
  .value-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
  }
  
  .product-overview {
    flex-direction: column;
  }
  
  .product-image, .product-info {
    flex: none;
    width: 100%;
  }
  
  .product-image {
    margin-bottom: var(--spacing-xl);
  }
  
  .demo-panel.active {
    flex-direction: column;
  }
  
  .demo-input, .demo-result {
    flex: none;
    width: 100%;
  }
  
  .demo-input {
    margin-bottom: var(--spacing-lg);
  }
  
  .scenario-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
  }
  
  .footer-col:first-child {
    grid-column: span 3;
    margin-bottom: var(--spacing-lg);
  }
  
  /* 增强科技感响应 */
  .grid-bg {
    background-size: 30px 30px;
  }
  
  .hero-shape-3 {
    display: none;
  }
  
  .glow-effect {
    width: 250px;
    height: 250px;
  }
}

/* 平板样式调整 (576px ~ 767px) */
@media (max-width: 767px) {
  :root {
    --container-width: 540px;
    --header-height: 64px;
  }
  
  .header-inner {
    position: relative;
  }
  
  .main-nav {
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: var(--bg-dark, #121212);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
    z-index: 1000;
  }
  
  .main-nav.open {
    max-height: 300px;
  }
  
  .nav-links {
    flex-direction: column;
    padding: var(--spacing-md) 0;
  }
  
  .nav-link {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-lg);
    text-align: center;
    margin: 0;
  }
  
  .nav-link:after {
    display: none;
  }
  
  .header-actions {
    display: none;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -8px);
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-subtitle {
    font-size: 1.1rem;
  }
  
  .value-cards {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .feature-list {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .scenario-cards {
    grid-template-columns: 1fr;
  }
  
  .scenario-filter {
    flex-direction: column;
    align-items: center;
  }
  
  .filter-group {
    margin-bottom: var(--spacing-sm);
    justify-content: center;
  }
  
  .case-card {
    flex-direction: column;
  }
  
  .case-logo {
    padding: var(--spacing-lg);
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-col:first-child {
    grid-column: span 2;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--spacing-md);
    text-align: center;
  }
  
  /* 增强科技感响应 */
  .feature-section,
  .product-overview,
  .hero-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  
  .grid-bg {
    background-size: 20px 20px;
    opacity: 0.3;
  }
  
  .hero-shape-1,
  .hero-shape-2 {
    display: none;
  }
  
  .glow-effect {
    width: 150px;
    height: 150px;
  }
  
  .stats-row {
    flex-wrap: wrap;
  }
  
  .stat-item {
    flex: 0 0 50%;
    margin-bottom: var(--spacing-md);
  }
  
  .tab-navigation {
    flex-wrap: wrap;
  }
  
  .tab-navigation .tab {
    flex: 0 0 calc(50% - 10px);
    margin-bottom: 10px;
  }
  
  /* 卡片响应式调整 */
  .advantage-card,
  .pricing-card,
  .testimonial-card,
  .scenario-card {
    padding: var(--spacing-md);
  }
  
  .advantage-card {
    flex: 0 0 100%;
  }
  
  .advantages-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* 手机样式调整 (575px以下) */
@media (max-width: 575px) {
  .container {
    padding: 0 var(--spacing-md);
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .tab-headers {
    flex-direction: column;
  }
  
  .tab-btn {
    border-bottom: 1px solid var(--border-color);
  }
  
  .demo-tabs {
    overflow-x: auto;
    white-space: nowrap;
    justify-content: flex-start;
    padding-bottom: 5px;
  }
  
  .demo-tab {
    flex-shrink: 0;
  }
  
  .comparison-header, .comparison-row {
    flex-direction: column;
  }
  
  .comp-cell {
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
  }
  
  .comparison-row:last-child .comp-cell:last-child {
    border-bottom: none;
  }
  
  .cta-content h2 {
    font-size: 1.8rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  
  .cta-buttons .btn {
    width: 100%;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-col:first-child {
    grid-column: span 1;
  }
  
  .case-results {
    flex-direction: column;
  }
  
  .result-item {
    display: block;
    margin-bottom: var(--spacing-sm);
  }
  
  .back-to-top {
    right: 1rem;
    bottom: 1rem;
    width: 40px;
    height: 40px;
  }
  
  /* 输入框调整 */
  .input-group {
    flex-direction: column;
  }
  
  .input-group .demo-input,
  .input-group .demo-select {
    margin-bottom: 10px;
  }
  
  .input-group .btn {
    width: 100%;
  }
  
  /* 增强科技感响应 */
  .advantages-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-plans {
    flex-direction: column;
  }
  
  .pricing-card {
    width: 100%;
    margin-bottom: var(--spacing-lg);
  }
  
  .hero-animation {
    height: 250px;
  }
  
  .tab-navigation .tab {
    flex: 0 0 100%;
  }
  
  .stats-row {
    justify-content: space-between;
  }
  
  .stat-item {
    flex: 0 0 48%;
  }
}