:root {
    --ah-text: #0f172a;
    --ah-muted: #64748b;
    --ah-border: #dbeafe;
    --ah-surface: #f8fafc;
    --ah-primary: #7c3aed;
    --ah-blue: #3b82f6;
    --ah-cta: #06d6a0;
}

* {
    box-sizing: border-box;
}

body.pricing-public {
    background:
        radial-gradient(circle at 25% 8%, rgba(124, 58, 237, 0.12), transparent 26rem),
        radial-gradient(circle at 78% 18%, rgba(6, 214, 160, 0.14), transparent 22rem),
        #ffffff;
    color: var(--ah-text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    margin: 0;
}

.pricing-nav,
.pricing-hero,
.pricing-grid,
.pricing-section,
.pricing-faq {
    margin-inline: auto;
    max-width: 1180px;
    width: min(calc(100% - 2rem), 1180px);
}

.pricing-nav {
    align-items: center;
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
    padding: 1.35rem 0;
}

.pricing-brand {
    align-items: center;
    color: var(--ah-text);
    display: inline-flex;
    font-size: 1.25rem;
    font-weight: 900;
    gap: 0.7rem;
    text-decoration: none;
}

.pricing-brand span {
    white-space: nowrap;
}

.pricing-brand img {
    height: 2.4rem;
    width: 2.4rem;
}

.pricing-btn__short {
    display: none;
}

.pricing-btn__full {
    display: inline;
    white-space: nowrap;
}

.pricing-nav nav,
.pricing-nav__actions,
.pricing-footer nav {
    align-items: center;
    display: flex;
    gap: 1rem;
}

.pricing-nav a,
.pricing-footer a {
    color: #334155;
    font-size: 0.94rem;
    font-weight: 800;
    text-decoration: none;
}

.pricing-link {
    color: var(--ah-text) !important;
}

.pricing-btn {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.95rem;
    font-weight: 900;
    justify-content: center;
    min-height: 2.9rem;
    padding: 0.8rem 1.25rem;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.pricing-btn:hover {
    transform: translateY(-1px);
}

.pricing-btn--primary {
    background: var(--ah-cta);
    box-shadow: 0 14px 28px rgba(6, 214, 160, 0.24);
    color: #052e24;
}

.pricing-btn--secondary {
    background: #ffffff;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
}

.pricing-hero {
    padding: 5rem 0 3.2rem;
    text-align: center;
}

.pricing-eyebrow {
    color: var(--ah-cta);
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 1000;
    letter-spacing: 0.12em;
    margin-bottom: 0.85rem;
    text-transform: uppercase;
}

.pricing-hero h1 {
    font-size: clamp(2.4rem, 5vw, 4.6rem);
    letter-spacing: -0.06em;
    line-height: 0.98;
    margin: 0 auto;
    max-width: 940px;
}

.pricing-hero p {
    color: var(--ah-muted);
    font-size: 1.12rem;
    line-height: 1.7;
    margin: 1.2rem auto 0;
    max-width: 720px;
}

.pricing-toggle {
    align-items: center;
    background: #e2e8f0;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    display: inline-flex;
    gap: 0.35rem;
    margin-top: 2rem;
    padding: 0.35rem;
}

.pricing-toggle span,
.pricing-toggle strong {
    border-radius: 999px;
    color: #334155;
    display: inline-flex;
    gap: 0.45rem;
    padding: 0.65rem 1.35rem;
}

.pricing-toggle strong {
    background: #ffffff;
    color: var(--ah-text);
}

.pricing-toggle small {
    color: var(--ah-blue);
}

.pricing-grid {
    align-items: stretch;
    display: grid;
    gap: 1.2rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-bottom: 3rem;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #cbd5e1;
    border-radius: 26px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    min-height: 35rem;
    padding: 1.65rem;
    position: relative;
}

.pricing-card--featured {
    border-color: var(--ah-primary);
    box-shadow: 0 26px 70px rgba(124, 58, 237, 0.18);
}

.pricing-card__badge {
    background: linear-gradient(90deg, var(--ah-primary), var(--ah-blue), var(--ah-cta));
    border-radius: 999px;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 1000;
    left: 1.25rem;
    letter-spacing: 0.08em;
    padding: 0.45rem 0.8rem;
    position: absolute;
    right: 1.25rem;
    text-align: center;
    text-transform: uppercase;
    top: -0.95rem;
}

.pricing-card__head h2 {
    font-size: 1.6rem;
    letter-spacing: -0.04em;
    margin: 1rem 0 0.65rem;
}

.pricing-card__head p {
    color: var(--ah-muted);
    line-height: 1.55;
}

.pricing-card__seats {
    margin: 0.6rem 0 0.25rem 0;
    display: flex;
    align-items: center;
}

.pricing-seats-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.8rem;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #334155;
    letter-spacing: -0.01em;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.pricing-seats-icon {
    width: 15px;
    height: 15px;
    color: var(--ah-primary, #7c3aed);
    flex-shrink: 0;
}

.pricing-card--featured .pricing-seats-badge {
    background: #f5f3ff;
    border-color: #ddd6fe;
    color: #5b21b6;
}

.pricing-card--featured .pricing-seats-icon {
    color: #7c3aed;
}

.pricing-card__price {
    align-items: baseline;
    display: flex;
    gap: 0.35rem;
    margin: 1.2rem 0 0.25rem;
}

.pricing-card__price span,
.pricing-card__price small {
    color: var(--ah-muted);
}

.pricing-card__price strong {
    font-size: 2.6rem;
    letter-spacing: -0.06em;
}

.pricing-card .pricing-btn {
    margin: 1.4rem 0;
    width: 100%;
}

.pricing-card__features {
    display: grid;
    gap: 0.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pricing-card__features li {
    color: #1f2a44;
    font-weight: 700;
    line-height: 1.45;
    padding-left: 1.45rem;
    position: relative;
}

.pricing-card__features li::before {
    color: var(--ah-primary);
    content: "✓";
    font-weight: 1000;
    left: 0;
    position: absolute;
}

.pricing-section,
.pricing-faq {
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.06);
    margin-bottom: 2rem;
    padding: 2rem;
}

.pricing-section h2,
.pricing-faq h2 {
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    letter-spacing: -0.04em;
    margin: 0 0 0.8rem;
}

.pricing-section p,
.pricing-faq p {
    color: var(--ah-muted);
    line-height: 1.7;
}

.pricing-comparison {
    border: 1px solid #dbeafe;
    border-radius: 22px;
    margin-top: 1.5rem;
    overflow-x: auto;
}

.pricing-comparison table {
    border-collapse: collapse;
    min-width: 720px;
    width: 100%;
}

.pricing-comparison th,
.pricing-comparison td {
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem;
    text-align: center;
}

.pricing-comparison tr:last-child th,
.pricing-comparison tr:last-child td {
    border-bottom: 0;
}

.pricing-comparison thead th {
    background: #f8fafc;
    color: #334155;
    font-size: 0.78rem;
    font-weight: 1000;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pricing-comparison th:first-child {
    color: var(--ah-text);
    text-align: left;
}

.pricing-check {
    align-items: center;
    background: rgba(6, 214, 160, 0.14);
    border-radius: 999px;
    color: #047857;
    display: inline-flex;
    font-weight: 1000;
    height: 1.75rem;
    justify-content: center;
    width: 1.75rem;
}

.pricing-dash {
    color: #94a3b8;
    font-weight: 900;
}

.pricing-faq {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
}

.pricing-faq details {
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 1rem;
}

.pricing-faq summary {
    cursor: pointer;
    font-weight: 900;
}

.pricing-footer {
    position: relative;
    width: 100%;
    margin-top: 4rem;
    margin-bottom: 0;
    padding: 2.25rem 0 2rem;
    background: #ffffff;
    border-top: 0;
    box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.03);
    color: var(--ah-muted);
}

.pricing-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0ea5e9 0%, #7c3aed 50%, #06d6a0 100%);
}

.pricing-footer__inner {
    margin-inline: auto;
    max-width: 1180px;
    width: min(calc(100% - 2.5rem), 1180px);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.pricing-footer__brand {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.pricing-footer__brand .pricing-brand {
    font-size: 1.15rem;
}

.pricing-footer__desc {
    margin: 0;
    font-size: 0.83rem;
    color: #64748b;
    font-weight: 500;
}

.pricing-footer__links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.65rem;
}

.pricing-footer nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.pricing-footer nav a {
    color: #334155;
    font-size: 0.88rem;
    font-weight: 700;
    transition: color 0.15s ease;
}

.pricing-footer nav a:hover {
    color: #0284c7;
}

.pricing-footer__copy {
    font-size: 0.76rem;
    color: #94a3b8;
    font-weight: 500;
}

@media (max-width: 940px) {
    .pricing-faq {
        align-items: flex-start;
        flex-direction: column;
        grid-template-columns: 1fr;
    }

    .pricing-nav nav {
        display: none;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .pricing-footer__inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.25rem;
    }

    .pricing-footer__brand {
        align-items: center;
    }

    .pricing-footer__links {
        align-items: center;
    }

    .pricing-footer nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.85rem;
    }
}

@media (max-width: 560px) {
    .pricing-btn__full {
        display: none;
    }

    .pricing-btn__short {
        display: inline;
        white-space: nowrap;
    }

    .pricing-brand span {
        white-space: nowrap;
    }

    .pricing-nav {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0.35rem;
        padding: 0.85rem 0;
    }

    .pricing-brand {
        font-size: 1rem;
        gap: 0.4rem;
    }

    .pricing-brand img {
        height: 1.9rem;
        width: 1.9rem;
    }

    .pricing-nav__actions {
        align-items: center;
        flex-direction: row;
        gap: 0.3rem;
        width: auto;
    }

    .pricing-btn {
        width: auto;
        min-height: 2.1rem;
        padding: 0.38rem 0.7rem;
        font-size: 0.78rem;
    }

    .pricing-link {
        font-size: 0.8rem;
        padding: 0.3rem 0.4rem;
    }
}
