/* Static IP landing page (page-static-ip.php, .sx-lp). Builds on stospn-routers.css (.sx-rt)
 * and stospn-url.css (.sx-url: widths, node colours, trial strip, icons). Only this page's
 * parts are here: yearly plan cards, the comparison table and small notes. */

.sx-lp .sx-lp-note {
    margin: 18px auto 0 !important; font-size: 0.85rem; color: var(--rt-muted);
    font-family: 'JetBrains Mono', ui-monospace, monospace !important; letter-spacing: 0.3px;
}
.sx-lp .sx-lp-center { text-align: center; }

/* Yearly plan cards */
.sx-lp-plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.sx-lp .sx-lp-plan {
    position: relative; display: flex; flex-direction: column; gap: 14px; overflow: hidden;
    padding: 22px 22px 26px; border-radius: 14px;
    background: var(--rt-card); border: 1px solid var(--rt-line);
    color: var(--rt-text) !important; text-decoration: none !important;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.sx-lp .sx-lp-plan:hover { border-color: rgba(0, 240, 255, 0.45); box-shadow: 0 0 22px rgba(0, 240, 255, 0.16); transform: translateY(-2px); }
.sx-lp .sx-lp-plan.is-out { opacity: 0.6; }
.sx-lp-head { display: flex; align-items: center; gap: 14px; }
.sx-lp-plan:nth-child(even) .sx-url-code { color: #C9A4FF; background: rgba(168, 85, 247, 0.08); border-color: rgba(168, 85, 247, 0.4); text-shadow: 0 0 10px rgba(168, 85, 247, 0.6); }
.sx-lp-place { flex: 1; min-width: 0; }
.sx-lp-place strong { display: block; font-family: 'Orbitron', 'Segoe UI', sans-serif !important; font-size: 1rem; letter-spacing: 0.5px; }
.sx-lp-place small { display: block; color: var(--rt-muted); font-size: 0.85rem; }
.sx-lp-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.sx-lp-price b {
    font-family: 'Orbitron', 'Segoe UI', sans-serif !important; font-size: 1.9rem; font-weight: 800;
    color: var(--rt-green); text-shadow: 0 0 12px rgba(0, 255, 156, 0.35); line-height: 1.1;
}
.sx-lp-price small { font-size: 0.85rem; color: var(--rt-muted); }
.sx-lp-price.sx-url-out { align-self: flex-start; }
.sx-lp-per { font-size: 0.88rem; color: var(--rt-muted); }
.sx-lp-go {
    margin-top: auto; font-family: 'Orbitron', 'Segoe UI', sans-serif !important; font-weight: 700;
    font-size: 0.8rem; letter-spacing: 1px; text-transform: uppercase; color: var(--rt-cyan);
}

/* Comparison table: 3 columns on computers, one card per row on phones */
.sx-lp-compare {
    max-width: 980px !important; border-radius: 14px; border: 1px solid rgba(0, 240, 255, 0.18);
    box-shadow: 0 0 28px rgba(168, 85, 247, 0.12); background: var(--rt-card); overflow: hidden;
}
.sx-lp-compare table { width: 100% !important; table-layout: fixed; border-collapse: collapse; margin: 0 !important; border: 0 !important; background: transparent; }
.sx-lp-compare th, .sx-lp-compare td {
    border: 0 !important; border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    padding: 18px 18px !important; text-align: left; vertical-align: middle;
    font-size: 0.92rem; line-height: 1.5; color: #d6d8e4; background: transparent;
}
.sx-lp-compare thead th {
    background: linear-gradient(90deg, rgba(0, 240, 255, 0.10), rgba(168, 85, 247, 0.10)) !important;
    font-family: 'JetBrains Mono', ui-monospace, monospace !important;
    color: var(--rt-cyan) !important; font-size: 0.72rem !important; font-weight: 600;
    letter-spacing: 1.2px; text-transform: uppercase;
}
.sx-lp-compare th:nth-child(1) { width: 26%; }
.sx-lp-compare tbody tr:last-child td { border-bottom: 0 !important; }
.sx-lp-compare td:first-child { font-family: 'Orbitron', 'Segoe UI', sans-serif !important; font-size: 0.9rem; color: #fff; letter-spacing: 0.4px; }
.sx-lp-compare td:nth-child(2) { color: var(--rt-muted); }
.sx-lp-compare td:nth-child(3) { color: var(--rt-green); font-weight: 600; }

/* Labels inside cells show only on phones */
.sx-lp .sx-lp-lbl { display: none; }

@media (max-width: 760px) {
    .sx-lp-plans { grid-template-columns: 1fr; }
    .sx-lp .sx-lp-plan { padding: 18px 16px 22px; }
    .sx-lp-price b { font-size: 1.6rem; }
    .sx-lp-compare thead { display: none; }
    .sx-lp-compare table, .sx-lp-compare tbody, .sx-lp-compare tr, .sx-lp-compare td { display: block; width: 100% !important; }
    .sx-lp-compare tr { padding: 14px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
    .sx-lp-compare tbody tr:last-child { border-bottom: 0; }
    .sx-lp-compare td { border: 0 !important; padding: 4px 0 !important; }
    .sx-lp-compare td:first-child { padding-bottom: 8px !important; }
    .sx-lp .sx-lp-lbl {
        display: block; margin-bottom: 2px;
        font-family: 'JetBrains Mono', ui-monospace, monospace !important; font-size: 0.68rem;
        letter-spacing: 1px; text-transform: uppercase; color: var(--rt-muted); font-weight: 400;
    }
}

/* Arabic (RTL): table text starts on the right */
[dir="rtl"] .sx-lp-compare th, [dir="rtl"] .sx-lp-compare td { text-align: right; }
