/* 味子夫 Weizifu - 品牌样式表 */
/* 主色：黄 #FFD400 / 红 #E60012 / 黑 #1A1A1A */

:root {
  --yellow: #FFD400;
  --yellow-dark: #FFB800;
  --yellow-light: #FFEC80;
  --red: #E60012;
  --red-dark: #C5000F;
  --ink: #1A1A1A;
  --soft-ink: #444;
  --light-ink: #666;
  --paper: #FFF;
  --warm-bg: #FFF7D6;
  --warm-bg-light: #FFFBEB;
  --gray-border: #E5E5E5;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --radius: 12px;
  --radius-sm: 8px;
  --max-width: 1200px;
  --nav-height: 72px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ========== 导航 ========== */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: var(--paper); height: var(--nav-height); box-shadow: 0 1px 0 var(--gray-border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 40px; }
.nav-logo span { font-weight: 800; font-size: 1.25rem; }
.nav-links { display: flex; gap: 36px; }
.nav-links a { font-size: 0.95rem; font-weight: 500; color: var(--ink); transition: color 0.2s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--red); }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 2px; background: var(--red); transform: scaleX(0); transition: transform 0.2s; }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-phone { font-size: 0.9rem; color: var(--soft-ink); }
.nav-phone strong { color: var(--red); font-size: 1.05rem; }
.btn-nav { display: inline-block; padding: 10px 24px; border-radius: 50px; font-weight: 700; font-size: 0.9rem; background: var(--red); color: white; transition: all 0.2s; }
.btn-nav:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(230, 0, 18, 0.3); }
.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--ink); }

/* ========== 英雄区 ========== */
.hero { margin-top: var(--nav-height); position: relative; background: var(--ink); overflow: hidden; min-height: 520px; display: flex; align-items: center; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.75; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,26,26,0.3) 0%, rgba(26,26,26,0.7) 100%); }
.hero-content { position: relative; z-index: 2; text-align: center; color: white; padding: 80px 24px; max-width: 800px; margin: 0 auto; }
.hero-badge { display: inline-block; padding: 6px 20px; border-radius: 50px; background: rgba(255,212,0,0.2); border: 1px solid rgba(255,212,0,0.4); color: var(--yellow); font-weight: 600; font-size: 0.85rem; margin-bottom: 20px; backdrop-filter: blur(4px); }
.hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.hero h1 .hl { color: var(--yellow); }
.hero p { font-size: 1.1rem; opacity: 0.9; max-width: 600px; margin: 0 auto 32px; }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary { display: inline-block; padding: 14px 36px; border-radius: 50px; font-weight: 700; font-size: 1rem; background: var(--yellow); color: var(--ink); transition: all 0.2s; }
.btn-primary:hover { background: var(--yellow-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,180,0,0.4); }
.btn-outline { display: inline-block; padding: 14px 36px; border-radius: 50px; font-weight: 700; font-size: 1rem; border: 2px solid white; color: white; transition: all 0.2s; }
.btn-outline:hover { background: rgba(255,255,255,0.15); transform: translateY(-2px); }

/* ========== 数据条 ========== */
.stats-bar { background: var(--yellow); padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-item { padding: 16px; }
.stat-num { font-size: 2.5rem; font-weight: 800; color: var(--red); line-height: 1.1; }
.stat-num span { font-size: 1.4rem; }
.stat-label { font-size: 0.95rem; color: var(--soft-ink); margin-top: 4px; font-weight: 500; }

/* ========== Section 通用 ========== */
.section { padding: 80px 0; }
.section-warm { background: var(--warm-bg-light); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: 2rem; font-weight: 800; color: var(--ink); margin-bottom: 12px; }
.section-header h2 .hl { color: var(--red); }
.section-header p { color: var(--light-ink); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* ========== 产品展示 ========== */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.product-card { background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: all 0.3s; }
.product-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,0.12); }
.product-card-img { height: 200px; background: var(--warm-bg); display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.product-card-body { padding: 24px; }
.product-card-body h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.product-card-body p { font-size: 0.9rem; color: var(--light-ink); margin-bottom: 12px; }
.product-card-body .price { font-weight: 800; color: var(--red); font-size: 1.2rem; }
.product-card-body .price small { font-size: 0.8rem; color: var(--light-ink); text-decoration: line-through; margin-left: 8px; }

/* ========== 加盟吸引力 ========== */
.attraction-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.attraction-card { text-align: center; padding: 40px 24px; background: white; border-radius: var(--radius); box-shadow: var(--shadow); transition: transform 0.3s; }
.attraction-card:hover { transform: translateY(-4px); }
.attraction-card .icon { font-size: 2.5rem; margin-bottom: 16px; }
.attraction-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.attraction-card p { font-size: 0.9rem; color: var(--light-ink); }

/* ========== 九大优势 ========== */
.advantages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.adv-card { display: flex; gap: 16px; padding: 24px; background: white; border-radius: var(--radius); box-shadow: var(--shadow); transition: all 0.3s; }
.adv-card:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
.adv-card .adv-icon { font-size: 1.8rem; flex-shrink: 0; width: 56px; height: 56px; background: var(--warm-bg); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.adv-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.adv-card p { font-size: 0.85rem; color: var(--light-ink); line-height: 1.5; }

/* ========== 加盟流程 ========== */
.process-steps { display: flex; justify-content: center; flex-wrap: wrap; gap: 0; max-width: 1100px; margin: 0 auto; }
.process-step { flex: 1; min-width: 110px; text-align: center; padding: 16px 8px; position: relative; }
.process-step::after { content: '→'; position: absolute; right: -8px; top: 40px; font-size: 1.4rem; color: var(--yellow-dark); font-weight: 700; }
.process-step:last-child::after { display: none; }
.process-step .step-icon { width: 64px; height: 64px; margin: 0 auto 12px; background: var(--warm-bg); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.process-step .step-icon img { width: 32px; height: 32px; }
.process-step .step-num { font-weight: 800; color: var(--red); font-size: 0.85rem; margin-bottom: 4px; }
.process-step h4 { font-size: 0.9rem; font-weight: 700; }

/* ========== 好评 ========== */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.review-card { padding: 32px; background: white; border-radius: var(--radius); box-shadow: var(--shadow); position: relative; }
.review-card::before { content: '"'; font-size: 4rem; color: var(--yellow); position: absolute; top: 8px; left: 16px; line-height: 1; font-weight: 800; font-family: serif; }
.review-card p { font-size: 0.95rem; color: var(--soft-ink); padding-top: 20px; }
.review-card .reviewer { margin-top: 16px; font-weight: 700; color: var(--ink); font-size: 0.9rem; }

/* ========== CTA 区域 ========== */
.cta-section { padding: 80px 0; background: var(--red); color: white; text-align: center; }
.cta-section h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.cta-section p { font-size: 1.05rem; opacity: 0.9; margin-bottom: 32px; }
.cta-section .btn-primary { background: var(--yellow); color: var(--ink); }
.cta-section .btn-primary:hover { background: var(--yellow-light); }

/* ========== 表单 ========== */
.form-inline { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; max-width: 520px; margin: 0 auto; }
.form-inline input { padding: 14px 20px; border-radius: 50px; border: none; font-size: 0.95rem; font-family: var(--font); min-width: 180px; flex: 1; }
.form-inline button { padding: 14px 36px; border-radius: 50px; border: none; font-weight: 700; font-size: 0.95rem; font-family: var(--font); background: var(--yellow); color: var(--ink); cursor: pointer; transition: all 0.2s; white-space: nowrap; }
.form-inline button:hover { background: var(--yellow-light); }

/* ========== 页面头部 ========== */
.page-hero { margin-top: var(--nav-height); padding: 80px 0 60px; background: var(--warm-bg); text-align: center; }
.page-hero h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 12px; }
.page-hero p { font-size: 1.1rem; color: var(--light-ink); max-width: 600px; margin: 0 auto; }

/* ========== 关于页 ========== */
.about-intro { padding: 80px 0; }
.about-intro .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-intro .about-text h2 { font-size: 2rem; font-weight: 800; margin-bottom: 20px; }
.about-intro .about-text p { font-size: 1.05rem; color: var(--soft-ink); margin-bottom: 16px; line-height: 1.8; }
.about-intro .about-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-intro .about-img img { width: 100%; height: 400px; object-fit: cover; }

.mission-values { padding: 80px 0; background: var(--warm-bg-light); }
.mv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.mv-card { text-align: center; padding: 40px 24px; background: white; border-radius: var(--radius); box-shadow: var(--shadow); }
.mv-card .mv-icon { font-size: 2.5rem; margin-bottom: 16px; }
.mv-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; color: var(--red); }
.mv-card p { font-size: 0.95rem; color: var(--soft-ink); line-height: 1.6; }

/* ========== 产品页面 ========== */
.product-hero-item { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 60px 0; }
.product-hero-item:nth-child(even) { direction: rtl; }
.product-hero-item:nth-child(even) > * { direction: ltr; }
.product-hero-item .ph-img { height: 320px; background: var(--warm-bg); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product-hero-item .ph-img img { width: 100%; height: 100%; object-fit: cover; }
.product-hero-item .ph-info h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: 8px; }
.product-hero-item .ph-info .badge-star { display: inline-block; padding: 4px 14px; border-radius: 50px; background: var(--red); color: white; font-size: 0.8rem; font-weight: 700; margin-bottom: 12px; }
.product-hero-item .ph-info p { color: var(--soft-ink); margin-bottom: 16px; }
.product-hero-item .ph-info .ph-price { font-size: 1.8rem; font-weight: 800; color: var(--red); }
.product-hero-item .ph-info .ph-price .original { font-size: 1rem; color: var(--light-ink); text-decoration: line-through; margin-left: 12px; font-weight: 400; }

.product-menu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.product-menu-card { padding: 24px; background: white; border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; transition: transform 0.3s; }
.product-menu-card:hover { transform: translateY(-4px); }
.product-menu-card .pm-icon { font-size: 2.5rem; margin-bottom: 12px; }
.product-menu-card h4 { font-weight: 700; margin-bottom: 4px; }
.product-menu-card .pm-price { color: var(--red); font-weight: 700; }

/* ========== 加盟页 ========== */
.jiameng-highlight { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 60px; }
.jh-card { padding: 40px 24px; background: linear-gradient(135deg, #FFF7D6, #FFEC80); border-radius: var(--radius); text-align: center; }
.jh-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.jh-card p { font-size: 0.9rem; color: var(--soft-ink); }
.jh-card .jh-num { font-size: 2.2rem; font-weight: 800; color: var(--red); margin-bottom: 8px; }

.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--gray-border); padding: 20px 0; }
.faq-item h4 { font-size: 1.05rem; font-weight: 700; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-item h4::after { content: '+'; font-size: 1.3rem; color: var(--red); }
.faq-item p { font-size: 0.95rem; color: var(--soft-ink); margin-top: 8px; line-height: 1.6; }

/* ========== 联系我们 ========== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-info h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 24px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.contact-item .ci-icon { font-size: 1.3rem; width: 44px; height: 44px; background: var(--warm-bg); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item h4 { font-size: 0.85rem; color: var(--light-ink); margin-bottom: 2px; }
.contact-item p { font-size: 1.05rem; font-weight: 600; }
.contact-form { padding: 40px; background: white; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-form h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 24px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--gray-border); border-radius: var(--radius-sm); font-size: 0.95rem; font-family: var(--font); margin-bottom: 16px; }
.contact-form textarea { height: 120px; resize: vertical; }
.contact-form button { width: 100%; padding: 16px; border-radius: 50px; border: none; background: var(--red); color: white; font-weight: 700; font-size: 1rem; font-family: var(--font); cursor: pointer; transition: all 0.2s; }
.contact-form button:hover { background: var(--red-dark); }

/* ========== 页脚 ========== */
.footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; margin-bottom: 48px; }
.footer-brand h3 { color: var(--yellow); font-size: 1.3rem; font-weight: 800; margin-bottom: 12px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.6; }
.footer-col h4 { color: white; font-weight: 700; font-size: 0.95rem; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 0.9rem; color: rgba(255,255,255,0.6); margin-bottom: 8px; transition: color 0.2s; }
.footer-col a:hover { color: var(--yellow); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 0.8rem; }
.footer-bottom a { color: var(--yellow); }
.footer-bottom .powered { color: rgba(255,255,255,0.5); }

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .attraction-grid { grid-template-columns: 1fr; }
  .about-intro .about-grid { grid-template-columns: 1fr; }
  .product-hero-item { grid-template-columns: 1fr; direction: ltr !important; }
  .product-hero-item:nth-child(even) > * { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .mv-grid { grid-template-columns: 1fr; }
  .jiameng-highlight { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; position: fixed; top: var(--nav-height); left: 0; right: 0; background: white; flex-direction: column; padding: 24px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); gap: 20px; }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }
  .nav-phone { display: none; }
  .hero h1 { font-size: 1.8rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-num { font-size: 2rem; }
  .advantages-grid { grid-template-columns: 1fr; }
  .process-steps { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 16px; }
  .process-step { min-width: 120px; flex: 0 0 auto; }
  .section { padding: 56px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-inline { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-outline { text-align: center; }
  .product-grid { grid-template-columns: 1fr; }
}
