/* 高级投资公司网站样式 */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #c41e3a;
    --gold: #ff6b6b;
    --dark: #1a0000;
    --light: #fff5f5;
    --red-dark: #8b0000;
    --red-light: #ff4757;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; line-height: 1.7; color: #334155; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; color: var(--dark); }

/* 导航栏 */
.navbar { background: rgba(255,255,255,0.95); backdrop-filter: blur(20px); padding: 1rem 0; transition: all 0.3s; }
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.1); padding: 0.5rem 0; }
.navbar-brand { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.3rem; color: var(--primary) !important; }
.nav-link { color: #333 !important; font-weight: 500; position: relative; margin: 0 0.3rem; transition: all 0.3s; }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 2px; background: var(--gold); transition: all 0.3s; transform: translateX(-50%); }
.nav-link:hover::after, .nav-link.active::after { width: 70%; }
.btn-nav { background: linear-gradient(135deg, var(--primary), var(--red-dark)); color: white !important; border: none; padding: 0.5rem 1.2rem !important; border-radius: 50px; font-weight: 600; transition: all 0.3s; position: relative; overflow: hidden; }
.btn-nav::after { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; border-radius: 50%; background: rgba(255,255,255,0.2); transform: translate(-50%, -50%); transition: width 0.5s, height 0.5s; }
.btn-nav:hover { transform: scale(1.05); box-shadow: 0 5px 20px rgba(196,30,58,0.4); }
.btn-nav:active { transform: scale(0.95); }
.btn-nav:active::after { width: 200px; height: 200px; }
.btn-lang { background: linear-gradient(135deg, var(--gold), var(--red-light)); color: white !important; border: none; padding: 0.5rem 1rem !important; border-radius: 50px; font-weight: 600; transition: all 0.3s; font-size: 0.9rem; box-shadow: 0 4px 15px rgba(255,107,107,0.3); }
.btn-lang:hover { background: linear-gradient(135deg, var(--red-light), var(--gold)); transform: scale(1.05); box-shadow: 0 6px 20px rgba(255,107,107,0.5); }

/* 英雄区 */
.hero { min-height: 100vh; background: linear-gradient(135deg, var(--primary) 0%, var(--red-dark) 50%, #dc143c 100%); position: relative; display: flex; align-items: center; padding-top: 80px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E"); }
.hero-badge { display: inline-flex; align-items: center; background: rgba(212,175,55,0.2); border: 1px solid rgba(212,175,55,0.4); color: var(--gold); padding: 0.5rem 1.2rem; border-radius: 50px; font-size: 0.85rem; margin-bottom: 1.5rem; }
.hero h1 { font-size: 3.5rem; font-weight: 700; color: white; line-height: 1.15; margin-bottom: 1.5rem; }
.hero h1 .highlight { background: linear-gradient(135deg, var(--gold), #ff8787); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-subtitle { font-size: 1.15rem; color: rgba(255,255,255,0.85); margin-bottom: 2rem; max-width: 480px; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.btn-gold { 
    background: linear-gradient(135deg, var(--gold), var(--red-light)); 
    color: white; 
    border: none; 
    padding: 1rem 2.5rem; 
    border-radius: 50px; 
    font-weight: 600; 
    font-size: 1rem;
    box-shadow: 0 8px 30px rgba(255,107,107,0.4); 
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}
.btn-gold::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 0.6s, height 0.6s;
}
.btn-gold:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 12px 40px rgba(255,107,107,0.6); 
    color: white;
    background: linear-gradient(135deg, var(--red-light), var(--gold));
}
.btn-gold:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 5px 20px rgba(255,107,107,0.4);
}
.btn-gold:active::before {
    width: 300px;
    height: 300px;
}
.btn-outline-light { 
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.4); 
    color: white;
    padding: 1rem 2.5rem; 
    border-radius: 50px; 
    font-weight: 600; 
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}
.btn-outline-light:hover { 
    background: rgba(255,255,255,0.2); 
    border-color: rgba(255,255,255,0.8);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.2);
}
.hero-stats { display: flex; gap: 2.5rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); }
.stat-number { font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 700; color: var(--gold); }
.stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.7); }
.hero-image { position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.hero-image::before { content: ''; position: absolute; top: -15px; right: -15px; width: 80px; height: 80px; background: linear-gradient(135deg, var(--gold), var(--red-light)); border-radius: 15px; z-index: -1; }
.floating-card { position: absolute; background: white; border-radius: 12px; padding: 1rem 1.2rem; box-shadow: 0 10px 40px rgba(0,0,0,0.15); animation: float 3s ease-in-out infinite; }
.floating-card-1 { top: 15%; right: -20px; }
.floating-card-2 { bottom: 20%; left: -30px; animation-delay: 1.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.card-icon { width: 36px; height: 36px; background: linear-gradient(135deg, var(--primary), var(--red-dark)); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: white; margin-bottom: 0.3rem; font-size: 0.9rem; }
.card-value { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; color: var(--dark); }
.card-label { font-size: 0.75rem; color: #64748b; }


/* 区块标题 */
.section-header { text-align: center; margin-bottom: 4rem; }
.section-badge { display: inline-block; background: rgba(196,30,58,0.1); color: var(--primary); padding: 0.4rem 1rem; border-radius: 50px; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem; }
.section-title { font-size: 2.8rem; font-weight: 700; margin-bottom: 1rem; }
.section-subtitle { font-size: 1.1rem; color: #64748b; max-width: 600px; margin: 0 auto; }

/* 服务卡片 */
#services { padding: 6rem 0; background: var(--light); }
.service-card { background: white; border-radius: 16px; padding: 2.5rem 2rem; height: 100%; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); border: 1px solid #e2e8f0; position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--primary), var(--gold)); transform: scaleX(0); transition: transform 0.4s; }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(0,0,0,0.1); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { width: 70px; height: 70px; background: linear-gradient(135deg, rgba(196,30,58,0.1), rgba(255,107,107,0.1)); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: var(--primary); margin-bottom: 1.5rem; transition: all 0.3s; }
.service-card:hover .service-icon { background: linear-gradient(135deg, var(--primary), var(--red-dark)); color: white; }
.service-card h3 { font-size: 1.3rem; margin-bottom: 1rem; }
.service-card p { color: #64748b; font-size: 0.95rem; }

/* 案例区块 */
#cases { padding: 6rem 0; background: white; }
.case-item { border-radius: 20px; overflow: hidden; position: relative; height: 350px; cursor: pointer; }
.case-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.case-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 0%, rgba(196,30,58,0.95) 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 2rem; opacity: 0; transition: opacity 0.4s; }
.case-item:hover img { transform: scale(1.1); }
.case-item:hover .case-overlay { opacity: 1; }
.case-tag { display: inline-block; background: var(--gold); color: var(--dark); padding: 0.3rem 0.8rem; border-radius: 50px; font-size: 0.75rem; font-weight: 600; margin-bottom: 0.8rem; width: fit-content; }
.case-overlay h3 { color: white; font-size: 1.4rem; margin-bottom: 0.5rem; }
.case-overlay p { color: rgba(255,255,255,0.8); font-size: 0.9rem; }

/* 团队区块 */
#team { padding: 6rem 0; background: var(--light); }
#team .row { display: flex; flex-wrap: wrap; }
#team .row > [class*="col-"] { display: flex; }
.team-card { background: white; border-radius: 20px; overflow: hidden; transition: all 0.4s; border: 1px solid #e2e8f0; display: flex; flex-direction: column; width: 100%; height: 100%; }
.team-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(0,0,0,0.1); }
.team-img-wrapper { position: relative; overflow: hidden; height: 250px; flex-shrink: 0; }
.team-img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 0.5s; }
.team-card:hover .team-img { transform: scale(1.05); }
.team-social { position: absolute; bottom: -50px; left: 0; right: 0; display: flex; justify-content: center; gap: 0.5rem; padding: 1rem; background: linear-gradient(0deg, rgba(196,30,58,0.9), transparent); transition: bottom 0.3s; }
.team-card:hover .team-social { bottom: 0; }
.team-social a { width: 36px; height: 36px; background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary); transition: all 0.3s; }
.team-social a:hover { background: var(--gold); color: var(--dark); }
.team-info { padding: 1.5rem; text-align: center; flex-grow: 1; display: flex; flex-direction: column; justify-content: flex-start; min-height: 140px; }
.team-info h3 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.team-info p { color: #64748b; font-size: 0.85rem; margin-bottom: 0.5rem; }
.team-info small { color: #94a3b8; font-size: 0.8rem; line-height: 1.4; display: block; }

/* 联系区块 */
#contact { padding: 6rem 0; background: white; }
.contact-info-card { background: linear-gradient(135deg, var(--primary), var(--red-dark)); border-radius: 20px; padding: 3rem; color: white; height: 100%; }
.contact-info-card h2 { color: white; font-size: 2.2rem; margin-bottom: 1rem; }
.contact-info-card > p { color: rgba(255,255,255,0.8); margin-bottom: 2rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.contact-icon { width: 45px; height: 45px; background: rgba(255,255,255,0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item h4 { font-size: 0.9rem; color: var(--gold); margin-bottom: 0.3rem; font-family: 'Inter', sans-serif; font-weight: 600; }
.contact-item p { color: rgba(255,255,255,0.9); font-size: 0.95rem; margin: 0; }
.contact-form-card { background: white; border-radius: 20px; padding: 2.5rem; box-shadow: 0 10px 50px rgba(0,0,0,0.1); border: 1px solid #e2e8f0; }
.contact-form-card h3 { font-size: 1.5rem; margin-bottom: 1.5rem; }
.form-control, .form-select { border: 2px solid #e2e8f0; border-radius: 12px; padding: 0.8rem 1rem; transition: all 0.3s; }
.form-control:focus, .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(196,30,58,0.1); }
.btn-submit { background: linear-gradient(135deg, var(--primary), var(--red-dark)); color: white; border: none; padding: 1rem; border-radius: 12px; font-weight: 600; width: 100%; transition: all 0.3s; }
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(196,30,58,0.3); color: white; }

/* 页脚 */
.footer { background: linear-gradient(135deg, var(--dark), var(--red-dark)); color: white; padding: 5rem 0 2rem; }
.footer h3 { color: white; font-size: 1.3rem; margin-bottom: 1rem; }
.footer p { color: rgba(255,255,255,0.7); }
.footer h4 { color: white; font-size: 1rem; margin-bottom: 1.2rem; font-family: 'Inter', sans-serif; font-weight: 600; }
.footer-link { color: rgba(255,255,255,0.7); text-decoration: none; transition: all 0.3s; display: block; padding: 0.3rem 0; }
.footer-link:hover { color: var(--gold); padding-left: 5px; transform: translateX(3px); }
.footer-social a { width: 40px; height: 40px; background: rgba(255,107,107,0.2); border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: white; margin-right: 0.5rem; transition: all 0.3s; }
.footer-social a:hover { background: var(--gold); color: var(--dark); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 3rem; padding-top: 2rem; text-align: center; color: rgba(255,255,255,0.5); }

/* 表单验证 */
.is-invalid { border-color: #dc3545 !important; }
.invalid-feedback { display: none; color: #dc3545; font-size: 0.85rem; margin-top: 0.3rem; }
.is-invalid ~ .invalid-feedback { display: block; }
.alert-success-custom { background: linear-gradient(135deg, #10b981, #059669); color: white; padding: 1rem 1.5rem; border-radius: 12px; margin-top: 1rem; }

/* 响应式 */
@media (max-width: 992px) {
    .hero h1 { font-size: 2.5rem; }
    .hero-stats { gap: 1.5rem; }
    .stat-number { font-size: 1.8rem; }
    .floating-card { display: none; }
}
@media (max-width: 768px) {
    .hero { padding-top: 100px; min-height: auto; padding-bottom: 4rem; }
    .hero h1 { font-size: 2rem; }
    .hero-stats { flex-wrap: wrap; gap: 1rem; }
    .section-title { font-size: 2rem; }
    .contact-info-card { margin-bottom: 2rem; }
}
