/* ===== sx_indigo: 靛蓝 ===== */
:root {
    --tpl-primary: #303f9f;
    --tpl-secondary: #283593;
    --tpl-accent: #3f51b5;
    --tpl-hero-bg: #f5f5ff;
    --tpl-dark: #1a1a3d;
    --tpl-light: #f8f8ff;
    --tpl-gradient: linear-gradient(135deg, #303f9f, #283593);
    --tpl-text: #333;
    --tpl-text-light: #666;
    --tpl-radius: 12px;
    --tpl-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif; background: #fff; color: #333; line-height: 1.7; }
a { color: var(--tpl-primary); text-decoration: none; transition: all 0.3s; }
a:hover { color: var(--tpl-accent); }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
.sx-header { background: #fff; box-shadow: 0 2px 15px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; }
.sx-nav { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; }
.sx-logo { font-size: 22px; font-weight: 700; color: var(--tpl-primary); display: flex; align-items: center; gap: 10px; }
.sx-logo-icon { width: 42px; height: 42px; background: var(--tpl-gradient); color: #fff; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.sx-menu { display: flex; gap: 25px; list-style: none; }
.sx-menu a { color: #444; font-size: 15px; padding: 6px 0; position: relative; }
.sx-menu a:hover { color: var(--tpl-primary); }
.sx-menu a.active { color: var(--tpl-primary); font-weight: 600; }

/* Hero */
.sx-hero { background: var(--tpl-hero-bg); min-height: 550px; display: flex; align-items: center; padding: 80px 0; position: relative; overflow: hidden; }
.sx-hero::before { content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px; background: var(--tpl-gradient); opacity: 0.05; border-radius: 50%; }
.sx-hero-content { max-width: 650px; position: relative; z-index: 2; }
.sx-hero-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--tpl-gradient); color: #fff; padding: 8px 18px; border-radius: 20px; font-size: 13px; margin-bottom: 20px; }
.sx-hero h1 { font-size: 2.8rem; font-weight: 800; color: var(--tpl-dark); margin-bottom: 20px; line-height: 1.3; }
.sx-hero h1 strong { color: var(--tpl-primary); }
.sx-hero p { font-size: 1.1rem; color: #555; margin-bottom: 30px; line-height: 1.8; }
.sx-hero-btns { display: flex; gap: 15px; flex-wrap: wrap; }
.sx-btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: var(--tpl-radius); font-weight: 600; font-size: 15px; transition: all 0.3s; }
.sx-btn-primary { background: var(--tpl-gradient); color: #fff; }
.sx-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.15); color: #fff; }
.sx-btn-outline { background: transparent; border: 2px solid var(--tpl-primary); color: var(--tpl-primary); }
.sx-btn-outline:hover { background: var(--tpl-primary); color: #fff; }

/* Features */
.sx-features { padding: 80px 0; background: #fff; }
.sx-section-header { text-align: center; margin-bottom: 50px; }
.sx-section-header h2 { font-size: 2rem; font-weight: 700; color: var(--tpl-dark); margin-bottom: 12px; }
.sx-section-header p { color: #666; font-size: 1rem; }
.sx-features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.sx-feature-card { background: var(--tpl-hero-bg); border-radius: var(--tpl-radius); padding: 30px 25px; text-align: center; transition: all 0.3s; border: 1px solid transparent; }
.sx-feature-card:hover { transform: translateY(-5px); box-shadow: var(--tpl-shadow); border-color: var(--tpl-accent); }
.sx-feature-icon { width: 60px; height: 60px; background: var(--tpl-gradient); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; font-size: 24px; }
.sx-feature-card h4 { font-size: 1rem; color: var(--tpl-dark); margin-bottom: 10px; }
.sx-feature-card p { color: #666; font-size: 14px; }

/* Services */
.sx-services { padding: 80px 0; background: var(--tpl-hero-bg); }
.sx-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.sx-service-card { background: #fff; border-radius: var(--tpl-radius); overflow: hidden; box-shadow: var(--tpl-shadow); transition: all 0.3s; }
.sx-service-card:hover { transform: translateY(-8px); box-shadow: 0 12px 35px rgba(0,0,0,0.12); }
.sx-service-img { height: 180px; background: var(--tpl-hero-bg); display: flex; align-items: center; justify-content: center; }
.sx-service-img i { font-size: 3.5rem; color: var(--tpl-accent); opacity: 0.6; }
.sx-service-info { padding: 25px; }
.sx-service-info h4 { font-size: 1.1rem; color: var(--tpl-dark); margin-bottom: 12px; }
.sx-service-info p { color: #555; font-size: 14px; margin-bottom: 15px; }
.sx-service-link { color: var(--tpl-primary); font-weight: 600; font-size: 14px; }
.sx-service-link:hover { color: var(--tpl-accent); }

/* Testimonials */
.sx-testimonials { padding: 80px 0; background: #fff; }
.sx-testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.sx-testimonial-card { background: var(--tpl-hero-bg); border-radius: var(--tpl-radius); padding: 30px; position: relative; }
.sx-testimonial-card::before { content: '"'; position: absolute; top: 15px; left: 25px; font-size: 4rem; color: var(--tpl-accent); opacity: 0.2; font-family: serif; }
.sx-testimonial-text { color: #555; font-size: 15px; margin-bottom: 20px; line-height: 1.8; position: relative; z-index: 1; }
.sx-testimonial-author { display: flex; align-items: center; gap: 12px; }
.sx-testimonial-avatar { width: 48px; height: 48px; background: var(--tpl-gradient); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.sx-testimonial-info h5 { font-size: 15px; color: var(--tpl-dark); }
.sx-testimonial-info span { font-size: 13px; color: #888; }

/* Stats */
.sx-stats { background: var(--tpl-gradient); color: #fff; padding: 60px 0; }
.sx-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.sx-stat-item { padding: 20px; }
.sx-stat-num { font-size: 3rem; font-weight: 800; }
.sx-stat-label { font-size: 14px; opacity: 0.85; margin-top: 5px; }

/* CTA */
.sx-cta { padding: 80px 0; background: var(--tpl-hero-bg); text-align: center; }
.sx-cta h2 { font-size: 2rem; color: var(--tpl-dark); margin-bottom: 15px; }
.sx-cta p { color: #666; margin-bottom: 30px; }

/* Footer */
.sx-footer { background: var(--tpl-dark); color: rgba(255,255,255,0.7); padding: 60px 0 30px; }
.sx-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.sx-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.sx-footer ul { list-style: none; }
.sx-footer ul li { margin-bottom: 10px; }
.sx-footer ul a { color: rgba(255,255,255,0.6); font-size: 14px; }
.sx-footer ul a:hover { color: var(--tpl-accent); }
.sx-footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 25px; text-align: center; font-size: 13px; }

/* Responsive */
@media (max-width: 992px) { .sx-features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { 
    .sx-menu { display: none; }
    .sx-hero h1 { font-size: 2rem; }
    .sx-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .sx-services-grid, .sx-testimonials-grid { grid-template-columns: 1fr; }
    .sx-footer-grid { grid-template-columns: 1fr 1fr; }
}
