/* ===== 寒风终端 - 商务科技风 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; color: #333; line-height: 1.6; background: #fff; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== 顶部栏 ===== */
.top-bar { background: #0a1a3a; color: #a8b3cc; font-size: 13px; padding: 8px 0; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-right a { color: #a8b3cc; margin-left: 18px; }
.top-right a:hover { color: #fff; }

/* ===== 导航 ===== */
.nav-wrap { background: #fff; box-shadow: 0 2px 12px rgba(10,26,58,0.08); position: sticky; top: 0; z-index: 100; }
.nav-wrap .container { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { width: 38px; height: 38px; background: linear-gradient(135deg, #0a6efc, #00c2ff); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; }
.logo-text { font-size: 22px; font-weight: 700; color: #0a1a3a; }
.main-nav { display: flex; gap: 8px; }
.main-nav a { padding: 8px 16px; color: #444; font-size: 15px; border-radius: 6px; transition: all .2s; }
.main-nav a:hover, .main-nav a.active { color: #0a6efc; background: #eef5ff; }
.main-nav .nav-pay { background: linear-gradient(135deg, #0a6efc, #00c2ff); color: #fff !important; }
.main-nav .nav-pay:hover { background: linear-gradient(135deg, #0858d4, #00a8e0); color: #fff; }
.nav-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: #0a1a3a; }

/* ===== Hero Banner ===== */
.hero { background: linear-gradient(135deg, #0a1a3a 0%, #0d2b5e 50%, #0a3d8f 100%); color: #fff; padding: 90px 0; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -50%; right: -10%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(0,194,255,0.15), transparent 70%); border-radius: 50%; }
.hero .container { position: relative; z-index: 1; }
.hero h1 { font-size: 48px; font-weight: 800; margin-bottom: 20px; line-height: 1.2; }
.hero h1 .gradient-text { background: linear-gradient(90deg, #00c2ff, #5ee0ff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 18px; color: #a8b3cc; margin-bottom: 35px; max-width: 600px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 12px 28px; border-radius: 8px; font-size: 15px; font-weight: 500; border: none; cursor: pointer; transition: all .2s; }
.btn-primary { background: linear-gradient(135deg, #0a6efc, #00c2ff); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(10,110,252,0.4); }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.4); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-dark { background: #0a1a3a; color: #fff; }
.btn-dark:hover { background: #1a2a5a; }

/* ===== 通用区块 ===== */
.section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 34px; color: #0a1a3a; margin-bottom: 12px; }
.section-title p { color: #666; font-size: 16px; }

/* ===== 统计数据 ===== */
.stats-bar { background: #f7faff; padding: 50px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-item .num { font-size: 42px; font-weight: 800; color: #0a6efc; }
.stat-item .label { color: #666; margin-top: 6px; }

/* ===== 服务卡片 ===== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.service-card { background: #fff; border: 1px solid #eaf0fa; border-radius: 12px; padding: 35px 28px; transition: all .3s; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 15px 40px rgba(10,110,252,0.12); border-color: #0a6efc; }
.service-icon { width: 60px; height: 60px; border-radius: 14px; background: linear-gradient(135deg, #eef5ff, #dceaff); display: flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 20px; overflow: hidden; }
.service-icon img { width: 42px; height: 42px; display: block; }
.service-card h3 { font-size: 20px; color: #0a1a3a; margin-bottom: 10px; }
.service-card p { color: #666; font-size: 14px; line-height: 1.7; }

/* ===== 关于我们 ===== */
.about-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-img { background: linear-gradient(135deg, #eef5ff, #dceaff); border-radius: 16px; height: 360px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-text h2 { font-size: 32px; color: #0a1a3a; margin-bottom: 18px; }
.about-text p { color: #555; margin-bottom: 16px; line-height: 1.8; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 25px; }
.about-feature { padding: 14px; background: #f7faff; border-radius: 8px; font-size: 14px; color: #0a1a3a; }
.about-feature strong { display: block; color: #0a6efc; font-size: 16px; margin-bottom: 4px; }

/* ===== 新闻 ===== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.news-card { background: #fff; border: 1px solid #eaf0fa; border-radius: 12px; overflow: hidden; transition: all .3s; }
.news-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.08); }
.news-img { height: 180px; background: linear-gradient(135deg, #0a6efc, #00c2ff); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.news-img img { width: 100%; height: 100%; object-fit: cover; }
.news-body { padding: 22px; }
.news-body h3 { font-size: 17px; color: #0a1a3a; margin-bottom: 10px; line-height: 1.4; }
.news-body p { color: #777; font-size: 13px; line-height: 1.6; }
.news-date { color: #999; font-size: 12px; margin-top: 12px; }

/* ===== 联系 ===== */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info { background: linear-gradient(135deg, #0a1a3a, #0a3d8f); color: #fff; padding: 40px; border-radius: 12px; }
.contact-info h3 { font-size: 24px; margin-bottom: 25px; }
.contact-info p { margin-bottom: 18px; font-size: 15px; opacity: .9; }
.contact-info strong { color: #00c2ff; }
.contact-form { background: #fff; padding: 30px; border: 1px solid #eaf0fa; border-radius: 12px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 6px; color: #333; font-size: 14px; font-weight: 500; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 11px 14px; border: 1px solid #d0d9e8; border-radius: 8px; font-size: 14px; transition: border .2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: #0a6efc; box-shadow: 0 0 0 3px rgba(10,110,252,0.1); }

/* ===== CTA ===== */
.cta { background: linear-gradient(135deg, #0a6efc, #00c2ff); color: #fff; text-align: center; padding: 70px 0; }
.cta h2 { font-size: 32px; margin-bottom: 14px; }
.cta p { opacity: .9; margin-bottom: 28px; }

/* ===== 页脚 ===== */
.site-footer { background: #06122b; color: #a8b3cc; padding: 55px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; }
.footer-col h4 { color: #fff; margin-bottom: 18px; font-size: 16px; }
.footer-col p { font-size: 13px; line-height: 1.8; margin-bottom: 8px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: #a8b3cc; font-size: 13px; }
.footer-col ul li a:hover { color: #00c2ff; }
.footer-bottom { border-top: 1px solid #1a2a4a; margin-top: 40px; padding: 20px 0; text-align: center; font-size: 13px; }

/* ===== 返回顶部 ===== */
.back-top { display: none; position: fixed; bottom: 30px; right: 30px; width: 46px; height: 46px; border-radius: 50%; background: #0a6efc; color: #fff; border: none; font-size: 20px; cursor: pointer; z-index: 99; box-shadow: 0 4px 14px rgba(10,110,252,0.4); }

/* ===== 面包屑 ===== */
.breadcrumb { background: #f7faff; padding: 16px 0; font-size: 14px; color: #666; }
.breadcrumb a { color: #0a6efc; }

/* ===== 登录/注册 ===== */
.auth-wrap { min-height: calc(100vh - 200px); display: flex; align-items: center; justify-content: center; padding: 40px 20px; background: #f7faff; }
.auth-card { background: #fff; padding: 40px; border-radius: 14px; box-shadow: 0 10px 40px rgba(10,26,58,0.08); width: 100%; max-width: 420px; }
.auth-card h2 { text-align: center; color: #0a1a3a; margin-bottom: 28px; }
.auth-card .btn { width: 100%; }
.auth-links { text-align: center; margin-top: 18px; font-size: 14px; color: #666; }
.auth-links a { color: #0a6efc; }

/* ===== 支付页 ===== */
.pay-wrap { max-width: 700px; margin: 0 auto; }
.pay-card { background: #fff; padding: 30px; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.pay-search { display: flex; gap: 10px; margin-bottom: 25px; }
.pay-search input { flex: 1; padding: 12px 16px; border: 1px solid #d0d9e8; border-radius: 8px; font-size: 15px; }
.pay-methods { margin-top: 20px; }
.pay-method-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 16px 0; }
.pay-method-item { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 8px; border: 2px solid #eaf0fa; border-radius: 10px; cursor: pointer; transition: all .2s; }
.pay-method-item:hover { border-color: #0a6efc; }
.pay-method-item input { display: none; }
.pay-method-item input:checked + .pay-method-icon { border-color: #0a6efc; }
.pay-method-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; font-weight: bold; border: 2px solid transparent; }

/* ===== 微信扫码页 ===== */
.wechat-pay-wrap { max-width: 460px; margin: 0 auto; }
.wechat-pay-card { background: #fff; border-radius: 12px; box-shadow: 0 6px 30px rgba(0,0,0,0.08); padding: 35px 28px; text-align: center; }
.wechat-pay-card h2 { color: #0a1a3a; font-size: 22px; margin-bottom: 18px; }
.wechat-amount { background: #f7faff; border-radius: 8px; padding: 16px; margin-bottom: 22px; }
.wechat-amount span { display: block; color: #888; font-size: 13px; }
.wechat-amount strong { color: #e74c3c; font-size: 32px; }
.wechat-qrcode { display: inline-block; padding: 14px; border: 1px solid #eee; border-radius: 8px; }
.wechat-pay-status { padding: 12px; margin: 18px 0; color: #e67e22; background: #fef5ee; border-radius: 6px; }

/* ===== 后台 ===== */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar { width: 220px; background: #0a1a3a; color: #a8b3cc; padding: 20px 0; position: fixed; height: 100vh; overflow-y: auto; }
.admin-sidebar h3 { color: #fff; padding: 0 20px 20px; font-size: 18px; border-bottom: 1px solid #1a2a4a; margin-bottom: 10px; }
.admin-sidebar a { display: flex; align-items: center; gap: 10px; padding: 12px 20px; color: #a8b3cc; font-size: 14px; transition: all .2s; }
.admin-sidebar a:hover, .admin-sidebar a.active { background: #0a6efc; color: #fff; }
.admin-main { margin-left: 220px; padding: 25px; background: #f7faff; flex: 1; }
.admin-main h2 { color: #0a1a3a; margin-bottom: 20px; }

/* 统计卡片 */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 25px; }
.stat-card { background: #fff; padding: 22px; border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.stat-card .num { font-size: 30px; font-weight: 700; color: #0a6efc; }
.stat-card .label { color: #888; font-size: 13px; margin-top: 4px; }

/* 表格 */
.table-wrap { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.04); overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px 15px; text-align: left; border-bottom: 1px solid #eef2f7; font-size: 14px; }
th { background: #f7faff; color: #555; font-weight: 600; }
tr:hover { background: #f7faff; }
.badge { padding: 3px 10px; border-radius: 12px; font-size: 12px; color: #fff; }

/* 按钮 */
.btn-mini { padding: 5px 12px; font-size: 13px; background: #0a6efc; color: #fff; border-radius: 5px; border: none; cursor: pointer; }
.btn-mini:hover { background: #0858d4; }
.btn-danger { background: #e74c3c; }
.btn-danger:hover { background: #c0392b; }
.btn-link { background: #16a085; color: #fff; }
.btn-link:hover { background: #0e6655; }

/* 提示框 */
.alert { padding: 12px 18px; border-radius: 8px; margin-bottom: 16px; font-size: 14px; }
.alert-success { background: #d4edda; color: #155724; }
.alert-error { background: #f8d7da; color: #721c24; }
.alert-info { background: #d1ecf1; color: #0c5460; }

/* ===== 响应式 ===== */
@media (max-width: 992px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .about-wrap, .contact-wrap { grid-template-columns: 1fr; }
    .services-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .admin-sidebar { width: 180px; }
    .admin-main { margin-left: 180px; }
}
@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .main-nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 10px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
    .main-nav.open { display: flex; }
    .main-nav a { padding: 12px 16px; }
    .hero { padding: 60px 0; }
    .hero h1 { font-size: 32px; }
    .hero p { font-size: 15px; }
    .section { padding: 50px 0; }
    .section-title h2 { font-size: 26px; }
    .services-grid, .news-grid { grid-template-columns: 1fr; }
    .stats-grid, .stats { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .top-bar .container { flex-direction: column; gap: 6px; text-align: center; }
    .admin-layout { flex-direction: column; }
    .admin-sidebar { position: static; width: 100%; height: auto; display: flex; flex-wrap: wrap; padding: 10px; }
    .admin-sidebar h3 { display: none; }
    .admin-sidebar a { flex: 1; min-width: 80px; justify-content: center; padding: 8px; }
    .admin-main { margin-left: 0; }
    .pay-method-list { grid-template-columns: 1fr 1fr; }
}
