:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --secondary: #06b6d4;
  --accent: #f59e0b;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #0f172a;
  --text-muted: #475569;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --container-max: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; background-color: var(--bg-page); color: var(--text-main); line-height: 1.6; }
body { overflow-x: hidden; min-height: 100vh; display: flex; flex-direction: column; }

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

header.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-color); }
.header-wrapper { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text-main); font-weight: 700; font-size: 1.25rem; }
.brand-logo img { height: 40px; width: auto; object-fit: contain; }

nav.main-nav { display: flex; align-items: center; }
.nav-links { display: flex; gap: 0; list-style: none; align-items: center; }
.nav-links li a { display: block; padding: 8px 12px; font-size: 0.92rem; font-weight: 500; color: var(--text-muted); text-decoration: none; transition: color 0.2s; white-space: nowrap; }
.nav-links li a:hover { color: var(--primary); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px; font-size: 0.95rem; font-weight: 600; border-radius: var(--radius-sm); text-decoration: none; cursor: pointer; transition: all 0.2s; border: none; }
.btn-primary { background-color: var(--primary); color: #ffffff !important; }
.btn-primary:hover { background-color: var(--primary-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background-color: transparent; color: var(--primary); border: 1px solid var(--primary); }
.btn-outline:hover { background-color: rgba(37,99,235,0.05); }

.mobile-toggle { display: none; background: none; border: none; font-size: 1.5rem; color: var(--text-main); cursor: pointer; }

section { padding: 70px 0; border-bottom: 1px solid rgba(226, 232, 240, 0.6); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 50px auto; }
.section-head .tag { display: inline-block; padding: 4px 12px; background: rgba(37,99,235,0.1); color: var(--primary); font-size: 0.85rem; font-weight: 600; border-radius: 20px; margin-bottom: 12px; }
.section-head h2 { font-size: 2.1rem; font-weight: 800; color: var(--text-main); margin-bottom: 12px; letter-spacing: -0.5px; }
.section-head p { font-size: 1.05rem; color: var(--text-muted); }

.hero-section { background: linear-gradient(135deg, #eff6ff 0%, #e0f2fe 50%, #f0f9ff 100%); padding: 90px 0 80px 0; text-align: center; position: relative; }
.hero-content { max-width: 860px; margin: 0 auto; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; background: #ffffff; border: 1px solid #bfdbfe; border-radius: 30px; font-size: 0.88rem; color: var(--primary); font-weight: 600; margin-bottom: 24px; box-shadow: var(--shadow-sm); }
.hero-title { font-size: 2.6rem; font-weight: 900; line-height: 1.25; color: var(--text-main); margin-bottom: 20px; letter-spacing: -1px; }
.hero-subtitle { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 36px; line-height: 1.7; }
.hero-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 50px; }
.hero-btns .btn { padding: 14px 32px; font-size: 1.05rem; }

.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; background: #ffffff; padding: 24px; border-radius: var(--radius-md); box-shadow: var(--shadow-md); border: 1px solid var(--border-color); }
.stat-item { text-align: center; }
.stat-number { font-size: 1.8rem; font-weight: 800; color: var(--primary); line-height: 1.2; }
.stat-label { font-size: 0.88rem; color: var(--text-muted); margin-top: 4px; }

.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card { background: var(--bg-card); border-radius: var(--radius-md); padding: 28px; border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); transition: transform 0.25s, box-shadow 0.25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-icon { width: 48px; height: 48px; border-radius: 10px; background: rgba(37,99,235,0.1); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 700; margin-bottom: 20px; }
.card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; color: var(--text-main); }
.card p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; }

.model-tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 30px; }
.model-tag { padding: 6px 14px; background: #ffffff; border: 1px solid var(--border-color); border-radius: 20px; font-size: 0.85rem; font-weight: 500; color: var(--text-muted); box-shadow: var(--shadow-sm); }

.steps-wrapper { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; position: relative; }
.step-card { background: #ffffff; padding: 24px; border-radius: var(--radius-md); border: 1px solid var(--border-color); text-align: center; position: relative; }
.step-num { width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #ffffff; display: flex; align-items: center; justify-content: center; font-weight: 700; margin: 0 auto 16px auto; }

.table-responsive { overflow-x: auto; width: 100%; background: #ffffff; border-radius: var(--radius-md); border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); }
table.custom-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.95rem; }
table.custom-table th, table.custom-table td { padding: 16px 20px; border-bottom: 1px solid var(--border-color); }
table.custom-table th { background: #f1f5f9; font-weight: 700; color: var(--text-main); }
table.custom-table tr:last-child td { border-bottom: none; }
table.custom-table tr:hover td { background: #f8fafc; }

.rating-box { background: linear-gradient(135deg, #1e293b, #0f172a); color: #ffffff; padding: 36px; border-radius: var(--radius-md); text-align: center; margin-bottom: 30px; }
.rating-score { font-size: 3.5rem; font-weight: 900; color: #f59e0b; line-height: 1; margin: 10px 0; }
.rating-stars { font-size: 1.5rem; color: #f59e0b; margin-bottom: 8px; }

.faq-list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: #ffffff; border: 1px solid var(--border-color); border-radius: var(--radius-sm); overflow: hidden; }
.faq-question { padding: 18px 24px; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; align-items: center; background: #ffffff; }
.faq-question::after { content: '+'; font-size: 1.3rem; color: var(--primary); transition: transform 0.2s; }
.faq-item.active .faq-question::after { content: '-'; }
.faq-answer { padding: 0 24px 18px 24px; color: var(--text-muted); font-size: 0.95rem; display: none; line-height: 1.7; border-top: 1px dashed #f1f5f9; margin-top: 8px; padding-top: 14px; }
.faq-item.active .faq-answer { display: block; }

.form-box { background: #ffffff; padding: 36px; border-radius: var(--radius-md); border: 1px solid var(--border-color); box-shadow: var(--shadow-md); max-width: 760px; margin: 0 auto; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 0.9rem; font-weight: 600; color: var(--text-main); }
.form-group input, .form-group select, .form-group textarea { padding: 12px 14px; border: 1px solid var(--border-color); border-radius: var(--radius-sm); font-size: 0.95rem; outline: none; transition: border-color 0.2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); }

.media-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.media-card { background: #ffffff; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-color); }
.media-card img { width: 100%; height: 180px; object-fit: cover; display: block; }
.media-body { padding: 16px; }
.media-body h4 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.media-body p { font-size: 0.88rem; color: var(--text-muted); }

.article-list { display: flex; flex-direction: column; gap: 12px; }
.article-item { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; background: #ffffff; border: 1px solid var(--border-color); border-radius: var(--radius-sm); text-decoration: none; color: var(--text-main); font-weight: 500; transition: background 0.2s; }
.article-item:hover { background: #f8fafc; color: var(--primary); }

.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.qr-box { text-align: center; background: #ffffff; padding: 24px; border-radius: var(--radius-md); border: 1px solid var(--border-color); width: 220px; margin: 0 auto; }
.qr-box img { max-width: 100%; height: auto; border-radius: var(--radius-sm); }

footer.site-footer { background: #0f172a; color: #94a3b8; padding: 60px 0 30px 0; margin-top: auto; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 2fr; gap: 40px; margin-bottom: 40px; }
.footer-col h4 { color: #ffffff; font-weight: 700; font-size: 1rem; margin-bottom: 16px; }
.footer-col p { line-height: 1.7; margin-bottom: 12px; }
.friend-links { display: flex; flex-wrap: wrap; gap: 10px; }
.friend-links a { color: #94a3b8; text-decoration: none; transition: color 0.2s; }
.friend-links a:hover { color: #ffffff; }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 24px; text-align: center; color: #64748b; font-size: 0.85rem; }

.float-kefu { position: fixed; right: 20px; bottom: 20px; z-index: 999; background: #ffffff; border: 1px solid var(--border-color); padding: 12px; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); text-align: center; width: 140px; }
.float-kefu img { width: 100px; height: 100px; object-fit: cover; border-radius: 4px; }
.float-kefu span { display: block; font-size: 0.78rem; font-weight: 600; color: var(--text-main); margin-top: 6px; }

@media (max-width: 992px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .header-wrapper { height: 60px; }
  .mobile-toggle { display: block; }
  nav.main-nav { display: none; position: absolute; top: 60px; left: 0; right: 0; background: #ffffff; border-bottom: 1px solid var(--border-color); padding: 16px; box-shadow: var(--shadow-md); }
  nav.main-nav.active { display: block; }
  .nav-links { flex-direction: column; align-items: flex-start; }
  .nav-links li a { padding: 10px 0; width: 100%; }
  .hero-title { font-size: 1.8rem; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .float-kefu { display: none; }
}