/* ====== 基础样式 ====== */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif; }
body { background: linear-gradient(135deg, #2D1B69 0%, #6A5ACD 50%, #9370DB 100%); color: rgba(255,255,255,0.95); min-height: 100vh; padding: 20px; position: relative; overflow-x: hidden; }
@keyframes rotateBg { from { transform: rotate(0deg) scale(1.5); } to { transform: rotate(360deg) scale(1.5); } }
body::before { content: ''; position: fixed; top: -50%; left: -50%; width: 200%; height: 100%; background: radial-gradient(circle, rgba(255,255,255,0.07) 0%, transparent 70%); animation: rotateBg 22s linear infinite; z-index: -1; }
.bottom-rotate-layer { position: fixed; bottom: -50%; left: -50%; width: 200%; height: 100%; background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%); animation: rotateBg 25s linear reverse infinite; z-index: -1; }
@keyframes twinkle { 0%,100% { opacity:0.2; } 50% { opacity:0.4; } }
.star-layer { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(1px 1px at 20px 30px, rgba(255,255,255,0.5), transparent), radial-gradient(1px 1px at 40px 70px, rgba(255,255,255,0.4), transparent); animation: twinkle 10s infinite alternate; z-index: -1; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ====== 容器布局（关键！确保内容居中）====== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* ====== Logo区域 ====== */
.logo-container { text-align: center; margin-bottom: 30px; padding: 15px; background: rgba(255, 255, 255, 0.08); backdrop-filter: blur(15px); border-radius: 25px; border: 1px solid rgba(255, 255, 255, 0.2); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2); position: relative; width: 70%; margin-left: auto; margin-right: auto; }
.logo-img { width: 320px; height: 130px; margin: 0 auto 10px; border-radius: 65px; border: 2px solid rgba(255, 255, 255, 0.3); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); background: rgba(255, 255, 255, 0.05); display: flex; align-items: center; justify-content: center; position: relative; z-index: 2; animation: float 6s ease-in-out infinite; }
.logo-img img { max-width: 280px; max-height: 100px; border-radius: 50px; transition: all 0.5s ease; }
.logo-text { font-size: 32px; font-weight: 300; letter-spacing: 3px; background: linear-gradient(90deg, #FFD700, #DDA0DD, #87CEEB); -webkit-background-clip: text; -webkit-text-fill-color: transparent; text-shadow: 0 3px 15px rgba(0,0,0,0.4); position: relative; z-index: 2; }
.logo-subtitle { font-size: 13px; opacity: 0.9; margin-top: 5px; letter-spacing: 1.5px; position: relative; z-index: 2; }

/* ====== 服务卡片网格 ====== */
.dashboard { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin-bottom: 30px; }
.node-card { background: rgba(255, 255, 255, 0.08); backdrop-filter: blur(15px); border-radius: 20px; padding: 20px; border: 1px solid rgba(255, 255, 255, 0.15); border-top: 3px solid var(--card-border-color); transition: all 0.3s ease; position: relative; min-height: 380px; display: flex; flex-direction: column; justify-content: space-between; }
.node-card:hover { transform: translateY(-5px); background: rgba(255, 255, 255, 0.12); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3); }
.node-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.node-title { font-size: 20px; font-weight: 500; display: flex; align-items: center; gap: 8px; color: var(--card-text-color); }
.node-icon { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; background: var(--card-icon-bg); color: white; }
.node-status { padding: 5px 12px; border-radius: 18px; font-size: 13px; font-weight: 500; background: rgba(var(--card-status-rgb), 0.2); color: var(--card-status-color); }
.node-description { font-size: 13px; opacity: 0.9; line-height: 1.5; margin-bottom: 20px; color: rgba(255,255,255,0.85); }
.node-metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.metric { text-align: center; padding: 20px 10px; background: rgba(255, 255, 255, 0.05); border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.1); color: #FFD700; font-size: 14px; width: 100%; height: 80px; display: flex; align-items: center; justify-content: center; }
.price-tag { font-weight: 700; font-size: 16px; color: #FFD700; }
.btn-group { display: flex; gap: 8px; margin-top: 15px; height: 50px; align-items: center; }
.btn-main { flex: 1; background: linear-gradient(135deg, #9370DB, #6A5ACD); color: white; border: none; padding: 12px 18px; border-radius: 12px; cursor: pointer; font-weight: 600; transition: all 0.3s; font-size: 15px; box-shadow: 0 8px 25px rgba(106, 90, 205, 0.4); }
.btn-main:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(106, 90, 205, 0.6); }
.btn-main:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-secondary { width: 90px; background: rgba(255, 255, 255, 0.12); color: white; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 12px; cursor: pointer; font-size: 13px; transition: all 0.3s; }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.2); transform: translateY(-3px); }

/* ====== 快捷操作面板 ====== */
.summary-panel { background: linear-gradient(135deg, rgba(106, 90, 205, 0.3), rgba(147, 112, 219, 0.3)); border-radius: 25px; padding: 25px; margin-bottom: 30px; text-align: center; border: 1px solid rgba(255, 255, 255, 0.25); position: relative; width: 70%; margin-left: auto; margin-right: auto; }
.total-income { font-size: 28px; font-weight: 700; margin: 12px 0; background: linear-gradient(90deg, #FFD700, #FF8E53); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.income-label { font-size: 16px; opacity: 0.9; letter-spacing: 1.2px; }
.control-panel { display: flex; gap: 15px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }
.btn { padding: 12px 25px; border: none; border-radius: 12px; font-size: 15px; font-weight: 500; cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; gap: 8px; min-width: 150px; justify-content: center; }
.btn-primary { background: linear-gradient(135deg, #6A5ACD, #9370DB); color: white; box-shadow: 0 8px 25px rgba(106, 90, 205, 0.4); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(106, 90, 205, 0.6); }

/* ====== 页脚 ====== */
.footer { text-align: center; margin-top: 40px; padding-top: 25px; border-top: 1px solid rgba(255, 255, 255, 0.15); font-size: 14px; opacity: 0.8; }
.footer-links { display: flex; justify-content: center; gap: 20px; margin-top: 15px; }
.footer-link { color: #DDA0DD; text-decoration: none; font-size: 13px; opacity: 0.9; transition: opacity 0.3s; }
.footer-link:hover { opacity: 1; text-decoration: underline; }

/* ====== 新增：定价概览卡片 ====== */
.pricing-overview {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 20px 30px;
    margin: 20px 0 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}
.price-item {
    text-align: center;
}
.price-label {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 5px;
}
.price-value {
    font-size: 24px;
    font-weight: 700;
    color: #FFD700;
}
.price-note {
    font-size: 12px;
    opacity: 0.6;
}

/* ====== 底部二维码区域 ====== */
.footer-qrcode {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
    flex-wrap: wrap;
}
.qrcode-img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* ====== 聚合页卡片样式 ====== */
.agg-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}
.agg-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
}
.agg-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #DDA0DD;
}
.agg-data {
    font-family: monospace;
    background: rgba(0,0,0,0.2);
    padding: 12px;
    border-radius: 12px;
    margin: 10px 0;
    font-size: 14px;
}
.agg-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin-top: 10px;
}
.agg-badge {
    background: rgba(255,215,0,0.2);
    color: #FFD700;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
}

/* ====== 定价表格 ====== */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    overflow: hidden;
    margin: 30px 0;
}
.pricing-table th {
    background: rgba(106,90,205,0.3);
    padding: 15px;
    font-weight: 600;
    color: #FFD700;
}
.pricing-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}
.pricing-table tr:last-child td {
    border-bottom: none;
}
.highlight {
    background: rgba(255,215,0,0.1);
    font-weight: 600;
    color: #FFD700;
}

/* 响应式 */
@media (max-width: 992px) {
    .dashboard { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) { 
    .dashboard { grid-template-columns: 1fr; } 
    .btn-group { flex-direction: column; } 
    .btn-secondary { width: 100%; } 
    .control-panel { flex-direction: column; align-items: center; } 
    .btn { width: 100%; }
    .modal-box { width: 95%; padding: 24px 20px; }
}