/* ========== 全局样式 ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: #333;
    background: #f5f7fa;
    line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.btn-primary {
    display: inline-block; padding: 12px 32px; background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: #fff; border-radius: 24px; font-size: 16px; font-weight: 600;
    transition: all 0.3s; box-shadow: 0 4px 15px rgba(79,172,254,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(79,172,254,0.6); }
.btn-secondary {
    display: inline-block; padding: 12px 32px; border: 2px solid #4facfe; color: #4facfe;
    border-radius: 24px; font-size: 16px; font-weight: 600; transition: all 0.3s;
}
.btn-secondary:hover { background: #4facfe; color: #fff; }
.btn-outline {
    display: inline-block; padding: 8px 20px; border: 1px solid #4facfe; color: #4facfe;
    border-radius: 20px; font-size: 14px; transition: all 0.3s;
}
.btn-outline:hover { background: #4facfe; color: #fff; }
.btn-large { padding: 16px 48px; font-size: 18px; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 32px; color: #1a1a2e; margin-bottom: 12px; }
.section-header p { font-size: 16px; color: #666; }

/* ========== 顶部导航 ========== */
.header {
    background: #fff; border-bottom: 1px solid #eee; position: sticky; top: 0; z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.header-inner {
    max-width: 1400px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; height: 60px; gap: 20px;
}
.logo { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.logo-icon { font-size: 28px; }
.logo-text { font-size: 20px; font-weight: 700; color: #e74c3c !important; }
.logo-sub { font-size: 12px; color: #999; }
.main-nav { display: flex; align-items: center; gap: 4px; flex: 1; overflow-x: auto; }
.nav-item {
    padding: 8px 14px; font-size: 14px; color: #555; white-space: nowrap;
    border-radius: 6px; transition: all 0.2s;
}
.nav-item:hover, .nav-item.active { color: #4facfe; background: #f0f7ff; }
.header-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.search-btn { font-size: 18px; cursor: pointer; }
.console-btn {
    padding: 6px 16px; border: 1px solid #4facfe; color: #4facfe;
    border-radius: 16px; font-size: 13px; transition: all 0.3s;
}
.console-btn:hover { background: #4facfe; color: #fff; }
.register-btn { padding: 6px 20px; background: #4facfe; color: #fff; border-radius: 16px; font-size: 13px; }
.register-btn:hover { background: #3a9aee; }

/* ========== 首屏 Banner ========== */
.hero-banner {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #fff; padding: 80px 0; position: relative; overflow: hidden;
}
.hero-banner::before {
    content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(79,172,254,0.15), transparent 70%);
    border-radius: 50%;
}
.hero-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; gap: 60px; position: relative; z-index: 1;
}
.hero-content { flex: 1; }
.hero-title { font-size: 44px; font-weight: 800; line-height: 1.3; margin-bottom: 20px; }
.hero-title span { background: linear-gradient(90deg, #4facfe, #00f2fe); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-desc { font-size: 17px; color: rgba(255,255,255,0.75); margin-bottom: 36px; line-height: 1.8; }
.hero-buttons { display: flex; gap: 16px; }
.hero-visual { flex: 0 0 360px; }
.hero-card {
    background: rgba(255,255,255,0.1); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15); border-radius: 20px;
    padding: 30px; text-align: center;
}
.pet-avatar { font-size: 80px; margin-bottom: 16px; }
.pet-info { margin-bottom: 16px; }
.pet-name { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.pet-status { font-size: 14px; color: rgba(255,255,255,0.6); }
.ai-badge {
    display: inline-block; padding: 6px 18px; background: linear-gradient(135deg, #4facfe, #00f2fe);
    border-radius: 20px; font-size: 13px; font-weight: 600;
}

/* ========== 营销卡片区 ========== */
.marketing-cards { margin-top: -50px; position: relative; z-index: 2; padding-bottom: 60px; }
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.marketing-card {
    background: #fff; border-radius: 16px; padding: 30px 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06); transition: all 0.3s; position: relative; overflow: hidden;
}
.marketing-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(79,172,254,0.15); }
.card-badge {
    position: absolute; top: 16px; right: 16px; background: #ff6b6b; color: #fff;
    padding: 2px 10px; border-radius: 10px; font-size: 11px; font-weight: 700;
}
.card-icon { font-size: 42px; margin-bottom: 16px; }
.marketing-card h3 { font-size: 18px; color: #1a1a2e; margin-bottom: 10px; }
.marketing-card p { font-size: 14px; color: #888; line-height: 1.7; margin-bottom: 16px; }
.card-link { color: #4facfe; font-size: 14px; font-weight: 600; }
.card-link:hover { text-decoration: underline; }

/* ========== 核心能力展示区 ========== */
.core-capability { padding: 80px 0; background: #fff; }
.capability-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.capability-card {
    background: #f8faff; border-radius: 16px; padding: 36px 24px; text-align: center;
    transition: all 0.3s; border: 2px solid transparent;
}
.capability-card:hover { border-color: #4facfe; transform: translateY(-4px); }
.capability-card.highlight { background: linear-gradient(135deg, #4facfe, #00f2fe); color: #fff; }
.cap-icon { font-size: 48px; margin-bottom: 16px; }
.capability-card h3 { font-size: 18px; margin-bottom: 12px; }
.capability-card p { font-size: 14px; line-height: 1.7; opacity: 0.85; margin-bottom: 20px; }

/* ========== 产品矩阵 ========== */
.product-matrix { padding: 80px 0; background: #f5f7fa; }
.matrix-tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }
.tab {
    padding: 8px 24px; border: 1px solid #ddd; border-radius: 20px;
    font-size: 14px; cursor: pointer; transition: all 0.3s; background: #fff;
}
.tab.active, .tab:hover { background: #4facfe; color: #fff; border-color: #4facfe; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-card {
    background: #fff; border-radius: 12px; padding: 28px 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04); transition: all 0.3s;
}
.product-card:hover { box-shadow: 0 8px 30px rgba(79,172,254,0.12); transform: translateY(-3px); }
.product-icon { font-size: 36px; margin-bottom: 12px; }
.product-card h4 { font-size: 16px; color: #1a1a2e; margin-bottom: 8px; }
.product-card p { font-size: 13px; color: #888; }

/* ========== 快速入门 ========== */
.get-started { padding: 80px 0; background: #fff; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 50px; }
.step-card {
    text-align: center; padding: 40px 24px; border-radius: 16px;
    background: linear-gradient(135deg, #f8faff, #eef4ff);
}
.step-num { font-size: 48px; font-weight: 900; color: #4facfe; opacity: 0.3; margin-bottom: 12px; }
.step-card h4 { font-size: 20px; color: #1a1a2e; margin-bottom: 10px; }
.step-card p { font-size: 14px; color: #888; }
.cta-center { text-align: center; display: flex; gap: 16px; justify-content: center; }

/* ========== 行业解决方案 ========== */
.solutions { padding: 80px 0; background: #f5f7fa; }
.solution-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.solution-card {
    background: #fff; border-radius: 16px; padding: 32px 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05); transition: all 0.3s;
}
.solution-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(79,172,254,0.12); }
.sol-icon { font-size: 42px; margin-bottom: 16px; }
.solution-card h4 { font-size: 17px; color: #1a1a2e; margin-bottom: 10px; }
.solution-card p { font-size: 13px; color: #888; line-height: 1.7; margin-bottom: 14px; }
.solution-card a { color: #4facfe; font-size: 14px; font-weight: 600; }

/* ========== 客户案例 ========== */
.case-studies { padding: 80px 0; background: #fff; }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card {
    background: #f8faff; border-radius: 16px; padding: 36px 28px;
    border-left: 4px solid #4facfe;
}
.case-logo { font-size: 40px; margin-bottom: 16px; }
.case-card h4 { font-size: 17px; color: #1a1a2e; margin-bottom: 10px; }
.case-card p { font-size: 14px; color: #666; line-height: 1.8; font-style: italic; }

/* ========== 数据背书 ========== */
.trust-badges { padding: 60px 0; background: linear-gradient(135deg, #1a1a2e, #16213e); color: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.trust-num { font-size: 42px; font-weight: 900; background: linear-gradient(90deg, #4facfe, #00f2fe); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 8px; }
.trust-label { font-size: 15px; color: rgba(255,255,255,0.7); }

/* ========== 开发者生态 ========== */
.developer-ecosystem { padding: 80px 0; background: #f5f7fa; }
.dev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.dev-card {
    background: #fff; border-radius: 16px; padding: 36px 28px; text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05); transition: all 0.3s;
}
.dev-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(79,172,254,0.12); }
.dev-icon { font-size: 48px; margin-bottom: 16px; }
.dev-card h4 { font-size: 17px; color: #1a1a2e; margin-bottom: 10px; }
.dev-card p { font-size: 13px; color: #888; margin-bottom: 16px; }
.dev-card a { color: #4facfe; font-size: 14px; font-weight: 600; }

/* ========== 底部 ========== */
.footer { background: #1a1a2e; color: rgba(255,255,255,0.7); padding: 60px 0 20px; }
.footer-grid {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.5fr;
    gap: 30px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: #4facfe; }
.footer-col p { font-size: 13px; margin-bottom: 8px; }
.footer-bottom { text-align: center; padding-top: 20px; font-size: 13px; color: rgba(255,255,255,0.4); }

/* ========== 大模型子页面专用样式 ========== */
.lm-hero {
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    color: #fff; padding: 100px 0 80px; text-align: center; position: relative; overflow: hidden;
}
.lm-hero::after {
    content: ''; position: absolute; bottom: -100px; left: 50%; transform: translateX(-50%);
    width: 800px; height: 800px; background: radial-gradient(circle, rgba(79,172,254,0.1), transparent 70%);
    border-radius: 50%;
}
.lm-hero h1 { font-size: 48px; font-weight: 800; margin-bottom: 20px; position: relative; z-index: 1; }
.lm-hero p { font-size: 18px; color: rgba(255,255,255,0.7); max-width: 700px; margin: 0 auto 36px; position: relative; z-index: 1; }
.lm-section { padding: 80px 0; }
.lm-section.bg-white { background: #fff; }
.lm-section.bg-light { background: #f5f7fa; }
.lm-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.lm-feature-card {
    background: #fff; border-radius: 16px; padding: 36px 28px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05); transition: all 0.3s;
    border-top: 4px solid #4facfe;
}
.lm-feature-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(79,172,254,0.15); }
.lm-feature-icon { font-size: 48px; margin-bottom: 16px; }
.lm-feature-card h3 { font-size: 20px; color: #1a1a2e; margin-bottom: 12px; }
.lm-feature-card p { font-size: 14px; color: #888; line-height: 1.8; }
.lm-arch-diagram {
    background: #1a1a2e; border-radius: 20px; padding: 48px 36px; color: #fff;
    display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap;
}
.arch-box {
    background: rgba(79,172,254,0.15); border: 1px solid rgba(79,172,254,0.3);
    border-radius: 12px; padding: 20px 28px; text-align: center; min-width: 140px;
}
.arch-box h4 { font-size: 15px; color: #4facfe; margin-bottom: 6px; }
.arch-box p { font-size: 12px; color: rgba(255,255,255,0.6); }
.arch-arrow { font-size: 24px; color: #4facfe; }
.lm-case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.lm-case-card {
    background: #fff; border-radius: 16px; padding: 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.lm-case-card h4 { font-size: 17px; color: #1a1a2e; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.lm-case-card p { font-size: 14px; color: #666; line-height: 1.8; }
.lm-pricing-table { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.lm-price-card {
    background: #fff; border-radius: 16px; padding: 36px 28px; text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05); position: relative; overflow: hidden;
}
.lm-price-card.featured { border: 2px solid #4facfe; transform: scale(1.05); }
.price-badge {
    position: absolute; top: 16px; right: -30px; background: #4facfe; color: #fff;
    padding: 4px 40px; font-size: 11px; transform: rotate(45deg);
}
.lm-price-card h4 { font-size: 20px; color: #1a1a2e; margin-bottom: 8px; }
.price-amount { font-size: 42px; font-weight: 900; color: #4facfe; margin: 16px 0; }
.price-amount small { font-size: 14px; font-weight: 400; }
.price-features { list-style: none; margin-bottom: 24px; }
.price-features li { font-size: 14px; color: #888; padding: 6px 0; border-bottom: 1px solid #f0f0f0; }
.qa-item { background: #fff; border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.qa-question {
    padding: 18px 24px; font-size: 16px; font-weight: 600; color: #1a1a2e;
    cursor: pointer; display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid #f0f0f0;
}
.qa-answer { padding: 18px 24px; font-size: 14px; color: #666; line-height: 1.8; display: none; }
.qa-item.active .qa-answer { display: block; }
.qa-toggle { font-size: 20px; color: #4facfe; }

@media (max-width: 768px) {
    .hero-inner { flex-direction: column; text-align: center; }
    .hero-visual { flex: none; }
    .cards-grid, .capability-grid, .product-grid, .solution-grid,
    .case-grid, .dev-grid, .lm-feature-grid, .lm-case-grid, .lm-pricing-table {
        grid-template-columns: 1fr;
    }
    .steps-grid { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .main-nav { display: none; }
}
