/* ===== 甲约官网 - 黑金配色风格 ===== */

:root {
    --gold: #F5A623;
    --gold-dark: #E8941A;
    --black: #000000;
    --dark: #1A1A1A;
    --dark-gray: #2D2D2D;
    --white: #FFFFFF;
    --light-gray: #F8F8F8;
    --text-dark: #333333;
    --text-light: #CCCCCC;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.navbar {
    background: var(--black);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo-img { height: 45px; width: auto; }

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

.nav-links a {
    color: var(--white);
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s;
    font-size: 15px;
}

.nav-links a:hover, .nav-links a.active {
    background: var(--gold);
    color: var(--black);
}

.mobile-menu-btn { display: none; color: var(--white); font-size: 24px; cursor: pointer; }

.hero {
    background: linear-gradient(135deg, var(--black) 0%, var(--dark) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 70px;
    position: relative;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(245,166,35,0.1) 0%, transparent 70%);
}

.hero-content { position: relative; z-index: 1; }

.hero-title {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(245,166,35,0.4); }

.btn-outline { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--black); }

.btn-dark { background: var(--black); color: var(--gold); }
.btn-dark:hover { background: var(--dark); transform: translateY(-2px); }

.section { padding: 80px 0; }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 3rem; color: var(--text-dark); }
.text-white { color: var(--white) !important; }
.text-dark { color: var(--text-dark) !important; }
.bg-dark { background: var(--dark); }
.bg-gold { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%); }

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

.service-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    border-top: 4px solid var(--gold);
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.service-card:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(0,0,0,0.12); }
.service-icon { font-size: 3rem; margin-bottom: 1rem; }
.service-card h3 { font-size: 1.3rem; margin-bottom: 1rem; color: var(--text-dark); }
.service-card p { color: #666; font-size: 0.95rem; margin-bottom: 1.5rem; }
.card-link { color: var(--gold); text-decoration: none; font-weight: 600; }
.card-link:hover { color: var(--gold-dark); }

.advantages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 30px; }
.advantage-item { text-align: center; padding: 25px 15px; }

.advantage-icon {
    width: 50px; height: 50px; background: var(--gold); color: var(--black);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; font-weight: bold; margin: 0 auto 1rem;
}

.advantage-item h4 { color: var(--gold); margin-bottom: 0.5rem; font-size: 1.1rem; }
.advantage-item p { color: var(--text-light); font-size: 0.9rem; }

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

.case-card {
    background: var(--light-gray); padding: 30px; border-radius: 12px;
    border-left: 4px solid var(--gold);
}

.case-badge {
    display: inline-block; background: var(--gold); color: var(--black);
    padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; margin-bottom: 1rem;
}

.case-card h4 { font-size: 1.2rem; margin-bottom: 0.8rem; color: var(--text-dark); }
.case-card p { color: #666; font-size: 0.95rem; }

.consult-section { text-align: center; }
.consult-desc { font-size: 1.1rem; margin-bottom: 2rem; color: var(--text-dark); }
.qrcode-wrapper { display: flex; justify-content: center; margin-bottom: 2rem; }

.qrcode-box {
    background: var(--white); padding: 20px; border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.qrcode-img { width: 220px; height: auto; border-radius: 12px; display: block; }
.qrcode-tip { margin-top: 1rem; color: var(--text-dark); font-weight: 600; }
.consult-buttons { margin-top: 1.5rem; }

.footer { background: var(--black); padding: 50px 0 30px; text-align: center; }

.footer-stats {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px; margin-bottom: 40px; padding-bottom: 40px;
    border-bottom: 1px solid var(--dark-gray);
}

.stat-number { display: block; font-size: 2.5rem; font-weight: 700; color: var(--gold); margin-bottom: 0.5rem; }
.stat-label { color: var(--text-light); font-size: 0.95rem; }
.footer-bottom { color: var(--text-light); font-size: 0.9rem; }
.footer-bottom p { margin: 5px 0; }

.floating-consult { position: fixed; bottom: 30px; right: 30px; z-index: 999; }

.float-btn {
    width: 60px; height: 60px; background: var(--gold); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(245,166,35,0.5); transition: all 0.3s;
}

.float-btn:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(245,166,35,0.6); }

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .hero-title { font-size: 1.8rem; }
    .hero-subtitle { font-size: 1rem; }
    .section-title { font-size: 1.8rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .btn { width: 80%; text-align: center; }
}
