@charset "utf-8";

   * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        body {
            background-color: #f9fafb;
            font-family: system-ui, -apple-system, sans-serif;
            /* 给手机底部导航预留间距 */
            padding-bottom: 75px;
        }

        /* 顶部导航 原样保留不变 */
        .header {
            background: #ffffff;
            box-shadow: 0 2px 6px rgba(0,0,0,0.06);
            padding: 15px 20px;
            position: sticky;
            top: 0;
            z-index: 99;
        }
        .header-box {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
            position: relative;
        }
        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
        }
.logo .img{height:60px;width:180px;}        
        .logo-icon {
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg,#667eea,#764ba2);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 20px;
            font-weight: bold;
        }
        .logo-text h2 {
            font-size: 18px;
            color: #222;
        }
        .logo-text p {
            font-size: 12px;
            color: #888;
        }
        .head-nav {
            display: flex;
            gap: 20px;
        }
        .head-nav a {
            color: #333;
            text-decoration: none;
            font-size: 14px;
        }
        .head-nav a:hover {
            color: #667eea;
        }
        .menu-btn {
            display: none;
            font-size: 24px;
            background: none;
            border: none;
            cursor: pointer;
            color: #333;
        }
        @media (max-width: 768px) {
            .head-nav {
                display: none;
                position: absolute;
                top: 70px;
                right: 0;
                background: #fff;
                width: 180px;
                flex-direction: column;
                box-shadow: 0 4px 10px rgba(0,0,0,0.1);
                border-radius: 8px;
                padding: 15px;
                gap: 12px;
            }
            .head-nav.show {
                display: flex;
            }
            .menu-btn {
                display: block;
            }
        }

        /* 主体内容 */
        .main {
            max-width: 1200px;
            margin: 0 auto;
            padding: 30px 16px;
        }
        .page-title {
            font-size: 24px;
            font-weight: bold;
            color: #1f2937;
            margin-bottom: 24px;
        }
        .nav-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 16px;
        }
        @media (min-width: 768px) {
            .nav-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .page-title {
                font-size: 28px;
            }
        }
        @media (min-width: 1024px) {
            .nav-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }
        .nav-card {
            display: flex;
            align-items: center;
            gap: 16px;
            background: #fff;
            border-radius: 16px;
            padding: 16px;
            box-shadow: 0 1px 2px rgba(0,0,0,0.05);
            transition: box-shadow 0.3s ease;
            text-decoration: none;
        }
        .nav-card:hover {
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        }
        .icon-box {
            width: 64px;
            height: 64px;
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }
        .icon-red { background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%); }
        .icon-purple { background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%); }
        .icon-green { background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%); }
        .icon-blue { background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%); }
        .icon-orange { background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%); }
        .icon-lightblue { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
        .icon-svg { width: 32px; height: 32px; fill: #fff; }
        .card-text h3 { font-size: 18px; font-weight: 600; color: #1f2937; margin-bottom: 4px; }
        .card-text p { font-size: 14px; color: #6b7280; }

        /* 底部版权 */
        .footer {
            background: #fff;
            padding: 30px 16px;
            margin-top: 40px;
            border-top: 1px solid #eee;
        }
        .footer-box {
            max-width: 1200px;
            margin: 0 auto;
            text-align: center;
        }
        .footer-txt { font-size: 14px; color: #666; line-height: 1.8; }
        .footer-txt a { color: #667eea; text-decoration: none; }
        .copyright { margin-top: 10px; font-size: 13px; color: #999; }

        /* ========== 手机端底部5个悬浮导航 仅手机显示 ========== */
        .phone-bottom-nav {
            display: none; /* 默认隐藏 */
            position: fixed;
            left: 0;
            bottom: 0;
            width: 100%;
            height: 65px;
            background: #fff;
            box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
            z-index: 100;
        }
        @media (max-width:768px){
            .phone-bottom-nav{
                display: flex;
            }
        }
        .bottom-item {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            color: #666;
            font-size: 12px;
        }
        .bottom-item svg {
            width: 24px;
            height: 24px;
            margin-bottom: 4px;
            fill: #667eea;
        }
        .bottom-item.active{
            color: #667eea;
        }