/* Server plan cards (egphpServerCard, inc/pricing.php) for the pages that list one or two server
   lines: vps.php and cloud.php. Copied 2026-10-08 from the <style> of dedicated.php, which keeps its
   own copy: a change to the cards there should be made here too. */
.servers-section {
    padding-block: clamp(64px, 7vw, 96px);
    background: var(--dark);
}

.servers-section.alt {
    background: linear-gradient(135deg, var(--dark-light) 0%, var(--dark) 100%);
}

.servers-grid {
    /* Families run 3-7 cards. Flex with a capped card and a centred last row: a grid left the fourth card alone in the
       left third, or two cards and a hole (visual review, 2026-09-29). */
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 30px;
}
.servers-grid > * { flex: 1 1 290px; max-width: 440px; min-width: 0; }

.server-card {
    background: linear-gradient(135deg, var(--surface-a80) 0%, var(--bg-alt-a80) 100%);
    border: 1px solid var(--tint-10);
    border-radius: 24px;
    padding: clamp(18px, 5vw, 40px) clamp(16px, 4vw, 30px);
    position: relative;
    overflow: hidden;
    transition: color var(--dur-2, 240ms) ease, background-color var(--dur-2, 240ms) ease, border-color var(--dur-2, 240ms) ease, box-shadow var(--dur-2, 240ms) ease, transform var(--dur-2, 240ms) var(--ease-out, ease-out), opacity var(--dur-2, 240ms) ease;
}

.server-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.server-card:hover {
    transform: translateY(-10px);
    border-color: rgba(53, 160, 143, 0.3);
}

.server-card:hover::before {
    transform: scaleX(1);
}

.server-card.featured {
    border-color: var(--secondary);
    background: linear-gradient(135deg, rgba(53, 160, 143, 0.15) 0%, var(--surface-a80) 100%);
}

.server-card.featured::before {
    transform: scaleX(1);
}

.server-badge {
    /* A rotated corner banner has to overflow the card to look right,
       and overflowing pokes past the page gutter on a phone. A flat
       pill sits inside the card and needs no clipping. */
    position: absolute;
    top: 14px;
    inset-inline-end: 14px;
    background: var(--patina-500);
    color: var(--ink-950);
    padding: 5px 12px;
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.09em;
    font-weight: 600;
    transform: none;
    line-height: 1;
    text-transform: uppercase;
}

.server-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--ink-950);
    margin-bottom: 20px;
}

.server-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.server-subtitle {
    color: var(--gray-500);
    font-size: 13px;
    margin-bottom: 20px;
}

.server-price {
    margin-bottom: 25px;
}

.server-price .amount {
    font-size: 42px;
    font-weight: 900;
    background: var(--grad-patina);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.server-price .currency {
    font-size: 18px;
    color: var(--gray-400);
}

.server-price .period {
    font-size: 14px;
    color: var(--gray-500);
}

.server-specs {
    list-style: none;
    margin-bottom: 30px;
}

.server-specs li {

    position: relative;
    padding: 12px 0;
    border-bottom: 1px solid var(--tint-05);
    color: var(--gray-300);
    font-size: 14px;

    padding-left: 28px;

}

.server-specs li::before {

    content: '';

    position: absolute;

    left: 4px;

    top: 1.05em;

    width: 6px;

    height: 6px;

    border-radius: 50%;

    background: var(--ok-ink);

}

.server-specs li:has(> i)::before { display: none; }

.server-specs li > i { position: absolute; left: 0; top: 1em; }

.server-specs li:last-child {
    border-bottom: none;
}

.server-specs li i {
    color: var(--ok-ink);
    width: 20px;
    font-size: 12px;
}

.server-specs li strong {
    color: var(--white);
}

