/* style.css - 主样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #F5F7FC;
    color: #1A202C;
    line-height: 1.5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #E2E8F0;
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0A2B4E;
}

.logo i {
    color: #2C7DA0;
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #4A5568;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #2C7DA0;
}

.btn-outline {
    padding: 8px 20px;
    border: 1px solid #2C7DA0;
    border-radius: 4px;
    color: #2C7DA0 !important;
    transition: all 0.2s;
}

.btn-outline:hover {
    background: #2C7DA0;
    color: white !important;
}

.btn-primary {
    padding: 8px 20px;
    background: #2C7DA0;
    border-radius: 4px;
    color: white !important;
    transition: all 0.2s;
}

.btn-primary:hover {
    background: #1E5A78;
    transform: scale(0.98);
}

/* Hero区域 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0A2B4E 0%, #1E3A5F 100%);
}

#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.highlight {
    color: #2C7DA0;
    position: relative;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 30px;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    background: #2C7DA0;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-hero-primary:hover {
    background: #1E5A78;
    transform: scale(0.98);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    background: transparent;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.2s;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* 特性区域 */
.features {
    padding: 80px 0;
    background: #F5F7FC;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2rem;
    color: #0A2B4E;
    margin-bottom: 10px;
}

.section-header p {
    color: #4A5568;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 4px;
    border: 1px solid #E2E8F0;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: #0A2B4E;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 28px;
    color: #2C7DA0;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #0A2B4E;
}

.feature-card p {
    color: #4A5568;
    line-height: 1.6;
}

/* 价格区域 */
.pricing {
    padding: 80px 0;
    background: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pricing-card {
    background: #F5F7FC;
    border: 1px solid #E2E8F0;
    border-radius: 4px;
    padding: 30px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.pricing-card.featured {
    border: 2px solid #2C7DA0;
    transform: scale(1.02);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #2C7DA0;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.5rem;
    color: #0A2B4E;
    margin-bottom: 20px;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0A2B4E;
    margin-bottom: 20px;
}

.price span {
    font-size: 1rem;
    color: #4A5568;
    font-weight: normal;
}

.features-list {
    list-style: none;
    margin: 20px 0;
    text-align: left;
}

.features-list li {
    padding: 8px 0;
    color: #4A5568;
}

.features-list li i {
    width: 24px;
    color: #2C7DA0;
    margin-right: 10px;
}

.btn-pricing, .btn-pricing-primary {
    display: inline-block;
    width: 100%;
    padding: 12px;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s;
    font-weight: 600;
}

.btn-pricing {
    background: transparent;
    border: 1px solid #2C7DA0;
    color: #2C7DA0;
}

.btn-pricing:hover {
    background: #2C7DA0;
    color: white;
}

.btn-pricing-primary {
    background: #2C7DA0;
    color: white;
}

.btn-pricing-primary:hover {
    background: #1E5A78;
    transform: scale(0.98);
}

/* 页脚 */
.footer {
    background: #0A2B4E;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand i {
    font-size: 2rem;
    color: #2C7DA0;
    margin-bottom: 10px;
}

.footer-brand span {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-column h4 {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: #2C7DA0;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .features-grid, .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}