/* ==========================================================================
   天津鸿启盛科技有限公司 官方网站样式表
   风格定位：现代商务、科技严谨、去AI感、极简克制
   ========================================================================== */

/* 1. CSS 变量与设计系统 */
:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: #eff6ff;
    --primary-border: #bfdbfe;
    
    --bg-dark: #0f172a;
    --bg-surface: #1e293b;
    --bg-light: #f8fafc;
    --bg-card: #ffffff;
    
    --text-heading: #0f172a;
    --text-body: #334155;
    --text-muted: #64748b;
    --text-light: #f1f5f9;
    
    --border-color: #e2e8f0;
    --border-dark: #334155;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.05);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.04);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.04);
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    --container-max: 1200px;
}

/* 2. 基础重置 */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--text-body);
    background-color: var(--bg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

/* 3. 通用容器与组件 */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

.section {
    padding: 96px 0;
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 56px auto;
}

.section-tag {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--primary);
    background: var(--primary-light);
    border: 1px solid var(--primary-border);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px 0 rgba(37, 99, 235, 0.45);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
}

/* 4. 导航栏 */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.site-header.scrolled {
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--primary), #38bdf8);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    border-radius: var(--radius-sm);
    letter-spacing: -0.05em;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.main-nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 32px;
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #cbd5e1;
    position: relative;
    padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
    color: #ffffff;
}

.nav-btn {
    padding: 8px 18px !important;
    background: var(--primary);
    color: #ffffff !important;
    border-radius: var(--radius-sm);
    transition: background 0.2s ease;
}

.nav-btn:hover {
    background: var(--primary-hover);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #ffffff;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* 5. 首屏视觉区 (Hero Section) */
.hero-section {
    position: relative;
    padding: 180px 0 110px 0;
    background-image: url('assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center center;
    color: #ffffff;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.94) 0%, rgba(15, 23, 42, 0.82) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 820px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    font-size: 0.875rem;
    font-weight: 600;
    background: rgba(37, 99, 235, 0.2);
    border: 1px solid rgba(56, 189, 248, 0.4);
    color: #38bdf8;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-desc {
    font-size: 1.1875rem;
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 720px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 56px;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding-top: 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.metric-num {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: #38bdf8;
    line-height: 1.2;
    margin-bottom: 6px;
}

.metric-label {
    font-size: 0.875rem;
    color: #94a3b8;
}

/* 6. 核心业务板块 */
.services-section {
    background-color: #f1f5f9;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.service-img-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #e2e8f0;
}

.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-card:hover .service-img-wrapper img {
    transform: scale(1.04);
}

.service-category {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(15, 23, 42, 0.75);
    color: #ffffff;
    backdrop-filter: blur(4px);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
}

.service-body {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 12px;
    line-height: 1.35;
}

.service-desc {
    font-size: 0.9375rem;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.service-features li {
    font-size: 0.875rem;
    color: var(--text-muted);
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
}

.service-features li:last-child {
    margin-bottom: 0;
}

.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* 7. 服务优势板块 */
.solutions-section {
    background-color: #ffffff;
}

.solutions-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
}

.solutions-intro .section-title {
    margin-bottom: 20px;
}

.value-list {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.value-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.value-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 800;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--primary-border);
}

.value-text h4 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 6px;
}

.value-text p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.solutions-graphic {
    position: relative;
}

.rounded-img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    width: 100%;
    object-fit: cover;
}

.floating-card {
    position: absolute;
    bottom: -24px;
    left: 24px;
    right: 24px;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 18px 24px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow-lg);
}

.card-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #38bdf8;
    margin-bottom: 4px;
}

.card-desc {
    font-size: 0.8125rem;
    color: #cbd5e1;
}

/* 8. 流程板块 */
.process-section {
    background-color: #f8fafc;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.step-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.step-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-border);
}

.step-num {
    font-size: 2rem;
    font-weight: 900;
    color: #e2e8f0;
    line-height: 1;
    margin-bottom: 16px;
}

.step-card:hover .step-num {
    color: var(--primary);
    transition: color 0.2s ease;
}

.step-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 12px;
}

.step-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* 9. 关于我们与合规资质 */
.about-section {
    background-color: #ffffff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: flex-start;
}

.about-text {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 18px;
}

.corporate-info-box {
    margin-top: 32px;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
}

.info-box-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.info-row {
    display: flex;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 12px;
}

.info-row:last-child {
    margin-bottom: 0;
}

.info-label {
    width: 140px;
    flex-shrink: 0;
    color: var(--text-muted);
    font-weight: 500;
}

.info-value {
    color: var(--text-heading);
    font-weight: 600;
    word-break: break-all;
}

/* 联系卡片 */
.contact-card {
    background: var(--bg-dark);
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-xl);
}

.contact-card-title {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-card-subtitle {
    font-size: 0.875rem;
    color: #94a3b8;
    margin-bottom: 28px;
}

.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 28px;
}

.channel-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.05);
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.channel-icon {
    flex-shrink: 0;
    color: #38bdf8;
    display: flex;
    align-items: center;
}

.channel-detail {
    display: flex;
    flex-direction: column;
}

.channel-label {
    font-size: 0.75rem;
    color: #94a3b8;
}

.channel-value {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #f8fafc;
}

.contact-tip {
    font-size: 0.8125rem;
    color: #94a3b8;
    line-height: 1.5;
    background: rgba(37, 99, 235, 0.12);
    border: 1px dashed rgba(56, 189, 248, 0.3);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
}

/* 10. 页脚与合规备案区 */
.site-footer {
    background-color: #0b1120;
    color: #94a3b8;
    padding: 60px 0 32px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 36px;
}

.footer-brand .footer-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    display: block;
    margin-bottom: 8px;
}

.footer-brand .footer-tagline {
    font-size: 0.875rem;
    color: #64748b;
}

.footer-nav {
    display: flex;
    gap: 24px;
}

.footer-nav a {
    font-size: 0.875rem;
    color: #94a3b8;
}

.footer-nav a:hover {
    color: #ffffff;
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin-bottom: 28px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8125rem;
    color: #64748b;
}

.icp-link {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.icp-link:hover {
    color: #38bdf8;
    text-decoration: underline;
}

/* 11. 响应式适配 (Media Queries) */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .solutions-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 64px 0;
    }
    
    .hero-section {
        padding: 130px 0 70px 0;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-metrics {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: #0f172a;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 24px;
    }
    
    .main-nav.nav-open {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 18px;
        align-items: flex-start;
    }
    
    .nav-btn {
        display: inline-block;
        margin-top: 8px;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 24px;
    }
    
    .footer-nav {
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
}
