/* ================================
   全局重置与基础变量
   ================================ */
:root {
    --color-dark: #0a0e1a;
    --color-dark-2: #141930;
    --color-text: #2c2c2c;
    --color-text-light: #6b6b6b;
    --color-white: #ffffff;
    --color-bg: #fafafa;
    --color-border: #e8e8e8;
    --color-gold: #c9a96e;
    --nav-height: 70px;
    --container-width: 90%;
    --container-max: 1400px;
    --font-sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

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

/* ================================
   滚动进度条
   ================================ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-gold), #e8c890);
    z-index: 9999;
    transition: width 0.1s ease;
}

/* ================================
   导航栏
   ================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.navbar.scrolled {
    background: rgba(10, 14, 26, 0.97);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.nav-container {
    width: var(--container-width);
    max-width: var(--container-max);
    height: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-text {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 1px;
}

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

.nav-link {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    position: relative;
    padding: 6px 0;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: width 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-white);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    z-index: 1001;
}

.nav-hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ================================
   首屏 Hero
   ================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: var(--nav-height) 20px 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 70% 30%, rgba(201, 169, 110, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(30, 58, 95, 0.3) 0%, transparent 50%),
        linear-gradient(135deg, #0a0e1a 0%, #141930 50%, #0d1124 100%);
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.008) 2px,
            rgba(255, 255, 255, 0.008) 4px
        );
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    font-size: 0.85rem;
    color: var(--color-gold);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 500;
}

.hero-title {
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    font-weight: 800;
    color: var(--color-white);
    line-height: 1.25;
    margin-bottom: 24px;
    letter-spacing: 2px;
}

.hero-desc {
    font-size: clamp(0.9rem, 1.5vw, 1.05rem);
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.9;
    margin-bottom: 40px;
}

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

.btn {
    display: inline-block;
    padding: 14px 36px;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.35s;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--color-gold);
    color: var(--color-dark);
}

.btn-primary:hover {
    background: #d4b87e;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 169, 110, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    border-color: var(--color-white);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    letter-spacing: 2px;
    z-index: 1;
}

.scroll-line {
    width: 1px;
    height: 40px;
    margin: 12px auto 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.4), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ================================
   通用 Section 标题
   ================================ */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header.center {
    text-align: center;
}

.section-label {
    display: block;
    font-size: 0.78rem;
    letter-spacing: 4px;
    color: var(--color-gold);
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 14px;
}

.section-label.light {
    color: rgba(201, 169, 110, 0.9);
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: 2px;
}

.section-title.light {
    color: var(--color-white);
}

.section-divider {
    width: 50px;
    height: 3px;
    background: var(--color-gold);
    margin: 20px auto 0;
    border-radius: 2px;
}

.section-divider.light {
    background: var(--color-gold);
}

.section-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 16px;
}

/* ================================
   关于我们
   ================================ */
.about {
    padding: 100px 0;
    background: var(--color-white);
}

.about-text {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
    font-size: 1.05rem;
    color: var(--color-text-light);
    line-height: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 30px 15px;
    border-radius: 8px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
    border-color: var(--color-gold);
}

.stat-number {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--color-dark);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-unit {
    font-size: 1.4rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-text-light);
    letter-spacing: 1px;
}

/* ================================
   业务矩阵标题区
   ================================ */
.business-intro {
    padding: 80px 0;
    background: var(--color-dark);
    text-align: center;
}

/* ================================
   业务区块
   ================================ */
.business-section {
    padding: 80px 0;
    background: var(--color-white);
    overflow: hidden;
}

.business-section.alt {
    background: #f5f5f7;
}

.business-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.business-wrapper.reverse {
    direction: rtl;
}

.business-wrapper.reverse > * {
    direction: ltr;
}

.business-image {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    aspect-ratio: 4/3;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    background: #e0e0e4;
}

.business-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.business-image:hover img {
    transform: scale(1.06);
}

.business-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.2));
    pointer-events: none;
}

.business-content {
    padding: 20px 10px;
}

.business-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--accent);
    opacity: 0.12;
    line-height: 1;
    margin-bottom: -10px;
}

.business-name {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.business-name::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.business-slogan {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 18px;
    margin-top: 12px;
}

.business-desc {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 2;
    margin-bottom: 24px;
}

.business-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.business-tags li {
    padding: 7px 18px;
    font-size: 0.82rem;
    color: var(--accent);
    background: rgba(128, 128, 128, 0.08);
    border: 1px solid rgba(128, 128, 128, 0.18);
    background: color-mix(in srgb, var(--accent) 8%, transparent);
    border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
    border-radius: 20px;
    font-weight: 500;
    transition: var(--transition);
}

.business-tags li:hover {
    background: var(--accent);
    color: var(--color-white);
}

.business-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    padding: 12px 28px;
    border: 2px solid var(--accent);
    border-radius: 4px;
    transition: var(--transition);
    letter-spacing: 1px;
}

.business-link:hover {
    background: var(--accent);
    color: var(--color-white);
    transform: translateX(4px);
}

/* ================================
   联系我们
   ================================ */
.contact {
    padding: 100px 0;
    background: var(--color-dark);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-card {
    text-align: center;
    padding: 36px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    transition: var(--transition);
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(201, 169, 110, 0.3);
    transform: translateY(-6px);
}

.contact-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 18px;
    color: var(--color-gold);
}

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

.contact-card h4 {
    font-size: 1rem;
    color: var(--color-white);
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-card p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
}

/* ================================
   页脚
   ================================ */
.footer {
    background: #06080f;
    padding: 50px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand h3 {
    font-size: 1.2rem;
    color: var(--color-white);
    font-weight: 700;
    margin-bottom: 6px;
}

.footer-brand p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

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

.footer-links a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--color-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 4px;
}

/* ================================
   返回顶部
   ================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    background: var(--color-dark);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-gold);
    color: var(--color-dark);
    border-color: var(--color-gold);
}

.back-to-top svg {
    width: 22px;
    height: 22px;
}

/* ================================
   滚动动画
   ================================ */
.fade-up,
.fade-left,
.fade-right {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up {
    transform: translateY(40px);
}

.fade-left {
    transform: translateX(-40px);
}

.fade-right {
    transform: translateX(40px);
}

.fade-up.visible,
.fade-left.visible,
.fade-right.visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* ================================
   响应式 - 平板
   ================================ */
@media (max-width: 1024px) {
    .container,
    .nav-container {
        width: 92%;
    }

    .business-wrapper {
        gap: 30px;
    }

    .business-number {
        font-size: 2.8rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

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

/* ================================
   响应式 - 移动端
   ================================ */
@media (max-width: 768px) {
    :root {
        --container-width: 100%;
        --nav-height: 60px;
    }

    .container,
    .nav-container {
        width: 100%;
        padding: 0 16px;
    }

    /* 导航栏移动端 */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: var(--color-dark-2);
        flex-direction: column;
        justify-content: center;
        gap: 0;
        padding: 60px 0;
        transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-link {
        display: block;
        padding: 18px 0;
        font-size: 1rem;
    }

    .nav-hamburger {
        display: flex;
    }

    /* Hero 移动端 */
    .hero {
        padding: 60px 16px 60px;
        min-height: 100vh;
    }

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

    .hero-desc {
        font-size: 0.88rem;
    }

    .hero-desc br {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .btn {
        width: 80%;
        text-align: center;
        padding: 12px 30px;
    }

    /* 关于我们移动端 */
    .about {
        padding: 60px 0;
    }

    .about-text {
        font-size: 0.95rem;
        padding: 0 10px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .stat-item {
        padding: 22px 10px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-unit {
        font-size: 1rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    /* 业务矩阵标题 */
    .business-intro {
        padding: 50px 0;
    }

    /* 业务区块移动端 */
    .business-section {
        padding: 50px 0;
    }

    .business-wrapper,
    .business-wrapper.reverse {
        grid-template-columns: 1fr;
        gap: 24px;
        direction: ltr;
    }

    .business-image {
        aspect-ratio: 16/9;
    }

    .business-content {
        padding: 10px 0;
    }

    .business-number {
        font-size: 2.4rem;
    }

    .business-name {
        font-size: 1.5rem;
    }

    .business-slogan {
        font-size: 0.95rem;
    }

    .business-desc {
        font-size: 0.88rem;
        line-height: 1.85;
    }

    .business-tags {
        gap: 8px;
    }

    .business-tags li {
        padding: 6px 14px;
        font-size: 0.78rem;
    }

    .business-link {
        padding: 10px 22px;
        font-size: 0.85rem;
    }

    /* 联系我们移动端 */
    .contact {
        padding: 60px 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-card {
        padding: 26px 16px;
    }

    /* 页脚移动端 */
    .footer-top {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-links {
        justify-content: center;
        gap: 16px;
    }

    /* 返回顶部 */
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
    }
}

/* ================================
   响应式 - 超小屏
   ================================ */
@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-item {
        padding: 18px 10px;
    }

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

/* ================================
   遮罩层（移动端菜单）
   ================================ */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s;
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}
