* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    color: #333;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.project-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.card-header {
    background: linear-gradient(135deg, #00ffaa 0%, #00b3ff 100%);
    padding: 40px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    animation: shine 3s infinite linear;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.header-content {
    position: relative;
    z-index: 1;
}

.project-logo {
    font-size: 48px;
    margin-bottom: 20px;
}

.project-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.project-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.yield-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50px;
    padding: 15px 30px;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 10px 0;
}

.cycle-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border-radius: 20px;
    padding: 10px 20px;
    font-size: 1.1rem;
    margin-top: 10px;
}

.card-body {
    padding: 40px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #4f46e5;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    font-size: 1.2rem;
}

.project-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 30px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.info-item {
    background: #f8fafc;
    padding: 25px;
    border-radius: 16px;
    border-left: 4px solid #00b3ff;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: #f1f5f9;
    transform: translateX(5px);
}

.info-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
}

.info-value.highlight {
    color: #10b981;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.stat-card {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 25px;
    border-radius: 16px;
    text-align: center;
    border: 2px solid #0ea5e9;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #0369a1;
    margin-bottom: 5px;
}

.stat-label {
    color: #0c4a6e;
    font-size: 0.9rem;
}

.action-buttons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.btn {
    flex: 1;
    min-width: 200px;
    padding: 18px 30px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.4);
}

.btn-secondary {
    background: white;
    border: 2px solid #4f46e5;
    color: #4f46e5;
}

.btn-secondary:hover {
    background: #f8fafc;
    transform: translateY(-3px);
}

.features {
    background: #f8fafc;
    padding: 40px;
    border-radius: 20px;
    margin-top: 30px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-icon {
    background: #4f46e5;
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 5px;
}

.feature-content p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
}

.disclaimer {
    margin-top: 40px;
    padding: 20px;
    background: #fff7ed;
    border-radius: 12px;
    border-left: 4px solid #f59e0b;
}

.disclaimer-title {
    color: #d97706;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.disclaimer-text {
    color: #92400e;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ==================== 模态框样式（全局生效） ==================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.modal {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    opacity: 0;
    animation: slideUp 0.4s ease forwards;
}

.modal-header {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    padding: 25px 30px;
    border-radius: 20px 20px 0 0;
    position: relative;
}

.modal-header h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal-body {
    padding: 30px;
}

.modal-section {
    margin-bottom: 25px;
}

.modal-section h3 {
    color: #4f46e5;
    font-size: 1.3rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-section p {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 15px;
}

.modal-list {
    list-style: none;
    padding-left: 0;
}

.modal-list li {
    padding: 8px 0;
    color: #4b5563;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.modal-list li:before {
    content: "•";
    color: #4f46e5;
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
}

/* 地址复制框样式 */
.address-container {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 15px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.address-container:hover {
    border-color: #4f46e5;
    background: #f0f5ff;
}

.address-text {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #1e293b;
    word-break: break-all;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s;
}

.address-text:hover {
    background: #e6eeff;
}

.copy-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    white-space: nowrap;
}

.copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
}

.copy-btn.copied {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

/* 投资信息样式 */
.modal-investment-info {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 15px;
    padding: 25px;
    margin: 20px 0;
    border: 2px solid #0ea5e9;
}

.modal-info-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed #cbd5e1;
}

.modal-info-item:last-child {
    border-bottom: none;
}

.modal-info-label {
    color: #64748b;
    font-weight: 500;
}

.modal-info-value {
    color: #1e293b;
    font-weight: 600;
}

.modal-info-value.highlight {
    color: #10b981;
}

/* 安全提示 */
.security-note {
    background: #fffbeb;
    border: 2px solid #f59e0b;
    border-radius: 12px;
    padding: 20px;
    margin: 25px 0;
}

.security-note h4 {
    color: #d97706;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.security-note p {
    color: #92400e;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* 模态框按钮 */
.modal-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.modal-btn {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
}

.modal-btn-primary {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
}

.modal-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.3);
}

.modal-btn-secondary {
    background: #f1f5f9;
    color: #475569;
    border: 2px solid #cbd5e1;
}

.modal-btn-secondary:hover {
    background: #e2e8f0;
}

/* 成功提示 */
.toast {
    position: fixed;
    top: 30px;
    right: 30px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.toast.show {
    transform: translateX(0);
}

.toast-icon {
    font-size: 1.2rem;
}

/* 动画 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== 移动端适配 ==================== */
@media (max-width: 768px) {
    .card-header {
        padding: 30px 20px;
    }

    .project-title {
        font-size: 2rem;
    }

    .card-body {
        padding: 30px 20px;
    }

    .yield-badge {
        font-size: 1.5rem;
        padding: 12px 24px;
    }

    .action-buttons {
        flex-direction: column;
    }

    .btn {
        min-width: 100%;
    }

    /* 模态框移动端适配 */
    .modal {
        width: 95%;
    }

    .modal-body {
        padding: 20px;
    }

    .address-container {
        flex-direction: column;
        align-items: stretch;
    }

    .modal-actions {
        flex-direction: column;
    }

    .toast {
        left: 20px;
        right: 20px;
        top: 20px;
    }
}

/* 修复卡片样式冲突问题 */
.card-body .info-grid .info-item {
    background: #f8fafc;
    padding: 25px;
    border-radius: 16px;
    border-left: 4px solid #00b3ff;
    transition: all 0.3s ease;
    display: block;
}

.card-body .info-grid .info-item:hover {
    background: #f1f5f9;
    transform: translateX(5px);
}

.card-body .info-grid .info-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-body .info-grid .info-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
}

.card-body .info-grid .info-value.highlight {
    color: #10b981;
}