/* ========== 首页专属样式 ========== */

/* Hero Section */
.hero-section {
    position: relative; height: 100vh; min-height: 600px;
    background: linear-gradient(135deg, #0a1628 0%, #1B3A5C 50%, #0d2040 100%);
    display: flex; align-items: center; justify-content: center;
    text-align: center; color: var(--white); overflow: hidden;
}
.hero-bg-image {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: url('../images/hero-bg.webp') center center / cover no-repeat; z-index: 0;
}
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(27,58,92,0.65) 0%, rgba(10,22,40,0.50) 40%, rgba(200,16,46,0.25) 100%);
    z-index: 3;
}
#particleCanvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 4; }
.hero-content { position: relative; z-index: 6; max-width: 1200px; width: 90%; padding: 0 24px; }
.hero-title {
    font-size: 3.5em; margin-bottom: 20px;
    background: linear-gradient(90deg, #fff, #ffd);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-subtitle { font-size: 1.3em; color: rgba(255,255,255,0.8); margin-bottom: 40px; line-height: 1.8; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; margin-top: 32px; }

/* Stats Bar */
.hero-stats {
    position: absolute; bottom: 0; left: 0; right: 0; z-index: 5;
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: rgba(0,0,0,0.35); backdrop-filter: blur(8px); padding: 24px 0;
}
.stat-item { text-align: center; }
.stat-number { font-size: 2.5em; font-weight: 900; color: #fff; display: inline; font-family: "Microsoft YaHei", sans-serif; }
.stat-suffix { font-size: 1.5em; font-weight: 700; color: var(--red); font-family: "Microsoft YaHei", sans-serif; }
.stat-label { display: block; font-size: 0.85em; color: rgba(255,255,255,0.7); margin-top: 4px; }

/* Entry Cards - Two Big Buttons to subpages */
.entry-section { padding: 80px 0; background: var(--light-gray); }
.entry-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; max-width: 1200px; margin: 0 auto; }
.entry-card {
    position: relative; background: #fff; border-radius: 16px; padding: 48px 36px;
    text-align: center; box-shadow: var(--shadow); transition: var(--transition);
    overflow: hidden; display: block;
}
.entry-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.entry-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
}
.entry-card.card-products::before { background: var(--navy); }
.entry-card.card-ai-edu::before { background: var(--red); }
.entry-icon { font-size: 3.5em; margin-bottom: 20px; display: block; }
.entry-card h3 { font-size: 1.6em; color: var(--dark); margin-bottom: 12px; }
.entry-card p { color: var(--gray); font-size: 1em; line-height: 1.7; margin-bottom: 24px; }
.entry-arrow {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--red); font-weight: 600; font-size: 0.95em;
}
.entry-arrow span { transition: var(--transition); }
.entry-card:hover .entry-arrow span { transform: translateX(6px); }

/* Trust Signals */
.trust-section { padding: 60px 0; }
.trust-grid { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.trust-item { text-align: center; min-width: 200px; }
.trust-icon { font-size: 2.5em; margin-bottom: 8px; }
.trust-item h4 { font-size: 1em; color: var(--dark); margin-bottom: 4px; }
.trust-item p { font-size: 0.85em; color: var(--gray); }

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--navy), #0d2040);
    padding: 64px 0; text-align: center; color: #fff;
}
.cta-banner h2 { font-size: 2em; margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.7); font-size: 1.1em; margin-bottom: 32px; }

/* Mobile */
@media (max-width: 768px) {
    .entry-grid { grid-template-columns: 1fr; max-width: 400px; }
    .hero-title { font-size: 2.2em; }
    .hero-subtitle { font-size: 1em; }
    .trust-grid { gap: 24px; }
}
/* Wide screen hero title boost */
@media (min-width: 1600px) {
    .hero-title { font-size: 4.5em !important; }
    .hero-subtitle { font-size: 1.5em !important; }
}
