/* ========== 清道夫置业 V1.5 ========== */
/* 深蓝+金色商务风格 */

:root {
    --primary: #0a1628;
    --primary-light: #142240;
    --accent: #c8a45c;
    --accent-light: #dbb978;
    --text: #1a1a2e;
    --text-light: #6b7280;
    --white: #ffffff;
    --bg-light: #f8f9fa;
    --border: #e5e7eb;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --radius: 8px;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--text);
    line-height: 1.7;
    font-size: 16px;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ========== 导航 ========== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(10,22,40,0.97); backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(200,164,92,0.15);
}
.nav-content { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { color: var(--accent); font-size: 1.25rem; font-weight: 700; text-decoration: none; letter-spacing: 1px; }
.nav-links { display: flex; list-style: none; gap: 6px; }
.nav-links a {
    color: rgba(255,255,255,0.75); text-decoration: none; padding: 8px 14px;
    border-radius: 4px; font-size: 0.9rem; transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); background: rgba(200,164,92,0.1); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--white); margin: 4px 0; transition: 0.3s; }

/* ========== 按钮 ========== */
.btn {
    display: inline-block; padding: 14px 32px; border-radius: var(--radius);
    font-size: 1rem; font-weight: 600; text-decoration: none; transition: all 0.3s; cursor: pointer; border: none;
}
.btn-primary { background: var(--accent); color: var(--primary); }
.btn-primary:hover { background: var(--accent-light); transform: translateY(-1px); box-shadow: 0 4px 15px rgba(200,164,92,0.4); }
.btn-white { background: var(--white); color: var(--primary); font-weight: 700; }
.btn-white:hover { background: var(--accent); color: var(--primary); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--accent); border: 2px solid var(--accent); }
.btn-outline:hover { background: var(--accent); color: var(--primary); }
.btn-sm { padding: 10px 22px; font-size: 0.9rem; }

/* ========== Hero ========== */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white); padding: 140px 0 80px; position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(200,164,92,0.08) 0%, transparent 70%);
}
.hero h1 { font-size: 2.6rem; font-weight: 800; margin-bottom: 18px; line-height: 1.3; }
.hero-sub { font-size: 1.15rem; color: rgba(255,255,255,0.8); margin-bottom: 32px; max-width: 600px; line-height: 1.8; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-tag {
    display: inline-block; background: rgba(200,164,92,0.15); color: var(--accent);
    padding: 6px 16px; border-radius: 20px; font-size: 0.85rem; margin-bottom: 20px;
    border: 1px solid rgba(200,164,92,0.3);
}

/* ========== 服务区 ========== */
.services { padding: 80px 0; background: var(--bg-light); }
.section-title {
    text-align: center; font-size: 2rem; font-weight: 700; margin-bottom: 12px;
    color: var(--primary);
}
.section-sub { text-align: center; color: var(--text-light); margin-bottom: 48px; font-size: 1.05rem; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
    background: var(--white); padding: 36px 28px; border-radius: var(--radius);
    box-shadow: var(--shadow); transition: all 0.3s; border: 1px solid var(--border);
    position: relative; overflow: hidden;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--accent); transform: scaleX(0); transition: transform 0.3s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { font-size: 2.5rem; margin-bottom: 16px; }
.service-card h3 { font-size: 1.25rem; margin-bottom: 12px; color: var(--primary); }
.service-card p { color: var(--text-light); font-size: 0.95rem; line-height: 1.7; }
.service-card .btn-outline { margin-top: 18px; display: inline-block; }

/* ========== 数据区 ========== */
.stats {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-item h3 { font-size: 2.4rem; font-weight: 800; color: var(--accent); margin-bottom: 8px; }
.stat-item p { font-size: 0.9rem; color: rgba(255,255,255,0.7); }

/* ========== 为什么选我们 ========== */
.why-us { padding: 80px 0; }
.advantages-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.advantage-item { padding: 28px; border-radius: var(--radius); border: 1px solid var(--border); transition: all 0.3s; }
.advantage-item:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.advantage-item h4 { font-size: 1.1rem; color: var(--primary); margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.advantage-item h4 span { color: var(--accent); font-size: 1.3rem; }
.advantage-item p { color: var(--text-light); font-size: 0.93rem; }

/* ========== 创始人背书 ========== */
.founder-section {
    padding: 80px 0; background: var(--bg-light);
}
.founder-card {
    display: flex; gap: 40px; align-items: center; background: var(--white);
    padding: 40px; border-radius: var(--radius); box-shadow: var(--shadow);
    border-left: 4px solid var(--accent);
}
.founder-avatar {
    width: 120px; height: 120px; border-radius: 50%; background: var(--primary);
    display: flex; align-items: center; justify-content: center; font-size: 3rem;
    flex-shrink: 0; color: var(--accent);
}
.founder-info h3 { font-size: 1.4rem; color: var(--primary); margin-bottom: 4px; }
.founder-info .founder-title { color: var(--accent); font-size: 0.95rem; margin-bottom: 14px; }
.founder-info p { color: var(--text-light); line-height: 1.8; font-size: 0.95rem; }
.founder-info .btn-outline { margin-top: 16px; }

/* ========== CTA ========== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white); text-align: center;
}
.cta-section h2 { font-size: 2rem; margin-bottom: 12px; }
.cta-section p { color: rgba(255,255,255,0.75); margin-bottom: 28px; font-size: 1.05rem; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ========== 免费工具 ========== */
.free-tools { padding: 80px 0; background: var(--bg-light); }
.tools-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.tool-card {
    background: var(--white); padding: 32px; border-radius: var(--radius);
    box-shadow: var(--shadow); border: 1px solid var(--border);
    transition: all 0.3s; display: flex; flex-direction: column;
}
.tool-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.tool-card h3 { font-size: 1.2rem; color: var(--primary); margin-bottom: 8px; }
.tool-card p { color: var(--text-light); font-size: 0.93rem; margin-bottom: 18px; flex: 1; }
.tool-badge {
    display: inline-block; background: rgba(16,185,129,0.1); color: var(--success);
    padding: 3px 10px; border-radius: 12px; font-size: 0.8rem; margin-bottom: 12px;
}

/* ========== 工具交互 ========== */
.tool-quiz { padding: 80px 0; }
.quiz-container { max-width: 680px; margin: 0 auto; }
.quiz-progress { display: flex; gap: 8px; margin-bottom: 32px; }
.progress-dot {
    width: 36px; height: 6px; border-radius: 3px; background: var(--border); transition: all 0.3s;
}
.progress-dot.active { background: var(--accent); }
.progress-dot.done { background: var(--success); }
.quiz-question {
    background: var(--white); padding: 36px; border-radius: var(--radius);
    box-shadow: var(--shadow); border: 1px solid var(--border);
}
.quiz-question h3 { font-size: 1.2rem; color: var(--primary); margin-bottom: 24px; }
.quiz-options { display: flex; flex-direction: column; gap: 12px; }
.quiz-option {
    padding: 16px 20px; border: 2px solid var(--border); border-radius: var(--radius);
    cursor: pointer; transition: all 0.2s; font-size: 0.95rem; background: var(--white);
}
.quiz-option:hover { border-color: var(--accent); background: rgba(200,164,92,0.05); }
.quiz-option.selected { border-color: var(--accent); background: rgba(200,164,92,0.1); font-weight: 600; }
.quiz-nav { display: flex; justify-content: space-between; margin-top: 24px; }
.quiz-result {
    background: var(--white); padding: 36px; border-radius: var(--radius);
    box-shadow: var(--shadow); border-left: 4px solid var(--accent);
}
.quiz-result h3 { font-size: 1.3rem; color: var(--primary); margin-bottom: 16px; }
.quiz-result .risk-badge {
    display: inline-block; padding: 6px 16px; border-radius: 20px;
    font-weight: 600; font-size: 0.9rem; margin-bottom: 16px;
}
.risk-high { background: rgba(239,68,68,0.1); color: var(--danger); }
.risk-medium { background: rgba(245,158,11,0.1); color: var(--warning); }
.risk-low { background: rgba(16,185,129,0.1); color: var(--success); }
.result-detail { color: var(--text-light); font-size: 0.95rem; line-height: 1.8; margin-bottom: 20px; }
.result-detail li { margin-bottom: 6px; }

/* ========== 服务详情页 ========== */
.service-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white); padding: 120px 0 60px;
}
.service-hero h1 { font-size: 2.2rem; font-weight: 800; margin-bottom: 14px; }
.service-hero p { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 600px; line-height: 1.7; }
.service-modules { padding: 70px 0; }
.module-card {
    background: var(--white); padding: 36px; border-radius: var(--radius);
    box-shadow: var(--shadow); border: 1px solid var(--border); margin-bottom: 28px;
}
.module-card h3 { font-size: 1.2rem; color: var(--primary); margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.module-card h3 span { font-size: 1.4rem; }
.module-card p { color: var(--text-light); line-height: 1.8; }
.target-clients { padding: 60px 0; background: var(--bg-light); }
.client-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.client-item {
    padding: 18px 22px; background: var(--white); border-radius: var(--radius);
    border-left: 3px solid var(--accent); font-size: 0.95rem; color: var(--text);
}
.service-other { padding: 60px 0; }
.other-services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.other-card {
    padding: 24px; border: 1px solid var(--border); border-radius: var(--radius);
    text-decoration: none; color: var(--text); transition: all 0.3s;
}
.other-card:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.other-card h4 { color: var(--primary); margin-bottom: 8px; font-size: 1.05rem; }
.other-card p { color: var(--text-light); font-size: 0.9rem; }

/* ========== 关于页 ========== */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white); padding: 120px 0 50px; text-align: center;
}
.page-hero h1 { font-size: 2.2rem; margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.05rem; }
.brand-story { padding: 70px 0; }
.story-text { font-size: 1.05rem; line-height: 2; color: var(--text); max-width: 800px; margin: 0 auto; }
.story-text p { margin-bottom: 18px; }
.timeline-section { padding: 70px 0; background: var(--bg-light); }
.timeline { max-width: 700px; margin: 0 auto; position: relative; padding-left: 40px; }
.timeline::before {
    content: ''; position: absolute; left: 15px; top: 0; bottom: 0;
    width: 2px; background: var(--accent);
}
.timeline-item { position: relative; margin-bottom: 36px; }
.timeline-item::before {
    content: ''; position: absolute; left: -33px; top: 6px;
    width: 12px; height: 12px; border-radius: 50%; background: var(--accent);
    border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--accent);
}
.timeline-year { font-size: 0.85rem; color: var(--accent); font-weight: 700; margin-bottom: 4px; }
.timeline-content { background: var(--white); padding: 20px; border-radius: var(--radius); box-shadow: var(--shadow); }
.timeline-content h4 { font-size: 1rem; color: var(--primary); margin-bottom: 6px; }
.timeline-content p { font-size: 0.9rem; color: var(--text-light); }
.brand-philosophy { padding: 70px 0; text-align: center; }
.philosophy-grid { display: flex; gap: 40px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.philosophy-item { max-width: 220px; }
.philosophy-item .icon { font-size: 2.5rem; margin-bottom: 12px; color: var(--accent); }
.philosophy-item h4 { font-size: 1.15rem; color: var(--primary); margin-bottom: 8px; }
.philosophy-item p { font-size: 0.9rem; color: var(--text-light); }

/* ========== 联系页 ========== */
.contact-section { padding: 70px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info-card {
    padding: 24px; background: var(--bg-light); border-radius: var(--radius);
    margin-bottom: 16px; display: flex; align-items: center; gap: 16px;
}
.contact-icon { font-size: 1.5rem; color: var(--accent); }
.contact-label { font-size: 0.85rem; color: var(--text-light); }
.contact-value { font-size: 1rem; color: var(--text); font-weight: 600; }
.contact-form-box {
    background: var(--white); padding: 36px; border-radius: var(--radius);
    box-shadow: var(--shadow); border: 1px solid var(--border);
}
.contact-form-box h3 { font-size: 1.2rem; color: var(--primary); margin-bottom: 20px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.9rem; color: var(--text); margin-bottom: 6px; font-weight: 500; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius);
    font-size: 0.95rem; font-family: inherit; transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--accent);
}
.form-group textarea { height: 100px; resize: vertical; }
.service-hours {
    background: rgba(200,164,92,0.08); padding: 16px 20px; border-radius: var(--radius);
    border-left: 3px solid var(--accent); margin-top: 16px;
}
.service-hours p { font-size: 0.9rem; color: var(--text); }

/* ========== 页脚 ========== */
.footer {
    background: var(--primary); color: rgba(255,255,255,0.6); padding: 50px 0 24px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.footer-brand { color: var(--accent); font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.footer-desc { font-size: 0.88rem; line-height: 1.7; }
.footer h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 14px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; }
.footer ul a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
.footer ul a:hover { color: var(--accent); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px;
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
    font-size: 0.82rem;
}
.footer-bottom a { color: rgba(255,255,255,0.5); text-decoration: none; }
.footer-bottom a:hover { color: var(--accent); }

/* ========== 响应式 ========== */
@media (max-width: 768px) {
    .nav-links {
        display: none; position: absolute; top: 64px; left: 0; right: 0;
        background: var(--primary); flex-direction: column; padding: 16px;
        border-bottom: 1px solid rgba(200,164,92,0.15);
    }
    .nav-links.active { display: flex; }
    .nav-toggle { display: block; }
    .hero h1 { font-size: 1.8rem; }
    .hero-sub { font-size: 1rem; }
    .service-grid, .tools-grid, .stats-grid { grid-template-columns: 1fr; }
    .advantages-grid { grid-template-columns: 1fr; }
    .contact-grid, .footer-grid, .other-services { grid-template-columns: 1fr; }
    .founder-card { flex-direction: column; text-align: center; }
    .client-list { grid-template-columns: 1fr; }
    .philosophy-grid { flex-direction: column; align-items: center; }
}
@media (max-width: 1024px) and (min-width: 769px) {
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
