/* =========================================================
   Pricing — clear plans, bento cards
   ========================================================= */

.pricing-hero {
    padding: 34px 0 66px;
}

.pricing-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 20px;
    align-items: stretch;
}

.pricing-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 44px;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.pricing-hero-copy .hero-title {
    max-width: 14ch;
    font-size: clamp(2.2rem, 4.2vw, 3.6rem);
    line-height: 1.07;
}

.pricing-hero-copy .hero-lead {
    max-width: 55ch;
    margin-top: 18px;
    color: var(--body);
    font-size: 15.5px;
    line-height: 1.76;
}

.billing-switch {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    align-self: flex-start;
    margin-top: 28px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    background: var(--surface-soft);
}

.billing-switch input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.billing-switch-labels {
    display: flex;
    gap: 2px;
}

.billing-switch-labels label {
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    color: var(--muted-strong);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--fast), color var(--fast), box-shadow var(--fast);
}

#billing-monthly:checked ~ .billing-switch-labels label[for="billing-monthly"],
#billing-yearly:checked ~ .billing-switch-labels label[for="billing-yearly"] {
    background: var(--surface);
    color: var(--ink);
    box-shadow: var(--shadow-xs);
}

.billing-save {
    margin-left: 4px;
    padding: 6px 10px;
    border-radius: var(--radius-pill);
    background: rgba(16, 185, 129, 0.1);
    color: #047857;
    font-size: 10.5px;
    font-weight: 800;
    white-space: nowrap;
}

/* Spotlight */
.price-spotlight {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 340px;
    padding: 34px;
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at 80% 12%, rgba(255, 255, 255, 0.18), transparent 40%),
        radial-gradient(circle at 10% 96%, rgba(37, 99, 235, 0.35), transparent 45%),
        var(--gradient);
    color: #fff;
    box-shadow: var(--shadow-blue);
    overflow: hidden;
}

.price-spotlight::after {
    content: "";
    position: absolute;
    right: -60px;
    bottom: -80px;
    width: 230px;
    height: 230px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    box-shadow: 0 0 0 34px rgba(255, 255, 255, 0.06);
}

.spotlight-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.spotlight-price {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    margin: 20px 0 4px;
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.06em;
}

.spotlight-currency {
    margin-top: 8px;
    font-size: 28px;
    opacity: 0.8;
}

.spotlight-amount {
    font-size: clamp(5rem, 10vw, 7.4rem);
}

.spotlight-period {
    align-self: flex-end;
    margin-bottom: 12px;
    margin-left: 4px;
    color: rgba(255, 255, 255, 0.75);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0;
}

.spotlight-note {
    position: relative;
    z-index: 1;
    max-width: 34ch;
    color: rgba(255, 255, 255, 0.78);
    font-size: 12.5px;
    line-height: 1.65;
}

.spotlight-points {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 18px;
}

.spotlight-points span {
    padding: 5px 9px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    font-size: 10.5px;
    font-weight: 650;
}

/* Plans */
.pricing-plans-section {
    padding: 6px 0 82px;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 29px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-xs);
    transition: transform var(--normal), box-shadow var(--normal), border-color var(--normal);
}

.plan-card:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, 0.22);
    box-shadow: var(--shadow-md);
}

.plan-card--featured {
    border-color: transparent;
    background:
        radial-gradient(circle at 90% 0%, rgba(124, 58, 237, 0.07), transparent 38%),
        var(--surface);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.22), var(--shadow-md);
}

.plan-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    background: var(--gradient);
    color: #fff;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: var(--shadow-blue);
}

.plan-name {
    font-family: var(--font-display);
    color: var(--ink);
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.plan-tagline {
    margin-top: 4px;
    color: var(--muted);
    font-size: 11.5px;
    font-weight: 600;
}

.plan-price {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    margin: 24px 0 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line-soft);
}

.plan-currency {
    margin-bottom: 6px;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
}

.plan-amount {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 52px;
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: -0.06em;
}

.plan-period {
    margin-bottom: 6px;
    margin-left: 4px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
}

.plan-features {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin-bottom: 24px;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: var(--body);
    font-size: 13px;
    line-height: 1.5;
}

.plan-features li i {
    flex-shrink: 0;
    width: 17px;
    height: 17px;
    margin-top: 1px;
    padding-top: 3px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.11);
    color: #059669;
    font-size: 8px;
    text-align: center;
}

.plan-features li.feature-muted {
    color: var(--muted);
}

.plan-features li.feature-muted i {
    background: var(--surface-soft);
    color: var(--muted);
}

.plan-card-cta {
    width: 100%;
    margin-top: auto;
}

.plan-footnote {
    margin-top: 18px;
    padding: 16px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.66);
    color: var(--muted-strong);
    font-size: 12px;
    line-height: 1.6;
    text-align: center;
}

.plan-footnote strong {
    color: var(--ink);
}

/* FAQ */
.pricing-faq-section {
    padding: 0 0 86px;
}

.faq-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.faq-head .section-head {
    margin-bottom: 0;
}

.faq-count {
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface);
    box-shadow: var(--shadow-xs);
    overflow: hidden;
    transition: border-color var(--fast), box-shadow var(--fast);
}

.faq-item[open] {
    border-color: rgba(37, 99, 235, 0.24);
    box-shadow: var(--shadow-sm);
}

.faq-item summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 20px;
    cursor: pointer;
    list-style: none;
}

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

.faq-q {
    display: flex;
    gap: 11px;
    color: var(--ink);
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.5;
}

.faq-num {
    flex-shrink: 0;
    color: var(--blue);
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    line-height: 2;
}

.faq-chevron {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    margin-top: -2px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--muted-strong);
    font-size: 9px;
    transition: transform var(--fast), background var(--fast), color var(--fast);
}

.faq-item[open] .faq-chevron {
    transform: rotate(180deg);
    background: rgba(37, 99, 235, 0.08);
    color: var(--blue);
}

.faq-a {
    padding: 0 20px 20px 49px;
    color: var(--body);
    font-size: 12.5px;
    line-height: 1.72;
}

/* CTA */
.pricing-cta-banner {
    padding: 0 0 90px;
}

.pricing-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    padding: 40px 44px;
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at 85% 20%, rgba(124, 58, 237, 0.3), transparent 42%),
        radial-gradient(circle at 12% 90%, rgba(37, 99, 235, 0.3), transparent 40%),
        #0f172a;
    color: #fff;
    box-shadow: var(--shadow-md);
}

.pricing-cta-copy h2 {
    margin-bottom: 7px;
    color: #fff;
    font-size: clamp(1.35rem, 2.2vw, 1.8rem);
}

.pricing-cta-copy p {
    max-width: 54ch;
    color: rgba(226, 232, 240, 0.72);
    font-size: 13.5px;
}

.pricing-cta-form {
    display: flex;
    flex-shrink: 0;
    gap: 8px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.08);
}

.pricing-cta-form input {
    width: 230px;
    padding: 10px 16px;
    border: 0;
    background: transparent;
    color: #fff;
}

.pricing-cta-form input::placeholder {
    color: rgba(226, 232, 240, 0.55);
}

.pricing-cta-form input:focus {
    box-shadow: none;
}

.pricing-cta-form .btn {
    min-height: 39px;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 1000px) {
    .pricing-hero-grid {
        grid-template-columns: 1fr;
    }

    .pricing-hero-copy {
        padding: 34px;
    }

    .price-spotlight {
        min-height: 230px;
    }

    .plans-grid {
        grid-template-columns: 1fr;
        max-width: 640px;
        margin: 0 auto;
    }
}

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

    .pricing-cta-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px;
    }

    .pricing-cta-form {
        width: 100%;
    }

    .pricing-cta-form input {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .pricing-hero {
        padding-top: 10px;
    }

    .pricing-hero-copy {
        padding: 26px 20px;
        border-radius: 24px;
    }

    .pricing-hero-copy .hero-title {
        font-size: clamp(1.95rem, 9vw, 2.7rem);
    }

    .price-spotlight {
        padding: 26px 22px;
        border-radius: 24px;
    }

    .spotlight-amount {
        font-size: 5.4rem;
    }

    .plan-card {
        padding: 24px;
    }

    .pricing-cta-form {
        flex-direction: column;
        border-radius: 18px;
    }

    .pricing-cta-form .btn {
        width: 100%;
    }
}
