:root {
    --primary: #2563eb;
    --secondary: #1e40af;
    --dark: #0f172a;
    --light: #f1f5f9;
    --accent: #f59e0b;
    --gray: #64748b;
    --light-gray: #cbd5e1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

body {
    background-color: #f8fafc;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    padding: 0 20px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.logo i {
    margin-right: 8px;
    color: var(--accent);
}

nav ul {
    display: flex;
    list-style: none;
    padding: 0 10px;
}

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
    font-size: 14px;
    white-space: nowrap;
    position: relative;
    padding: 5px 0;
}

nav ul li a:hover {
    color: var(--primary);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

.auth-buttons {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark);
}

/* 主视觉区域 */
.hero {
    background: linear-gradient(120deg, #0f172a, #1e293b);
    color: white;
    padding: 150px 0 90px;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-text h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-text p {
    font-size: 1.05rem;
    margin-bottom: 30px;
    color: #e2e8f0;
    max-width: 500px;
}

.hero-visual {
    flex: 1;
    text-align: center;
    position: relative;
}

.gpu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 15px;
    max-width: 400px;
    height: 400px;
    margin: 0 auto;
}

.gpu-card {
    background: linear-gradient(145deg, rgba(37, 99, 235, 0.2), rgba(30, 64, 175, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gpu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.gpu-card i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--accent);
}

.gpu-card span {
    font-size: 0.9rem;
    color: #e2e8f0;
    text-align: center;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
}


.hero-visual::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    animation: pulse 6s infinite ease-in-out;
}

/* 特性区域 */
.features {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.section-header p {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    border-top: 3px solid var(--accent);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.feature-card p {
    color: var(--gray);
}

/* 统计区域 */
.stats {
    background: linear-gradient(120deg, var(--primary), var(--secondary));
    color: white;
    padding: 70px 0;
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    position: relative;
    z-index: 2;
    padding: 20px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
}

.stat-item h3 {
    font-size: 3rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
    letter-spacing: 1px;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 极客时间 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-极客时间-7-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm-76-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.15;
    z-index: 1;
}

/* 方案区域 */
.plans {
    padding: 100px 0;
    background-color: var(--light);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.plan-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
    position: relative;
    z-index: 2;
}

.plan-card:hover {
    transform: translateY(-10px);
}

.plan-header {
    background: var(--dark);
    color: white;
    padding: 25px;
    text-align: center;
}

.plan-header h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.plan-content {
    padding: 30px;
}

.plan-features {
    margin: 25px 0;
    list-style: none;
}

.plan-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    padding-left: 30px;
    position: relative;
}

.plan-features li i {
    color: var(--accent);
    position: absolute;
    left: 0;
    top: 4px;
}

.plan-features .feature-item.bad i {
    color: #ff0000;
}

.plan-features .feature-item.good i {
    color: #00aa00;
}

/* 合作伙伴区域 */
.partners {
    padding: 100px 0;
    background: white;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.partner-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.partner-logo {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 20px;
    height: 40px;
}

.partner-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.partner-card p {
    color: var(--gray);
    line-height: 1.7;
}

/* 节点区域 */
.nodes {
    padding: 80px 0;
    background-color: var(--light);
}

.nodes-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.nodes-table {
    width: 100%;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

thead {
    background-color: var(--dark);
    color: white;
}

th, td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--light-gray);
}

th {
    font-weight: 600;
    letter-spacing: 0.5px;
}

tbody tr {
    transition: background 0.2s;
}

tbody tr:hover {
    background-color: rgba(37, 99, 235, 0.03);
}

.price {
    color: var(--accent);
    font-weight: 700;
}

.view-more {
    text-align: center;
    margin-top: 30px;
}

.cta-button {
    background: linear-gradient(to right, var(--secondary), var(--accent));
    color: white;
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

/* 背景图片样式 */
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 保持图片比例并覆盖整个区域 */
    opacity: 0.3; /* 设置30%透明度 */
    z-index: 0;
    pointer-events: none; /* 确保图片不会干扰交互 */
}

/* 确保内容在背景图片之上 */
.hero-content {
    position: relative;
    z-index: 1;
}

/* FAQ区域 */
.faq {
    padding: 100px 0;
    background: white;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item.active {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-color: #93c5fd;
}

.faq-question {
    padding: 20px;
    background: white;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    background: white;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 300px;
}










/* 页脚样式修改 */
footer {
    background-color: var(--dark);
    color: var(--light);
    padding: 60px 0 30px;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column.logo-social {
    flex: 0 0 30%;
    display: flex;
    flex-direction: column;
    gap: 25px;
    text-decoration: none !important;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.footer-logo i {
    font-size: 2.5rem;
    color: var(--primary);
}

.footer-logo span {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-desc {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    text-decoration: none; /* 确保没有下划线 */
}

.social-icons a:hover {
    transform: translateY(-3px);
    background-color: var(--primary);
}

.social-icons .discord:hover { background-color: #5865F2; }
.social-icons .telegram:hover { background-color: #26A5E4; }
.social-icons .wechat:hover { background-color: #07C160; }

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: white;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 40px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 0.9rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .footer-column.logo-social {
        flex: 0 0 100%;
    }
    
    .footer-grid {
        flex-direction: column;
        gap: 30px;
    }
    
    .social-icons {
        justify-content: center;
    }
}













/* 页脚 */
/* footer {
    background-color: var(--dark);
    color: white;
    padding: 80px 0 30px;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
    display: inline-block;
    padding: 4px 0;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
} */

/* .copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #334155;
    color: #94a3b8;
    font-size: 0.9rem;
} */

/* 背景效果 */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.1;
    z-index: 1;
}

.blob.one {
    background: var(--accent);
    width: 400px;
    height: 400px;
    top: -200px;
    right: -100px;
}

.blob.two {
    background: var(--primary);
    width: 300px;
    height: 300px;
    bottom: -150px;
    left: -50px;
}

/* 返回顶部按钮 */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 99;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.scroll-top.active {
    opacity: 1;
    transform: translateY(0);
}

/* 响应式调整 */
@media (max-width: 1100px) {
    nav ul li {
        margin: 0 7px;
    }
    
    nav ul li a {
        font-size: 13px;
    }
}

@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text {
        text-align: center;
        margin-bottom: 50px;
        max-width: 100%;
    }
    
    .hero-text p {
        max-width: 100%;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 850px) {
    .header-container {
        flex-wrap: wrap;
    }
    
    .logo {
        order: 1;
    }
    
    .mobile-menu-btn {
        order: 2;
        display: block;
    }
    
    .auth-buttons {
        order: 4;
        width: 100%;
        justify-content: center;
        margin-top: 20px;
        padding: 10px 0;
        display: flex;
    }
    
    nav {
        order: 3;
        width: 100%;
        margin-top: 15px;
    }
    
    nav ul {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    nav ul li {
        margin: 0 10px 10px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        padding: 15px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.4s ease;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    nav.active {
        transform: translateY(0);
    }
    
    nav ul {
        flex-direction: column;
        gap: 5px;
    }
    
    nav ul li {
        margin: 0;
        width: 100%;
    }
    
    nav ul li a {
        display: block;
        padding: 12px 20px;
        font-size: 15px;
        border-bottom: 1px solid #f1f1f1;
    }
    
    nav ul li a::after {
        display: none;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .partner-card, .plan-card {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .gpu-grid {
        gap: 10px;
        max-width: 300px;
        height: 300px;
    }
    
    .gpu-card {
        padding: 8px;
    }
    
    .hero {
        padding: 120px 0 70px;
    }
}



/* 空状态样式 */
.empty-row {
    text-align: center;
    padding: 40px;
    color: var(--gray);
}

/* 加载状态样式 */
.loading-row {
    pointer-events: none;
}

.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
}

.loading i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(108, 99, 255, 0.3);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 错误状态样式 */
.error-row {
    background: rgba(220, 53, 69, 0.05);
}

.error {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
}

.error i {
    font-size: 2rem;
    color: var(--danger);
}












/* 登录模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    margin: 10% auto;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 400px;
    color: #e2e8f0;
    border: 1px solid rgba(59, 130, 246, 0.3);
    position: relative;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.3s;
}

/* 需要添加/修改 */
.modal-content {
    padding: 40px; /* 增加内边距 */
    max-width: 450px; /* 增加最大宽度 */
}

.close-modal:hover {
    color: #f8fafc;
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-header h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 700;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-header p {
    color: #94a3b8;
    font-size: 1rem;
}

.message {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 0.9rem;
}

.error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

.success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
}

.modal-content h2 {
    text-align: center;
    margin-bottom: 25px;
    font-weight: 700;
    font-size: 1.8rem;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #334155;
    background-color: rgba(15, 23, 42, 0.7);
    color: #e2e8f0;
    font-size: 1rem;
    transition: all 0.3s;
}

/* 需要添加/修改 */
.form-group label {
    color: #e2e8f0; /* 添加标签颜色 */
}

.form-group input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.form-options label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #94a3b8; /* 添加颜色 */
}

.form-submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(to right, #2563eb, #1e40af);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
    margin-top: 10px;
}

.form-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 0.95rem;
    color: #94a3b8;
}

.form-footer a {
    color: #3b82f6;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    margin-left: 5px;
}

.form-divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
    color: #64748b;
}

.form-divider::before,
.form-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, #334155, transparent);
}

.form-divider span {
    padding: 0 15px;
}

.terms {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-top: 15px;
}

.social-login {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.google {
    background: #DB4437;
}

.github {
    background: #333;
}

.microsoft {
    background: #0078d7;
}

/* 模态框悬停效果 */
.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.4);
}

.close-modal:hover {
    color: #f8fafc;
}

/* 注册表单特定样式 */
#registerForm .form-group:last-child {
    margin-bottom: 10px;
}

.form-group input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.form-options label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.form-options a {
    color: #93c5fd;
    text-decoration: none;
    transition: color 0.3s;
}

.form-options a:hover {
    color: #3b82f6;
    text-decoration: underline;
}

.login-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(to right, #2563eb, #1e40af);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.login-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.4);
}

.signup-link {
    text-align: center;
    margin-top: 20px;
    font-size: 0.95rem;
    color: #94a3b8;
}

.signup-link a {
    color: #3b82f6;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.signup-link a:hover {
    text-decoration: underline;
}




































