/* ========== 云守护 · 东方美学艺术空间 ========== */

:root {
    --primary: #8B4513;
    --primary-light: #D2691E;
    --accent: #C41E3A;
    --gold: #DAA520;
    --ink: #1a1a2e;
    --paper: #FAF0E6;
    --jade: #00A86B;
    --text: #2C3E50;
    --text-light: #7F8C8D;
    --bg-dark: #0a0a1a;
    --bg-card: rgba(255,255,255,0.05);
    --radius: 16px;
}

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

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Noto Sans SC', sans-serif;
    color: var(--text);
    background: var(--bg-dark);
    overflow-x: hidden;
    padding-bottom: 60px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 30%, #2d1b3d 60%, #1a1a2e 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(139,69,19,0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(196,30,58,0.1) 0%, transparent 40%),
        radial-gradient(circle at 50% 80%, rgba(218,165,32,0.08) 0%, transparent 40%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 40px 20px;
}

.hero h1 {
    font-size: clamp(36px, 8vw, 72px);
    color: var(--gold);
    margin-bottom: 16px;
    text-shadow: 0 0 40px rgba(218,165,32,0.3);
    letter-spacing: 8px;
}

.subtitle {
    font-size: clamp(18px, 4vw, 32px);
    color: var(--paper);
    margin-bottom: 12px;
    letter-spacing: 4px;
}

.tagline {
    font-size: clamp(14px, 2.5vw, 20px);
    color: var(--text-light);
    margin-bottom: 40px;
}

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

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139,69,19,0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}

.btn-secondary:hover {
    background: rgba(218,165,32,0.1);
    transform: translateY(-2px);
}

section {
    padding: 80px 0;
}

section h2 {
    text-align: center;
    font-size: clamp(24px, 5vw, 40px);
    color: var(--gold);
    margin-bottom: 12px;
    letter-spacing: 4px;
}

.section-desc {
    text-align: center;
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 50px;
}

.about {
    background: linear-gradient(180deg, var(--bg-dark), #0f0f2a);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text p {
    color: var(--paper);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid rgba(218,165,32,0.2);
    border-radius: var(--radius);
    padding: 24px 16px;
    text-align: center;
}

.stat-num {
    font-size: 28px;
    font-weight: bold;
    color: var(--gold);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-light);
}

.gallery {
    background: #0f0f2a;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.gallery-item {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 12px 40px rgba(218,165,32,0.2);
}

.gallery-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: transparent;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.05);
}

.gallery-info {
    padding: 20px;
}

.gallery-info h3 {
    color: var(--gold);
    margin-bottom: 8px;
    font-size: 18px;
}

.gallery-info p {
    color: var(--text-light);
    font-size: 14px;
}

.ai-tool {
    background: linear-gradient(180deg, #0f0f2a, var(--bg-dark));
}

.ai-demo {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid rgba(218,165,32,0.2);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
}

.ai-upload-area {
    padding: 40px;
}

.upload-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.upload-hint {
    color: var(--text-light);
    font-size: 13px;
    margin-top: 12px;
}

.ai-preview img {
    max-width: 100%;
    border-radius: 12px;
    margin-bottom: 20px;
}

.ai-controls {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.watermark-hint {
    color: var(--text-light);
    font-size: 13px;
}

.contact {
    background: var(--bg-dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.contact-item {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
}

.contact-item h3 {
    color: var(--gold);
    margin-bottom: 12px;
}

.email {
    color: var(--jade) !important;
    font-weight: bold;
}

.qr-placeholder {
    width: 150px;
    height: 150px;
    margin: 16px auto;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.footer {
    background: rgba(0,0,0,0.8);
    padding: 40px 0 20px;
    text-align: center;
    border-top: 1px solid rgba(218,165,32,0.1);
}

.footer-text {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 20px;
}

.icp-info {
    color: #666;
    font-size: 12px;
    line-height: 2.2;
    padding: 20px;
    border: 1px dashed rgba(255,255,255,0.1);
    border-radius: 8px;
    max-width: 600px;
    margin: 0 auto;
}

.icp-info p {
    margin: 0;
}

@media (max-width: 768px) {
    .about-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    section { padding: 60px 0; }
}