/* Shangling Technology - English Site Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif; color: #333; line-height: 1.6; background: #f7f9fc; }
a { text-decoration: none; color: #0d4f8b; }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { background: linear-gradient(135deg, #0a3d6b 0%, #0d4f8b 100%); color: #fff; }
.topbar { background: rgba(0,0,0,0.15); font-size: 13px; padding: 6px 0; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.topbar a { color: #cfe3f5; }
.main-header { padding: 18px 0; }
.main-header .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo .logo-badge { width: 48px; height: 48px; background: #fff; color: #0d4f8b; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; line-height: 1.1; text-align: center; }
.logo h1 { font-size: 20px; font-weight: 700; letter-spacing: 0.5px; }
.logo .logo-sub { font-size: 12px; color: #a9c9e8; }
.header-phone { text-align: right; font-size: 14px; }
.header-phone strong { font-size: 22px; color: #ffd479; display: block; }

/* Nav */
.site-nav { background: #0a3d6b; border-top: 1px solid rgba(255,255,255,0.1); }
.site-nav .container { display: flex; flex-wrap: wrap; }
.site-nav a { color: #dbe8f5; padding: 13px 22px; font-size: 15px; font-weight: 500; transition: 0.2s; }
.site-nav a:hover, .site-nav a.active { background: #0d4f8b; color: #fff; }

/* Hero */
.hero { background: linear-gradient(120deg, #0d4f8b 0%, #1a6bb5 60%, #2a83c9 100%); color: #fff; padding: 60px 0; }
.hero h2 { font-size: 34px; font-weight: 700; margin-bottom: 14px; line-height: 1.3; }
.hero p { font-size: 17px; color: #dbeaf7; max-width: 760px; margin-bottom: 24px; }
.hero .hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 12px 26px; border-radius: 6px; font-weight: 600; font-size: 15px; transition: 0.2s; }
.btn-primary { background: #ff8c2e; color: #fff; }
.btn-primary:hover { background: #e6761b; }
.btn-outline { border: 2px solid #fff; color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.15); }

/* Section */
.section { padding: 48px 0; }
.section-title { text-align: center; font-size: 28px; font-weight: 700; color: #0a3d6b; margin-bottom: 10px; }
.section-sub { text-align: center; color: #777; margin-bottom: 34px; }

/* Feature cards */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.feature { background: #fff; border-radius: 10px; padding: 26px; box-shadow: 0 2px 10px rgba(0,0,0,0.06); border-top: 4px solid #0d4f8b; }
.feature h3 { color: #0a3d6b; font-size: 18px; margin-bottom: 10px; }
.feature p { color: #555; font-size: 14px; }

/* Product cards */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.product-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.06); display: flex; flex-direction: column; transition: 0.2s; }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(0,0,0,0.1); }
.product-card .pc-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.product-card h3 { font-size: 17px; color: #0a3d6b; margin-bottom: 8px; line-height: 1.4; }
.product-card .pc-cat { font-size: 12px; color: #e6761b; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; font-weight: 600; }
.product-card p { font-size: 13.5px; color: #666; margin-bottom: 14px; flex: 1; }
.product-card .pc-link { color: #0d4f8b; font-weight: 600; font-size: 14px; }

/* Categories */
.cat-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 20px; }
.cat-item { background: #fff; border-radius: 10px; padding: 24px; box-shadow: 0 2px 10px rgba(0,0,0,0.06); border-left: 5px solid #0d4f8b; }
.cat-item h3 { font-size: 18px; color: #0a3d6b; margin-bottom: 8px; }
.cat-item p { font-size: 14px; color: #666; margin-bottom: 12px; }
.cat-item ul { list-style: none; }
.cat-item li { font-size: 13.5px; padding: 4px 0; border-bottom: 1px dashed #eee; }
.cat-item li:last-child { border: none; }
.cat-item li a { color: #0d4f8b; }

/* Page */
.page { background: #fff; border-radius: 10px; padding: 34px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); margin: 28px 0 48px; }
.page h1 { font-size: 26px; color: #0a3d6b; margin-bottom: 16px; }
.page h2 { font-size: 20px; color: #0a3d6b; margin: 22px 0 10px; }
.page p { margin-bottom: 14px; font-size: 15px; }
.breadcrumb { font-size: 13px; color: #888; margin-bottom: 16px; }
.breadcrumb a { color: #0d4f8b; }
.breadcrumb span { margin: 0 6px; color: #bbb; }

/* Product detail */
.prod-meta { background: #f0f6fc; border-radius: 8px; padding: 18px 22px; margin: 18px 0; }
.prod-meta h3 { font-size: 16px; color: #0a3d6b; margin-bottom: 10px; }
.prod-meta ul { list-style: none; }
.prod-meta li { padding: 6px 0; font-size: 14.5px; border-bottom: 1px solid #dfeaf5; }
.prod-meta li:last-child { border: none; }
.prod-meta li strong { color: #0a3d6b; }
.related { margin-top: 26px; }
.related h3 { font-size: 18px; color: #0a3d6b; margin-bottom: 12px; }
.related a { display: inline-block; background: #f0f6fc; border: 1px solid #d5e4f2; padding: 8px 16px; border-radius: 20px; margin: 0 8px 8px 0; font-size: 13.5px; color: #0d4f8b; }
.related a:hover { background: #0d4f8b; color: #fff; }

/* About/contact */
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin: 20px 0; }
.contact-box { background: #f0f6fc; border-radius: 10px; padding: 26px; }
.contact-box h3 { color: #0a3d6b; margin-bottom: 14px; font-size: 18px; }
.contact-box p { margin-bottom: 10px; font-size: 15px; }
.contact-box strong { color: #0a3d6b; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, #0a3d6b, #0d4f8b); color: #fff; text-align: center; padding: 40px 20px; }
.cta-band h3 { font-size: 24px; margin-bottom: 10px; }
.cta-band p { color: #cfe3f5; margin-bottom: 18px; }

/* Footer */
.site-footer { background: #0a2e4f; color: #a9c9e8; padding: 40px 0 0; font-size: 13.5px; }
.site-footer .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 30px; padding-bottom: 30px; }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 12px; }
.site-footer a { color: #a9c9e8; display: block; padding: 3px 0; }
.site-footer a:hover { color: #fff; }
.copyright { background: rgba(0,0,0,0.25); text-align: center; padding: 14px 0; font-size: 12.5px; color: #7fa3c4; }
.lang-switch { text-align: right; font-size: 13px; }
.lang-switch a { color: #cfe3f5; }

/* Responsive */
@media (max-width: 768px) {
  .hero h2 { font-size: 26px; }
  .site-nav .container { flex-direction: column; }
  .site-nav a { padding: 12px 16px; }
  .main-header .container { flex-direction: column; text-align: center; }
  .header-phone { text-align: center; }
  .page { padding: 22px; }
}
