/* style.css - 完整版（按钮已加明显白色边框） */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}
body {
    background: #f4f7fc;
    color: #1e293b;
    line-height: 1.5;
}
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0 16px;
    flex-wrap: wrap;
    gap: 16px;
}
.logo-area h1 {
    font-size: 1.9rem;
    font-weight: 700;
    background: linear-gradient(145deg, #0f2b4b, #1e4a76);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}
.online-kefu {
    background: #ffffff;
    padding: 10px 24px;
    border-radius: 60px;
    box-shadow: 0 8px 18px rgba(0,40,80,0.08);
    border: 1px solid rgba(0,112,243,0.15);
    transition: all 0.2s;
    font-weight: 600;
    color: #1e4a76;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.online-kefu i { color: #2d7aff; font-size: 1.2rem; }
.online-kefu:hover {
    background: #eef4ff;
    border-color: #2d7aff;
    transform: scale(1.02);
}
.slogan {
    text-align: center;
    margin: 8px 0 32px;
    font-size: 1.35rem;
    font-weight: 400;
    color: #2c455d;
    background: rgba(255,255,255,0.7);
    padding: 20px 24px;
    border-radius: 60px;
    backdrop-filter: blur(4px);
    box-shadow: 0 6px 14px rgba(0,20,40,0.04);
    border: 1px solid #ffffff;
}
.slogan i { color: #f5a623; margin: 0 6px; }
.feature-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 16px;
    margin: 30px 0 48px;
}
.feature-item {
    background: white;
    padding: 12px 24px;
    border-radius: 48px;
    box-shadow: 0 5px 12px rgba(0,30,60,0.05);
    font-size: 1rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(0,110,230,0.1);
    transition: 0.15s;
    color: #1e3a5f;
}
.feature-item i { color: #2d7aff; font-size: 1.2rem; width: 1.5rem; }
.feature-item:hover {
    border-color: #2d7aff;
    background: #f0f7ff;
    transform: translateY(-2px);
}
.section-title {
    font-size: 1.9rem;
    font-weight: 700;
    margin: 40px 0 28px;
    padding-bottom: 12px;
    border-bottom: 3px solid rgba(0,100,230,0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    color: #0b2a44;
}
.section-title i {
    background: #1e4a76;
    color: white;
    border-radius: 50%;
    padding: 10px;
    font-size: 1.3rem;
}
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 50px;
}
.resource-card {
    background: #ffffff;
    border-radius: 32px;
    padding: 26px 22px 22px;
    box-shadow: 0 18px 35px -10px rgba(0,45,80,0.15);
    border: 1px solid rgba(0,100,220,0.08);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer; /* 提示可点击 */
    position: relative;
}
.resource-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 40px -8px rgba(0,80,160,0.25);
    border-color: rgba(45,122,255,0.3);
}
/* 卡片头部：左侧图片 + 标题，右侧价格 */
.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.card-logo {
    width: 62px;
    height: 62px;
    flex-shrink: 0;
    border-radius: 16px;
    background: #f0f5ff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #e2eaf2;
}
.card-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 保证图片填满62x62，可能裁剪，适合logo */
}
.card-logo .default-logo {
    font-size: 2rem;
    color: #2d7aff;
    opacity: 0.5;
}
.card-header h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0b2a44;
    flex: 1;
    margin: 0;
}
.price-badge {
    background: #eaf3ff;
    padding: 6px 16px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 1.1rem;
    color: #1e4a76;
    border: 1px dashed #2d7aff;
    white-space: nowrap;
    margin-left: auto;
}
.card-details {
    margin: 10px 0 16px;
    background: #f8fafd;
    padding: 14px 16px;
    border-radius: 24px;
    border-left: 4px solid #2d7aff;
}
.card-details p {
    margin: 6px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1e3a5f;
    font-weight: 450;
    flex-wrap: wrap;
}
.card-details i { color: #2d7aff; width: 22px; }
.tag-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    margin: 16px 0 14px;
}
.tag {
    background: #eef2f8;
    color: #1d3e63;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    border: 1px solid rgba(0,0,0,0.02);
}
.tag:hover { background: #dae6ff; color: #00337a; }
.card-footer {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(0,55,100,0.1);
    display: flex;
    justify-content: flex-end; /* 按钮靠右对齐，更美观 */
    align-items: center;
}
/* 优化后的访问网站按钮样式：增加明显白色边框 */
.visit-btn {
    background: linear-gradient(145deg, #1e4a76, #2d7aff);
    color: white;
    padding: 10px 28px;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
    border: 2px solid #ffffff; /* 醒目的白色外边框 */
    cursor: pointer;
    box-shadow: 0 8px 16px -6px rgba(30,74,118,0.3);
    letter-spacing: 0.5px;
}
.visit-btn:hover {
    background: linear-gradient(145deg, #2d7aff, #1e4a76);
    transform: translateY(-2px);
    box-shadow: 0 12px 20px -8px rgba(30,74,118,0.5);
    border-color: #f0f0f0; /* 悬停时边框稍微变浅 */
}
.visit-btn i {
    font-size: 0.9rem;
}
.footer {
    text-align: center;
    padding: 32px 0 24px;
    color: #5a6f88;
    border-top: 1px solid rgba(0,50,90,0.1);
    margin-top: 30px;
    font-size: 0.95rem;
}
.note-light {
    background: rgba(255,215,0,0.15);
    border-radius: 16px;
    padding: 4px 16px;
    font-size: 0.9rem;
    color: #926d00;
    display: inline-block;
    margin-bottom: 8px;
}
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #1e4a76;
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(0,40,80,0.3);
    text-decoration: none;
}
.back-to-top:hover { background: #2d7aff; }
@media screen and (max-width: 1000px) {
    .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media screen and (max-width: 650px) {
    .card-grid { grid-template-columns: 1fr; }
    .navbar { flex-direction: column; align-items: flex-start; }
    .slogan { font-size: 1.1rem; padding: 16px; }
    .card-header { flex-wrap: wrap; }
    .card-header h3 { font-size: 1.4rem; }
}