/* ============================================
   中芳堂美业AI智能体系统 V4.0 - 门户首页专用样式
   文件: css/homepage.css
   ============================================ */

/* ---------- 首页Hero区域 ---------- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 80px 20px;
}

.hero-bg-canvas {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 20px;
    background: rgba(0, 245, 255, 0.08);
    border: 1px solid rgba(0, 245, 255, 0.25);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--neon-cyan);
    letter-spacing: 2px;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.2;
    background: linear-gradient(135deg, #fff 20%, var(--neon-cyan) 50%, var(--neon-purple) 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out 0.15s both;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.45s both;
}

/* ---------- AI能力卡片网格 ---------- */
.ai-capabilities {
    padding: 100px 20px;
    max-width: 1280px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    color: var(--neon-purple);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
}

.capability-card {
    padding: 36px 28px;
    text-align: center;
}

.capability-icon {
    width: 72px; height: 72px;
    margin: 0 auto 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: linear-gradient(135deg, rgba(0,245,255,0.12) 0%, rgba(168,85,247,0.12) 100%);
    border: 1px solid rgba(0, 245, 255, 0.15);
}

.capability-card:nth-child(1) .capability-icon { box-shadow: 0 0 25px rgba(0,245,255,0.2); }
.capability-card:nth-child(2) .capability-icon { box-shadow: 0 0 25px rgba(168,85,247,0.2); }
.capability-card:nth-child(3) .capability-icon { box-shadow: 0 0 25px rgba(236,72,153,0.2); }
.capability-card:nth-child(4) .capability-icon { box-shadow: 0 0 25px rgba(245,158,11,0.2); }
.capability-card:nth-child(5) .capability-icon { box-shadow: 0 0 25px rgba(16,185,129,0.2); }

.capability-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.capability-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ---------- 实时数据看板 ---------- */
.live-dashboard {
    padding: 60px 20px 100px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.stat-item {
    padding: 28px 22px;
    text-align: center;
}

.stat-value {
    font-size: 2.2rem;
    font-weight: 800;
    font-family: var(--font-mono);
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

/* ---------- 导航栏 ---------- */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 14px 30px;
    background: rgba(5, 10, 31, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 245, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(5, 10, 31, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-icon {
    width: 36px; height: 36px;
    background: var(--gradient-main);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; width: 0;
    height: 2px;
    background: var(--gradient-btn);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--neon-cyan);
}
.nav-links a:hover::after { width: 100%; }

/* ---------- 门店信息区 ---------- */
.store-info-section {
    padding: 80px 20px;
    text-align: center;
}

.store-card {
    max-width: 700px;
    margin: 0 auto;
    padding: 48px 36px;
}

.store-name {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.store-address {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1rem;
}

.store-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--neon-cyan);
    font-size: 1.05rem;
    font-weight: 600;
}

/* ---------- 页脚 ---------- */
.footer {
    padding: 40px 20px;
    border-top: 1px solid rgba(0, 245, 255, 0.08);
    text-align: center;
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* ---------- 响应式 ---------- */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-section { min-height: auto; padding: 120px 16px 60px; }
}
