/* ==========================================================================
   炎旭文化科技 - 极简白底主题 (yanxuwenhua.com)
   ========================================================================== */

/* ============ 设计变量 ============ */
:root {
    --bg: #ffffff;
    --bg-soft: #fafafa;
    --text: #111111;
    --text-dim: #555555;
    --text-muted: #999999;
    --border: #e8e8e8;
    --border-strong: #111111;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --section-padding: 96px 0;
    --container-max: 1200px;
    --header-h: 72px;
    --duration: 0.3s;
}

/* ============ Reset ============ */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
    text-decoration: none;
}

img, svg {
    display: block;
    max-width: 100%;
}

p {
    margin: 0;
}

ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* ============ 容器 ============ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 32px;
}

/* ============ 排版辅助 ============ */
em {
    font-style: normal;
    border-bottom: 1px solid var(--border-strong);
    padding-bottom: 1px;
    font-weight: 500;
}

sup {
    font-size: 0.5em;
    vertical-align: top;
    margin-left: 2px;
    color: var(--text-muted);
    font-weight: 400;
}

/* ============ 按钮 ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all var(--duration) var(--ease);
}

.btn-primary {
    background: var(--text);
    color: var(--bg);
    border-color: var(--text);
}

.btn-primary:hover {
    background: var(--bg);
    color: var(--text);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--text);
}

.btn-ghost:hover {
    background: var(--text);
    color: var(--bg);
}

.btn-large {
    padding: 16px 40px;
    font-size: 14px;
}

/* ============ 顶部导航 ============ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--header-h);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.brand {
    display: inline-flex;
    align-items: baseline;
}

.brand-mark {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--text);
}

.brand-sub {
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 400;
}

.nav-menu {
    display: flex;
    gap: 36px;
}

.nav-menu a {
    font-size: 13px;
    letter-spacing: 2px;
    color: var(--text-dim);
    position: relative;
    padding: 6px 0;
    transition: color var(--duration) var(--ease);
}

.nav-menu a:hover {
    color: var(--text);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--text);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--duration) var(--ease);
}

.nav-menu a:hover::after {
    transform: scaleX(1);
}

/* ============ 主视觉 ============ */
.hero {
    padding: 180px 0 140px;
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-inner {
    text-align: center;
    position: relative;
    z-index: 3;
    max-width: 920px;
    margin: 0 auto;
}

.hero-eyebrow {
    font-size: 11px;
    letter-spacing: 5px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin: 0 0 36px;
    font-weight: 400;
}

.hero-title {
    font-size: clamp(40px, 7vw, 84px);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: 6px;
    margin: 0;
    color: var(--text);
}

.title-line {
    display: block;
}

.hero-divider {
    width: 60px;
    height: 1px;
    background: var(--text);
    margin: 44px auto;
}

.hero-subtitle {
    font-size: 15px;
    line-height: 1.9;
    color: var(--text-dim);
    margin: 0 0 52px;
    letter-spacing: 1.5px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    pointer-events: none;
    text-align: center;
}

.scroll-hint span {
    display: block;
    font-size: 10px;
    letter-spacing: 4px;
    color: var(--text-muted);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: var(--text-muted);
    margin: 0 auto;
    animation: scroll-bounce 2s ease-in-out infinite;
    transform-origin: top center;
}

@keyframes scroll-bounce {
    0%, 100% { transform: scaleY(1); opacity: 0.5; }
    50% { transform: scaleY(0.5); opacity: 1; }
}

/* ============ 通用 section ============ */
.section {
    padding: var(--section-padding);
    position: relative;
}

.section-head {
    margin-bottom: 64px;
}

.section-head-top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.section-head-top.center {
    justify-content: center;
}

.section-num {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 1px;
    font-family: "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}

.section-eyebrow {
    font-size: 11px;
    letter-spacing: 4px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 400;
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 300;
    letter-spacing: 3px;
    margin: 0 0 24px;
    color: var(--text);
    line-height: 1.2;
}

.section-divider {
    width: 40px;
    height: 1px;
    background: var(--text);
}

.section-sub {
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-dim);
    letter-spacing: 1.5px;
}

/* ============ 关于我们 ============ */
.section-about {
    border-top: 1px solid var(--border);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-text p {
    color: var(--text-dim);
    font-size: 15px;
    line-height: 1.9;
    margin: 0 0 20px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-text .lead {
    font-size: 18px;
    color: var(--text);
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 28px;
}

.about-text em {
    font-weight: 500;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 32px;
    padding-top: 8px;
}

.stat-item {
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

.stat-num {
    font-size: 48px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: 1px;
    color: var(--text);
}

.stat-label {
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: 10px;
}

/* ============ 业务领域 ============ */
.section-business {
    background: var(--bg-soft);
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--border);
    background: var(--bg);
}

.biz-card {
    padding: 40px 32px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transition: all var(--duration) var(--ease);
    position: relative;
    cursor: default;
}

.biz-card:nth-child(3n) {
    border-right: none;
}

.biz-card:nth-last-child(-n+3) {
    border-bottom: none;
}

.biz-card:hover {
    background: var(--text);
    color: var(--bg);
}

.biz-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 24px;
    color: var(--text);
    transition: color var(--duration) var(--ease);
}

.biz-card:hover .biz-icon {
    color: var(--bg);
}

.biz-icon svg {
    width: 100%;
    height: 100%;
}

.biz-card h3 {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 2px;
    margin: 0 0 12px;
    color: var(--text);
    transition: color var(--duration) var(--ease);
}

.biz-card:hover h3 {
    color: var(--bg);
}

.biz-card p {
    font-size: 13px;
    line-height: 1.8;
    color: var(--text-dim);
    transition: color var(--duration) var(--ease);
}

.biz-card:hover p {
    color: rgba(255, 255, 255, 0.7);
}

/* ============ 核心优势 ============ */
.advantage-list {
    border-top: 1px solid var(--border);
}

.adv-row {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 48px;
    padding: 36px 0;
    border-bottom: 1px solid var(--border);
    align-items: start;
}

.adv-num {
    font-size: 28px;
    font-weight: 300;
    color: var(--text-muted);
    letter-spacing: 1px;
    font-family: "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
    line-height: 1.2;
}

.adv-content h3 {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 2px;
    margin: 0 0 10px;
    color: var(--text);
}

.adv-content p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-dim);
    max-width: 640px;
}

/* ============ 企业愿景 ============ */
.section-vision {
    background: var(--bg-soft);
    padding: 120px 0;
}

.vision-inner {
    text-align: center;
}

.vision-inner .section-head {
    margin-bottom: 24px;
}

.vision-quote {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 300;
    line-height: 1.8;
    letter-spacing: 2px;
    margin: 32px auto 48px;
    max-width: 880px;
    color: var(--text);
}

.vision-quote em {
    font-weight: 500;
}

.vision-tags {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.vision-tags span {
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--text-dim);
    padding: 8px 18px;
    border: 1px solid var(--border);
    text-transform: uppercase;
    background: var(--bg);
}

/* ============ 联系我们 ============ */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-item {
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
}

.contact-item:first-child {
    border-top: 1px solid var(--border);
}

.contact-label {
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.contact-value {
    font-size: 16px;
    color: var(--text);
    letter-spacing: 0.5px;
}

.contact-cta {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    padding: 56px 40px;
    text-align: center;
}

.cta-text {
    font-size: 14px;
    line-height: 1.9;
    color: var(--text-dim);
    margin: 0 0 32px;
    letter-spacing: 0.5px;
}

/* ============ 页脚 ============ */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 64px 0 36px;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 14px;
}

.footer-desc {
    font-size: 13px;
    color: var(--text-dim);
    margin: 0 0 28px;
    letter-spacing: 1.5px;
}

.footer-divider {
    width: 100%;
    max-width: 200px;
    height: 1px;
    background: var(--border);
    margin-bottom: 28px;
}

.footer-meta {
    width: 100%;
}

.copyright,
.filings {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin: 0 0 8px;
}

.filings a {
    color: var(--text-muted);
    transition: color var(--duration) var(--ease);
}

.filings a:hover {
    color: var(--text);
}

.filing-sep {
    margin: 0 12px;
    color: var(--border);
}

.gongan-icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 4px;
    image-rendering: -webkit-optimize-contrast;
}

/* ============ 滚动入场动画 ============ */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-inner > * {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

/* ============ 响应式 - 平板 ============ */
@media (max-width: 960px) {
    :root {
        --section-padding: 72px 0;
        --header-h: 64px;
    }

    .nav-menu {
        gap: 24px;
    }

    .nav-menu a {
        font-size: 12px;
        letter-spacing: 1px;
    }

    .hero {
        padding: 140px 0 100px;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .business-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .biz-card {
        border-right: 1px solid var(--border) !important;
        border-bottom: 1px solid var(--border) !important;
    }

    .biz-card:nth-child(2n) {
        border-right: none !important;
    }

    .biz-card:nth-last-child(-n+2) {
        border-bottom: none !important;
    }

    .adv-row {
        grid-template-columns: 60px 1fr;
        gap: 24px;
        padding: 28px 0;
    }

    .stat-num {
        font-size: 36px;
    }

    .contact-cta {
        padding: 40px 32px;
    }
}

/* ============ 响应式 - 手机 ============ */
@media (max-width: 600px) {
    :root {
        --section-padding: 56px 0;
    }

    .container {
        padding: 0 20px;
    }

    .nav-menu {
        gap: 16px;
    }

    .nav-menu a {
        font-size: 11px;
    }

    .hero-title {
        letter-spacing: 3px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-eyebrow {
        letter-spacing: 3px;
    }

    .business-grid {
        grid-template-columns: 1fr;
    }

    .biz-card,
    .biz-card:nth-child(2n) {
        border-right: none !important;
    }

    .about-stats {
        gap: 28px 16px;
    }

    .stat-num {
        font-size: 32px;
    }

    .adv-num {
        font-size: 22px;
    }

    .adv-content h3 {
        font-size: 16px;
    }

    .scroll-hint {
        bottom: 24px;
    }
}