/* AIGEO Public Pages Styles */

/* ===== 通用 ===== */
.aigeo-public-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #1a1a2e;
    line-height: 1.6;
}
.aigeo-public-page h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a1a2e;
}
.aigeo-public-page .subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 32px;
}

/* ===== Hero区域 ===== */
.aigeo-hero {
    text-align: center;
    padding: 48px 20px 40px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: 16px;
    color: #fff;
    margin-bottom: 36px;
}
.aigeo-hero h1 { color: #fff; font-size: 36px; }
.aigeo-hero .subtitle { color: rgba(255,255,255,.7); margin-bottom: 28px; }
.aigeo-hero .version-badge {
    display: inline-block;
    background: rgba(255,255,255,.15);
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 16px;
}
.aigeo-btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s;
    border: none;
    cursor: pointer;
}
.aigeo-btn-primary {
    background: #4fc3f7;
    color: #1a1a2e;
}
.aigeo-btn-primary:hover {
    background: #29b6f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79,195,247,.35);
}
.aigeo-btn-outline {
    background: transparent;
    color: #4fc3f7;
    border: 2px solid #4fc3f7;
}
.aigeo-btn-outline:hover {
    background: rgba(79,195,247,.1);
    transform: translateY(-2px);
}
.aigeo-btn-lg { padding: 14px 40px; font-size: 18px; }

/* ===== 功能卡片 ===== */
.aigeo-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 36px;
}
.aigeo-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 4px rgba(0,0,0,.08);
    border: 1px solid #eee;
    transition: box-shadow .2s;
}
.aigeo-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.12); }
.aigeo-card h3 {
    font-size: 16px;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.aigeo-card p { font-size: 13px; color: #666; margin: 0; }
.aigeo-card .card-icon { font-size: 28px; margin-bottom: 10px; }

/* ===== 版本日志 ===== */
.aigeo-changelog {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eee;
    overflow: hidden;
    margin-bottom: 36px;
}
.aigeo-changelog-header {
    padding: 16px 24px;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
    font-weight: 600;
    font-size: 16px;
}
.aigeo-changelog-table { width: 100%; border-collapse: collapse; }
.aigeo-changelog-table th {
    text-align: left;
    padding: 12px 24px;
    background: #f8f9fa;
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .5px;
    border-bottom: 2px solid #eee;
}
.aigeo-changelog-table td {
    padding: 14px 24px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}
.aigeo-changelog-table tr:last-child td { border-bottom: none; }
.aigeo-changelog-table .version-tag {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 12px;
    font-family: 'SF Mono', Monaco, monospace;
}
.version-tag-latest { background: #e3f2fd; color: #1565c0; }
.version-tag-old { background: #f5f5f5; color: #666; }
.changelog-tag { 
    display: inline-block; padding: 1px 7px; border-radius: 3px;
    font-size: 11px; font-weight: 600; margin-right: 6px;
}
.tag-new { background: #e8f5e9; color: #2e7d32; }
.tag-fix { background: #fff3e0; color: #e65100; }
.tag-improve { background: #e3f2fd; color: #1565c0; }

/* ===== 下载按钮 ===== */
.aigeo-download-section {
    text-align: center;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 36px;
    margin-bottom: 36px;
}
.aigeo-download-section h2 { margin-bottom: 8px; }
.aigeo-download-section p { color: #666; font-size: 14px; margin-bottom: 20px; }
.aigeo-download-options {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== 价格表 ===== */
.aigeo-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 36px;
}
.aigeo-pricing-card {
    background: #fff;
    border-radius: 12px;
    border: 2px solid #eee;
    padding: 28px 24px;
    text-align: center;
    transition: all .2s;
    position: relative;
}
.aigeo-pricing-card:hover {
    border-color: #4fc3f7;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(79,195,247,.15);
}
.aigeo-pricing-card.featured {
    border-color: #4fc3f7;
    box-shadow: 0 4px 20px rgba(79,195,247,.2);
}
.aigeo-pricing-card.featured .popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #4fc3f7;
    color: #1a1a2e;
    padding: 4px 16px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
}
.aigeo-pricing-card h3 { font-size: 20px; margin: 12px 0 4px; }
.aigeo-pricing-card .price { font-size: 36px; font-weight: 800; color: #1a1a2e; margin: 12px 0 4px; }
.aigeo-pricing-card .price-period { font-size: 14px; color: #888; }
.aigeo-pricing-card .features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}
.aigeo-pricing-card .features li {
    padding: 6px 0;
    font-size: 14px;
    color: #444;
}
.aigeo-pricing-card .features li:before {
    content: '✅ ';
    margin-right: 6px;
}
.aigeo-pricing-card .features li.missing { color: #bbb; }
.aigeo-pricing-card .features li.missing:before { content: '— '; }

/* ===== 版本对比表 ===== */
.aigeo-compare-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    margin-bottom: 36px;
}
.aigeo-compare-table th {
    padding: 14px 20px;
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    background: #f8f9fa;
    border-bottom: 2px solid #eee;
}
.aigeo-compare-table th:first-child { text-align: left; }
.aigeo-compare-table th.free-col { color: #666; }
.aigeo-compare-table th.pro-col { color: #1565c0; }
.aigeo-compare-table td {
    padding: 12px 20px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}
.aigeo-compare-table td:first-child { text-align: left; font-weight: 500; }
.aigeo-compare-table tr:hover td { background: #f8f9ff; }
.aigeo-compare-table .check { color: #2e7d32; font-weight: bold; }
.aigeo-compare-table .cross { color: #c62828; }

/* ===== 合作伙伴 ===== */
.aigeo-partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
    margin-bottom: 36px;
}
.aigeo-partner-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 20px 12px;
    text-align: center;
    transition: all .2s;
}
.aigeo-partner-item:hover {
    border-color: #4fc3f7;
    box-shadow: 0 2px 12px rgba(79,195,247,.12);
}
.aigeo-partner-item .partner-logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f0f2f5;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: #4fc3f7;
}
.aigeo-partner-item .partner-domain {
    font-size: 12px;
    color: #555;
    word-break: break-all;
    line-height: 1.3;
}
.aigeo-partner-item .partner-plan {
    font-size: 11px;
    margin-top: 4px;
}
.aigeo-partner-plan-free { color: #888; }
.aigeo-partner-plan-pro { color: #1565c0; font-weight: 600; }
.aigeo-partner-count {
    text-align: center;
    color: #888;
    font-size: 14px;
    margin-bottom: 24px;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .aigeo-public-page { padding: 12px; }
    .aigeo-hero { padding: 32px 16px; }
    .aigeo-hero h1 { font-size: 26px; }
    .aigeo-pricing-grid { grid-template-columns: 1fr; }
    .aigeo-features-grid { grid-template-columns: 1fr; }
    .aigeo-changelog-table td, .aigeo-changelog-table th { padding: 10px 14px; }
}

/* ===== 同盟站LOGO ===== */
.aigeo-recent-sites {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-bottom: 36px;
}
@media (max-width: 800px) {
    .aigeo-recent-sites { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 500px) {
    .aigeo-recent-sites { grid-template-columns: repeat(2, 1fr); }
}
.aigeo-site-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    transition: all .2s;
    position: relative;
    overflow: hidden;
}
.aigeo-site-card:hover {
    border-color: #4fc3f7;
    box-shadow: 0 4px 16px rgba(79,195,247,.12);
    transform: translateY(-2px);
}
.aigeo-site-card .site-logo {
    width: 56px;
    height: 56px;
    margin: 0 auto 10px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}
.aigeo-site-card .site-name {
    font-size: 12px;
    font-weight: 600;
    color: #333;
    word-break: break-all;
    margin-bottom: 4px;
}
.aigeo-site-card .site-plan-badge {
    display: inline-block;
    font-size: 10px;
    padding: 1px 8px;
    border-radius: 8px;
    font-weight: 600;
}
.site-plan-free { background: #f5f5f5; color: #888; }
.site-plan-pro { background: #e3f2fd; color: #1565c0; }
.aigeo-site-card .site-date {
    font-size: 10px;
    color: #aaa;
    margin-top: 4px;
}

/* 统计横幅 */
.aigeo-stats-banner {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 24px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}
.aigeo-stat-item { text-align: center; }
.aigeo-stat-item .stat-number { font-size: 28px; font-weight: 800; color: #1a1a2e; }
.aigeo-stat-item .stat-label { font-size: 13px; color: #888; margin-top: 2px; }

/* 支付二维码模态 */
.aigeo-pay-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,.5);
    align-items: center;
    justify-content: center;
}
.aigeo-pay-modal.active { display: flex; }
.aigeo-pay-modal .modal-box {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    max-width: 360px;
    width: 90%;
}
.aigeo-pay-modal .modal-box h3 { margin-bottom: 4px; }
.aigeo-pay-modal .modal-box p { color: #666; font-size: 13px; margin-bottom: 16px; }
.aigeo-pay-modal .modal-box .qrcode-img {
    width: 200px;
    height: 200px;
    background: #f0f2f5;
    border-radius: 8px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
    color: #ccc;
}
