/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;700&family=Poppins:wght@600;700&display=swap');

:root {
    --primary: #2b85e4; /* 科技蓝 */
    --primary-dark: #1a6bb8;
    --accent: #00c853; /* 鲜绿 */
    --dark: #333333;
    --gray: #666666;
    --light-bg: #f4f9ff;
    --white: #ffffff;
    --font-main: 'Noto Sans SC', sans-serif;
    --font-heading: 'Poppins', 'Noto Sans SC', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-main);
    color: var(--dark);
    line-height: 1.7;
    background-color: var(--white);
}

a { text-decoration: none; transition: 0.3s; }
ul { list-style: none; }

/* --- 导航栏 --- */
.navbar {
    background: var(--white);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
}
.logo span { color: var(--dark); margin-left: 5px; }

.nav-links { display: flex; gap: 30px; }
.nav-links a {
    font-weight: 500;
    color: var(--gray);
    font-size: 16px;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.btn-download-nav {
    background: var(--primary);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 20px;
}
.btn-download-nav:hover { background: var(--primary-dark); }

/* --- 通用排版 --- */
h1, h2, h3 { font-family: var(--font-heading); color: var(--dark); }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
.text-center { text-align: center; }
.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, #6dd5fa 40%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- 按钮 --- */
.btn {
    display: inline-block;
    padding: 12px 35px;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    font-size: 16px;
}
.btn-primary {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 200, 83, 0.3);
}
.btn-primary:hover { transform: translateY(-2px); background: #00e676; }
.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    margin-left: 15px;
}
.btn-outline:hover { background: var(--white); color: var(--primary); }

/* --- 首页 Hero 区域 --- */
.hero {
    background: linear-gradient(120deg, var(--primary) 0%, #4a90e2 100%);
    color: var(--white);
    padding: 140px 0 80px; /* 顶部留出导航栏空间 */
    position: relative;
    overflow: hidden;
}
/* 背景装饰圆点 */
.hero::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero-text { flex: 1; padding-right: 50px; }
.hero-text h1 { font-size: 42px; margin-bottom: 20px; line-height: 1.2; color: var(--white); }
.hero-text p { font-size: 18px; margin-bottom: 30px; opacity: 0.9; }
.hero-badges span {
    background: rgba(255,255,255,0.2);
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 14px;
    margin-right: 10px;
}

.hero-image {
    flex: 1;
    text-align: center;
}
.hero-image img {
    max-width: 100%;
    height: auto;
    /* 简单的浮起动画 */
    animation: float 4s ease-in-out infinite;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.2));
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* --- 首页功能网格 --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s;
    border-bottom: 4px solid transparent;
}
.feature-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--primary);
}
.icon-box {
    width: 70px; height: 70px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary);
    font-size: 30px;
}

/* --- 优势页表格 --- */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-radius: 10px;
    overflow: hidden;
}
.comparison-table th, .comparison-table td {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
}
.comparison-table th {
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
}
.comparison-table tr:nth-child(even) { background-color: #f8fbff; }
.check { color: var(--accent); font-weight: bold; }
.cross { color: #ff4d4d; }

/* --- 下载页卡片 --- */
.download-cards {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 50px;
}
.d-card {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 40px;
    width: 400px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}
.d-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}
.badge-pro {
    position: absolute;
    top: -15px; left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 5px 20px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: bold;
}
.d-price { font-size: 32px; font-weight: 700; color: var(--dark); margin: 20px 0; }
.d-features-list { text-align: left; margin: 20px 0; }
.d-features-list li { margin-bottom: 15px; color: var(--gray); }
.d-features-list i { color: var(--accent); margin-right: 10px; }

/* --- 页脚 --- */
footer {
    background: #222;
    color: #999;
    padding: 50px 0;
    text-align: center;
    font-size: 14px;
}
footer p { margin-top: 20px; }