/* Paymatriix demo — Option B: Bold and friendly */
:root {
  --violet: #534AB7;
  --violet-dark: #3C3489;
  --ink: #26215C;
  --lavender: #EEEDFE;
  --lavender-2: #CECBF6;
  --coral: #D85A30;
  --coral-light: #F5C4B3;
  --cream: #FFF6F1;
  --peach: #FAECE7;
  --text: #2C2A4A;
  --muted: #6B6890;
  --white: #ffffff;
  --border: #E6E3F5;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(38, 33, 92, 0.10);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Poppins", system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: var(--violet); text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 600; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.bg-cream { background: var(--cream); }
.bg-lavender { background: var(--lavender); }
.bg-ink { background: var(--ink); color: #D9D6F7; }
.bg-ink h2, .bg-ink h3 { color: var(--white); }
.center { text-align: center; }
.accent { color: var(--coral); }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .04em;
  color: var(--violet); background: var(--lavender); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.center .lead { margin-left: auto; margin-right: auto; }
.section-head { margin-bottom: 56px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 500; font-size: .95rem;
  padding: 14px 28px; border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--violet); color: var(--white); box-shadow: 0 8px 20px rgba(83, 74, 183, .3); }
.btn-primary:hover { background: var(--violet-dark); }
.btn-coral { background: var(--coral); color: var(--white); }
.btn-coral:hover { background: #BF4B24; }
.btn-light { background: var(--white); color: var(--violet-dark); border-color: var(--border); }
.btn-outline-light { color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.center .btn-row { justify-content: center; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.35rem; color: var(--ink); }
.logo-mark {
  width: 36px; height: 36px; border-radius: 12px; background: var(--violet); color: var(--white);
  display: grid; place-items: center; font-size: 1.1rem; position: relative;
}
.logo-mark::after {
  content: ""; position: absolute; right: -4px; top: -4px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--coral); border: 2px solid var(--white);
}
.nav-links { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--text); font-size: .95rem; font-weight: 500; padding: 8px 14px; border-radius: 999px; }
.nav-links a:hover, .nav-links a.active { background: var(--lavender); color: var(--violet); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-cta .btn { padding: 10px 22px; }
.menu-toggle {
  display: none; background: var(--lavender); border: 0; width: 44px; height: 44px; border-radius: 12px;
  font-size: 1.4rem; color: var(--violet); cursor: pointer;
}

/* Hero */
.hero { background: var(--peach); padding: 88px 0 110px; overflow: hidden; position: relative; }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; z-index: 0;
}
.hero::before { width: 420px; height: 420px; background: var(--lavender-2); opacity: .5; left: -160px; top: -140px; }
.hero::after { width: 300px; height: 300px; background: var(--coral-light); opacity: .6; right: -80px; bottom: -120px; }
.hero > .container { position: relative; z-index: 1; }
.hero-center { text-align: center; max-width: 820px; margin: 0 auto; }
.hero-center .lead { margin: 0 auto 32px; }
.hero-center .btn-row { justify-content: center; }
.hero-trust { margin-top: 18px; font-size: .88rem; color: var(--muted); }
.hero-gallery {
  display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 20px; margin-top: 64px; align-items: end; position: relative;
}
.hero-gallery .tile { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
.hero-gallery .tile img { width: 100%; height: 100%; object-fit: cover; }
.hero-gallery .tile:nth-child(1) { height: 280px; }
.hero-gallery .tile:nth-child(2) { height: 360px; }
.hero-gallery .tile:nth-child(3) { height: 280px; }
.float-card {
  position: absolute; background: var(--white); border-radius: 18px; padding: 14px 18px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 12px; font-size: .88rem;
}
.float-card strong { display: block; color: var(--ink); font-size: 1rem; }
.float-card .icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 1.2rem; }
.float-card.one { left: 22%; top: -24px; }
.float-card.two { right: 20%; bottom: -26px; }

/* Page hero */
.page-hero { background: var(--peach); padding: 80px 0; text-align: center; position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: var(--lavender-2);
  opacity: .5; right: -60px; top: -80px;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .lead { margin: 0 auto; }

/* Logos */
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 48px; opacity: .7; }
.logos span { font-weight: 700; font-size: 1.25rem; color: var(--muted); letter-spacing: -.01em; }

/* Cards & grids */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card p { color: var(--muted); margin: 0; }
.icon-badge {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 20px;
  background: var(--lavender); color: var(--violet);
}
.icon-badge.coral { background: var(--peach); color: var(--coral); }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { border-radius: 28px; width: 100%; height: 420px; object-fit: cover; box-shadow: var(--shadow); }
.split-media .float-card { left: -24px; bottom: 28px; }
.checklist { list-style: none; padding: 0; margin: 24px 0 32px; }
.checklist li { display: flex; gap: 12px; margin-bottom: 12px; }
.checklist li::before {
  content: "✓"; flex: 0 0 26px; height: 26px; border-radius: 50%; background: var(--lavender); color: var(--violet);
  display: grid; place-items: center; font-size: .8rem; font-weight: 700; margin-top: 1px;
}

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 12px; }
.step-num {
  width: 52px; height: 52px; border-radius: 50%; background: var(--coral); color: var(--white); display: grid;
  place-items: center; font-weight: 700; font-size: 1.2rem; margin-bottom: 18px;
}

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat strong { display: block; font-size: 2.6rem; color: var(--white); font-weight: 700; line-height: 1.1; }
.stat span { font-size: .95rem; }

/* Image cards */
.img-card { border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--border); transition: transform .2s, box-shadow .2s; }
.img-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.img-card img { width: 100%; height: 210px; object-fit: cover; }
.img-card .body { padding: 26px; }
.img-card p { color: var(--muted); margin-bottom: 12px; }
.tag { display: inline-block; font-size: .75rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: var(--peach); color: var(--coral); margin-bottom: 12px; }
.link-arrow { font-weight: 600; font-size: .92rem; }
.link-arrow::after { content: " →"; }

/* Testimonial */
.quote-card { background: var(--white); border-radius: 28px; padding: 48px; box-shadow: var(--shadow); max-width: 860px; margin: 0 auto; text-align: center; }
.quote-card blockquote { margin: 0 0 28px; font-size: 1.35rem; color: var(--ink); font-weight: 500; line-height: 1.5; }
.quote-person { display: flex; align-items: center; justify-content: center; gap: 14px; text-align: left; }
.quote-person img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.quote-person span { display: block; font-size: .88rem; color: var(--muted); }

/* CTA band */
.cta-band { background: var(--violet); border-radius: 32px; padding: 64px; color: #E5E3FA; display: flex; align-items: center; justify-content: space-between; gap: 32px; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%; background: var(--coral); opacity: .35; right: -60px; top: -90px; }
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { margin: 0; }
.cta-band > * { position: relative; z-index: 1; }

/* Pricing */
.billing-toggle { display: inline-flex; background: var(--white); border: 1px solid var(--border); border-radius: 999px; padding: 6px; margin-top: 24px; }
.billing-toggle button { font: inherit; font-weight: 500; border: 0; background: transparent; padding: 10px 22px; border-radius: 999px; cursor: pointer; color: var(--muted); }
.billing-toggle button.active { background: var(--violet); color: var(--white); }
.save-pill { font-size: .72rem; background: var(--coral); color: var(--white); padding: 2px 8px; border-radius: 999px; margin-left: 6px; }
.price-card { background: var(--white); border: 1px solid var(--border); border-radius: 28px; padding: 40px 32px; display: flex; flex-direction: column; position: relative; }
.price-card.featured { border: 2px solid var(--violet); box-shadow: var(--shadow); transform: translateY(-12px); }
.price-card .badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--coral); color: var(--white); font-size: .78rem; font-weight: 600; padding: 6px 16px; border-radius: 999px; white-space: nowrap; }
.price { font-size: 3rem; font-weight: 700; color: var(--ink); line-height: 1; margin: 18px 0 6px; }
.price small { font-size: 1rem; font-weight: 500; color: var(--muted); }
.price-note { font-size: .88rem; color: var(--muted); margin-bottom: 24px; }
.price-card .checklist { flex: 1; margin-top: 8px; }
.price-card .btn { justify-content: center; }
.compare { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; }
.compare th, .compare td { padding: 16px 20px; text-align: center; border-bottom: 1px solid var(--border); }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { background: var(--lavender); color: var(--ink); }
.compare .yes { color: var(--violet); font-weight: 700; }
.compare .no { color: #B9B6D3; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 20px 24px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--violet); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* Forms */
.form-card { background: var(--white); border-radius: 28px; padding: 40px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .88rem; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .95rem; padding: 13px 16px; border: 1.5px solid var(--border);
  border-radius: 14px; background: #FCFBFF; color: var(--text); transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(83,74,183,.12); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--coral); }
.field .error { display: none; color: var(--coral); font-size: .8rem; margin-top: 4px; }
.field.invalid .error { display: block; }
.checkbox, .field label.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.checkbox input { margin-top: 4px; accent-color: var(--violet); }
.form-success { display: none; text-align: center; padding: 40px 10px; }
.form-success .icon-badge { margin: 0 auto 20px; background: var(--lavender); }
form.sent { display: none; }
form.sent + .form-success { display: block; }
.slots { display: flex; flex-wrap: wrap; gap: 8px; }
.slots input { display: none; }
.slots label { margin: 0; padding: 10px 16px; border: 1.5px solid var(--border); border-radius: 999px; cursor: pointer; font-weight: 500; font-size: .88rem; }
.slots input:checked + label { background: var(--violet); color: var(--white); border-color: var(--violet); }

/* Contact info */
.info-card { display: flex; gap: 18px; align-items: flex-start; }
.info-card .icon-badge { flex: 0 0 56px; margin: 0; }
.info-card h3 { margin-bottom: 4px; font-size: 1.05rem; }
.info-card p { margin: 0; color: var(--muted); }

/* Footer */
.site-footer { background: var(--ink); color: #B9B5E8; padding: 72px 0 32px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.site-footer .logo { color: var(--white); margin-bottom: 16px; }
.site-footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #B9B5E8; }
.site-footer a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.newsletter { display: flex; gap: 8px; margin-top: 16px; }
.newsletter input { flex: 1; min-width: 0; font: inherit; padding: 12px 16px; border-radius: 999px; border: 0; }
.newsletter button { padding: 12px 20px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1024px) {
  .nav-links, .nav-cta .btn-light { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 76px; left: 0; right: 0; background: var(--white);
    padding: 16px 24px 24px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
  }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .section { padding: 72px 0; }
  .grid-3, .grid-2, .split { grid-template-columns: 1fr; }
  .split { gap: 40px; }
  .split.reverse .split-media { order: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .hero-gallery { grid-template-columns: 1fr 1fr; }
  .hero-gallery .tile:nth-child(3) { display: none; }
  .hero-gallery .tile { height: 240px !important; }
  .float-card.one { left: 8px; top: -20px; }
  .float-card.two { right: 8px; bottom: -22px; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 44px 28px; }
  .price-card.featured { transform: none; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 28px 20px; }
  .quote-card { padding: 32px 24px; }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-cta .btn-primary { display: none; }
  .split-media img { height: 300px; }
  .split-media .float-card { left: 12px; }
}

/* WordPress */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.form-error-msg { background: var(--peach); color: #993C1D; border-radius: 12px; padding: 12px 16px; margin-bottom: 18px; font-size: .9rem; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.entry-content { max-width: 820px; margin: 0 auto; }
.entry-content img { border-radius: var(--radius-sm); height: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.nav-links .current-menu-item > a, .nav-links .current_page_item > a { background: var(--lavender); color: var(--violet); }
.logo img, .custom-logo { max-height: 40px; width: auto; }
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.legal-links li { margin: 0; }
.entry-content h2 { font-size: 1.35rem; margin: 2em 0 .6em; }
.entry-content p, .entry-content li { color: #4A4770; }
.entry-content ul { padding-left: 1.2em; margin: 0 0 1em; }
.entry-content li { margin-bottom: .5em; }
.entry-content a { text-decoration: underline; }
.legal-updated { display: inline-block; font-size: .85rem; background: var(--lavender); color: var(--violet) !important; padding: 6px 14px; border-radius: 999px; }
.product-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.product-jump a { display: inline-flex; align-items: center; gap: 8px; background: var(--white); color: var(--violet-dark); font-weight: 500; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--border); }
.product-jump a:hover { border-color: var(--violet); }
.product-card { display: block; color: inherit; }
.product-card p { margin-bottom: 16px; }
.price-unit { font-size: 1.5rem; line-height: 1.2; }
.price-card .icon-badge { margin-bottom: 16px; }
.feature-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; }
.feature-groups .card { padding: 26px; }
.feature-groups .checklist { margin: 12px 0 0; font-size: .92rem; }
.feature-groups .checklist li { color: var(--muted); }
[id] { scroll-margin-top: 96px; }
