/* ============================================
   知喜文创 - 主样式表
   品牌：知喜文创
   主色值：#006637
   风格：时尚文艺、视觉冲击、藏文化+AI科技
   ============================================ */

/* === CSS Variables === */
:root {
    --primary: #006637;
    --primary-light: #008a4a;
    --primary-dark: #004d29;
    --primary-glow: #00c868;
    --accent-gold: #c8a96e;
    --accent-gold-amber: #d4a020;
    --accent-gold-light: #e8d5b7;
    --accent-red: #8b1a2b;
    --accent-red-light: #c62828;
    --tibet-blue: #1a237e;
    --tibet-purple: #4a148c;
    --bg-cream: #faf7f2;
    --bg-warm: #f5f0eb;
    --bg-dark: #0a0f0c;
    --bg-darker: #050805;
    --text-primary: #1a1a1a;
    --text-secondary: #555;
    --text-light: #999;
    --text-on-dark: #e0e0e0;
    --white: #ffffff;
    --border: rgba(0, 102, 55, 0.12);
    --border-light: rgba(255,255,255,0.1);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --shadow-glow: 0 0 30px rgba(0,102,55,0.15);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --font-serif: 'Noto Serif SC', 'STSong', 'SimSun', serif;
    --font-sans: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --container: 1280px;
}

/* === Reset & Base === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

/* === Header & Navigation === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
    padding: 16px 0;
}

.header.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(0,0,0,0.06);
    padding: 10px 0;
}

.header-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

.logo-img {
    display: inline-block;
    width: 44px;
    height: 44px;
    background-color: var(--white);
    -webkit-mask-image: url('/images/logo.png');
    mask-image: url('/images/logo.png');
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    transition: var(--transition);
}

.logo:hover .logo-img {
    transform: scale(1.08) rotate(-2deg);
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.06em;
    transition: var(--transition);
}

.header.scrolled .logo-img {
    background-color: var(--primary);
}

.header.scrolled .logo-text {
    color: var(--primary);
}

.nav {
    display: flex;
    gap: 4px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    border-radius: 20px;
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
}

.header.scrolled .nav-link {
    color: var(--text-secondary);
}

.nav-link:hover {
    color: var(--white);
}

.header.scrolled .nav-link:hover {
    color: var(--primary);
}

.nav-link.active {
    color: var(--white);
}

.header.scrolled .nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--accent-gold-amber);
    border-radius: 2px;
    opacity: 0.85;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
    padding: 4px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}

.header.scrolled .menu-toggle span {
    background: var(--primary);
}

/* === Hero Section === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: #06140d;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,60,35,0.8) 0%, transparent 70%),
        radial-gradient(ellipse 100% 80% at 50% 100%, rgba(0,40,22,0.9) 0%, transparent 60%),
        radial-gradient(circle at 60% 30%, rgba(0,80,40,0.25) 0%, transparent 45%),
        radial-gradient(circle at 30% 70%, rgba(0,102,55,0.2) 0%, transparent 40%),
        linear-gradient(180deg, #06140d 0%, #082115 40%, #0a2a18 70%, #071b11 100%);
}

/* Aurora / Northern Lights */
.hero-aurora {
    position: absolute;
    inset: 0;
    opacity: 0.55;
    mix-blend-mode: screen;
    pointer-events: none;
}

.aurora-layer {
    position: absolute;
    inset: -50%;
    filter: blur(60px);
    transform-origin: center center;
    animation: auroraMove 18s ease-in-out infinite;
}

.aurora-layer.layer-1 {
    background: radial-gradient(ellipse 50% 30% at 50% 50%, rgba(0,200,100,0.35) 0%, transparent 70%);
    animation-duration: 22s;
    animation-delay: -5s;
}

.aurora-layer.layer-2 {
    background: radial-gradient(ellipse 45% 25% at 40% 40%, rgba(0,150,80,0.3) 0%, transparent 65%);
    animation-duration: 28s;
    animation-delay: -12s;
}

.aurora-layer.layer-3 {
    background: radial-gradient(ellipse 40% 35% at 60% 60%, rgba(0,180,90,0.25) 0%, transparent 60%);
    animation-duration: 24s;
    animation-delay: -8s;
}

@keyframes auroraMove {
    0%, 100% {
        transform: rotate(0deg) translateX(0) scale(1.1);
    }
    33% {
        transform: rotate(8deg) translateX(30px) scale(1.15);
    }
    66% {
        transform: rotate(-6deg) translateX(-20px) scale(1.05);
    }
}

/* Star field */
.hero-stars {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-star {
    position: absolute;
    background: var(--white);
    border-radius: 50%;
    animation: twinkle 3s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.2; transform: scale(0.8); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

/* Landscape silhouette */
.hero-landscape {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 35%;
    background: linear-gradient(to top, rgba(4,18,11,0.95) 0%, transparent 100%);
    z-index: 2;
}

.hero-landscape::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: -5%;
    right: -5%;
    height: 55%;
    background: #031008;
    clip-path: polygon(
        0% 100%, 5% 75%, 12% 62%, 20% 78%, 28% 55%,
        35% 70%, 45% 45%, 52% 60%, 58% 35%, 65% 50%,
        72% 40%, 78% 55%, 85% 45%, 92% 65%, 97% 58%,
        100% 72%, 100% 100%
    );
}

.hero-landscape::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -5%;
    right: -5%;
    height: 35%;
    background: #020805;
    clip-path: polygon(
        0% 100%, 8% 85%, 16% 70%, 24% 82%, 32% 65%,
        42% 75%, 52% 58%, 62% 68%, 72% 55%, 82% 70%,
        90% 62%, 100% 78%, 100% 100%
    );
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.hero-particle {
    position: absolute;
    background: var(--accent-gold-amber);
    border-radius: 50%;
    animation: floatUp 10s ease-in-out infinite;
    opacity: 0;
}

@keyframes floatUp {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0; }
    100% { transform: translateY(-10vh) scale(1.5); opacity: 0; }
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(0,200,100,0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0,200,100,0.04) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(200,169,110,0.03) 0%, transparent 50%);
}

.hero::before,
.hero::after {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 100px 24px 80px;
    max-width: 860px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50px;
    color: rgba(255,255,255,0.85);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    margin-bottom: 36px;
    backdrop-filter: blur(12px);
    animation: fadeInDown 0.8s ease-out;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-gold-amber);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.badge-sep {
    color: rgba(255,255,255,0.35);
    font-weight: 300;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212,160,32,0.5); }
    50% { box-shadow: 0 0 0 10px rgba(212,160,32,0); }
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 900;
    color: var(--white);
    letter-spacing: 0.08em;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.title-line {
    display: block;
    background: linear-gradient(180deg, #fff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 80px rgba(0,200,100,0.25);
}

.hero-slogan {
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 2.2vw, 1.5rem);
    color: var(--accent-gold-amber);
    letter-spacing: 0.08em;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    text-shadow: 0 2px 20px rgba(212,160,32,0.2);
}

.hero-desc {
    font-size: clamp(0.85rem, 1.4vw, 0.95rem);
    color: rgba(255,255,255,0.5);
    line-height: 1.9;
    margin-bottom: 40px;
    max-width: 640px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-actions {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    letter-spacing: 0.02em;
}

.btn-hero-primary {
    background: var(--accent-gold-amber);
    color: #0a0f0c;
    box-shadow: 0 4px 20px rgba(212,160,32,0.35);
}

.btn-hero-primary:hover {
    background: #e6b038;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(212,160,32,0.45);
}

.btn-hero-primary svg path {
    stroke: currentColor;
}

.btn-hero-outline {
    background: rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
}

.btn-hero-outline:hover {
    border-color: rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.06);
    transform: translateY(-2px);
}

.btn-hero-outline svg path {
    stroke: currentColor;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(0,102,55,0.3);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,102,55,0.4);
}

.btn-outline {
    border: 1.5px solid rgba(255,255,255,0.4);
    color: var(--white);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    border-color: rgba(255,255,255,0.8);
    background: rgba(255,255,255,0.08);
    transform: translateY(-2px);
}

.btn-primary-outline {
    border: 1.5px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-primary-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.hero-arrow-wrap {
    display: flex;
    justify-content: center;
    margin-top: 32px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(4px);
    animation: arrowSlide 2s ease-in-out infinite;
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.35);
    color: var(--white);
    transform: translateY(-2px);
}

@keyframes arrowSlide {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    50% {
        transform: translateY(10px);
        opacity: 1;
    }
}

/* === Animations === */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* === Section Headers === */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary);
    padding: 6px 16px;
    background: rgba(0,102,55,0.06);
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: 0.04em;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Light variant for dark backgrounds */
.section-header.light .section-tag {
    color: var(--primary-glow);
    background: rgba(0,200,100,0.1);
}

.section-header.light .section-title {
    color: var(--white);
}

.section-header.light .section-subtitle {
    color: rgba(255,255,255,0.6);
}

/* === Philosophy Section === */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.philosophy-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.philosophy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: var(--transition);
}

.philosophy-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.philosophy-card:hover::before {
    opacity: 1;
}

.philosophy-card.highlight {
    background: linear-gradient(160deg, #f0faf3 0%, #e8f5e9 100%);
    border-color: rgba(0,102,55,0.2);
}

.card-icon {
    margin-bottom: 20px;
}

.philosophy-card h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.philosophy-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.card-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.card-tags li {
    font-size: 0.78rem;
    padding: 4px 12px;
    background: rgba(0,102,55,0.06);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 500;
}

/* === Eco System Platform — 环形生态闭环 === */
.bg-dark {
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.bg-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 20% 50%, rgba(0, 102, 55, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 60%, rgba(0, 200, 100, 0.06) 0%, transparent 55%);
    pointer-events: none;
}

.eco-system .container {
    position: relative;
    z-index: 1;
}

.eco-platform {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
    align-items: center;
    max-width: 1120px;
    margin: 0 auto;
}

.eco-orbit {
    position: relative;
    width: 440px;
    height: 440px;
    margin: 0 auto;
    flex-shrink: 0;
}

.eco-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.center-mark {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 30%, rgba(0, 200, 100, 0.25), rgba(0, 80, 45, 0.45));
    border: 1.5px solid rgba(0, 200, 100, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-glow);
    text-shadow: 0 0 20px rgba(0, 200, 100, 0.4);
    box-shadow: 0 0 40px rgba(0, 200, 100, 0.15), inset 0 0 30px rgba(0, 200, 100, 0.1);
    animation: centerPulse 4s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.center-ring {
    position: absolute;
    inset: 0;
    border: 1px dashed rgba(0, 200, 100, 0.2);
    border-radius: 50%;
    animation: ringRotate 20s linear infinite;
}

@keyframes centerPulse {
    0%, 100% { box-shadow: 0 0 40px rgba(0, 200, 100, 0.15), inset 0 0 30px rgba(0, 200, 100, 0.1); transform: scale(1); }
    50% { box-shadow: 0 0 60px rgba(0, 200, 100, 0.25), inset 0 0 40px rgba(0, 200, 100, 0.15); transform: scale(1.03); }
}

@keyframes ringRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.eco-orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(0, 200, 100, 0.12);
    pointer-events: none;
}

.eco-orbit-ring.ring-1 {
    width: 320px;
    height: 320px;
    border-style: dashed;
    border-color: rgba(0, 200, 100, 0.18);
    animation: ringRotate 30s linear infinite reverse;
}

.eco-orbit-ring.ring-2 {
    width: 420px;
    height: 420px;
    border: 1px solid rgba(0, 200, 100, 0.08);
}

.eco-orbit-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    border-radius: 50%;
}

.eco-orbit-particles::before,
.eco-orbit-particles::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(0, 200, 100, 0.5);
    box-shadow: 0 0 12px rgba(0, 200, 100, 0.6);
    animation: orbitTravel 8s linear infinite;
}

.eco-orbit-particles::after {
    width: 4px;
    height: 4px;
    animation-duration: 12s;
    animation-delay: -4s;
    opacity: 0.7;
}

@keyframes orbitTravel {
    0% { transform: translate(50%, 10%) scale(1); opacity: 0.3; }
    25% { transform: translate(90%, 50%) scale(1.2); opacity: 1; }
    50% { transform: translate(50%, 90%) scale(1); opacity: 0.3; }
    75% { transform: translate(10%, 50%) scale(0.8); opacity: 1; }
    100% { transform: translate(50%, 10%) scale(1); opacity: 0.3; }
}

.eco-nodes {
    position: absolute;
    inset: 0;
    z-index: 6;
    animation: orbitSpin 40s linear infinite;
}

.eco-orbit:hover .eco-nodes {
    animation-play-state: paused;
}

.eco-node {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: rotate(var(--angle)) translateX(160px) rotate(calc(var(--angle) * -1)) translate(-50%, -50%);
    transform-origin: 0 0;
    cursor: pointer;
}

.eco-node .node-core {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: rgba(10, 25, 16, 0.85);
    border: 1.5px solid rgba(0, 200, 100, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--transition);
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.eco-node .node-icon,
.eco-node .node-label {
    animation: orbitSpin 40s linear infinite reverse;
}

.eco-orbit:hover .node-icon,
.eco-orbit:hover .node-label {
    animation-play-state: paused;
}

@keyframes orbitSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.eco-node .node-core::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: var(--transition);
}

.eco-node[data-eco="content"] { --node-color: #d4a020; --node-color-rgb: 212, 160, 32; }
.eco-node[data-eco="digital"] { --node-color: #00b8d4; --node-color-rgb: 0, 184, 212; }
.eco-node[data-eco="experience"] { --node-color: #00c853; --node-color-rgb: 0, 200, 83; }
.eco-node[data-eco="commercial"] { --node-color: #ff6e40; --node-color-rgb: 255, 110, 64; }

.eco-node .node-core { color: var(--node-color); }

.eco-node.active .node-core {
    background: rgba(var(--node-color-rgb), 0.22);
    border-color: var(--node-color);
    box-shadow: 0 0 30px rgba(var(--node-color-rgb), 0.25), 0 8px 32px rgba(0, 0, 0, 0.35);
    transform: scale(1.12);
}

.eco-node.active .node-core::before {
    border-color: rgba(var(--node-color-rgb), 0.5);
    animation: nodeRingPulse 2s ease-out infinite;
}

@keyframes nodeRingPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.4); opacity: 0; }
}

.eco-node .node-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.eco-node .node-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    white-space: nowrap;
}

.eco-node.active .node-label {
    color: var(--node-color);
    font-weight: 700;
}

.eco-node:hover .node-core {
    transform: scale(1.08);
    border-color: var(--node-color);
    background: rgba(0, 102, 55, 0.2);
}

.eco-node.active:hover .node-core {
    transform: scale(1.15);
}

.eco-detail {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.eco-detail-panels {
    position: relative;
    min-height: 220px;
}

.eco-panel {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}

.eco-panel.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    position: relative;
}

.eco-panel-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    transition: color 0.4s ease;
}

.eco-panel[data-panel="content"] .eco-panel-title { color: #d4a020; }
.eco-panel[data-panel="digital"] .eco-panel-title { color: #4dd0e1; }
.eco-panel[data-panel="experience"] .eco-panel-title { color: #69f0ae; }
.eco-panel[data-panel="commercial"] .eco-panel-title { color: #ff8a65; }

.eco-panel-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.9;
    margin-bottom: 24px;
}

.eco-panel-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.eco-tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.eco-tag.active {
    color: #0a0f0c;
    background: var(--accent-gold-amber);
    border-color: var(--accent-gold-amber);
    font-weight: 600;
}

.eco-detail-flow {
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

.flow-label {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}

.flow-steps {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.flow-step {
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    cursor: pointer;
}

.flow-step.active {
    color: #0a0f0c;
    background: var(--accent-gold-amber);
    border-color: var(--accent-gold-amber);
    font-weight: 600;
}

.flow-step[data-step="digital"].active { background: #4dd0e1; border-color: #4dd0e1; }
.flow-step[data-step="experience"].active { background: #69f0ae; border-color: #69f0ae; color: #0a0f0c; }
.flow-step[data-step="commercial"].active { background: #ff8a65; border-color: #ff8a65; color: #0a0f0c; }

.flow-arrow {
    color: rgba(0, 200, 100, 0.4);
    font-size: 0.85rem;
}

.flow-loop {
    color: rgba(0, 200, 100, 0.6);
    font-size: 1rem;
    animation: loopSpin 4s linear infinite;
    display: inline-block;
}

@keyframes loopSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.eco-loop-text {
    text-align: center;
    color: rgba(0, 200, 100, 0.5);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    margin-top: 48px;
}

@media (max-width: 1024px) {
    .eco-platform {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .eco-orbit {
        width: 380px;
        height: 380px;
    }

    .eco-orbit-ring.ring-1 { width: 280px; height: 280px; }
    .eco-orbit-ring.ring-2 { width: 360px; height: 360px; }
    .eco-nodes .eco-node { transform: rotate(var(--angle)) translateX(140px) rotate(calc(var(--angle) * -1)) translate(-50%, -50%); }
    .eco-node .node-core { width: 86px; height: 86px; }
    .eco-node .node-label { font-size: 0.7rem; }
    .eco-detail { align-items: center; text-align: center; }
    .eco-detail-panels { min-height: 240px; width: 100%; max-width: 540px; }
    .eco-panel-tags { justify-content: center; }
}

@media (max-width: 480px) {
    .eco-orbit {
        width: 300px;
        height: 300px;
    }

    .eco-center .center-mark { width: 72px; height: 72px; font-size: 1.2rem; }
    .eco-orbit-ring.ring-1 { width: 220px; height: 220px; }
    .eco-orbit-ring.ring-2 { width: 290px; height: 290px; }
    .eco-nodes .eco-node { transform: rotate(var(--angle)) translateX(110px) rotate(calc(var(--angle) * -1)) translate(-50%, -50%); }
    .eco-node .node-core { width: 72px; height: 72px; }
    .eco-node .node-icon svg { width: 22px; height: 22px; }
    .eco-node .node-label { font-size: 0.65rem; }
    .eco-panel-title { font-size: 1.5rem; }
    .eco-detail-flow { padding: 16px; }
    .flow-steps { justify-content: center; gap: 6px; }
    .flow-step { font-size: 0.72rem; padding: 5px 10px; }
    .flow-arrow { font-size: 0.75rem; }
}

/* === Products Section === */
.products-filter {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-cream);
    transition: var(--transition);
}

.filter-btn:hover {
    color: var(--primary);
    background: rgba(0,102,55,0.08);
}

.filter-btn.active {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 2px 12px rgba(0,102,55,0.25);
}

.products-masonry {
    column-count: 3;
    column-gap: 20px;
}

.product-card {
    break-inside: avoid;
    margin-bottom: 20px;
    cursor: pointer;
    filter: drop-shadow(0 2px 12px rgba(0,0,0,0.06));
    transition: filter 0.4s ease;
}

.product-card:hover {
    filter: drop-shadow(0 8px 28px rgba(0,0,0,0.15));
}

.product-card-inner {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
}

.product-media {
    position: relative;
    overflow: hidden;
}

.product-visual {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-card:hover .product-visual {
    transform: scale(1.08);
}

.product-illust {
    width: 70%;
    height: auto;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover .product-illust {
    transform: scale(1.05);
}

/* 竖版大卡 */
.product-card.card-tall .product-visual {
    aspect-ratio: 3 / 4;
}

/* 横版大卡 / 特色卡 */
.product-card.card-featured .product-visual {
    aspect-ratio: 4 / 3;
}

/* 默认比例 */
.product-card:not(.card-tall):not(.card-featured) .product-visual {
    aspect-ratio: 3 / 2;
}

.product-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px 20px;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.45) 40%,
        rgba(0, 0, 0, 0.08) 75%,
        transparent 100%
    );
    transition: background 0.5s ease;
}

.product-overlay-meta {
    transform: translateY(8px);
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover .product-overlay-meta {
    transform: translateY(0);
}

.product-category-label {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.15);
    padding: 3px 10px;
    border-radius: 50px;
    margin-bottom: 10px;
    backdrop-filter: blur(4px);
}

.product-title-lg {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.3;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.product-excerpt {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-artisan-lg {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.04em;
}

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 12px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 3;
    transition: background 0.3s ease;
}

.product-card:hover .product-badge {
    background: rgba(0, 0, 0, 0.7);
}

/* 筛选功能：隐藏状态适配瀑布流 */
.product-card.filter-hidden {
    opacity: 0;
    transform: scale(0.92);
    pointer-events: none;
    margin-bottom: 0;
    max-height: 0;
    overflow: hidden;
    filter: none;
}

.products-more {
    text-align: center;
    margin-top: 48px;
}

/* === Story Tour === */
.bg-cream {
    background: var(--bg-cream);
    background-image:
        radial-gradient(ellipse at 20% 80%, rgba(0,102,55,0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(200,169,110,0.04) 0%, transparent 50%);
}

.tour-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.tour-visual {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 3/2;
}

.tour-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.7s ease;
}

.tour-visual:hover .tour-bg-img {
    transform: scale(1.04);
}

.tour-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--white);
}

.tour-overlay-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 14px;
}

.tour-space-links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.space-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(6px);
    transition: var(--transition);
}

.space-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.space-link::after {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    background: currentColor;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 17L17 7M17 7H7M17 7V17' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 17L17 7M17 7H7M17 7V17' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

.tour-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    background: rgba(0,200,100,0.2);
    border: 1px solid rgba(0,200,100,0.3);
    border-radius: 50px;
    font-size: 0.78rem;
    margin-bottom: 12px;
}

.live-dot {
    width: 6px;
    height: 6px;
    background: #00ff88;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.tour-overlay h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    margin-bottom: 6px;
}

.tour-overlay p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

.tour-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tour-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.tour-feature:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.tf-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(0,102,55,0.06);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tour-feature h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.tour-feature p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* === Community Section === */
.community-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.community-intro {
    position: sticky;
    top: 100px;
}

.community-intro h3 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.community-intro > p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 28px;
    font-size: 0.95rem;
}

.creator-types {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.creator-type {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--bg-cream);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--border);
}

.ct-icon {
    font-size: 1.1rem;
}

.community-feed {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
}

.feed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    border-bottom: 1px solid var(--border);
}

.feed-header h4 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
}

.feed-live {
    font-size: 0.78rem;
    color: #00c853;
    font-weight: 500;
}

.feed-list {
    padding: 8px;
}

.feed-item {
    display: flex;
    gap: 14px;
    padding: 16px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.feed-item:hover {
    background: var(--bg-cream);
}

.feed-avatar {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
}

.feed-content {
    flex: 1;
    min-width: 0;
}

.feed-user {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.feed-user strong {
    font-size: 0.92rem;
}

.feed-badge {
    font-size: 0.7rem;
    padding: 2px 8px;
    background: rgba(0,102,55,0.08);
    color: var(--primary);
    border-radius: 50px;
}

.feed-content p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 8px;
}

.feed-meta {
    display: flex;
    gap: 16px;
    font-size: 0.78rem;
    color: var(--text-light);
}

/* === Smart Tourism === */
.tourism-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.tourism-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 28px 22px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.tourism-card:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(0,200,100,0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.tourism-card-visual {
    height: 140px;
    margin-bottom: 16px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: rgba(0,0,0,0.2);
}

.tourism-card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.tourism-card:hover .tourism-card-visual img {
    transform: scale(1.06);
}

.tourism-card h3 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--white);
    margin-bottom: 10px;
}

.tourism-card p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
    margin-bottom: 14px;
}

.tourism-features {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tourism-features li {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    padding-left: 16px;
    position: relative;
}

.tourism-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--primary-glow);
    border-radius: 50%;
}

/* === Locations === */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.location-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    background: var(--white);
}

.location-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.location-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.location-img {
    position: relative;
}

.location-bg {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.location-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    color: var(--white);
    font-size: 0.72rem;
    border-radius: 50px;
}

.location-info {
    padding: 18px;
}

.location-info h3 {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.location-info p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 10px;
}

.location-addr {
    font-size: 0.78rem;
    color: var(--text-light);
}

/* === Footer === */
.footer {
    background: var(--bg-darker);
    color: rgba(255,255,255,0.7);
    padding: 72px 0 32px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
        transparent,
        var(--primary) 20%,
        var(--accent-gold) 50%,
        var(--primary) 80%,
        transparent
    );
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo span {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
}

.footer-brand > p:first-of-type {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 12px;
}

.footer-desc {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-qr {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.qr-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.qr-code {
    width: 76px;
    height: 76px;
    padding: 5px;
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.qr-code:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.qr-placeholder,
.qr-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 3px;
}

.qr-label {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.04em;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-glow);
    transform: translateX(4px);
}

.footer-contact p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 8px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-bottom {
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.3);
}

.footer-divider {
    width: 4px;
    height: 4px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
}

/* === Back to Top === */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 4px 16px rgba(0,102,55,0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-light);
    transform: translateY(-4px);
}

/* === Scroll Animations === */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

/* === Responsive Design === */

/* Tablet */
@media (max-width: 1024px) {
    .philosophy-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tourism-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tour-showcase {
        grid-template-columns: 1fr;
    }

    .community-layout {
        grid-template-columns: 1fr;
    }

    .community-intro {
        position: static;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-padding {
        padding: 72px 0;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(10,20,15,0.98);
        backdrop-filter: blur(30px);
        flex-direction: column;
        padding: 100px 32px 32px;
        gap: 8px;
        transition: var(--transition);
        z-index: 1000;
    }

    .nav.active {
        right: 0;
    }

    .nav-link {
        padding: 12px 16px;
        font-size: 1rem;
        border-radius: var(--radius-sm);
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
    }

    .tourism-grid {
        grid-template-columns: 1fr;
    }

    .locations-grid {
        grid-template-columns: 1fr;
    }

    .products-masonry {
        column-count: 2;
    }

    .eco-flow {
        flex-direction: column;
        gap: 12px;
    }

    .eco-arrow {
        transform: rotate(90deg);
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
        max-width: 280px;
    }

    .hero-content {
        padding: 100px 16px 40px;
    }

    .section-padding {
        padding: 56px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .tour-overlay {
        padding: 20px;
    }

    .tour-overlay-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .tour-space-links {
        width: 100%;
    }

    .space-link {
        flex: 1 1 auto;
        justify-content: center;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .section-title {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .products-filter {
        gap: 6px;
    }

    .products-masonry {
        column-count: 1;
    }

    .filter-btn {
        padding: 6px 14px;
        font-size: 0.78rem;
    }

    .creator-types {
        flex-direction: column;
    }

    .tour-space-links {
        flex-direction: column;
        width: 100%;
    }

    .space-link {
        width: 100%;
        justify-content: center;
        font-size: 0.72rem;
        padding: 5px 12px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }

    .footer-divider {
        display: none;
    }
}

/* === Utility === */
.hidden {
    display: none !important;
}

/* Smooth transition for all interactive elements */
a, button, .product-card, .philosophy-card,
.tour-feature, .tourism-card, .location-card {
    will-change: transform;
}

/* ==============================================
   360° 产品展示弹窗
   ============================================== */
.viewer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    backdrop-filter: blur(8px);
}

.viewer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.viewer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 700px;
    width: 92%;
    max-height: 95vh;
    position: relative;
}

.viewer-close {
    position: absolute;
    top: -44px;
    right: 0;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.viewer-close:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.5);
    transform: rotate(90deg);
}

/* 3D Stage */
.viewer-stage {
    width: 100%;
    position: relative;
    background: radial-gradient(ellipse at center, rgba(30, 25, 20, 0.6) 0%, rgba(15, 12, 10, 0.95) 100%);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.viewer-3d-scene {
    width: 100%;
    aspect-ratio: 1 / 1;
    max-height: 60vh;
    perspective: 900px;
    perspective-origin: 50% 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: grab;
    overflow: hidden;
}

.viewer-3d-scene:active {
    cursor: grabbing;
}

.viewer-3d-scene.dragging {
    cursor: grabbing;
}

/* 旋转提示 */
.viewer-rotate-hint {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    z-index: 5;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.5s ease;
    background: rgba(0, 0, 0, 0.45);
    padding: 8px 16px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

.viewer-rotate-hint.hidden {
    opacity: 0;
}

.viewer-rotate-hint svg {
    animation: hint-pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes hint-pulse {
    0%, 100% { opacity: 0.4; transform: scale(1) rotate(0deg); }
    50% { opacity: 1; transform: scale(1.15) rotate(180deg); }
}

/* 3D 旋转物体 */
.viewer-3d-object {
    width: 55%;
    height: 70%;
    transform-style: preserve-3d;
    transform: rotateY(0deg) rotateX(0deg);
    transition: none;
    position: relative;
    z-index: 3;
}

.viewer-3d-object img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.6));
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

/* 反射倒影 */
.viewer-reflection {
    position: absolute;
    bottom: -20%;
    left: 0;
    width: 100%;
    height: 50%;
    background: inherit;
    transform: scaleY(-1);
    opacity: 0.15;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.35), transparent);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.35), transparent);
    pointer-events: none;
}

/* 平台/阴影 */
.viewer-platform {
    position: absolute;
    bottom: 12%;
    left: 50%;
    transform: translateX(-50%);
    width: 55%;
    height: 8px;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 2;
}

/* 控制按钮 */
.viewer-controls {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.viewer-ctrl-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
}

.viewer-ctrl-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
}

.viewer-ctrl-btn.active {
    background: rgba(255, 152, 0, 0.2);
    border-color: rgba(255, 152, 0, 0.5);
    color: #ffb74d;
}

/* 底部产品信息 */
.viewer-info {
    text-align: center;
    padding: 20px 10px 0;
    color: #fff;
}

.viewer-info .viewer-category {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffb74d;
    background: rgba(255, 152, 0, 0.12);
    padding: 4px 12px;
    border-radius: 12px;
    margin-bottom: 8px;
}

.viewer-info .viewer-title {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 8px;
    color: #fff;
}

.viewer-info .viewer-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
    max-width: 480px;
    margin: 0 auto 8px;
}

.viewer-info .viewer-artisan {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
}

/* 响应式 */
@media (max-width: 768px) {
    .viewer-close {
        top: -40px;
        right: 8px;
        width: 36px;
        height: 36px;
        font-size: 20px;
    }

    .viewer-3d-scene {
        max-height: 45vh;
    }

    .viewer-3d-object {
        width: 60%;
        height: 65%;
    }

    .viewer-info .viewer-title {
        font-size: 18px;
    }

    .viewer-info .viewer-desc {
        font-size: 13px;
    }

    .viewer-rotate-hint {
        font-size: 11px;
        padding: 6px 12px;
        gap: 6px;
    }

    .viewer-rotate-hint svg {
        width: 28px;
        height: 28px;
    }
}

/* === Modal: 创作者入驻弹窗 === */
.modal-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(10, 15, 12, 0.65);
    backdrop-filter: blur(8px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    position: relative;
    width: 100%;
    max-width: 560px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    background: var(--bg-cream);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 32px;
    transform: translateY(20px) scale(0.98);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active .modal {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: rgba(0, 102, 55, 0.08);
    color: var(--primary);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--primary);
    color: var(--white);
    transform: rotate(90deg);
}

.modal-header {
    margin-bottom: 24px;
}

.modal-header h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
}

.modal-header p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.join-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.join-form .form-group {
    margin-bottom: 18px;
}

.join-form label,
.join-form .form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

.join-form .required {
    color: var(--accent-red);
}

.join-form input[type="text"],
.join-form input[type="tel"],
.join-form select,
.join-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

.join-form input:focus,
.join-form select:focus,
.join-form textarea:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(0, 102, 55, 0.1);
}

.join-form textarea {
    resize: vertical;
    min-height: 80px;
}

.radio-group,
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.radio-label,
.checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.radio-label input,
.checkbox-label input {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
    cursor: pointer;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 8px;
}

.modal-success {
    text-align: center;
    padding: 24px 8px;
    animation: fadeInUp 0.4s ease;
}

.success-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    font-size: 1.75rem;
    font-weight: 700;
}

.modal-success h4 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.modal-success p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

@media (max-width: 576px) {
    .join-form .form-row {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column-reverse;
    }

    .form-actions .btn {
        width: 100%;
        max-width: none;
    }

    .modal {
        padding: 24px 20px;
    }
}

/* === AIGC 智能体栏目 === */
.aigc-layout {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 32px;
    align-items: stretch;
}

/* 设计工作台 */
.aigc-workbench {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.aigc-frame-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px;
    background: linear-gradient(135deg, #0d3b22, #006637);
    color: #fff;
}

.aigc-frame-dots {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.aigc-frame-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
}

.aigc-frame-dots span:first-child { background: #ff5f57; }
.aigc-frame-dots span:nth-child(2) { background: #ffbd2e; }
.aigc-frame-dots span:nth-child(3) { background: #28c840; }

.aigc-frame-title {
    flex: 1;
    font-size: 13px;
    letter-spacing: 0.5px;
    opacity: 0.9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.aigc-frame-open {
    flex-shrink: 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    padding: 4px 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 14px;
    transition: var(--transition);
}

.aigc-frame-open:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.aigc-frame-wrap {
    position: relative;
    flex: 1;
    width: 100%;
    min-height: 480px;
    background: #f5f6fa;
}

.aigc-frame-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* 遮罩片：遮挡 iframe 内左上角的 ArtArk 文字标识 */
/* 尺寸与颜色经像素采样校准，匹配 ArtArk 顶部背景渐变；若对方调整布局需微调 */
.aigc-brand-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 196px;
    height: 61px;
    background: linear-gradient(to bottom, #faf9f7 0%, #f9f9f8 100%);
    z-index: 3;
    pointer-events: none;
}

.aigc-frame-placeholder {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 32px 24px;
    background: var(--white);
}

.aigc-placeholder-icon {
    margin-bottom: 16px;
    opacity: 0.85;
}

.aigc-frame-placeholder h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.aigc-frame-placeholder p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    max-width: 420px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.aigc-fallback {
    margin-top: 14px;
    margin-bottom: 0 !important;
    font-size: 0.82rem !important;
    color: var(--accent-red) !important;
}

.aigc-fallback a {
    color: var(--primary);
    font-weight: 600;
}

/* 发布面板 */
.aigc-publish {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    padding: 28px 24px;
}

.aigc-publish h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.aigc-publish-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 18px;
}

.aigc-form .form-group {
    margin-bottom: 16px;
}

.aigc-form label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-primary);
}

.aigc-form .required {
    color: var(--accent-red);
}

.aigc-form input[type="text"],
.aigc-form select,
.aigc-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    transition: var(--transition);
    outline: none;
}

.aigc-form input:focus,
.aigc-form select:focus,
.aigc-form textarea:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(0, 102, 55, 0.1);
}

.aigc-form textarea {
    resize: vertical;
    min-height: 70px;
}

.aigc-form .btn {
    width: 100%;
    justify-content: center;
}

.aigc-success {
    text-align: center;
    padding: 20px 8px;
    animation: fadeInUp 0.4s ease;
}

.aigc-success h4 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.aigc-success p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 18px;
}

@media (max-width: 992px) {
    .aigc-layout {
        grid-template-columns: 1fr;
    }
}

/* === 页脚备案信息与友情链接 === */
.footer-beian {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 22px;
    padding: 10px 20px 6px;
}

.footer-beian a {
    color: rgba(255, 255, 255, 0.45);
    font-size: 12.5px;
    text-decoration: none;
    transition: var(--transition);
}

.footer-beian a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.footer-friendlinks {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 16px;
    padding: 12px 20px 0;
    font-size: 12.5px;
}

.footer-friendlinks .fl-label {
    color: rgba(255, 255, 255, 0.45);
}

.footer-friendlinks a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: var(--transition);
}

.footer-friendlinks a:hover {
    color: #fff;
}

@media (max-width: 576px) {
    .aigc-frame-wrap {
        min-height: 420px;
    }

    .aigc-publish {
        padding: 22px 18px;
    }
}
