/* Price page - scoped under .price-page; tokens from company-v1.css (:root) */

.price-page.price-page--premium {
    background: linear-gradient(180deg, #fafbfc 0%, var(--v1-gray-50) 48%, #f3f4f6 100%);
    min-height: auto;
    padding-bottom: 8px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.price-page .pricing-page-wrapper {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 16px 28px;
}

.price-page__breadcrumb {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--v1-gray-500);
    margin: 0 0 6px;
    padding-top: 4px;
}

.price-page__breadcrumb a {
    color: var(--v1-gray-600);
    text-decoration: none;
}

.price-page__breadcrumb a:hover {
    color: var(--v1-primary);
}

.price-page__breadcrumb-sep {
    margin: 0 6px;
    color: var(--v1-gray-300);
}

.price-page .pricing-header {
    text-align: center;
    padding: 4px 0 18px;
    margin-bottom: 20px;
    border-bottom: none;
    position: relative;
}

.price-page .pricing-header::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    margin: 14px auto 0;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--v1-primary), transparent);
    opacity: 0.85;
}

.price-page .pricing-header h1 {
    font-size: clamp(22px, 3.2vw, 28px);
    font-weight: 700;
    color: var(--v1-gray-900);
    margin: 0 0 8px;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.price-page .pricing-header p {
    font-size: 14px;
    color: var(--v1-gray-600);
    margin: 0 auto;
    max-width: 520px;
    line-height: 1.5;
}

.price-page .pricing-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(252px, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.price-page .pricing-box {
    background: #fff;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 12px;
    padding: 18px 16px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.22s ease, transform 0.2s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.price-page .pricing-box:not(.pricing-box--enterprise):hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(15, 23, 42, 0.05), 0 16px 36px rgba(79, 70, 229, 0.09);
    border-color: rgba(79, 70, 229, 0.22);
}

.price-page .pricing-box:not(.pricing-box--enterprise):focus-within {
    outline: none;
    border-color: var(--v1-primary);
    box-shadow: 0 0 0 3px var(--v1-primary-light);
}

/* Enterprise / sales tier - dark “shining” card (matches dashboard enterprise banner) */
.price-page .pricing-box--enterprise {
    cursor: default;
    overflow: hidden;
    border: 1px solid rgba(129, 140, 248, 0.45);
    background: linear-gradient(155deg, #070b14 0%, #0f172a 42%, #111827 72%, #0a1628 100%);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.06) inset,
        0 12px 40px rgba(15, 23, 42, 0.55),
        0 0 48px rgba(99, 102, 241, 0.18);
}

.price-page .pricing-box--enterprise::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 90% 70% at 12% 20%, rgba(56, 189, 248, 0.14) 0%, transparent 52%),
        radial-gradient(ellipse 70% 60% at 88% 75%, rgba(167, 139, 250, 0.16) 0%, transparent 48%);
    pointer-events: none;
    z-index: 0;
}

.price-page .pricing-box__enterprise-shine {
    position: absolute;
    top: -40%;
    left: -30%;
    width: 55%;
    height: 180%;
    background: linear-gradient(
        105deg,
        transparent 0%,
        rgba(255, 255, 255, 0.03) 42%,
        rgba(255, 255, 255, 0.11) 50%,
        rgba(255, 255, 255, 0.03) 58%,
        transparent 100%
    );
    transform: rotate(18deg);
    animation: priceEnterpriseShine 5.5s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes priceEnterpriseShine {
    0%,
    100% {
        transform: rotate(18deg) translateX(-8%);
        opacity: 0.65;
    }
    50% {
        transform: rotate(18deg) translateX(85%);
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .price-page .pricing-box__enterprise-shine {
        animation: none;
        opacity: 0.45;
        transform: rotate(18deg) translateX(20%);
    }
}

.price-page .pricing-box__enterprise-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.price-page .pricing-box--enterprise:hover {
    transform: translateY(-2px);
    border-color: rgba(165, 180, 252, 0.55);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08) inset,
        0 16px 48px rgba(15, 23, 42, 0.58),
        0 0 56px rgba(129, 140, 248, 0.28);
}

.price-page .pricing-box--enterprise:focus-within {
    border-color: rgba(165, 180, 252, 0.65);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08) inset,
        0 16px 48px rgba(15, 23, 42, 0.58),
        0 0 0 3px rgba(99, 102, 241, 0.35),
        0 0 56px rgba(129, 140, 248, 0.22);
}

.price-page .pricing-box--enterprise .pricing-box__enterprise-badge {
    display: inline-block;
    align-self: center;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #93c5fd;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(147, 197, 253, 0.55);
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 10px;
}

.price-page .pricing-box--enterprise .pricing-box__lead {
    font-size: 12px;
    font-weight: 400;
    color: rgba(203, 213, 225, 0.92);
    text-align: center;
    margin: 0 0 10px;
    line-height: 1.55;
}

.price-page .pricing-box--enterprise .pricing-box__lead strong {
    color: #e0f2fe;
    font-weight: 600;
}

.price-page .pricing-box--enterprise ul {
    margin: 0 0 12px;
    padding-left: 16px;
    font-size: 11px;
    color: rgba(186, 198, 215, 0.95);
    line-height: 1.45;
    text-align: left;
}

.price-page .pricing-box--enterprise ul li {
    margin-bottom: 4px;
}

.price-page .pricing-box--enterprise ul li::marker {
    color: rgba(129, 140, 248, 0.85);
}

.price-page .pricing-box--enterprise .pricing-box__enterprise-cta {
    margin-top: auto;
    font-weight: 700;
    background: linear-gradient(135deg, #2563eb 0%, #4f46e5 55%, #4338ca 100%);
    box-shadow: 0 6px 22px rgba(37, 99, 235, 0.45), 0 0 24px rgba(79, 70, 229, 0.25);
}

.price-page .pricing-box--enterprise .pricing-box__enterprise-cta:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
    box-shadow: 0 8px 28px rgba(37, 99, 235, 0.5), 0 0 32px rgba(129, 140, 248, 0.3);
}

.price-page .pricing-box--enterprise .pricing-box__enterprise-cta:focus-visible {
    outline: 2px solid rgba(147, 197, 253, 0.9);
    outline-offset: 2px;
}

.price-page .pricing-box.selected {
    border-color: var(--v1-primary);
    background: linear-gradient(180deg, #fff 0%, var(--v1-primary-light) 100%);
    box-shadow: 0 4px 6px rgba(79, 70, 229, 0.08), 0 12px 32px rgba(79, 70, 229, 0.12);
    transform: translateY(-1px);
}

.price-page .pricing-box.selected::before {
    content: "Selected";
    position: absolute;
    top: -9px;
    right: 14px;
    background: var(--v1-gray-900);
    color: #fff;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.15);
}

.price-page .pricing-box h2 {
    font-size: 17px;
    font-weight: 700;
    color: var(--v1-gray-900);
    margin: 0 0 12px;
    text-align: center;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--v1-gray-100);
}

.price-page .pricing-box--enterprise .pricing-box__enterprise-inner h2 {
    color: #f8fafc;
    border-bottom-color: rgba(148, 163, 184, 0.28);
}

.price-page .pricing-box p {
    font-size: 12px;
    color: var(--v1-gray-600);
    margin: 5px 0;
    line-height: 1.5;
}

.price-page .pricing-box p:first-of-type {
    margin-top: 0;
}

.price-page .price-card__price-block {
    text-align: center;
    margin: 0;
    padding: 12px 10px;
    background: linear-gradient(180deg, var(--v1-gray-50) 0%, #fff 100%);
    border-radius: 10px;
    border: 1px solid var(--v1-gray-100);
}

.price-page .price-card__price-block--accent {
    background: linear-gradient(135deg, var(--v1-gray-50) 0%, #fff 100%);
}

.price-page .price-card__amount {
    font-size: 26px;
    font-weight: 700;
    color: var(--v1-primary);
    margin-bottom: 2px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.price-page .price-card__unit {
    font-size: 11px;
    font-weight: 500;
    color: var(--v1-gray-500);
    letter-spacing: 0.02em;
}

.price-page .credit-input {
    width: 100%;
    padding: 9px 11px;
    margin-top: 12px;
    border: 1.5px solid var(--v1-gray-300);
    border-radius: var(--v1-radius);
    font-size: 14px;
    font-weight: 600;
    color: var(--v1-gray-900);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.price-page .credit-input:focus {
    outline: none;
    border-color: var(--v1-primary);
    box-shadow: 0 0 0 3px var(--v1-primary-light);
}

.price-page .box-price-display {
    margin-top: 12px;
    padding: 10px;
    background: var(--v1-gray-50);
    border-radius: var(--v1-radius);
    border: 1px solid var(--v1-gray-200);
    text-align: center;
}

.price-page .box-price-label {
    font-size: 11px;
    color: var(--v1-gray-500);
    margin-bottom: 4px;
    font-weight: 500;
}

.price-page .box-price-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--v1-primary);
}

.price-page .box-buy-button {
    width: 100%;
    padding: 10px 16px;
    background: var(--v1-primary);
    color: #fff;
    border: none;
    border-radius: var(--v1-radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 12px;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    box-shadow: var(--v1-shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.price-page .box-buy-button:hover {
    filter: brightness(0.95);
    transform: translateY(-1px);
    box-shadow: var(--v1-shadow-lg);
}

.price-page .box-buy-button:focus-visible {
    outline: 2px solid var(--v1-primary);
    outline-offset: 2px;
}

.price-page .box-buy-button i {
    font-size: 14px;
}

.price-page .price-section {
    margin-top: 18px;
    padding: 20px 22px;
    background: #fff;
    border-radius: var(--v1-radius);
    box-shadow: var(--v1-shadow);
    border: 1px solid var(--v1-gray-200);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.price-page .price-section-header {
    font-size: 18px;
    font-weight: 600;
    color: var(--v1-gray-900);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--v1-gray-100);
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-page .price-section-header i {
    color: var(--v1-primary);
}

.price-page .price-section__gst-note {
    font-size: 13px;
    color: var(--v1-gray-500);
    margin: 12px 0 0;
    padding-top: 12px;
    border-top: 1px solid var(--v1-gray-100);
    line-height: 1.5;
}

.price-page .total-price,
.price-page .gst-price {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    font-size: 15px;
    color: var(--v1-gray-700);
    border-bottom: 1px solid var(--v1-gray-100);
}

.price-page .total-price span:first-child,
.price-page .gst-price span:first-child {
    color: var(--v1-gray-500);
}

.price-page .total-price span:last-child,
.price-page .gst-price span:last-child {
    font-weight: 600;
    color: var(--v1-gray-900);
}

.price-page .grand-total {
    display: flex;
    justify-content: space-between;
    padding: 20px 0 0;
    margin-top: 12px;
    border-top: 2px solid var(--v1-gray-200);
    font-size: 20px;
    font-weight: 700;
}

.price-page .grand-total span:first-child {
    color: var(--v1-gray-900);
}

.price-page .grand-total span:last-child {
    color: var(--v1-primary);
    font-size: 24px;
}

.price-page .buy-button {
    background: var(--v1-primary);
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: var(--v1-radius);
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    display: none;
    margin-top: 24px;
    width: 100%;
    transition: filter 0.2s ease, transform 0.15s ease;
    box-shadow: var(--v1-shadow);
}

.price-page .buy-button:hover {
    filter: brightness(0.95);
}

.price-page .buy-button:focus-visible {
    outline: 2px solid var(--v1-primary);
    outline-offset: 2px;
}

.price-page .trust-section {
    margin-top: 18px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 12px;
    border: 1px solid rgba(17, 24, 39, 0.06);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    text-align: center;
}

.price-page .trust-section__lead {
    font-size: 12px;
    color: var(--v1-gray-700);
    margin: 0 0 4px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.price-page .trust-section__sub {
    font-size: 12px;
    color: var(--v1-gray-500);
    margin: 0 0 12px;
    line-height: 1.45;
}

.price-page .trust-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 10px;
}

.price-page .trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 500;
    color: var(--v1-gray-600);
    padding: 6px 11px;
    background: var(--v1-gray-50);
    border-radius: 999px;
    border: 1px solid var(--v1-gray-100);
}

.price-page .trust-badge i {
    color: var(--v1-success);
    font-size: 15px;
}

/* Benefits + FAQ side-by-side on wide screens */
.price-page .price-page__split {
    display: grid;
    gap: 14px;
    margin-top: 14px;
}

@media (min-width: 992px) {
    .price-page .price-page__split {
        grid-template-columns: 1fr 1fr;
        gap: 14px 18px;
        align-items: start;
    }
}

.price-page .price-page__split .benefits-section,
.price-page .price-page__split .faq {
    margin-top: 0;
}

.price-page .benefits-section {
    margin-top: 40px;
    padding: 18px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 28px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(17, 24, 39, 0.07);
}

.price-page .benefits-section h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--v1-gray-900);
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.02em;
}

.price-page .benefits-section h3 i {
    color: var(--v1-primary);
    font-size: 18px;
    opacity: 0.95;
}

.price-page .benefits-section > p {
    font-size: 13px;
    color: var(--v1-gray-600);
    line-height: 1.55;
    margin-bottom: 12px;
}

.price-page .benefits-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.price-page .benefits-section ul li {
    padding: 9px 0;
    border-bottom: 1px solid var(--v1-gray-100);
    font-size: 12px;
    color: var(--v1-gray-700);
    line-height: 1.55;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.price-page .benefits-section ul li:last-child {
    border-bottom: none;
}

.price-page .benefits-section ul li::before {
    content: "✓";
    color: var(--v1-success);
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.price-page .benefits-section ul li strong {
    color: var(--v1-gray-900);
    font-weight: 600;
}

.price-page .cta {
    margin-top: 14px;
    padding: 12px 14px;
    background: var(--v1-gray-50);
    border-radius: var(--v1-radius);
    border: 1px solid var(--v1-gray-200);
}

.price-page .cta p {
    font-size: 12px;
    color: var(--v1-gray-700);
    line-height: 1.55;
    margin: 0;
}

.price-page .cta p strong {
    color: var(--v1-gray-900);
    font-weight: 700;
}

.price-page .faq {
    margin-top: 40px;
    padding: 18px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 28px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(17, 24, 39, 0.07);
}

.price-page .faq h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--v1-gray-900);
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--v1-gray-100);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.02em;
}

.price-page .faq h3 i {
    color: var(--v1-primary);
    font-size: 18px;
    opacity: 0.95;
}

.price-page .price-page__faq-item {
    border-bottom: 1px solid var(--v1-gray-100);
    padding: 4px 0 12px;
}

.price-page .price-page__faq-item:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.price-page .price-page__faq-item summary {
    font-size: 13px;
    font-weight: 600;
    color: var(--v1-gray-900);
    cursor: pointer;
    list-style: none;
    padding: 7px 0 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-page .price-page__faq-item summary::-webkit-details-marker {
    display: none;
}

.price-page .price-page__faq-item summary::before {
    content: "";
    width: 6px;
    height: 6px;
    border-right: 2px solid var(--v1-gray-400);
    border-bottom: 2px solid var(--v1-gray-400);
    transform: rotate(-45deg);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.price-page .price-page__faq-item[open] summary::before {
    transform: rotate(45deg);
    margin-top: 4px;
}

.price-page .price-page__faq-item p {
    font-size: 12px;
    color: var(--v1-gray-600);
    line-height: 1.55;
    margin: 0 0 6px 12px;
    padding-left: 8px;
    border-left: 2px solid var(--v1-gray-100);
}

/* Enterprise inquiry modal (same data path as /contactus) */
.price-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.price-modal.price-modal--open {
    display: flex;
}

.price-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.55);
}

.price-modal__dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 400px;
    max-height: 90vh;
    overflow: auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.18);
    padding: 18px 18px 14px;
    border: 1px solid rgba(17, 24, 39, 0.08);
}

.price-modal__close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: none;
    background: transparent;
    font-size: 26px;
    line-height: 1;
    color: var(--v1-gray-500);
    cursor: pointer;
    padding: 4px 8px;
}

.price-modal__close:hover {
    color: var(--v1-gray-900);
}

.price-modal__dialog h2 {
    margin: 0 32px 8px 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--v1-gray-900);
}

.price-modal__lead {
    font-size: 13px;
    color: var(--v1-gray-600);
    margin: 0 0 16px;
    line-height: 1.5;
}

.price-modal .price-modal__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.price-modal .price-modal__field {
    margin-bottom: 12px;
}

.price-modal .price-modal__field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--v1-gray-700);
    margin-bottom: 4px;
}

.price-modal .price-modal__field input,
.price-modal .price-modal__field textarea {
    width: 100%;
    padding: 9px 11px;
    border: 1px solid var(--v1-gray-300);
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
}

.price-modal .price-modal__field input:focus,
.price-modal .price-modal__field textarea:focus {
    outline: none;
    border-color: var(--v1-primary);
    box-shadow: 0 0 0 3px var(--v1-primary-light);
}

.price-modal .price-modal__field textarea {
    min-height: 88px;
    resize: vertical;
}

.price-modal__actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}

.price-modal__submit {
    width: 100%;
    padding: 11px 16px;
    background: var(--v1-primary);
    color: #fff;
    border: none;
    border-radius: var(--v1-radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.price-modal__submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.price-modal__hint {
    font-size: 12px;
    color: var(--v1-gray-500);
    text-align: center;
    margin: 0;
}

.price-modal__hint a {
    color: var(--v1-primary);
}

.price-modal__msg {
    display: none;
    padding: 10px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 12px;
}

.price-modal__msg--ok {
    display: block;
    background: #ecfdf5;
    border: 1px solid #6ee7b7;
    color: #065f46;
}

.price-modal__msg--err {
    display: block;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

@media (max-width: 576px) {
    .price-modal .price-modal__row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .price-page .pricing-page-wrapper {
        padding: 12px 14px 24px;
    }

    .price-page .pricing-header h1 {
        font-size: 21px;
    }

    .price-page .pricing-container {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .price-page .price-section {
        max-width: 100%;
    }

    .price-page .benefits-section,
    .price-page .faq {
        padding: 16px 16px;
    }

    .price-page .price-page__split {
        grid-template-columns: 1fr;
    }
}
