/* 03-pricing-plans.css - Proof blocks, pricing, locations, stats, CTA, billing, FAQ
 * Part of the Pulsar67 marketing stylesheet bundle.
 * Load order is defined in templates/layouts/_marketing_styles.html
 */

/* ---------- Proof blocks ---------- */
.p67-proof-panel,
.p67-proof-card {
    background: var(--p67-surface);
    border: 1px solid var(--p67-border);
    border-radius: var(--p67-radius-lg);
    height: 100%;
}
.p67-proof-panel {
    padding: 1.75rem;
    box-shadow: 0 10px 28px rgba(28, 39, 63, 0.06);
}
.p67-proof-panel-top {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--p67-accent);
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.p67-proof-panel h3,
.p67-proof-card h3 {
    font-size: 1.15rem;
    margin-bottom: .75rem;
}
.p67-proof-toolbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}
.p67-proof-toolbar h3 {
    margin-bottom: .25rem;
}
.p67-proof-kicker {
    font-size: .9rem;
}
.p67-proof-panel p,
.p67-proof-card p {
    color: var(--p67-text-muted);
    margin-bottom: 0;
}
.p67-proof-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    display: grid;
    gap: .7rem;
}
.p67-proof-list li {
    display: flex;
    gap: .65rem;
    align-items: flex-start;
    color: var(--p67-text-muted);
}
.p67-proof-list i {
    color: var(--p67-accent);
    margin-top: .2rem;
}
.p67-proof-commands {
    display: grid;
    gap: .65rem;
    margin: 1.25rem 0;
}
.p67-proof-command {
    display: grid;
    grid-template-columns: minmax(110px, .7fr) minmax(0, 1fr);
    gap: .9rem;
    align-items: center;
    padding: .75rem .85rem;
    border: 1px solid var(--p67-border);
    border-radius: var(--p67-radius);
    background: var(--p67-surface-2);
}
.p67-proof-command span {
    color: var(--p67-text-muted);
    font-size: .82rem;
    font-weight: 700;
}
.p67-proof-command code {
    display: block;
    min-width: 0;
    overflow-wrap: anywhere;
    color: var(--p67-text);
    background: transparent;
    padding: 0;
    font-size: .84rem;
}
.p67-location-field {
    display: grid;
    gap: .3rem;
    min-width: min(100%, 300px);
}
.p67-location-field span {
    color: var(--p67-text-muted);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.p67-location-field select {
    width: 100%;
    border: 1px solid var(--p67-border-strong);
    border-radius: var(--p67-radius);
    background: var(--p67-surface);
    color: var(--p67-text);
    padding: .58rem 2.25rem .58rem .8rem;
    font-weight: 700;
    line-height: 1.2;
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--p67-text-muted) 50%),
        linear-gradient(135deg, var(--p67-text-muted) 50%, transparent 50%);
    background-position:
        calc(100% - 16px) 50%,
        calc(100% - 11px) 50%;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}
.p67-location-field select:focus {
    outline: 0;
    border-color: var(--p67-primary);
    box-shadow: 0 0 0 3px var(--p67-primary-soft);
}
.p67-proof-table-wrap {
    overflow-x: auto;
}
.p67-proof-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 520px;
}
.p67-proof-table th,
.p67-proof-table td {
    padding: .85rem .9rem;
    border-bottom: 1px solid var(--p67-border);
    text-align: left;
    font-size: .94rem;
}
.p67-proof-table th {
    color: var(--p67-text);
    background: var(--p67-bg-2);
    font-family: 'Space Grotesk', 'Inter', sans-serif;
}
.p67-proof-table tr:last-child td { border-bottom: 0; }
.p67-proof-note {
    font-size: .88rem;
    margin-top: 1rem;
}
.p67-use-proof {
    background: var(--p67-bg-2);
    border-top: 1px solid var(--p67-border);
}
.p67-proof-card {
    padding: 1.4rem;
}
.p67-proof-icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: var(--p67-accent-soft);
    color: var(--p67-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

/* ---------- Homepage pricing handoff ---------- */
.p67-pricing-handoff {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: 2rem;
    align-items: center;
    max-width: 980px;
    margin: 0 auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.p67-pricing-copy .p67-section-title {
    margin-top: .35rem;
}
.p67-pricing-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-top: 1.35rem;
}
.p67-pricing-actions span {
    color: var(--p67-text-muted);
    font-weight: 700;
}
.p67-pricing-summary {
    display: grid;
    gap: .75rem;
}
.p67-pricing-summary div {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .55rem 0;
    border: 0;
    border-bottom: 1px solid var(--p67-border);
    border-radius: 0;
    background: transparent;
    color: var(--p67-text);
    font-weight: 600;
}
.p67-pricing-summary div:last-child { border-bottom: 0; }
.p67-pricing-summary i {
    color: var(--p67-primary);
    width: 18px;
    text-align: center;
}

/* ---------- Plans ---------- */
.p67-plan {
    background: var(--p67-surface);
    border: 1px solid var(--p67-border);
    border-radius: var(--p67-radius-lg);
    padding: 2.25rem 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: border-color .2s ease;
}
.p67-plan:hover {
    border-color: var(--p67-primary);
}
.p67-plan-featured {
    background: var(--p67-surface);
    border-color: var(--p67-primary);
    border-width: 2px;
}
.p67-plan-featured:hover { border-color: var(--p67-primary-dark); }
.p67-plan-badge {
    position: absolute;
    top: -12px; left: 50%;
    transform: translateX(-50%);
    background: var(--p67-primary);
    color: #fff;
    padding: .25rem 1rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.p67-plan-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--p67-text);
}
.p67-plan-tagline {
    color: var(--p67-text-muted);
    font-size: .9rem;
    margin-bottom: 1.5rem;
}
.p67-plan-price {
    display: flex;
    align-items: baseline;
    margin-bottom: 1.1rem;
}
.p67-plan-currency {
    color: var(--p67-text-muted);
    font-size: .88rem;
    margin-right: .15rem;
}
.p67-plan-amount {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.45rem, 2.25vw, 1.95rem);
    font-weight: 700;
    color: var(--p67-text);
    line-height: 1;
}
.p67-plan-period {
    color: var(--p67-text-muted);
    margin-left: .35rem;
    font-size: .78rem;
}
.p67-plan-billed {
    display: block;
    margin-top: .35rem;
    font-size: .82rem;
    color: var(--p67-text-dim);
}
.p67-plan-specs {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
    flex-grow: 1;
}
.p67-plan-specs li {
    display: flex;
    align-items: center;
    gap: .6rem;
    color: var(--p67-text);
    padding: .55rem 0;
    border-bottom: 1px solid var(--p67-border);
    font-size: .95rem;
}
.p67-plan-specs li:last-child { border-bottom: 0; }
.p67-plan-specs li i {
    color: var(--p67-primary);
    width: 18px;
    text-align: center;
}

.p67-catalog-cadences {
    display: grid;
    gap: .55rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--p67-border);
    font-size: .82rem;
}
.p67-catalog-cadences span {
    color: var(--p67-text-dim);
    font-weight: 700;
}
.p67-catalog-cadences div {
    display: grid;
    gap: .4rem;
}
.p67-catalog-cadences a {
    color: var(--p67-primary-dark);
    font-weight: 700;
    text-decoration: none;
}
.p67-catalog-cadences a:hover {
    color: var(--p67-primary);
}

.p67-credit-model-grid {
    display: grid;
    gap: .9rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: -1rem 0 2rem;
}
.p67-credit-model-grid article {
    background:
        linear-gradient(180deg, rgba(123, 92, 255, .045), rgba(123, 92, 255, 0) 48%),
        #ffffff;
    border: 1px solid rgba(63, 54, 126, .13);
    border-radius: 8px;
    box-shadow: 0 16px 44px rgba(31, 28, 70, .08);
}
.p67-credit-model-grid article {
    display: grid;
    gap: .35rem;
    padding: 1rem;
}
.p67-credit-model-grid strong {
    color: var(--p67-text);
    font-weight: 850;
}
.p67-credit-model-grid span {
    color: var(--p67-text-muted);
    font-size: .92rem;
    line-height: 1.55;
}

.p67-buying-confidence {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
.p67-confidence-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--p67-surface);
    border: 1px solid var(--p67-border);
    border-radius: var(--p67-radius-lg);
}
.p67-confidence-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: var(--p67-radius);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--p67-primary-soft);
    color: var(--p67-primary-dark);
}
.p67-confidence-card h3 {
    font-size: 1rem;
    margin: 0 0 .35rem;
}
.p67-confidence-card p {
    color: var(--p67-text-muted);
    font-size: .92rem;
    margin: 0;
}
.p67-os-card {
    display: block;
}
.p67-os-logos {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .65rem;
    margin-top: .9rem;
}
.p67-os-logos img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: saturate(.95);
}
.p67-link-arrow {
    color: var(--p67-primary-2);
    font-weight: 600;
}
.p67-link-arrow:hover { color: var(--p67-primary-dark); }

/* ---------- Locations ---------- */
.p67-locations-section {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.p67-locations-section > .p67-container {
    position: relative;
    z-index: 1;
}
.p67-world-map-bg {
    --p67-map-opacity: .17;
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    background: url("/static/website/img/world-map-outline.04b03780e8d0.svg") center 48% / min(1320px, 126vw) auto no-repeat;
    filter: grayscale(1);
    transform: translateY(10px) scale(.985);
    animation: p67WorldMapFadeIn .9s ease-out .12s forwards;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 13%, #000 88%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 13%, #000 88%, transparent 100%);
}
@keyframes p67WorldMapFadeIn {
    to {
        opacity: var(--p67-map-opacity);
        transform: translateY(0) scale(1);
    }
}
@media (prefers-reduced-motion: reduce) {
    .p67-world-map-bg {
        opacity: var(--p67-map-opacity);
        transform: none;
        animation: none;
    }
}
.p67-world-map-land {
    fill: currentColor;
    opacity: .044;
}
.p67-world-map-land path {
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}
.p67-world-map-grid path {
    fill: none;
    stroke: currentColor;
    stroke-width: 1;
    opacity: .024;
}
.p67-world-map-routes path {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 7 12;
    opacity: .1;
}
.p67-world-map-points {
    fill: currentColor;
    opacity: .16;
}
.p67-location {
    background: var(--p67-surface);
    border: 1px solid var(--p67-border);
    border-radius: var(--p67-radius);
    padding: 1.5rem 1rem;
    text-align: center;
    transition: border-color .2s ease, background .2s ease;
}
.p67-location:hover {
    border-color: var(--p67-primary);
    background: var(--p67-surface-2);
}
.p67-location-flag {
    font-size: 2.4rem;
    margin-bottom: .5rem;
    line-height: 1;
}
.p67-location-name {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    color: var(--p67-text);
}
.p67-location-meta {
    font-size: .85rem;
    color: var(--p67-text-muted);
    margin-top: .2rem;
}
.p67-location-coming { opacity: .65; }
.p67-location-coming .p67-location-meta { color: var(--p67-primary); }
.p67-locations-section .p67-location,
.p67-locations-section .p67-plan {
    background-color: rgba(255, 255, 255, .9);
    backdrop-filter: blur(8px);
}

.p67-devops-tools {
    margin-top: 3rem;
    padding: 2rem;
    border: 1px solid var(--p67-border);
    border-radius: var(--p67-radius-lg);
    background:
        linear-gradient(180deg, rgba(90, 82, 184, 0.04) 0%, rgba(90, 82, 184, 0) 100%),
        var(--p67-surface);
}
.p67-locations-section .p67-devops-tools {
    border: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    padding: 2.5rem 0 0;
}
.p67-devops-copy {
    max-width: 760px;
    margin: 0 auto 1.75rem;
    text-align: center;
}
.p67-devops-copy h3 {
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    margin: .5rem 0 .65rem;
}
.p67-devops-copy p {
    color: var(--p67-text-muted);
    margin: 0;
}
.p67-devops-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
.p67-tool-card {
    display: grid;
    align-content: center;
    gap: .85rem;
    justify-items: center;
    text-align: center;
    min-height: 152px;
    padding: 1.35rem 1rem;
    border: 1px solid var(--p67-border);
    border-radius: var(--p67-radius);
    background: var(--p67-surface-2);
}
.p67-locations-section .p67-tool-card {
    background: transparent;
    backdrop-filter: none;
    border-color: transparent;
    box-shadow: none;
    padding: .75rem 1rem;
}
.p67-tool-logo {
    display: block;
    width: min(180px, 82%);
    height: 54px;
    object-fit: contain;
    object-position: center;
}
.p67-tool-logo-kubernetes {
    height: 64px;
}
.p67-tool-card span {
    color: var(--p67-text-muted);
    font-size: .92rem;
    line-height: 1.45;
}

/* ---------- About / Stats ---------- */
.p67-checklist {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}
.p67-checklist li {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .55rem 0;
    color: var(--p67-text);
}
.p67-checklist i {
    color: var(--p67-primary);
    font-size: 1.1rem;
}
.p67-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.p67-stat-card {
    background: var(--p67-surface);
    border: 1px solid var(--p67-border);
    border-radius: var(--p67-radius);
    padding: 1.75rem 1.5rem;
    text-align: center;
}
.p67-stat-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(120deg, var(--p67-primary-dark) 0%, var(--p67-primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    margin-bottom: .5rem;
}
.p67-stat-label {
    font-size: .9rem;
    color: var(--p67-text-muted);
}

/* ---------- Section head left-align variant ---------- */
.p67-section-head-left { text-align: left; }
.p67-section-head-left .p67-section-title { text-align: left; }

/* ---------- CTA section ---------- */
.p67-cta-section {
    padding: 4rem 0;
    background: var(--p67-bg);
}
.p67-cta-card {
    background: var(--p67-surface);
    border: 1px solid var(--p67-border-strong);
    border-radius: var(--p67-radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.p67-cta-glow {
    display: none;
}
.p67-cta-card h2 {
    position: relative;
    font-size: clamp(1.65rem, 3vw, 2.2rem);
    margin-bottom: .75rem;
}
.p67-cta-card p {
    position: relative;
    font-size: 1.05rem;
    color: var(--p67-text-muted);
    max-width: 560px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}
.p67-cta-buttons {
    position: relative;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- Billing toggle ---------- */
.p67-billing-toggle {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .35rem;
    background: var(--p67-surface);
    border: 1px solid var(--p67-border);
    border-radius: 999px;
    margin-top: 1.5rem;
}
.p67-billing-toggle button {
    border: 0;
    background: transparent;
    color: var(--p67-text-muted);
    padding: .55rem 1.4rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: .92rem;
    cursor: pointer;
    transition: all .2s ease;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}
.p67-billing-toggle button.active {
    background: var(--p67-primary);
    color: #fff;
}
.p67-savings-badge {
    background: rgba(46, 204, 113, 0.15);
    color: #1f8a4d;
    font-size: .7rem;
    font-weight: 700;
    padding: .15rem .5rem;
    border-radius: 999px;
    letter-spacing: .03em;
}
.p67-billing-toggle button.active .p67-savings-badge {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.p67-commitment-strip {
    align-items: center;
    background: rgba(255, 255, 255, .1);
    border: 0;
    border-radius: 999px;
    color: rgba(255, 255, 255, .82);
    display: inline-flex;
    flex-wrap: wrap;
    gap: .45rem;
    justify-content: center;
    margin-top: 1.5rem;
    padding: .42rem .5rem;
}
.p67-commitment-strip > span {
    font-size: .82rem;
    font-weight: 850;
    letter-spacing: .02em;
    padding: 0 .55rem;
    text-transform: uppercase;
}
.p67-commitment-strip strong,
.p67-commitment-strip button {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 999px;
    color: rgba(255, 255, 255, .82);
    display: inline-flex;
    font-size: .9rem;
    font-weight: 850;
    gap: .45rem;
    padding: .5rem .8rem;
    transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.p67-commitment-strip button {
    cursor: pointer;
}
.p67-commitment-strip button:hover,
.p67-commitment-strip button:focus {
    background: rgba(255, 255, 255, .1);
    box-shadow: none;
    color: #fff;
}

.p67-commitment-strip button.is-active {
    background: rgba(255, 255, 255, .92);
    box-shadow: none;
    color: var(--p67-primary-dark);
}
.p67-commitment-strip button:active {
    transform: translateY(1px);
}
.p67-commitment-strip small {
    background: rgba(90, 82, 184, .12);
    border-radius: 999px;
    color: inherit;
    display: none;
    font-size: .7rem;
    font-weight: 850;
    padding: .12rem .45rem;
    text-transform: uppercase;
}

.p67-commitment-strip button.is-active small {
    display: inline-flex;
}

/* ---------- Comparison table ---------- */
.p67-compare-wrap {
    background: var(--p67-surface);
    border: 1px solid var(--p67-border);
    border-radius: var(--p67-radius-lg);
    overflow: hidden;
    overflow-x: auto;
}
.p67-compare {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}
.p67-compare th,
.p67-compare td {
    padding: 1rem 1.25rem;
    text-align: center;
    border-bottom: 1px solid var(--p67-border);
    font-size: .95rem;
}
.p67-compare th:first-child,
.p67-compare td:first-child {
    text-align: left;
    color: var(--p67-text-muted);
    font-weight: 500;
}
.p67-compare thead th {
    background: var(--p67-bg-2);
    color: var(--p67-text);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 1.25rem 1.25rem;
    border-bottom: 1px solid var(--p67-border-strong);
}
.p67-compare thead th.p67-compare-featured {
    background: linear-gradient(180deg, #f3f0fd 0%, var(--p67-surface) 100%);
    color: var(--p67-primary-dark);
    position: relative;
}
.p67-compare tbody td { color: var(--p67-text); }
.p67-compare tbody tr:last-child td { border-bottom: 0; }
.p67-compare tbody tr:hover td { background: var(--p67-bg-2); }
.p67-compare .p67-compare-check { color: var(--p67-primary); font-size: 1.1rem; }
.p67-compare .p67-compare-x { color: var(--p67-text-dim); font-size: 1.1rem; }

/* ---------- FAQ accordion ---------- */
.p67-faq .p67-accordion-item {
    background: var(--p67-surface);
    border: 1px solid var(--p67-border);
    border-radius: var(--p67-radius) !important;
    margin-bottom: .75rem;
    overflow: hidden;
}
.p67-faq .p67-accordion-button {
    background: var(--p67-surface);
    color: var(--p67-text);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 1.25rem 1.5rem;
    box-shadow: none;
}
.p67-faq .p67-accordion-button:not(.is-collapsed) {
    background: var(--p67-bg-2);
    color: var(--p67-primary-dark);
}
.p67-faq .p67-accordion-button:focus {
    box-shadow: 0 0 0 3px var(--p67-primary-soft);
    border-color: transparent;
}
.p67-faq .p67-accordion-body {
    color: var(--p67-text-muted);
    padding: 0 1.5rem 1.5rem;
    font-size: .98rem;
    line-height: 1.65;
}
.p67-faq .p67-accordion-button::after {
    filter: hue-rotate(220deg) saturate(2);
}
.p67-faq-handoff {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    max-width: 920px;
    margin: 0 auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}
.p67-faq-handoff .p67-section-title {
    margin-top: .35rem;
}
.p67-faq-handoff .p67-section-sub {
    margin-bottom: 0;
}
.p67-faq-link {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    font-weight: 700;
}

