/* ============================================================
   图标助手官网 · 蓝白主题
   卡片圆角 4-6dp · 阴影 4dp
   ============================================================ */
*{margin:0;padding:0;box-sizing:border-box}
:root{
    --blue:#1F6FEB;
    --blue-600:#1450D8;
    --blue-400:#5C9BFF;
    --blue-50:#EAF2FF;
    --blue-100:#D6E6FF;
    --text:#16233A;
    --text-2:#5A6B85;
    --line:#E6EDF7;
    --bg:#F5F9FF;
    --white:#fff;
    --r:6px;
    --r-sm:4px;
    --shadow:0 4px 8px rgba(24,80,180,.10);
    --shadow-lg:0 4px 16px rgba(24,80,180,.18);
    --t:.25s cubic-bezier(.4,0,.2,1);
}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
    color:var(--text);background:var(--white);line-height:1.7;-webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit;color:inherit}
svg{flex:0 0 auto}
.container{width:100%;max-width:1140px;margin:0 auto;padding:0 20px}

/* ================= 按钮 ================= */
.btn{
    display:inline-flex;align-items:center;justify-content:center;gap:7px;
    height:40px;padding:0 18px;border:1px solid transparent;border-radius:var(--r);
    background:var(--blue);color:#fff;font-size:14px;font-weight:600;cursor:pointer;
    transition:background var(--t),transform .12s ease,box-shadow var(--t);
    white-space:nowrap;
}
.btn svg{width:16px;height:16px}
.btn:hover{background:var(--blue-600);box-shadow:0 4px 12px rgba(31,111,235,.30)}
.btn:active{transform:scale(.97)}
.btn.ghost{background:#fff;color:var(--blue);border-color:var(--blue-100)}
.btn.ghost:hover{background:var(--blue-50);box-shadow:none}
.btn.light{background:#fff;color:var(--blue)}
.btn.light:hover{background:#F0F6FF;box-shadow:0 4px 14px rgba(0,0,0,.16)}
.btn.danger{background:#fff;color:#E5484D;border-color:#FFD9DA}
.btn.danger:hover{background:#FFF1F1;box-shadow:none}
.btn.sm{height:34px;padding:0 13px;font-size:13px}
.btn.lg{height:48px;padding:0 26px;font-size:15px;border-radius:var(--r)}
.btn.disabled,.btn:disabled{background:#C8D6EA;color:#fff;cursor:not-allowed;box-shadow:none;transform:none}
.btn.light.disabled{background:rgba(255,255,255,.6);color:#8FA3C0}

/* ================= 加载动画 ================= */
.spinner{
    width:15px;height:15px;border-radius:50%;
    border:2px solid rgba(255,255,255,.45);border-top-color:#fff;
    animation:spin .7s linear infinite;display:none;
}
.btn.ghost .spinner,.btn.danger .spinner{border-color:rgba(31,111,235,.25);border-top-color:var(--blue)}
.btn.light .spinner{border-color:rgba(31,111,235,.25);border-top-color:var(--blue)}
.btn.is-loading .spinner{display:inline-block}
.btn.is-loading .btn-label{opacity:.85}
@keyframes spin{to{transform:rotate(360deg)}}
@keyframes fadeUp{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes floatY{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}

/* ================= 顶栏 ================= */
.site-header{
    position:sticky;top:0;z-index:60;background:rgba(255,255,255,.94);
    -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
    border-bottom:1px solid var(--line);transition:box-shadow var(--t);
}
.site-header.scrolled{box-shadow:var(--shadow)}
.header-inner{display:flex;align-items:center;gap:20px;height:64px}
.brand{display:flex;align-items:center;gap:10px;font-weight:700;font-size:18px;flex:0 0 auto}
.brand svg,.brand img{width:34px;height:34px;border-radius:9px}
.brand-name{white-space:nowrap}
.site-nav{display:flex;align-items:center;gap:4px;flex:1 1 auto;overflow-x:auto;scrollbar-width:none}
.site-nav::-webkit-scrollbar{display:none}
.site-nav a{
    padding:7px 12px;border-radius:var(--r-sm);font-size:14px;color:var(--text-2);
    white-space:nowrap;transition:background var(--t),color var(--t);
}
.site-nav a:hover{background:var(--blue-50);color:var(--blue)}
.header-actions{flex:0 0 auto;margin-left:auto}

/* ================= Hero ================= */
.hero{
    position:relative;overflow:hidden;
    background:linear-gradient(180deg,#EAF2FF 0%,#F7FBFF 62%,#FFF 100%);
}
.hero::before{
    content:"";position:absolute;top:-180px;right:-140px;width:520px;height:520px;border-radius:50%;
    background:radial-gradient(circle,rgba(31,111,235,.16),rgba(31,111,235,0) 68%);
    pointer-events:none;
}
.hero-inner{
    display:grid;grid-template-columns:1fr 400px;align-items:center;gap:40px;
    padding-top:64px;padding-bottom:64px;position:relative;
}
.hero-text{animation:fadeUp .6s both}
.hero-badge{
    display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 12px;
    border-radius:999px;background:#fff;color:var(--blue);font-size:12.5px;font-weight:600;
    box-shadow:var(--shadow);margin-bottom:18px;
}
.hero-badge svg{width:14px;height:14px}
.hero-title{
    font-size:clamp(32px,5vw,50px);line-height:1.15;font-weight:800;letter-spacing:-.5px;
    background:linear-gradient(110deg,#16233A 25%,#1F6FEB 100%);
    -webkit-background-clip:text;background-clip:text;color:transparent;
}
.hero-sub{margin-top:14px;font-size:clamp(15px,1.8vw,18px);color:var(--text-2);max-width:520px}
.hero-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}
.meta-item{
    display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;
    background:#fff;border-radius:var(--r-sm);font-size:13px;color:var(--text-2);
    box-shadow:var(--shadow);
}
.meta-item svg{width:15px;height:15px;color:var(--blue)}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.hero-note{margin-top:16px;font-size:12.5px;color:#8B9AB3}

/* Hero 右侧图标 */
.hero-visual{position:relative;display:flex;justify-content:center;align-items:center;min-height:300px}
.hero-glow{
    position:absolute;width:280px;height:280px;border-radius:50%;
    background:radial-gradient(circle,rgba(31,111,235,.28),rgba(31,111,235,0) 70%);
    filter:blur(6px);
}
.hero-icon-card{
    position:relative;width:190px;height:190px;border-radius:40px;overflow:hidden;
    box-shadow:0 16px 40px rgba(20,80,216,.28);
    animation:floatY 5s ease-in-out infinite;
    background:#fff;
}
.hero-icon-card img{width:100%;height:100%;object-fit:cover}
.hero-icon-card svg{width:100%;height:100%}
.hero-float{
    position:absolute;display:inline-flex;align-items:center;gap:6px;
    height:34px;padding:0 13px;border-radius:999px;background:#fff;
    font-size:12.5px;font-weight:600;color:var(--text);
    box-shadow:0 4px 14px rgba(24,80,180,.16);white-space:nowrap;
}
.hero-float svg{width:15px;height:15px;color:var(--blue)}
.float-a{top:16px;left:-4px;animation:floatY 4.2s ease-in-out infinite}
.float-b{bottom:24px;right:-6px;animation:floatY 4.8s ease-in-out .6s infinite}

/* ================= 通用区块 ================= */
.section{padding:68px 0}
.section-alt{background:var(--bg)}
.section-head{text-align:center;margin-bottom:34px}
.section-head h2{font-size:clamp(22px,3vw,30px);font-weight:800;letter-spacing:-.3px}
.section-head h2::after{
    content:"";display:block;width:44px;height:4px;border-radius:2px;margin:14px auto 0;
    background:linear-gradient(90deg,var(--blue),var(--blue-400));
}
.section-sub{margin-top:12px;color:var(--text-2);font-size:15px}

/* ================= 轮播 ================= */
.carousel{
    position:relative;border-radius:var(--r);overflow:hidden;
    box-shadow:var(--shadow-lg);background:#0E2E6B;
}
.carousel-track{display:flex;will-change:transform}
.carousel-slide{flex:0 0 100%;min-width:100%;position:relative}
.carousel-slide img{width:100%;aspect-ratio:16/8;object-fit:cover;min-height:200px;background:#0E2E6B}
.slide-placeholder{
    width:100%;aspect-ratio:16/8;min-height:200px;position:relative;
    background:linear-gradient(120deg,#1F6FEB,#63A4FF);
}
.slide-caption{
    position:absolute;left:0;right:0;bottom:0;padding:32px 34px;
    background:linear-gradient(to top,rgba(6,24,58,.78),rgba(6,24,58,0));
    color:#fff;pointer-events:none;
}
.slide-caption h3{font-size:clamp(16px,2.4vw,24px);font-weight:700;line-height:1.35}
.slide-caption p{margin-top:5px;font-size:14px;opacity:.92}
.carousel-arrow{
    position:absolute;top:50%;transform:translateY(-50%);
    width:42px;height:42px;border-radius:50%;border:none;
    background:rgba(255,255,255,.9);color:var(--blue);
    display:grid;place-items:center;cursor:pointer;opacity:0;
    box-shadow:0 4px 12px rgba(10,40,90,.22);
    transition:opacity var(--t),background var(--t),transform var(--t);
}
.carousel:hover .carousel-arrow{opacity:1}
.carousel-arrow:hover{background:#fff;transform:translateY(-50%) scale(1.08)}
.carousel-arrow svg{width:18px;height:18px}
.carousel-arrow.prev{left:16px}
.carousel-arrow.next{right:16px}
.carousel-dots{position:absolute;left:0;right:0;bottom:16px;display:flex;justify-content:center;gap:8px}
.carousel-dot{
    width:8px;height:8px;padding:0;border:none;border-radius:999px;
    background:rgba(255,255,255,.55);cursor:pointer;
    transition:width var(--t),background var(--t);
}
.carousel-dot.active{width:22px;background:#fff}

/* ================= 功能亮点 ================= */
.feature-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px}
.feature-card{
    background:#fff;border-radius:var(--r);padding:26px 22px;
    box-shadow:var(--shadow);border:1px solid rgba(230,237,247,.9);
    transition:transform var(--t),box-shadow var(--t);
}
.feature-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}
.feature-ico{
    width:48px;height:48px;border-radius:12px;background:var(--blue-50);color:var(--blue);
    display:grid;place-items:center;margin-bottom:16px;
    transition:background var(--t),color var(--t);
}
.feature-card:hover .feature-ico{background:var(--blue);color:#fff}
.feature-ico svg{width:24px;height:24px}
.feature-card h3{font-size:16px;font-weight:700;margin-bottom:8px}
.feature-card p{font-size:13.5px;color:var(--text-2);line-height:1.75}

/* ================= 软件介绍 ================= */
.intro-card{
    max-width:860px;margin:0 auto;background:#fff;border-radius:var(--r);
    padding:36px 38px;box-shadow:var(--shadow);border:1px solid rgba(230,237,247,.9);
}
.intro-card > p{
    font-size:15px;color:#33425C;line-height:1.95;margin-bottom:16px;
}
.intro-card > p:last-of-type{margin-bottom:0}
.intro-specs{
    display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;
    margin-top:30px;padding-top:26px;border-top:1px dashed var(--line);
}
.spec{
    display:flex;flex-direction:column;gap:3px;
    background:var(--bg);border-radius:var(--r-sm);padding:12px 14px;
}
.spec span{font-size:12px;color:var(--text-2)}
.spec strong{font-size:14px;font-weight:700;color:var(--text);word-break:break-all}

/* ================= 更新日志时间轴 ================= */
.timeline{max-width:800px;margin:0 auto;position:relative;padding-left:26px}
.timeline::before{
    content:"";position:absolute;left:6px;top:8px;bottom:8px;width:2px;
    background:linear-gradient(180deg,var(--blue),var(--blue-100));
    border-radius:2px;
}
.timeline-item{position:relative;margin-bottom:18px;animation:fadeUp .5s both}
.timeline-item:last-child{margin-bottom:0}
.timeline-dot{
    position:absolute;left:-26px;top:18px;width:14px;height:14px;border-radius:50%;
    background:#fff;border:3px solid var(--blue);box-shadow:0 0 0 4px rgba(31,111,235,.12);
}
.timeline-card{
    background:#fff;border-radius:var(--r);padding:18px 22px;
    box-shadow:var(--shadow);border:1px solid rgba(230,237,247,.9);
    transition:transform var(--t),box-shadow var(--t);
}
.timeline-card:hover{transform:translateX(3px);box-shadow:var(--shadow-lg)}
.timeline-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:10px}
.version-tag{
    display:inline-flex;align-items:center;height:24px;padding:0 10px;border-radius:var(--r-sm);
    background:var(--blue);color:#fff;font-size:12.5px;font-weight:700;letter-spacing:.3px;
}
.timeline-date{font-size:12.5px;color:var(--text-2)}
.timeline-card > p{font-size:13.5px;color:#43536E;line-height:1.85}

/* ================= 下载 CTA ================= */
.cta-card{
    display:flex;align-items:center;justify-content:space-between;gap:26px;flex-wrap:wrap;
    padding:40px 42px;border-radius:var(--r);
    background:linear-gradient(120deg,#1F6FEB,#3B87FF 55%,#5C9BFF);
    box-shadow:0 12px 32px rgba(31,111,235,.28);color:#fff;
}
.cta-text h2{font-size:clamp(20px,2.8vw,27px);font-weight:800;letter-spacing:-.3px}
.cta-text p{margin-top:8px;font-size:14px;opacity:.92}
.cta-action{flex:0 0 auto}

/* ================= 页脚 ================= */
.site-footer{border-top:1px solid var(--line);background:var(--bg);padding:34px 0}
.footer-inner{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center}
.footer-brand{display:flex;align-items:center;gap:8px;font-weight:700;font-size:15px}
.footer-brand svg,.footer-brand img{width:26px;height:26px;border-radius:7px}
.footer-text{font-size:13px;color:var(--text-2)}
.footer-icp{font-size:12.5px;color:var(--text-2)}
.footer-icp a{color:var(--text-2)}
.footer-icp a:hover{color:var(--blue)}

/* ================= 后台布局 ================= */
.admin-body{background:var(--bg)}
.admin-shell{min-height:100vh;display:flex;flex-direction:column}
.admin-top{
    background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:50;
    box-shadow:0 1px 0 rgba(230,237,247,.9);
}
.admin-top-inner{display:flex;align-items:center;gap:14px;height:60px;min-height:60px}
.admin-logo{display:flex;align-items:center;gap:8px;font-weight:700;font-size:15px;flex:0 0 auto}
.admin-logo svg,.admin-logo img{width:28px;height:28px;border-radius:8px}
.admin-nav{display:flex;gap:4px;overflow-x:auto;flex:1 1 auto;scrollbar-width:none}
.admin-nav::-webkit-scrollbar{display:none}
.admin-nav a{
    display:flex;align-items:center;gap:6px;height:36px;padding:0 12px;
    border-radius:var(--r);font-size:14px;color:var(--text-2);white-space:nowrap;
    transition:background var(--t),color var(--t);
}
.admin-nav a svg{width:16px;height:16px}
.admin-nav a:hover{background:var(--blue-50);color:var(--blue)}
.admin-nav a.active{background:var(--blue);color:#fff}
.admin-user{display:flex;align-items:center;gap:10px;flex:0 0 auto}
.admin-user-name{font-size:13px;color:var(--text-2);max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.admin-main{flex:1 1 auto;padding:22px 0 48px}

/* ================= 统计卡 ================= */
.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;margin-bottom:20px}
.stat{
    background:#fff;border-radius:var(--r);padding:18px;box-shadow:var(--shadow);
    display:flex;align-items:center;gap:14px;
    transition:transform var(--t),box-shadow var(--t);animation:fadeUp .45s both;
}
.stat:hover{transform:translateY(-2px);box-shadow:var(--shadow-lg)}
.stat-ico{
    width:44px;height:44px;border-radius:12px;background:var(--blue-50);
    color:var(--blue);display:grid;place-items:center;flex:0 0 auto;
}
.stat-ico svg{width:22px;height:22px}
.stat-num{font-size:22px;font-weight:700;line-height:1.25}
.stat-label{font-size:12.5px;color:var(--text-2)}

/* ================= 面板 ================= */
.panel{
    background:#fff;border-radius:var(--r);box-shadow:var(--shadow);
    border:1px solid rgba(230,237,247,.9);overflow:hidden;margin-bottom:18px;
}
.panel-head{
    display:flex;align-items:center;justify-content:space-between;gap:12px;
    padding:14px 18px;border-bottom:1px solid var(--line);flex-wrap:wrap;
}
.panel-head h3{font-size:15px;font-weight:700}
.panel-head .actions{display:flex;gap:8px;flex-wrap:wrap}
.panel-body{padding:18px}
.panel-tip{font-size:12.5px;color:var(--text-2);padding:0 18px 14px}

/* ================= 表格 ================= */
.table-wrap{overflow-x:auto}
table.data{width:100%;border-collapse:collapse;font-size:14px;min-width:640px}
table.data th,table.data td{padding:11px 14px;text-align:left;border-bottom:1px solid var(--line);vertical-align:middle}
table.data th{font-size:12.5px;color:var(--text-2);font-weight:600;background:#FAFCFF;white-space:nowrap}
table.data tbody tr{transition:background .18s}
table.data tbody tr:hover{background:#F7FAFF}
table.data tbody tr:last-child td{border-bottom:none}
.cell-name{display:flex;align-items:center;gap:10px;font-weight:600;min-width:0}
.cell-name img.thumb{
    width:34px;height:34px;border-radius:8px;object-fit:cover;
    background:var(--blue-50);flex:0 0 auto;
}
.badge{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:999px;font-size:12px;background:var(--blue-50);color:var(--blue);font-weight:600}
.badge.gray{background:#EEF2F8;color:var(--text-2)}
.badge.green{background:#EAF8EF;color:#137A3E}
.row-actions{display:flex;gap:6px;flex-wrap:wrap}

/* ================= 表单 ================= */
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.form-grid .full{grid-column:1/-1}
.field label{display:block;font-size:13px;font-weight:600;margin-bottom:6px;color:#2A3A55}
.field .hint{font-size:12px;color:var(--text-2);margin-top:5px;line-height:1.55}
.input,textarea.input,select.input{
    width:100%;border:1px solid var(--line);background:#fff;border-radius:var(--r);
    padding:9px 12px;font-size:14px;outline:none;
    transition:border-color var(--t),box-shadow var(--t);
}
.input:focus,textarea.input:focus,select.input:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(31,111,235,.14)}
textarea.input{min-height:110px;resize:vertical;line-height:1.7}
.file-input{
    width:100%;border:1px dashed #C9D8EF;border-radius:var(--r);
    padding:10px;background:#FAFCFF;font-size:13px;cursor:pointer;
}
.file-input:hover{border-color:var(--blue)}
.switch{display:inline-flex;align-items:center;gap:8px;font-size:14px;cursor:pointer;user-select:none}
.switch input{width:16px;height:16px;accent-color:var(--blue);cursor:pointer}
.preview{
    width:76px;height:76px;border-radius:10px;background:var(--blue-50);
    display:grid;place-items:center;overflow:hidden;margin-top:8px;color:var(--blue);
}
.preview img{width:100%;height:100%;object-fit:cover}
.preview.wide{width:150px;height:64px}
.form-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}

/* ================= Flash ================= */
.flash{
    display:flex;align-items:center;gap:8px;padding:11px 14px;
    border-radius:var(--r);font-size:14px;margin-bottom:16px;animation:fadeUp .3s both;
}
.flash.success{background:#EAF8EF;color:#137A3E;border:1px solid #C6EBD5}
.flash.error{background:#FFF1F1;color:#C42A2E;border:1px solid #FFD7D8}

/* ================= 登录 ================= */
.login-wrap{
    min-height:100vh;display:grid;place-items:center;padding:24px;
    background:radial-gradient(1000px 520px at 50% -12%,#DCEAFF,#F5F9FF);
}
.login-card{
    width:100%;max-width:380px;background:#fff;border-radius:var(--r);
    box-shadow:0 4px 24px rgba(24,80,180,.14);padding:30px 26px;
    animation:fadeUp .45s both;
}
.login-head{display:flex;flex-direction:column;align-items:center;gap:10px;margin-bottom:22px;text-align:center}
.login-head svg,.login-head img{width:52px;height:52px;border-radius:14px}
.login-head h1{font-size:18px;font-weight:700}
.login-head p{font-size:13px;color:var(--text-2)}
.login-card .field{margin-bottom:14px}
.login-card .btn{width:100%;height:42px;margin-top:6px}
.login-error{
    background:#FFF1F1;color:#C42A2E;border:1px solid #FFD7D8;
    border-radius:var(--r);padding:9px 12px;font-size:13.5px;margin-bottom:14px;
}
.login-back{display:block;text-align:center;margin-top:16px;font-size:13px;color:var(--text-2)}
.login-back:hover{color:var(--blue)}

/* ================= 响应式 ================= */
@media (max-width:960px){
    .hero-inner{grid-template-columns:1fr;gap:32px;padding-top:44px;padding-bottom:48px;text-align:center}
    .hero-sub{margin-left:auto;margin-right:auto}
    .hero-meta,.hero-actions{justify-content:center}
    .hero-visual{min-height:250px;order:-1}
    .hero-icon-card{width:150px;height:150px;border-radius:34px}
    .hero-float{display:none}
    .site-nav{display:none}
}
@media (max-width:720px){
    .form-grid{grid-template-columns:1fr}
    .section{padding:48px 0}
    .header-inner{height:58px;gap:10px}
    .brand{font-size:16px}
    .brand svg,.brand img{width:30px;height:30px}
    .header-actions .btn span{display:none}
    .header-actions .btn{width:38px;padding:0}
    .admin-top-inner{height:auto;flex-wrap:wrap;padding:10px 0;gap:10px}
    .admin-nav{order:3;width:100%}
    .admin-user{margin-left:auto}
    .admin-user-name{display:none}
    .intro-card{padding:26px 20px}
    .cta-card{padding:30px 24px;flex-direction:column;text-align:center}
    .cta-action,.cta-action .btn{width:100%}
    .carousel-slide img,.slide-placeholder{aspect-ratio:16/10}
    .carousel-arrow{opacity:1;width:36px;height:36px}
    .carousel-arrow svg{width:16px;height:16px}
    .slide-caption{padding:20px 22px}
    .timeline{padding-left:20px}
    .timeline-dot{left:-20px}
}
@media (max-width:480px){
    .hero-title{font-size:30px}
    .hero-actions .btn{flex:1 1 100%}
    .meta-item{font-size:12px;height:30px}
    .feature-card{padding:22px 18px}
    .footer-inner{gap:8px}
}