/* ===== firepatch.cn - 工厂直供风格 ===== */
:root {
  --orange: #f04e23;
  --orange-dark: #c73d1a;
  --orange-light: #fff5f2;
  --black: #1a1a1a;
  --gray-900: #242424;
  --gray-700: #555;
  --gray-400: #999;
  --gray-200: #e8e8e8;
  --gray-100: #f7f7f7;
  --white: #fff;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
}

* { margin:0; padding:0; box-sizing:border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; color: var(--black); line-height: 1.7; background: var(--white); }
a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-dark); }
img { max-width: 100%; height: auto; }

/* Header */
.site-header { background: var(--black); color: var(--white); padding: 0.8rem 1.5rem; position: sticky; top: 0; z-index: 100; border-bottom: 3px solid var(--orange); }
.header-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.logo { color: var(--white); font-size: 1.2rem; font-weight: 700; letter-spacing: 1px; }
.logo .logo-sub { color: var(--orange); font-size: 0.75rem; font-weight: 400; margin-left: 6px; }
.main-nav { display: flex; gap: 1.5rem; align-items: center; }
.main-nav a { color: #bbb; font-size: 0.95rem; transition: color 0.2s; }
.main-nav a:hover, .main-nav a.active { color: var(--orange); }
.lang-switch { color: #888; font-size: 0.85rem; }
.lang-switch a { color: #888; }
.lang-switch a.active { color: var(--orange); font-weight: 700; }

/* Hero */
.hero { background: var(--black); color: var(--white); padding: 5rem 1.5rem; text-align: center; position: relative; overflow: hidden; }
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(240,78,35,0.92) 0%, rgba(199,61,26,0.85) 50%, rgba(26,26,26,0.95) 100%);
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
  mask-image: radial-gradient(ellipse 900px 500px at 50% 30%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 900px 500px at 50% 30%, black 20%, transparent 70%);
}
.hero-content { max-width: 800px; margin: 0 auto; position: relative; z-index: 1; }
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  padding: 0.35rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}
.hero h1 { font-size: 2.8rem; line-height: 1.25; margin-bottom: 0.8rem; font-weight: 800; }
.hero h1 .highlight { color: #ffd666; }
.hero-desc { font-size: 1.15rem; opacity: 0.85; margin-bottom: 2.2rem; font-weight: 400; }
.hero-stats { display: flex; gap: 2.5rem; justify-content: center; margin-bottom: 2.2rem; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat strong { display: block; font-size: 1.6rem; color: #ffd666; font-weight: 700; }
.hero-stat span { font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.btn-primary { display: inline-block; background: var(--orange); color: var(--white); padding: 0.75rem 2rem; border-radius: var(--radius); font-weight: 600; font-size: 1rem; border: none; cursor: pointer; transition: background 0.2s; }
.btn-primary:hover { background: var(--orange-dark); color: var(--white); }
.btn-outline { display: inline-block; border: 2px solid rgba(255,255,255,0.7); color: var(--white); padding: 0.75rem 2rem; border-radius: var(--radius); font-weight: 600; font-size: 1rem; transition: all 0.2s; }
.btn-outline:hover { background: rgba(255,255,255,0.15); color: var(--white); }
.btn-large { padding: 1rem 3rem; font-size: 1.1rem; }
.btn-text { color: var(--orange); font-weight: 600; }
.btn-text:hover { color: var(--orange-dark); }

/* Section */
.section-inner { max-width: 1200px; margin: 0 auto; padding: 4rem 1.5rem; }
section h2 { font-size: 2rem; margin-bottom: 2rem; text-align: center; }

/* Features */
.features { background: var(--white); }
.features .section-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.feature-card { text-align: center; padding: 0; border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; transition: box-shadow 0.3s; background: var(--white); }
.feature-card:hover { box-shadow: var(--shadow); }
.feature-img { width: 100%; height: 180px; overflow: hidden; }
.feature-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature-card h3 { font-size: 1.15rem; margin: 1rem 0 0.3rem; padding: 0 1rem; color: var(--black); }
.feature-card p { color: var(--gray-700); font-size: 0.9rem; padding: 0 1rem 1.2rem; }

/* Product Preview */
.product-preview { background: var(--gray-100); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-bottom: 2rem; }
.product-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-align: center; padding-bottom: 1.5rem; transition: transform 0.2s; }
.product-card:hover { transform: translateY(-4px); }
.product-card img { width: 100%; height: 240px; object-fit: cover; }
.product-card h3 { font-size: 1.1rem; margin: 1rem 0 0.3rem; }
.product-card p { color: var(--gray-700); font-size: 0.9rem; }
.product-card .price { display: inline-block; margin-top: 0.8rem; color: var(--orange); font-weight: 700; font-size: 1.1rem; }

/* Why Us */
.why-us { background: var(--black); color: var(--white); }
.why-us h2 { color: var(--white); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.why-item strong { display: block; font-size: 2.2rem; color: var(--orange); }
.why-item span { font-size: 0.95rem; color: #aaa; }

/* Applications - Scene Grid */
.applications { background: var(--gray-100); }
.scene-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
@media (max-width: 768px) { .scene-grid { grid-template-columns: repeat(2, 1fr); } }
.scene-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.2s, box-shadow 0.2s; }
.scene-card:hover { transform: translateY(-3px); box-shadow: 0 4px 20px rgba(0,0,0,0.12); }
.scene-card img { width: 100%; height: 150px; object-fit: cover; display: block; }
.scene-card span { display: block; padding: 0.8rem; text-align: center; font-size: 0.88rem; font-weight: 600; color: var(--black); }

/* CTA */
.cta-section { background: var(--orange); color: var(--white); text-align: center; }
.cta-section h2 { color: var(--white); margin-bottom: 0.5rem; }
.cta-section p { margin-bottom: 1.5rem; font-size: 1.1rem; opacity: 0.9; }
.cta-section .btn-primary { background: var(--black); }
.cta-section .btn-primary:hover { background: #333; }

/* Page Hero */
.page-hero { background: linear-gradient(135deg, rgba(240,78,35,0.9) 0%, rgba(199,61,26,0.8) 100%); color: var(--white); padding: 3rem 1.5rem; text-align: center; }
.page-hero h1 { font-size: 2.2rem; margin-bottom: 0.5rem; }
.page-hero p { opacity: 0.8; font-size: 1.1rem; }

/* Product Detail List */
.product-detail-list { display: flex; flex-direction: column; gap: 3rem; }
.product-detail { border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; }
.product-detail .product-image-big { width: 100%; }
.product-detail .product-image-big img { width: 100%; height: auto; display: block; max-height: 420px; object-fit: cover; }
.product-detail .product-info { padding: 2rem; }
.product-tagline { color: var(--orange); font-weight: 600; margin-bottom: 1rem; }

/* Spec Table */
.spec-table { width: 100%; border-collapse: collapse; margin-bottom: 1rem; }
.spec-table td { padding: 0.4rem 0.5rem; border-bottom: 1px solid var(--gray-200); font-size: 0.95rem; }
.spec-table td:first-child { color: var(--gray-700); width: 30%; }

/* FAQ */
.faq { background: var(--gray-100); }
.faq-item { max-width: 800px; margin: 0 auto 1.5rem; }
.faq-item h3 { font-size: 1.1rem; margin-bottom: 0.4rem; color: var(--black); }
.faq-item p { color: var(--gray-700); }

/* Wholesale */
.wholesale-intro { max-width: 800px; margin: 0 auto 3rem; text-align: center; }
.wholesale-intro p { color: var(--gray-700); font-size: 1.05rem; }
.price-table-wrap { overflow-x: auto; margin-bottom: 2rem; }
.price-table { width: 100%; border-collapse: collapse; text-align: center; }
.price-table th { background: var(--black); color: var(--white); padding: 0.8rem; font-size: 0.95rem; }
.price-table td { padding: 0.8rem; border: 1px solid var(--gray-200); font-size: 0.95rem; }
.price-table tr:nth-child(even) { background: var(--gray-100); }
.wholesale-notes { max-width: 800px; margin: 0 auto 3rem; background: var(--orange-light); padding: 2rem; border-radius: var(--radius); }
.wholesale-notes h3 { color: var(--orange-dark); margin-bottom: 1rem; }
.wholesale-notes ul { list-style: none; }
.wholesale-notes li { padding: 0.4rem 0; font-size: 0.95rem; }

/* Forms */
.inquiry-form, .partner-form { max-width: 650px; margin: 0 auto; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form input, .contact-form select, .contact-form textarea { padding: 0.75rem; border: 1px solid var(--gray-200); border-radius: var(--radius); font-size: 1rem; font-family: inherit; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--orange); }

/* Partner */
.partner-type-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-bottom: 3rem; }
.partner-type { border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 1.5rem; }
.partner-type h3 { margin-bottom: 0.5rem; }
.partner-type p { color: var(--gray-700); font-size: 0.95rem; }
.partner-benefits { margin-bottom: 3rem; }
.benefit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 0.75rem; }
.benefit-item { padding: 0.5rem; font-size: 0.95rem; color: var(--gray-700); }
.partner-form { margin-bottom: 3rem; }

/* About - Simple */
.about-simple { max-width: 700px; margin: 0 auto 3rem; text-align: center; font-size: 1.15rem; color: var(--orange-dark); line-height: 1.8; padding: 2rem; background: var(--orange-light); border-radius: var(--radius); }
.about-contact h2 { margin-bottom: 1.5rem; }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem; max-width: 800px; margin: 0 auto; }
.contact-card { text-align: center; padding: 1.5rem; border: 1px solid var(--gray-200); border-radius: var(--radius); background: var(--white); }
.contact-card .contact-icon { font-size: 1.8rem; margin-bottom: 0.5rem; }
.contact-card h3 { font-size: 1rem; margin-bottom: 0.3rem; color: var(--black); }
.contact-card p { color: var(--gray-700); font-size: 0.95rem; }

/* Footer */
.site-footer { background: var(--black); color: #aaa; padding: 3rem 1.5rem 1rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-col h4 { color: var(--white); margin-bottom: 0.75rem; font-size: 1rem; }
.footer-col a { display: block; color: #aaa; font-size: 0.9rem; margin-bottom: 0.4rem; }
.footer-col a:hover { color: var(--orange); }
.footer-col p { font-size: 0.9rem; }
.footer-bottom { text-align: center; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid #333; font-size: 0.85rem; }

@media (max-width: 768px) {
  .hero h1 { font-size: 1.8rem; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .product-detail { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .main-nav { display: none; } /* mobile: simple layout */
}
