/*
 * 星火启元子站共享样式 - 暗色科技风 + 人文温度
 * ai / health / elderly / ask / dot 共用
 * 各子站通过 :root 变量覆盖主题色
 */

@import '../shared/design-tokens.css';
@import '../shared/dark-base.css';

/* spark1 子站靛蓝紫调色板 */
:root {
    --c-primary: #6366f1;
    --c-secondary: #8b5cf6;
    --c-accent: #06b6d4;
    --c-accent-warm: #f59e0b;
    --c-glow: rgba(99, 102, 241, 0.4);
    --grad-text: linear-gradient(135deg, #818cf8 0%, #c084fc 50%, #22d3ee 100%);
    --grad-btn: linear-gradient(135deg, var(--c-primary) 0%, var(--c-secondary) 100%);
    --grad-card-border: linear-gradient(135deg, rgba(99,102,241,0.5), rgba(139,92,246,0.5), rgba(6,182,212,0.5));
    --shadow-glow: 0 0 30px var(--c-glow);
    --shadow-btn: 0 4px 15px rgba(99,102,241,0.4);
}

/* Hero */
.hero {
    color: white;
    text-align: center;
    padding: 5rem 0 4rem;
    background: transparent;
    position: relative;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 40%, #a5b4fc 70%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: #94a3b8;
    line-height: 1.8;
}

/* 服务区域 */
.services { padding: 4rem 0; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* 毛玻璃卡片 */
.service-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--grad-card-border);
    opacity: 0;
    transition: opacity 0.4s;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99,102,241,0.3);
    box-shadow: var(--shadow-glow);
    background: rgba(255,255,255,0.1);
}
.service-card:hover::before { opacity: 1; }

.service-icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; }

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    color: #e0e7ff;
    font-weight: 600;
}

.service-card p {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* About 区域 */
.about { padding: 4rem 0; }

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    background: var(--grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.about-text p { color: #94a3b8; margin-bottom: 1rem; line-height: 1.8; }

.about-image { text-align: center; }
.about-image img {
    max-width: 100%;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
}

/* Contact 区域 */
.contact {
    padding: 4rem 0;
    background: rgba(99,102,241,0.05);
    border-top: 1px solid var(--glass-border);
    color: white;
    text-align: center;
}
.contact h2 { font-size: 2rem; margin-bottom: 1rem; color: #e0e7ff; }
.contact p { color: #94a3b8; margin-bottom: 1.5rem; }
.contact-info { max-width: 600px; margin: 0 auto; }

/* 响应式 */
@media (max-width: 768px) {
    .hero { padding: 3rem 0 2.5rem; }
    .hero h1 { font-size: 1.8rem; }
    .about-content { grid-template-columns: 1fr; }
}
