:root {
    --primary: #0e63af;
    --accent: #6eb02e;
    --primary-dark: #0a4f8a;
    --bg: #f4f6f9;
    --white: #ffffff;
    --text: #2c3e50;
    --text-light: #6c7a8a;
    --border: #e1e8ef;
    --shadow: 0 2px 16px rgba(14,99,175,0.10);
    --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0 40px;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon span { color: white; font-weight: 900; font-size: 18px; }
.logo-text { font-size: 20px; font-weight: 700; color: var(--primary); }
.logo-text small { display: block; font-size: 11px; font-weight: 400; color: var(--text-light); }

nav ul { display: flex; list-style: none; gap: 30px; }
nav a { text-decoration: none; color: var(--text); font-weight: 500; font-size: 15px; transition: color 0.2s; }
nav a:hover, nav a.active { color: var(--primary); }

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white) !important;
    padding: 10px 26px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(14,99,175,0.25);
}

.btn-primary:hover { box-shadow: 0 6px 20px rgba(14,99,175,0.35); transform: translateY(-1px); }

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #1565a8 60%, var(--accent) 100%);
    color: var(--white);
    text-align: center;
    padding: 90px 20px;
    position: relative;
    overflow: hidden;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.2;
}

.hero > div { position: relative; z-index: 1; }

.hero h2 { font-size: 44px; font-weight: 800; margin-bottom: 16px; letter-spacing: -0.5px; }
.hero p { font-size: 19px; opacity: 0.92; margin-bottom: 36px; }

/* Section */
.section { background: var(--white); margin: 32px 0; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.section-header { text-align: center; margin-bottom: 44px; padding-top: 48px; }
.section-header h2 { font-size: 32px; font-weight: 800; color: var(--primary); margin-bottom: 10px; }
.section-header p { color: var(--text-light); font-size: 16px; }

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 26px;
    padding: 0 40px 44px;
}

.product-card {
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.25s ease;
    border: 1px solid var(--border);
    background: var(--bg);
}

.product-card:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(14,99,175,0.14); border-color: var(--primary); }
.product-card-img { width: 100%; height: 200px; object-fit: cover; display: block; }
.product-card-content { padding: 22px; }
.product-card h3 { font-size: 17px; color: var(--primary); margin-bottom: 8px; font-weight: 700; }
.product-card p { color: var(--text-light); font-size: 14px; line-height: 1.6; margin-bottom: 16px; }

.btn-sm {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 9px 18px;
    border-radius: 7px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
}
.btn-sm:hover { background: var(--primary-dark); }

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 26px;
    padding: 0 40px 44px;
}

.feature-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg);
    transition: all 0.2s;
}
.feature-card:hover { border-color: var(--primary); transform: translateY(-3px); }
.feature-icon { font-size: 40px; margin-bottom: 14px; }
.feature-card h3 { font-size: 16px; color: var(--primary); margin-bottom: 8px; font-weight: 700; }
.feature-card p { color: var(--text-light); font-size: 14px; }

/* Factory Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
    padding: 0 40px 40px;
}

.gallery-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.gallery-card img { width: 100%; height: 220px; object-fit: cover; display: block; transition: transform 0.3s; }
.gallery-card:hover img { transform: scale(1.03); }
.gallery-card .gallery-caption { padding: 12px 14px; background: var(--bg); font-size: 14px; color: var(--text); text-align: center; }

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
    padding: 40px;
}
.stat-item h3 { font-size: 36px; font-weight: 800; color: var(--primary); }
.stat-item p { color: var(--text-light); font-size: 13px; margin-top: 4px; }

/* Blog/News */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
    padding: 0 40px 44px;
}

.blog-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--bg); transition: all 0.2s; }
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.blog-card-content { padding: 24px; }
.blog-card-date { font-size: 12px; color: var(--text-light); margin-bottom: 8px; }
.blog-card h3 { font-size: 17px; color: var(--primary); margin-bottom: 10px; font-weight: 700; }
.blog-card p { color: var(--text-light); font-size: 14px; line-height: 1.6; }
.blog-card a { display: inline-block; margin-top: 14px; color: var(--primary); font-weight: 600; font-size: 14px; text-decoration: none; }

/* Solutions */
.sol-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 26px;
    padding: 0 40px 44px;
}

.sol-card {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg);
    transition: all 0.2s;
}
.sol-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--primary); }
.sol-card-img { width: 100%; height: 180px; object-fit: cover; }
.sol-card-content { padding: 22px; }
.sol-card h3 { font-size: 17px; color: var(--primary); margin-bottom: 10px; font-weight: 700; }
.sol-card p { color: var(--text-light); font-size: 14px; line-height: 1.6; }
.sol-card a { display: inline-block; margin-top: 14px; color: var(--primary); font-weight: 600; font-size: 14px; text-decoration: none; }

/* Content Body */
.content-body { padding: 48px; max-width: 820px; margin: 0 auto; }
.content-body h2 { color: var(--primary); font-size: 26px; margin-top: 32px; margin-bottom: 14px; font-weight: 700; }
.content-body p { color: var(--text); font-size: 16px; line-height: 1.85; margin-bottom: 16px; }
.content-body ul { padding-left: 22px; color: var(--text); line-height: 2.2; margin-bottom: 16px; }
.content-body li { margin-bottom: 6px; }

/* Product Detail */
.product-detail { max-width: 900px; margin: 0 auto; padding: 40px; }
.product-detail-header { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.product-detail-img { width: 100%; border-radius: var(--radius); object-fit: cover; }
.product-detail-info h1 { font-size: 30px; color: var(--primary); margin-bottom: 12px; font-weight: 800; }
.product-detail-info .product-subtitle { font-size: 16px; color: var(--text-light); margin-bottom: 20px; }
.product-detail-info p { color: var(--text); font-size: 15px; line-height: 1.7; }
.specs-table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.specs-table th, .specs-table td { padding: 10px 14px; border: 1px solid var(--border); font-size: 14px; }
.specs-table th { background: var(--bg); color: var(--primary); font-weight: 600; width: 35%; }
.specs-table td { color: var(--text); }

/* Contact Form */
.contact-form { max-width: 580px; margin: 0 auto; background: var(--white); padding: 44px; border-radius: var(--radius); box-shadow: var(--shadow); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 7px; color: var(--primary); font-size: 14px; }
.form-group input, .form-group textarea { width: 100%; padding: 13px 15px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 15px; font-family: inherit; transition: border-color 0.2s; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(14,99,175,0.1); }
.form-group textarea { height: 120px; resize: vertical; }
.form-submit { width: 100%; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: var(--white); padding: 15px; border: none; border-radius: 8px; font-size: 16px; font-weight: 700; cursor: pointer; box-shadow: 0 4px 16px rgba(14,99,175,0.3); transition: all 0.2s; }
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(14,99,175,0.4); }
.cta-box { text-align: center; padding: 36px; background: linear-gradient(135deg, rgba(14,99,175,0.04), rgba(110,176,46,0.04)); border-radius: var(--radius); margin-top: 36px; }
.cta-box a { padding: 14px 40px; }

/* Footer */
.footer { background: var(--primary); color: var(--white); text-align: center; padding: 48px 20px; margin-top: 60px; }
.footer-brand { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.footer-info { opacity: 0.85; font-size: 14px; line-height: 2; }
.footer-info a { color: var(--white); text-decoration: none; }
.footer-copy { margin-top: 16px; opacity: 0.65; font-size: 13px; }
.footer-links { display: flex; justify-content: center; gap: 24px; margin-top: 20px; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.8); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--white); }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-item h3 { font-size: 16px; color: var(--primary); margin-bottom: 8px; font-weight: 700; }
.faq-item p { color: var(--text-light); font-size: 15px; line-height: 1.7; }

/* Breadcrumb */
.breadcrumb { background: var(--bg); padding: 14px 40px; font-size: 14px; color: var(--text-light); }
.breadcrumb a { color: var(--primary); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 8px; }

/* Responsive */
@media (max-width: 768px) {
    nav ul { display: none; }
    .hero h2 { font-size: 28px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); padding: 24px; }
    .product-grid, .gallery-grid, .blog-grid, .sol-grid { grid-template-columns: 1fr; padding: 0 16px 24px; }
    .features-grid { padding: 0 16px 24px; }
    .content-body { padding: 24px; }
    .contact-form { padding: 28px; }
    .product-detail-header { grid-template-columns: 1fr; }
    .breadcrumb { padding: 12px 16px; }
}
.logo-img { height: 44px; width: auto; display: block; }
