/* ========================================
   瓸屹雲惗 — 暖色国风样式 V2
   基于品牌 LOGO 设计：宣纸 + 孔明灯 + 远山 + 云纹
   ======================================== */

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

:root {
    /* 暖色宣纸基调 */
    --paper: #f5e9d0;          /* 主宣纸色 */
    --paper-light: #f8ecd8;    /* 浅宣纸 */
    --paper-warm: #eddfc2;     /* 暖宣纸 */
    --paper-dark: #e6d3b2;     /* 深宣纸 */
    --sand: #d8c9a8;           /* 沙色 */

    /* 文字 */
    --ink: #3d2f1f;            /* 深褐墨 */
    --ink-light: #5e4b36;      /* 浅褐 */
    --ink-lighter: #8b7a63;    /* 灰褐 */

    /* 强调色 */
    --vermillion: #b43a2e;     /* 朱砂红 */
    --vermillion-dark: #8f2d23;/* 暗红 */
    --lantern: #e8953a;        /* 孔明灯橙 */
    --lantern-glow: #f4b36a;   /* 灯晕 */
    --gold: #b8935a;           /* 暖金 */
    --gold-light: #d4b072;     /* 淡金 */

    /* 装饰 */
    --mountain: #5e4b36;
    --cloud: #c9b9a0;
    --border-ink: rgba(61,47,31,0.12);
    --border-light: rgba(61,47,31,0.08);
    --shadow: 0 4px 24px rgba(61,47,31,0.08);
    --shadow-hover: 0 8px 40px rgba(61,47,31,0.14);

    /* 字体 */
    --font-serif: 'Noto Serif SC', 'Songti SC', 'SimSun', serif;
    --font-brush: 'Ma Shan Zheng', 'KaiTi', '楷体', cursive;
    --font-xiaowei: 'ZCOOL XiaoWei', 'Noto Serif SC', serif;

    /* 尺寸 */
    --nav-height: 72px;
    --max-width: 1200px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-serif);
    background-color: var(--paper);
    background-image:
        radial-gradient(ellipse at 12% -5%, rgba(232,149,58,0.07), transparent 45%),
        radial-gradient(ellipse at 90% 8%, rgba(180,58,46,0.05), transparent 42%),
        linear-gradient(180deg, #f7eed9 0%, #f4e5c6 100%);
    color: var(--ink);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

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

/* ========================================
   导航栏
   ======================================== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    transition: all 0.4s ease;
}

#navbar.scrolled {
    background: rgba(245,233,208,0.96);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--border-ink), 0 4px 20px rgba(61,47,31,0.06);
}

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

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

.logo-seal {
    width: 40px;
    height: 40px;
    background: var(--vermillion);
    color: var(--paper);
    font-family: var(--font-brush);
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(180,58,46,0.28);
    transition: transform 0.3s ease;
}

.logo-seal.small {
    width: 32px;
    height: 32px;
    font-size: 20px;
}

.nav-logo:hover .logo-seal {
    transform: rotate(-5deg) scale(1.05);
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: 2px;
}

#navbar:not(.scrolled) .logo-text {
    color: var(--ink);
    text-shadow: 0 1px 2px rgba(245,233,208,0.5);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 36px;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    position: relative;
    padding: 4px 0;
    color: var(--ink);
}

#navbar:not(.scrolled) .nav-links a {
    color: var(--ink);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--vermillion);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

.nav-links a:hover {
    color: var(--vermillion);
}

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

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--ink);
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ========================================
   Hero 区域
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* 天空渐变：亮暖白 → 宣纸 → 地平线夕阳金 */
    background:
        linear-gradient(180deg, #faf3e3 0%, #f5e9d0 42%, #efddb9 78%, #e9d2a6 100%);
    overflow: hidden;
}

/* 宣纸纹理背景 + 月亮光晕 + 地平线暖光 */
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        /* 月亮光晕（右上） */
        radial-gradient(circle at 82% 16%, rgba(255,248,226,0.95) 0%, rgba(255,240,205,0.4) 14%, rgba(255,232,190,0.14) 26%, transparent 38%),
        /* 彩色氛围光 */
        radial-gradient(ellipse at 30% 20%, rgba(232,149,58,0.10) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 30%, rgba(180,58,46,0.06) 0%, transparent 45%),
        radial-gradient(ellipse at 50% 75%, rgba(184,147,90,0.12) 0%, transparent 60%);
    opacity: 1;
}

/* 地平线暖光 — 山脚被夕阳照亮 */
.hero-bg::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 42%;
    background:
        linear-gradient(to top, rgba(224,170,96,0.30) 0%, rgba(224,170,96,0.10) 55%, transparent 100%);
    pointer-events: none;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(201,185,160,0.15) 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, rgba(201,185,160,0.1) 1px, transparent 1px),
        radial-gradient(circle at 60% 40%, rgba(232,149,58,0.05) 1px, transparent 1px);
    background-size: 60px 60px, 80px 80px, 100px 100px;
}

/* ========================================
   孔明灯 — 近中远三层 + 真实造型 + 飘浮动效
   ======================================== */
.lanterns {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

/* --- 基础孔明灯造型（参考图样式）---
   结构: 方柱形纸囊(顶微弧 → 底平) > 底部开口 + 火焰 > 垂穗
   传统孔明灯是竹骨纸糊的圆柱体，不是球状          */
.lantern {
    position: absolute;
    /* 方柱形纸囊 — 顶微弧、底平直 */
    width: 30px;
    height: 70px;
    background:
        /* 顶部受光高亮 */
        radial-gradient(ellipse 90% 30% at 50% 10%, rgba(255,248,220,0.95) 0%, rgba(255,235,190,0.45) 35%, transparent 65%),
        /* 主体纵向暖色渐变 */
        linear-gradient(to bottom, #f9e8c8 0%, #f5c26a 25%, #e8953a 50%, #d06e24 80%, #b85a1a 100%);
    border-radius: 4% 4% 0 0 / 6% 6% 0 0;
    opacity: 0;
    /* 外发光 */
    box-shadow:
        0 0 20px rgba(232,149,58,0.35),
        0 0 60px rgba(244,179,106,0.15),
        inset 0 -6px 14px rgba(120,45,20,0.18);
}

/* 底部开口 + 火焰光点 */
.lantern::before {
    content: '';
    position: absolute;
    bottom: -7px;
    left: 50%;
    transform: translateX(-50%);
    width: 55%;
    height: 11px;
    /* 中间火焰，周围深色开口 */
    background:
        radial-gradient(ellipse 45% 55% at 50% 30%, #fff3c2 0%, #ffcc66 25%, #ff9933 55%, #8b3a10 85%, #3d1f0a 100%);
    border-radius: 0 0 45% 45%;
    box-shadow:
        0 0 0 1.5px rgba(60,30,10,0.65),      /* 竹圈 */
        0 -3px 8px rgba(255,160,60,0.45);      /* 火焰向上照亮 */
}

/* 垂穗 / 飘带 */
.lantern::after {
    content: '';
    position: absolute;
    bottom: -36px;
    left: 50%;
    transform: translateX(-50%);
    width: 1.5px;
    height: 28px;
    background: linear-gradient(to bottom, #8b3a10, #b43a2e 40%, transparent);
    border-radius: 1px;
}

/* --- 核心漂浮动画 --- */
@keyframes floatUp {
    0%   { bottom: -120px; opacity: 0; }
    5%   { opacity: var(--op); }
    10%  { transform: translateX(8px) rotate(-1deg); }
    25%  { transform: translateX(-12px) rotate(2deg); }
    40%  { transform: translateX(14px) rotate(-1.5deg); }
    55%  { transform: translateX(-8px) rotate(1deg); }
    70%  { transform: translateX(10px) rotate(-0.5deg); }
    85%  { opacity: var(--op); transform: translateX(-4px) rotate(0.5deg); }
    95%  { opacity: calc(var(--op) * 0.3); }
    100% { bottom: 115%; opacity: 0; transform: translateX(0) rotate(0); }
}

/* ========================================
   近景孔明灯 — 大而清晰 (scale 1.5~2.2)
   ======================================== */
.lantern-near {
    --op: 0.85;
    width: 42px;
    height: 95px;
    border-radius: 4% 4% 0 0 / 6% 6% 0 0;
    box-shadow:
        0 0 30px rgba(232,149,58,0.45),
        0 0 80px rgba(244,179,106,0.18),
        inset 0 -8px 18px rgba(120,45,20,0.16);
    filter: blur(0px);
    z-index: 3;
    animation: floatUp linear infinite;
}
.lantern-near::before { width: 55%; height: 13px; bottom: -9px; border-radius: 0 0 45% 45%; }
.lantern-near::after  {
    bottom: -44px; height: 34px; width: 2px;
}
/* 近景加火焰光点 */
.lantern-near .inner-glow {
    display: none; /* replaced by a second pseudo not available; use box-shadow inset instead */
}

/* 各近景灯位置与节奏 */
.lantern-n1 { left: 4%;  animation-duration: 28s; animation-delay: 0s;  }
.lantern-n2 { left: 22%; animation-duration: 32s; animation-delay: 8s;  }
.lantern-n3 { left: 78%; animation-duration: 30s; animation-delay: 4s;  }

/* ========================================
   中景孔明灯 — 中等大小 (scale 0.6~0.95)
   ======================================== */
.lantern-mid {
    --op: 0.65;
    width: 22px;
    height: 52px;
    border-radius: 4% 4% 0 0 / 6% 6% 0 0;
    box-shadow:
        0 0 14px rgba(232,149,58,0.25),
        0 0 40px rgba(244,179,106,0.08),
        inset 0 -5px 10px rgba(120,45,20,0.14);
    z-index: 2;
    animation: floatUp linear infinite;
}
.lantern-mid::before { width: 50%; height: 8px; bottom: -6px; border-radius: 0 0 45% 45%; }
.lantern-mid::after  { bottom: -24px; height: 18px; width: 1.2px; }

.lantern-m1 { left: 12%; animation-duration: 26s; animation-delay: 2s;  }
.lantern-m2 { left: 38%; animation-duration: 30s; animation-delay: 6s;  }
.lantern-m3 { left: 60%; animation-duration: 28s; animation-delay: 10s; }
.lantern-m4 { left: 88%; animation-duration: 32s; animation-delay: 3s;  }

/* ========================================
   远景孔明灯 — 小而朦胧 (scale 0.18~0.4)，大气透视
   ======================================== */
.lantern-far {
    --op: 0.28;
    width: 10px;
    height: 24px;
    background:
        radial-gradient(ellipse 85% 30% at 50% 8%, rgba(255,245,210,0.85) 0%, rgba(255,210,150,0.3) 40%, transparent 70%),
        linear-gradient(to bottom, #f5ddba 0%, #e8b060 40%, #c47d30 80%, #9e5a20 100%);
    border-radius: 4% 4% 0 0 / 6% 6% 0 0;
    box-shadow:
        0 0 6px rgba(232,149,58,0.15),
        0 0 16px rgba(210,160,100,0.05);
    z-index: 1;
    filter: blur(0.8px);
    animation: floatUp linear infinite;
}
.lantern-far::before { width: 48%; height: 5px; bottom: -3px; opacity: 0.75; border-radius: 0 0 45% 45%; box-shadow: 0 0 0 0.8px rgba(60,30,10,0.5), 0 -1px 3px rgba(255,160,60,0.3); }
.lantern-far::after  { bottom: -12px; height: 10px; width: 0.8px; opacity: 0.5; }

.lantern-f1 { left: 5%;  animation-duration: 24s; animation-delay: 1s;  }
.lantern-f2 { left: 30%; animation-duration: 28s; animation-delay: 7s;  }
.lantern-f3 { left: 52%; animation-duration: 26s; animation-delay: 12s; }
.lantern-f4 { left: 70%; animation-duration: 30s; animation-delay: 3s;  }
.lantern-f5 { left: 92%; animation-duration: 25s; animation-delay: 9s;  }

/* 远山剪影 */
.mountains {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 220px;
    color: var(--mountain);
    pointer-events: none;
}

.mountains svg {
    width: 100%;
    height: 100%;
}

/* Hero 内容 */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    max-width: 680px;
}

.hero-logo-frame {
    display: inline-block;
    position: relative;
    padding: 20px;
    margin-bottom: 32px;
}

.hero-logo-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 3px solid rgba(255,255,255,0.7);
    border-radius: 4px;
    box-shadow:
        0 0 0 1px rgba(184,147,90,0.2),
        0 8px 32px rgba(61,47,31,0.12);
    background: rgba(255,255,255,0.2);
    transform: rotate(-1deg);
}

.hero-logo {
    position: relative;
    max-width: 320px;
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 12px 40px rgba(61,47,31,0.15);
    animation: logoReveal 1s ease 0.3s both;
}

@keyframes logoReveal {
    0% { opacity: 0; transform: translateY(30px) scale(0.96); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-tagline {
    font-family: var(--font-brush);
    font-size: clamp(22px, 4vw, 34px);
    color: var(--vermillion);
    letter-spacing: 4px;
    margin-bottom: 12px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.hero-subtitle {
    font-size: clamp(13px, 2vw, 15px);
    color: var(--ink-lighter);
    letter-spacing: 4px;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 1s both;
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    opacity: 0;
    animation: fadeInUp 0.8s ease 1.2s both;
}

/* --- 按钮 --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    font-family: var(--font-serif);
    font-size: 15px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 2px;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--vermillion);
    color: var(--paper);
    box-shadow: 0 4px 16px rgba(180,58,46,0.28);
}

.btn-primary:hover {
    background: var(--vermillion-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(180,58,46,0.38);
}

.btn-ghost {
    background: rgba(255,255,255,0.25);
    color: var(--ink);
    border: 1px solid var(--border-ink);
}

.btn-ghost:hover {
    border-color: var(--vermillion);
    color: var(--vermillion);
    background: rgba(180,58,46,0.05);
}

.btn-large {
    padding: 18px 48px;
    font-size: 17px;
}

.btn-block {
    width: 100%;
}

/* 滚动提示 */
.hero-scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--ink-lighter);
    font-size: 12px;
    letter-spacing: 4px;
    opacity: 0;
    animation: fadeIn 1s ease 1.8s forwards;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { transform: scaleY(1); transform-origin: top; }
    50% { transform: scaleY(0.5); transform-origin: bottom; }
}

/* ========================================
   通用 Section
   ======================================== */
.section {
    padding: 120px 0;
    position: relative;
}

.section-light {
    color: var(--ink);
    background:
        radial-gradient(ellipse at 85% 8%, rgba(232,149,58,0.08) 0%, transparent 48%),
        radial-gradient(ellipse at 8% 92%, rgba(184,147,90,0.10) 0%, transparent 52%),
        linear-gradient(180deg, #f8efdc 0%, #f3e5c8 100%);
}

.section-warm {
    color: var(--ink);
    background:
        radial-gradient(ellipse at 15% 15%, rgba(180,58,46,0.06) 0%, transparent 48%),
        radial-gradient(ellipse at 88% 85%, rgba(212,176,114,0.16) 0%, transparent 55%),
        linear-gradient(180deg, #f1e3c6 0%, #e9d6b2 100%);
}

/* 入驻区块 — 偏金的另一调性，与平台介绍区分 */
#join.section-light {
    background:
        radial-gradient(ellipse at 10% 10%, rgba(184,147,90,0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 90%, rgba(232,149,58,0.08) 0%, transparent 48%),
        linear-gradient(180deg, #f7ecd2 0%, #f0e0bd 100%);
}

/* 区块顶部金色发丝线 + 底部投影层次 */
.section-light,
.section-warm {
    box-shadow:
        inset 0 1px 0 rgba(212,176,114,0.45),
        inset 0 2px 0 rgba(255,255,255,0.35);
}

/* 宣纸颗粒 + 祥云暗纹 */
.section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        /* 祥云暗纹（错位平铺） */
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='80' viewBox='0 0 160 80'%3E%3Cpath d='M20 52 q0 -14 14 -14 q4 -12 20 -10 q7 -10 22 -5 q15 3 15 17 q12 0 12 11 q0 9 -12 9 l-59 0 q-12 0 -12 -8z' fill='%238b7a63' fill-opacity='0.045'/%3E%3Cpath d='M100 22 q0 -10 10 -10 q3 -9 15 -7 q5 -7 16 -4 q11 2 11 12 q9 0 9 8 q0 7 -9 7 l-43 0 q-9 0 -9 -6z' fill='%23b43a2e' fill-opacity='0.035'/%3E%3C/svg%3E"),
        radial-gradient(circle at 25% 25%, rgba(201,185,160,0.10) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(201,185,160,0.06) 1px, transparent 1px);
    background-size: 160px 80px, 50px 50px, 70px 70px;
    pointer-events: none;
}

/* 巨型书法水印字 — 每个区块一个主题字 */
.section::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -3%;
    transform: translateY(-50%);
    font-family: var(--font-brush);
    font-size: clamp(220px, 32vw, 460px);
    line-height: 1;
    color: rgba(180,58,46,0.04);
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

#platform::after { content: '祀'; }
#company::after  { content: '承'; right: auto; left: -3%; }
#join::after     { content: '盟'; }
#contact::after  { content: '念'; right: auto; left: -3%; }

/* 内容浮于水印之上 */
.section > .container {
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
    position: relative;
}

.section-label {
    font-family: var(--font-brush);
    font-size: 48px;
    color: var(--vermillion);
    line-height: 1;
    margin-bottom: 12px;
    opacity: 0.18;
}

.section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: var(--ink);
    letter-spacing: 4px;
    margin-bottom: 8px;
    position: relative;
}

.section-subtitle {
    font-size: 12px;
    letter-spacing: 4px;
    color: var(--ink-lighter);
    text-transform: uppercase;
}

.cloud-divider {
    margin-top: 20px;
    color: var(--vermillion);
    opacity: 0.25;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
}

.cloud-divider svg {
    width: 100%;
    height: 20px;
}

.section-lead {
    max-width: 760px;
    margin: 0 auto 64px;
    text-align: center;
    font-size: 16px;
    color: var(--ink-light);
    line-height: 2;
}

/* ========================================
   平台介绍 - 功能卡片
   ======================================== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.feature-card {
    background: linear-gradient(165deg, rgba(255,252,244,0.82) 0%, rgba(255,246,229,0.45) 100%);
    padding: 40px 28px;
    border-radius: 4px;
    text-align: center;
    border: 1px solid var(--border-ink);
    transition: all 0.4s ease;
    position: relative;
    box-shadow: 0 2px 12px rgba(61,47,31,0.05);
}

/* 顶部朱砂→暖金装饰线 */
.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 3px;
    background: linear-gradient(to right, var(--vermillion), var(--gold-light));
    border-radius: 0 0 3px 3px;
    opacity: 0.6;
    transition: all 0.4s ease;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    border: 1px solid var(--border-ink);
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    background: linear-gradient(165deg, rgba(255,253,248,0.95) 0%, rgba(255,248,235,0.65) 100%);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover::after {
    width: 90px;
    opacity: 1;
}

.feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 24px;
    color: var(--vermillion);
    transition: transform 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

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

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.feature-card p {
    font-size: 14px;
    color: var(--ink-light);
    line-height: 1.8;
}

/* ========================================
   公司介绍
   ======================================== */
.company-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.company-heading {
    font-size: 24px;
    font-weight: 700;
    color: var(--vermillion);
    margin-bottom: 28px;
    letter-spacing: 2px;
    line-height: 1.6;
}

.company-text p {
    color: var(--ink-light);
    font-size: 15px;
    line-height: 2.2;
    margin-bottom: 20px;
}

.company-values {
    display: flex;
    gap: 48px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border-ink);
}

.value-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.value-num {
    font-size: 32px;
    font-weight: 700;
    color: var(--gold);
    font-family: var(--font-serif);
    line-height: 1;
}

.value-plus {
    font-size: 16px;
    color: var(--gold-light);
}

.value-label {
    font-size: 13px;
    color: var(--ink-lighter);
    letter-spacing: 2px;
}

/* 印章 */
.company-seal {
    display: flex;
    justify-content: center;
}

.seal-frame {
    text-align: center;
}

.seal-circle {
    width: 220px;
    height: 220px;
    border: 3px solid var(--vermillion);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: rgba(255,255,255,0.3);
    transition: transform 0.4s ease;
}

.seal-circle:hover {
    transform: rotate(5deg);
}

.seal-circle::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px solid var(--vermillion);
    border-radius: 50%;
    opacity: 0.4;
}

.seal-text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
    font-family: var(--font-brush);
    font-size: 36px;
    color: var(--vermillion);
    line-height: 1;
}

.seal-text span {
    display: flex;
    align-items: center;
    justify-content: center;
}

.seal-center {
    position: absolute;
    font-family: var(--font-brush);
    font-size: 14px;
    color: var(--vermillion);
    bottom: 40px;
    opacity: 0.6;
}

.seal-caption {
    margin-top: 20px;
    font-size: 14px;
    color: var(--ink-lighter);
    letter-spacing: 6px;
    font-family: var(--font-xiaowei);
}

/* ========================================
   平台入驻
   ======================================== */
.benefit-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-bottom: 80px;
}

.benefit-item {
    background: linear-gradient(170deg, rgba(255,252,244,0.8) 0%, rgba(255,246,228,0.42) 100%);
    padding: 36px 32px;
    border-radius: 4px;
    border: 1px solid var(--border-ink);
    border-left: 3px solid rgba(180,58,46,0.35);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 2px 12px rgba(61,47,31,0.05);
}

.benefit-item::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 40px 40px 0;
    border-color: transparent var(--vermillion) transparent transparent;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.benefit-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    background: linear-gradient(170deg, rgba(255,253,248,0.95) 0%, rgba(255,248,235,0.6) 100%);
    border-left-color: var(--vermillion);
}

.benefit-item:hover::after {
    opacity: 0.1;
}

.benefit-num {
    font-size: 36px;
    font-weight: 700;
    color: var(--vermillion);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: 16px;
    font-family: var(--font-serif);
}

.benefit-item h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.benefit-item p {
    font-size: 14px;
    color: var(--ink-light);
    line-height: 1.8;
}

/* 入驻流程 */
.process-section {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(255,252,240,0.9) 0%, transparent 70%),
        linear-gradient(170deg, rgba(255,252,244,0.6) 0%, rgba(250,240,220,0.35) 100%);
    padding: 60px 40px;
    border-radius: 8px;
    border: 1px solid var(--border-ink);
    box-shadow: 0 4px 24px rgba(61,47,31,0.06);
}

.process-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 48px;
    letter-spacing: 4px;
    color: var(--ink);
}

.process-steps {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
}

.step-marker {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: var(--paper-light);
    border: 2px solid var(--vermillion);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-brush);
    font-size: 28px;
    color: var(--vermillion);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.step-marker:hover {
    background: var(--vermillion);
    color: var(--paper);
    transform: scale(1.1);
}

.process-step h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.process-step p {
    font-size: 13px;
    color: var(--ink-light);
    padding: 0 12px;
}

.process-line {
    flex: 0 0 auto;
    width: 60px;
    height: 2px;
    background: linear-gradient(to right, var(--vermillion), var(--gold));
    margin-top: 31px;
    opacity: 0.4;
}

/* 入驻 CTA */
.join-cta {
    text-align: center;
    margin-top: 64px;
    padding: 64px 40px;
    background:
        radial-gradient(ellipse at 50% 120%, rgba(232,149,58,0.22) 0%, transparent 65%),
        radial-gradient(ellipse at 50% -20%, rgba(180,58,46,0.08) 0%, transparent 60%),
        linear-gradient(135deg, #ecd9b2 0%, #e3cba0 100%);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(184,147,90,0.4);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 6px 28px rgba(61,47,31,0.08);
}

/* CTA 双线描边（内衬金线） */
.join-cta::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(184,147,90,0.35);
    border-radius: 5px;
    pointer-events: none;
}

.join-cta h3 {
    font-size: 22px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 32px;
    letter-spacing: 2px;
    position: relative;
}

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

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

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

.contact-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    color: var(--vermillion);
    background: rgba(180,58,46,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    transition: all 0.3s ease;
}

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

.contact-item:hover .contact-icon {
    background: rgba(180,58,46,0.15);
    transform: scale(1.1);
}

.contact-item h4 {
    font-size: 16px;
    font-weight: 500;
    color: var(--vermillion);
    margin-bottom: 6px;
    letter-spacing: 2px;
}

.contact-item p {
    font-size: 14px;
    color: var(--ink-light);
    line-height: 1.6;
}

/* 表单 */
.contact-form {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(255,252,240,0.85) 0%, transparent 60%),
        linear-gradient(170deg, rgba(255,252,244,0.62) 0%, rgba(255,246,229,0.38) 100%);
    padding: 48px 40px;
    border-radius: 8px;
    border: 1px solid var(--border-ink);
    box-shadow: 0 4px 24px rgba(61,47,31,0.06);
}

.form-title {
    font-size: 20px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 32px;
    letter-spacing: 2px;
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: var(--ink-light);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.required {
    color: var(--vermillion);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255,255,255,0.6);
    border: 1px solid var(--border-ink);
    border-radius: 4px;
    color: var(--ink);
    font-family: var(--font-serif);
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--ink-lighter);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--vermillion);
    background: rgba(255,255,255,0.8);
    box-shadow: 0 0 0 3px rgba(180,58,46,0.08);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1 L6 6 L11 1' stroke='%23b43a2e' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group select option {
    background: var(--paper);
    color: var(--ink);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-hint {
    margin-top: 16px;
    font-size: 13px;
    text-align: center;
    color: var(--vermillion);
    min-height: 20px;
}

/* ========================================
   页脚
   ======================================== */
.footer {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(232,149,58,0.10) 0%, transparent 55%),
        radial-gradient(ellipse at 15% 100%, rgba(180,58,46,0.08) 0%, transparent 50%),
        linear-gradient(180deg, #42331f 0%, #33261a 100%);
    padding: 64px 0 40px;
    border-top: 1px solid rgba(212,176,114,0.35);
    box-shadow: inset 0 1px 0 rgba(212,176,114,0.15);
}

.footer-content {
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--paper);
    letter-spacing: 2px;
}

.footer-tagline {
    font-size: 14px;
    color: rgba(245,233,208,0.5);
    letter-spacing: 4px;
    margin-bottom: 28px;
    font-family: var(--font-xiaowei);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 14px;
    color: rgba(245,233,208,0.55);
    transition: color 0.3s ease;
}

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

.footer-dot {
    color: rgba(245,233,208,0.2);
}

.footer-copy {
    font-size: 12px;
    color: rgba(245,233,208,0.3);
    letter-spacing: 1px;
}

/* ========================================
   回到顶部
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--vermillion);
    color: var(--paper);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    box-shadow: 0 4px 16px rgba(180,58,46,0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    z-index: 999;
}

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

.back-to-top:hover {
    background: var(--vermillion-dark);
    transform: translateY(-4px);
}

.back-to-top svg {
    width: 100%;
    height: 100%;
}

/* ========================================
   滚动动画
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   响应式
   ======================================== */
@media (max-width: 968px) {
    .company-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .hero-logo {
        max-width: 280px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 80px 0;
    }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(245,233,208,0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        box-shadow: 0 4px 20px rgba(61,47,31,0.1);
    }

    .nav-links.open {
        max-height: 320px;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--border-ink);
    }

    .nav-links li a {
        display: block;
        padding: 16px;
        color: var(--ink) !important;
    }

    .nav-toggle {
        display: flex;
    }

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

    .process-steps {
        flex-direction: column;
        gap: 32px;
    }

    .process-line {
        width: 2px;
        height: 32px;
        margin: 0 auto;
        background: linear-gradient(to bottom, var(--vermillion), var(--gold));
    }

    .company-values {
        flex-wrap: wrap;
        gap: 32px;
    }

    .hero-cta {
        flex-direction: column;
        gap: 16px;
    }

    .btn {
        width: 100%;
    }

    .hero-cta .btn {
        max-width: 280px;
    }

    .contact-form {
        padding: 32px 24px;
    }

    .process-section {
        padding: 40px 20px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
    }

    .hero-logo {
        max-width: 240px;
    }
}

@media (max-width: 480px) {
    .section-title {
        letter-spacing: 2px;
    }

    .benefit-row {
        grid-template-columns: 1fr;
    }

    .lantern-near { width: 34px; height: 75px; }
    .lantern-mid  { width: 18px; height: 42px; }
    .lantern-far  { width: 8px;  height: 18px; }
}
