/* ══════════════════════════════════════════════════════
   HOSTING SECTION — Professional upgrade
   ══════════════════════════════════════════════════════ */

.hosting-section {
    background: var(--dark-index);
    padding: 6rem 1.5rem;
    position: relative;
    overflow: hidden;
}

/* Glow decorativo de fundo */
.hosting-section::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    pointer-events: none;
}

/* ── Section Header ─────────────────────────────────── */
.hosting-header {
    text-align: left;
    margin-bottom: 3.5rem;
}

.hosting-header .section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
}

.hosting-header .section-sub {
    font-size: 0.9rem;
    color: var(--muted);
    max-width: 680px;
    margin: 0;
    line-height: 1.6;
}

.hosting-header .eyebrow {
    margin-bottom: 1rem;
}
.hosting-assurances {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: -1.5rem 0 2.5rem;
    border: 1px solid var(--border);
    background: #07100a;
}
.hosting-assurances span {
    padding: 0.9rem 1rem;
    border-right: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 700;
    text-align: center;
}
.hosting-assurances span:last-child {
    border: 0;
}
.hosting-platform {
    padding: clamp(4.5rem, 8vw, 7rem) 0;
    border-top: 1px solid var(--border);
    background: #07100a;
}
.hosting-platform-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(3rem, 9vw, 8rem);
}
.hosting-platform h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.06;
    letter-spacing: -0.045em;
}
.hosting-platform-list {
    border-top: 1px solid var(--border-s);
}
.hosting-platform-list article {
    display: grid;
    grid-template-columns: 2.5rem 1fr;
    gap: 1rem;
    padding: 1.4rem 0;
    border-bottom: 1px solid var(--border);
}
.hosting-platform-list strong {
    color: var(--accent);
    font:
        700 0.7rem ui-monospace,
        monospace;
}
.hosting-platform-list span {
    color: var(--muted);
    line-height: 1.55;
}
.hosting-platform-list b {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--text);
}

/* ── Plans Grid ─────────────────────────────────────── */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
    gap: 1.25rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: stretch;
}

/* ── Plan Card ──────────────────────────────────────── */
.plan-card {
    min-width: 0;
    min-height: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition:
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.plan-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.plan-card:hover {
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-4px);
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(139, 92, 246, 0.05);
}

.plan-card:hover::before {
    opacity: 1;
}

/* Card destaque */
.plan-card.plan-highlighted {
    border-color: rgba(139, 92, 246, 0.4);
    background: rgba(139, 92, 246, 0.025);
    box-shadow: 0 0 50px rgba(139, 92, 246, 0.08);
}

.plan-card.plan-highlighted::before {
    opacity: 1;
}

/* ── Card Header ────────────────────────────────────── */
.plan-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.plan-icon {
    width: 48px;
    height: 48px;
    border-radius: 0.5rem;
    background: var(--accent-d);
    border: 1px solid rgba(139, 92, 246, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.plan-image {
    object-fit: contain;
    background: transparent;
    padding: 0;
    filter: drop-shadow(0 2px 6px rgba(139, 92, 246, 0.16));
}

.plan-label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: var(--dim);
    text-transform: uppercase;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0.15rem 0;
    white-space: nowrap;
}

.plan-label::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}

.plan-highlighted .plan-label {
    color: var(--accent);
}

.plan-highlighted .plan-label::before {
    background: var(--accent);
    box-shadow: 0 0 6px var(--accent);
}

/* ── Plan Name & Description ────────────────────────── */
.plan-name {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 0.55rem;
    color: var(--White-title, #fff);
}

.plan-description {
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.55;
    margin-bottom: 1.25rem;
    flex: 1;
}

/* ── Features list ──────────────────────────────────── */
.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 1.25rem;
    padding: 0;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.plan-features li {
    min-width: 0;
    font-size: 0.75rem;
    color: rgba(200, 255, 220, 0.7);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features li strong {
    color: rgba(255, 255, 255, 0.45);
    font-weight: 600;
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}

.plan-features li:not(:has(strong)) {
    justify-content: flex-start;
}

/* ── Divider ────────────────────────────────────────── */
.plan-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 1.25rem;
}

/* ── Footer: price + CTA ────────────────────────────── */
.plan-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin-top: auto;
}

.plan-pricing {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
    flex: 1 1 150px;
}

.plan-pricing-label {
    font-size: 0.6rem;
    color: var(--dim);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.plan-pricing-value {
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
}

.plan-pricing-value .amount {
    color: var(--accent);
    font-size: 1.3rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1;
}

.plan-checkout-form {
    flex: 1 1 150px;
}

.plan-checkout-form .btn {
    width: 100%;
    min-height: 42px;
    padding-inline: 1rem;
}

@media (max-width: 760px) {
    .hosting-section {
        padding-block: 4.5rem;
    }

    .plan-card {
        border-radius: 12px;
        padding: 1.35rem;
    }
    .hosting-assurances {
        grid-template-columns: 1fr 1fr;
    }
    .hosting-assurances span:nth-child(2) {
        border-right: 0;
    }
    .hosting-assurances span:nth-child(-n + 2) {
        border-bottom: 1px solid var(--border);
    }
    .hosting-platform-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {
    .plan-card-header,
    .plan-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .plan-label {
        width: fit-content;
        max-width: 100%;
        white-space: normal;
    }
}

.plan-pricing-value .period {
    color: var(--dim);
    font-size: 0.7rem;
}

/* ── Empty State ────────────────────────────────────── */
.plans-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--muted);
    grid-column: 1 / -1;
}

.plans-empty h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--White-title, #fff);
}

.plans-empty p {
    font-size: 0.85rem;
}
