/* --- 全局变量 --- */
:root {
    --bg-color: #000000;
    --text-main: #ffffff;
    --accent-orange: #D3610B;
    --accent-gold: #eac182;
    /*
       关键变量：统一宽度控制
       Header 和 Hero 必须共享这两个数值才能对齐
    */
    --site-width: 62.5vw;
    --site-padding: 2.604vw;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

a:hover {
    color: white;
}

/* 通用 Container (用于下方内容) */
.container {
    max-width: var(--site-width);
    margin: 0 auto;
    padding: 0 var(--site-padding);
    position: relative;
}

/* --- 1. Header 区域 --- */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding-top: 2.083vw;
}

/* Header 独有的布局容器，确保参数与 Hero 一致 */
.header-wrapper {
    max-width: var(--site-width);
    margin: 0 auto;
    padding: 0 var(--site-padding);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.042vw;
    color: #FFFFFF;
    font-weight: bold;
}

.nav-links-left {
    display: flex;
    gap: 12.76vw;
    flex: 1;
}

/* 强制 Nav 第一个元素归零，贴紧 padding 线 */
.nav-links-left a:first-child {
    padding-left: 0;
    margin-left: 0;
}

.logo {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.625vw;
}

.logo img {
    height: 5.208vw;
    width: 10.885vw;
}

.nav-links-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    gap: 12.76vw;
}

/* --- 2. Hero / Banner 区域 --- */
.hero-section {
    height: 47.083vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-bottom: 0.208vw solid #887e6c;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-indicators {
    position: absolute;
    bottom: 2vw;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1vw;
    z-index: 10;
}

.indicator {
    width: 0.625vw;
    height: 0.625vw;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--accent-orange);
    width: 2vw;
    border-radius: 0.313vw;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Hero 内容容器 - 左右分栏布局 */
.hero-content {
    max-width: var(--site-width);
    margin: 0 auto;
    padding: 0 var(--site-padding);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 10;
}

/* 文字区域 - 左侧 */
.hero-text-wrapper {
    flex: 0 0 45%;
    max-width: 45%;
}

.hero-text h1 {
    font-size: 3.906vw;
    line-height: 1.2;
    margin-bottom: 0;
    font-weight: 800;
    letter-spacing: 0.052vw;
    color: white;
    margin-left: 0;
}

.text-gradient {
    background: linear-gradient(90deg, #FF6E01 0%, #FF6E01 100%);
    -webkit-background-clip: text;
    color: transparent;
    background-clip: text;
}

.btn-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 10.104vw;
    height: 2.396vw;
    border-radius: 2.083vw;
    color: #FFFFFF;
    background: #463F38;
    font-size: 0.833vw;
    transition: 0.3s;
    border: none;
    margin-top: 4.74vw;
    margin-left: 0;
    cursor: pointer;
}

.btn-more:hover {
    background: var(--accent-orange);
    color: white;
}

/* --- 更多 (Tabs) 区域 --- */
.more-section {
    padding: 4.375vw 0 0;
    position: relative;
    overflow: visible;
}

.more-bg-left {
    position: absolute;
    left: 5vw;
    bottom: -25%;
    width: 7.969vw;
    height: 11.042vw;
    background: url('img/block_bg-right.webp') no-repeat left center;
    background-size: contain;
    pointer-events: none;
    z-index: 1;
}

.more-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 3.125vw;
}

.more-text-left h2 {
    font-size: 1.875vw;
    background-image: linear-gradient(to right, #F2E3C6, #AF9986);
    -webkit-background-clip: text;
    color: transparent;
    background-clip: text;
    line-height: 1.3;
    letter-spacing: 0.5vw;
}

.more-text-left span {
    color: var(--accent-orange);
    letter-spacing: 0.5vw;
}

.more-text-right {
    width: 33.594vw;
    text-align: left;
    color: #BEBEBE;
    font-size: 1.042vw;
    line-height: 1.8;
}

.more-tabs {
    display: flex;
    align-items: flex-end;
    height: 18.424vw;
    position: relative;
    z-index: 2;
}

.tab-card {
    flex: 1;
    background: linear-gradient(to right, #3E3E3E 0%, #000000 100%);
    height: 13.542vw;
    padding: 1.563vw 1.302vw;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border: 0.052vw solid #333;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
    overflow: hidden;
    border-top-left-radius: 0.99vw;
    border-top-right-radius: 0.99vw;
}

.tab-card:hover,
.tab-card.active {
    background: var(--accent-orange);
    height: 18.424vw;
    border-top-left-radius: 0.99vw;
    border-top-right-radius: 0.99vw;
    border-color: var(--accent-orange);
    box-shadow: 0 0.781vw 2.083vw rgba(255, 85, 0, 0.2);
}

.tab-num {
    font-size: 1.667vw;
    font-weight: bold;
    color: var(--accent-orange);
    margin-bottom: 1.302vw;
    transition: 0.3s;
}

.tab-card:hover .tab-num,
.tab-card.active .tab-num {
    color: #000;
}

.tab-title {
    font-size: 1.667vw;
    font-weight: bold;
    color: white;
    transition: 0.3s;
}

.tab-card:hover .tab-title,
.tab-card.active .tab-title {
    color: #000000;
    font-size: 1.875vw;
}

.tab-desc {
    color: #222;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(0.521vw);
    transition: 0.3s 0.1s;
    display: none;
}

.tab-card:hover .tab-desc,
.tab-card.active .tab-desc {
    display: block;
    opacity: 1;
    transform: translateY(0);
    font-size: 1.042vw;
    color: #000000;
}

/* --- 其他板块 --- */
.section-title {
    text-align: center;
    font-size: 2.083vw;
    color: var(--accent-orange);
    font-weight: bold;
    margin-bottom: 1.563vw;
}

.section-subtitle {
    text-align: center;
    font-size: 1.875vw;
    color: white;
    margin-bottom: 2.708vw;
}

.features-section {
    padding: 2.708vw 0 0;
    background: #000;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.406vw;
}

.feature-card {
    border: 0.104vw solid #CEA271;
    padding: 2.604vw 1.302vw;
    text-align: center;
    transition: 0.4s;
    background: transparent;
    width: 16.058vw;
    height: 21.624vw;
}

.feature-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-0.521vw);
}

.f-icon {
    margin-bottom: 1.146vw;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 3.125vw;
}

.f-icon img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.feature-card h3 {
    margin-bottom: 1.042vw;
    font-size: 1.875vw;
    background: linear-gradient(to right, #F2E3C6 0%, #AF9986 100%);
    -webkit-background-clip: text;
    color: transparent;
    background-clip: text;
}

.feature-card p {
    font-size: 1.042vw;
    color: #FFFFFF;
}

.reviews-section {
    padding: 5.469vw 0 6.146vw;
    background: #000;
    border-bottom: 0.208vw solid #887e6c;
    position: relative;
    overflow: visible;
}

.reviews-bg-left {
    position: absolute;
    left: 5vw;
    top: 0%;
    width: 7.969vw;
    height: 11.042vw;
    background: url('img/block_bg-left.webp') no-repeat left center;
    background-size: contain;
    pointer-events: none;
    z-index: 1;
}

.reviews-bg-right {
    position: absolute;
    right: 8vw;
    bottom: 15.25%;
    width: 7.969vw;
    height: 11.042vw;
    background: url('img/block_bg-right.webp') no-repeat right center;
    background-size: contain;
    pointer-events: none;
    z-index: 1;
}

.reviews-container {
    display: flex;
    gap: 4.167vw;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.reviews-left-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.reviews-left-wrapper .section-title {
    margin-bottom: 1.25vw;
}

.reviews-title {
    text-align: left;
    color: var(--accent-orange);
}

.reviews-left-wrapper .section-subtitle {
    margin-bottom: 3.333vw;
}

.reviews-subtitle {
    text-align: left;
    font-size: 1.25vw;
    letter-spacing: 0.26vw;
    color: #666;
}

.reviews-left {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5vw 3vw;
    flex: 1;
}

.review-item {
    display: flex;
    gap: 1.875vw;
    align-items: flex-start;
}

.review-icon-box {
    width: 4.896vw;
    height: 4.896vw;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0.75vw;
}

.review-icon-box img {
    width: 4.896vw;
    height: 4.896vw;
    object-fit: cover;
}

.review-text h4 {
    background: linear-gradient(90deg, #F2E3C6 0%, #AF9986 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.521vw;
    font-size: 1.875vw;
    font-weight: bold;
}

.review-text p {
    font-size: 0.833vw;
    color: #FFFFFF;
    line-height: 1.6;
}

.reviews-right {
    flex: 0 0 auto;
    position: relative;
    width: 19.134vw;
}

.reviews-right img {
    width: 19.134vw;
    height: 27.292vw;
    object-fit: cover;
    display: block;
}

.orange-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, #FF9100 0%, #FF5500 100%);
    padding: 1.302vw 1.563vw;
    color: #FFFFFF;
    font-size: 1.042vw;
    line-height: 1.6;
    width: 19.134vw;
}

.audience-section {
    padding: 8.19vw 0 5.99vw;
    text-align: center;
}

.audience-section .container {
    max-width: unset;
}

.audience-image-wrapper {
    margin-top: 3.125vw;
    text-align: center;
}

.audience-image-wrapper img {
    width: 76.369vw;
    height: auto;
}

.bottom-wrapper {
    display: flex;
    height: 27.917vw;
    border-bottom: 0.208vw solid #887e6c;
}

.bottom-left {
    background: url('img/about_bg2.webp') no-repeat center center;
    background-size: cover;
    padding: 0 4.167vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    width: calc(100vw - 45.313vw);
    position: relative;
}

.bottom-right {
    position: relative;
    background: #222;
    width: 45.313vw;
}

.bottom-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.bottom-contact {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: left;
    color: white;
    width: 80%;
}

.bottom-left h3,
.bottom-contact h3 {
    font-size: 2.083vw;
    margin-bottom: 1.563vw;
    font-weight: bold;
}

.bottom-left p {
    width: 31.823vw;
}

.bottom-left p,
.bottom-contact p {
    font-size: 1.25vw;
    font-weight: 300;
    letter-spacing: 0.15vw;
}

.contact-email {
    margin-top: 0.521vw;
}

footer {
    background: #000;
    padding: 2.083vw 0;
    text-align: center;
    font-size: 0.625vw;
    color: #444;
    border-top: 0.052vw solid #111;
}

footer p,
footer a {
    font-size: 0.833vw;
    color: #BEBEBE;
    line-height: 2vw;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6.271vw;
    margin-bottom: 2.604vw;
}

.footer-links a {
    font-size: 1.042vw;
    color: #FFFFFF;
}

/* --- 响应式设计 --- */
/* 大屏幕优化 - 1400px 以上 */
@media (min-width: 72.917vw) {
    :root {
        --site-width: 72.917vw;
    }
}

/* 小屏幕适配 - 1200px 以下 */
@media (max-width: 62.5vw) {
    .hero-content {
        flex-direction: column;
    }

    .hero-text-wrapper {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .hero-text h1 {
        font-size: 2.604vw;
        margin-left: 0;
    }

    .features-grid,
    .reviews-left {
        grid-template-columns: 1fr 1fr;
    }

    .reviews-container {
        flex-direction: column;
    }

    .bottom-wrapper {
        flex-direction: column;
        height: auto;
    }

    .nav-inner {
        display: flex;
        justify-content: space-between;
    }
}