/* Lead-capture form (identical to the homepage scorecard form) + pricing components.
   Linked only on pages that need them (Contact, Pricing). */

/* ---------- Lead capture form ---------- */
.lf-wrap { position: relative; z-index: 2; max-width: 640px; margin: 0 auto }
.lf-wrap::before { content: ''; position: absolute; left: 5%; right: 5%; top: 18%; bottom: -30px; border-radius: var(--rxl); background: linear-gradient(115deg, #0057FF, #6F6BFF 26%, #B563FF 47%, #FF5C8A 70%, #FFA24D); filter: blur(38px); opacity: .48; animation: lfBloom 16s ease-in-out infinite alternate; pointer-events: none }
@keyframes lfBloom { from { filter: blur(38px) hue-rotate(0deg); opacity: .40 } to { filter: blur(44px) hue-rotate(26deg); opacity: .56 } }
.lf-wrap::after { content: ''; position: absolute; inset: 0; border-radius: var(--rxl); padding: 1.5px; background: linear-gradient(140deg, rgba(0,87,255,.95), rgba(181,99,255,.8) 38%, rgba(255,92,138,.65) 64%, rgba(255,162,77,.9)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; pointer-events: none }
.lf { position: relative; z-index: 1; background: rgba(7,11,26,.82); border: 1px solid rgba(255,255,255,.08); border-radius: var(--rxl); padding: clamp(26px,4vw,40px); text-align: left; backdrop-filter: blur(18px); box-shadow: 0 18px 60px rgba(0,0,0,.45) }
@media (prefers-reduced-motion: reduce) { .lf-wrap::before { animation: none } }
.lf-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px }
.lf-step { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.6) }
.lf-bars { display: flex; gap: 6px; flex: 1; max-width: 200px }
.lf-bar { height: 4px; flex: 1; border-radius: 100px; background: rgba(255,255,255,.13); transition: background .35s ease }
.lf-bar.on { background: var(--bl) }
.lf-pane { display: none; animation: lfIn .38s ease both }
.lf-pane.on { display: block }
@keyframes lfIn { from { opacity: 0; transform: translateY(12px) } to { opacity: 1; transform: none } }
.lf-q { font-size: clamp(21px,2.6vw,26px); font-weight: 800; color: #fff; line-height: 1.28; letter-spacing: -.01em }
.lf-sub { font-size: 14.5px; color: rgba(255,255,255,.64); margin-top: 8px; line-height: 1.55 }
.lf-label { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 9px }
.lf-field { margin-top: 22px }
.lf-input, .lf-area { width: 100%; font-family: inherit; font-size: 16px; color: #fff; background: rgba(255,255,255,.09); border: 2px solid rgba(255,255,255,.3); border-radius: 14px; padding: 16px 18px; transition: border-color .2s, background .2s, box-shadow .2s; outline: none }
.lf-area { min-height: 118px; resize: vertical; line-height: 1.55 }
.lf-input::placeholder, .lf-area::placeholder { color: rgba(255,255,255,.4) }
.lf-input:hover, .lf-area:hover { border-color: rgba(255,255,255,.5) }
.lf-input:focus, .lf-area:focus { border-color: var(--bl); background: rgba(255,255,255,.12); box-shadow: 0 0 0 4px rgba(0,87,255,.3) }
.lf-opts { display: grid; gap: 10px }
.lf-opt { display: flex; align-items: center; gap: 13px; width: 100%; text-align: left; font-family: inherit; font-size: 15.5px; font-weight: 600; color: #fff; background: rgba(255,255,255,.08); border: 2px solid rgba(255,255,255,.28); border-radius: 14px; padding: 15px 18px; transition: all .18s }
.lf-opt:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.62) }
.lf-opt:focus-visible { outline: none; border-color: var(--bl); box-shadow: 0 0 0 4px rgba(0,87,255,.3) }
.lf-opt.sel { background: rgba(0,87,255,.26); border-color: var(--bl); color: #fff; box-shadow: 0 0 0 4px rgba(0,87,255,.18) }
.lf-dot { width: 19px; height: 19px; flex-shrink: 0; border-radius: 50%; border: 2px solid rgba(255,255,255,.55); background: rgba(0,0,0,.25); position: relative; transition: all .18s }
.lf-opt.sel .lf-dot { border-color: var(--bl); background: var(--bl) }
.lf-opt.sel .lf-dot::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: #fff }
.lf-nav { display: flex; align-items: center; gap: 12px; margin-top: 24px }
.lf-back { background: transparent; color: rgba(255,255,255,.6); font-size: 14px; font-weight: 600; padding: 8px 4px; transition: color .2s }
.lf-back:hover { color: #fff }
.lf-next { flex: 1 }
.lf-err { font-size: 13.5px; font-weight: 600; color: #FF6B6B; margin-top: 10px; min-height: 18px }
.lf-fine { font-size: 12.5px; color: rgba(255,255,255,.45); margin-top: 14px; line-height: 1.5 }
.lf-done { text-align: center; padding: 14px 0 6px }
.lf-check { width: 60px; height: 60px; margin: 0 auto 20px; border-radius: 50%; background: rgba(0,87,255,.18); border: 2px solid var(--bl); display: flex; align-items: center; justify-content: center; font-size: 27px; color: #fff; animation: lfPop .45s cubic-bezier(.2,1.4,.4,1) both }
@keyframes lfPop { from { transform: scale(.4); opacity: 0 } to { transform: scale(1); opacity: 1 } }
.lf-spin { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.35); border-top-color: var(--dk); border-radius: 50%; animation: lfSpin .7s linear infinite; display: inline-block }
@keyframes lfSpin { to { transform: rotate(360deg) } }
@media (max-width: 560px) { .lf-top { flex-direction: column; align-items: flex-start; gap: 10px } .lf-bars { max-width: none; width: 100% } }

/* ---------- Pricing components ---------- */
.pt-toggle { display: inline-flex; gap: 4px; background: #fff; border: 1px solid var(--bd); border-radius: 100px; padding: 5px; margin: 26px auto 0; box-shadow: var(--s1) }
.pt-toggle button { background: transparent; border: none; padding: 10px 22px; border-radius: 100px; font-size: 14px; font-weight: 700; color: var(--t3); font-family: inherit; transition: all .2s; display: inline-flex; align-items: center; gap: 8px }
.pt-toggle button.active { background: var(--bl); color: #fff }
.pt-save { font-size: 11px; font-weight: 700; background: rgba(255,255,255,.22); padding: 2px 8px; border-radius: 100px }
.pt-toggle button:not(.active) .pt-save { background: var(--bll); color: var(--bl) }
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; align-items: start }
.pcard { background: #fff; border: 1px solid var(--bd); border-radius: var(--rl); padding: 28px 24px; box-shadow: var(--s1); display: flex; flex-direction: column; position: relative }
.pcard.feat { border: 2px solid var(--bl); box-shadow: var(--s2) }
.pcard.dark { background: var(--dk2); color: #fff; border-color: transparent }
.pbadge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--bl); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .5px; padding: 5px 14px; border-radius: 100px; white-space: nowrap }
.ptier { font-size: 15px; font-weight: 800; letter-spacing: -.2px; margin-bottom: 10px }
.pprice { font-size: 40px; font-weight: 900; letter-spacing: -1.5px; line-height: 1 }
.pprice sup { font-size: 20px; font-weight: 800; vertical-align: super; top: -.2em; margin-right: 1px }
.pprice .sfx { font-size: 15px; font-weight: 600; color: var(--t3); letter-spacing: 0 }
.pcard.dark .pprice .sfx { color: rgba(255,255,255,.55) }
.pcommit { font-size: 12.5px; color: var(--t3); margin-top: 8px }
.pcard.dark .pcommit { color: rgba(255,255,255,.55) }
.pnote { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--t3); margin-bottom: 4px }
.pbuild { margin: 16px 0; padding: 12px 14px; background: var(--bll); border-radius: 10px; font-size: 12.5px; line-height: 1.5 }
.pcard.dark .pbuild { background: rgba(255,255,255,.07) }
.pbuild b { display: block; color: var(--bl); font-weight: 700 }
.pcard.dark .pbuild b { color: #7aa5ff }
.pdesc { font-size: 13.5px; color: var(--t2); line-height: 1.6; margin: 6px 0 16px }
.pcard.dark .pdesc { color: rgba(255,255,255,.7) }
.pcard hr { border: none; border-top: 1px solid var(--bd); margin: 4px 0 16px }
.pcard.dark hr { border-color: rgba(255,255,255,.12) }
.pfeat-lbl { font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--t3); margin-bottom: 12px }
.pfeats { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-bottom: 22px; flex: 1 }
.pfeats li { position: relative; padding-left: 24px; font-size: 13.5px; line-height: 1.55; color: var(--t2) }
.pcard.dark .pfeats li { color: rgba(255,255,255,.78) }
.pfeats li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--bl); font-weight: 800 }
.pcard.dark .pfeats li::before { color: #7aa5ff }
.ptable-wrap { overflow-x: auto; margin-top: 12px }
.ptable { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 720px }
.ptable th, .ptable td { padding: 13px 14px; text-align: center; border-bottom: 1px solid var(--bd) }
.ptable th:first-child, .ptable td:first-child { text-align: left; font-weight: 600; color: var(--tx) }
.ptable thead th { font-size: 13px; font-weight: 800; color: var(--tx) }
.ptable thead th span { font-weight: 400; opacity: .65; font-size: 12px }
.ptable .th-feat, .ptable .td-feat { background: var(--bll) }
.ptable .cy { color: var(--bl); font-weight: 700 }
.ptable .cn { color: var(--tm) }
.pannual-note { background: var(--bt); border: 1px solid var(--blm); border-radius: var(--rl); padding: 18px 22px; font-size: 14.5px; color: var(--t2); line-height: 1.7; margin-top: 30px }
@media (max-width: 1024px) { .pgrid { grid-template-columns: repeat(2, 1fr) } }
@media (max-width: 560px) { .pgrid { grid-template-columns: 1fr } }
