/*
 * PHP2Shell landing page. Sits on top of hashone-products.css and reuses its
 * hero, leaks, rules, flow, cta and faq blocks; only the extras live here.
 */

.hgp.p-php2shell{--accent:#4ED28C;--bad:#FF6B6B;--warn:#FFC94D}
.hgp [hidden]{display:none!important}
.hgp .sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}

/* hero */
.hgp .alert-tag{display:inline-flex;align-items:center;gap:10px;font-size:13px;font-weight:600;letter-spacing:.04em;color:#ffb3b3;padding:7px 14px;border-radius:100px;background:rgba(255,107,107,.1);border:1px solid rgba(255,107,107,.28)}
.hgp .alert-tag i{width:8px;height:8px;border-radius:50%;background:var(--bad);box-shadow:0 0 0 0 rgba(255,107,107,.6);animation:hgPulse 1.8s infinite}
@keyframes hgPulse{70%{box-shadow:0 0 0 9px rgba(255,107,107,0)}100%{box-shadow:0 0 0 0 rgba(255,107,107,0)}}
.hgp .quick{display:flex;gap:8px;max-width:560px;margin:36px 0 22px;padding:6px;border-radius:100px;background:var(--surf-2);border:1px solid var(--line-2)}
.hgp .quick input{flex:1;min-width:0;background:none;border:0;outline:0;padding:0 18px;color:var(--ink);font:inherit;font-size:16px}
.hgp .quick input::placeholder{color:var(--faint)}
.hgp .quick .btn{height:50px;flex:none}
@media (max-width:520px){.hgp .quick{flex-direction:column;border-radius:20px}.hgp .quick input{height:48px}.hgp .quick .btn{justify-content:center}}

/* sample report: the light card from the campaign artwork */
.hgp .report{background:#fff;color:#1b2333;border-radius:22px;padding:clamp(22px,3vw,34px);box-shadow:0 40px 120px -30px rgba(30,86,200,.5)}
.hgp .report-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding-bottom:16px;border-bottom:1px solid #e3e7ee}
.hgp .report-head b{font-family:var(--sans);font-size:clamp(17px,1.6vw,20px);color:#0b1222}
.hgp .report-head small{color:#7a8597;font-size:14px}
.hgp .report ul{list-style:none}
.hgp .report li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid #eef1f5;font-size:16px}
.hgp .pill{display:inline-flex;align-items:center;gap:7px;flex:none;font-size:13px;font-weight:600;padding:5px 12px;border-radius:100px}
.hgp .pill::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
.hgp .pill.bad{background:#fde8e8;color:#c62828}
.hgp .pill.warn{background:#fff4d6;color:#a86b00}
.hgp .pill.ok{background:#e3f7ec;color:#1b8a4c}
.hgp .report-note{margin-top:14px;font-size:13px;color:#7a8597}

/* versions chart */
.hgp .split{display:grid;grid-template-columns:.9fr 1.1fr;gap:clamp(32px,5vw,72px);align-items:center}
.hgp .split .sec-head{margin:0}
.hgp .split .sec-head p + p{margin-top:14px}
.hgp .chart{background:var(--bg-2);border:1px solid var(--line);border-radius:var(--r);padding:clamp(22px,3vw,36px);display:flex;flex-direction:column;gap:22px}
.hgp .bar{display:grid;grid-template-columns:70px 1fr 120px;gap:16px;align-items:center;font-size:13px}
.hgp .bar b{font-family:ui-monospace,Menlo,Consolas,monospace;font-weight:500;color:var(--text)}
.hgp .bar small{color:var(--muted);font-family:ui-monospace,Menlo,Consolas,monospace}
.hgp .bar span{position:relative;height:6px;border-radius:6px;background:linear-gradient(90deg,rgba(255,107,107,.55) var(--fix),rgba(78,210,140,.55) var(--fix))}
.hgp .bar span::after{content:"";position:absolute;left:var(--fix);top:-7px;width:2px;height:20px;background:var(--ink);transform:translateX(-1px)}
@media (max-width:980px){.hgp .split{grid-template-columns:1fr}}
@media (max-width:520px){.hgp .bar{grid-template-columns:56px 1fr}.hgp .bar small{grid-column:2}}

/* rules with a heading word */
.hgp .rule p b{color:var(--ink);font-family:var(--sans)}
.hgp.p-php2shell .rule svg{color:var(--bad)}

/* three-step flow */
.hgp .flow.three{grid-template-columns:repeat(3,1fr)}
.hgp .flow.three .step:nth-child(2){border-right:1px solid var(--line)}
.hgp .flow.three .step:last-child{border-right:0}
@media (max-width:980px){.hgp .flow.three{grid-template-columns:1fr}.hgp .flow.three .step{border-right:0;border-bottom:1px solid var(--line)}.hgp .flow.three .step:last-child{border-bottom:0}}

/* the form */
.hgp .check{grid-template-columns:1fr 1.1fr;align-items:start}
.hgp .gets{list-style:none;margin-top:28px;display:flex;flex-direction:column;gap:14px}
.hgp .gets li{display:flex;gap:12px;color:var(--text)}
.hgp .gets svg{flex:none;width:22px;height:22px;color:var(--accent);margin-top:2px}
.hgp .ck-form{background:var(--bg);border:1px solid var(--line-2);border-radius:20px;padding:clamp(20px,3vw,32px);display:flex;flex-direction:column;gap:18px}
.hgp .ck-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.hgp .ck-fields label{display:flex;flex-direction:column;gap:7px;font-size:14px;color:var(--muted)}
.hgp .ck-fields .full{grid-column:1/-1}
.hgp .ck-fields input,.hgp .ck-fields select,.hgp .ck-fields textarea{width:100%;font:inherit;font-size:16px;color:var(--ink);background:var(--surf-2);border:1px solid var(--line-2);border-radius:12px;padding:12px 14px;transition:border-color .2s}
.hgp .ck-fields input,.hgp .ck-fields select{height:50px;padding-top:0;padding-bottom:0}
.hgp .ck-fields select option{background:var(--bg-2)}
.hgp .ck-fields textarea{resize:vertical}
.hgp .ck-fields :focus{outline:0;border-color:var(--cyan)}
.hgp .ck-fields .hp{position:absolute;left:-9999px;width:1px;height:1px}
.hgp .ck-form .btn{justify-content:center}
.hgp .ck-form .btn:disabled{opacity:.6;cursor:wait}
.hgp .ck-error{font-size:14px;color:#ffb3b3;background:rgba(255,107,107,.1);border-radius:10px;padding:10px 14px}
.hgp .ck-fine{font-size:13px;color:var(--faint)}
.hgp .ck-done{text-align:center;padding:40px 10px}
.hgp .ck-done h3{font-size:clamp(24px,2.4vw,30px);margin-bottom:10px}
.hgp .ck-done p{color:var(--muted);margin:0 auto}
@media (max-width:900px){.hgp .check{grid-template-columns:1fr}}

/*
 * The Elementor kit styles every input on the site and outranks the rules
 * above: it dropped the borders and painted the placeholder near-black.
 * div.hgp.p-php2shell buys enough specificity to win back.
 */
div.hgp.p-php2shell .ck-fields input,div.hgp.p-php2shell .ck-fields select,div.hgp.p-php2shell .ck-fields textarea{color:var(--ink);background:var(--surf-2);border:1px solid var(--line-2);border-radius:12px;box-shadow:none}
div.hgp.p-php2shell .ck-fields input:focus,div.hgp.p-php2shell .ck-fields select:focus,div.hgp.p-php2shell .ck-fields textarea:focus{border-color:var(--cyan)}
div.hgp.p-php2shell input::placeholder,div.hgp.p-php2shell textarea::placeholder{color:#7D889C;opacity:1}
div.hgp.p-php2shell .quick input{background:none;border:0;color:var(--ink)}
input#hg-quick-site::placeholder,#hg-check input::placeholder{color:#eef3fa8a !important}
@media (max-width:520px){.hgp .ck-fields{grid-template-columns:1fr}}
