/* ========== 基础重置 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background: #f8f9fb;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

/* ========== 顶部导航 ========== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #e5e7eb;
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
}

.logo-icon { font-size: 24px; }

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-menu a {
    color: #6b7280;
    font-size: 14px;
    transition: color 0.2s;
}

.nav-menu a:hover { color: #ff6b1a; }

.nav-cta {
    padding: 8px 20px;
    background: linear-gradient(135deg, #ff8a3d 0%, #ff6b1a 100%);
    color: #fff !important;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 6px rgba(255, 107, 26, 0.25);
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 26, 0.35);
}

/* ========== Hero 横幅 ========== */
.hero {
    position: relative;
    padding: 60px 0 70px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(255, 138, 61, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(255, 107, 26, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, #ffffff 0%, #f8f9fb 100%);
    z-index: -1;
}

.hero-inner { position: relative; }

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-text { text-align: left; }

.hero-badge {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(255, 138, 61, 0.1);
    border: 1px solid rgba(255, 138, 61, 0.3);
    color: #ff6b1a;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    color: #111827;
    line-height: 1.1;
    margin-bottom: 14px;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #111827 0%, #ff6b1a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 20px;
    color: #374151;
    margin-bottom: 14px;
    font-weight: 500;
}

.hero-desc {
    font-size: 15px;
    color: #6b7280;
    margin-bottom: 28px;
    line-height: 1.7;
}

/* Hero 截图展示 */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-screenshot-frame {
    position: relative;
    width: 100%;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.hero-screenshot-frame:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.hero-screenshot {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    background: #fff;
}

.hero-downloads {
    display: flex;
    gap: 12px;
    flex-direction: column;
    margin-bottom: 28px;
}

.dl-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 20px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    color: #1f2937;
    transition: all 0.25s;
    overflow: hidden;
}

.dl-btn::after {
    content: '↓';
    font-size: 18px;
    color: #9ca3af;
    transition: transform 0.2s, color 0.2s;
}

.dl-btn:hover {
    transform: translateX(4px);
    background: #fafafa;
    border-color: #d1d5db;
}

.dl-btn:hover::after {
    transform: translateY(2px);
    color: #ff6b1a;
}

.dl-info { display: flex; flex-direction: column; align-items: flex-start; }

.dl-label { font-size: 15px; font-weight: 600; }
.dl-hint { font-size: 12px; color: #9ca3af; margin-top: 2px; }

/* 夸克 - 推荐样式 */
.dl-btn.recommended {
    background: linear-gradient(135deg, rgba(255, 138, 61, 0.1) 0%, rgba(255, 107, 26, 0.05) 100%);
    border-color: rgba(255, 107, 26, 0.5);
}

.dl-btn.recommended::after {
    color: #ff6b1a;
    font-weight: 700;
}

.dl-btn.recommended:hover {
    background: linear-gradient(135deg, rgba(255, 138, 61, 0.15) 0%, rgba(255, 107, 26, 0.08) 100%);
    border-color: rgba(255, 107, 26, 0.8);
}

.recommended-tag {
    position: absolute;
    top: 0;
    right: 0;
    padding: 3px 10px;
    background: linear-gradient(135deg, #ff8a3d 0%, #ff6b1a 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 0 10px 0 10px;
    letter-spacing: 0.5px;
    z-index: 2;
}

.dl-btn.recommended .dl-hint { color: #ff8a3d; }
.dl-btn.recommended .dl-label { color: #1f2937; }

.hero-stats {
    display: flex;
    gap: 36px;
    flex-wrap: wrap;
}

.stat-item { text-align: left; }
.stat-num {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: #ff6b1a;
    line-height: 1;
}
.stat-label { font-size: 13px; color: #6b7280; margin-top: 6px; }

/* ========== 通用 Section ========== */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    color: #111827;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-title.light { color: #fff; }

.section-lead {
    text-align: center;
    color: #6b7280;
    font-size: 16px;
    margin-bottom: 56px;
}

.section-lead.light { color: rgba(255, 255, 255, 0.85); }

.section-lead strong { color: #ff6b1a; font-weight: 600; }

/* ========== 软件介绍 ========== */
.intro { background: #ffffff; }

.intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.intro-card {
    padding: 32px 24px;
    background: #f8f9fb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.intro-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, #ff8a3d, #ff6b1a);
    transition: height 0.3s;
}

.intro-card:hover {
    border-color: rgba(255, 107, 26, 0.3);
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.intro-card:hover::before { height: 100%; }

.intro-num {
    font-size: 14px;
    color: #ff6b1a;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.intro-card h3 {
    font-size: 20px;
    color: #111827;
    margin-bottom: 12px;
    font-weight: 600;
}

.intro-card p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.7;
}

/* ========== 核心特点 ========== */
.features { background: #f8f9fb; }

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

.feature-item {
    padding: 28px 24px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.3s;
}

.feature-item:hover {
    border-color: rgba(255, 107, 26, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    font-size: 36px;
    margin-bottom: 16px;
    display: inline-block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 138, 61, 0.12), rgba(255, 107, 26, 0.06));
    border-radius: 12px;
}

.feature-item h3 {
    font-size: 18px;
    color: #111827;
    margin-bottom: 10px;
    font-weight: 600;
}

.feature-item p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.7;
}

/* ========== 功能模块 ========== */
.modules { background: #ffffff; }

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 14px;
}

.module-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 24px 12px;
    background: #f8f9fb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    text-align: center;
    color: #374151;
    font-size: 14px;
    transition: all 0.25s;
    cursor: default;
}

.module-card:hover {
    background: #ffffff;
    border-color: rgba(255, 107, 26, 0.4);
    color: #ff6b1a;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.module-icon {
    font-size: 28px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 138, 61, 0.15), rgba(255, 107, 26, 0.08));
    border-radius: 10px;
}

/* ========== 软件截图 ========== */
/* 截图已在 Hero 区展示 */

/* ========== 下载区 ========== */
.download {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(255, 138, 61, 0.08) 0%, transparent 60%),
        #ffffff;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.dl-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 24px;
    background: #f8f9fb;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.dl-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 138, 61, 0.08), transparent);
    transition: left 0.5s;
}

.dl-card:hover::before { left: 100%; }

.dl-card:hover {
    border-color: rgba(255, 107, 26, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.dl-card-icon {
    font-size: 48px;
    margin-bottom: 16px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff8a3d 0%, #ff6b1a 100%);
    border-radius: 16px;
}

.dl-card h3 {
    font-size: 22px;
    color: #111827;
    margin-bottom: 8px;
    font-weight: 700;
}

.dl-card p {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 20px;
}

.dl-card p strong { color: #ff6b1a; }

.dl-card-btn {
    display: inline-block;
    padding: 10px 28px;
    background: linear-gradient(135deg, #ff8a3d 0%, #ff6b1a 100%);
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.2s;
}

.dl-card:hover .dl-card-btn { transform: scale(1.05); }

.download-tips {
    text-align: center;
    color: #6b7280;
    font-size: 14px;
    padding: 16px;
    background: rgba(255, 138, 61, 0.06);
    border-radius: 8px;
    border-left: 3px solid #ff6b1a;
}

/* ========== 使用须知 ========== */
.notice { background: #f8f9fb; }

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

.notice-block {
    padding: 28px 24px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.notice-block h3 {
    font-size: 18px;
    color: #111827;
    margin-bottom: 18px;
    font-weight: 600;
}

.notice-block ul li {
    position: relative;
    padding: 8px 0 8px 22px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.7;
    border-bottom: 1px dashed #e5e7eb;
}

.notice-block ul li:last-child { border-bottom: none; }

.notice-block ul li::before {
    content: '▸';
    position: absolute;
    left: 4px;
    color: #ff6b1a;
    font-weight: 700;
}

.notice-block strong { color: #ff6b1a; font-weight: 600; }

/* ========== 常见问题 ========== */
.faq { background: #ffffff; }

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    padding: 20px 24px;
    background: #f8f9fb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    transition: all 0.25s;
}

.faq-item:hover {
    border-color: rgba(255, 107, 26, 0.3);
    background: #ffffff;
}

.faq-item h3 {
    font-size: 16px;
    color: #111827;
    margin-bottom: 10px;
    font-weight: 600;
}

.faq-item p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.7;
}

/* ========== 行动召唤 CTA ========== */
.cta {
    padding: 80px 0;
    background:
        radial-gradient(ellipse at center, rgba(255, 138, 61, 0.15) 0%, transparent 70%),
        linear-gradient(135deg, #ff8a3d 0%, #ff6b1a 100%);
    text-align: center;
    position: relative;
}

.cta-inner { position: relative; z-index: 1; }

.cta h2 {
    font-size: 36px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 32px;
}

.cta-btn {
    display: inline-block;
    padding: 16px 48px;
    background: #fff;
    color: #ff6b1a;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.25s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* ========== 页脚 ========== */
.site-footer {
    padding: 40px 0;
    background: #1f2937;
    border-top: 1px solid #374151;
    text-align: center;
}

.site-footer p {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 6px;
}

.footer-tip { font-size: 12px !important; color: #6b7280 !important; }

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
    .hero-grid { gap: 32px; }
    .hero-title { font-size: 44px; }
}

@media (max-width: 768px) {
    .nav-menu { display: none; }
    .hero { padding: 40px 0 50px; }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .hero-text { text-align: center; }
    .hero-title { font-size: 36px; }
    .hero-subtitle { font-size: 18px; }
    .hero-desc { font-size: 14px; }
    .hero-stats { justify-content: center; gap: 28px; }
    .stat-item { text-align: center; }
    .stat-num { font-size: 28px; }
    .section { padding: 60px 0; }
    .section-title { font-size: 28px; }
    .section-lead { font-size: 14px; margin-bottom: 40px; }
    .dl-btn:hover { transform: translateY(-2px); }
    .cta h2 { font-size: 26px; }
    .cta p { font-size: 15px; }
    .cta-btn { padding: 14px 36px; font-size: 16px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-title { font-size: 30px; }
    .hero-badge { font-size: 12px; padding: 5px 14px; }
    .modules-grid { grid-template-columns: repeat(2, 1fr); }
    .intro-grid, .feature-list, .download-grid, .notice-wrap { grid-template-columns: 1fr; }
}
