/* ============================================================
   saas.css — Oletro Business Tools (SaaS pricing page)
   Public page styling. Dark mode rules live at the bottom and
   follow the site's theme.css palette (#0a101d / #121a2b / #ff8a2b).
   ============================================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", "Segoe UI", Tahoma, sans-serif;
  background: #f4f7fb;
  color: #1b2a3a;
  line-height: 1.6;
}

/* ---------- Hero ---------- */
.saa-hero {
  background: linear-gradient(120deg, #012a46 0%, #03406b 55%, #06578f 100%);
  color: #fff;
  padding: 84px 24px 72px;
  position: relative;
  overflow: hidden;
}

.saa-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(420px 240px at 85% -10%, rgba(255, 138, 43, 0.35), transparent 70%),
    radial-gradient(380px 240px at 8% 110%, rgba(0, 198, 255, 0.25), transparent 70%);
  pointer-events: none;
}

.saa-hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
}

.saa-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffd9ac;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.saa-hero h1 {
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
  font-weight: 800;
  color: #fff;
  max-width: 780px;
  line-height: 1.18;
  margin-bottom: 16px;
}

.saa-hero p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 720px;
  margin-bottom: 26px;
}

.saa-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.saa-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 999px;
}

.saa-badge svg {
  color: #ffb463;
  flex-shrink: 0;
}

/* ---------- Shared section head ---------- */
.saa-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 44px;
}

.saa-kicker {
  display: inline-block;
  color: #ff7f11;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.saa-head h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #012a46;
  line-height: 1.2;
  margin-bottom: 10px;
}

.saa-head p {
  color: #5a6b7c;
  font-size: 0.98rem;
}

/* ---------- Pricing grid ---------- */
.saa-pricing {
  padding: 72px 24px 56px;
  max-width: 1200px;
  margin: 0 auto;
}

.saa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}

.saa-card {
  background: #fff;
  border: 1px solid #e3e9f0;
  border-radius: 18px;
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 6px 22px rgba(1, 42, 70, 0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.saa-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(1, 42, 70, 0.14);
  border-color: #ff9d2e;
}

.saa-tag {
  position: absolute;
  top: -11px;
  left: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1a0d00;
  background: linear-gradient(135deg, #ff7a00, #ff9d2e);
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(255, 122, 0, 0.35);
}

.saa-tag-secure {
  background: linear-gradient(135deg, #0fb37e, #2ed8a6);
  box-shadow: 0 4px 12px rgba(15, 179, 126, 0.35);
}

.saa-card-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #fff;
}

.saa-card-boost .saa-card-icon {
  background: linear-gradient(135deg, #ff7a00, #ff9d2e);
  box-shadow: 0 8px 20px rgba(255, 122, 0, 0.3);
}

.saa-card-job .saa-card-icon {
  background: linear-gradient(135deg, #2575fc, #4f9bff);
  box-shadow: 0 8px 20px rgba(37, 117, 252, 0.3);
}

.saa-card-escrow .saa-card-icon {
  background: linear-gradient(135deg, #0fb37e, #2ed8a6);
  box-shadow: 0 8px 20px rgba(15, 179, 126, 0.3);
}

.saa-card-booking .saa-card-icon {
  background: linear-gradient(135deg, #8a4dff, #b07aff);
  box-shadow: 0 8px 20px rgba(138, 77, 255, 0.3);
}

.saa-card h3 {
  font-size: 1.18rem;
  font-weight: 700;
  color: #012a46;
  margin-bottom: 6px;
}

.saa-card-sub {
  font-size: 0.88rem;
  color: #5a6b7c;
  margin-bottom: 16px;
  min-height: 44px;
}

.saa-price-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.saa-price {
  flex: 1 1 auto;
  background: #f2f6fb;
  border: 1px solid #e3e9f0;
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
}

.saa-price b {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ff7f11;
  line-height: 1.15;
}

.saa-price span {
  font-size: 0.76rem;
  color: #5a6b7c;
}

.saa-feats {
  list-style: none;
  margin-bottom: 20px;
  flex: 1;
}

.saa-feats li {
  position: relative;
  padding-left: 24px;
  font-size: 0.86rem;
  color: #33475b;
  margin-bottom: 9px;
}

.saa-feats li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(15, 179, 126, 0.16);
}

.saa-feats li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  width: 6px;
  height: 3px;
  border-left: 1.6px solid #0fb37e;
  border-bottom: 1.6px solid #0fb37e;
  transform: rotate(-45deg);
}

.saa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 12px;
  padding: 13px 18px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.saa-btn-primary {
  background: linear-gradient(135deg, #ff7a00, #ff9d2e);
  color: #1a0d00;
  box-shadow: 0 8px 20px rgba(255, 122, 0, 0.32);
}

.saa-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(255, 122, 0, 0.42);
}

.saa-btn-ghost {
  background: transparent;
  color: #03406b;
  border: 1.6px solid #03406b;
}

.saa-btn-ghost:hover {
  background: #03406b;
  color: #fff;
  transform: translateY(-2px);
}

.saa-btn:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.saa-note {
  text-align: center;
  color: #5a6b7c;
  font-size: 0.82rem;
  margin-top: 28px;
}

/* ---------- How it works ---------- */
.saa-how {
  background: #eef3f9;
  padding: 72px 24px;
}

.saa-steps {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.saa-step {
  background: #fff;
  border: 1px solid #e3e9f0;
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.saa-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(1, 42, 70, 0.12);
}

.saa-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #012a46, #03406b);
  color: #ffb463;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.saa-step h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: #012a46;
  margin-bottom: 8px;
}

.saa-step p {
  font-size: 0.86rem;
  color: #5a6b7c;
}

/* ---------- Distinction table ---------- */
.saa-compare {
  padding: 72px 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.saa-table-wrap {
  overflow-x: auto;
  border: 1px solid #e3e9f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 22px rgba(1, 42, 70, 0.06);
}

.saa-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.saa-table th {
  background: #012a46;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
  padding: 14px 18px;
}

.saa-table td {
  padding: 14px 18px;
  font-size: 0.88rem;
  color: #33475b;
  border-top: 1px solid #eef2f7;
}

.saa-table td b {
  color: #012a46;
}

.saa-table tbody tr {
  transition: background 0.14s ease;
}

.saa-table tbody tr:hover {
  background: #f7fafd;
}

/* ---------- FAQ ---------- */
.saa-faq {
  background: #eef3f9;
  padding: 72px 24px;
}

.saa-faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.saa-faq-item {
  background: #fff;
  border: 1px solid #e3e9f0;
  border-radius: 14px;
  overflow: hidden;
}

.saa-faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 0.96rem;
  color: #012a46;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: color 0.15s ease;
}

.saa-faq-item summary::-webkit-details-marker {
  display: none;
}

.saa-faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 600;
  color: #ff7f11;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.saa-faq-item[open] summary::after {
  transform: rotate(45deg);
}

.saa-faq-item summary:hover {
  color: #ff7f11;
}

.saa-faq-item p {
  padding: 0 22px 18px;
  font-size: 0.88rem;
  color: #5a6b7c;
}

/* ---------- Final CTA ---------- */
.saa-cta {
  padding: 72px 24px;
}

.saa-cta-box {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(120deg, #012a46 0%, #03406b 60%, #06578f 100%);
  border-radius: 22px;
  padding: 52px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.saa-cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 220px at 85% -20%, rgba(255, 138, 43, 0.35), transparent 70%);
  pointer-events: none;
}

.saa-cta-box h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  margin-bottom: 10px;
  position: relative;
}

.saa-cta-box p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.98rem;
  margin-bottom: 26px;
  position: relative;
}

.saa-cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  position: relative;
}

.saa-cta-btns .saa-btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.saa-cta-btns .saa-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* ============================================================
   DARK MODE
   ============================================================ */
[data-theme="dark"] body {
  background: #0a101d;
  color: #dbe6f3;
}

[data-theme="dark"] .saa-hero {
  background: linear-gradient(120deg, #031425 0%, #082741 55%, #0d3552 100%);
}

[data-theme="dark"] .saa-head h2,
[data-theme="dark"] .saa-card h3,
[data-theme="dark"] .saa-step h3,
[data-theme="dark"] .saa-table td b,
[data-theme="dark"] .saa-faq-item summary {
  color: #eef4fb;
}

[data-theme="dark"] .saa-head p,
[data-theme="dark"] .saa-card-sub,
[data-theme="dark"] .saa-price span,
[data-theme="dark"] .saa-feats li,
[data-theme="dark"] .saa-note,
[data-theme="dark"] .saa-step p,
[data-theme="dark"] .saa-table td,
[data-theme="dark"] .saa-faq-item p {
  color: #9db0c8;
}

[data-theme="dark"] .saa-card {
  background: #121a2b;
  border-color: #24314b;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 138, 43, 0.05);
}

[data-theme="dark"] .saa-card:hover {
  border-color: #ff8a2b;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.5), 0 0 0 1.5px rgba(255, 138, 43, 0.5);
}

[data-theme="dark"] .saa-price {
  background: #0d1526;
  border-color: #2a3854;
}

[data-theme="dark"] .saa-price b {
  color: #ffb463;
}

[data-theme="dark"] .saa-how {
  background: #0a101d;
}

[data-theme="dark"] .saa-step {
  background: #121a2b;
  border-color: #24314b;
}

[data-theme="dark"] .saa-step:hover {
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 138, 43, 0.2);
}

[data-theme="dark"] .saa-step-num {
  background: linear-gradient(135deg, #182338, #1f2d44);
  color: #ffb463;
}

[data-theme="dark"] .saa-table-wrap {
  background: #121a2b;
  border-color: #24314b;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 138, 43, 0.06);
}

[data-theme="dark"] .saa-table th {
  background: #0d1626;
  color: #eef4fb;
}

[data-theme="dark"] .saa-table td {
  border-top-color: #24314b;
}

[data-theme="dark"] .saa-table tbody tr:hover {
  background: #182338;
}

[data-theme="dark"] .saa-faq {
  background: #0a101d;
}

[data-theme="dark"] .saa-faq-item {
  background: #121a2b;
  border-color: #24314b;
}

[data-theme="dark"] .saa-faq-item summary:hover {
  color: #ffb463;
}

[data-theme="dark"] .saa-cta-box {
  background: linear-gradient(120deg, #031425 0%, #082741 60%, #0d3552 100%);
}

[data-theme="dark"] .saa-btn-ghost {
  color: #ffb463;
  border-color: #2a3854;
}

[data-theme="dark"] .saa-btn-ghost:hover {
  background: #182338;
  color: #ffb463;
}

[data-theme="dark"] .saa-cta-btns .saa-btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

/* ============================================================
   Boost listing picker modal (injected by saas.js)
   ============================================================ */
.saa-pick-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(4, 14, 26, 0.62);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: saaFade 0.18s ease;
}

@keyframes saaFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.saa-pick-card {
  background: #fff;
  color: #0d1b2a;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  width: 100%;
  max-width: 460px;
  max-height: 84vh;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  animation: saaUp 0.22s ease;
}

@keyframes saaUp {
  from { transform: translateY(14px); opacity: 0; }
  to { transform: none; opacity: 1; }
}

.saa-pick-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.4rem;
}

.saa-pick-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  color: #012a46;
}

.saa-pick-sub {
  color: #64748b;
  font-size: 0.85rem;
  margin: 0.15rem 0 0;
}

.saa-pick-close {
  background: none;
  border: none;
  cursor: pointer;
  color: #64748b;
  font-size: 1.4rem;
  line-height: 1;
  padding: 0.15rem 0.4rem;
  border-radius: 8px;
}

.saa-pick-close:hover {
  background: rgba(100, 116, 139, 0.12);
}

.saa-pick-body {
  overflow-y: auto;
  margin: 0.8rem 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.saa-pick-empty {
  color: #64748b;
  font-size: 0.88rem;
  text-align: center;
  padding: 22px 10px;
}

.saa-pick-empty a {
  color: #ff7f11;
  font-weight: 600;
}

.saa-pick-group {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
  margin: 10px 2px 2px;
}

.saa-pick-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.saa-pick-item:hover {
  border-color: #ff9d2e;
  background: rgba(255, 157, 46, 0.06);
}

.saa-pick-item.on {
  border-color: #ff7f11;
  background: rgba(255, 127, 17, 0.08);
}

.saa-pick-item input {
  margin: 0;
  accent-color: #ff7f11;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.saa-pick-item-b {
  flex: 1;
  min-width: 0;
}

.saa-pick-item-t {
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.saa-pick-item-s {
  color: #64748b;
  font-size: 0.76rem;
}

.saa-pick-item-p {
  color: #ff7f11;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.saa-pick-go {
  width: 100%;
  padding: 0.8rem;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff7a00, #ff9d2e);
  color: #1a0d00;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.15s, opacity 0.15s;
  box-shadow: 0 8px 20px rgba(255, 122, 0, 0.3);
}

.saa-pick-go:hover {
  filter: brightness(1.05);
}

.saa-pick-go:disabled {
  opacity: 0.6;
  cursor: wait;
}

.saa-pick-foot {
  color: #64748b;
  font-size: 0.75rem;
  margin-top: 0.7rem;
  text-align: center;
}

[data-theme="dark"] .saa-pick-card {
  background: #121a2b;
  color: #e8eef7;
}

[data-theme="dark"] .saa-pick-title {
  color: #eef4fb;
}

[data-theme="dark"] .saa-pick-sub,
[data-theme="dark"] .saa-pick-empty,
[data-theme="dark"] .saa-pick-item-s,
[data-theme="dark"] .saa-pick-foot,
[data-theme="dark"] .saa-pick-close {
  color: #93a4bb;
}

[data-theme="dark"] .saa-pick-item {
  border-color: #263449;
}

[data-theme="dark"] .saa-pick-item:hover,
[data-theme="dark"] .saa-pick-item.on {
  border-color: #ff8a2b;
  background: rgba(255, 138, 43, 0.14);
}

[data-theme="dark"] .saa-pick-group {
  color: #7d8ea6;
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .saa-hero {
    padding: 60px 18px 52px;
  }

  .saa-pricing,
  .saa-compare {
    padding: 56px 16px 44px;
  }

  .saa-how,
  .saa-faq {
    padding: 56px 16px;
  }

  .saa-cta {
    padding: 52px 16px;
  }

  .saa-cta-box {
    padding: 40px 22px;
  }

  .saa-card-sub {
    min-height: 0;
  }
}

/* ===================== Footer (business page) ===================== */
/* footer.css styles the grid/links; these tweaks anchor it to the page
   and give it full dark-mode coverage. */
footer {
  margin-top: 0;
  background: linear-gradient(180deg, #0a1626 0%, #0d1b2a 55%, #0a1320 100%);
}

footer .footer-col h3 {
  color: #ff7a00;
}

footer .footer-col p,
footer .footer-col ul li a,
footer .footer-contact a {
  color: #c7d3e2;
}

footer .footer-col ul li a:hover,
footer .footer-contact a:hover {
  color: #ff9d2e;
}

footer .footer-bottom {
  color: #7b90a5;
}

[data-theme="dark"] footer {
  background: linear-gradient(180deg, #0a1220 0%, #0d1526 55%, #080f1a 100%);
}

[data-theme="dark"] footer .footer-col p,
[data-theme="dark"] footer .footer-col ul li a,
[data-theme="dark"] footer .footer-contact a {
  color: #aebdd1;
}

[data-theme="dark"] footer .footer-bottom {
  color: #64748b;
}
