/* ============================================================
   家家好生活官网 - 线上「胖东来」主题样式
   ============================================================ */

/* ========== Reset & Base ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: #333; line-height: 1.7; background: #fff; overflow-x: hidden;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
.section { padding: 80px 0; }
.section-title {
    text-align: center; font-size: 2.2rem; font-weight: 700; color: #1a1a1a; margin-bottom: 12px;
}
.section-desc {
    text-align: center; font-size: 1.1rem; color: #888; margin-bottom: 48px;
}

/* ========== Buttons ========== */
.btn { display: inline-block; padding: 12px 28px; border-radius: 8px; font-size: 1rem; font-weight: 600;
    cursor: pointer; border: none; transition: all 0.3s; text-align: center; }
.btn-primary { background: linear-gradient(135deg, #e85d04, #f48c06); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(232,93,4,0.35); }
.btn-outline { background: transparent; border: 2px solid #fff; color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.15); }
.btn-lg { padding: 14px 36px; font-size: 1.05rem; }
.btn-miniapp { background: #07c160; color: #fff; padding: 10px 20px; border-radius: 20px; }
.btn-block { width: 100%; }
.nav-miniapp-btn { display: none; }
@media (min-width: 769px) { .nav-miniapp-btn { display: inline-block; } }

/* ========== Header ========== */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
    box-shadow: 0 1px 6px rgba(0,0,0,0.08); padding: 0;
}
.header.scrolled { box-shadow: 0 2px 12px rgba(0,0,0,0.12); }
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 36px; }
.logo-text { font-size: 1.2rem; font-weight: 700; color: #e85d04; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav-list { display: flex; gap: 28px; }
.nav-link { font-size: 0.95rem; color: #555; font-weight: 500; padding: 4px 0; border-bottom: 2px solid transparent; transition: 0.3s; }
.nav-link:hover, .nav-link.active { color: #e85d04; border-bottom-color: #e85d04; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: #333; border-radius: 2px; transition: 0.3s; }
@media (max-width: 768px) {
    .nav { position: fixed; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column;
        padding: 24px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); transform: translateY(-120%);
        transition: transform 0.3s; }
    .nav.open { transform: translateY(0); }
    .nav-list { flex-direction: column; gap: 16px; }
    .hamburger { display: flex; }
}

/* ========== Hero ========== */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(232,93,4,0.15), transparent 70%); border-radius: 50%;
}
.hero::after {
    content: ''; position: absolute; bottom: -30%; left: -10%; width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(244,140,6,0.1), transparent 70%); border-radius: 50%;
}
.hero-overlay { display: none; }
.hero-content { position: relative; z-index: 1; text-align: center; padding-top: 64px; }
.hero-title { font-size: 3.2rem; font-weight: 800; color: #fff; line-height: 1.3; margin-bottom: 20px; }
.hero-highlight { color: #f48c06; }
.hero-subtitle { font-size: 1.2rem; color: rgba(255,255,255,0.8); margin-bottom: 12px; }
.hero-desc { font-size: 1rem; color: rgba(255,255,255,0.6); margin-bottom: 36px; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 768px) {
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }
}

/* ========== Positioning Cards ========== */
.positioning { background: #fafafa; }
.positioning-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.positioning-card {
    background: #fff; border-radius: 16px; padding: 36px 24px; text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05); transition: transform 0.3s, box-shadow 0.3s;
}
.positioning-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.pos-icon { font-size: 2.5rem; margin-bottom: 12px; }
.positioning-card h3 { font-size: 1.15rem; color: #1a1a1a; margin-bottom: 8px; }
.positioning-card p { font-size: 0.9rem; color: #777; line-height: 1.6; }
@media (max-width: 768px) {
    .positioning-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ========== Services ========== */
.services { background: #fff; }
.service-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 40px; }
.service-card {
    background: #fff; border-radius: 16px; overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06); transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,0.12); }
.service-img { width: 100%; height: 200px; object-fit: cover; }
.service-card-body { padding: 20px; }
.service-card-body h3 { font-size: 1.2rem; color: #1a1a1a; margin-bottom: 6px; }
.service-tag { font-size: 0.85rem; color: #e85d04; font-weight: 500; margin-bottom: 6px; }
.service-desc { font-size: 0.9rem; color: #777; }
.service-sub-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-bottom: 40px; }
.service-sub-item { text-align: center; }
.service-sub-item img { width: 80px; height: 80px; border-radius: 12px; object-fit: cover; margin: 0 auto 8px; }
.service-sub-item span { font-size: 0.8rem; color: #555; }
.booking-cta { text-align: center; margin-top: 20px; }
@media (max-width: 992px) { .service-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
    .service-cards { grid-template-columns: 1fr; }
    .service-sub-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ========== Stats ========== */
.stats { background: linear-gradient(135deg, #e85d04, #f48c06); border-radius: 20px; margin: 0 20px 80px; padding: 48px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat-number { font-size: 2.8rem; font-weight: 800; color: #fff; display: block; }
.stat-plus { font-size: 1.4rem; vertical-align: super; }
.stat-unit { font-size: 1rem; font-weight: 400; }
.stat-label { font-size: 0.95rem; color: rgba(255,255,255,0.85); margin-top: 4px; }
@media (max-width: 768px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .stat-number { font-size: 2rem; }
}

/* ========== Mall ========== */
.mall { background: #fafafa; }
.mall-intro { text-align: center; color: #666; margin-bottom: 40px; font-size: 0.95rem; max-width: 700px; margin-left: auto; margin-right: auto; }
.mall-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px; }
.mall-card {
    background: #fff; border-radius: 12px; overflow: hidden; text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05); transition: transform 0.3s; cursor: pointer;
}
.mall-card:hover { transform: translateY(-4px); }
.mall-card img { width: 100%; height: 180px; object-fit: cover; }
.mall-card span { display: block; padding: 12px; font-size: 0.9rem; color: #333; font-weight: 500; }
.mall-tagline { text-align: center; color: #e85d04; font-weight: 600; margin-bottom: 16px; }
.mall-cta { text-align: center; }
@media (max-width: 992px) { .mall-cards { grid-template-columns: repeat(2, 1fr); } }

/* ========== SouZhenJi ========== */
.souzj { background: #fff; }
.souzj-content { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.souzj-text p { margin-bottom: 20px; color: #555; line-height: 1.8; }
.souzj-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
.souzj-cat { background: #fff7ed; border-radius: 12px; padding: 20px; border: 1px solid #fed7aa; }
.souzj-cat h4 { font-size: 1rem; color: #e85d04; margin-bottom: 6px; }
.souzj-cat p { font-size: 0.85rem; color: #777; margin: 0; }
.souzj-badge { background: #e85d04; color: #fff; padding: 10px 16px; border-radius: 8px; font-size: 0.9rem; display: inline-block; }
.souzj-image img { border-radius: 16px; }
@media (max-width: 768px) {
    .souzj-content { grid-template-columns: 1fr; }
    .souzj-cats { grid-template-columns: 1fr; }
}

/* ========== Partner ========== */
.partner { background: #fafafa; }
.partner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.partner-advantage h3 { font-size: 1.3rem; margin-bottom: 20px; color: #1a1a1a; }
.partner-advantage ul { display: flex; flex-direction: column; gap: 14px; }
.partner-advantage li { padding-left: 24px; position: relative; color: #555; font-size: 0.95rem; line-height: 1.7; }
.partner-advantage li::before { content: '✓'; position: absolute; left: 0; color: #e85d04; font-weight: 700; }
.partner-form-box { background: #fff; border-radius: 16px; padding: 36px; box-shadow: 0 2px 16px rgba(0,0,0,0.06); }
.partner-form-box h3 { font-size: 1.2rem; margin-bottom: 16px; color: #1a1a1a; }
.category-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.category-tags span { background: #fff7ed; color: #e85d04; padding: 8px 16px; border-radius: 20px; font-size: 0.9rem; border: 1px solid #fed7aa; }
.coop-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.coop-mode { background: #f9fafb; border-radius: 10px; padding: 16px; text-align: center; }
.coop-mode h4 { font-size: 0.95rem; color: #1a1a1a; margin-bottom: 4px; }
.coop-mode p { font-size: 0.8rem; color: #888; }
.partner-contact { margin: 20px 0; padding: 16px; background: #fff7ed; border-radius: 10px; }
.partner-contact p { font-size: 0.9rem; color: #555; margin-bottom: 6px; }
@media (max-width: 768px) {
    .partner-grid { grid-template-columns: 1fr; }
    .coop-modes { grid-template-columns: 1fr; }
}

/* ========== Culture ========== */
.culture { background: #fff; }
.culture-hero { text-align: center; margin-bottom: 48px; }
.culture-mission, .culture-vision { font-size: 1.15rem; color: #555; margin-bottom: 10px; }
.culture-mission strong, .culture-vision strong { color: #e85d04; }
.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-bottom: 48px; }
.value-card { background: #fff7ed; border-radius: 14px; padding: 28px 20px; text-align: center; border: 1px solid #fed7aa; transition: transform 0.3s; }
.value-card:hover { transform: translateY(-3px); }
.value-card h4 { font-size: 1.1rem; color: #e85d04; margin-bottom: 10px; }
.value-card p { font-size: 0.85rem; color: #777; line-height: 1.6; }
.team-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.team-img { border-radius: 16px; }
.team-text h3 { font-size: 1.4rem; color: #1a1a1a; margin-bottom: 16px; }
.team-text p { color: #666; line-height: 1.8; }
@media (max-width: 992px) { .values-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) {
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .team-showcase { grid-template-columns: 1fr; }
}

/* ========== Roadmap ========== */
.roadmap { background: #fafafa; }
.roadmap-timeline { max-width: 800px; margin: 0 auto; position: relative; }
.roadmap-timeline::before { content: ''; position: absolute; left: 12px; top: 0; bottom: 0; width: 3px; background: linear-gradient(to bottom, #e85d04, #f48c06); border-radius: 2px; }
.roadmap-item { display: flex; gap: 32px; margin-bottom: 40px; position: relative; }
.roadmap-dot { width: 28px; height: 28px; border-radius: 50%; background: #e85d04; flex-shrink: 0; position: relative; z-index: 1; border: 4px solid #fed7aa; }
.roadmap-dot.current { background: #f48c06; box-shadow: 0 0 0 6px rgba(232,93,4,0.2); }
.roadmap-content { background: #fff; border-radius: 12px; padding: 20px 24px; box-shadow: 0 2px 12px rgba(0,0,0,0.05); flex: 1; }
.roadmap-content h4 { font-size: 1.05rem; color: #1a1a1a; margin-bottom: 6px; }
.roadmap-content p { font-size: 0.9rem; color: #777; }

/* ========== Contact ========== */
.contact { background: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.contact-info p { font-size: 1rem; color: #555; margin-bottom: 10px; }
.contact-qrcodes { display: flex; gap: 32px; justify-content: center; }
.qrcode-item { text-align: center; }
.qrcode-item img { width: 120px; height: 120px; border-radius: 12px; margin-bottom: 8px; }
.qrcode-item span { font-size: 0.85rem; color: #888; }
@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; }
    .contact-qrcodes { flex-wrap: wrap; }
}

/* ========== Footer ========== */
.footer { background: #1a1a2e; color: rgba(255,255,255,0.7); padding: 60px 0 0; }
.footer-content { display: grid; grid-template-columns: 2fr 3fr; gap: 48px; margin-bottom: 40px; }
.footer-brand .footer-logo { height: 36px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; margin-bottom: 6px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-bottom: 8px; transition: 0.3s; }
.footer-col a:hover { color: #f48c06; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; text-align: center; font-size: 0.85rem; }
.footer-bottom a { color: rgba(255,255,255,0.5); }
@media (max-width: 768px) {
    .footer-content { grid-template-columns: 1fr; }
    .footer-links { grid-template-columns: repeat(2, 1fr); }
}

/* ========== Animations ========== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-content { animation: fadeInUp 0.8s ease-out; }
