/* 全局样式 */
body {
    min-height: 1024px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 确保移动设备上按钮有足够的点击区域 */
button, 
.button,
[role="button"],
a {
    touch-action: manipulation;
}

/* 修复iOS上输入框样式 */
input,
textarea,
select {
    -webkit-appearance: none;
    border-radius: 0;
}

/* 背景渐变 */
.hero-bg {
    background: linear-gradient(rgba(52, 171, 224, 0.1), rgba(52, 171, 224, 0.05));
}

/* 导航链接样式 */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #34ABE0;
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

/* 功能卡片样式 */
.feature-card {
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-3px);
}

/* 下载标签样式 */
.download-tab {
    transition: all 0.3s;
}

.download-tab.active {
    background-color: #34ABE0;
    color: white;
}

/* 移除数字输入框的箭头 */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
    }
    
    .hero-section > div {
        width: 100% !important;
        padding-right: 0 !important;
        margin-bottom: 2rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr !important;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr !important;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 2rem !important;
    }
    
    .download-section > div {
        flex-direction: column;
    }
    
    .download-section > div > div {
        width: 100% !important;
        padding-right: 0 !important;
        margin-bottom: 2rem;
    }
    
    .glide__slide {
        width: 100% !important;
    }
    
    /* 定价部分响应式优化 */
    .pricing-grid > div {
        width: 100% !important;
        margin-bottom: 1.5rem;
    }
    
    .download-tab {
        padding: 0.5rem 1rem !important;
        font-size: 0.9rem;
    }
    
    .flex.justify-center.space-x-4 {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
}

@media (max-width: 640px) {
    .pricing-grid ul li {
        font-size: 0.9rem;
    }
    
    .pricing-grid h3 {
        font-size: 1.25rem !important;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr !important;
    }
    
    h1 {
        font-size: 2rem !important;
    }
    
    h2 {
        font-size: 1.5rem !important;
    }
    
    .pricing-grid > div {
        padding: 1.25rem !important;
    }
    
    .pricing-grid ul {
        margin-bottom: 1rem !important;
    }
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #34ABE0;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2d96c4;
} 