/* StingTune Membership — frontend */
.stm-pricing-wrap{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin:24px 0}
.stm-plan-card{background:#fff;border:1px solid #e8e8ef;border-radius:16px;padding:32px 28px;display:flex;flex-direction:column;box-shadow:0 4px 24px rgba(20,20,60,.06);transition:transform .2s,box-shadow .2s}
.stm-plan-card:hover{transform:translateY(-4px);box-shadow:0 12px 40px rgba(20,20,60,.12)}
.stm-plan-highlight{background:#0d0d1f;color:#fff;border-color:#0d0d1f}
.stm-plan-name{font-size:15px;font-weight:600;opacity:.85}
.stm-plan-price{font-size:42px;font-weight:800;letter-spacing:-1px;margin:6px 0 2px}
.stm-plan-price::first-letter{font-size:24px;vertical-align:top}
.stm-plan-period{font-size:14px;opacity:.6;margin-bottom:18px}
.stm-plan-features{list-style:none;margin:0 0 24px;padding:18px 0 0;border-top:1px solid rgba(128,128,160,.25);flex:1}
.stm-plan-features li{margin:0 0 12px;font-size:14.5px;display:flex;gap:10px;align-items:flex-start;line-height:1.45}
.stm-check{display:inline-flex;width:22px;height:22px;min-width:22px;border-radius:50%;background:#f5b942;color:#fff;font-size:13px;font-weight:700;align-items:center;justify-content:center;margin-top:1px}
.stm-plan-highlight .stm-check{background:#fff;color:#0d0d1f}
.stm-plan-btn{background:#111;color:#fff;border:none;border-radius:10px;padding:14px;font-size:15px;font-weight:600;cursor:pointer;width:100%;transition:background .2s}
.stm-plan-btn:hover{background:#333}
.stm-plan-highlight .stm-plan-btn{background:#fff;color:#0d0d1f}
.stm-plan-highlight .stm-plan-btn:hover{background:#e8e8f5}
.stm-plan-selected{outline:3px solid #4f46e5}

/* Signup */
.stm-signup-wrap{max-width:960px;margin:0 auto}
.stm-steps{display:flex;gap:8px;margin-bottom:28px}
.stm-step{flex:1;text-align:center;padding:12px;background:#f1f1f6;border-radius:10px;font-size:14px;color:#888}
.stm-step span{display:inline-flex;width:24px;height:24px;border-radius:50%;background:#ccc;color:#fff;font-size:13px;align-items:center;justify-content:center;margin-right:6px}
.stm-step-active{background:#eef0ff;color:#1a1a2e;font-weight:600}
.stm-step-active span{background:#4f46e5}
.stm-form{max-width:480px;margin:0 auto;background:#fff;border:1px solid #e8e8ef;border-radius:14px;padding:28px}
.stm-form label{display:block;font-size:14px;font-weight:600;margin-bottom:16px;color:#333}
.stm-form input[type=text],.stm-form input[type=email],.stm-form input[type=password]{display:block;width:100%;margin-top:6px;padding:12px 14px;border:1px solid #d8d8e2;border-radius:10px;font-size:15px;box-sizing:border-box}
.stm-form-row{display:flex;gap:12px;margin-top:8px}
.stm-btn{border:none;border-radius:10px;padding:13px 22px;font-size:15px;font-weight:600;cursor:pointer}
.stm-btn-primary{background:#4f46e5;color:#fff;flex:1}
.stm-btn-primary:hover{background:#4338ca}
.stm-btn-ghost{background:#f1f1f6;color:#333}
.stm-btn-pay{background:#0d8a4f;color:#fff;flex:1}
.stm-btn-pay:hover{background:#0a6e3f}
.stm-btn-block{width:100%}
.stm-error{color:#d33;font-size:14px;margin-top:12px;min-height:20px}
.stm-order-summary{background:#f8f8fc;border:1px solid #e8e8ef;border-radius:12px;padding:20px;margin-bottom:20px;font-size:15px}
.stm-secure-note{text-align:center;color:#888;font-size:13px;margin-top:16px}
.stm-notice{padding:14px 18px;border-radius:10px;margin:16px 0}
.stm-notice-info{background:#eef0ff;color:#1a1a2e}

/* Login */
.stm-auth-wrap{max-width:440px;margin:40px auto}
.stm-auth-card{background:#fff;border:1px solid #e8e8ef;border-radius:16px;padding:36px 32px;box-shadow:0 8px 32px rgba(20,20,60,.08)}
.stm-auth-card h2{margin:0 0 6px;font-size:24px}
.stm-auth-sub{color:#888;margin:0 0 24px;font-size:14px}
.stm-auth-card .stm-form{border:none;padding:0;max-width:none}
.stm-remember{display:flex!important;align-items:center;gap:8px;font-weight:400!important;font-size:14px!important}
.stm-auth-links{text-align:center;font-size:14px;margin-top:18px;color:#888}
.stm-auth-links a{color:#4f46e5;text-decoration:none}

/* Membership card (My Account) */
.stm-membership-card{background:linear-gradient(135deg,#1a1a2e,#2d2d55);color:#fff;border-radius:16px;padding:28px;margin-bottom:24px;position:relative;overflow:hidden}
.stm-membership-card h3{margin:0 0 4px;font-size:18px;color:#fff}
.stm-mship-plan{font-size:32px;font-weight:800;margin:8px 0}
.stm-mship-meta{display:flex;gap:24px;margin-top:12px;font-size:14px;opacity:.85}
.stm-mship-status{display:inline-block;padding:4px 14px;border-radius:20px;font-size:13px;font-weight:600;background:#22c55e;color:#fff}
.stm-mship-status.stm-expired,.stm-mship-status.stm-suspended{background:#ef4444}
.stm-mship-status.stm-pending{background:#f59e0b}
.stm-mship-renew{margin-top:16px}
.stm-mship-renew a{background:#fff;color:#1a1a2e;padding:10px 24px;border-radius:10px;font-weight:600;text-decoration:none;display:inline-block}

/* Agreement & signature (signup step 3) */
.stm-agreement-form{max-width:640px}
.stm-form-2col{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}
.stm-form textarea,.stm-form select{display:block;width:100%;margin-top:6px;padding:12px 14px;border:1px solid #d8d8e2;border-radius:10px;font-size:15px;box-sizing:border-box;font-family:inherit}
.stm-form input[type=tel]{display:block;width:100%;margin-top:6px;padding:12px 14px;border:1px solid #d8d8e2;border-radius:10px;font-size:15px;box-sizing:border-box}
.stm-form input[readonly]{background:#f6f6fa;color:#666}
.stm-opt{font-weight:400;color:#999;font-size:12px}
.stm-share-preview{background:#fff8e1;border:1px solid #e8c547;border-radius:12px;padding:14px 18px;margin:4px 0 16px;font-size:14.5px}
.stm-share-nums{display:flex;gap:20px;margin-top:8px;font-size:16px}
.stm-share-nums b{color:#1a237e}
.stm-share-note{color:#8a7a2a;font-size:12.5px;margin-top:6px}
.stm-agreement-text{background:#f8f8fc;border:1px solid #e8e8ef;border-radius:12px;padding:16px 18px;margin-bottom:16px;max-height:220px;overflow-y:auto;font-size:13.5px;line-height:1.6;color:#444}
.stm-agreement-text ol{margin:10px 0 0;padding-left:20px}
.stm-agreement-text li{margin-bottom:8px}
.stm-sig-label{display:block;font-size:14px;font-weight:600;margin-bottom:8px;color:#333}
.stm-sig-wrap{position:relative;border:2px dashed #b9bde0;border-radius:12px;background:#fbfbff;margin-bottom:6px}
.stm-sig-wrap canvas{display:block;touch-action:none;cursor:crosshair;border-radius:10px}
.stm-sig-wrap .stm-btn-small{position:absolute;top:8px;right:8px;padding:7px 14px;font-size:12.5px}
.stm-consent{display:flex!important;gap:10px;align-items:flex-start;font-weight:400!important;font-size:13.5px!important;line-height:1.55}
.stm-consent input{margin-top:3px;min-width:18px;min-height:18px}

@media(max-width:900px){
  .stm-pricing-wrap{grid-template-columns:1fr;max-width:440px;margin:24px auto}
  .stm-steps{font-size:12px}
  .stm-mship-meta{flex-direction:column;gap:8px}
  .stm-form-2col{grid-template-columns:1fr}
  .stm-steps{gap:4px}
  .stm-step{padding:10px 4px}
  .stm-step span{margin-right:2px}
}
