/* Page-scoped styles extracted from resources/views/pages/pricing.blade.php */

.pricing-page > .container:first-child {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-page > #plans {
    padding-top: 0;
}

.pricing-page > .container:first-child .page-section-title {
    width: 100%;
    margin-bottom: 0;
}

.pricing-page .pricing-shell {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.pricing-page .pricing-card {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(120, 135, 170, 0.34);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(245, 248, 255, 0.85));
    box-shadow: 0 14px 28px rgba(6, 13, 31, 0.08);
    padding: 22px;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    height: auto;
    min-height: unset;
}

.pricing-page .pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 34px rgba(6, 13, 31, 0.12);
    border-color: rgba(98, 122, 255, 0.4);
}

.pricing-page .pricing-card.is-highlight {
    border-color: rgba(98, 122, 255, 0.52);
    box-shadow: 0 20px 40px rgba(35, 57, 183, 0.16);
}

.pricing-page .pricing-card__content {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pricing-page .pricing-card :where(h1, h2, h3, p, ul, ol, dl, dt, dd) {
    margin: 0;
}

.pricing-page .pricing-card__header {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pricing-page .price-block,
.pricing-page .plan-price-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pricing-page .plan-badge-slot {
    min-height: 28px;
    display: flex;
    align-items: flex-start;
}

.pricing-page .plan-badge {
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.01em;
    color: #1b2a4a;
    background: rgba(98, 122, 255, 0.14);
    border: 1px solid rgba(98, 122, 255, 0.28);
}

.pricing-page .plan-badge--ghost {
    visibility: hidden;
    border-color: transparent;
    background: transparent;
}

.pricing-page .plan-price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
    line-height: 1.05;
}

.pricing-page .plan-price-num {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 800;
    line-height: 1.05;
}

.pricing-page .plan-price-sep {
    opacity: 0.55;
    font-weight: 700;
}

.pricing-page .plan-price-sub {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
}

.pricing-page .plan-price-period {
    opacity: 0.7;
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
}

.pricing-page .plan-monthly-approx {
    font-size: 13px;
    font-weight: 600;
    opacity: 0.75;
}

.pricing-page .trial-bonus-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.14rem 0.52rem;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    color: #1b2a4a;
    background: rgba(98, 122, 255, 0.1);
    border: 1px solid rgba(98, 122, 255, 0.28);
}

.pricing-page .trial-gift-link {
    font-size: 12px;
    font-weight: 600;
    color: #3f5efb;
    text-decoration: none;
}

.pricing-page .trial-gift-link:hover {
    text-decoration: underline;
}

.pricing-page .pricing-card__highlights {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pricing-page .pricing-highlight {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(46, 108, 255, 0.18);
    background: rgba(46, 108, 255, 0.06);
    color: #1b2a4a;
    line-height: 1.2;
}

.pricing-page .pricing-highlight--secondary {
    background: rgba(255, 255, 255, 0.55);
    border-color: rgba(46, 108, 255, 0.12);
}

.pricing-page .pricing-highlight__icon {
    width: 18px;
    height: 18px;
    color: #3f5efb;
    flex: 0 0 18px;
}

.pricing-page .pricing-highlight__icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.pricing-page .pricing-highlight__text,
.pricing-page .pricing-highlight span:last-child {
    font-weight: 600;
}

.pricing-page .pricing-highlight--devices span:last-child {
    font-weight: 700;
}

.pricing-page .pricing-card__specs .plan-specs {
    display: grid;
    gap: 0;
    padding: 0;
}

.pricing-page .plan-specs li {
    display: grid;
    gap: 4px;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(120, 135, 170, 0.24);
}

.pricing-page .plan-specs li:last-child {
    border-bottom: 0;
}

.pricing-page .plan-specs strong {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.2;
}

.pricing-page .plan-specs span {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.pricing-page .pricing-card__cta {
    margin-top: auto;
    padding-top: 14px;
}

.pricing-page .pricing-period-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 1.25rem;
}

.pricing-page .pricing-period-label {
    font-weight: 700;
    color: var(--text-color);
}

.pricing-page .pricing-period-select {
    min-width: 180px;
    border: 1px solid rgba(120, 135, 170, 0.34);
    border-radius: 10px;
    background: #fff;
    padding: 0.48rem 0.7rem;
    font-weight: 600;
    color: var(--text-color);
}

.pricing-page .pricing-payments {
    margin-top: 2rem;
}

.pricing-page .payment-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.pricing-page .pm-tile {
    position: relative;
    min-height: 182px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 14px 12px;
    border-radius: 18px;
    border: 1px solid rgba(120, 135, 170, 0.22);
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 16px 30px rgba(6, 13, 31, 0.08);
    overflow: visible;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.pricing-page .pm-tile:hover {
    transform: translateY(-2px);
    border-color: rgba(98, 122, 255, 0.45);
    box-shadow: 0 22px 44px rgba(6, 13, 31, 0.14);
}

.pricing-page .pm-icon {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    flex: 0 0 84px;
}

.pricing-page .pm-icon svg,
.pricing-page .pm-icon img {
    width: 56px;
    height: 56px;
    display: block;
}

.pricing-page .pm-logo {
    width: 100%;
    max-width: 64px;
    height: 100%;
    max-height: 64px;
    display: block;
    object-fit: contain;
    object-position: center;
    margin: 0 auto;
    flex: 0 0 auto;
}

.pricing-page .pm-logo--fallback {
    border-radius: 50%;
    background: rgba(31, 79, 255, 0.1);
    color: rgba(20, 33, 61, 0.72);
    font-weight: 700;
    line-height: 64px;
    text-align: center;
}

.pricing-page .pm-tile:hover .pm-icon {
    transform: translateY(-1px);
}

.pricing-page .pm-name {
    margin-top: 2px;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
    line-height: 1.2;
    max-width: 150px;
    position: relative;
    z-index: 2;
    color: #0f172a !important;
    opacity: 1 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pricing-page .pm-cur {
    margin-top: 6px;
    position: relative;
    z-index: 2;
    font-size: 12px;
    font-weight: 600;
    color: rgba(15, 23, 42, 0.65) !important;
    opacity: 1 !important;
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.pricing-page .pm-tile::before,
.pricing-page .pm-tile::after {
    z-index: 0;
}

/* payment icons: raster-safe sizing for external SVG logos */
