/* =========================================================================
   PRICING SECTION
   =========================================================================
   Loaded by index.html and en/index.html only. Kept out of site.css on
   purpose: that file is the approved landing design and the README asks for it
   to stay untouched, so anything new lives beside it and reuses its tokens
   (--primary, --border, --card-bg, --radius-*, --text-soft) rather than
   restating them.

   Everything here builds on .feature-box from site.css — same border, blur and
   hover lift as every other card on the page — and only adds what a four-up
   price grid needs that a three-up feature grid does not.
   ========================================================================= */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 52px;
    /* Stretch, so a tier with fewer lines still reaches the same baseline as
       its neighbours. A ragged bottom edge on a price table reads as an
       oversight rather than as a shorter list. */
    align-items: stretch;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    padding: 30px 26px;
    border-radius: var(--radius-md);
    background: var(--card-bg);
}

/* The tier one row of the page is meant to land on. Lifted with the same
   accent the rest of the site uses for emphasis, not with a different colour. */
.pricing-card.is-featured {
    border-color: rgba(0, 242, 255, 0.45);
    background: linear-gradient(135deg, rgba(0, 242, 255, 0.08), rgba(112, 0, 255, 0.06));
    box-shadow: var(--shadow-glow);
}

.pricing-card h3 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.24rem;
}

.pricing-tagline {
    margin: 8px 0 0;
    min-height: 2.8em;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.pricing-price {
    margin: 20px 0 4px;
    color: var(--text-white);
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
}

.pricing-seats {
    margin: 0;
    color: var(--primary);
    font-size: 0.92rem;
    font-weight: 600;
}

/* Yearly offer, inserted after .pricing-price only when the live catalog
   (assets/js/pricing.js) reports one. Absent by default in the static
   markup, so it must not force space when unused. */
.pricing-price-yearly {
    margin: 0 0 4px;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.pricing-card .mini-list {
    flex: 1;
    margin-top: 22px;
    /* .mini-list is a grid, so flex:1 would stretch its rows to fill the card
       and a four-item tier would sit at double the line spacing of an
       eight-item one. Pack the items and let the growth land as empty space
       below them, which is what keeps the buttons on one line. */
    align-content: start;
}

.pricing-card .mini-list li {
    font-size: 0.92rem;
}

/* Roadmap lines. Deliberately dimmer and marked in the text as well as in the
   styling: colour alone must not be the thing that tells somebody an item is
   not built yet. */
.pricing-soon {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px dashed var(--border);
    color: var(--text-muted);
    font-size: 0.84rem;
    line-height: 1.6;
}

.pricing-card .btn-glow,
.pricing-card .btn-secondary {
    margin-top: 24px;
    text-align: center;
}

.pricing-note {
    max-width: 860px;
    margin: 44px auto 0;
    padding: 22px 26px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-soft);
    font-size: 0.92rem;
    line-height: 1.7;
}

.pricing-note strong {
    color: var(--text-white);
}

@media (max-width: 1100px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-tagline {
        min-height: 0;
    }
}
