/* ===== 人才能力评估AI+ - 橙色现代风格 ===== */
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",Arial,sans-serif;background:#fff8ef;color:#172033;line-height:1.7}
a{text-decoration:none}

/* 顶部导航 */
.top{height:74px;background:#fff;border-bottom:1px solid #f0e2d2;box-shadow:0 2px 12px rgba(141,75,20,.06);position:sticky;top:0;z-index:100}
.top .container{max-width:1200px;margin:0 auto;padding:0 24px;height:74px;display:flex;align-items:center;justify-content:space-between}
.brand{display:flex;align-items:center;gap:10px;color:#d96b1c;font-weight:800;font-size:22px}
.brand:before{content:"才";display:inline-grid;place-items:center;width:38px;height:38px;border-radius:12px;background:linear-gradient(135deg,#e66f1a,#f59e0b);color:#fff;font-size:18px;font-weight:900}
.top nav a{margin-left:24px;color:#263247;font-size:15px;transition:color .2s}
.top nav a:hover{color:#d96b1c}
.top nav a.active{color:#d96b1c;font-weight:700}
.top .user-info{display:flex;align-items:center;gap:10px;background:#fff7ed;border:1px solid #fed7aa;color:#9a4b12;border-radius:999px;padding:7px 14px;font-size:14px}
.top .user-info .avatar{width:28px;height:28px;border-radius:50%;background:#e66f1a;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:14px}

/* 容器 */
.wrap{max-width:1200px;margin:0 auto;padding:32px 24px 60px}

/* 页面标题 */
.page-title{text-align:center;font-size:32px;font-weight:800;color:#172033;margin-bottom:8px}
.page-sub{text-align:center;color:#6b7280;font-size:15px;margin-bottom:32px}
.page-title-left{text-align:left;font-size:28px;font-weight:800;color:#172033;margin-bottom:6px}
.page-sub-left{text-align:left;color:#6b7280;font-size:15px;margin-bottom:28px}

/* 网格布局 */
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px;margin-bottom:32px}

/* 卡片 */
.card{background:#fff;border:1px solid #f0e2d2;border-radius:18px;padding:28px;box-shadow:0 8px 24px rgba(141,75,20,.07);margin-bottom:24px;transition:transform .2s,box-shadow .2s}
.card:hover{box-shadow:0 12px 32px rgba(141,75,20,.12)}
.card h1{font-size:26px;font-weight:800;color:#172033;margin-bottom:8px}
.card h2{font-size:22px;font-weight:700;color:#172033;margin-bottom:16px}
.card h3{font-size:20px;font-weight:700;color:#172033;margin-bottom:10px}
.card p{color:#475569;margin-bottom:10px}

/* 按钮 */
.btn{display:inline-block;border:0;border-radius:999px;background:#e66f1a;color:#fff;text-decoration:none;padding:11px 24px;font-weight:700;cursor:pointer;transition:background .2s,transform .2s}
.btn:hover{background:#d45d12;transform:translateY(-1px)}
.btn.secondary{background:#fff;color:#e66f1a;border:1.5px solid #fed7aa}
.btn.secondary:hover{background:#fff7ed;border-color:#fbbf24}
.btn.outline{background:transparent;color:#e66f1a;border:1.5px solid #e66f1a}
.btn.outline:hover{background:#fff7ed}
.btn.success{background:#16a34a}
.btn.success:hover{background:#15803d}
.btn.big{padding:14px 32px;font-size:16px}
.btn:disabled{background:#d1d5db;cursor:not-allowed;transform:none}

/* 表单 */
.form input,.form textarea,.form select{width:100%;padding:12px 16px;border:1.5px solid #f0e2d2;border-radius:12px;margin-bottom:14px;font-size:15px;background:#fffaf5;transition:border-color .2s,background .2s;color:#172033}
.form input:focus,.form textarea:focus,.form select:focus{outline:none;border-color:#fbbf24;background:#fff;box-shadow:0 0 0 3px rgba(251,191,36,.2)}
.form label{display:block;font-weight:600;color:#374151;margin-bottom:6px;font-size:14px}
.form textarea{min-height:80px;resize:vertical}

/* 表格 */
.table{width:100%;border-collapse:collapse;background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 4px 14px rgba(141,75,20,.06)}
.table th,.table td{padding:14px 16px;border-bottom:1px solid #f5ece0;text-align:left;font-size:14px}
.table th{background:#fff3e0;color:#9a4b12;font-weight:700;font-size:13px}
.table tr:hover td{background:#fffaf5}
.table tr:last-child td{border-bottom:none}

/* 徽章 */
.badge{display:inline-block;padding:5px 14px;border-radius:999px;font-weight:700;font-size:13px}
.badge-recommend{background:#d1fae5;color:#065f46}
.badge-caution{background:#fef3c7;color:#92400e}
.badge-not{background:#fee2e2;color:#991b1b}
.badge-info{background:#fff3e0;color:#9a4b12}

/* 标签 */
.tag{display:inline-block;padding:3px 10px;border-radius:6px;background:#fff3e0;color:#9a4b12;font-size:12px;font-weight:600}

/* 静默文字 */
.muted{color:#9ca3af;font-size:14px}

/* 问卷 */
.question{margin-bottom:24px}
.question h3{font-size:16px;font-weight:700;color:#172033;margin-bottom:12px}
.option{display:flex;align-items:center;gap:10px;padding:12px 16px;margin:8px 0;background:#fffaf5;border:1.5px solid #f0e2d2;border-radius:12px;cursor:pointer;transition:all .15s;font-size:15px;color:#334155}
.option:hover{background:#fff7ed;border-color:#fbbf24}
.option input{flex-shrink:0;margin:0;accent-color:#e66f1a;width:16px;height:16px}
.option span{flex:1;line-height:1.5}

/* 答题阶段分隔标题 */
.stage-header{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin:28px 0 14px;padding-bottom:8px;border-bottom:2px solid #fbbf24;}
.stage-header .stage-no{font-size:18px;font-weight:800;color:#9a4b12;}
.stage-header .stage-sub{font-size:13px;color:#9ca3af;}

/* 报告文本 */
.report{white-space:pre-wrap;line-height:2;font-size:15px;color:#334155;background:#fffaf5;padding:24px;border-radius:14px;border:1px solid #f0e2d2}

/* 统计卡片 */
.stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;margin-bottom:24px}
.stat-card{background:#fff;border:1px solid #f0e2d2;border-radius:14px;padding:20px;text-align:center;box-shadow:0 4px 14px rgba(141,75,20,.05)}
.stat-card .num{font-size:32px;font-weight:800;color:#e66f1a}
.stat-card .label{font-size:13px;color:#9ca3af;margin-top:4px}

/* 分数显示 */
.big-score{font-size:56px;font-weight:900;color:#e66f1a;text-align:center}
.score-row{display:flex;align-items:center;gap:16px}
.bar-row{margin:14px 0}
.bar-row .top{display:flex;justify-content:space-between;font-weight:600;font-size:14px;background:none;height:auto;padding:0;box-shadow:none;position:static;border:none;margin:0}
.bar{height:10px;background:#f0e2d2;border-radius:999px;overflow:hidden;margin-top:6px}
.fill{height:100%;border-radius:999px;background:linear-gradient(90deg,#e66f1a,#f59e0b)}

/* 提示框 */
.notice{background:#fff7ed;border:1px solid #fed7aa;border-radius:12px;padding:16px 20px;margin-bottom:20px;color:#9a4b12;font-size:14px}
.notice.warning{background:#fef3c7;border-color:#fde68a;color:#92400e}
.notice.success{background:#d1fae5;border-color:#a7f3d0;color:#065f46}

/* 空链接项 */
.company-item{display:flex;justify-content:space-between;align-items:center;padding:14px 0;border-bottom:1px solid #f5ece0}
.company-item:last-child{border-bottom:none}

/* Hero区域 */
.hero-section{background:linear-gradient(135deg,#e66f1a 0%,#f59e0b 100%);border-radius:20px;padding:48px;color:#fff;margin-bottom:32px;position:relative;overflow:hidden}
.hero-section:after{content:"";position:absolute;right:-100px;top:-100px;width:300px;height:300px;border-radius:50%;background:rgba(255,255,255,.15)}
.hero-section h1{font-size:36px;font-weight:800;margin-bottom:12px;position:relative;z-index:1}
.hero-section p{font-size:16px;color:rgba(255,255,255,.9);max-width:600px;position:relative;z-index:1}
.hero-section .actions{margin-top:24px;display:flex;gap:14px;flex-wrap:wrap;position:relative;z-index:1}
.hero-section .btn{background:#fff;color:#e66f1a}
.hero-section .btn.secondary{background:transparent;color:#fff;border-color:rgba(255,255,255,.4)}
.hero-section .btn.secondary:hover{background:rgba(255,255,255,.1)}

/* 链接 */
.link{color:#e66f1a;font-weight:600}
.link:hover{color:#d45d12;text-decoration:underline}

/* 邀请链接展示 */
.link-box{display:flex;align-items:center;gap:8px;background:#fffaf5;border:1.5px dashed #fed7aa;border-radius:12px;padding:12px 16px;word-break:break-all;font-size:14px;color:#9a4b12}

footer{text-align:center;color:#9ca3af;padding:32px;font-size:14px}

/* 响应式 */
@media(max-width:900px){
  .top .container{padding:0 16px}
  .wrap{padding:24px 16px}
  .top nav a{margin-left:12px;font-size:14px}
  .hero-section{padding:32px}
  .hero-section h1{font-size:28px}
}
@media(max-width:560px){
  .top nav{display:none}
  .top .container{padding:0 14px}
  .card{padding:18px}
  .grid{grid-template-columns:1fr}
}
