/*  /assets/css/plans.css  */

.plans-wrap { max-width: 1060px; margin: 0 auto; padding: 0 0 60px; }


.plans-hero {
    text-align: center;
    padding: 40px 20px 32px;
}
.plans-hero h1 { font-size: 2rem; font-weight: 800; color: #8ef6ff; margin: 0 0 10px; }
.plans-hero p  { color: var(--muted, #9aa3af); font-size: 1rem; margin: 0; }

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.plan-card {
    background: var(--bg-2, #141414);
    border: 1px solid var(--border-2, #222);
    border-radius: 16px;
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    transition: border-color .2s, transform .15s;
}

.plan-card:hover {
    border-color: rgba(0,255,213,.3);
    transform: translateY(-2px);
}

.plan-card.plan-active-card {
    border-color: rgba(0,255,213,.4);
    box-shadow: 0 0 0 2px rgba(0,255,213,.12);
}

.plan-active-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #00ffd5;
    color: #0e0e0e;
    font-size: .72rem;
    font-weight: 800;
    padding: 3px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

.plan-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
}

.plan-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: #8ef6ff;
}

.plan-price {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--text-0, #fff);
    line-height: 1;
}

.plan-price span {
    font-size: .82rem;
    font-weight: 400;
    color: var(--muted, #9aa3af);
    margin-left: 3px;
}

.plan-desc {
    font-size: .88rem;
    color: var(--muted, #9aa3af);
    line-height: 1.5;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 6px;
}

.plan-features li {
    font-size: .85rem;
    color: var(--text-2, #ccc);
    padding-left: 20px;
    position: relative;
    line-height: 1.4;
}

.plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #6ee7b7;
    font-weight: 700;
}

.plan-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.plan-tool-chip {
    background: rgba(0,255,213,.07);
    border: 1px solid rgba(0,255,213,.15);
    border-radius: 8px;
    padding: 3px 10px;
    font-size: .78rem;
    color: #8ef6ff;
}

.plan-trial-note {
    font-size: .78rem;
    color: #fbbf24;
    background: rgba(251,191,36,.08);
    border: 1px solid rgba(251,191,36,.18);
    border-radius: 6px;
    padding: 5px 10px;
}

.plan-cta {
    display: block;
    text-align: center;
    padding: 13px 16px;
    background: #0b2830;
    color: #8ef6ff;
    border: 1px solid rgba(0,255,213,.25);
    border-radius: 10px;
    font-weight: 700;
    font-size: .92rem;
    text-decoration: none;
    margin-top: auto;
    transition: background .15s, border-color .15s;
}

.plan-cta:hover { background: #0e3540; border-color: rgba(0,255,213,.5); text-decoration: none; }
.plan-cta.plan-cta-active { background: rgba(0,255,213,.1); color: #8ef6ff; cursor: default; border-color: rgba(0,255,213,.3); }

.plans-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--muted, #9aa3af);
}

@media (max-width: 600px) {
    .plans-hero h1 { font-size: 1.5rem; }
    .plans-grid    { grid-template-columns: 1fr; }
}


/* Credits row inside plan card */
.plan-credits-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(0,255,213,.06);
    border: 1px solid rgba(0,255,213,.18);
    border-radius: 10px;
    padding: 10px 12px;
}

.plan-credits-icon {
    font-size: 1.2rem;
    line-height: 1;
    margin-top: 1px;
}

.plan-credits-amount {
    font-size: .9rem;
    font-weight: 800;
    color: #00ffd5;
    line-height: 1.2;
}

.plan-credits-sub {
    font-size: .75rem;
    color: var(--muted, #9aa3af);
    margin-top: 2px;
}

/* Top-up notice below the grid */
.plans-topup-notice {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 36px;
    background: rgba(142,246,255,.04);
    border: 1px solid rgba(142,246,255,.14);
    border-radius: 14px;
    padding: 20px 24px;
}

.plans-topup-icon {
    font-size: 1.6rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.plans-topup-title {
    font-size: .95rem;
    font-weight: 800;
    color: #8ef6ff;
    margin-bottom: 5px;
}

.plans-topup-text {
    font-size: .85rem;
    color: var(--muted, #9aa3af);
    line-height: 1.55;
}

.plans-topup-link {
    display: inline-block;
    margin-top: 10px;
    font-size: .85rem;
    font-weight: 700;
    color: #8ef6ff;
    text-decoration: none;
    border-bottom: 1px solid rgba(142,246,255,.3);
    padding-bottom: 1px;
    transition: border-color .15s;
}

.plans-topup-link:hover {
    border-color: #8ef6ff;
    text-decoration: none;
}

@media (max-width: 500px) {
    .plans-topup-notice { flex-direction: column; gap: 10px; }
}



/* ── Credits page ─────────────────────────────────────────── */

.credits-balance-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    background: rgba(0,255,213,.06);
    border: 1px solid rgba(0,255,213,.2);
    border-radius: 14px;
    padding: 18px 24px;
    margin-top: 4px;
}

.credits-balance-label {
    font-size: .78rem;
    color: var(--muted, #9aa3af);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.credits-balance-val {
    font-size: 2rem;
    font-weight: 800;
    color: #00ffd5;
    line-height: 1;
}

.credits-balance-val span {
    font-size: .9rem;
    font-weight: 400;
    color: var(--muted, #9aa3af);
    margin-left: 4px;
}

.credits-plan-chip {
    background: rgba(0,255,213,.1);
    border: 1px solid rgba(0,255,213,.25);
    border-radius: 999px;
    padding: 6px 16px;
    font-size: .82rem;
    font-weight: 700;
    color: #00ffd5;
    white-space: nowrap;
}

/* No plan banner */
.credits-no-plan-banner {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 20px;
    background: rgba(251,191,36,.05);
    border: 1px solid rgba(251,191,36,.25);
    border-radius: 14px;
    padding: 20px 24px;
}

.credits-no-plan-icon {
    font-size: 1.8rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.credits-no-plan-title {
    font-size: .95rem;
    font-weight: 800;
    color: #fbbf24;
    margin-bottom: 6px;
}

.credits-no-plan-text {
    font-size: .85rem;
    color: var(--muted, #9aa3af);
    line-height: 1.55;
    margin-bottom: 12px;
}

.credits-no-plan-cta {
    display: inline-block;
    background: #fbbf24;
    color: #0e0e0e;
    font-weight: 800;
    font-size: .88rem;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: opacity .15s;
}

.credits-no-plan-cta:hover {
    opacity: .88;
    text-decoration: none;
}

/* Locked CTA button */
.credits-cta-locked {
    display: block;
    text-align: center;
    padding: 13px 16px;
    background: rgba(251,191,36,.07);
    color: #fbbf24;
    border: 1px solid rgba(251,191,36,.2);
    border-radius: 10px;
    font-weight: 700;
    font-size: .92rem;
    margin-top: auto;
    cursor: pointer;
    transition: background .15s;
}

.credits-cta-locked:hover {
    background: rgba(251,191,36,.12);
}

/* Contact footer */
.credits-contact-footer {
    margin-top: 48px;
    padding: 28px 24px;
    background: var(--bg-2, #141414);
    border: 1px solid var(--border-2, #222);
    border-radius: 14px;
    text-align: center;
}

.credits-contact-title {
    font-size: 1rem;
    font-weight: 800;
    color: #8ef6ff;
    margin-bottom: 6px;
}

.credits-contact-text {
    font-size: .85rem;
    color: var(--muted, #9aa3af);
    margin-bottom: 16px;
}

.credits-contact-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.credits-contact-link {
    font-size: .88rem;
    font-weight: 600;
    color: #8ef6ff;
    text-decoration: none;
    border-bottom: 1px solid rgba(142,246,255,.25);
    padding-bottom: 2px;
    transition: border-color .15s;
}

.credits-contact-link:hover {
    border-color: #8ef6ff;
    text-decoration: none;
}

@media (max-width: 500px) {
    .credits-balance-bar    { flex-direction: column; align-items: flex-start; }
    .credits-no-plan-banner { flex-direction: column; gap: 10px; }
    .credits-contact-links  { flex-direction: column; align-items: center; }
}

/* ── ADD THESE BLOCKS TO /assets/css/plans.css  (append at end) ── */

/* Hero badge */
.plans-hero-badge {
    display: inline-block;
    background: rgba(0,255,213,.1);
    border: 1px solid rgba(0,255,213,.25);
    color: #00ffd5;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
}

/* Override the generic hero h1 for the new wording */
.plans-hero h1 {
    font-size: 2.25rem;
    line-height: 1.15;
}

@media (max-width: 600px) {
    .plans-hero h1 { font-size: 1.6rem; }
}

/* ── Benefit tabs ───────────────────────────────────────── */
.plans-benefits-wrap {
    margin: 0 0 36px;
    background: var(--bg-2, #141414);
    border: 1px solid var(--border-2, #222);
    border-radius: 16px;
    overflow: hidden;
}

.plans-benefits-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border-bottom: 1px solid var(--border-2, #222);
    padding: 0 4px;
}

.pb-tab {
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--muted, #9aa3af);
    cursor: pointer;
    font-size: .82rem;
    font-weight: 700;
    padding: 14px 16px 11px;
    transition: color .15s, border-color .15s;
    white-space: nowrap;
}

.pb-tab:hover { color: #8ef6ff; }
.pb-tab.pb-tab-active {
    color: #8ef6ff;
    border-bottom-color: #8ef6ff;
}

.pb-panels { padding: 24px 28px; min-height: 110px; }

.pb-panel {
    display: none;
    align-items: flex-start;
    gap: 18px;
}

.pb-panel.pb-panel-active { display: flex; }

.pb-panel-icon {
    font-size: 2rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.pb-panel-title {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 7px;
}

.pb-panel-text {
    font-size: .875rem;
    color: var(--muted, #9aa3af);
    line-height: 1.6;
}

@media (max-width: 560px) {
    .plans-benefits-tabs { overflow-x: auto; flex-wrap: nowrap; }
    .pb-panels           { padding: 18px 16px; }
    .pb-panel            { flex-direction: column; gap: 10px; }
}

/* ── Discount / ref notices ─────────────────────────────── */
.plans-discount-notice,
.plans-ref-notice {
    border-radius: 10px;
    padding: 11px 18px;
    font-size: .875rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.plans-discount-notice {
    background: rgba(251,191,36,.07);
    border: 1px solid rgba(251,191,36,.25);
    color: #fbbf24;
}

.plans-ref-notice {
    background: rgba(0,255,213,.05);
    border: 1px solid rgba(0,255,213,.2);
    color: #8ef6ff;
}

/* Discount badge inside each card */
.plan-discount-badge {
    font-size: .78rem;
    color: #fbbf24;
    background: rgba(251,191,36,.08);
    border: 1px solid rgba(251,191,36,.18);
    border-radius: 6px;
    padding: 5px 10px;
    text-align: center;
}