/* ==========================================================================
   HostRomeo SSL page (ssl-certificates.html): free Let's Encrypt explained
   Builds on hr-guides.css. Brand: pink #FF2E93, purple #8A3FFC, blue #0EA5E9
   ========================================================================== */

/* hero buttons */
.hrs-hero-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; position: relative; z-index: 5; }
.hrs-hero-actions a {
    display: inline-flex; align-items: center; gap: 9px; padding: 15px 26px; border-radius: 12px;
    font: 800 15.5px/1 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    text-decoration: none !important; transition: transform .2s ease, box-shadow .2s ease, background .2s;
}
.hrs-hero-actions .is-main { background: linear-gradient(135deg, #FF2E93, #8A3FFC); color: #fff !important; box-shadow: 0 14px 30px -12px rgba(255, 46, 147, .85); }
.hrs-hero-actions .is-main:hover { transform: translateY(-2px); }
.hrs-hero-actions .is-alt { background: rgba(255, 255, 255, .1); color: #fff !important; border: 1px solid rgba(255, 255, 255, .3); }
.hrs-hero-actions .is-alt:hover { background: rgba(255, 255, 255, .2); }
.hr-page-ssl-certificates .hero-area-coodiv .wave-shape-bottom { pointer-events: none; }
.hrs-free-tag {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 7px 14px; border-radius: 999px;
    background: rgba(255, 46, 147, .14); border: 1px solid rgba(255, 46, 147, .45); color: #fff;
    font: 700 13px/1 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
.hrs-free-tag i { color: #FF2E93; }

/* ---------- ACME sequence diagram ---------- */
.hrs-seq {
    position: relative; margin-top: 8px; padding: 28px 26px 30px; border-radius: 24px;
    background: linear-gradient(135deg, #2a1660 0%, #1b0d40 55%, #0e0726 100%); color: #fff;
    box-shadow: 0 30px 70px -40px rgba(42, 22, 96, .9); overflow: hidden;
}
.hrs-seq::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(600px 260px at 85% -10%, rgba(255, 46, 147, .25), transparent 60%),
                radial-gradient(520px 260px at 0% 110%, rgba(14, 165, 233, .18), transparent 60%);
}
.hrs-seq > * { position: relative; }
.hrs-lanes, .hrs-row { display: grid; grid-template-columns: repeat(3, 1fr); }
.hrs-lane { text-align: center; padding: 0 8px 18px; }
.hrs-lane .hrs-node {
    display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin-bottom: 10px;
    border-radius: 18px; font-size: 26px; color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18);
}
.hrs-lane:nth-child(1) .hrs-node { background: linear-gradient(135deg, #FF2E93, #8A3FFC); border: 0; box-shadow: 0 12px 28px -12px rgba(255, 46, 147, .9); }
.hrs-lane:nth-child(3) .hrs-node { background: linear-gradient(135deg, #0EA5E9, #8A3FFC); border: 0; box-shadow: 0 12px 28px -12px rgba(14, 165, 233, .8); }
.hrs-lane b { display: block; font-size: 15.5px; font-weight: 800; color: #fff; }
.hrs-lane small { display: block; margin-top: 3px; color: rgba(255, 255, 255, .62); font-size: 12.5px; line-height: 1.4; }
.hrs-body { position: relative; }
.hrs-body::before {          /* the three lifelines */
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background:
        linear-gradient(rgba(255,255,255,.18), rgba(255,255,255,.18)) calc(100% / 6) 0 / 2px 100% no-repeat,
        linear-gradient(rgba(255,255,255,.18), rgba(255,255,255,.18)) 50% 0 / 2px 100% no-repeat,
        linear-gradient(rgba(255,255,255,.18), rgba(255,255,255,.18)) calc(500% / 6) 0 / 2px 100% no-repeat;
}
.hrs-row { position: relative; min-height: 78px; align-items: center; }
.hrs-msg { position: relative; grid-row: 1; padding: 0 6px; }
.hrs-msg.c12 { grid-column: 1 / 3; } .hrs-msg.c23 { grid-column: 2 / 4; } .hrs-msg.c13 { grid-column: 1 / 4; }
.hrs-msg.c1 { grid-column: 1 / 2; }
.hrs-msg .hrs-label { display: block; text-align: center; padding: 0 8%; }
.hrs-msg.c13 .hrs-label { padding: 0 18%; }
.hrs-label b { color: #fff; font-size: 14.5px; font-weight: 800; }
.hrs-label > span { display: block; margin-top: 2px; color: rgba(255, 255, 255, .66); font-size: 12.5px; line-height: 1.45; }
.hrs-label code { color: #ffd1e8; background: rgba(255, 46, 147, .14); padding: 1px 6px; border-radius: 6px; font-size: 11.5px; word-break: break-all; }
.hrs-num {
    display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; margin-right: 6px;
    border-radius: 50%; background: #fff; color: #6b2bd9; font-size: 12px; font-weight: 800; vertical-align: 1px;
}
.hrs-arrow { position: relative; height: 2px; margin: 9px 0 0; border-radius: 2px; }
.hrs-msg.c12 .hrs-arrow, .hrs-msg.c23 .hrs-arrow { margin-left: 25%; margin-right: 25%; }
.hrs-msg.c13 .hrs-arrow { margin-left: calc(100% / 6); margin-right: calc(100% / 6); }
.hrs-arrow { background: linear-gradient(90deg, #FF2E93, #8A3FFC); }
.hrs-arrow::after {
    content: ""; position: absolute; top: 50%; width: 0; height: 0; transform: translateY(-50%);
    border-top: 6px solid transparent; border-bottom: 6px solid transparent;
}
.hrs-msg.r .hrs-arrow::after { right: -2px; border-left: 10px solid #8A3FFC; }
.hrs-msg.l .hrs-arrow { background: linear-gradient(270deg, #0EA5E9, #8A3FFC); }
.hrs-msg.l .hrs-arrow::after { left: -2px; border-right: 10px solid #8A3FFC; }
.hrs-msg.c1 .hrs-self {
    margin: 0 auto; max-width: 92%; padding: 10px 12px; border-radius: 14px; text-align: center;
    background: rgba(255, 255, 255, .1); border: 1px dashed rgba(255, 255, 255, .35);
}
.hrs-msg.c1 .hrs-self b { color: #fff; font-size: 13.5px; font-weight: 800; }
.hrs-msg.c1 .hrs-self > span { display: block; color: rgba(255,255,255,.66); font-size: 12px; line-height: 1.4; }
.hrs-seq-foot { margin: 18px 0 0; padding-top: 16px; border-top: 1px dashed rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .7); font-size: 13.5px; text-align: center; }
.hrs-seq-foot b { color: #fff; }
@media (prefers-reduced-motion: no-preference) {
    .hrs-seq.is-live .hrs-row { animation: hrs-in .5s cubic-bezier(.2,.8,.2,1) both; }
    .hrs-seq.is-live .hrs-row:nth-child(2) { animation-delay: .12s; } .hrs-seq.is-live .hrs-row:nth-child(3) { animation-delay: .24s; }
    .hrs-seq.is-live .hrs-row:nth-child(4) { animation-delay: .36s; } .hrs-seq.is-live .hrs-row:nth-child(5) { animation-delay: .48s; }
    .hrs-seq.is-live .hrs-row:nth-child(6) { animation-delay: .6s; } .hrs-seq.is-live .hrs-row:nth-child(7) { animation-delay: .72s; }
}
@keyframes hrs-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 767px) {
    .hrs-seq { padding: 22px 12px 24px; border-radius: 20px; }
    .hrs-lane { padding: 0 2px 14px; }
    .hrs-lane .hrs-node { width: 48px; height: 48px; font-size: 20px; border-radius: 14px; }
    .hrs-lane b { font-size: 12.5px; } .hrs-lane small { font-size: 10.5px; }
    .hrs-row { min-height: 70px; }
    .hrs-msg .hrs-label, .hrs-msg.c13 .hrs-label { padding: 0 2%; }
    .hrs-label b { font-size: 12.5px; } .hrs-label span { font-size: 11px; }
    .hrs-num { width: 18px; height: 18px; font-size: 10.5px; margin-right: 4px; }
    .hrs-msg.c1 { grid-column: 1 / 4; }
    .hrs-msg.c1 .hrs-self { max-width: 100%; background: rgba(42, 22, 96, .92); }
}

/* ---------- chain of trust ---------- */
.hrs-chain { display: grid; gap: 0; max-width: 520px; margin-left: auto; }
.hrs-cert {
    position: relative; display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-radius: 18px;
    background: #fff; border: 1px solid #ece6fb; box-shadow: 0 16px 36px -28px rgba(42, 22, 96, .55);
}
.hrs-cert + .hrs-cert { margin-top: 34px; }
.hrs-cert + .hrs-cert::before {
    content: "\f063"; font-family: "Font Awesome 5 Free"; font-weight: 900; font-size: 13px;
    position: absolute; left: 44px; top: -28px; width: 22px; height: 22px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #FF2E93, #8A3FFC); color: #fff;
}
.hrs-cert + .hrs-cert::after { content: "signs"; position: absolute; left: 74px; top: -25px; color: #8A3FFC; font-size: 11.5px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; }
.hrs-cert .hrg-ico { width: 48px; height: 48px; }
.hrs-cert b { display: block; color: #161c2d; font-size: 16px; font-weight: 800; }
.hrs-cert div > span { display: block; color: #5b6478; font-size: 13.5px; line-height: 1.5; }
.hrs-cert.is-root { background: linear-gradient(135deg, #fbf8ff, #f1eaff); border-color: #dccbff; }
.hrs-cert.is-leaf { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #FF2E93, #8A3FFC) border-box; }
@media (max-width: 991px) { .hrs-chain { margin: 0; max-width: none; } }

/* ---------- TLS handshake ---------- */
.hrs-hand { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: hs; }
.hrs-hs { position: relative; padding: 22px 20px; border-radius: 18px; background: #fff; border: 1px solid #ece6fb; }
.hrs-hs::before {
    counter-increment: hs; content: counter(hs);
    position: absolute; top: 18px; right: 18px; color: #e3d6ff; font-size: 34px; font-weight: 800; line-height: 1;
}
.hrs-hs .hrs-dir { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; padding: 5px 10px; border-radius: 999px; background: #f6f3ff; color: #6b2bd9; font-size: 12px; font-weight: 800; }
.hrs-hs h3 { font-size: 16.5px !important; }
.hrs-hs p { margin: 0; font-size: 14px !important; line-height: 1.6 !important; }
.hrs-hs.is-done { background: linear-gradient(135deg, #2a1660, #1b0d40); border-color: transparent; }
.hrs-hs.is-done h3 { color: #fff !important; } .hrs-hs.is-done p { color: rgba(255,255,255,.72) !important; }
.hrs-hs.is-done .hrs-dir { background: rgba(255, 46, 147, .2); color: #ffd1e8; }
.hrs-hs.is-done::before { color: rgba(255,255,255,.14); }
@media (max-width: 1099px) { .hrs-hand { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .hrs-hand { grid-template-columns: 1fr; } }

/* ---------- certificate lifetime bar ---------- */
.hrs-life { padding: 28px; border-radius: 22px; background: #fff; border: 1px solid #ece6fb; box-shadow: 0 20px 50px -38px rgba(42,22,96,.55); }
.hrs-bar { position: relative; height: 16px; margin: 38px 0 40px; border-radius: 999px; background: #f1eaff; }
.hrs-bar i.fill { position: absolute; left: 0; top: 0; bottom: 0; width: 66.6%; border-radius: 999px; background: linear-gradient(90deg, #0EA5E9, #8A3FFC 70%, #FF2E93); }
.hrs-bar i.zone { position: absolute; left: 66.6%; top: 0; bottom: 0; right: 0; border-radius: 0 999px 999px 0; background: repeating-linear-gradient(135deg, #ffd6ea 0 8px, #fff0f7 8px 16px); }
.hrs-pin { position: absolute; top: 50%; transform: translate(-50%, -50%); }
.hrs-pin::before { content: ""; display: block; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid #8A3FFC; box-shadow: 0 6px 14px -6px rgba(42,22,96,.6); }
.hrs-pin.is-renew::before { border-color: #FF2E93; }
.hrs-pin small { position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 12.5px; font-weight: 800; color: #161c2d; }
.hrs-pin small.up { bottom: 30px; } .hrs-pin small.down { top: 30px; color: #5b6478; font-weight: 600; }
.hrs-pin.is-start small { left: 0; transform: none; } .hrs-pin.is-end small { left: auto; right: 0; transform: none; }
.hrs-gens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 8px; }
.hrs-gen { padding: 16px 18px; border-radius: 16px; background: #fbf9ff; border: 1px solid #ece6fb; }
.hrs-gen small { display: block; color: #8A3FFC; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; }
.hrs-gen b { display: block; margin: 2px 0; color: #161c2d; font-size: 22px; font-weight: 800; letter-spacing: -.4px; }
.hrs-gen span { color: #5b6478; font-size: 13px; }
.hrs-gen.is-now { background: linear-gradient(135deg, #fff, #fff4fa); border-color: #ffc6df; }
@media (max-width: 767px) { .hrs-gens { grid-template-columns: 1fr; } .hrs-life { padding: 22px 18px; } .hrs-pin small { font-size: 11px; } .hrs-pin small.down { display: none; } .hrs-bar { margin-bottom: 26px; } }

/* ---------- hosting plan picks (closing push) ---------- */
.hrs-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 991px) { .hrs-plans { grid-template-columns: 1fr; } }
.hrs-plan {
    position: relative; display: flex; flex-direction: column; padding: 28px 26px; border-radius: 22px; background: #fff;
    border: 1px solid #ece6fb; box-shadow: 0 18px 44px -32px rgba(42, 22, 96, .55);
    transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, border-color .25s;
}
.hrs-plan:hover { transform: translateY(-5px); border-color: #dccbff; box-shadow: 0 28px 54px -30px rgba(138, 63, 252, .55); }
.hrs-plan.is-pick { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #FF2E93, #8A3FFC) border-box; }
.hrs-badge { position: absolute; top: -13px; right: 22px; padding: 6px 12px; border-radius: 999px; background: linear-gradient(135deg, #FF2E93, #8A3FFC); color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; box-shadow: 0 10px 20px -10px rgba(255, 46, 147, .9); }
.hrs-plan .hrg-ico { margin-bottom: 16px; }
.hrs-plan p { margin: 0 0 16px; font-size: 14.5px !important; }
.hrs-plan ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; }
.hrs-plan li { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: 14px !important; line-height: 1.5 !important; color: #161c2d !important; }
.hrs-plan li i { margin-top: 4px; color: #FF2E93; font-size: 12px; }
.hrs-plan .hrg-btn { margin-top: auto; justify-content: center; }


/* FAQ (same look as the WHOIS page) */
.hrw-faq { display: grid; gap: 10px; }
.hrw-faq details { border-radius: 14px; background: #fff; border: 1px solid #ece6fb; padding: 0 20px; }
.hrw-faq summary {
    list-style: none; cursor: pointer; padding: 18px 28px 18px 0; position: relative;
    color: #161c2d; font-weight: 800; font-size: 16px;
}
.hrw-faq summary::-webkit-details-marker { display: none; }
.hrw-faq summary::after {
    content: "\f067"; font-family: "Font Awesome 5 Free"; font-weight: 900; font-size: 13px;
    position: absolute; right: 0; top: 50%; transform: translateY(-50%); color: #8A3FFC; transition: transform .2s;
}
.hrw-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.hrw-faq details p { margin: 0 0 18px; }
