/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Segoe UI', Arial, 'Microsoft YaHei', sans-serif; color: #222; background: #fff; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }

/* ===== Container ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== Header ===== */
.header { background: #fff; border-bottom: 2px solid #003366; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }

.logo a { font-size: 24px; font-weight: 700; }
.logo-csc { color: #003366; }
.logo-bearings { color: #cc0000; margin-left: 4px; }

.nav { display: flex; gap: 28px; }
.nav-link { font-size: 15px; color: #333; padding: 4px 0; border-bottom: 2px solid transparent; transition: 0.2s; }
.nav-link:hover, .nav-link.active { color: #003366; border-bottom-color: #cc0000; }

/* Language Switcher */
.lang-switcher { display: flex; gap: 6px; align-items: center; }
.lang-switcher .lang-btn { background: none; border: 1px solid #ccc; color: #555; padding: 3px 10px; border-radius: 3px; font-size: 12px; transition: 0.2s; }
.lang-switcher .lang-btn:hover { border-color: #003366; color: #003366; }
.lang-switcher .lang-btn.active { background: #003366; color: #fff; border-color: #003366; }

.mobile-menu-btn { display: none; background: none; border: none; font-size: 24px; color: #003366; }
.mobile-nav { display: none; flex-direction: column; background: #fff; border-top: 1px solid #eee; padding: 16px 24px; }
.mobile-nav a { padding: 10px 0; border-bottom: 1px solid #f0f0f0; color: #333; }
.mobile-nav .mobile-lang { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.mobile-nav.active { display: flex; }

/* ===== Hero ===== */
.hero { position: relative; background: linear-gradient(135deg, #003366 0%, #004a8f 100%); color: #fff; padding: 120px 0; text-align: center; overflow: hidden; }
.hero-overlay { position: absolute; inset: 0; background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.05)"/></svg>'); opacity: 0.3; }
.hero-content { position: relative; z-index: 1; }
.hero h1 { font-size: 42px; font-weight: 700; margin-bottom: 16px; }
.hero p { font-size: 18px; margin-bottom: 32px; opacity: 0.9; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ===== Buttons ===== */
.btn { display: inline-block; padding: 12px 32px; border-radius: 4px; font-size: 15px; font-weight: 600; border: none; transition: 0.2s; }
.btn-primary { background: #cc0000; color: #fff; }
.btn-primary:hover { background: #aa0000; }

/* ===== Sections ===== */
.section { padding: 80px 0; }
.section-alt { background: #f7f9fc; }
.section-title { font-size: 32px; color: #003366; text-align: center; margin-bottom: 12px; }
.section-desc { text-align: center; color: #666; margin-bottom: 48px; font-size: 16px; }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
.about-text p { margin-bottom: 16px; color: #444; line-height: 1.8; }
.about-stats { display: grid; grid-template-columns: 1fr; gap: 24px; }
.stat { background: #fff; border-left: 4px solid #cc0000; padding: 24px; border-radius: 4px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); text-align: center; }
.stat-number { font-size: 36px; font-weight: 700; color: #003366; }
.stat-label { font-size: 14px; color: #666; margin-top: 4px; }

/* ===== Products ===== */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card { background: #fff; border-radius: 6px; padding: 32px 24px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); border: 1px solid #eee; transition: 0.2s; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.product-icon { font-size: 32px; margin-bottom: 16px; }
.product-card h3 { font-size: 18px; color: #003366; margin-bottom: 8px; }
.product-card p { font-size: 14px; color: #666; }

/* ===== News ===== */
.news-placeholder { text-align: center; padding: 48px; color: #999; font-size: 16px; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info h3 { font-size: 20px; color: #003366; margin-bottom: 16px; }
.contact-info p { margin-bottom: 12px; color: #444; }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px 16px; margin-bottom: 16px; border: 1px solid #ccc; border-radius: 4px; font-size: 14px; font-family: inherit; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: #003366; }

/* ===== Footer ===== */
.footer { background: #003366; color: #ccc; padding: 48px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; padding-bottom: 32px; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer-col p { font-size: 14px; margin-bottom: 8px; }
.footer-col a { display: block; font-size: 14px; margin-bottom: 8px; color: #aaa; transition: 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 16px 0; text-align: center; font-size: 13px; color: #888; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav { display: none; }
  .lang-switcher { display: none; }
  .mobile-menu-btn { display: block; }
  .hero h1 { font-size: 28px; }
  .hero { padding: 80px 0; }
  .about-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 600px) {
  .products-grid { grid-template-columns: 1fr; }
}
