/* 全局样式重置与基础设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 80px;
}

/* 容器设置 */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* 开发文档按钮样式 */
.btn-warning {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #212529;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
    transition: all 0.3s ease;
}

.btn-warning:hover {
    background-color: #e0a800;
    border-color: #d39e00;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 193, 7, 0.4);
}

/* 核心优势卡片样式 */
.advantage-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #00bcd4);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.advantage-card:hover::before {
    transform: scaleX(1);
}

.advantage-icon {
    margin-bottom: 1.5rem;
    color: #007bff;
}

.advantage-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.advantage-desc {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.7;
}

/* 排版样式 */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #1a202c;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.875rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
    color: #4a5568;
    font-size: 1.125rem;
}

/* 链接样式 */
a {
    color: #3182ce;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #2c5aa0;
    text-decoration: none;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.375rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    line-height: 1.5;
    text-decoration: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, #3182ce, #2c5aa0);
    color: white;
    border-color: transparent;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2c5aa0, #3182ce);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(49, 130, 206, 0.3);
}

.btn-outline {
    background-color: transparent;
    border-color: #3182ce;
    color: #3182ce;
}

.btn-outline:hover {
    background-color: #3182ce;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(49, 130, 206, 0.3);
}

/* 导航栏样式 */
.clogin-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.clogin-header .container {
    padding: 1rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
}

.navbar-brand img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    object-fit: contain;
}

.navbar-nav .nav-link {
    color: #4a5568;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    margin-left: 0.5rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #3182ce;
    background-color: #ebf8ff;
}

.navbar-nav .nav-link.active {
    color: #3182ce;
    font-weight: 600;
}

/* Banner区块样式 */
.clogin-banner {
    position: relative;
    background: linear-gradient(135deg, #ebf8ff 0%, #bee3f8 100%);
    padding: 6rem 0;
    overflow: hidden;
}

.clogin-banner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('/') no-repeat center right;
    background-size: contain;
    opacity: 0.05;
}

.clogin-banner::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: white;
    border-radius: 100% 100% 0 0;
}

.banner-title {
    position: relative;
    z-index: 2;
}

.banner-title h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 800;
    color: #1a202c;
}

.banner-title p {
    font-size: 1.25rem;
    color: #4a5568;
    margin-bottom: 2rem;
    max-width: 80%;
}

.clogin-banner-buttons .btn {
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.clogin-banner img {
    max-width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0);
    }
}

/* 区块标题样式 */
.clogin-section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.clogin-section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
}

.clogin-section-title p {
    font-size: 1.125rem;
    color: #718096;
    max-width: 700px;
    margin: 0 auto;
}

/* 信息区块 */
.clogin-section.clogin-info {
    padding: 4rem 0;
    background-color: white;
    position: relative;
    z-index: 10;
}

.clogin-section.clogin-info .row {
    align-items: center;
}

/* 功能区块 */
.clogin-section.clogin-functions {
    padding: 6rem 0;
    background-color: #f7fafc;
}

.clogin-section.clogin-functions .row>div {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.clogin-section.clogin-functions .row>div:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.clogin-section.clogin-functions .row>div i {
    font-size: 3.5rem;
    color: #3182ce;
    margin-bottom: 1.5rem;
}

.clogin-section.clogin-functions .row>div h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a202c;
}

.clogin-section.clogin-functions .row>div p {
    color: #718096;
    font-size: 1rem;
    line-height: 1.6;
}

/* 功能亮点区块 */
.clogin-section.clogin-features {
    padding: 6rem 0;
    background-color: white;
}

.feature-card {
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border-radius: 0.75rem;
}

.feature-card:hover {
    background-color: #f7fafc;
    transform: translateY(-5px);
}

.feature-icon {
    width: 120px;
    height: 120px;
    line-height: 120px;
    background: linear-gradient(135deg, #ebf8ff, #bee3f8);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    color: #3182ce;
    font-size: 3rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, #3182ce, #2c5aa0);
    color: white;
    transform: scale(1.05);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a202c;
}

.feature-desc {
    color: #718096;
    font-size: 1rem;
    line-height: 1.6;
}

/* 底部样式 */
.clogin-footer {
    background-color: #1a202c;
    color: #a0aec0;
    padding: 4rem 0 2rem;
}

.clogin-footer .container {
    position: relative;
}

.footer-content {
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo img {
    width: 50px;
    height: 50px;
    margin-right: 15px;
}

.footer-logo h3 {
    color: white;
    font-size: 1.5rem;
    margin: 0;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2rem;
}

.footer-links li {
    margin: 0 1rem;
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #a0aec0;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #2d3748;
    font-size: 0.875rem;
}

/* 响应式设计 */
@media (max-width: 992px) {
    h1 {
        font-size: 2.75rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .banner-title h1 {
        font-size: 2.5rem;
    }
    
    .clogin-banner {
        padding: 4rem 0;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .clogin-header .container {
        padding: 0.75rem 0;
    }
    
    .navbar-nav .nav-link {
        margin-left: 0;
        margin-bottom: 0.5rem;
    }
    
    .banner-title h1 {
        font-size: 2rem;
    }
    
    .banner-title p {
        max-width: 100%;
        font-size: 1.125rem;
    }
    
    .clogin-section {
        padding: 3rem 0;
    }
    
    .clogin-section-title h2 {
        font-size: 1.75rem;
    }
    
    .clogin-banner img {
        margin-top: 2rem;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2.25rem;
    }
    
    .clogin-section-title h2 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .footer-links li {
        margin: 0 0.5rem 0.5rem;
    }
}
