:root {
    --brand-gradient: linear-gradient(135deg, #ff85b3 0%, #a385ff 100%);
    --primary: #8e66ff;
    --bg: #f9f8ff;
    --text: #2d2d3a;
    --text-light: #7a7a9d;
    --card-bg: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.8;
    font-family: -apple-system, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; width: 100%; }

a { text-decoration: none; color: inherit; transition: 0.3s; }

header {
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(163, 133, 255, 0.1);
}

nav { display: flex; justify-content: space-between; align-items: center; }

.logo-box { display: flex; align-items: center; gap: 12px; }

.logo-img { height: 40px; width: 40px; border-radius: 8px; }

.logo-text {
    font-weight: 900;
    font-size: 1.5rem;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links a { margin-left: 25px; color: var(--text-light); font-weight: 500; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); font-weight: 700; }

.hero { padding: 100px 0 60px; text-align: center; }
.hero h1 { font-size: 4.2rem; margin-bottom: 25px; line-height: 1.1; font-weight: 900; }
.hero h1 span {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p { font-size: 1.3rem; color: var(--text-light); max-width: 800px; margin: 0 auto 40px; }

.page-hero { padding: 80px 0 40px; text-align: center; }
.page-hero h1 { font-size: 3rem; margin-bottom: 15px; font-weight: 900; }
.page-hero h1 span {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.page-hero p { color: var(--text-light); font-size: 1.2rem; max-width: 700px; margin: 0 auto; }

.btn {
    padding: 18px 48px;
    border-radius: 14px;
    font-weight: 700;
    display: inline-block;
    cursor: pointer;
    border: none;
}

.btn-p {
    background: var(--brand-gradient);
    color: #fff;
    box-shadow: 0 10px 30px rgba(163, 133, 255, 0.3);
}

.btn-p:hover { opacity: 0.92; transform: translateY(-2px); }

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    padding: 60px 0;
}

.tech-item {
    background: #fff;
    padding: 35px;
    border-radius: 24px;
    border: 1px solid rgba(163, 133, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.tech-item h3 { color: var(--primary); margin-bottom: 12px; }

.dl-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.dl-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 24px;
    border: 1px solid rgba(163, 133, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dl-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(163, 133, 255, 0.15);
    border-color: rgba(163, 133, 255, 0.3);
}

.dl-card.recommended::before {
    content: "推荐";
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--brand-gradient);
    color: white;
    padding: 4px 40px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 700;
}

.os-icon { font-size: 3.5rem; margin-bottom: 20px; display: block; }
.dl-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.dl-card p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 25px; min-height: 50px; }

.btn-dl {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 12px;
    font-weight: 700;
    background: var(--brand-gradient);
    color: #fff;
    box-shadow: 0 8px 20px rgba(163, 133, 255, 0.25);
    width: 100%;
}

.btn-dl:hover { opacity: 0.9; transform: scale(1.02); }

.btn-dl.secondary {
    background: transparent;
    border: 2px solid rgba(142, 102, 255, 0.2);
    color: var(--primary);
    box-shadow: none;
    margin-top: 10px;
}

.btn-dl.secondary:hover {
    border-color: var(--primary);
    background: rgba(142, 102, 255, 0.05);
}

.info-section {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 60px;
    border: 1px solid rgba(163, 133, 255, 0.05);
}

.info-section h2 { font-size: 1.8rem; margin-bottom: 20px; color: var(--primary); }

.info-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.info-list li {
    padding: 12px 15px;
    background: var(--bg);
    border-radius: 12px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-list li::before { content: "✓"; color: var(--primary); font-weight: 900; }

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    padding: 40px 0 60px;
}

.article-card {
    background: #fff;
    border-radius: 20px;
    padding: 28px;
    border: 1px solid rgba(163, 133, 255, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s, box-shadow 0.3s;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(163, 133, 255, 0.12);
}

.article-card .tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(142, 102, 255, 0.1);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.article-card h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--text); }
.article-card p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 16px; }
.article-card .read-more { color: var(--primary); font-weight: 600; font-size: 0.9rem; }

.article-content {
    max-width: 820px;
    margin: 0 auto 80px;
    background: #fff;
    padding: 48px;
    border-radius: 24px;
    border: 1px solid rgba(163, 133, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.article-content h2 {
    font-size: 1.5rem;
    color: var(--primary);
    margin: 32px 0 16px;
}

.article-content h2:first-of-type { margin-top: 0; }

.article-content p { margin-bottom: 16px; color: var(--text-light); }

.article-content ul, .article-content ol {
    margin: 0 0 16px 24px;
    color: var(--text-light);
}

.article-content li { margin-bottom: 8px; }

.article-meta {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(163, 133, 255, 0.1);
}

.daily-update-box {
    background: linear-gradient(135deg, rgba(255, 133, 179, 0.08) 0%, rgba(163, 133, 255, 0.08) 100%);
    border: 1px solid rgba(163, 133, 255, 0.15);
    border-radius: 20px;
    padding: 28px 32px;
    margin: 40px 0 60px;
}

.daily-update-box .daily-label {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    background: var(--brand-gradient);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.daily-update-box h3 { font-size: 1.15rem; margin-bottom: 10px; }
.daily-update-box p { color: var(--text-light); font-size: 0.95rem; }

footer {
    padding: 60px 0;
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    border-top: 1px solid rgba(163, 133, 255, 0.05);
}

footer a { color: var(--primary); }
footer a:hover { text-decoration: underline; }

@media (max-width: 768px) {
    .hero h1, .page-hero h1 { font-size: 2.2rem; }
    .nav-links { display: none; }
    .article-content { padding: 28px 20px; }
}
