/* ===== 行星探路者 · 低对比度深空主题 ===== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 低对比度深空配色 - 柔和灰调 */
    --bg-dark: #0D0D0F;
    --bg-card: #1A1A1E;
    --bg-card-light: #25252B;
    --text-primary: #E8E8E8;
    --text-secondary: #A8A8B0;
    --text-muted: #919199;
    --accent: #C9A66B;
    --accent-soft: #D4B885;
    --border: #3A3A44;
    --success: #5A7D5A;
    --current: #A67C52;
    --title-font: 'Liu Jian Mao Cao', 'STKaiti', 'KaiTi', cursive;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-dark);
    letter-spacing: 0.01em;
    position: relative;
}

/* 全局背景 - 月球表面 */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    background: url('images/月球表面.png') center/cover no-repeat fixed;
    opacity: 0.12;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(13,13,15,0.85) 0%, rgba(13,13,15,0.92) 40%, rgba(13,13,15,0.95) 100%);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 1;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-dark {
    background: transparent;
}

.section-title {
    font-size: 42px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 70px;
    color: var(--text-primary);
    letter-spacing: 0.05em;
}

/* ===== 导航栏 ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(13, 13, 15, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(13, 13, 15, 0.95);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.logo-text {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.15em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 4px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    padding: 10px 16px;
    transition: var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: var(--transition-fast);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    width: 70%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--text-secondary);
    transition: var(--transition-fast);
}

.nav-toggle:hover span {
    background: var(--text-primary);
}

/* ===== 英雄区 - 月球表面背景 ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: url('images/月球表面.png') center/cover no-repeat fixed;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13,13,15,0.45) 0%, rgba(13,13,15,0.7) 50%, rgba(13,13,15,0.85) 100%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 850px;
    padding: 0 24px;
}

.hero-title {
    font-family: var(--title-font);
    font-size: 96px;
    font-weight: 400;
    margin-bottom: 14px;
    color: var(--text-primary);
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
    line-height: 1.3;
    letter-spacing: 0.08em;
}

.hero-title .title-char {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: charReveal 0.6s ease forwards;
}

@keyframes charReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 第二行"探路者"向右偏移，形成错落感 */
.hero-title br + .title-char {
    margin-left: 0.6em;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 18px;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
}

.hero-description {
    font-size: 15px;
    font-weight: 300;
    margin-bottom: 42px;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.hero-buttons {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero {
    display: inline-block;
    background: var(--accent);
    color: var(--bg-dark);
    padding: 14px 42px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    transition: var(--transition-fast);
    border: 1px solid var(--accent);
}

.btn-hero:hover {
    background: var(--accent-soft);
    border-color: var(--accent-soft);
}

.btn-hero-outline {
    display: inline-block;
    background: transparent;
    color: var(--text-primary);
    padding: 14px 42px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    transition: var(--transition-fast);
    border: 1px solid var(--border);
}

.btn-hero-outline:hover {
    border-color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
}

.scroll-indicator span {
    display: block;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(180deg, var(--text-muted) 0%, transparent 100%);
    margin: 0 auto;
}

/* ===== 项目介绍 - 图片堆叠 ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-text {
    font-size: 17px;
    font-weight: 300;
    margin-bottom: 22px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-text strong {
    color: var(--text-primary);
    font-weight: 500;
}

.about-subtitle {
    font-size: 13px;
    font-weight: 600;
    margin: 42px 0 20px;
    color: var(--accent);
    letter-spacing: 0.12em;
}

.about-list {
    list-style: none;
    padding: 0;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 15px;
    transition: var(--transition-fast);
}

.about-list li:hover {
    padding-left: 10px;
}

.list-icon {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
}

.about-images {
    position: relative;
}

.image-stack {
    position: relative;
    height: 420px;
}

.stack-img {
    position: absolute;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
}

.stack-img:hover {
    transform: scale(1.02);
    z-index: 10;
}

.img-1 {
    width: 85%;
    height: 75%;
    top: 0;
    left: 0;
    z-index: 2;
}

.img-2 {
    width: 85%;
    height: 75%;
    bottom: 0;
    right: 0;
    z-index: 1;
    opacity: 0.9;
}

/* ===== 项目进展 ===== */
.progress-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 70px;
    align-items: start;
}

.progress-timeline {
    padding: 20px 0;
}

.timeline {
    position: relative;
    max-width: 580px;
    margin: 0 auto;
    padding: 20px 0;
}

.progress-photos {
    position: sticky;
    top: 100px;
}

/* 专业图片展示 - 简洁垂直排列 */
.photo-showcase {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.showcase-item {
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border);
    height: 240px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}

.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 悬停聚焦效果 */
.showcase-item:hover {
    border-color: var(--accent);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    transform: translateX(8px);
}

.showcase-item:hover img {
    transform: scale(1.06);
}

.showcase-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.85) 100%);
    padding: 12px 16px;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 22px;
    top: 0;
    bottom: 0;
    width: 1.5px;
    background: var(--border);
}

.timeline-item {
    display: flex;
    gap: 20px;
    margin-bottom: 28px;
    position: relative;
    padding: 18px;
    border-radius: 6px;
    transition: var(--transition);
    cursor: pointer;
    background: var(--bg-card);
    border: 1px solid var(--border);
}

.timeline-item:hover {
    background: var(--bg-card-light);
}

.timeline-marker {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    flex-shrink: 0;
    z-index: 1;
    transition: var(--transition-fast);
}

.timeline-item:hover .timeline-marker {
    border-color: var(--text-secondary);
}

.timeline-item.completed .timeline-marker {
    background: var(--success);
    border-color: var(--success);
    color: #fff;
}

.timeline-item.current .timeline-marker {
    background: var(--current);
    border-color: var(--current);
    color: #fff;
}

.timeline-item.pending .timeline-marker {
    background: var(--bg-dark);
    border-color: var(--border);
    color: var(--text-muted);
}

.timeline-content {
    flex: 1;
    padding-top: 6px;
}

.timeline-content h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 14px;
}

.timeline-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 600;
    background: var(--bg-card-light);
    color: var(--text-muted);
    margin-top: 6px;
    letter-spacing: 0.08em;
}

.timeline-item.completed .timeline-status {
    background: rgba(90, 125, 90, 0.25);
    color: #7DA87D;
}

.timeline-item.current .timeline-status.current {
    background: rgba(166, 124, 82, 0.25);
    color: #C9A66B;
}

/* ===== 研究方向 ===== */
#research {
    background: url('images/长图 火星车.png') center/cover no-repeat fixed;
    position: relative;
}

#research::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13,13,15,0.85) 0%, rgba(13,13,15,0.92) 100%);
}

#research .container {
    position: relative;
    z-index: 1;
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.research-card {
    background: rgba(26, 26, 30, 0.7);
    backdrop-filter: blur(20px);
    padding: 40px 28px;
    border-radius: 8px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.research-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transition: var(--transition-fast);
}

.research-card:hover {
    border-color: var(--accent);
}

.research-card:hover::before {
    transform: scaleX(1);
}

/* CSS 图标 - 月球 */
.research-icon-moon {
    width: 40px;
    height: 40px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-soft) 100%);
    border-radius: 50%;
    position: relative;
    box-shadow: inset -4px -4px 8px rgba(0,0,0,0.3);
}

.research-icon-moon::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(0,0,0,0.15);
    border-radius: 50%;
    top: 8px;
    left: 10px;
}

.research-icon-moon::after {
    content: '';
    position: absolute;
    width: 5px;
    height: 5px;
    background: rgba(0,0,0,0.12);
    border-radius: 50%;
    bottom: 10px;
    right: 8px;
}

/* CSS 图标 - 火星 */
.research-icon-mars {
    width: 40px;
    height: 40px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #B8735A 0%, #C98A6B 100%);
    border-radius: 50%;
    position: relative;
    box-shadow: inset -4px -4px 8px rgba(0,0,0,0.3);
}

.research-icon-mars::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 6px;
    background: rgba(0,0,0,0.15);
    border-radius: 50%;
    top: 12px;
    left: 8px;
}

/* CSS 图标 - 齿轮 */
.research-icon-gear {
    width: 40px;
    height: 40px;
    margin-bottom: 20px;
    background: var(--bg-card-light);
    border: 3px solid var(--text-muted);
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.research-icon-gear::before {
    content: '';
    width: 16px;
    height: 16px;
    background: var(--text-muted);
    border-radius: 50%;
}

.research-icon-gear::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--text-muted);
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 1px;
}

.research-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.research-card p {
    color: var(--text-secondary);
    margin-bottom: 18px;
    line-height: 1.6;
    font-size: 14px;
}

.research-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.research-list li {
    padding: 7px 0;
    color: var(--text-muted);
    font-size: 13px;
    padding-left: 14px;
    position: relative;
}

.research-list li::before {
    content: '';
    position: absolute;
    left: 0;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.card-link {
    display: inline-block;
    color: var(--accent);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: var(--transition-fast);
}

.card-link:hover {
    color: var(--accent-soft);
}


/* ===== 加入我们 ===== */
.join-intro {
    text-align: center;
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 50px;
    line-height: 1.8;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.join-intro .advisor-link {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid rgba(201, 166, 107, 0.3);
    transition: var(--transition-fast);
}

.join-intro .advisor-link:hover {
    color: var(--accent-soft);
    border-bottom-color: var(--accent-soft);
}

.join-manifesto {
    text-align: center;
    padding: 40px 0 50px;
    margin-bottom: 50px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.join-manifesto p {
    font-size: 19px;
    color: var(--text-primary);
    line-height: 1.8;
    letter-spacing: 0.03em;
    max-width: 600px;
    margin: 0 auto;
}

.join-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.why-card {
    background: linear-gradient(135deg, rgba(26, 26, 30, 0.9) 0%, rgba(30, 28, 24, 0.7) 100%);
    border: 1px solid var(--border);
    border-top: 2px solid var(--accent);
    border-radius: 8px;
    padding: 36px 28px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.why-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.why-data {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 16px;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

.why-unit {
    font-size: 18px;
    font-weight: 500;
    opacity: 0.7;
}

.why-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.why-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.75;
}

.join-requirements {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.req-item {
    font-size: 14px;
    color: var(--text-secondary);
}

.req-item strong {
    color: var(--accent);
    margin-right: 6px;
}

.btn-apply-center {
    display: block;
    margin: 0 auto;
}

/* ===== 联系我们 ===== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 680px;
    margin: 0 auto;
}

.contact-item {
    background: var(--bg-card);
    padding: 40px 28px;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.contact-item:hover {
    border-color: var(--accent);
}

/* CSS 图标 - 邮件 */
.contact-icon-mail {
    width: 36px;
    height: 28px;
    margin: 0 auto 18px;
    border: 2px solid var(--text-muted);
    border-radius: 3px;
    position: relative;
}

.contact-icon-mail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-top: 7px solid var(--text-muted);
}

/* CSS 图标 - 对话 */
.contact-icon-chat {
    width: 38px;
    height: 32px;
    margin: 0 auto 18px;
    border: 2px solid var(--text-muted);
    border-radius: 8px;
    position: relative;
}

.contact-icon-chat::before {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 8px;
    border-left: 6px solid transparent;
    border-right: 6px solid var(--text-muted);
    border-top: 6px solid var(--text-muted);
}

.contact-icon-chat::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 9px;
    border-left: 5px solid transparent;
    border-right: 5px solid var(--bg-card);
    border-top: 5px solid var(--bg-card);
}

.contact-item h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.contact-item p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}


/* ===== 页脚 ===== */
.footer {
    background: var(--bg-card);
    color: var(--text-muted);
    padding: 50px 0;
    text-align: center;
    border-top: 1px solid var(--border);
}

.footer p {
    font-size: 12px;
    margin-bottom: 8px;
}

.footer p:last-child {
    margin-bottom: 0;
}

/* ===== 动画 ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== 响应式 ===== */
@media (max-width: 968px) {
    .research-grid,
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid,
    .progress-layout {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .join-why-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .progress-photos {
        position: static;
    }


    .hero-title {
        font-size: 72px;
        line-height: 1.25;
    }

    .image-stack {
        height: 320px;
    }
}

@media (max-width: 640px) {
    .research-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }


    .hero-title {
        font-size: 42px;
        line-height: 1.15;
    }

    .hero-subtitle {
        font-size: 17px;
    }

    .section-title {
        font-size: 32px;
    }

    .join-requirements {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .join-manifesto p {
        font-size: 16px;
    }

    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .btn-hero,
    .btn-hero-outline {
        width: 100%;
        max-width: 260px;
        text-align: center;
    }

    .scroll-indicator {
        bottom: 24px;
    }

    .container {
        padding: 0 20px;
    }

    .section {
        padding: 70px 0;
    }

    .showcase-item {
        height: 200px;
    }

    .image-stack {
        height: 260px;
    }

    .stack-img {
        width: 90% !important;
        height: 70% !important;
    }
}

/* ===== 模态框系统 - 方案 A 精致现代风 ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.modal.show {
    opacity: 1;
}

.modal-content {
    background: linear-gradient(135deg, rgba(26,26,30,0.98) 0%, rgba(26,26,30,0.92) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08);
    border-top: 1px solid rgba(201,166,107,0.3);
    border-radius: 12px;
    padding: 40px;
    max-width: 680px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 2px 8px rgba(0,0,0,0.3);
    transform: scale(0.96) translateY(10px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: modalEnter 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes modalEnter {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 300;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
}

.modal-close:hover {
    color: var(--accent);
    background: rgba(201,166,107,0.1);
    transform: rotate(90deg);
}

.modal-content h2 {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.modal-content h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.modal-subtitle {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* 提交成功提示 */
.submit-success {
    text-align: center;
    padding: 40px 20px;
}

.submit-success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: rgba(90, 125, 90, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #7DA87D;
}

.submit-success-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.submit-success-text {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.submit-success-close {
    margin-top: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(201, 166, 107, 0.5);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(201, 166, 107, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
    line-height: 1.6;
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.btn-secondary {
    padding: 11px 24px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    border-color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.btn-primary {
    padding: 11px 24px;
    background: linear-gradient(135deg, rgba(201, 166, 107, 0.2) 0%, rgba(201, 166, 107, 0.15) 100%);
    border: 1px solid rgba(201, 166, 107, 0.35);
    border-radius: 8px;
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, rgba(201, 166, 107, 0.3) 0%, rgba(201, 166, 107, 0.25) 100%);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 166, 107, 0.2);
}

/* ===== Toast 提示 - 精致现代风 ===== */
.toast-container {
    position: fixed;
    top: 80px;
    right: 24px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast {
    min-width: 320px;
    max-width: 420px;
    background: linear-gradient(135deg, rgba(26,26,30,0.98) 0%, rgba(26,26,30,0.92) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08);
    border-left: 3px solid var(--accent);
    border-radius: 10px;
    padding: 16px 20px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 2px 8px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 14px;
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast.hide {
    transform: translateX(120%);
    opacity: 0;
}

.toast-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.toast-icon.success {
    background: rgba(90, 125, 90, 0.3);
    color: #7DA87D;
}

.toast-icon.error {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
}

.toast-icon.warning {
    background: rgba(201, 166, 107, 0.2);
    color: var(--accent);
}

.toast-icon.info {
    background: rgba(100, 150, 200, 0.2);
    color: #6496c8;
}

.toast-message {
    flex: 1;
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.5;
}

.toast-close {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 50%;
    background: transparent;
}

.toast-close:hover {
    color: var(--text-primary);
    background: rgba(255,255,255,0.05);
}

/* ===== 确认对话框 - 精致现代风 ===== */
.confirm-overlay {
    display: none;
    position: fixed;
    z-index: 9998;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.confirm-overlay.show {
    opacity: 1;
}

.confirm-dialog {
    background: linear-gradient(135deg, rgba(26,26,30,0.98) 0%, rgba(26,26,30,0.92) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08);
    border-top: 1px solid rgba(201,166,107,0.3);
    border-radius: 12px;
    padding: 32px;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 2px 8px rgba(0,0,0,0.3);
    transform: scale(0.96) translateY(10px);
    animation: modalEnter 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.confirm-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.confirm-icon.warning {
    background: rgba(201, 166, 107, 0.15);
    color: var(--accent);
}

.confirm-icon.danger {
    background: rgba(220, 53, 69, 0.15);
    color: #dc3545;
}

.confirm-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 12px;
}

.confirm-message {
    font-size: 14px;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.6;
    margin-bottom: 28px;
}

.confirm-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.confirm-actions .btn-secondary,
.confirm-actions .btn-primary {
    flex: 1;
    max-width: 140px;
}

/* 响应式优化 */
@media (max-width: 640px) {
    .modal-content {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-secondary,
    .btn-primary {
        width: 100%;
    }
    
    .toast-container {
        left: 16px;
        right: 16px;
    }
    
    .toast {
        min-width: auto;
        width: 100%;
    }
    
    .confirm-dialog {
        padding: 28px 20px;
    }
    
    .confirm-actions {
        flex-direction: column;
    }
    
    .confirm-actions .btn-secondary,
    .confirm-actions .btn-primary {
        max-width: none;
        width: 100%;
    }
}
