/* Puchkoo AI: styles for the platform pages (home chooser, Shopify page, platform bar).
   Loaded after style.css and reuses its variables, buttons, nav, hero, sections and footer. */
:root {
  --sg: linear-gradient(150deg, #8b5cf6 0%, #4c1d95 100%);
}

/* ---------- Platform bar (top of the WordPress and Shopify pages) ---------- */
.pbar { background: var(--ink); color: #fff; font-size: 13px; }
.pbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 44px; }
.pb-home { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; opacity: 0.8; }
.pb-home:hover { opacity: 1; }
.pb-home svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pb-right { display: inline-flex; align-items: center; gap: 10px; }
.pb-label { opacity: 0.6; }
.pb-switch { display: inline-flex; background: rgba(255, 255, 255, 0.1); border-radius: 999px; padding: 3px; }
.pb-switch a { padding: 4px 14px; border-radius: 999px; font-weight: 700; color: rgba(255, 255, 255, 0.75); }
.pb-switch a:hover { color: #fff; }
.pb-switch a[aria-current="page"] { background: #fff; color: var(--ink); }
@media (max-width: 560px) { .pb-label { display: none; } .pb-switch a { padding: 4px 11px; } }

/* ---------- Shared bits ---------- */
.grad-s { background: linear-gradient(90deg, #8b5cf6 10%, #4c1d95); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ticklist { list-style: none; display: grid; gap: 10px; margin: 0; padding: 0; }
.ticklist li { display: flex; gap: 10px; font-size: 15px; line-height: 1.45; align-items: flex-start; }
.ticklist li svg { width: 18px; height: 18px; color: var(--mint); stroke-width: 2.6; margin-top: 2px; }
.sec.tight { padding-top: 40px; }
.center-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.foot .copy { width: 100%; font-size: 13px; color: var(--muted); }
#choose, main section[id] { scroll-margin-top: 80px; }

/* ---------- Home: centred hero and platform chooser ---------- */
.hero.center > .wrap { display: block; text-align: center; }
.hero.center h1 { max-width: 13em; margin-left: auto; margin-right: auto; }
.hero.center .lead { margin: 0 auto; max-width: 34em; }
.choose-q { display: block; font-weight: 800; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--v); margin: 44px 0 18px; }
.choose { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 1040px; margin: 0 auto; text-align: left; }
.pcard { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 32px; padding: 34px; box-shadow: var(--shadow-s); transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--v2); }
.p-top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.p-ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--vsoft); color: var(--v); flex: none; }
.p-ic svg { width: 26px; height: 26px; }
.pcard.shop .p-ic { background: var(--sg); color: #fff; }
.p-tag { display: block; font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--v); }
.pcard h3 { font-size: 26px; letter-spacing: -0.03em; line-height: 1.1; }
.pcard > p { color: var(--muted); font-size: 16px; margin-bottom: 18px; }
.pcard .ticklist { margin-bottom: 26px; flex: 1; align-content: start; }
.p-meta { font-weight: 800; font-size: 15px; margin-bottom: 16px; color: var(--ink2); }
.pcard .btn { width: 100%; }
.pcard.shop .btn { background: var(--sg); color: #fff; border: 0; }
@media (max-width: 820px) { .choose { grid-template-columns: 1fr; max-width: 560px; } .pcard { padding: 26px; } }

/* ---------- Small feature tiles ---------- */
.minis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mini { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 26px; box-shadow: var(--shadow-s); }
.mini .m-ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--vsoft); color: var(--v); margin-bottom: 16px; }
.mini h3 { font-size: 19px; letter-spacing: -0.02em; line-height: 1.2; }
.mini p { font-size: 15px; color: var(--muted); margin-top: 6px; }
@media (max-width: 900px) { .minis { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .minis { grid-template-columns: 1fr; } }

/* ---------- Home: compare table ---------- */
.cmp-wrap { max-width: 1000px; margin: 0 auto; border-radius: 28px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-s); overflow: hidden; }
.cmp { width: 100%; border-collapse: collapse; font-size: 15px; }
.cmp th, .cmp td { padding: 16px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp thead th { font-size: 18px; letter-spacing: -0.02em; padding-top: 26px; padding-bottom: 22px; }
.cmp thead th a { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--v); margin-top: 6px; }
.cmp thead th a svg { width: 16px; height: 16px; }
.cmp thead th span { display: block; }
.cmp tbody th { font-weight: 700; color: var(--ink); width: 22%; }
.cmp td { color: var(--ink2); width: 39%; }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }
@media (max-width: 680px) {
  .cmp thead { display: none; }
  .cmp tr { display: block; padding: 18px 20px; border-bottom: 1px solid var(--line); }
  .cmp tr:last-child { border-bottom: 0; }
  .cmp tbody th, .cmp td { display: block; width: auto; border: 0; padding: 0; }
  .cmp tbody th { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--v); margin-bottom: 10px; }
  .cmp td::before { content: attr(data-l); display: block; font-weight: 800; font-size: 13px; color: var(--ink); }
  .cmp td + td { margin-top: 12px; }
}

/* ---------- Shopify hero mock ---------- */
.pk.sg { background: linear-gradient(165deg, #8b5cf6, #4c1d95); }
.sp-card { display: flex; gap: 10px; align-items: center; background: #fff; color: var(--ink); border-radius: 14px; padding: 8px; }
.sp-img { width: 50px; height: 58px; border-radius: 10px; background: linear-gradient(160deg, #3b4fa8, #1e2a6b); flex: none; display: grid; place-items: center; color: #fff; }
.sp-img svg { width: 24px; height: 24px; opacity: 0.85; }
.sp-info { flex: 1; min-width: 0; font-size: 12px; line-height: 1.3; }
.sp-info b { display: block; font-size: 13px; }
.sp-info span { color: var(--muted); }
.sp-add { height: 30px; padding: 0 11px; border-radius: 999px; background: var(--v); color: #fff; font-size: 11.5px; font-weight: 700; display: inline-flex; align-items: center; gap: 5px; flex: none; }
.sp-add svg { width: 14px; height: 14px; }
.nudge { font-size: 11.5px; font-weight: 600; background: rgba(255, 255, 255, 0.14); border: 1px dashed rgba(255, 255, 255, 0.35); border-radius: 12px; padding: 7px 10px; display: flex; gap: 7px; align-items: center; }
.nudge svg { width: 15px; height: 15px; flex: none; }

/* ---------- Trust strip ---------- */
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; padding: 48px 24px 0; }
.tchip { display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: 14.5px; box-shadow: var(--shadow-s); }
.tchip svg { color: var(--v); }

/* ---------- Problem -> solution ---------- */
.ps { display: grid; grid-template-columns: 1fr 56px 1fr; gap: 18px; align-items: stretch; max-width: 1020px; margin: 0 auto; }
.ps-card { border-radius: 28px; padding: 32px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.ps-card.sol { background: var(--sg); color: #fff; border: 0; box-shadow: 0 40px 70px -40px rgba(76, 29, 149, 0.7); }
.ps-lbl { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.sol .ps-lbl { color: #e4d9ff; }
.ps-card h3 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 18px; }
.ps-card p { font-size: 15.5px; color: var(--muted); margin-top: 18px; }
.sol p { color: rgba(255, 255, 255, 0.85); }
.ps-qs { display: flex; flex-wrap: wrap; gap: 8px; }
.ps-q { background: #f3f1ec; border-radius: 16px 16px 16px 4px; padding: 8px 13px; font-size: 14px; font-weight: 600; color: var(--ink2); }
.ps-q.na { opacity: 0.55; }
.ps-ans { background: #fff; color: var(--ink); border-radius: 16px 16px 16px 4px; padding: 12px 14px; font-size: 14.5px; font-weight: 600; line-height: 1.4; }
.ps-ans + .ps-ans { margin-top: 8px; }
.ps-arrow { align-self: center; width: 56px; height: 56px; border-radius: 50%; background: var(--v); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 6px #f3edfb; }
@media (max-width: 820px) { .ps { grid-template-columns: 1fr; max-width: 560px; } .ps-arrow { justify-self: center; transform: rotate(90deg); } .ps-card { padding: 26px; } }

/* ---------- Feature cards ---------- */
.fgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.fcard { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 30px; box-shadow: var(--shadow-s); }
.f-head { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.f-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--vsoft); color: var(--v); flex: none; }
.f-no { display: block; font-size: 12px; font-weight: 800; color: var(--v); letter-spacing: 0.12em; }
.fcard h3 { font-size: 21px; letter-spacing: -0.02em; line-height: 1.2; }
.fcard > p { color: var(--muted); font-size: 15.5px; margin-bottom: 18px; }
.fcard.dark { grid-column: 1 / -1; background: var(--sg); color: #fff; border: 0; padding: 40px; box-shadow: 0 40px 80px -40px rgba(76, 29, 149, 0.7); }
.fcard.dark > p { color: rgba(255, 255, 255, 0.85); font-size: 17px; }
.fcard.dark h3 { font-size: 28px; }
.fcard.dark .f-ic { background: rgba(255, 255, 255, 0.16); color: #fff; }
.fcard.dark .f-no { color: #e4d9ff; }
.fcard.dark .ticklist { grid-template-columns: 1fr 1fr; gap: 12px 32px; }
.fcard.dark .ticklist li svg { color: #d9c9ff; }
.fcard.dark b { color: #fff; }
@media (max-width: 900px) { .fgrid { grid-template-columns: 1fr; } .fcard.dark .ticklist { grid-template-columns: 1fr; } .fcard, .fcard.dark { padding: 26px; } }

/* ---------- How it works ---------- */
.hw { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hw-step { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 30px; box-shadow: var(--shadow-s); }
.hw-step .num { width: 40px; height: 40px; font-size: 16px; margin-bottom: 18px; }
.hw-step h3 { font-size: 20px; letter-spacing: -0.02em; line-height: 1.2; }
.hw-step p { color: var(--muted); font-size: 15.5px; margin-top: 8px; }
@media (max-width: 900px) { .hw { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* ---------- Worldwide block ---------- */
.wwide { border-radius: 40px; background: var(--sg); color: #fff; padding: 64px 56px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; position: relative; overflow: hidden; }
.wwide::before { content: ""; position: absolute; width: 520px; height: 520px; right: -200px; top: -220px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, 0.16), transparent); pointer-events: none; }
.wwide .kicker { color: #e4d9ff; }
.wwide h2 { color: #fff; }
.wwide > div > p { color: rgba(255, 255, 255, 0.85); font-size: 18px; margin-top: 14px; }
.in-list { list-style: none; display: grid; gap: 20px; margin: 32px 0 0; padding: 0; }
.in-list li { display: flex; gap: 14px; align-items: flex-start; }
.in-ic { width: 44px; height: 44px; border-radius: 13px; background: rgba(255, 255, 255, 0.16); display: grid; place-items: center; flex: none; }
.in-list b { display: block; font-size: 17px; }
.in-list b + span { display: block; font-size: 15px; color: rgba(255, 255, 255, 0.82); margin-top: 2px; }
.imock { position: relative; background: #fff; color: var(--ink); border-radius: 28px; padding: 18px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.45); display: flex; flex-direction: column; gap: 10px; max-width: 380px; width: 100%; justify-self: center; }
.im-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.im-head .pk-av { --c: #6d3fc3; }
.im-u { align-self: flex-end; max-width: 85%; background: var(--v); color: #fff; padding: 9px 13px; border-radius: 16px 16px 4px 16px; font-size: 14.5px; line-height: 1.45; }
.im-a { align-self: flex-start; max-width: 88%; background: #f3f1ec; padding: 9px 13px; border-radius: 16px 16px 16px 4px; font-size: 14.5px; line-height: 1.45; }
.im-done { display: flex; align-items: center; gap: 10px; background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: 14px; padding: 10px 12px; font-size: 13.5px; font-weight: 700; }
.im-done small { display: block; font-weight: 600; color: var(--muted); font-size: 12px; }
.im-done > span { width: 28px; height: 28px; border-radius: 50%; background: var(--mint); color: #fff; display: grid; place-items: center; flex: none; }
.im-done > span svg { width: 16px; height: 16px; stroke-width: 2.6; }
@media (max-width: 900px) { .wwide { grid-template-columns: 1fr; padding: 44px 26px; border-radius: 30px; } }

/* ---------- Pricing ---------- */
.plan.sg { background: var(--sg); color: #fff; border: 0; position: relative; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(76, 29, 149, 0.7); max-width: 540px; margin: 0 auto; }
.plan.sg::before { content: ""; position: absolute; width: 420px; height: 420px; right: -180px; top: -200px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, 0.18), transparent); }
.plan.sg .plan-ic { background: rgba(255, 255, 255, 0.18); color: #fff; }
.plan.sg .sub { color: rgba(255, 255, 255, 0.75); }
.plan.sg li svg { color: #d9c9ff; }
.price { position: relative; display: flex; align-items: baseline; gap: 6px; margin-top: 26px; }
.price b { font-size: 60px; line-height: 1; letter-spacing: -0.04em; font-weight: 800; }
.price span { font-size: 17px; font-weight: 700; opacity: 0.85; }
.price-note { position: relative; font-size: 14.5px; color: rgba(255, 255, 255, 0.85); margin-top: 8px; }
.plan.sg ul { margin-top: 24px; }
.plan-foot { position: relative; text-align: center; font-size: 13px; color: rgba(255, 255, 255, 0.75); margin-top: 12px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 0 24px; box-shadow: var(--shadow-s); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { transition: transform 0.2s; color: var(--v); }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { padding: 0 0 20px; color: var(--muted); font-size: 15.5px; }

/* ---------- Shopify-coloured CTA ---------- */
.cta.sg { background: linear-gradient(130deg, #4c1d95 0%, #6d3fc3 50%, #8b5cf6 100%); }
