/* ========== Reset & Base ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif; color: #333; line-height: 1.6; }
a { text-decoration: none; color: inherit; transition: color .3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 32px; color: #333; margin-bottom: 8px; }
.section-title p { font-size: 14px; color: #999; text-transform: uppercase; letter-spacing: 2px; }

/* ========== Header / Navigation ========== */
.header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background: rgba(255,255,255,.95); box-shadow: 0 2px 10px rgba(0,0,0,.08); transition: background .3s; }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 700; color: #ff6b3b; }
.logo img { width: 40px; height: 40px; }
.logo span { color: #333; }
.nav { display: flex; align-items: center; gap: 5px; }
.nav a { padding: 8px 16px; font-size: 15px; color: #555; border-radius: 4px; transition: all .3s; }
.nav a:hover, .nav a.active { color: #ff6b3b; background: rgba(255,107,59,.06); }
.nav .dropdown { position: relative; }
.nav .dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: #fff; min-width: 140px; box-shadow: 0 4px 20px rgba(0,0,0,.1); border-radius: 6px; padding: 8px 0; z-index: 10; }
.nav .dropdown:hover .dropdown-menu { display: block; }
.nav .dropdown-menu a { display: block; padding: 8px 20px; font-size: 14px; }
.header-btn { background: #ff6b3b; color: #fff !important; padding: 8px 20px !important; border-radius: 20px; }
.header-btn:hover { background: #e55a2b; }
.mobile-toggle { display: none; font-size: 24px; cursor: pointer; color: #333; }

/* ========== Hero Banner ========== */
.hero { position: relative; height: 100vh; min-height: 600px; background: url('../images/bg/banner.jpg') center center / cover no-repeat; display: flex; align-items: center; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15,20,50,.55); }
.hero-content { position: relative; z-index: 2; color: #fff; max-width: 700px; }
.hero-content h1 { font-size: 48px; font-weight: 700; margin-bottom: 20px; line-height: 1.3; }
.hero-content p { font-size: 18px; color: rgba(255,255,255,.8); margin-bottom: 30px; line-height: 1.8; }
.hero-stats { display: flex; gap: 40px; margin-top: 40px; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat .num { font-size: 36px; font-weight: 700; color: #ff6b3b; }
.hero-stat .label { font-size: 14px; color: rgba(255,255,255,.6); margin-top: 4px; }

/* ========== Sub-page Banner ========== */
.page-banner { position: relative; height: 350px; background: url('../images/bg/banner.jpg') center center / cover no-repeat; display: flex; align-items: center; justify-content: center; text-align: center; margin-top: 80px; }
.page-banner::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15,20,50,.6); }
.page-banner > * { position: relative; z-index: 2; }
.page-banner h1 { font-size: 42px; color: #fff; margin-bottom: 10px; }
.page-banner p { font-size: 16px; color: rgba(255,255,255,.7); }
.page-banner .breadcrumb { margin-top: 15px; }
.page-banner .breadcrumb a { color: rgba(255,255,255,.6); font-size: 14px; }
.page-banner .breadcrumb a:hover { color: #ff6b3b; }
.page-banner .breadcrumb span { color: rgba(255,255,255,.4); margin: 0 8px; }

/* ========== Service Tabs (sub-page nav) ========== */
.service-tabs { background: #fff; border-bottom: 1px solid #eee; position: sticky; top: 80px; z-index: 100; }
.service-tabs .container { display: flex; justify-content: center; gap: 0; }
.service-tabs a { padding: 18px 30px; font-size: 15px; color: #666; border-bottom: 3px solid transparent; transition: all .3s; }
.service-tabs a:hover, .service-tabs a.active { color: #ff6b3b; border-bottom-color: #ff6b3b; }

/* ========== Services Section (Homepage) ========== */
.services-section { padding: 100px 0; background: #f9f9f9; }
.service-group { margin-bottom: 50px; }
.service-group-title { font-size: 20px; color: #333; margin-bottom: 20px; padding-left: 15px; border-left: 4px solid #ff6b3b; }
.service-group-title span { font-size: 13px; color: #999; margin-left: 10px; }
.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 15px; }
.service-card { background: #fff; padding: 25px 20px; text-align: center; border-radius: 8px; box-shadow: 0 2px 15px rgba(0,0,0,.05); transition: all .3s; cursor: pointer; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 8px 30px rgba(255,107,59,.15); }
.service-card .icon { width: 50px; height: 50px; margin: 0 auto 15px; background: linear-gradient(135deg, #ff6b3b, #ff8f6b); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; }
.service-card h4 { font-size: 14px; color: #333; }

/* ========== About Section (Homepage) ========== */
.about-section { padding: 100px 0; background: url('../images/bg/bg_company_brief.png') center center / cover no-repeat; position: relative; }
.about-section::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255,255,255,.88); }
.about-section > .container { position: relative; z-index: 2; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text h2 { font-size: 32px; margin-bottom: 20px; color: #333; }
.about-text p { font-size: 15px; color: #666; line-height: 2; margin-bottom: 15px; }
.about-text .btn-more { display: inline-block; margin-top: 15px; padding: 10px 30px; border: 2px solid #ff6b3b; color: #ff6b3b; border-radius: 25px; font-size: 14px; transition: all .3s; }
.about-text .btn-more:hover { background: #ff6b3b; color: #fff; }
.about-image { position: relative; }
.about-image .img-placeholder { width: 100%; height: 400px; background: linear-gradient(135deg, #f0f0f0, #e0e0e0); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #999; font-size: 16px; }

/* ========== Applicable People ========== */
.people-section { padding: 80px 0; background: #f9f9f9; }
.people-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.people-card { background: #fff; padding: 40px 30px; text-align: center; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,.06); transition: all .3s; overflow: hidden; position: relative; }
.people-card .people-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: .15; transition: opacity .3s; }
.people-card:hover .people-bg { opacity: .25; }
.people-card:hover { transform: translateY(-5px); box-shadow: 0 8px 30px rgba(0,0,0,.1); }
.people-card .icon { width: 70px; height: 70px; margin: 0 auto 20px; background: linear-gradient(135deg, #ff6b3b, #ff8f6b); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 28px; position: relative; z-index: 2; }
.people-card h3 { font-size: 20px; margin-bottom: 15px; color: #333; position: relative; z-index: 2; }
.people-card .btn-consult { display: inline-block; padding: 8px 25px; background: #ff6b3b; color: #fff; border-radius: 20px; font-size: 14px; transition: background .3s; position: relative; z-index: 2; }
.people-card .btn-consult:hover { background: #e55a2b; }

/* ========== Why Choose Us ========== */
.why-section { padding: 100px 0; background: url('../images/bg/bg_home_why_choose_us.jpg') center center / cover no-repeat; position: relative; }
.why-section::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255,255,255,.85); }
.why-section > .container { position: relative; z-index: 2; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.why-card { text-align: center; padding: 30px 20px; }
.why-card .icon { width: 60px; height: 60px; margin: 0 auto 20px; border: 2px solid #ff6b3b; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #ff6b3b; font-size: 24px; }
.why-card h3 { font-size: 18px; margin-bottom: 12px; color: #333; }
.why-card p { font-size: 14px; color: #888; line-height: 1.8; }

/* ========== Service Process ========== */
.process-section { padding: 100px 0; background: url('../images/bg/bg_service_step_top.jpg') center center / cover no-repeat; color: #fff; position: relative; }
.process-section::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15,20,50,.7); }
.process-section > .container { position: relative; z-index: 2; }
.process-section .section-title h2 { color: #fff; }
.process-section .section-title p { color: rgba(255,255,255,.5); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.process-card { text-align: center; padding: 30px 15px; position: relative; }
.process-card .step-num { width: 50px; height: 50px; margin: 0 auto 20px; border: 2px solid #ff6b3b; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #ff6b3b; font-size: 20px; font-weight: 700; }
.process-card h3 { font-size: 18px; margin-bottom: 10px; }
.process-card p { font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.8; }

/* ========== Company Stats Bar ========== */
.stats-bar { padding: 60px 0; background: #ff6b3b; color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-item .num { font-size: 42px; font-weight: 700; }
.stat-item .label { font-size: 14px; margin-top: 5px; opacity: .8; }

/* ========== Detail Content Sections ========== */
.detail-section { padding: 80px 0; }
.detail-section:nth-child(even) { background: #f9f9f9; }
.detail-section .section-desc { text-align: center; max-width: 800px; margin: 0 auto 50px; font-size: 15px; color: #666; line-height: 2; }

/* Comparison Table */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; }
.compare-col { padding: 30px; border-radius: 12px; }
.compare-col.good { background: #fff5f0; border: 2px solid #ff6b3b; }
.compare-col.bad { background: #f5f5f5; border: 2px solid #ddd; }
.compare-col h3 { font-size: 20px; margin-bottom: 20px; text-align: center; }
.compare-col ul li { padding: 10px 0; font-size: 14px; color: #555; border-bottom: 1px solid rgba(0,0,0,.05); display: flex; align-items: flex-start; gap: 10px; }
.compare-col.good ul li::before { content: '✓'; color: #ff6b3b; font-weight: 700; }
.compare-col.bad ul li::before { content: '✗'; color: #ccc; font-weight: 700; }

/* Steps */
.steps-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 40px; }
.step-card { text-align: center; padding: 20px 10px; position: relative; }
.step-card .step-num { width: 40px; height: 40px; margin: 0 auto 15px; background: #ff6b3b; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; }
.step-card h4 { font-size: 15px; margin-bottom: 8px; color: #333; }
.step-card p { font-size: 12px; color: #999; }

/* Service List */
.service-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.service-list-item { display: flex; align-items: flex-start; gap: 15px; padding: 20px; background: #fff; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.service-list-item .num { width: 36px; height: 36px; min-width: 36px; background: #ff6b3b; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; }
.service-list-item p { font-size: 14px; color: #555; }

/* Highlights */
.highlights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.highlight-card { background: #fff; padding: 30px; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,.06); text-align: center; transition: all .3s; }
.highlight-card:hover { transform: translateY(-5px); }
.highlight-card .icon { width: 50px; height: 50px; margin: 0 auto 15px; background: linear-gradient(135deg, #ff6b3b, #ff8f6b); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 22px; }
.highlight-card h3 { font-size: 16px; margin-bottom: 10px; color: #333; }
.highlight-card p { font-size: 13px; color: #888; line-height: 1.8; }

/* Service Area Cards */
.area-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; margin-top: 40px; }
.area-card { background: #fff; border-radius: 12px; padding: 40px; box-shadow: 0 4px 20px rgba(0,0,0,.06); }
.area-card h3 { font-size: 22px; color: #333; margin-bottom: 8px; }
.area-card .subtitle { font-size: 14px; color: #ff6b3b; margin-bottom: 20px; }
.area-card ul li { padding: 8px 0; font-size: 14px; color: #555; border-bottom: 1px solid #f0f0f0; }

/* News */
.news-section { padding: 80px 0; }
.news-list { max-width: 800px; margin: 0 auto; }
.news-item { display: flex; align-items: center; padding: 20px 0; border-bottom: 1px solid #eee; transition: all .3s; }
.news-item:hover { padding-left: 10px; }
.news-item .date { min-width: 100px; font-size: 14px; color: #999; }
.news-item .title { font-size: 16px; color: #333; flex: 1; }
.news-item .title:hover { color: #ff6b3b; }

/* About Page */
.about-content { padding: 80px 0; }
.about-philosophy { max-width: 800px; margin: 0 auto; text-align: center; }
.about-philosophy blockquote { font-size: 18px; color: #555; line-height: 2; font-style: italic; padding: 30px; border-left: 4px solid #ff6b3b; text-align: left; background: #fafafa; border-radius: 0 8px 8px 0; }

/* ========== Footer ========== */
.footer { background: url('../images/bg/bg_footer.jpg') center center / cover no-repeat; color: rgba(255,255,255,.7); padding: 60px 0 30px; position: relative; }
.footer::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(26,26,46,.85); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 40px; position: relative; z-index: 2; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 20px; }
.footer-col a { display: block; padding: 5px 0; font-size: 14px; color: rgba(255,255,255,.5); transition: color .3s; }
.footer-col a:hover { color: #ff6b3b; }
.footer-col p { font-size: 14px; line-height: 2; }
.footer-col .phone { font-size: 24px; color: #ff6b3b; font-weight: 700; }
.footer-col .qrcode { width: 120px; height: 120px; background: #fff; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #999; font-size: 12px; margin-top: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; text-align: center; font-size: 13px; color: rgba(255,255,255,.4); position: relative; z-index: 2; }

/* ========== Floating Sidebar ========== */
.float-sidebar { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 999; display: flex; flex-direction: column; gap: 2px; }
.float-sidebar a { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 60px; padding: 12px 5px; background: #ff6b3b; color: #fff; font-size: 12px; text-align: center; transition: background .3s; }
.float-sidebar a:hover { background: #e55a2b; }
.float-sidebar a .icon { font-size: 18px; margin-bottom: 4px; }

/* ========== Add to Cart Button ========== */
.btn-add-cart { display: inline-block; padding: 10px 30px; background: #ff6b3b; color: #fff; border: none; border-radius: 25px; font-size: 15px; font-weight: 600; cursor: pointer; transition: all .3s; }
.btn-add-cart:hover { background: #e55a2b; transform: scale(1.05); }

/* ========== Payment Modal ========== */
.payment-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,.6); z-index: 10000; align-items: center; justify-content: center; }
.payment-modal-content { background: #fff; border-radius: 16px; padding: 40px; text-align: center; max-width: 420px; width: 90%; position: relative; animation: modalIn .3s ease; }
@keyframes modalIn { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: scale(1); } }
.payment-modal-close { position: absolute; top: 15px; right: 20px; font-size: 24px; color: #999; cursor: pointer; transition: color .3s; background: none; border: none; }
.payment-modal-close:hover { color: #333; }
.payment-modal-content h3 { font-size: 22px; color: #333; margin-bottom: 20px; }
.payment-method-tabs { display: flex; justify-content: center; gap: 20px; margin-bottom: 25px; }
.payment-method-tab { padding: 10px 25px; border: 2px solid #eee; border-radius: 8px; cursor: pointer; font-size: 14px; font-weight: 600; transition: all .3s; background: #fff; }
.payment-method-tab.active { border-color: #ff6b3b; color: #ff6b3b; background: #fff5f0; }
.qr-display { width: 220px; height: 220px; margin: 0 auto 20px; background: #f9f9f9; border: 2px dashed #ddd; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.qr-display .qr-icon { font-size: 48px; margin-bottom: 10px; }
.qr-display .qr-text { font-size: 16px; color: #ff6b3b; font-weight: 600; }
.qr-display .qr-sub { font-size: 12px; color: #999; margin-top: 5px; }
.payment-total { font-size: 14px; color: #666; margin-bottom: 15px; }

/* ========== Login Prompt Modal ========== */
.login-prompt-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,.5); z-index: 10000; align-items: center; justify-content: center; }
.login-prompt-content { background: #fff; border-radius: 16px; padding: 35px 30px; text-align: center; max-width: 380px; width: 90%; position: relative; animation: modalIn .3s ease; }
.login-prompt-content .prompt-icon { width: 64px; height: 64px; margin: 0 auto 20px; background: #fff5f0; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 32px; }
.login-prompt-content h3 { font-size: 20px; color: #333; margin-bottom: 10px; }
.login-prompt-content p { font-size: 14px; color: #888; margin-bottom: 25px; line-height: 1.6; }
.login-prompt-actions { display: flex; gap: 15px; justify-content: center; }
.login-prompt-actions button { padding: 10px 30px; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all .3s; border: none; }
.btn-prompt-cancel { background: #f0f0f0; color: #666; }
.btn-prompt-cancel:hover { background: #e0e0e0; }
.btn-prompt-confirm { background: #ff6b3b; color: #fff; }
.btn-prompt-confirm:hover { background: #e55a2b; }

/* ========== Products Grid ========== */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; }
.product-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,.06); transition: all .3s; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 8px 30px rgba(0,0,0,.1); }
.product-info { padding: 20px; }
.product-info h3 { font-size: 17px; color: #333; margin-bottom: 10px; }
.product-desc { font-size: 13px; color: #888; line-height: 1.7; margin-bottom: 15px; min-height: 44px; }
.product-footer { display: flex; justify-content: space-between; align-items: center; }
.product-price { font-size: 22px; font-weight: 700; color: #ff6b3b; }

/* ========== Responsive ========== */
@media (max-width: 992px) {
  .hero-content h1 { font-size: 36px; }
  .about-grid { grid-template-columns: 1fr; }
  .people-grid, .why-grid, .highlights-grid { grid-template-columns: 1fr 1fr; }
  .process-grid, .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .compare-grid, .area-grid, .service-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav { display: none; }
  .mobile-toggle { display: block; }
  .hero { min-height: 500px; }
  .hero-content h1 { font-size: 28px; }
  .hero-stats { gap: 20px; }
  .page-banner { height: 250px; }
  .page-banner h1 { font-size: 28px; }
  .people-grid, .why-grid, .highlights-grid { grid-template-columns: 1fr; }
  .process-grid, .steps-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .service-tabs { overflow-x: auto; }
  .service-tabs a { white-space: nowrap; padding: 15px 18px; font-size: 14px; }
  .float-sidebar { display: none; }
}
