/* === 苏州宝润智能科技有限公司 - 企业官网样式 === */
:root {
    --primary: #1a56db;
    --primary-dark: #1342a8;
    --accent: #f59e0b;
    --text: #1f2937;
    --text-light: #6b7280;
    --bg: #ffffff;
    --bg-gray: #f9fafb;
    --border: #e5e7eb;
    --max-width: 1200px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "PingFang SC","Microsoft YaHei","Helvetica Neue",Arial,sans-serif; color: var(--text); line-height: 1.6; background: var(--bg); }
a { text-decoration: none; color: inherit; transition: color .2s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* Header */
.header { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.06); position: sticky; top: 0; z-index: 100; }
.header-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { font-size: 22px; font-weight: 700; color: var(--primary); display: flex; align-items: center; gap: 10px; }
.logo span { font-size: 14px; color: var(--text-light); font-weight: 400; }
.nav { display: flex; gap: 32px; }
.nav a { font-size: 15px; font-weight: 500; color: var(--text); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a.active { color: var(--primary); border-bottom-color: var(--primary); }
.mobile-menu { display: none; font-size: 24px; cursor: pointer; }

/* Hero Banner */
.hero { background: linear-gradient(135deg, #1a56db 0%, #1e40af 50%, #1e3a8a 100%); color: #fff; padding: 100px 20px 80px; text-align: center; }
.hero h1 { font-size: 42px; margin-bottom: 20px; letter-spacing: 1px; }
.hero p { font-size: 18px; opacity: .9; max-width: 680px; margin: 0 auto 36px; }
.hero .btn { display: inline-block; padding: 14px 36px; background: var(--accent); color: #fff; border-radius: 6px; font-size: 16px; font-weight: 600; transition: background .2s; }
.hero .btn:hover { background: #d97706; }

/* Section Common */
.section { padding: 72px 20px; }
.section-alt { background: var(--bg-gray); }
.container { max-width: var(--max-width); margin: 0 auto; }
.section-title { text-align: center; margin-bottom: 48px; }
.section-title h2 { font-size: 30px; color: var(--text); margin-bottom: 12px; }
.section-title p { color: var(--text-light); font-size: 16px; }
.section-title::after { content: ''; display: block; width: 48px; height: 3px; background: var(--primary); margin: 16px auto 0; border-radius: 2px; }

/* Cards Grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.card { background: #fff; border-radius: 10px; padding: 32px; border: 1px solid var(--border); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,.08); }
.card-icon { width: 56px; height: 56px; background: linear-gradient(135deg, var(--primary), #3b82f6); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 28px; color: #fff; margin-bottom: 20px; }
.card h3 { font-size: 20px; margin-bottom: 12px; }
.card p { color: var(--text-light); font-size: 14px; line-height: 1.8; }

/* Product Card */
.product-card { background: #fff; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); transition: transform .2s, box-shadow .2s; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,.08); }
.product-img { height: 200px; background: linear-gradient(135deg, #e0e7ff, #dbeafe); display: flex; align-items: center; justify-content: center; font-size: 48px; color: var(--primary); }
.product-info { padding: 24px; }
.product-info h3 { font-size: 18px; margin-bottom: 8px; }
.product-info p { color: var(--text-light); font-size: 14px; line-height: 1.7; margin-bottom: 12px; }
.product-tag { display: inline-block; padding: 3px 10px; background: #eff6ff; color: var(--primary); border-radius: 4px; font-size: 12px; font-weight: 500; }

/* About Page */
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-text h3 { font-size: 24px; margin-bottom: 16px; color: var(--primary); }
.about-text p { color: var(--text-light); margin-bottom: 16px; line-height: 1.9; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.stat-item { text-align: center; padding: 24px; background: #fff; border-radius: 10px; border: 1px solid var(--border); }
.stat-num { font-size: 36px; font-weight: 700; color: var(--primary); }
.stat-label { font-size: 14px; color: var(--text-light); margin-top: 6px; }

/* News */
.news-item { display: flex; gap: 24px; padding: 24px; background: #fff; border-radius: 10px; border: 1px solid var(--border); margin-bottom: 16px; transition: box-shadow .2s; }
.news-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.news-date { min-width: 80px; text-align: center; padding: 12px; background: var(--bg-gray); border-radius: 8px; }
.news-date .day { font-size: 28px; font-weight: 700; color: var(--primary); }
.news-date .month { font-size: 13px; color: var(--text-light); }
.news-body h3 { font-size: 18px; margin-bottom: 8px; }
.news-body p { color: var(--text-light); font-size: 14px; line-height: 1.7; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info-item { display: flex; gap: 16px; margin-bottom: 28px; }
.contact-icon { width: 48px; height: 48px; background: #eff6ff; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--primary); flex-shrink: 0; }
.contact-detail h4 { font-size: 16px; margin-bottom: 4px; }
.contact-detail p { color: var(--text-light); font-size: 14px; }
.contact-form { background: #fff; padding: 36px; border-radius: 10px; border: 1px solid var(--border); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.form-group input, .form-group textarea { width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: 6px; font-size: 14px; font-family: inherit; transition: border-color .2s; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }
.form-group textarea { height: 120px; resize: vertical; }
.submit-btn { width: 100%; padding: 14px; background: var(--primary); color: #fff; border: none; border-radius: 6px; font-size: 16px; font-weight: 600; cursor: pointer; transition: background .2s; }
.submit-btn:hover { background: var(--primary-dark); }

/* Footer */
.footer { background: #111827; color: #d1d5db; padding: 48px 20px 24px; }
.footer-inner { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer p, .footer a { font-size: 14px; color: #9ca3af; line-height: 2; }
.footer a:hover { color: #fff; }
.footer-bottom { max-width: var(--max-width); margin: 32px auto 0; padding-top: 24px; border-top: 1px solid #1f2937; text-align: center; font-size: 13px; color: #6b7280; }

/* Responsive */
@media (max-width: 768px) {
    .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 20px; gap: 16px; box-shadow: 0 4px 12px rgba(0,0,0,.1); }
    .nav.open { display: flex; }
    .mobile-menu { display: block; }
    .hero h1 { font-size: 28px; }
    .hero p { font-size: 15px; }
    .grid-3, .grid-2, .about-content, .contact-grid, .stats, .footer-inner { grid-template-columns: 1fr; }
    .section { padding: 48px 16px; }
}
