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

:root {
  --red: #E8272A;
  --red-dark: #C41F22;
  --red-light: #FFF0F0;
  --text-dark: #1A1A1A;
  --text-mid: #444444;
  --text-muted: #888888;
  --border: #E8E8E8;
  --bg: #F8F8F8;
  --white: #FFFFFF;
  --green: #1DB954;
  --green-light: #F0FBF4;
  --sec-ordering:    #EEF4FF; --sec-ordering-t:  #2D5BE3;
  --sec-payments:    #FFF6E8; --sec-payments-t:  #C47B00;
  --sec-pos:         #F0FBF4; --sec-pos-t:       #0F7A35;
  --sec-marketing:   #FDF0FF; --sec-marketing-t: #8B2FC9;
  --sec-app:         #FFF0F0; --sec-app-t:       #C41F22;
  --sec-support:     #F0F9FF; --sec-support-t:   #0369A1;
  --sec-pricing:     #F4F4F4; --sec-pricing-t:   #444444;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ─── HERO ─── */
.hero {
  text-align: center;
  padding: 64px 20px 40px;
  max-width: 720px;
  margin: 0 auto;
}
.zero-badge {
  display: -webkit-inline-flex;
  display: inline-flex;
  -webkit-align-items: center;
  align-items: center;
  gap: 8px;
  background: var(--green-light);
  border: 1.5px solid #A8EDBD;
  color: #0F7A35;
  font-size: 13px; font-weight: 700;
  padding: 7px 16px; border-radius: 100px;
  margin-bottom: 24px;
}
.zero-badge .dot {
  width: 8px; height: 8px;
  background: var(--green); border-radius: 50%;
  -webkit-animation: pulse 2s infinite;
  animation: pulse 2s infinite;
  flex-shrink: 0;
}
@-webkit-keyframes pulse { 0%,100%{opacity:1;-webkit-transform:scale(1);transform:scale(1)} 50%{opacity:0.6;-webkit-transform:scale(1.3);transform:scale(1.3)} }
@keyframes pulse         { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.6;transform:scale(1.3)} }

.hero h1 {
  font-size: 44px; font-weight: 800; line-height: 1.12;
  margin-bottom: 16px; letter-spacing: -0.02em;
}
.hero h1 span { color: var(--red); }
.hero p {
  font-size: 17px; color: var(--text-mid); line-height: 1.65;
  margin-bottom: 36px; max-width: 520px;
  margin-left: auto; margin-right: auto;
}

/* ─── BILLING TOGGLE ─── */
.toggle-wrap {
  display: -webkit-inline-flex;
  display: inline-flex;
  -webkit-align-items: center;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 6px 6px 18px;
  margin-bottom: 48px;
  font-size: 14px; font-weight: 600; color: var(--text-mid);
  cursor: pointer;
  /* Safari-compatible user-select */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  /* Ensure tap works on iOS Safari */
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.toggle-wrap:focus { outline: 2px solid var(--red); outline-offset: 2px; }

.toggle-track {
  width: 48px; height: 26px;
  background: var(--border); border-radius: 100px;
  position: relative;
  -webkit-transition: background 0.25s; transition: background 0.25s;
  cursor: pointer; flex-shrink: 0;
}
.toggle-track.on { background: var(--red); }
.toggle-thumb {
  position: absolute; top: 3px; left: 3px;
  width: 20px; height: 20px;
  background: white; border-radius: 50%;
  -webkit-transition: -webkit-transform 0.25s;
  transition: transform 0.25s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
  pointer-events: none;
}
.toggle-track.on .toggle-thumb {
  -webkit-transform: translateX(22px);
  transform: translateX(22px);
}
.save-pill {
  background: var(--red); color: white;
  font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 100px;
  white-space: nowrap; flex-shrink: 0;
}

/* ─── PLANS GRID ─── */
.plans {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px 64px;
  -webkit-align-items: start;
  align-items: stretch;
  -webkit-justify-content: center;
  justify-content: center;
}
.plan-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.plan-card {
  background: var(--white);
  border: 1.5px solid #afafaf;
  border-radius: 20px;
  padding: 32px 26px 28px;
  position: relative;
  -webkit-transition: box-shadow 0.2s, -webkit-transform 0.2s;
  transition: box-shadow 0.2s, transform 0.2s;
  flex: 1 1 280px;
  max-width: 340px;
  min-width: 260px;
}
.plan-card:hover {
  box-shadow: 0 8px 32px rgba(232,39,42,0.10);
  -webkit-transform: translateY(-2px);
  transform: translateY(-2px);
}
.plan-card.featured {
  border: 2px solid var(--red);
  box-shadow: 0 4px 28px rgba(232,39,42,0.14);
  padding-top: 30px;
}
.popular-badge {
  position: absolute; top: -14px; left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background: var(--red); color: white;
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 18px; border-radius: 100px;
  white-space: nowrap;
}

/* ─── ORDER CAP ─── */
.order-cap {
  display: -webkit-inline-flex;
  display: inline-flex;
  -webkit-align-items: center;
  align-items: center;
  gap: 5px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 6px; font-size: 12px; font-weight: 700;
  color: var(--text-mid); padding: 4px 10px; margin-bottom: 6px;
}
.order-cap.unlimited { background: #FFF0F0; border-color: #FFDEDE; color: var(--red); }
.order-cap .cap-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted); flex-shrink: 0; }
.order-cap.unlimited .cap-dot { background: var(--red); }
.overage-note { font-size: 11px; color: var(--text-muted); margin-bottom: 18px; padding-left: 2px; }
.overage-note a { color: var(--text-muted); text-decoration: underline; }

/* ─── PLAN CARD CONTENT ─── */
.plan-name { font-size: 18px; font-weight: 800; color: var(--text-dark); margin-bottom: 5px; }
.plan-tagline { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; line-height: 1.5; }

.ideal-for { background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; margin-bottom: 20px; }
.ideal-for-label { font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.ideal-tags { display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; gap: 6px;flex-direction: column; }
.ideal-tag { font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 100px;max-width: fit-content; }
.tag-blue   { background: #EEF4FF; color: #2D5BE3; }
.tag-purple { background: #FDF0FF; color: #8B2FC9; }
.tag-red    { background: var(--red-light); color: var(--red); }

.price-wrap {
  display: -webkit-flex; display: flex;
  -webkit-align-items: baseline; align-items: baseline;
  gap: 3px; margin-bottom: 4px;
}
.price-dollar { font-size: 17px; font-weight: 700; margin-top: 5px; }
.price-amount { font-size: 46px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.price-per { font-size: 13px; color: var(--text-muted); -webkit-align-self: flex-end; align-self: flex-end; margin-bottom: 3px; }
.price-annual-note { font-size: 12px; color: var(--text-muted); margin-bottom: 6px; min-height: 17px; }

.divider { height: 1px; background: var(--border); margin: 20px 0; }
.features-title { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px; }
.features { list-style: none; display: -webkit-flex; display: flex; -webkit-flex-direction: column; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.features li { display: -webkit-flex; display: flex; -webkit-align-items: flex-start; align-items: flex-start; gap: 9px; font-size: 13px; color: var(--text-mid); line-height: 1.5; }
.check {
  width: 17px; height: 17px; background: var(--red-light);
  border-radius: 50%; display: -webkit-flex; display: flex;
  -webkit-align-items: center; align-items: center;
  -webkit-justify-content: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.check svg { width: 9px; height: 9px; }
.plan-card.featured .check { background: var(--red); }
.plan-card.featured .check svg path { stroke: white; }
.features li strong { color: var(--text-dark); font-weight: 600; }

/* ─── BUTTONS ─── */
.btn-primary {
  display: block; width: 100%;
  background: var(--red); color: white;
  border: none; border-radius: 10px; padding: 14px;
  font-family: inherit; font-size: 14px; font-weight: 700;
  cursor: pointer; text-align: center; text-decoration: none;
  -webkit-transition: background 0.2s, -webkit-transform 0.15s;
  transition: background 0.2s, transform 0.15s;
  margin-bottom: 10px;
  -webkit-appearance: none;
  appearance: none;
}
.btn-primary:hover { background: var(--red-dark); -webkit-transform: scale(1.01); transform: scale(1.01); }
.btn-secondary {
  display: block; width: 100%;
  background: transparent; color: var(--text-dark);
  border: 1.5px solid var(--border); border-radius: 10px; padding: 13px;
  font-family: inherit; font-size: 14px; font-weight: 600;
  cursor: pointer; text-align: center; text-decoration: none;
  -webkit-transition: border-color 0.2s, background 0.2s, color 0.2s;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.btn-secondary:hover { border-color: var(--red); color: var(--red); background: var(--red-light); }
.trial-note { text-align: center; font-size: 12px; color: var(--text-muted); margin-top: 10px; }

/* ─── SETUP FEE BANNER ─── */
.setup-fee-wrap { max-width: 1080px; margin: -32px auto 64px; padding: 0 20px; }
.setup-fee-inner {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-left: 4px solid var(--red);
  border-radius: 16px;
  padding: 24px 32px;
  display: -webkit-flex; display: flex;
  -webkit-align-items: center; align-items: center;
  -webkit-justify-content: space-between; justify-content: space-between;
  gap: 24px;
  -webkit-flex-wrap: wrap; flex-wrap: wrap;
}
.setup-fee-left { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; gap: 18px; flex: 1 1 280px; }
.setup-fee-icon { width: 52px; height: 52px; background: var(--red-light); border-radius: 14px; display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center; flex-shrink: 0; font-size: 22px; }
.setup-fee-title { font-size: 16px; font-weight: 800; color: var(--text-dark); margin-bottom: 5px; }
.setup-fee-desc { font-size: 13px; color: var(--text-muted); line-height: 1.55; }
.setup-fee-right { text-align: right; flex-shrink: 0; }
.setup-fee-amount { font-size: 34px; font-weight: 800; color: var(--text-dark); letter-spacing: -0.02em; line-height: 1; }
.setup-fee-amount sup { font-size: 18px; font-weight: 700; vertical-align: super; margin-right: 1px; }
.setup-fee-sublabel { font-size: 12px; color: var(--text-muted); margin-top: 5px; line-height: 1.5; }
.setup-fee-sublabel strong { color: var(--text-dark); }

/* ─── ZERO COMMISSION BANNER ─── */
.zc-banner { background: var(--text-dark); color: white; padding: 56px 20px; text-align: center; }
.zc-banner h2 { font-size: 26px; font-weight: 800; margin-bottom: 12px; letter-spacing: -0.01em; line-height: 1.3; }
.zc-banner h2 span { color: var(--red); }
.zc-banner p { font-size: 15px; color: #AAAAAA; max-width: 560px; margin: 0 auto 36px; line-height: 1.65; }
.zc-stats { display: -webkit-flex; display: flex; -webkit-justify-content: center; justify-content: center; gap: 48px; -webkit-flex-wrap: wrap; flex-wrap: wrap; }
.zc-stat .num { font-size: 30px; font-weight: 800; }
.zc-stat .num span { color: var(--red); }
.zc-stat .label { font-size: 12px; color: #888; margin-top: 4px; }

/* ─── COMPARISON TABLE ─── */
.compare-section { max-width: 1060px; margin: 56px auto; padding: 0 20px; }
.compare-section h2 { font-size: 26px; font-weight: 800; text-align: center; margin-bottom: 8px; letter-spacing: -0.01em; }
.compare-section > p { text-align: center; color: var(--text-muted); font-size: 15px; }

/* Scroll wrapper for mobile */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 16px; border: 1px solid var(--border); }
.compare-table {
  width: 100%; border-collapse: collapse;
  background: var(--white); font-size: 13px;
  min-width: 540px; /* prevents collapse below readable size */
}
.compare-table thead tr { background: var(--text-dark); color: white; }
.compare-table thead th { padding: 16px 14px; font-weight: 700; text-align: left; font-size: 13px; line-height: 1.4; }
.compare-table thead th:not(:first-child) { text-align: center; }
.compare-table thead th.col-app { color: #FF9999; }
.compare-table tbody tr:nth-child(even) { background: #FAFAFA; }
.compare-table tbody td { padding: 11px 14px; color: var(--text-mid); border-top: 1px solid var(--border); }
.compare-table tbody td:not(:first-child) { text-align: center; }
.compare-table tbody tr td:first-child { font-weight: 500; color: var(--text-dark); }
.compare-table .section-row td { font-size: 10px; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; padding: 9px 14px; border-top: 2px solid transparent; }
.sec-ordering  td { background: var(--sec-ordering);  color: var(--sec-ordering-t);  border-top-color: var(--sec-ordering-t)  !important; }
.sec-payments  td { background: var(--sec-payments);  color: var(--sec-payments-t);  border-top-color: var(--sec-payments-t)  !important; }
.sec-pos       td { background: var(--sec-pos);       color: var(--sec-pos-t);       border-top-color: var(--sec-pos-t)       !important; }
.sec-marketing td { background: var(--sec-marketing); color: var(--sec-marketing-t); border-top-color: var(--sec-marketing-t) !important; }
.sec-app       td { background: var(--sec-app);       color: var(--sec-app-t);       border-top-color: var(--sec-app-t)       !important; }
.sec-support   td { background: var(--sec-support);   color: var(--sec-support-t);   border-top-color: var(--sec-support-t)   !important; }
.sec-pricing   td { background: var(--sec-pricing);   color: var(--sec-pricing-t);   border-top-color: #CCCCCC               !important; }
.yes { color: var(--red); font-weight: 700; font-size: 15px; }
.no  { color: #CCCCCC; font-size: 15px; }
.val { font-weight: 600; }
.val.green { color: #1DB954; }
.table-footnote { font-size: 12px; color: var(--text-muted); margin-top: 12px; padding-left: 4px; line-height: 1.6; }
.table-footnote a { color: var(--text-muted); text-decoration: underline; }

/* ─── FAQ ─── */
.faq-section { max-width: 640px; margin: 0 auto 72px; padding: 0 20px; }
.faq-section h2 { font-size: 26px; font-weight: 800; text-align: center; margin-bottom: 32px; letter-spacing: -0.01em; }
.faq-item { border-top: 1px solid var(--border) !important;}
.faq-item:last-child { border-bottom: 1px solid var(--border); }
/* Use button for reliable cross-browser/iOS Safari click */
.faq-q {
  display: -webkit-flex; display: flex;background: #fff !important;
  -webkit-justify-content: space-between; justify-content: space-between;
  -webkit-align-items: center; align-items: center;
  gap: 12px; width: 100%; padding: 20px 0;
  background: none; border: none;
  font-family: inherit; font-size: 14px; font-weight: 600; color: var(--text-dark);
  cursor: pointer; text-align: left;
  -webkit-tap-highlight-color: transparent;
}
.faq-item:not(.active) { background: white;border: unset;border-radius: 0;margin-bottom: 0;}
.faq-q:focus { outline: none; }
.faq-q .icon {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--border);
  display: -webkit-flex; display: flex;
  -webkit-align-items: center; align-items: center;
  -webkit-justify-content: center; justify-content: center;
  flex-shrink: 0; font-size: 16px; color: var(--red);
  -webkit-transition: -webkit-transform 0.2s; transition: transform 0.2s;
}
.faq-a { font-size: 14px; color: var(--text-mid); line-height: 1.7; padding-bottom: 20px; display: none; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-q .icon { -webkit-transform: rotate(45deg); transform: rotate(45deg); }

/* ─── CTA BOTTOM ─── */
.cta-bottom { background: var(--red); color: white; text-align: center; padding: 64px 20px; }
.cta-bottom h2 { font-size: 30px; font-weight: 800; margin-bottom: 12px; letter-spacing: -0.01em; }
.cta-bottom p { font-size: 16px; opacity: 0.88; margin-bottom: 28px; max-width: 400px; margin-left: auto; margin-right: auto; line-height: 1.6; }
.cta-bottom a {
  display: inline-block; background: white; color: var(--red);
  font-weight: 800; font-size: 16px; padding: 15px 36px;
  border-radius: 10px; text-decoration: none;
  -webkit-transition: opacity 0.2s, -webkit-transform 0.15s; transition: opacity 0.2s, transform 0.15s;
}
.cta-bottom a:hover { opacity: 0.92; -webkit-transform: scale(1.02); transform: scale(1.02); }
.cta-bottom .sub { margin-top: 14px; font-size: 13px; opacity: 0.72; }

/* ─── TRADEMARK FOOTER ─── */
.tm-footer {
  background: var(--bg); border-top: 1px solid var(--border);
  padding: 20px 24px; text-align: center;
}
.tm-footer p { font-size: 11px; color: var(--text-muted); line-height: 1.7; max-width: 780px; margin: 0 auto; }

/* ═══════════════════════════
   RESPONSIVE BREAKPOINTS
═══════════════════════════ */

/* Tablet: 2-column plan grid */
@media (max-width: 1000px) {
  .plan-card { flex: 1 1 calc(50% - 20px); max-width: calc(50% - 10px); }
  .plan-card.featured { order: -1; flex: 1 1 100%; max-width: 100%; }
}

/* Large mobile: keep readable */
@media (max-width: 680px) {
  .hero { padding: 48px 16px 32px; }
  .hero h1 { font-size: 30px; }
  .hero p { font-size: 15px; }

  .toggle-wrap { font-size: 13px; gap: 10px; padding: 6px 6px 6px 14px; margin-bottom: 36px; }
  .save-pill { font-size: 10px; padding: 3px 8px; }

  .plans { padding: 0 16px 48px; gap: 16px; }
  .plan-card { flex: 1 1 100%; max-width: 100%; min-width: unset; padding: 28px 20px 24px; }
  .plan-card.featured { padding-top: 40px; }

  .price-amount { font-size: 40px; }

  .setup-fee-wrap { margin: -16px auto 48px; padding: 0 16px; }
  .setup-fee-inner { padding: 20px 20px; flex-direction: column; align-items: flex-start; }
  .setup-fee-right { text-align: left; width: 100%; }

  .zc-banner { padding: 40px 16px; }
  .zc-banner h2 { font-size: 20px; }
  .zc-stats { gap: 24px; }
  .zc-stat .num { font-size: 26px; }

  .compare-section { margin: 40px auto; padding: 0 16px; }
  .compare-section h2 { font-size: 22px; }

  .faq-section { padding: 0 16px; margin-bottom: 56px; }
  .faq-section h2 { font-size: 22px; }
  .faq-q { font-size: 14px; }

  .cta-bottom { padding: 48px 16px; }
  .cta-bottom h2 { font-size: 24px; }

  .tm-footer { padding: 20px 16px; }
  .compare-section.py-60 { padding: 30px 0 !important;}
}

/* Small mobile */
@media (max-width: 380px) {
  .hero h1 { font-size: 26px; }
  .zero-badge { font-size: 12px; padding: 6px 12px; }
  .toggle-wrap { -webkit-flex-wrap: wrap; flex-wrap: wrap; -webkit-justify-content: center; justify-content: center; border-radius: 12px; padding: 10px 14px; gap: 8px; }
}