/* Pricing uses the shared site typography, surfaces and button styles.
   Only comparison layout and pricing-specific details live here. */
.pricing-content {
    padding-top: 6.5rem;
    padding-bottom: 1.5rem;
}

.pricing-intro {
    max-width: 52rem;
}

.pricing-intro .usecase-hero__title {
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
}

.pricing-intro .usecase-hero__lead {
    margin-top: 0.5rem;
    max-width: 44rem;
    margin-bottom: 0;
}

.pricing-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 1.2rem 0 1rem;
}

.pricing-toolbar > p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #cbd5e1;
    font-size: 0.9rem;
    margin: 0;
}

.pricing-status-dot {
    width: 5px;
    height: 5px;
    background: #93c5fd;
    border-radius: 50%;
}

.pricing-toolbar__divider {
    color: #64748b;
    margin: 0 0.15rem;
}

.pricing-currency {
    display: inline-flex;
    padding: 3px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.6);
}

.pricing-currency__option {
    min-height: 36px;
    padding: 0.3rem 0.85rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #cbd5e1;
    font: inherit;
    font-size: 0.85rem;
    cursor: pointer;
    transition: color 150ms, background 150ms;
}

.pricing-currency__option.is-active {
    background: var(--bs-light);
    color: var(--bs-black);
}

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

.pricing-page .pricing-plan {
    padding: clamp(1.4rem, 2.5vw, 2rem);
    grid-template-rows: auto minmax(3.2em, auto) auto auto 1fr auto;
    gap: 0;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.3);
}

.pricing-page .pricing-plan--highlight {
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.18);
}

.pricing-page .pricing-plan--free {
    border-color: rgba(129, 140, 248, 0.75);
    box-shadow: 0 20px 65px rgba(79, 70, 229, 0.24);
}

.pricing-plan__free-badge {
    padding: 0.35rem 0.65rem;
    border: 1px solid rgba(165, 180, 252, 0.4);
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.18);
    color: #c7d2fe;
    font-size: 0.78rem;
    white-space: nowrap;
}

.pricing-free-label {
    font-size: clamp(2.2rem, 3.6vw, 2.75rem);
}

.pricing-plan__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    min-height: 2.5rem;
}

.pricing-page .pricing-plan__title {
    font-size: 1.65rem;
}

.pricing-plan__icon.usecase-card__icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.15rem;
    border-radius: 12px;
}

.pricing-page .pricing-plan__price {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    font-size: clamp(2.75rem, 4vw, 3.25rem);
    font-weight: 500;
    font-variant-numeric: lining-nums tabular-nums;
    line-height: 1.1;
    min-height: 3.6rem;
    margin: 1.15rem 0 1.4rem;
}

.pricing-period {
    color: #cbd5e1;
    font-size: 0.95rem;
    font-weight: 400;
}

.pricing-plan__action,
.pricing-enterprise__action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    white-space: normal;
}

.pricing-plan__action {
    width: 100%;
    min-height: 3.75rem;
}

.pricing-metrics {
    margin: 1.4rem 0 0;
}

.pricing-metric {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    font-size: 0.9rem;
    line-height: 1.5;
}

.pricing-metric dt {
    color: #cbd5e1;
    font-weight: 400;
    margin: 0;
}

.pricing-metric dd {
    flex-shrink: 0;
    max-width: 48%;
    margin: 0;
    color: #f8fafc;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.pricing-metric:last-child {
    border-bottom: 0;
}

.pricing-metric--crawl {
    align-items: center;
    min-height: 4.5rem;
}

.pricing-metric--crawl dt {
    max-width: 17ch;
    font-size: 0.85rem;
}

.pricing-metric--crawl dd {
    font-size: 0.85rem;
}

.pricing-note {
    color: #94a3b8;
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 1.25rem 0 2rem;
    text-align: center;
}

.pricing-page .pricing-enterprise {
    flex-wrap: nowrap;
    gap: 1.25rem;
    padding: 1.75rem 2rem;
    border-radius: 26px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.3);
}

.pricing-enterprise__icon {
    flex-shrink: 0;
}

.pricing-enterprise__copy {
    flex: 1;
}

.pricing-enterprise h2 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    color: #f8fafc;
    font-size: 1.5rem;
    margin: 0 0 0.6rem;
}

.pricing-enterprise h2 span {
    padding: 0.25rem 0.65rem;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 999px;
    color: #bfdbfe;
    font-size: 0.8rem;
    font-weight: 400;
}

.pricing-enterprise p {
    max-width: 37rem;
    margin: 0;
    color: #cbd5e1;
    font-size: 0.96rem;
    line-height: 1.6;
}

.pricing-enterprise__features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    padding: 0;
    margin: 0.85rem 0 0;
    list-style: none;
    color: #bfdbfe;
    font-size: 0.9rem;
}

.pricing-enterprise__features li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.pricing-enterprise__features i {
    color: #93c5fd;
}

.pricing-enterprise__action {
    flex-shrink: 0;
}

.pricing-details {
    margin-top: 0.5rem;
}

.pricing-details summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    list-style: none;
    padding: 1.25rem 0;
    color: #cbd5e1;
    font-size: 0.95rem;
    cursor: pointer;
}

.pricing-details summary::-webkit-details-marker {
    display: none;
}

.pricing-details__toggle {
    position: relative;
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

.pricing-details__toggle::before,
.pricing-details__toggle::after {
    content: "";
    position: absolute;
    background: currentColor;
    width: 12px;
    height: 1px;
    top: 5px;
    left: 0;
}

.pricing-details__toggle::after {
    transform: rotate(90deg);
    transition: transform 150ms;
}

.pricing-details[open] .pricing-details__toggle::after {
    transform: rotate(0);
}

.pricing-details dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 3rem;
    padding: 1rem 0 1.5rem;
    margin: 0;
}

.pricing-details dt {
    color: #f8fafc;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
}

.pricing-details dd {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0;
}

.pricing-page :is(a, button, summary):focus-visible {
    outline: 3px solid #93c5fd;
    outline-offset: 4px;
}

.pricing-page > footer {
    padding-top: 1.5rem !important;
    padding-bottom: 2rem !important;
}

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

    .pricing-page .pricing-plan {
        grid-template-rows: auto auto auto auto 1fr auto;
    }

    .pricing-page .pricing-enterprise {
        flex-wrap: wrap;
    }
}

@media (max-width: 575.98px) {
    .pricing-content {
        padding-top: 6rem;
    }

    .pricing-toolbar {
        flex-wrap: wrap;
    }

    .pricing-note {
        text-align: left;
        margin-bottom: 1.25rem;
    }

    .pricing-page .pricing-enterprise {
        padding: 1.5rem;
    }

    .pricing-enterprise__icon {
        display: none;
    }

    .pricing-enterprise__copy,
    .pricing-enterprise__action {
        flex-basis: 100%;
    }

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

@media (prefers-reduced-motion: reduce) {
    .pricing-page *,
    .pricing-page *::after {
        transition: none !important;
    }
}
