/* Competivera website */
body { -webkit-font-smoothing: antialiased; }

/* Header */
.cv-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--wp--preset--color--line); }
.admin-bar .cv-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .cv-header { top: 46px; } }
.cv-header .wp-block-site-title a { text-decoration: none; }
.cv-mark { width: 32px; height: 32px; border-radius: 8px; background: var(--wp--preset--color--amber); color: var(--wp--preset--color--navy) !important; font: 800 18px/32px var(--wp--preset--font-family--heading); text-align: center; display: inline-block; text-decoration: none; }
.cv-header .wp-block-navigation a { text-decoration: none; color: var(--wp--preset--color--ink); }
.cv-header .wp-block-navigation a:hover { color: var(--wp--preset--color--navy-2); }
.cv-nav-cta > a { background: var(--wp--preset--color--navy); color: #fff !important; padding: .55rem 1rem; border-radius: 9px; font-weight: 600; }
.cv-nav-cta > a:hover { background: var(--wp--preset--color--navy-2); }
.cv-nav-signin > a { font-weight: 600; }
.wp-block-navigation__responsive-container.is-menu-open .cv-nav-cta > a { display: inline-block; }

/* Shared */
.cv-eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem !important; font-weight: 600; color: var(--wp--preset--color--amber); margin-bottom: .5rem !important; }
.cv-eyebrow-dark { color: #B57A1E; }
.wp-block-button.is-style-cv-ghost .wp-block-button__link { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.cv-hero .wp-block-button.is-style-cv-ghost .wp-block-button__link, .cv-cta .wp-block-button.is-style-cv-ghost .wp-block-button__link { color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.55); }
.wp-block-button.is-style-cv-ghost .wp-block-button__link:hover { background: rgba(255,255,255,.08); }
.is-style-cv-card { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 14px; padding: 1.6rem 1.6rem 1.2rem; box-shadow: 0 1px 2px rgba(20,37,74,.05), 0 8px 24px rgba(20,37,74,.05); transition: transform .15s, box-shadow .15s; }
.is-style-cv-card:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(20,37,74,.06), 0 14px 34px rgba(20,37,74,.09); }
.is-style-cv-card h3 { margin-top: .6rem; }
.cv-icon { width: 44px; height: 44px; border-radius: 11px; background: #E6EAF4; color: var(--wp--preset--color--navy); display: grid; place-items: center; font-size: 1.3rem; margin: 0 !important; }
.wp-block-image.is-style-cv-screen img { border-radius: 12px; box-shadow: 0 2px 6px rgba(20,37,74,.08), 0 24px 60px rgba(20,37,74,.18); border: 1px solid rgba(20,37,74,.08); }
.cv-hero .wp-block-image.is-style-cv-screen img { box-shadow: 0 30px 80px rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.15); }
.cv-hero h1 { margin-top: .25rem; }
.cv-pain { border-top: 3px solid var(--wp--preset--color--amber); padding-top: 1rem; }
.cv-step-no { width: 40px; height: 40px; border-radius: 50%; background: var(--wp--preset--color--amber); color: var(--wp--preset--color--navy); font: 800 1.1rem/40px var(--wp--preset--font-family--heading); text-align: center; margin: 0 !important; }
.cv-step h3 { margin-top: 1rem; }
.cv-ticks { list-style: none; padding-left: 0; }
.cv-ticks li { padding-left: 1.6rem; position: relative; margin: .45rem 0; color: var(--wp--preset--color--muted); }
.cv-ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--wp--preset--color--green); font-weight: 700; }
.cv-faq { border-bottom: 1px solid var(--wp--preset--color--line); padding: 1.1rem 0; }
.cv-faq summary { font: 600 1.075rem var(--wp--preset--font-family--heading); color: var(--wp--preset--color--navy); cursor: pointer; }
.cv-faq p { margin-top: .75rem; }
.cv-cta { border-radius: 20px; }
@media (max-width: 781px) { .cv-reverse { flex-direction: column-reverse; } }

/* Footer */
.cv-footer a { color: #DFE6F5; text-decoration: none; }
.cv-footer a:hover { color: #fff; text-decoration: underline; }
.cv-footer-links { list-style: none; padding: 0; }
.cv-footer-links li { margin: .4rem 0; }
.cv-footer-brand { font: 800 1.3rem var(--wp--preset--font-family--heading); display: flex; align-items: center; gap: .6rem; }

/* Pricing (rendered by the Competivera plugin) */
.cvp { margin-top: 2rem; }
.cvp-toggle { display: flex; justify-content: center; margin-bottom: 2rem; }
.cvp-toggle-in { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 99px; padding: 4px; display: inline-flex; gap: 4px; }
.cvp-toggle button { border: 0; background: none; padding: .5rem 1.1rem; border-radius: 99px; cursor: pointer; font: 600 .95rem var(--wp--preset--font-family--body); color: var(--wp--preset--color--muted); }
.cvp-toggle button.on { background: var(--wp--preset--color--navy); color: #fff; }
.cvp-save { color: var(--wp--preset--color--green); font-size: .8rem; margin-left: .3rem; }
.cvp-toggle button.on .cvp-save { color: #9EE6C0; }
.cvp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; align-items: stretch; }
.cvp-card { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 16px; padding: 1.8rem; display: flex; flex-direction: column; position: relative; }
.cvp-card.cvp-featured { border: 2px solid var(--wp--preset--color--navy); box-shadow: 0 18px 50px rgba(20,37,74,.14); }
.cvp-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--wp--preset--color--amber); color: var(--wp--preset--color--navy); font: 700 .75rem var(--wp--preset--font-family--heading); padding: .3rem .8rem; border-radius: 99px; white-space: nowrap; }
.cvp-card h3 { margin: 0 0 .25rem; font-size: 1.3rem; }
.cvp-seats { color: var(--wp--preset--color--muted); margin: 0 0 1.2rem; }
.cvp-price { font: 800 2.2rem/1.1 var(--wp--preset--font-family--heading); color: var(--wp--preset--color--navy); }
.cvp-per { color: var(--wp--preset--color--muted); font-size: .95rem; margin-bottom: 1.4rem; }
.cvp-card ul { list-style: none; padding: 0; margin: 0 0 1.6rem; flex: 1; }
.cvp-card li { padding-left: 1.5rem; position: relative; margin: .5rem 0; font-size: .97rem; }
.cvp-card li::before { content: "✓"; position: absolute; left: 0; color: var(--wp--preset--color--green); font-weight: 700; }
.cvp-btn { display: block; text-align: center; padding: .85rem 1rem; border-radius: 10px; font: 700 1rem var(--wp--preset--font-family--heading); text-decoration: none !important; background: var(--wp--preset--color--navy); color: #fff !important; }
.cvp-btn:hover { background: var(--wp--preset--color--navy-2); }
.cvp-btn-alt { background: #fff; color: var(--wp--preset--color--navy) !important; box-shadow: inset 0 0 0 2px var(--wp--preset--color--navy); }
.cvp-btn-alt:hover { background: var(--wp--preset--color--mist); }
.cvp-note { text-align: center; color: var(--wp--preset--color--muted); font-size: .9rem; margin-top: 1.5rem; }
[data-cvp-billing="monthly"] .cvp-annual, [data-cvp-billing="annual"] .cvp-monthly { display: none; }

/* Forms (trial and demo) */
.cvf { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: 16px; padding: 2rem; box-shadow: 0 8px 30px rgba(20,37,74,.06); }
.cvf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 640px) { .cvf-grid { grid-template-columns: 1fr; } }
.cvf label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 1rem; color: var(--wp--preset--color--navy); }
.cvf input, .cvf select, .cvf textarea { display: block; width: 100%; margin-top: .35rem; padding: .7rem .8rem; border: 1px solid #CFD5E2; border-radius: 9px; font: 400 1rem var(--wp--preset--font-family--body); box-sizing: border-box; }
.cvf input:focus, .cvf select:focus, .cvf textarea:focus { outline: 3px solid #E3EDFC; border-color: var(--wp--preset--color--navy-2); }
.cvf .cvf-hp { position: absolute; left: -9999px; }
.cvf button { background: var(--wp--preset--color--amber); color: var(--wp--preset--color--navy); border: 0; border-radius: 10px; padding: .9rem 1.5rem; font: 700 1rem var(--wp--preset--font-family--heading); cursor: pointer; }
.cvf button:hover { background: #F0B65C; }
.cvf-small { font-size: .85rem; color: var(--wp--preset--color--muted); font-weight: 400; }
.cvf-msg { padding: 1rem 1.2rem; border-radius: 10px; margin-bottom: 1.2rem; }
.cvf-ok { background: #E3F4EA; color: #155E3B; }
.cvf-err { background: #FBE5E2; color: #8E2A1F; }
.cv-draft-note { background: #FDF1D9; color: #7A4D00; padding: .9rem 1.1rem; border-radius: 10px; font-size: .95rem; }

/* No gap between header, landing sections and footer */
.wp-site-blocks > .cv-landing, .wp-site-blocks > .cv-landing + footer, .wp-site-blocks > .cv-landing + .wp-block-template-part { margin-block-start: 0; }
.wp-site-blocks > .wp-block-template-part:last-child { margin-block-start: 0; }
