:root {
    --primary: #0d9488;
    --primary-dark: #0f766e;
    --primary-light: #ccfbf1;
    --accent: #f59e0b;
    --text: #334155;
    --text-muted: #64748b;
    --bg-soft: #f8fafc;
    --footer-bg: #115e59;
}

html {
    font-size: 15px;
    scroll-padding-top: 80px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--text);
    line-height: 1.7;
    padding-top: 70px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.4;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    color: var(--primary-dark);
}

/* Navbar */
.navbar {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
}

.brand-text {
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 1.25rem;
}

.navbar-nav .nav-link {
    color: var(--text);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: background-color 0.2s, color 0.2s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary);
    background-color: var(--primary-light);
}

/* Hero */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #f0fdfa 0%, #e0f2fe 100%);
    padding: 5rem 0 6rem;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: -10%;
    right: -5%;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(13,148,136,0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.25rem;
}

.hero-title .text-primary {
    color: var(--primary) !important;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 540px;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    padding: 0.6rem 1.6rem;
    font-weight: 500;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
    padding: 0.6rem 1.6rem;
    font-weight: 500;
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* Section */
.section {
    padding: 4rem 0;
}

.section-title {
    font-size: 1.875rem;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header .section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 0.75rem;
}

.section-header .section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.bg-soft {
    background-color: var(--bg-soft);
}

/* Cards */
.feature-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    height: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.product-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.product-image {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background: #f8fafc;
    padding: 1rem;
}

.product-body {
    padding: 1.25rem;
}

.product-brand {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-light);
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Filter buttons */
.filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.filter-btn {
    border: 1px solid #cbd5e1;
    background: #fff;
    color: var(--text);
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* Stats */
.stat-card {
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Qualifications */
.qual-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
}

.qual-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: #f1f5f9;
}

.qual-body {
    padding: 1.25rem;
}

/* News & Jobs */
.news-item,
.job-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: box-shadow 0.2s;
}

.news-item:hover,
.job-item:hover {
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.news-date {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.news-tag {
    font-size: 0.75rem;
    color: var(--primary);
    background: var(--primary-light);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

/* Contact */
.contact-info-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    height: 100%;
}

.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--primary-light);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.map-placeholder {
    background: #e2e8f0;
    border-radius: 12px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

/* Footer */
.site-footer {
    background-color: var(--footer-bg);
    color: rgba(255, 255, 255, 0.85);
    padding: 3rem 0 1.5rem;
    margin-top: 2rem;
}

.footer-brand {
    color: #fff;
    font-weight: 700;
}

.footer-title {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links a,
.footer-contact li {
    color: rgba(255, 255, 255, 0.8);
    display: block;
    margin-bottom: 0.4rem;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    color: rgba(255, 255, 255, 0.6);
}

/* 网站合规标识（备案号、公示、隐私政策等） */
.compliance-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem 1rem;
    margin-bottom: 0.75rem;
}

.compliance-badges .badge-link {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.compliance-badges .badge-link:hover {
    color: #fff;
}

.compliance-badges .badge-placeholder {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
    border: 1px dashed rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    padding: 0.05rem 0.4rem;
    cursor: help;
}

/* 产品追溯系统：隐秘角落内的低调入口 */
.compliance-badges .badge-trace {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
}

.compliance-badges .badge-trace:hover {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: underline;
}

/* 隐私政策阅读版式 */
.policy-content {
    max-width: 860px;
    margin: 0 auto;
}

.policy-content h2 {
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: #0f172a;
}

.policy-content h3 {
    font-size: 1.05rem;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.policy-content p,
.policy-content li {
    color: var(--text);
}

.policy-content ul {
    padding-left: 1.25rem;
}

.policy-lead {
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* 营业执照公示页 */
.license-image-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.license-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.license-info-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
    height: 100%;
}

.license-dl dt {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 0.75rem;
}

.license-dl dd {
    font-size: 0.95rem;
    color: var(--text);
    margin-bottom: 0;
    margin-left: 0;
}

.license-dl dt:first-child {
    margin-top: 0;
}

.user-select-all {
    user-select: all;
}

/* Utilities */
.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.lead {
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 767px) {
    .hero-title {
        font-size: 1.875rem;
    }

    .section {
        padding: 2.5rem 0;
    }

    .product-image {
        height: 180px;
    }
}