/* 全局样式 */
body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* 导航栏样式 */
.navbar {
    background-color: #fff !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    color: #000 !important;
    transition: color 0.3s ease;
}

.navbar-brand:hover {
    color: #333 !important;
}

.nav-link {
    color: #333 !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #000 !important;
    background-color: rgba(0,0,0,0.05);
    border-radius: 4px;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #000;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link.active {
    color: #000 !important;
    font-weight: 600;
}

.nav-link.active::after {
    width: 80%;
    background-color: #000;
}

/* 导航栏滚动效果 */
.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

/* 首页横幅样式（带下移背景图） */
.hero-section {
    background: #000;
    color: white;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    min-height: 480px;
}
.hero-section::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    top: 0; bottom: 0;
    background: url('../images/top.jpg') no-repeat;
    background-size: 100%;
    opacity: 1;
    z-index: 0;
    background-position: right -50% bottom 50%;
}
.hero-section > .container, .hero-section .row {
    position: relative;
    z-index: 1;
}
.hero-section > .container {
    position: relative;
    z-index: 1;
    margin-top: 0;
    margin-bottom: 0;
}
.hero-section .col-lg-6 {
    text-align: left;
    margin-top: -380px;
}

/* 卡片样式 */
.card {
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    background-color: #fff;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.card-title {
    color: #000;
    font-weight: 600;
}

/* 业绩图表样式 */
.performance-chart {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: 1px solid #eee;
}

/* 联系表单样式 */
.form-control {
    border: 1px solid #ddd;
    padding: 12px;
    background-color: #fff;
}

.form-control:focus {
    box-shadow: none;
    border-color: #000;
}

/* 按钮样式 */
.btn-primary {
    background: #000;
    border: none;
    padding: 12px 30px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #333;
    transform: translateY(-2px);
}

/* 背景色调整 */
.bg-light {
    background-color: #f8f9fa !important;
}

/* 标题样式 */
h2 {
    color: #000;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: #000;
}

/* 列表样式 */
.list-unstyled li {
    margin-bottom: 10px;
    color: #666;
}

/* 页脚样式 */
footer {
    background-color: #000 !important;
}

/* 合作伙伴logo样式 */
.partners-grid {
    margin-top: 1rem;
}

/* Supported Platform 标题样式 */
.supported-platform-title {
    font-size: 1.5rem !important;
    font-weight: 600;
    color: #fff !important;
}

.partner-logo {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 0.3rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 0.5px solid rgba(255, 255, 255, 0.15);
    height: 40px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
}

.partner-logo:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.partner-logo img {
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: all 0.3s ease;
}

/* 为每个logo单独设置尺寸，方便调整 */
.partner-logo .logo-1 {
    max-width: 110%;
    max-height: 110%;
}

.partner-logo .logo-2 {
    max-width: 120%;
    max-height: 120%;
}

.partner-logo .logo-3 {
    max-width: 75%;
    max-height: 75%;
}

.partner-logo .logo-4 {
    max-width: 80%;
    max-height: 80%;
}

.partner-logo:hover img {
    opacity: 1;
    filter: brightness(0) invert(1);
}

/* 导航栏手机版优化 */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .navbar-toggler {
        border: none;
        padding: 0.25rem 0.5rem;
    }
    
    .navbar-toggler:focus {
        box-shadow: none;
    }
    
    .navbar-collapse {
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-radius: 8px;
        margin-top: 0.5rem;
        padding: 1rem;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    
    .nav-link {
        padding: 0.75rem 1rem !important;
        border-bottom: 1px solid #f0f0f0;
        margin-bottom: 0.25rem;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-link:hover {
        background-color: rgba(0,0,0,0.05);
        border-radius: 6px;
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .partner-logo {
        height: 35px;
        padding: 0.25rem;
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hero-section {
        min-height: 100vh;
        padding-top: 80px;
    }
    .hero-section::after {
        background-image: url('../images/top_mobile.jpg'); /* 手机版使用不同的背景图 */
        background-position: center top;
        background-size: cover;
        opacity: 0.8;
    }
    .hero-section > .container {
        margin-top: 0;
        padding: 0 15px;
    }
    .hero-section .col-lg-6 {
        margin-top: 0;
        text-align: left; /* 手机版改为左对齐 */
        padding: 2rem 0;
        position: absolute;
        top: 10%; /* 往上移动更多 */
        left: 25px; /* 稍微往右移动 */
        right: 15px; /* 右边距 */
    }
    .hero-section h1 {
        font-size: 2.5rem !important;
        margin-bottom: 1rem;
    }
    .hero-section .lead {
        font-size: 1.2rem !important;
        line-height: 1.4;
    }
}

/* 动画效果 */
.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 优势蜂巢环形布局 */
.advantage-honeycomb {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0px;
    height: 100%;
}
.advantage-item {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    width: 48%;
    min-width: 260px;
    margin-right: 2%;
}
.advantage-item:nth-child(even) {
    margin-left: 50px;
}
.advantage-circle {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #2176ae;
    color: #fff;
    font-size: 1.3rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 18px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.advantage-item.yellow .advantage-circle {
    background: #f7b84b;
    color: #fff;
}
.advantage-item.blue-dark .advantage-circle {
    background: #183153;
    color: #fff;
}
.advantage-title-main {
    font-size: 1.08rem;
    font-weight: 700;
    color: #2176ae;
    margin-bottom: 2px;
}
.advantage-item.yellow .advantage-title-main {
    color: #f7b84b;
}
.advantage-item.blue-dark .advantage-title-main {
    color: #183153;
}
.advantage-title-sub {
    font-size: 0.98rem;
    color: #222;
    font-weight: 400;
}
@media (max-width: 992px) {
    .advantage-item {
        width: 100%;
        min-width: 0;
        margin-right: 0;
        margin-left: 0;
    }
    .advantage-item:nth-child(even) {
        margin-left: 0;
    }
}
@media (max-width: 576px) {
    .advantage-honeycomb {
        flex-direction: column;
        align-items: stretch;
    }
    .advantage-item {
        margin-bottom: 12px;
    }
    .advantage-circle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-right: 10px;
    }
    .advantage-title-main {
        font-size: 1rem;
    }
    .advantage-title-sub {
        font-size: 0.92rem;
    }
}

/* 稳健系列子选项样式 */
/* 已移除稳健系列，不再需要相关样式 */

@media (max-width: 768px) {
    /* 已移除产品列表，不再需要相关样式 */
}

.anchor-fix {
    scroll-margin-top: 80px;
}

/* Operations 卡片样式 */
.operations-card {
    background: #fff;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #f0f0f0;
    text-align: left;
}

.operations-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-color: #e0e0e0;
}

.operations-title {
    color: #1a2530;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.3;
}

.operations-desc {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.operations-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 300px;
}

.operations-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.operations-image:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
}

/* 响应式调整 */
@media (max-width: 991px) {
    .operations-card {
        margin-bottom: 1.5rem;
    }
    
    .operations-image-container {
        min-height: 250px;
    }
}

@media (max-width: 768px) {
    .operations-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
    }
    
    .operations-title {
        font-size: 1rem;
    }
    
    .operations-desc {
        font-size: 0.9rem;
    }
    
    .operations-image-container {
        min-height: 200px;
    }
}

@media (max-width: 576px) {
    .operations-card {
        padding: 1.25rem 0.75rem;
    }
    
    .operations-title {
        font-size: 0.95rem;
    }
    
    .operations-desc {
        font-size: 0.85rem;
    }
}

/* Operations部分手机版特殊优化 */
@media (max-width: 768px) {
    #operations .row {
        margin: 0;
        display: flex;
        flex-direction: column;
    }
    
    /* 图片容器 - 在手机版中放在最上面 */
    #operations .col-lg-4 {
        padding: 0 15px;
        margin-bottom: 1.5rem; /* 减少图片下方间距 */
        order: -1; /* 确保图片在最上面 */
    }
    
    /* 卡片容器 - 在手机版中放在图片下面 */
    #operations .col-lg-8 {
        padding: 0 15px;
        margin-bottom: 0;
        order: 1; /* 确保卡片在图片下方 */
    }
    
    /* 卡片网格容器优化 */
    #operations .col-lg-8 .row {
        margin: 0;
        gap: 0.75rem; /* 减少卡片间距 */
    }
    
    .operations-image-container {
        min-height: 200px; /* 减少图片高度 */
        margin-top: 0;
        margin-bottom: 0.5rem;
    }
    
    .operations-card {
        margin-bottom: 0.75rem; /* 减少卡片底部间距 */
        padding: 1.25rem 1rem; /* 减少卡片内边距 */
    }
    
    .operations-title {
        font-size: 1rem; /* 稍微减小标题字体 */
        margin-bottom: 0.75rem; /* 减少标题下方间距 */
    }
    
    .operations-desc {
        font-size: 0.85rem; /* 稍微减小描述字体 */
        line-height: 1.4; /* 稍微减小行高 */
    }
} 

/* Firm 卡片样式 */
.firm-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.firm-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-color: #e0e0e0;
}

/* 左侧直接放置的图片样式 */
.firm-image {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.firm-image:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
}

.firm-card-title {
    color: #1a2530;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

.firm-card-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.firm-card-content {
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
    text-align: center;
    margin-bottom: 1rem;
}

.firm-card-list {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
    text-align: left;
    margin-bottom: 0;
    padding-left: 1.2rem;
}

.firm-card-list li {
    margin-bottom: 0.5rem;
    position: relative;
}

.firm-card-list li:last-child {
    margin-bottom: 0;
}

/* 右侧两个卡片的内容文字左对齐，标题保持居中 */
.row .col-lg-4:nth-child(2) .firm-card-content,
.row .col-lg-4:nth-child(3) .firm-card-content {
    text-align: left;
}

/* 响应式调整 */
@media (max-width: 991px) {
    .firm-card {
        margin-bottom: 2rem;
        padding: 1.5rem;
    }
    
    .firm-image-container {
        min-height: 250px;
    }
    
    .firm-card-title {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .firm-card {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .firm-image-container {
        min-height: 200px;
        margin-bottom: 1.5rem;
    }
    
    .firm-card-title {
        font-size: 1.2rem;
    }
    
    .firm-card-content {
        font-size: 0.95rem;
    }
    
    /* Firm部分手机版特殊优化 */
    #firm .row {
        margin: 0;
    }
    
    #firm .col-lg-4 {
        padding: 0 15px;
        margin-bottom: 1rem;
    }
    
    .firm-image {
        min-height: 250px;
        object-fit: cover;
    }
} 

/* Products 部分样式 */
.products-intro {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 2rem 0;
}

.products-main-title {
    color: #000;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0;
}

.products-title-small {
    font-size: 1.5rem;
    font-weight: 400;
    color: #666;
}

.products-title-large {
    font-size: 3.5rem;
    font-weight: 700;
    color: #000;
}

.products-container {
    padding-left: 0;
}

.products-main-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 2.5rem;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.products-main-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-color: #e0e0e0;
}

.products-card-title {
    color: #1a2530;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
    position: relative;
}

.products-card-title:first-child {
    margin-top: 0;
}

.products-card-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.products-card-description {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

/* 响应式调整 */
@media (max-width: 991px) {
    .products-intro {
        padding: 1rem 0;
        margin-bottom: 2rem;
    }
    
    .products-title-large {
        font-size: 2.5rem;
    }
    
    .products-title-small {
        font-size: 1.25rem;
    }
    
    .products-container {
        padding-left: 0;
    }
    
    .products-main-card {
        padding: 2rem;
    }
    
    .products-card-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .products-title-large {
        font-size: 2rem;
    }
    
    .products-title-small {
        font-size: 1.1rem;
    }
    
    .products-main-card {
        padding: 1.5rem;
        margin-top: 1rem;
    }
    
    .products-card-title {
        font-size: 1.2rem;
        margin-top: 1.5rem;
    }
    
    .products-card-title:first-child {
        margin-top: 0;
    }
    
    .products-card-description {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    
    /* Products部分手机版特殊优化 */
    .products-intro {
        text-align: left; /* 手机版改为左对齐 */
        margin-bottom: 2rem;
        padding-left: 1rem; /* 整体往右移动 */
    }
    
    .products-container {
        padding: 0;
    }
    
    /* 手机版标题间距优化 */
    .products-title-small {
        margin-bottom: 1.5rem; /* 增加Precise Risk Allocation下方的间距 */
    }
} 

/* 新增section样式 */
#firm, #products, #operations, #team, #contact {
    scroll-margin-top: 80px;
}

/* Team section 特殊样式 */
#team {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.team-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 300px;
}

.team-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-image:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
}

.team-main-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 2.5rem;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-main-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-color: #e0e0e0;
}

.team-card-title {
    color: #1a2530;
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: left;
    position: relative;
}

.team-card-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.team-card-content {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    text-align: left;
}

.team-card-content:last-child {
    margin-bottom: 0;
}

/* Team 响应式调整 */
@media (max-width: 991px) {
    .team-image-container {
        min-height: 250px;
        margin-bottom: 2rem;
    }
    
    .team-main-card {
        padding: 2rem;
    }
    
    .team-card-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .team-image-container {
        min-height: 200px;
    }
    
    .team-main-card {
        padding: 1.5rem;
    }
    
    .team-card-title {
        font-size: 1.3rem;
    }
    
    .team-card-content {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .team-main-card {
        padding: 1.25rem;
    }
    
    .team-card-title {
        font-size: 1.2rem;
    }
    
    .team-card-content {
        font-size: 0.9rem;
    }
}

/* Team部分手机版特殊优化 */
@media (max-width: 768px) {
    #team .row {
        margin: 0;
    }
    
    #team .col-lg-6 {
        padding: 0 15px;
    }
    
    .team-image-container {
        margin-bottom: 2rem;
        min-height: 250px;
    }
    
    .team-main-card {
        margin-top: 0;
    }
}

/* Contact section 样式优化 */
#contact {
    background: #fff;
}

#contact h3 {
    color: #333;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

#contact .list-unstyled li {
    margin-bottom: 0.75rem;
    color: #666;
    font-size: 1rem;
}

/* Contact Modal 样式 */
#contactModal .modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

#contactModal .modal-header {
    background: linear-gradient(135deg, #343a40 0%, #212529 100%);
    color: white;
    border-radius: 16px 16px 0 0;
    border: none;
    padding: 1.5rem;
}

#contactModal .modal-title {
    font-weight: 600;
    font-size: 1.5rem;
}

#contactModal .btn-close {
    filter: invert(1);
}

#contactModal .modal-body {
    padding: 2rem;
}

#contactModal .form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

#contactModal .form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

#contactModal .form-control:focus {
    border-color: #495057;
    box-shadow: 0 0 0 0.2rem rgba(73, 80, 87, 0.25);
}

#contactModal .modal-footer {
    border: none;
    padding: 1.5rem 2rem;
    background-color: #f8f9fa;
    border-radius: 0 0 16px 16px;
}

#contactModal .btn-primary {
    background: linear-gradient(135deg, #495057 0%, #343a40 100%);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

#contactModal .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(73, 80, 87, 0.4);
    background: linear-gradient(135deg, #343a40 0%, #212529 100%);
}

#contactModal .btn-secondary {
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
}

/* 邀请码部分样式 */
.invite-code-section {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.invite-code-alert {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 1px solid #ffeaa7;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.15);
    transition: all 0.3s ease;
}

.invite-code-alert:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.2);
}

.invite-code-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.invite-code-text {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: #856404;
    line-height: 1.6;
}

.invite-code-text i {
    font-size: 1.2rem;
    color: #f39c12;
}

.invite-code-form {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.invite-code-input {
    flex: 1;
    min-width: 200px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.invite-code-input:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    outline: none;
}

.invite-code-btn {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.invite-code-btn:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.invite-code-btn:active {
    transform: translateY(0);
}

/* 页脚手机版优化 */
@media (max-width: 768px) {
    footer .row {
        margin: 0;
    }
    
    footer .col-md-7,
    footer .col-md-5 {
        padding: 0 15px;
        margin-bottom: 2rem;
    }
    
    .supported-platform-title {
        font-size: 1.25rem !important;
        margin-bottom: 1.5rem;
    }
    
    .partners-grid .row {
        margin: 0;
    }
    
    .partners-grid .col-6 {
        padding: 0 5px;
        margin-bottom: 1rem;
    }
    
    .partner-logo {
        height: 40px;
        padding: 0.3rem;
    }
    
    footer p {
        font-size: 0.8rem !important;
        line-height: 1.5;
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .invite-code-content {
        gap: 1rem;
    }
    
    .invite-code-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .invite-code-input {
        min-width: auto;
    }
    
    .invite-code-btn {
        width: 100%;
    }
} 