/* ============================================================
   Homepage hosting plans
   ------------------------------------------------------------
   Markup: resources/views/frontend/home.blade.php (hosting section)
   ============================================================ */

.hpl {
    --hp-navy: #061634;
    --hp-blue: #2563eb;
    --hp-blue-2: #1d4ed8;
    --hp-green: #10b981;
    --hp-ink: #0f172a;
    --hp-text: #475569;
    --hp-muted: #64748b;
    --hp-line: #e6ebf3;
    --hp-soft: #f5f8fe;
    position: relative;
    padding: 90px 0;
    background:
        radial-gradient(800px 400px at 50% 0%, rgba(37, 99, 235, .08), transparent 70%),
        #fff;
}

/* Header */
.hpl__head { text-align: center; max-width: 860px; margin: 0 auto 48px; }
.hpl__sub { max-width: 720px; margin-left: auto !important; margin-right: auto !important; }
.hpl__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #eaf1ff;
    color: var(--hp-blue-2);
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.hpl__title {
    margin: 16px 0 12px;
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -.02em;
    color: var(--hp-ink);
}
.hpl__title span { color: var(--hp-blue); }
.hpl__sub { margin: 0; font-size: 1.05rem; color: var(--hp-muted); line-height: 1.7; }

/* Grid */
.hpl__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    align-items: stretch;
}
.hpl__card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1.5px solid var(--hp-line);
    border-radius: 22px;
    padding: 28px 24px 24px;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.hpl__card:hover {
    transform: translateY(-6px);
    border-color: #c7d7fb;
    box-shadow: 0 24px 50px rgba(15, 23, 42, .10);
}

/* Featured plan: dark card so it stands out without shifting the row */
.hpl__card.is-featured {
    background: linear-gradient(165deg, #0a2a6b 0%, #061634 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 30px 60px rgba(6, 22, 52, .35);
}
.hpl__ribbon {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: #fff;
    font-size: 11.5px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(249, 115, 22, .35);
}

.hpl__tier {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--hp-blue);
}
.is-featured .hpl__tier { color: #7dd3fc; }
.hpl__name { margin: 6px 0 0; font-size: 1.35rem; font-weight: 900; color: var(--hp-ink); letter-spacing: -.01em; }
.is-featured .hpl__name { color: #fff; }
.hpl__desc { margin: 6px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--hp-muted); min-height: 42px; }
.is-featured .hpl__desc { color: rgba(226, 236, 255, .72); }

.hpl__price { display: flex; align-items: flex-start; gap: 2px; margin: 20px 0 2px; color: var(--hp-ink); }
.is-featured .hpl__price { color: #fff; }
.hpl__cur { font-size: 1.05rem; font-weight: 800; margin-top: 8px; }
.hpl__amount { font-size: 3rem; font-weight: 900; line-height: 1; letter-spacing: -.03em; }
.hpl__per { align-self: flex-end; margin: 0 0 6px 4px; font-size: 14px; font-weight: 600; color: var(--hp-muted); }
.is-featured .hpl__per { color: rgba(226, 236, 255, .7); }
.hpl__note { font-size: 12.5px; color: var(--hp-muted); }
.is-featured .hpl__note { color: rgba(226, 236, 255, .6); }

/* Storage / bandwidth tiles */
.hpl__specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0 18px; }
.hpl__spec {
    padding: 12px;
    border-radius: 14px;
    background: var(--hp-soft);
    border: 1px solid var(--hp-line);
}
.is-featured .hpl__spec { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); }
.hpl__spec i { font-size: 13px; color: var(--hp-blue); }
.is-featured .hpl__spec i { color: #7dd3fc; }
.hpl__spec b { display: block; margin-top: 6px; font-size: 1.05rem; font-weight: 900; color: var(--hp-ink); line-height: 1.1; }
.is-featured .hpl__spec b { color: #fff; }
.hpl__spec small { display: block; font-size: 11.5px; font-weight: 700; color: var(--hp-muted); text-transform: uppercase; letter-spacing: .06em; }
.is-featured .hpl__spec small { color: rgba(226, 236, 255, .6); }

/* Feature list */
.hpl__list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.hpl__list li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--hp-text); line-height: 1.35; }
.is-featured .hpl__list li { color: rgba(226, 236, 255, .88); }
.hpl__list li b { color: var(--hp-ink); font-weight: 800; }
.is-featured .hpl__list li b { color: #fff; }
.hpl__list li i {
    flex-shrink: 0;
    width: 20px; height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 9.5px;
    background: #d1fae5;
    color: #047857;
}
.is-featured .hpl__list li i { background: rgba(16, 185, 129, .2); color: #6ee7b7; }
.hpl__list li.is-off { color: #a3aec0; }
.hpl__list li.is-off i { background: #f1f5f9; color: #cbd5e1; }
.hpl__list-sep { height: 1px; margin: 2px 0; background: var(--hp-line); }
.is-featured .hpl__list-sep { background: rgba(255, 255, 255, .12); }

/* CTA pinned to the bottom so buttons line up across cards */
.hpl__cta { margin-top: auto; display: grid; gap: 8px; }
.hpl__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 50px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.hpl__btn i { font-size: 12px; transition: transform .2s; }
.hpl__btn:hover i { transform: translateX(3px); }
.hpl__btn--outline { border: 1.5px solid #c7d7fb; color: var(--hp-blue-2) !important; background: #fff; }
.hpl__btn--outline:hover { background: var(--hp-blue-2); border-color: var(--hp-blue-2); color: #fff !important; }
.hpl__btn--solid {
    background: linear-gradient(135deg, #38bdf8, var(--hp-blue));
    color: #fff !important;
    box-shadow: 0 12px 26px rgba(37, 99, 235, .4);
}
.hpl__btn--solid:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(37, 99, 235, .5); }
.hpl__setup { text-align: center; font-size: 12.5px; color: var(--hp-muted); }
.is-featured .hpl__setup { color: rgba(226, 236, 255, .65); }

/* Trust strip + compare link */
.hpl__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px 24px;
    margin-top: 40px;
    padding: 18px 24px;
    border-radius: 18px;
    background: var(--hp-soft);
    border: 1px solid var(--hp-line);
}
.hpl__trust { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 0; padding: 0; list-style: none; }
.hpl__trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--hp-text); }
.hpl__trust i { color: var(--hp-green); }
.hpl__compare {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 800;
    color: var(--hp-blue-2);
    text-decoration: none;
    white-space: nowrap;
}
.hpl__compare:hover { text-decoration: underline; }
.hpl__compare i { font-size: 12px; }

/* Responsive */
@media (max-width: 1199.98px) {
    .hpl__grid { grid-template-columns: repeat(2, 1fr); gap: 28px 22px; }
}
@media (max-width: 767.98px) {
    .hpl { padding: 64px 0; }
    .hpl__head { margin-bottom: 36px; }
}
@media (max-width: 575.98px) {
    .hpl__grid { grid-template-columns: 1fr; }
    .hpl__card { padding: 26px 20px 20px; }
    .hpl__foot { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .hpl * { transition: none !important; }
}
