/* ========== 基础 ========== */
:root {
    --bg: #0a0a0f;
    --bg-soft: #11111a;
    --bg-card: #16161f;
    --border: #23232f;
    --text: #f0f0f5;
    --text-soft: #a8a8b8;
    --text-mute: #6c6c7a;
    --accent: #ff8c42;
    --accent-2: #ff5f9e;
    --accent-3: #6c5ce7;
    --gradient: linear-gradient(135deg, #ff8c42 0%, #ff5f9e 50%, #6c5ce7 100%);
    --shadow-glow: 0 0 60px rgba(255, 140, 66, 0.15);
    --radius: 16px;
    --radius-sm: 10px;
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue",
                 "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
}

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

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

/* ========== 背景动效 ========== */
.bg-orbs {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.bg-orbs span {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.bg-orbs span:nth-child(1) {
    width: 500px;
    height: 500px;
    background: var(--accent);
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.bg-orbs span:nth-child(2) {
    width: 600px;
    height: 600px;
    background: var(--accent-2);
    top: 40%;
    right: -15%;
    animation-delay: -7s;
}

.bg-orbs span:nth-child(3) {
    width: 450px;
    height: 450px;
    background: var(--accent-3);
    bottom: -10%;
    left: 30%;
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(60px, -40px) scale(1.1); }
    66% { transform: translate(-40px, 60px) scale(0.95); }
}

/* ========== 导航 ========== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 15, 0.6);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 17px;
    letter-spacing: 0.3px;
}

.nav-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-soft);
    font-size: 14px;
    transition: color 0.2s;
}

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

/* ========== Hero ========== */
.hero {
    padding: 180px 0 120px;
    position: relative;
}

.hero-content {
    max-width: 800px;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-mute);
    margin-bottom: 24px;
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: 100px;
}

.hero-title {
    font-size: clamp(48px, 8vw, 96px);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 32px;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradient-shift 6s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-soft);
    max-width: 600px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 80px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(255, 140, 66, 0.25);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}

.btn-ghost:hover {
    background: var(--bg-card);
    border-color: var(--text-mute);
}

.btn-primary svg {
    transition: transform 0.2s;
}

.btn-primary:hover svg {
    transform: translateY(2px);
}

.hero-stats {
    display: flex;
    gap: 56px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.stat-num {
    font-size: 36px;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 13px;
    color: var(--text-mute);
    margin-top: 4px;
    letter-spacing: 0.5px;
}

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

.section-head {
    margin-bottom: 64px;
    max-width: 720px;
}

.section-head-center {
    text-align: center;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
    font-weight: 600;
}

.section-title {
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-sub {
    font-size: 17px;
    color: var(--text-soft);
}

/* ========== Gallery ========== */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-card);
    aspect-ratio: 1 / 1;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.6s ease;
    opacity: 0;
    transform: translateY(24px);
}

.gallery-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.gallery-card:hover {
    transform: translateY(-4px);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-card figcaption {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    background: linear-gradient(to top,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.3) 40%,
        transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-card:hover figcaption,
.gallery-card:focus-within figcaption {
    opacity: 1;
}

.gallery-card .tag {
    display: inline-block;
    align-self: flex-start;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: white;
    padding: 4px 10px;
    background: rgba(255, 140, 66, 0.9);
    border-radius: 100px;
    margin-bottom: 12px;
    font-weight: 600;
}

.gallery-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 6px;
    color: white;
}

.gallery-card p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

/* 移动端始终显示 caption */
@media (max-width: 640px) {
    .gallery-card figcaption {
        opacity: 1;
        background: linear-gradient(to top,
            rgba(0, 0, 0, 0.75) 0%,
            transparent 60%);
    }
}

.more {
    margin-top: 48px;
    text-align: center;
    color: var(--text-mute);
    font-size: 15px;
}

.more strong {
    color: var(--accent);
    font-weight: 600;
}

/* ========== About ========== */
.section-about {
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: start;
}

.about-head .section-title {
    font-size: clamp(40px, 5vw, 60px);
}

.about-body .lead {
    font-size: 20px;
    color: var(--text);
    margin-bottom: 24px;
    font-weight: 500;
}

.about-body p {
    color: var(--text-soft);
    font-size: 16px;
    margin-bottom: 20px;
}

.about-body strong {
    color: var(--accent);
    font-weight: 600;
}

.brand-meta {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.meta-item {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    font-size: 14px;
}

.meta-label {
    color: var(--text-mute);
}

.meta-value {
    color: var(--text);
    font-weight: 500;
    text-align: right;
}

/* ========== Contact ========== */
.section-contact {
    padding-bottom: 160px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-card {
    display: block;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.contact-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(255, 140, 66, 0.1);
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
}

.contact-name {
    font-size: 13px;
    color: var(--text-mute);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 6px;
    font-weight: 600;
}

.contact-handle {
    font-size: 17px;
    font-weight: 500;
}

/* ========== Footer ========== */
.footer {
    border-top: 1px solid var(--border);
    padding: 40px 0;
    background: var(--bg-soft);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.footer-name {
    font-size: 15px;
    font-weight: 600;
}

.footer-slogan {
    font-size: 13px;
    color: var(--text-mute);
    margin-top: 2px;
}

.footer-meta {
    font-size: 13px;
    color: var(--text-mute);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-meta a {
    color: var(--text-soft);
    transition: color 0.2s;
}

.footer-meta a:hover {
    color: var(--accent);
}

.dot {
    opacity: 0.4;
}

/* ========== 响应式 ========== */
@media (max-width: 768px) {
    .nav-links {
        gap: 20px;
    }

    .hero {
        padding: 130px 0 80px;
    }

    .hero-stats {
        gap: 32px;
    }

    .stat-num {
        font-size: 28px;
    }

    .section {
        padding: 80px 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .meta-item {
        flex-direction: column;
        gap: 4px;
    }

    .meta-value {
        text-align: left;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 18px;
    }

    .nav-inner {
        padding: 14px 18px;
    }

    .nav-brand span {
        font-size: 15px;
    }

    .hero-stats {
        flex-wrap: wrap;
    }

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