:root {
    --bg: #070b1f;
    --panel: #101936;
    --line: rgba(130, 188, 255, 0.24);
    --text: #edf4ff;
    --muted: #9fb1d3;
    --ok: #7bf2cd;
    --warn: #f4d56e;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: radial-gradient(circle at top right, #1d2f63 0%, #0a1230 40%, #060a1c 100%);
    color: var(--text);
}

.pricing-shell {
    max-width: 1120px;
    margin: 0 auto;
    padding: 32px 22px 40px;
}

.pricing-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 20px;
}

.pricing-head h1 {
    margin: 0 0 8px;
    font-size: clamp(28px, 4vw, 44px);
}

.pricing-head p {
    margin: 0;
    color: var(--muted);
}

.plan-pill {
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(11, 19, 46, 0.7);
    padding: 8px 12px;
    font-weight: 700;
    color: var(--ok);
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 14px;
    align-items: stretch;
}

.card {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(19, 32, 74, 0.88), rgba(9, 14, 34, 0.94));
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 560px;
}

.card.current {
    border-color: rgba(123, 242, 205, 0.5);
    box-shadow: 0 0 0 1px rgba(123, 242, 205, 0.15) inset;
}

.card-head {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.card .name { font-size: 20px; font-weight: 700; }
.card .price { font-size: 32px; font-weight: 800; }
.card .hint { color: var(--muted); font-size: 13px; }
.feature-scroll {
    border: 1px solid rgba(130, 188, 255, 0.2);
    border-radius: 10px;
    background: rgba(10, 19, 46, 0.55);
    padding: 10px 10px 2px;
    max-height: 360px;
    overflow-y: auto;
    scrollbar-width: thin;
}
.feat-section {
    margin-bottom: 10px;
    padding: 8px;
    border: 1px solid rgba(130, 188, 255, 0.16);
    border-radius: 8px;
    background: rgba(11, 18, 43, 0.45);
}
.feat-title {
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #9fb1d3;
    margin-bottom: 6px;
    font-weight: 700;
}
.feat-row {
    display: grid;
    grid-template-columns: 18px 1fr auto;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    line-height: 1.3;
    margin-bottom: 6px;
}
.feat-row:last-child {
    margin-bottom: 0;
}
.feat-mark {
    font-weight: 800;
}
.feat-row.on .feat-mark { color: #10b981; }
.feat-row.off .feat-mark { color: #ef4444; }
.feat-row.on .feat-name { color: #d8e5ff; }
.feat-row.off .feat-name { color: #ffb6bc; }
.feat-value {
    color: #b9c8ea;
    font-weight: 700;
}
.plan-note {
    margin: auto 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

.foot-note {
    margin-top: 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(8, 14, 34, 0.8);
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.btn-pro {
    border: 1px solid rgba(244, 213, 110, 0.45);
    color: var(--warn);
    background: rgba(34, 25, 6, 0.75);
    border-radius: 10px;
    padding: 10px 12px;
    font-weight: 700;
    cursor: pointer;
}

.btn-pro:hover { filter: brightness(1.1); }

@media (max-width: 900px) {
    .card {
        min-height: 500px;
    }
    .feature-scroll {
        max-height: 300px;
    }
}
