/* ========================================
   SciBoost 科技研发资金募集网站样式
   主色调：蓝色 + 白色
   风格：现代科技、专业可信、清爽简洁
   ======================================== */

/* CSS 重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 主色调 */
    --primary-blue: #2563eb;
    --primary-blue-dark: #1d4ed8;
    --primary-blue-light: #3b82f6;
    --primary-blue-100: #dbeafe;
    --primary-blue-50: #eff6ff;
    
    /* 辅助色 */
    --secondary-blue: #0ea5e9;
    --accent-cyan: #06b6d4;
    --success-green: #10b981;
    --warning-orange: #f59e0b;
    --error-red: #ef4444;
    
    /* 中性色 */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --black: #000000;
    
    /* 渐变 */
    --gradient-blue: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    --gradient-blue-light: linear-gradient(135deg, var(--primary-blue-light) 0%, var(--accent-cyan) 100%);
    --gradient-hero: linear-gradient(135deg, rgba(37, 99, 235, 0.9) 0%, rgba(14, 165, 233, 0.8) 100%);
    
    /* 阴影 */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* 圆角 */
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    
    /* 过渡动画 */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-lg);
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    outline: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width var(--transition-normal), height var(--transition-normal);
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-blue);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width var(--transition-fast);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--primary-blue);
}

.nav-links a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-800);
    margin: 3px 0;
    transition: var(--transition-fast);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* 移动端菜单样式 */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 4rem;
        right: -100%;
        width: 100%;
        height: calc(100vh - 4rem);
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transition: right var(--transition-normal);
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.125rem;
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--gray-200);
    }

    .nav-links a::after {
        display: none;
    }
}

/* Hero 区域 */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('https://images.unsplash.com/photo-1518770660439-4636190af475?w=1920&h=1080&fit=crop') center/cover no-repeat;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(14, 165, 233, 0.2) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    text-align: center;
    color: var(--white);
    z-index: 2;
    max-width: 800px;
    padding: 0 1.5rem;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--white) 0%, var(--primary-blue-100) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    opacity: 0.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    position: relative;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    width: 6px;
    height: 10px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 3px;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

/* 项目展示模块 */
.projects-section {
    padding: 6rem 0;
    background: var(--gray-50);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid var(--gray-200);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--gradient-blue);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.project-content {
    padding: 2rem;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.project-description {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.project-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
}

.stat-value.overfunded {
    color: var(--success-green);
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--gray-200);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-blue);
    border-radius: 4px;
    transition: width var(--transition-slow);
    width: 0;
}

.progress-fill.overfunded {
    background: var(--success-green);
}

.project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-buttons {
    display: flex;
    gap: 0.5rem;
}

.days-left {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.project-status {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--success-green);
}

/* 参与方式模块 */
.participate-section {
    padding: 6rem 0;
    background: var(--white);
}

.steps-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.step-item {
    text-align: center;
    max-width: 200px;
    flex: 1;
    min-width: 150px;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--gradient-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step-icon {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.step-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.step-description {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.5;
}

.step-arrow {
    color: var(--gray-400);
    align-self: center;
}

.participate-cta {
    text-align: center;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* 关于我们模块 */
.about-section {
    padding: 6rem 0;
    background: var(--gray-50);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text {
    margin-bottom: 2rem;
}

.about-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    color: var(--primary-blue);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.feature-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* 联系我们模块 */
.contact-section {
    padding: 6rem 0;
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    color: var(--primary-blue);
    margin-top: 0.25rem;
}

.contact-details h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.contact-details p {
    color: var(--gray-600);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.contact-form {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color var(--transition-fast);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* ==================== 页脚样式 ==================== */

.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 4rem 0 1.5rem;
    margin-top: 6rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-blue);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: start;
}

.footer-section:first-child {
    padding-right: 2rem;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-description {
    color: var(--gray-400);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.footer-social .social-link {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--gray-300);
    font-size: 0.875rem;
}

.footer-social .social-link:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-subtitle {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-blue);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    display: inline-block;
    position: relative;
    padding-left: 0;
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(4px);
}

.footer-links a:hover::before {
    content: '→';
    position: absolute;
    left: -16px;
    color: var(--primary-blue);
    opacity: 0;
    animation: arrowSlide 0.3s ease-out forwards;
}

@keyframes arrowSlide {
    from {
        opacity: 0;
        left: -16px;
    }
    to {
        opacity: 1;
        left: -12px;
    }
}

.footer-links a[style*="color: var(--primary-blue)"] {
    color: var(--primary-blue) !important;
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    color: var(--gray-500);
    font-size: 0.875rem;
}

.footer-bottom p {
    margin: 0;
}

/* ==================== 支付页面样式 ==================== */

/* 支付页面头部 */
.donation-hero {
    padding: 8rem 0 4rem;
    background: var(--gradient-blue);
    color: var(--white);
    text-align: center;
    margin-top: 4rem;
}

.donation-hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.donation-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--primary-blue-100) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.donation-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* 支付页面主体 */
.donation-main {
    padding: 4rem 0;
    background: var(--gray-50);
}

.donation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.donation-info h2,
.bank-accounts h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 支付说明 */
.donation-benefits {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-normal);
}

.benefit-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.benefit-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.benefit-content p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* 统计数据 */
.donation-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.stat-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* 银行账户选择 */
.bank-accounts {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.bank-accounts-subtitle {
    color: var(--gray-600);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.country-flags {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.country-flag {
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.country-flag:hover {
    border-color: var(--primary-blue);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.country-flag::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-blue);
    transform: translateY(-100%);
    transition: transform var(--transition-fast);
}

.country-flag:hover::before {
    transform: translateY(0);
}

.flag-icon {
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 国旗样式 */
.flag-uk {
    width: 48px;
    height: 32px;
    background: linear-gradient(0deg, #012169 25%, transparent 25%, transparent 75%, #012169 75%),
                linear-gradient(90deg, #012169 40%, transparent 40%, transparent 60%, #012169 60%),
                linear-gradient(0deg, transparent 40%, #C8102E 40%, #C8102E 60%, transparent 60%),
                linear-gradient(90deg, transparent 45%, #C8102E 45%, #C8102E 55%, transparent 55%),
                linear-gradient(0deg, transparent 36%, #C8102E 36%, #C8102E 44%, transparent 44%),
                linear-gradient(90deg, transparent 36%, #C8102E 36%, #C8102E 44%, transparent 44%);
    background-color: #FFFFFF;
    border-radius: 2px;
}

.flag-au {
    width: 48px;
    height: 32px;
    background: radial-gradient(circle at 15px 15px, white 5px, transparent 5px),
                radial-gradient(circle at 23px 19px, white 5px, transparent 5px),
                radial-gradient(circle at 31px 15px, white 5px, transparent 5px),
                radial-gradient(circle at 23px 11px, white 5px, transparent 5px),
                radial-gradient(circle at 15px 23px, white 5px, transparent 5px),
                radial-gradient(circle at 23px 27px, white 5px, transparent 5px),
                radial-gradient(circle at 31px 23px, white 5px, transparent 5px);
    background-color: #012169;
    border-radius: 2px;
    position: relative;
}

.flag-au::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background-color: #E4002B;
}

.flag-ca {
    width: 48px;
    height: 32px;
    background: linear-gradient(90deg, #FF0000 0%, #FF0000 25%, white 25%, white 75%, #FF0000 75%);
    border-radius: 2px;
    position: relative;
}

.flag-ca::before {
    content: '🍁';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
}

.flag-cn {
    width: 48px;
    height: 32px;
    background: #DE2910;
    border-radius: 2px;
    position: relative;
}

.flag-cn::before {
    content: '⭐';
    position: absolute;
    top: 4px;
    left: 6px;
    font-size: 12px;
    color: #FFDE00;
}

.flag-cn::after {
    content: '⭐⭐⭐⭐';
    position: absolute;
    top: 8px;
    left: 16px;
    font-size: 8px;
    color: #FFDE00;
    letter-spacing: 2px;
}

.flag-eu {
    width: 48px;
    height: 32px;
    background: #003399;
    border-radius: 2px;
    position: relative;
}

.flag-eu::before {
    content: '⭐⭐';
    position: absolute;
    top: 6px;
    left: 6px;
    font-size: 10px;
    color: #FFCC00;
    letter-spacing: 8px;
}

.flag-eu::after {
    content: '⭐⭐';
    position: absolute;
    top: 16px;
    left: 12px;
    font-size: 10px;
    color: #FFCC00;
    letter-spacing: 8px;
}

.flag-hu {
    width: 48px;
    height: 32px;
    background: linear-gradient(0deg, #477050 0%, #477050 33%, white 33%, white 66%, #D40026 66%);
    border-radius: 2px;
}

.flag-nz {
    width: 48px;
    height: 32px;
    background: #012169;
    border-radius: 2px;
    position: relative;
}

.flag-nz::before {
    content: '★';
    position: absolute;
    top: 4px;
    left: 8px;
    font-size: 12px;
    color: #C8102E;
}

.flag-nz::after {
    content: '★★★★';
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 8px;
    color: #C8102E;
    letter-spacing: 2px;
}

.flag-sg {
    width: 48px;
    height: 32px;
    background: linear-gradient(0deg, #ED2939 0%, #ED2939 50%, white 50%);
    border-radius: 2px;
    position: relative;
}

.flag-sg::before {
    content: '◉';
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    font-size: 16px;
    color: white;
}

.flag-sg::after {
    content: '▲';
    position: absolute;
    top: 50%;
    left: 8px;
    transform: translateY(-50%);
    font-size: 8px;
    color: white;
}

.flag-tr {
    width: 48px;
    height: 32px;
    background: #E30A17;
    border-radius: 2px;
    position: relative;
}

.flag-tr::before {
    content: '☪';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    color: white;
}

.flag-us {
    width: 48px;
    height: 32px;
    background: linear-gradient(0deg, #B22234 0%, #B22234 7.7%, white 7.7%, white 15.4%, #B22234 15.4%, #B22234 23.1%, white 23.1%, white 30.8%, #B22234 30.8%, #B22234 38.5%, white 38.5%, white 46.2%, #B22234 46.2%, #B22234 53.8%, white 53.8%);
    border-radius: 2px;
    position: relative;
}

.flag-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 53.8%;
    background: #3C3B6E;
}

.flag-us::after {
    content: '⭐';
    position: absolute;
    top: 2px;
    left: 4px;
    font-size: 6px;
    color: white;
}

.flag-name {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-700);
    line-height: 1.3;
}

/* 提示信息 */
.donation-note {
    background: var(--primary-blue-50);
    border: 1px solid var(--primary-blue-100);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.donation-note p {
    font-weight: 600;
    color: var(--primary-blue-dark);
    margin-bottom: 0.75rem;
}

.donation-note ul {
    list-style-position: inside;
    color: var(--gray-600);
    font-size: 0.875rem;
    line-height: 1.6;
}

.donation-note li {
    margin-bottom: 0.25rem;
}

/* ==================== 银行账户弹窗 ==================== */

.bank-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.bank-modal.active {
    opacity: 1;
    visibility: visible;
}

.bank-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.bank-modal-content {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-xl);
    width: 90%;
    max-width: 600px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    transform: translateY(20px) scale(0.95);
    transition: all var(--transition-normal);
    z-index: 2001;
}

.bank-modal.active .bank-modal-content {
    transform: translateY(0) scale(1);
}

.bank-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--gray-200);
    background: var(--gray-50);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.bank-modal-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
}

.bank-modal-close {
    background: none;
    border: none;
    color: var(--gray-500);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.bank-modal-close:hover {
    background: var(--gray-200);
    color: var(--gray-900);
}

.bank-modal-body {
    padding: 2rem;
}

.account-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.account-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.account-label-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.account-label {
    font-weight: 600;
    color: var(--gray-900);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.copy-btn {
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.copy-btn:hover {
    background: var(--primary-blue-dark);
    transform: translateY(-1px);
}

.account-value {
    background: var(--gray-100);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    color: var(--gray-900);
    border: 1px solid var(--gray-200);
    word-break: break-all;
}

.account-note {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: var(--gray-500);
    font-style: italic;
}

.bank-modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--gray-200);
    background: var(--gray-50);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

/* ==================== 响应式设计 ==================== */

@media (max-width: 1024px) {
    .donation-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .donation-stats {
        grid-template-columns: 1fr;
    }
    
    .country-flags {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}

@media (max-width: 768px) {
    .donation-title {
        font-size: 2.5rem;
    }
    
    .donation-hero {
        padding: 6rem 0 3rem;
    }
    
    .donation-main {
        padding: 3rem 0;
    }
    
    .bank-accounts {
        padding: 1.5rem;
    }
    
    .country-flags {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .bank-modal-content {
        width: 95%;
        max-height: calc(100vh - 80px);
    }
    
    .bank-modal-body {
        padding: 1.5rem;
    }
    
    .bank-modal-footer {
        padding: 1rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .donation-title {
        font-size: 2rem;
    }
    
    .benefit-item {
        padding: 1rem;
    }
    
    .country-flag {
        padding: 0.75rem;
    }
    
    .flag-name {
        font-size: 0.625rem;
    }
    
    .bank-modal-footer {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .bank-modal-footer .btn {
        width: 100%;
    }
}

/* ==================== 捐款者名录页面样式 ==================== */

/* 捐款者荣誉墙头部 */
.donors-hero {
    padding: 8rem 0 4rem;
    background: var(--gradient-blue);
    color: var(--white);
    text-align: center;
    margin-top: 4rem;
}

.donors-hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.donors-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--primary-blue-100) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.donors-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.donors-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.donor-stat {
    text-align: center;
}

.donor-stat .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.donor-stat .stat-label {
    display: block;
    font-size: 0.875rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* 捐款者主体区域 */
.donors-main {
    padding: 4rem 0;
    background: var(--gray-50);
}

.donor-tiers {
    margin-bottom: 4rem;
}

.donor-tiers h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 2rem;
    text-align: center;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tier-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.tier-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.tier-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.tier-card.diamond::before {
    background: linear-gradient(90deg, #b9f2ff, #e5e4e2);
}

.tier-card.platinum::before {
    background: linear-gradient(90deg, #e5e4e2, #c0c0c0);
}

.tier-card.gold::before {
    background: linear-gradient(90deg, #ffd700, #ffed4e);
}

.tier-card.silver::before {
    background: linear-gradient(90deg, #c0c0c0, #e5e4e2);
}

.tier-card.bronze::before {
    background: linear-gradient(90deg, #cd7f32, #daa520);
}

.tier-card.supporter::before {
    background: var(--gradient-blue);
}

.tier-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.tier-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.tier-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.tier-amount {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.tier-count {
    font-size: 0.75rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* 筛选和排序 */
.donors-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-group {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--white);
    border: 1px solid var(--gray-300);
    color: var(--gray-700);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.filter-btn.active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--white);
}

.sort-group select {
    background: var(--white);
    border: 1px solid var(--gray-300);
    color: var(--gray-700);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.sort-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* 捐款者荣誉墙 */
.donors-wall {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.donor-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-normal);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease-out forwards;
}

.donor-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.donor-avatar {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    position: relative;
}

.avatar-placeholder {
    width: 48px;
    height: 48px;
    background: var(--gradient-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.125rem;
}

.tier-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    font-size: 1rem;
}

.donor-info h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.donor-amount {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
}

.donor-date {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-bottom: 0.75rem;
}

.donor-message {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.5;
    padding-top: 0.75rem;
    border-top: 1px solid var(--gray-200);
    font-style: italic;
}

/* 加载更多 */
.load-more-container {
    text-align: center;
    margin-top: 3rem;
}

/* CTA 区域 */
.donors-cta {
    padding: 4rem 0;
    background: var(--gradient-blue);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==================== 响应式设计 ==================== */

@media (max-width: 1024px) {
    .donors-stats {
        gap: 2rem;
    }
    
    .tier-cards {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .donors-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        justify-content: center;
    }
    
    .donors-wall {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .donors-title {
        font-size: 2.5rem;
    }
    
    .donors-hero {
        padding: 6rem 0 3rem;
    }
    
    .donors-main {
        padding: 3rem 0;
    }
    
    .donors-stats {
        gap: 1.5rem;
    }
    
    .donor-stat .stat-number {
        font-size: 1.5rem;
    }
    
    .tier-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .filter-group {
        justify-content: flex-start;
    }
    
    .donors-wall {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .donors-title {
        font-size: 2rem;
    }
    
    .tier-cards {
        grid-template-columns: 1fr;
    }
    
    .filter-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
    
    .donor-card {
        padding: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}

/* ==================== 原有响应式样式 ==================== */

@media (max-width: 1024px) {
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    
    .footer-section:first-child {
        grid-column: 1 / -1;
        padding-right: 0;
        text-align: center;
        max-width: 600px;
        margin: 0 auto 2rem;
    }
    
    .footer-section:first-child .footer-social {
        justify-content: center;
    }
    
    .footer-subtitle::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-container {
        flex-direction: column;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .project-stats {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-section {
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .project-content {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes scroll {
    0% {
        top: 10px;
        opacity: 1;
    }
    100% {
        top: 30px;
        opacity: 0;
    }
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-container {
        flex-direction: column;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .project-stats {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-section {
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .project-content {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}
/* �ƶ���ҳ���Ż����� */
@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        text-align: center !important;
        margin-bottom: 2rem !important;
    }
    
    .footer-section:first-child {
        grid-column: auto !important;
        max-width: none !important;
        margin-bottom: 0 !important;
    }
    
    .footer-section {
        margin-bottom: 0 !important;
        padding: 0 0.5rem !important;
    }
    
    .footer-section:first-child .footer-description {
        max-width: 500px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .footer-subtitle::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    
    .footer-links a:hover {
        transform: translateX(0) !important;
    }
    
    .footer-links a:hover::before {
        display: none !important;
    }
}

