/* Arumeen Hair Fall Test v2.0 */
#arumeen-hair-test *{box-sizing:border-box;margin:0;padding:0}
#arumeen-hair-test{
  --brand:#1B5E4F;--brand-dark:#0F3D30;--gold:#C9A84C;--fomo:#b03020;
  --text:#111;--muted:#666;--border:#ddd;
  font-family:'Segoe UI',system-ui,-apple-system,Arial,sans-serif;
  display:flex;flex-direction:column;background:#fff;
}

/* ── Navbar centred ── */
.aht-nav{background:#0F3D30;padding:0 40px;height:80px;min-height:80px;display:flex;align-items:center;justify-content:center;border-bottom:3px solid var(--gold);flex-shrink:0}
.aht-nav-brand{display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center}
.aht-nav-name{font-size:20px;font-weight:800;color:#fff;letter-spacing:.5px;text-transform:uppercase}
.aht-nav-sub{font-size:12px;color:rgba(255,255,255,0.65);letter-spacing:.3px}

/* ── Tabs ── */
.aht-tabs{display:flex;border-bottom:1px solid var(--border);background:#fff;flex-shrink:0}
.aht-tab{flex:1;padding:14px 10px 12px;display:flex;flex-direction:column;align-items:center;gap:4px;border-bottom:3px solid transparent;background:#f8f8f8;border-right:1px solid #ebebeb}
.aht-tab:last-child{border-right:none}
.aht-tab-num{font-size:11px;font-weight:700;color:#bbb;letter-spacing:.5px}
.aht-tab-label{font-size:13px;font-weight:600;color:#bbb;text-align:center;line-height:1.3}
.aht-tab-active{background:#fff;border-bottom-color:var(--brand)}
.aht-tab-active .aht-tab-num,.aht-tab-active .aht-tab-label{color:var(--brand)}
.aht-tab-done{background:#fff;border-bottom-color:var(--gold)}
.aht-tab-done .aht-tab-num,.aht-tab-done .aht-tab-label{color:#a8882e}

/* ── Progress ── */
.aht-prog-wrap{height:4px;background:#e4e4e4;flex-shrink:0}
.aht-prog-fill{height:100%;background:var(--brand);transition:width .5s ease}
.aht-prog-pct{font-size:11px;color:#aaa;text-align:right;padding:5px 24px 0;flex-shrink:0}

/* ── FOMO ── */
.aht-fomo{background:var(--fomo);padding:10px 24px;display:flex;align-items:center;justify-content:center;gap:9px;font-size:13px;font-weight:700;color:#fff;flex-shrink:0}
.aht-fomo-dot{width:9px;height:9px;border-radius:50%;background:#ffe566;flex-shrink:0;animation:aht-pulse 1.3s infinite}
@keyframes aht-pulse{0%,100%{opacity:1}50%{opacity:.2}}

/* ── Screen wrapper ── */
.aht-screen-wrap{flex:1;display:flex;align-items:center;justify-content:center;background:#fff;overflow-y:auto}

/* ── Screens: left-aligned like reference ── */
.aht-screen{display:none;width:100%;max-width:680px;margin:0 auto;padding:60px 56px 80px;flex-direction:column;align-items:center;text-align:center;background:#ffffff}
.aht-screen.aht-screen-active{display:flex}

/* Question label — large, left */
.aht-q-label{font-size:28px;font-weight:700;color:#111111;line-height:1.45;margin-bottom:70px;max-width:580px;letter-spacing:-.3px;text-align:center;width:100%}
.aht-q-sub{font-size:14px;color:var(--muted);margin-bottom:36px;line-height:1.5;text-align:center;width:100%}
.aht-optional{font-size:14px;font-weight:400;color:#aaa}

/* Underline input — full width, left */
.aht-single-input-wrap{width:100%;max-width:520px;margin-bottom:70px}
.aht-single-input{width:100%;border:none;border-bottom:2px solid #1B5E4F;padding:16px 0 14px;font-size:20px;color:#111111;background:#ffffff;outline:none;font-family:inherit;letter-spacing:.2px;transition:border-color .3s;display:block;-webkit-text-fill-color:#111111;opacity:1}
.aht-single-input:focus{border-bottom-color:#C9A84C;color:#111111;-webkit-text-fill-color:#111111;background:#ffffff}
.aht-single-input::placeholder{color:#aaaaaa !important;-webkit-text-fill-color:#aaaaaa;opacity:1}

/* Gender cards */
.aht-choice-row{display:flex;gap:18px;margin-bottom:80px;flex-wrap:wrap}
.aht-choice-card{width:200px;border:2px solid var(--border);border-radius:14px;padding:28px 20px 24px;text-align:center;cursor:pointer;background:#fff;transition:border-color .2s,background .2s}
.aht-choice-icon{font-size:40px;color:var(--brand);margin-bottom:10px;line-height:1}
.aht-choice-label{font-size:16px;font-weight:700;color:#333}
.aht-choice-card:hover,.aht-choice-card.aht-sel{border-color:var(--brand);background:#e8f5ee}
.aht-choice-card.aht-sel .aht-choice-label{color:var(--brand-dark)}

/* Option cards */
.aht-options-list{width:100%;max-width:520px;margin-bottom:48px;display:flex;flex-direction:column;gap:12px}
.aht-opt-card{width:100%;border:1.5px solid var(--border);border-radius:10px;padding:16px 22px;font-size:15.5px;font-weight:500;color:#333;cursor:pointer;background:#fff;transition:border-color .2s,background .2s,color .2s;text-align:left;cursor:pointer}
.aht-opt-card:hover,.aht-opt-card.aht-sel{border-color:var(--brand);background:#e8f5ee;color:var(--brand-dark);font-weight:700}

/* Button row: NEXT + BACK */
.aht-btn-row{display:flex;align-items:center;justify-content:center;gap:24px;margin-top:0}
.aht-next-btn{min-width:220px;padding:18px 36px;border-radius:50px;border:none;background:var(--brand-dark);color:#fff;font-size:15px;font-weight:800;letter-spacing:2px;text-transform:uppercase;cursor:pointer;font-family:inherit;box-shadow:0 4px 20px rgba(15,61,48,0.22);transition:background .25s,transform .1s}
.aht-next-btn:hover{background:var(--brand);box-shadow:0 6px 28px rgba(27,94,79,0.3)}
.aht-next-btn:active{transform:scale(.97)}
.aht-back-btn{background:none;border:none;font-size:14px;color:#999;cursor:pointer;font-family:inherit;font-weight:600;padding:8px 4px;transition:color .2s;display:flex;align-items:center;gap:6px}
.aht-back-btn:hover{color:var(--brand)}
.aht-back-btn::before{content:'←';font-size:16px}

.aht-privacy{font-size:12px;color:#bbb;margin-top:28px;max-width:520px;line-height:1.7;text-align:center}

/* Stage grid */
.aht-stage-grid{display:grid;gap:12px;width:100%;max-width:700px;margin:24px 0 20px}
.aht-stage-card{border:2px solid var(--border);border-radius:12px;padding:0 0 8px;text-align:center;cursor:pointer;background:#fff;transition:border-color .2s,background .2s;overflow:hidden}
.aht-stage-card svg{width:100%;max-width:90px;height:80px;display:block;margin:0 auto 6px}
.aht-stage-card .asl{font-size:10.5px;font-weight:700;color:#444;line-height:1.3}
.aht-stage-card .asn{font-size:9.5px;color:#999;margin-top:2px}
.aht-stage-card:hover,.aht-stage-card.aht-sel{border-color:var(--brand);background:#e8f5ee}
.aht-stage-card.aht-sel .asl{color:var(--brand-dark)}

/* Loader */
.aht-loader-wrap{display:flex;flex-direction:column;align-items:center;padding:100px 0;width:100%}
.aht-ring{width:54px;height:54px;border:5px solid #e0e0e0;border-top-color:var(--brand);border-radius:50%;animation:aht-spin .85s linear infinite;margin-bottom:20px}
@keyframes aht-spin{to{transform:rotate(360deg)}}
.aht-loader-txt{font-size:17px;font-weight:600;color:#333}
.aht-loader-sub{font-size:13px;color:#aaa;margin-top:7px}

/* Result */
.aht-result-wrap{width:100%;max-width:700px}
.aht-result-hero{display:flex;gap:24px;align-items:flex-start;background:#f4faf7;border:2px solid var(--gold);border-radius:14px;padding:24px;margin-bottom:20px}
.aht-result-stage-box{display:flex;flex-direction:column;align-items:center;flex-shrink:0}
.aht-result-stage-box svg{width:110px;height:130px;border-radius:8px;background:#fff;border:1px solid rgba(201,168,76,.3);padding:4px}
.aht-res-stage-badge{font-size:10px;font-weight:800;background:var(--brand);color:#fff;padding:3px 12px;border-radius:20px;margin-top:8px}
.aht-result-info{flex:1}
.aht-res-title{font-size:17px;font-weight:800;color:var(--brand-dark);line-height:1.3;margin-bottom:4px}
.aht-res-sub{font-size:13px;color:var(--muted);margin-bottom:12px}
.aht-sev-label-top{font-size:11px;color:#aaa;margin-bottom:4px}
.aht-sev-wrap{height:9px;border-radius:20px;background:#cde8e0;overflow:hidden;margin-bottom:5px}
.aht-sev-fill{height:100%;border-radius:20px;transition:width .7s}
.aht-sev-label{font-size:12px;font-weight:700;color:var(--fomo)}
.aht-urgency{background:#fffbec;border:1.5px solid #d4a83a;border-radius:10px;padding:14px 18px;font-size:13.5px;color:#5c4200;font-weight:600;margin-bottom:18px;line-height:1.6}
.aht-urgency .ured{color:var(--fomo)}
.aht-treat-section{margin-bottom:22px}
.aht-treat-title{font-size:11.5px;font-weight:800;color:var(--brand-dark);text-transform:uppercase;letter-spacing:.7px;margin-bottom:10px}
.aht-treat-item{display:flex;align-items:center;gap:11px;font-size:14px;color:#222;padding:9px 0;border-bottom:1px solid #ddeee8}
.aht-treat-dot{width:9px;height:9px;border-radius:50%;background:var(--gold);flex-shrink:0}
.aht-cta-phone{display:flex;align-items:center;justify-content:center;width:100%;padding:18px;border-radius:50px;background:var(--brand-dark);border:2px solid var(--gold);color:#fff;font-size:16px;font-weight:800;text-decoration:none;margin-bottom:14px;transition:background .2s;box-shadow:0 4px 20px rgba(15,61,48,0.22)}
.aht-cta-phone:hover{background:var(--brand);color:#fff}
.aht-proof{font-size:12.5px;color:#999;text-align:center;line-height:1.7}
.aht-stars{color:var(--gold);font-size:15px}

/* Errors */
.aht-err{font-size:12px;color:var(--fomo);margin-top:6px;display:none}

/* Responsive */
@media(max-width:640px){
  .aht-nav{padding:0 20px;height:70px;min-height:70px}
  .aht-screen{padding:40px 20px 64px;background:#ffffff}
  .aht-q-label{font-size:20px;margin-bottom:48px;color:#111111}
  .aht-single-input-wrap{margin-bottom:48px;width:100%}
  .aht-single-input{
    font-size:18px;
    color:#111111 !important;
    -webkit-text-fill-color:#111111 !important;
    background:#ffffff !important;
    border-bottom:2px solid #1B5E4F;
    padding:14px 0 12px;
    width:100%;
    opacity:1;
  }
  .aht-next-btn{min-width:160px;padding:16px 24px;font-size:14px;width:100%;max-width:320px}
  .aht-choice-card{width:140px;padding:20px 12px 18px}
  .aht-tabs{overflow-x:auto}
  .aht-tab{min-width:76px}
  .aht-result-hero{flex-direction:column;align-items:center}
  .aht-opt-card{font-size:14px;padding:14px 16px}
}
