/* 全局变量定义 */
:root {
    --bg-dark: #0a0e17;
    --bg-card: rgba(22, 28, 45, 0.7);
    --border-card: rgba(255, 255, 255, 0.08);
    --primary: #0088cc;
    --primary-gradient: linear-gradient(135deg, #0088cc 0%, #00d2ff 100%);
    --accent: #6c5ce7;
    --text-main: #ffffff;
    --text-muted: #8e9aaf;
    --max-width: 1200px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* 背景微光模糊效果 */
.glow-bg {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 136, 204, 0.25) 0%, rgba(108, 92, 231, 0.15) 50%, rgba(10, 14, 236, 0) 80%);
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}

/* 导航栏 */
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 72px;
    background: rgba(10, 14, 23, 0.75);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-card);
    z-index: 1000;
    display: flex;
    justify-content: center;
}

.nav-container {
    width: 100%;
    max-width: var(--max-width);
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--primary-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--text-main);
}

.btn-download-sm {
    background: var(--primary-gradient);
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-download-sm:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0, 136, 204, 0.4);
}

/* Hero 区域 */
.hero {
    position: relative;
    padding: 160px 24px 0px;
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
    z-index: 1;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 136, 204, 0.12);
    border: 1px solid rgba(0, 136, 204, 0.3);
    color: #00d2ff;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    background: linear-gradient(180deg, #FFFFFF 0%, #A0AEC0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto 40px;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--primary-gradient);
    color: #fff;
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0, 136, 204, 0.3);
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 136, 204, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-card);
    color: var(--text-main);
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Mockup 展示区 */
.hero-mockup {
    margin-top: 60px;
    position: relative;
    display: flex;
    justify-content: center;
}

.mockup-card {
    width: 100%;
    max-width: 900px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.phone-wrap {
  width: 100%;
  height: 460px;
  display: flex;
  justify-content: center;
}

.phone-screen {
  object-fit: cover;
  z-index: -1;
}

/* 特性区 (Grid) */
.features {
    padding: 100px 24px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 16px;
}

.grid-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    padding: 32px;
    border-radius: 16px;
    transition: transform 0.3s, border-color 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 136, 204, 0.4);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 136, 204, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #00d2ff;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

/* 页脚 */
footer {
    border-top: 1px solid var(--border-card);
    padding: 60px 24px 30px;
    background: #06090f;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 16px;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-column h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--text-main);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: var(--text-main);
}

.copyright {
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    max-width: var(--max-width);
    margin: 0 auto;
}


/* 移动端响应式 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 15px;
    }

    .mockup-card {
        height: 300px;
    }

    .footer-container {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}