.checkout-page { min-height: 100vh; background: radial-gradient(circle at 88% 3%, rgba(229,25,36,.2) 0, rgba(229,25,36,.06) 22rem, transparent 42rem), radial-gradient(circle at 4% 54%, rgba(158,0,21,.09) 0, transparent 34rem), var(--bg-main); }
.checkout-page::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(135deg, rgba(255,255,255,.018), transparent 38%); }
.checkout-shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 140px 0 80px; }
.checkout-heading { max-width: 720px; margin-bottom: 36px; }
.checkout-heading h1 { margin-bottom: 12px; }
.checkout-heading p, .panel-heading p, .muted, .submit-note { color: var(--text-muted); }
.checkout-heading .btn { margin-top: 18px; }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.checkout-main { display: grid; gap: 20px; }
.checkout-panel { background: rgba(18, 18, 18, .78); border: 1px solid var(--border-light); border-radius: 22px; padding: 28px; box-shadow: 0 18px 48px rgba(0,0,0,.25); }
.checkout-main > .checkout-panel { content-visibility: auto; contain-intrinsic-size: auto 420px; }
.panel-heading { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 24px; }
.panel-heading h2, .order-summary h2, .payment-view h2 { font-size: 1.55rem; margin-bottom: 4px; }
.step { display: inline-grid; place-items: center; flex: 0 0 34px; height: 34px; border-radius: 50%; color: #fff; background: var(--red); font-weight: 800; }
.field-label { display: block; color: #e5e7eb; font-weight: 650; margin: 0 0 8px; }
.field-control { width: 100%; min-height: 48px; border-radius: 12px; border: 1px solid var(--border-light); color: #fff; background: #0b0b0b; padding: 11px 13px; font: inherit; }
.field-control:focus { outline: 2px solid rgba(196,0,26,.34); border-color: var(--red-hover); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field-grid label:last-child { grid-column: 1 / -1; }
.product-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.product-option { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; min-height: 78px; border: 1px solid var(--border-light); border-radius: 16px; padding: 16px; cursor: pointer; transition: var(--transition); }
.product-option:hover, .product-option.selected { border-color: rgba(196,0,26,.7); background: rgba(158,0,21,.09); }
.product-option input { width: 20px; height: 20px; accent-color: var(--red-hover); }
.product-option strong { display: block; color: #fff; line-height: 1.25; }
.product-option small { display: block; margin-top: 4px; color: var(--text-muted); }
.custom-builder-controls { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 20px; padding: 18px; border: 1px solid rgba(196,0,26,.38); border-radius: 16px; background: rgba(158,0,21,.07); }
.custom-builder-controls[hidden] { display: none; }
.custom-builder-controls p { margin: 4px 0 0; color: var(--text-muted); font-size: .88rem; }
.custom-feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.custom-feature-list .offer-option { min-height: 104px; }
.custom-mode-badge { display: inline-flex; width: fit-content; margin-bottom: 12px; padding: 6px 10px; border: 1px solid rgba(110,231,183,.32); border-radius: 999px; color: #6ee7b7; background: rgba(16,185,129,.08); font-size: .74rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.custom-cavebot-option { cursor: default; }
.custom-route-marker { display: grid; place-items: center; width: 19px; height: 19px; border: 1px solid #6b7280; border-radius: 4px; color: transparent; font-size: .75rem; font-weight: 900; }
.custom-cavebot-option.selected .custom-route-marker { border-color: var(--red-hover); color: #fff; background: var(--red-hover); }
.custom-route-content { min-width: 0; }
.custom-route-field { display: grid; gap: 6px; margin-top: 12px; color: #d1d5db; font-size: .8rem; font-weight: 650; }
.custom-route-field .field-control { min-height: 40px; padding: 8px 11px; }
.offer-list { display: grid; gap: 12px; }
.offer-group + .offer-group { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--border-light); }
.offer-group-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.offer-group-heading h3 { font-size: 1rem; }
.offer-group-heading span, .addon-help { color: var(--text-muted); font-size: .86rem; }
.offer-option { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; border: 1px solid var(--border-light); border-radius: 16px; padding: 17px; cursor: pointer; transition: var(--transition); }
.offer-option:hover, .offer-option.selected { border-color: rgba(196,0,26,.7); background: rgba(158,0,21,.09); }
.offer-option input { width: 19px; height: 19px; accent-color: var(--red-hover); }
.offer-name { display: block; font-weight: 750; color: #fff; }
.offer-description { display: block; color: var(--text-muted); font-size: .9rem; }
.offer-price { display: grid; justify-items: end; color: #fff; font-weight: 800; white-space: nowrap; }
.offer-price del { color: var(--text-muted); font-size: .78rem; font-weight: 500; }
.offer-price small { color: #6ee7b7; font-size: .7rem; letter-spacing: .04em; text-transform: uppercase; }
.offer-quantity { width: 68px; min-height: 38px; margin-top: 8px; }
.addon-title { font-size: 1rem; margin: 24px 0 12px; }
.addon-help { margin: -6px 0 12px; }
.empty-state, .notice { border: 1px dashed var(--border-light); border-radius: 14px; padding: 18px; color: var(--text-muted); }
.notice { margin-bottom: 24px; border-style: solid; background: rgba(158,0,21,.08); color: #fca5a5; }
.sandbox-notice { border-color: rgba(245,158,11,.45); background: rgba(245,158,11,.08); color: #fcd34d; }
.sandbox-notice strong { color: #fef3c7; }
.manual-pix-notice { border-color: rgba(16,185,129,.42); background: rgba(16,185,129,.08); color: #a7f3d0; }
.manual-pix-notice strong { color: #d1fae5; }
.risk-box { margin: 24px 0; padding: 18px; border: 1px solid rgba(245,158,11,.35); background: rgba(245,158,11,.08); border-radius: 14px; color: #fcd34d; }
.risk-box p { margin-top: 6px; color: #d1d5db; }
.renewal-notice { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 24px; padding: 16px 18px; border: 1px solid rgba(16,185,129,.45); border-radius: 14px; color: #a7f3d0; background: rgba(16,185,129,.09); }
.renewal-notice[hidden] { display: none; }
.renewal-notice i { flex: 0 0 auto; width: 22px; height: 22px; }
.renewal-notice p { margin-top: 5px; color: #d1d5db; line-height: 1.5; }
.renewal-notice .mono { color: #fff; font-family: "Cascadia Code", Consolas, monospace; }
.legal-acceptances { border: 0; padding: 0; margin: 0; }
.legal-acceptances legend { font-weight: 750; margin-bottom: 10px; }
.legal-check { display: flex; gap: 10px; align-items: flex-start; color: #d1d5db; margin: 12px 0; }
.legal-check input { margin-top: 4px; accent-color: var(--red-hover); }
.legal-check a { color: #fff; }
.checkout-submit { margin-top: 20px; min-height: 52px; }
.checkout-submit:disabled { opacity: .45; cursor: not-allowed; }
.submit-note { text-align: center; margin-top: 10px; font-size: .83rem; }
.form-error { color: #fca5a5; min-height: 24px; margin-top: 12px; }
.order-summary { position: sticky; top: 96px; }
.summary-items { display: grid; gap: 11px; margin: 22px 0; }
.summary-line { display: flex; justify-content: space-between; gap: 16px; color: #d1d5db; }
.summary-facts { border-top: 1px solid var(--border-light); }
.summary-facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--border-light); }
.summary-facts dt { color: var(--text-muted); }
.summary-facts dd { color: #fff; font-weight: 700; }
.summary-total { font-size: 1.15rem; }
.summary-total dd { color: #f87171; }
.pix-only { margin-top: 18px; color: var(--text-muted); font-size: .86rem; }
.pix-only span { display: inline-block; color: #67e8f9; font-weight: 900; margin-right: 6px; }
.payment-modal { position: fixed; inset: 0; z-index: 1200; display: grid; place-items: center; padding: 24px; background: rgba(0,0,0,.88); }
.payment-modal[hidden] { display: none; }
.payment-view { position: relative; width: min(620px, 100%); max-height: min(88vh, 820px); overflow-y: auto; margin: 0; text-align: center; box-shadow: 0 30px 100px rgba(0,0,0,.72), 0 0 0 1px rgba(255,255,255,.04); }
.modal-close { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border: 1px solid var(--border-light); border-radius: 50%; color: #fff; background: rgba(0,0,0,.34); font: 400 1.7rem/1 sans-serif; cursor: pointer; transition: var(--transition); }
.modal-close:hover, .modal-close:focus-visible { border-color: rgba(196,0,26,.8); background: rgba(158,0,21,.18); outline: none; }
.payment-resume { display: flex; align-items: center; justify-content: space-between; gap: 18px; color: #e5e7eb; }
.payment-resume[hidden] { display: none; }
.payment-resume .btn { flex: 0 0 auto; }
body.modal-open { overflow: hidden; }
.plans-modal { position: fixed; inset: 0; z-index: 1150; display: grid; place-items: center; padding: 18px; background: radial-gradient(circle at 84% 4%, rgba(229,25,36,.2), transparent 34rem), rgba(2,2,2,.9); }
.plans-modal[hidden] { display: none; }
.plans-dialog { position: relative; width: min(1280px, 100%); max-height: calc(100vh - 30px); overflow-y: auto; padding: 26px; background: linear-gradient(145deg, rgba(24,24,24,.96), rgba(8,8,8,.94) 58%, rgba(36,4,9,.9)); box-shadow: 0 32px 110px rgba(0,0,0,.72), inset 0 1px rgba(255,255,255,.035); }
.plans-heading { display: flex; justify-content: space-between; gap: 24px; align-items: flex-end; padding-right: 44px; margin-bottom: 18px; }
.plans-heading h2 { margin: 6px 0 3px; font-size: clamp(1.65rem, 2.6vw, 2.2rem); }
.plans-heading p { max-width: 720px; color: var(--text-muted); }
.launch-label { display: inline-flex; padding: 6px 10px; border: 1px solid rgba(16,185,129,.42); border-radius: 999px; color: #6ee7b7; background: rgba(16,185,129,.1); font-size: .72rem; font-weight: 850; letter-spacing: .08em; }
.duration-switch { display: inline-flex; flex: 0 0 auto; padding: 4px; border: 1px solid var(--border-light); border-radius: 999px; background: #080808; }
.duration-switch button { border: 0; border-radius: 999px; padding: 10px 15px; color: var(--text-muted); background: transparent; cursor: pointer; font: inherit; font-weight: 750; }
.duration-switch button.selected { color: #fff; background: var(--red); }
.plans-layout { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 14px; align-items: stretch; }
.plan-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 14px; }
.plan-card, .custom-plan-card { position: relative; contain: layout paint; border: 1px solid var(--border-light); border-radius: 18px; padding: 18px; background: linear-gradient(160deg, rgba(18,18,18,.9), rgba(3,3,3,.72)); }
.plan-card { display: flex; flex-direction: column; }
.plan-card.recommended { border-color: rgba(196,0,26,.75); box-shadow: inset 0 0 0 1px rgba(196,0,26,.16), 0 14px 50px rgba(158,0,21,.12); }
.plan-ribbon { position: absolute; top: 14px; right: 14px; color: #fecaca; font-size: .68rem; font-weight: 850; letter-spacing: .06em; }
.plan-card h3, .custom-plan-card h3 { font-size: 1.25rem; margin-bottom: 6px; }
.plan-subtitle { min-height: 38px; color: var(--text-muted); font-size: .84rem; }
.plan-price { margin: 12px 0 10px; }
.plan-price del { display: block; color: var(--text-muted); font-size: .84rem; }
.plan-price strong { display: block; color: #fff; font-size: 1.75rem; line-height: 1.15; }
.plan-price span { color: #6ee7b7; font-size: .75rem; font-weight: 800; }
.plan-price .plan-saving { display: block; margin-top: 5px; color: #facc15; }
.plan-advantage { margin: 0 0 10px; padding: 8px 10px; border: 1px solid rgba(196,0,26,.35); border-radius: 10px; color: #fecaca; background: rgba(196,0,26,.08); font-size: .76rem; line-height: 1.35; }
.plan-advantage strong { color: #fff; }
.plan-card ul, .custom-plan-card ul { display: grid; gap: 6px; margin: 10px 0 14px; padding: 0; list-style: none; color: #d1d5db; font-size: .82rem; line-height: 1.35; }
.plan-card li::before, .custom-plan-card li::before { content: "✓"; margin-right: 8px; color: #6ee7b7; font-weight: 900; }
.plan-card .btn { margin-top: auto; }
.plan-card-skeleton { min-height: 380px; gap: 15px; }
.skeleton-line { display: block; width: 100%; height: 12px; border-radius: 999px; background: rgba(255,255,255,.075); }
.skeleton-title { width: 48%; height: 24px; }
.skeleton-copy { width: 82%; }
.skeleton-price { width: 60%; height: 38px; margin: 10px 0; }
.skeleton-button { height: 46px; margin-top: auto; border-radius: 12px; }
.plan-load-error { grid-column: 1 / -1; display: grid; justify-items: start; gap: 10px; align-content: center; min-height: 240px; padding: 28px; border: 1px dashed rgba(248,113,113,.4); border-radius: 16px; color: #fca5a5; background: rgba(127,29,29,.1); }
.plan-load-error span { color: var(--text-muted); }
.modal-open .navbar { backdrop-filter: none; }
.custom-plan-card { display: flex; flex-direction: column; border-style: dashed; }
.custom-plan-card p { color: var(--text-muted); font-size: .9rem; }
.custom-plan-card .btn { margin-top: auto; }
.feature-groups { display: grid; gap: 18px; }
.feature-group h3 { margin-bottom: 10px; font-size: .95rem; }
.feature-list { display: flex; flex-wrap: wrap; gap: 8px; }
.feature-chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border: 1px solid rgba(16,185,129,.26); border-radius: 999px; color: #d1fae5; background: rgba(16,185,129,.07); font-size: .83rem; }
.feature-chip::before { content: "✓"; color: #34d399; font-weight: 900; }
.feature-empty { color: var(--text-muted); }
.session-picker { display: grid; grid-template-columns: 48px minmax(120px, 180px) 48px 1fr; gap: 10px; align-items: end; }
.session-picker button { min-height: 48px; border: 1px solid var(--border-light); border-radius: 12px; color: #fff; background: #0b0b0b; font: 800 1.3rem/1 sans-serif; cursor: pointer; }
.session-picker button:hover { border-color: rgba(196,0,26,.75); }
.session-picker label span { display: block; margin-bottom: 7px; color: #e5e7eb; font-weight: 700; }
.session-picker input { text-align: center; font-weight: 800; }
.session-picker p { align-self: center; color: var(--text-muted); }
.payment-status { display: inline-block; margin-bottom: 18px; padding: 7px 12px; border-radius: 999px; background: rgba(245,158,11,.12); color: #fcd34d; font-weight: 800; font-size: .82rem; text-transform: uppercase; }
.payment-status.success { background: rgba(16,185,129,.12); color: #6ee7b7; }
.payment-status.error { background: rgba(239,68,68,.12); color: #fca5a5; }
.pix-qr { display: block; width: min(300px, 100%); aspect-ratio: 1; object-fit: contain; margin: 24px auto; padding: 10px; border-radius: 16px; background: #fff; }
.manual-proof-box { display: grid; gap: 5px; margin: 16px 0; padding: 14px 16px; border: 1px solid rgba(16,185,129,.42); border-radius: 14px; background: rgba(16,185,129,.08); color: #d1fae5; }
.manual-proof-box[hidden] { display: none; }
.manual-proof-box strong { color: #6ee7b7; }
.payment-refresh-message { margin: 12px 0 0; text-align: center; }
.copy-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-bottom: 12px; }
.claim-form { text-align: left; margin-top: 24px; }
@media (max-width: 980px) { .plans-layout { grid-template-columns: 1fr; } .custom-plan-card { min-height: 250px; } }
@media (max-width: 880px) { .checkout-layout { grid-template-columns: 1fr; } .order-summary { position: static; order: -1; } .plan-options { grid-template-columns: 1fr; } .plan-subtitle { min-height: 0; } }
@media (max-width: 760px) { .product-options, .custom-feature-list { grid-template-columns: 1fr; } .custom-builder-controls { align-items: flex-start; flex-direction: column; } }
@media (max-width: 620px) { .checkout-shell { width: min(100% - 20px, 1180px); padding-top: 110px; } .checkout-panel { padding: 20px; border-radius: 18px; } .field-grid { grid-template-columns: 1fr; } .field-grid label:last-child { grid-column: auto; } .offer-option { grid-template-columns: auto 1fr; } .offer-price { grid-column: 2; justify-items: start; } .copy-row { grid-template-columns: 1fr; } .payment-modal, .plans-modal { padding: 10px; align-items: center; } .payment-view, .plans-dialog { max-height: calc(100vh - 20px); padding-top: 58px; } .payment-resume { align-items: stretch; flex-direction: column; } .plans-heading { display: grid; padding-right: 0; } .duration-switch { justify-self: start; } .session-picker { grid-template-columns: 48px minmax(100px, 1fr) 48px; } .session-picker p { grid-column: 1 / -1; } }
