/* =====================================================================
   Pricing (new) page styles
   Adapted from the reference design. All rules are scoped under `.pnew`
   so they never collide with the shared header/footer or the existing
   site stylesheets. Header + footer keep using the current site CSS.
   ===================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

.pnew {
    --ink: #202832;
    --muted: #54606c;
    --purple: #0088ff;
    --purple-dark: #0073db;
    --mint: #03aa1f;
    --paper: #f4f5f9;
    --line: #eaeaeb;
    --white: #fff;

    background: var(--paper);
    color: var(--ink);
    font-family: Manrope, Arial, sans-serif;
    padding: 30px 0 20px;
}

.pnew *,
.pnew *::before,
.pnew *::after {
    box-sizing: border-box;
}

/* Force Manrope everywhere inside the new UI — the shared site CSS sets a
   font-family on bare h1/h2 tags, which would otherwise override our headings. */
.pnew,
.pnew h1,
.pnew h2,
.pnew h3,
.pnew p,
.pnew a,
.pnew span,
.pnew strong,
.pnew small,
.pnew li,
.pnew sup,
.pnew summary,
.pnew button {
    font-family: 'Manrope', Arial, sans-serif;
}

/* Shared CSS sets h2{font-weight:600}; the reference relies on bold headings. */
.pnew h2 {
    font-weight: 700;
}

.pnew a {
    color: inherit;
    text-decoration: none;
}

.pnew button {
    font: inherit;
}

/* ---------------------------------------------------------------- Hero */
.pnew .hero {
    text-align: center;
    max-width: 900px;
    margin: 34px auto 55px;
    padding: 0 24px;
}

.pnew .kicker {
    color: var(--purple);
    letter-spacing: .16em;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 800;
    display: inline-block;
}

.pnew .hero h1 {
    letter-spacing: -.065em;
    margin: 17px 0 20px;
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 800;
    line-height: .98;
}

.pnew .hero > p {
    max-width: 650px;
    color: var(--muted);
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.65;
}

/* Pricing-specific hero overrides (from reference page.css) */
.pnew .pricing-hero {
    margin-top: 48px;
    margin-bottom: 40px;
}

.pnew .pricing-hero h1 {
    letter-spacing: -.055em;
    margin: 0 0 26px;
    font-size: clamp(44px, 5vw, 64px);
    line-height: 1;
    margin-top: 90px;
}

.pnew .pricing-hero .billing-toggle {
    margin-top: 0;
}

.pnew .billing-toggle {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 999px;
    margin-top: 34px;
    padding: 4px;
    display: inline-flex;
    box-shadow: 0 8px 25px #1b15410f;
}

.pnew .billing-toggle button {
    color: var(--muted);
    cursor: pointer;
    background: 0 0;
    border: 0;
    border-radius: 999px;
    padding: 10px 22px;
    font-size: 13px;
    font-weight: 700;
}

.pnew .billing-toggle button.active {
    color: #fff;
    background: var(--ink);
}

/* ----------------------------------------------------------- Pricing */
.pnew .pricing-section {
    max-width: 1440px;
    margin: auto;
    padding: 0 32px 100px;
}

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

.pnew .plans-grid[hidden],
.pnew .plans-error[hidden] {
    display: none;
}

/* Loading + error states for the dynamically-fetched plans */
.pnew .plans-loader {
    display: grid;
    place-items: center;
    min-height: 320px;
}

.pnew .plans-loader[hidden] {
    display: none;
}

.pnew .loader-spin {
    width: 46px;
    height: 46px;
    border: 4px solid #dbe3ec;
    border-top-color: var(--purple);
    border-radius: 50%;
    animation: pnew-spin .8s linear infinite;
}

@keyframes pnew-spin {
    to { transform: rotate(360deg); }
}

.pnew .plans-error {
    text-align: center;
    color: var(--muted);
    padding: 60px 20px;
    font-size: 14px;
}

.pnew .plans-error a {
    color: var(--purple);
    font-weight: 800;
}

.pnew .plan-card {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 20px;
    padding: 28px 24px 26px;
    position: relative;
    box-shadow: 0 10px 35px #1e19480a;
}

.pnew .plan-card.popular {
    border: 2px solid var(--purple);
    box-shadow: 0 18px 45px #0088ff29;
}

.pnew .popular-label {
    background: var(--purple);
    color: #fff;
    letter-spacing: .09em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 10px;
    font-weight: 800;
    position: absolute;
    top: -14px;
    right: 20px;
}

.pnew .plan-head > p {
    min-height: 0px;
    color: var(--muted);
    margin: 0 0 7px;
    font-size: 11px;
    font-weight: 600;
}

.pnew .plan-head h2 {
    letter-spacing: -.04em;
    margin: 0;
    font-size: 23px;
}

.pnew .plan-price {
    align-items: baseline;
    margin: 25px 0 2px;
    display: flex;
}

.pnew .plan-price sup {
    align-self: flex-start;
    margin-top: 9px;
    font-size: 17px;
    font-weight: 800;
}

.pnew .plan-price strong {
    letter-spacing: -.06em;
    font-size: 46px;
    line-height: 1;
}

.pnew .plan-price span {
    color: var(--muted);
    margin-left: 6px;
    font-size: 11px;
}

.pnew .billing-note {
    color: var(--purple);
    margin: 7px 0 0;
    font-size: 11px;
    font-weight: 700;
    min-height: 14px;
}

.pnew .plan-cta,
.pnew .trial-cta {
    color: #fff;
    background: var(--ink);
    border: 0;
    border-radius: 12px;
    cursor: pointer;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    height: 46px;
    margin: 25px 0;
    padding: 0 17px;
    font-size: 12px;
    font-weight: 700;
    text-align: left;
    transition: all .2s;
    display: flex;
}

.pnew .popular .plan-cta {
    background: var(--purple);
}

.pnew .plan-cta:hover,
.pnew .trial-cta:hover {
    background: var(--purple-dark);
    transform: translateY(-1px);
}

.pnew .usage-block {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 18px 0 10px;
}

.pnew .usage-title {
    color: var(--muted);
    letter-spacing: .11em;
    text-transform: uppercase;
    margin: 0 0 14px;
    font-size: 10px;
    font-weight: 800;
}

.pnew .usage-block > div {
    grid-template-columns: 90px 1fr;
    align-items: baseline;
    gap: 7px;
    margin: 10px 0;
    display: grid;
}

.pnew .usage-block strong {
    letter-spacing: -.03em;
    font-size: 17px;
}

.pnew .usage-block span {
    color: var(--muted);
    font-size: 10px;
    line-height: 1.35;
}

.pnew .plan-card ul,
.pnew .trial-features ul {
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.pnew .plan-card li,
.pnew .trial-features li {
    align-items: flex-start;
    gap: 9px;
    margin: 12px 0;
    font-size: 11px;
    line-height: 1.5;
    display: flex;
}

.pnew .check {
    color: #008018;
    background: #e8f8eb;
    border-radius: 50%;
    flex: 0 0 18px;
    place-items: center;
    width: 18px;
    height: 18px;
    font-size: 10px;
    font-weight: 800;
    display: inline-grid;
}

.pnew .capacity-note {
    text-align: center;
    color: var(--muted);
    margin: 28px 0 0;
    font-size: 12px;
}

.pnew .capacity-sales-link {
    color: var(--purple);
    cursor: pointer;
    background: 0 0;
    border: 0;
    padding: 0;
    font: 800 12px 'Manrope', Arial, sans-serif;
    display: inline;
}

.pnew .capacity-sales-link:hover {
    text-decoration: underline;
}

/* ------------------------------------------------- Education callout */
.pnew .education-pricing {
    text-align: left;
    background: linear-gradient(110deg, #edf8ff, #f5f2ff);
    border: 1px solid #cfe5f8;
    border-radius: 18px;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
    margin: 28px auto 0;
    padding: 25px 27px;
    display: grid;
}

.pnew .education-icon {
    color: #fff;
    background: var(--purple);
    border-radius: 15px;
    place-items: center;
    width: 54px;
    height: 54px;
    font-size: 25px;
    display: grid;
}

.pnew .education-pricing > div:nth-child(2) > span {
    color: var(--purple);
    letter-spacing: .13em;
    font-size: 8px;
    font-weight: 800;
}

.pnew .education-pricing h2 {
    letter-spacing: -.035em;
    margin: 6px 0 5px;
    font-size: 19px;
}

.pnew .education-pricing p {
    color: #687482;
    max-width: 690px;
    margin: 0;
    font-size: 9px;
    line-height: 1.6;
}

.pnew .education-pricing > button {
    color: #fff;
    cursor: pointer;
    white-space: nowrap;
    background: var(--ink);
    border: 0;
    border-radius: 10px;
    align-items: center;
    gap: 18px;
    height: 44px;
    padding: 0 15px;
    font-size: 9px;
    font-weight: 800;
    display: flex;
}

.pnew .education-pricing > button:hover {
    background: var(--purple);
}

/* ----------------------------------------------------- Free trial */
.pnew .trial {
    color: #fff;
    background: var(--ink);
    border-radius: 28px;
    grid-template-columns: 1.15fr .85fr;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto 110px;
    padding: 58px 64px;
    display: grid;
    position: relative;
    overflow: hidden;
}

.pnew .trial:after {
    content: "";
    background: var(--purple);
    opacity: .35;
    filter: blur(1px);
    border-radius: 50%;
    width: 320px;
    height: 320px;
    position: absolute;
    top: -120px;
    right: -130px;
}

.pnew .trial-copy,
.pnew .trial-features {
    z-index: 1;
    position: relative;
}

.pnew .trial-pill {
    color: #fff;
    background: var(--mint);
    letter-spacing: .12em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 10px;
    font-weight: 800;
    display: inline-block;
}

.pnew .trial h2 {
    letter-spacing: -.05em;
    max-width: 600px;
    margin: 18px 0 15px;
    font-size: 42px;
    line-height: 1.08;
}

.pnew .trial-copy p {
    color: #b8b5cb;
    max-width: 590px;
    font-size: 14px;
    line-height: 1.7;
}

.pnew .trial-cta {
    background: var(--purple);
    max-width: 250px;
    margin-bottom: 10px;
}

.pnew .trial small {
    color: #8f8ca6;
    font-size: 10px;
}

.pnew .trial-features {
    border-left: 1px solid #37344b;
    padding-left: 52px;
}

.pnew .trial-features > p {
    margin: 6px 0 24px;
    font-size: 13px;
    font-weight: 700;
}

.pnew .trial-features ul {
    columns: 2;
    column-gap: 28px;
}

.pnew .trial-features li {
    break-inside: avoid;
    color: #d5d3df;
}

.pnew .trial-unlock {
    border-top: 1px solid #37344b;
    margin-top: 22px;
    padding-top: 18px;
}

.pnew .trial-unlock > p {
    color: #89869b;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin: 0 0 13px;
    font-size: 9px;
    font-weight: 800;
}

.pnew .trial-unlock ul {
    margin-top: 0;
}

.pnew .trial-features li.locked-feature {
    color: #777487;
}

.pnew .trial-features li.locked-feature > span {
    color: #858297;
    background: #302e43;
    border-radius: 50%;
    flex: 0 0 18px;
    place-items: center;
    width: 18px;
    height: 18px;
    font-size: 10px;
    display: grid;
}

/* ------------------------------------------------------------- FAQ */
.pnew .faq-section {
    max-width: 1200px;
    margin: 0 auto 90px;
    padding: 0 24px;
}

.pnew .faq-heading {
    margin-bottom: 28px;
}

.pnew .faq-heading h2 {
    letter-spacing: -.05em;
    margin: 12px 0 0;
    font-size: 42px;
}

.pnew .faq-list {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 12px;
    display: grid;
}

.pnew .faq-list details {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
}

.pnew .faq-list summary {
    cursor: pointer;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    min-height: 78px;
    padding: 18px 20px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
    list-style: none;
    display: flex;
}

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

.pnew .faq-list summary small {
    color: var(--purple);
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 5px;
    font-size: 9px;
    font-weight: 800;
    display: block;
}

.pnew .faq-list summary b {
    background: var(--paper);
    height: 28px;
    color: var(--purple);
    border-radius: 50%;
    flex: 0 0 28px;
    place-items: center;
    font-size: 18px;
    transition: all .2s;
    display: grid;
}

.pnew .faq-list details[open] summary b {
    background: #e9f5ff;
    transform: rotate(45deg);
}

.pnew .faq-list details > p {
    color: var(--muted);
    margin: 0;
    padding: 0 20px 20px;
    font-size: 12px;
    line-height: 1.75;
}

.pnew .faq-contact {
    background: #e9f5ff;
    border-radius: 16px;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-top: 20px;
    padding: 24px 26px;
    display: flex;
}

.pnew .faq-contact strong,
.pnew .faq-contact span {
    display: block;
}

.pnew .faq-contact strong {
    font-size: 14px;
}

.pnew .faq-contact > div > span {
    color: var(--muted);
    margin-top: 5px;
    font-size: 11px;
}

.pnew .faq-contact > a {
    color: var(--purple);
    gap: 28px;
    font-size: 12px;
    font-weight: 800;
    display: flex;
}

/* ------------------------------------------------------ Responsive */
@media (max-width: 1100px) {
    .pnew .plans-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }

    .pnew .pricing-section {
        max-width: 850px;
    }

    .pnew .trial {
        margin-left: 24px;
        margin-right: 24px;
    }

    .pnew .hero {
        margin-top: 30px;
    }
}

@media (max-width: 720px) {
    .pnew .hero {
        margin: 30px auto;
    }

    .pnew .hero h1 {
        font-size: 44px;
    }

    .pnew .pricing-section {
        padding: 0 16px 72px;
    }

    .pnew .plans-grid {
        grid-template-columns: 1fr;
    }

    .pnew .plan-card {
        padding: 28px;
    }

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

    .pnew .education-pricing > button {
        grid-column: 1 / -1;
        justify-content: space-between;
        width: 100%;
    }

    .pnew .trial {
        grid-template-columns: 1fr;
        gap: 38px;
        margin: 0 16px 75px;
        padding: 38px 28px;
    }

    .pnew .trial h2 {
        font-size: 34px;
    }

    .pnew .trial-features {
        border-top: 1px solid #37344b;
        border-left: 0;
        padding: 28px 0 0;
    }

    .pnew .trial-features ul {
        columns: 1;
    }

    .pnew .faq-heading h2 {
        font-size: 34px;
    }

    .pnew .faq-list {
        grid-template-columns: 1fr;
    }

    .pnew .faq-contact {
        flex-direction: column;
        align-items: flex-start;
    }

    .pnew .usage-block > div {
        grid-template-columns: 105px 1fr;
    }
}

@media (max-width: 480px) {
    .pnew .education-pricing {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .pnew .education-icon {
        width: 45px;
        height: 45px;
    }

    .pnew .education-pricing > button {
        white-space: normal;
        grid-column: auto;
    }
}

/* =====================================================================
   Site Header styles (exactly like the UI)
   ===================================================================== */
.site-header {
    justify-content: space-between;
    align-items: center;
    max-width: 1440px;
    height: 78px;
    margin: auto;
    padding: 0 40px;
    display: flex;
    font-family: 'Manrope', Arial, sans-serif;
    color: #202832;
    background: #f4f5f9;
}
.site-header .brand {
    justify-content: flex-start;
    align-items: center;
    width: 158px;
    height: 48px;
    display: flex;
}
.site-header .brand img {
    object-fit: contain;
    width: 158px;
    height: auto;
    display: block;
}
.site-header nav {
    align-items: center;
    gap: 32px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
}
.site-header nav a {
    color: #202832;
    text-decoration: none;
    transition: color 0.2s ease;
}
.site-header nav a:hover {
    color: #0088ff;
}
.site-header .nav-cta {
    border: 1px solid #202832;
    border-radius: 999px;
    padding: 10px 18px;
    background: transparent;
    color: #202832;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
}
.site-header .nav-cta:hover {
    background: #202832;
    color: #fff;
}

@media (max-width: 720px) {
    .site-header {
        height: 68px;
        padding: 0 20px;
    }
    .site-header .brand {
        width: 132px;
        height: 40px;
    }
    .site-header .brand img {
        width: 132px;
        height: auto;
    }
    .site-header nav > a:not(.nav-cta) {
        display: none;
    }
}

/* =====================================================================
   Inquiry / Sales Modal Dialog Styles
   ===================================================================== */
.sales-overlay {
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    z-index: 1000;
    background: rgba(16, 27, 41, 0.68);
    place-items: center;
    padding: 22px;
    display: none;
    position: fixed;
    inset: 0;
}

.sales-dialog {
    background: #fff;
    border-radius: 22px;
    width: min(510px, 100%);
    max-height: calc(100vh - 44px);
    padding: 36px;
    position: relative;
    overflow: auto;
    box-shadow: 0 32px 90px rgba(5, 20, 38, 0.3);
}

.sales-close {
    color: #5e6873;
    cursor: pointer;
    background: #f0f3f6;
    border: 0;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 21px;
    position: absolute;
    top: 15px;
    right: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.sales-dialog h2 {
    letter-spacing: -.045em;
    margin: 10px 0 8px;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
}

.sales-dialog>p, .sales-success>p {
    color: #687482;
    margin: 0;
    font-size: 11px;
    line-height: 1.7;
}

.sales-dialog form {
    margin-top: 24px;
}

.sales-dialog label {
    color: #354150;
    margin: 15px 0;
    font-size: 9px;
    font-weight: 800;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sales-dialog input, .sales-dialog textarea {
    color: #202832;
    background: #fbfcfe;
    border: 1px solid #dce2e8;
    border-radius: 10px;
    outline: 0;
    width: 100%;
    margin-top: 7px;
    padding: 0 13px;
    font: 600 11px 'Manrope', Arial, sans-serif;
    display: block;
}

.sales-dialog input {
    height: 46px;
}

.sales-dialog textarea {
    resize: vertical;
    padding-top: 12px;
}

.sales-dialog input:focus, .sales-dialog textarea:focus {
    border-color: #0088ff;
    box-shadow: 0 0 0 3px #e4f3ff;
}

.sales-dialog form>button, .sales-success>button {
    color: #fff;
    cursor: pointer;
    background: #0088ff;
    border: 0;
    border-radius: 10px;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 48px;
    padding: 0 15px;
    font-size: 10px;
    font-weight: 800;
    display: flex;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background 0.2s ease;
}

.sales-dialog form>button:hover, .sales-success>button:hover {
    background: #0073db;
}

.sales-dialog form>button:disabled {
    background: #a0cfff;
    cursor: not-allowed;
}

.sales-dialog>small {
    text-align: center;
    color: #7f8994;
    margin-top: 15px;
    font-size: 8px;
    display: block;
}

.sales-dialog>small a {
    color: #0088ff;
    font-weight: 800;
    text-decoration: none;
}

.sales-dialog>small a:hover {
    text-decoration: underline;
}

.sales-success {
    text-align: center;
    padding: 22px 5px 8px;
}

.sales-success>i {
    color: #03aa1f;
    background: #e3f7e8;
    border-radius: 50%;
    place-items: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 22px;
    font-size: 28px;
    font-style: normal;
    display: grid;
}

.sales-success h2 {
    margin-top: 10px;
    font-weight: 700;
}

.sales-success>p {
    margin-bottom: 24px;
}

.sales-success>button {
    justify-content: center;
}

.sales-error-msg {
    color: #ff3b30;
    font-size: 10px;
    font-weight: 700;
    margin-top: 10px;
    text-align: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.sales-overlay.active {
    display: grid !important;
    animation: fadeIn 0.2s ease-out forwards;
}

.sales-overlay.active .sales-dialog {
    animation: slideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@media (max-width: 600px) {
    .sales-dialog {
        padding: 30px 22px;
    }
    .sales-dialog h2 {
        font-size: 26px;
    }
}
