/* ============================================
   首页样式
   ============================================ */

/* ========== Hero ========== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    width: 100%;
    overflow: hidden;
    background: #1a0405;
    color: #fff;
}

.hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    filter: brightness(0.95) saturate(1.05);
    animation: heroBreath 18s ease-in-out infinite;
}

@keyframes heroBreath {
    0%, 100% { transform: scale(1.02); }
    50% { transform: scale(1.06); }
}

/* 粒子canvas - 位于背景图之上、蒙层之下 */
.hero__particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* 暗化蒙层让剪影更清晰 */
.hero__veil {
    position: absolute;
    inset: 0;
    z-index: 3;
    background:
        radial-gradient(ellipse at 50% 45%, rgba(0,0,0,0) 0%, rgba(20,4,4,0.45) 92%),
        linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0.45) 100%);
    pointer-events: none;
}

/* ---- 人物剪影：可点击进入预约 ---- */
.hero__figure {
    position: absolute;
    left: 50%;
    top: 56%;
    transform: translate(-50%, -50%);
    width: clamp(140px, 15vw, 210px);
    height: clamp(280px, 32vw, 430px);
    z-index: 5;
    cursor: pointer;
    display: block;
}

/* 文字标签（hover 时显现，点击进入启程） */
.hero__figure-hint {
    position: absolute;
    top: 12%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    background: rgba(14, 6, 6, 0.72);
    border: 1px solid var(--color-gold);
    color: var(--color-gold-bright);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    border-radius: 100px;
    white-space: nowrap;
    opacity: 0;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.45s var(--ease);
    pointer-events: none;
}

.hero__figure:hover .hero__figure-hint {
    opacity: 1;
    transform: translate(-50%, -220%);
}

/* Hero 诗句：行书小字，右下角，不抢主视觉 */
.hero__poem {
    position: absolute;
    right: clamp(1.5rem, 5vw, 5rem);
    bottom: clamp(1.5rem, 5vh, 4rem);
    z-index: 4;
    margin: 0;
    text-align: right;
    font-family: 'Zhi Mang Xing', 'Long Cang', 'STXingkai', '华文行楷', 'Xingkai SC', 'KaiTi', '楷体', cursive;
    font-size: clamp(1.05rem, 1.7vw, 1.5rem);
    line-height: 1.7;
    letter-spacing: 0.06em;
    color: rgba(255, 247, 230, 0.82);
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
    max-width: 60vw;
    pointer-events: none;
    user-select: none;
}

/* 科技风导航 .nav--tech 已统一移至全局 style.css（全站通用） */

/* ========== 数据展示 ========== */
.stats {
    padding: 5rem 2rem;
    background: var(--color-bg);
    border-bottom: 1px solid var(--border-light);
}

.stats__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.stat {
    text-align: center;
    position: relative;
}

.stat:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 50px;
    background: var(--border-gold);
}

.stat__num {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: var(--color-primary);
    font-weight: 600;
    line-height: 1;
    margin-bottom: 0.75rem;
    letter-spacing: 0.02em;
}

.stat__num span {
    color: var(--color-gold);
    font-size: 0.7em;
}

.stat__label {
    font-size: 0.9rem;
    color: var(--color-text-soft);
    letter-spacing: 0.1em;
}

/* ========== 价值主张（深色科技风） ========== */
.value {
    position: relative;
    padding: 7rem 2rem;
    color: #fff;
    overflow: hidden;
    background:
        radial-gradient(ellipse 70% 50% at 50% -10%, rgba(107, 15, 15, 0.55) 0%, transparent 60%),
        linear-gradient(160deg, #160606 0%, #210a0a 55%, #100303 100%);
}

/* 科技网格 */
.value::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(201, 163, 94, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201, 163, 94, 0.07) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: radial-gradient(ellipse 90% 75% at 50% 35%, #000 25%, transparent 78%);
    mask-image: radial-gradient(ellipse 90% 75% at 50% 35%, #000 25%, transparent 78%);
    pointer-events: none;
    z-index: 0;
}

/* 流动光晕 */
.value::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 18%, rgba(244, 215, 122, 0.14), transparent 38%),
        radial-gradient(circle at 88% 82%, rgba(107, 15, 15, 0.55), transparent 45%);
    pointer-events: none;
    z-index: 0;
}

.value__inner {
    position: relative;
    z-index: 1;
    max-width: var(--container-max);
    margin: 0 auto;
}

/* 标题改为亮色 */
.value .section__title {
    color: #fff;
}
.value .section__title-en {
    color: rgba(244, 215, 122, 0.8);
}
.value .section__lead {
    color: rgba(255, 255, 255, 0.72);
}

.value__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-top: 3.5rem;
}

/* 玻璃拟态卡片 */
.value-card {
    position: relative;
    overflow: hidden;
    padding: 2.5rem 2rem;
    border-radius: 14px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(201, 163, 94, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease), background 0.5s var(--ease);
}

/* 顶部金色扫光线 */
.value-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-gold) 0%, var(--color-gold-bright) 100%);
    transition: width 0.5s var(--ease);
}

/* 卡片悬停时的对角光晕 */
.value-card::after {
    content: "";
    position: absolute;
    top: -40%;
    right: -40%;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(244, 215, 122, 0.22) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s var(--ease);
    pointer-events: none;
}

.value-card:hover {
    transform: translateY(-8px);
    border-color: rgba(244, 215, 122, 0.55);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.03) 100%);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(201, 163, 94, 0.16);
}

.value-card:hover::before {
    width: 100%;
}

.value-card:hover::after {
    opacity: 1;
}

.value-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-gold) 130%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 22px rgba(107, 15, 15, 0.45);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.value-card:hover .value-card__icon {
    transform: scale(1.06) rotate(-4deg);
    box-shadow: 0 10px 26px rgba(201, 163, 94, 0.5);
}

.value-card__icon svg {
    width: 28px;
    height: 28px;
}

.value-card__title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    color: #fff;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.value-card__desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.8;
}

/* ========== CTA ========== */
.cta {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-deep) 100%);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before,
.cta::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 201, 122, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta::before {
    width: 400px;
    height: 400px;
    top: -150px;
    left: -100px;
}

.cta::after {
    width: 500px;
    height: 500px;
    bottom: -200px;
    right: -150px;
}

.cta__inner {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta__title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    color: #fff;
    margin-bottom: 1.25rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1.4;
}

.cta__desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

@media (max-width: 960px) {
    .stats__inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    .stat:not(:last-child)::after {
        display: none;
    }
    .value__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .hero {
        min-height: 600px;
    }
    .stats__inner {
        grid-template-columns: 1fr 1fr;
    }
}
