/* Public site: dark app-style theme. Colours come from Branding (--p --s --a are set in the layout). */
:root { --p:#0f172a; --s:#2563eb; --a:#facc15; --a2:#c9a50f; --bg:#060912; --bg2:#0a0f1d; --card:#1d2538; --line:#2c354a; --muted:#8d97ad; --ink:#e9ecf4;
  --head:'Bebas Neue','Impact','Arial Narrow',sans-serif; --body:'Outfit',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body.pub { background: var(--bg); color: var(--ink); font-family: var(--body); padding-bottom: 76px; -webkit-font-smoothing: antialiased; }
.pub a { color: var(--a); text-decoration: none; }
.pub h1, .pub h2, .pub h3 { font-family: var(--head); font-weight: 400; letter-spacing: .02em; }
.pwrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.muted, .pub .text-muted { color: var(--muted) !important; }

/* ---- Buttons */
.btn-gold, .pub .btn-brand, .pub .btn-vip, .pub .btn-accent { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; background: linear-gradient(135deg, var(--a), var(--a2)); color: var(--bg) !important; font-weight: 700; border: 0; border-radius: 14px; padding: .95rem 1.4rem; font-size: 1.05rem; text-align: center; cursor: pointer; }
.btn-gold:hover, .pub .btn-brand:hover { filter: brightness(1.06); }
.btn-pill { border-radius: 999px; padding: .6rem 1.2rem; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }
.btn-sm-gold { padding: .5rem 1rem; font-size: .9rem; border-radius: 10px; margin-top: .6rem; }
.btn-ghost { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; border: 1px solid var(--line); background: transparent; color: var(--ink) !important; font-weight: 600; border-radius: 14px; padding: .95rem 1.4rem; font-size: 1.05rem; }
.btn-wa { display: inline-flex; background: #22c55e; color: #052e12 !important; font-weight: 700; border-radius: 10px; padding: .5rem 1rem; font-size: .9rem; }

/* ---- Top bar */
.ptop { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--bg); border-bottom: 1px solid var(--line); padding: .8rem 20px; }
.pbrand { display: inline-flex; align-items: center; gap: .55rem; color: var(--a) !important; font-family: var(--head); font-size: 1.7rem; letter-spacing: .12em; text-transform: uppercase; line-height: 1; min-width: 0; }
.pbrand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ptop-right { display: flex; align-items: center; gap: 12px; }
.pburger { background: none; border: 0; width: 42px; height: 42px; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 8px; }
.pburger span { display: block; height: 2.5px; background: var(--ink); border-radius: 2px; }

/* ---- Slide-out menu */
.pscrim { position: fixed; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 90; }
.pdrawer { position: fixed; top: 0; bottom: 0; left: 0; width: min(84vw, 360px); background: var(--bg2); border-right: 1px solid var(--line); transform: translateX(-100%); transition: transform .28s ease; z-index: 100; display: flex; flex-direction: column; }
html.menu-open .pscrim { opacity: 1; pointer-events: auto; }
html.menu-open .pdrawer { transform: none; }
html.menu-open body { overflow: hidden; }
.pdrawer-head { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--line); }
.pbrand-sm { font-family: var(--head); font-size: 1.7rem; color: var(--a); letter-spacing: .04em; }
.pdrawer-head button { background: none; border: 0; color: var(--muted); font-size: 1.6rem; line-height: 1; }
.pdrawer-body { overflow-y: auto; padding-bottom: 2rem; }
.dsec { font-size: .78rem; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); padding: 1.4rem 1.4rem .5rem; opacity: .85; }
.ditem { display: flex; align-items: center; gap: 1rem; width: 100%; padding: .95rem 1.4rem; color: var(--ink) !important; font-size: 1.1rem; background: none; border: 0; text-align: left; }
.ditem i { font-style: normal; font-size: 1.5rem; width: 1.9rem; text-align: center; }
.ditem:hover, .ditem.active { background: var(--card); }
.ditem.active { color: var(--a) !important; }
.dbadge { margin-left: auto; border: 1px solid var(--a); color: var(--a); border-radius: 999px; padding: .15rem .7rem; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.dvip { margin: 1.4rem; padding: 1.1rem; border: 1px solid color-mix(in srgb, var(--a) 40%, transparent); border-radius: 18px; background: color-mix(in srgb, var(--a) 7%, var(--bg2)); text-align: center; }
.dvip-t { font-family: var(--head); font-size: 1.6rem; color: var(--ink); }
.dvip p { color: var(--muted); font-size: .92rem; margin: .3rem 0 .9rem; }

/* ---- Hero */
.hero { padding: 3.2rem 0 3.4rem; background: radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--s) 32%, transparent), transparent 60%), var(--bg); }
.hero-pill { display: inline-flex; align-items: center; gap: .65rem; border: 1px solid var(--line); background: var(--bg2); color: var(--a); border-radius: 999px; padding: .6rem 1.3rem; font-size: .85rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.2); }
.hero h1 { font-size: clamp(3.6rem, 17vw, 7rem); line-height: .92; margin: 1.6rem 0 1rem; text-transform: uppercase; }
.hero .l1 { color: #fff; } .hero .l2 { color: var(--a); }
.hero-sub { color: var(--muted); font-size: 1.2rem; max-width: 34rem; margin: 0 auto 1.8rem; }
.hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 520px; margin: 0 auto; }

/* ---- Sections */
.psec { padding: 2.6rem 0; }
.shead { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem; }
.shead h1, .shead h2 { font-size: 2.6rem; line-height: 1; margin: 0; text-transform: uppercase; color: #fff; }
.stag { background: var(--a); color: var(--bg); border-radius: 999px; padding: .3rem 1rem; font-size: .9rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.fchips { display: flex; gap: 10px; overflow-x: auto; padding: .4rem 0 1rem; scrollbar-width: none; }
.fchip { flex: none; background: var(--card); color: var(--muted); border: 1px solid var(--line); border-radius: 14px; padding: .7rem 1.3rem; font-weight: 600; }
.fchip.on { background: var(--a); color: var(--bg); border-color: var(--a); }
.statcard { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 1.1rem 1.3rem; margin: .4rem 0 1.3rem; }
.stat-top { display: flex; justify-content: space-between; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; font-size: .85rem; }
.stat-top b { color: var(--a); }
.bar { height: 8px; background: var(--bg); border-radius: 99px; margin: .7rem 0 .9rem; overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--a2), var(--a)); border-radius: 99px; }
.stat-row { display: flex; flex-wrap: wrap; gap: 1.2rem; font-size: 1rem; }
.stat-row b { color: var(--a); }
.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.more { display: inline-block; margin-top: 1.1rem; font-weight: 600; }

/* ---- Tip cards */
.tcard { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 1.2rem; height: 100%; display: flex; flex-direction: column; align-items: flex-start; }
.tcard h3 { font-family: var(--body); font-size: 1.12rem; font-weight: 600; letter-spacing: 0; margin: .7rem 0 .4rem; color: #fff; }
.tcard p { color: var(--muted); font-size: .96rem; flex: 1; }
.tlink { font-weight: 600; }
.tcard-top { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; }
.chip { display: inline-block; font-size: .7rem; font-weight: 700; padding: .2rem .65rem; border-radius: 999px; background: color-mix(in srgb, var(--s) 28%, transparent); color: #c9d6ff; text-transform: uppercase; letter-spacing: .08em; }
.chip-free { background: rgba(34,197,94,.16); color: #6ee7a0; }
.chip-vip { background: color-mix(in srgb, var(--a) 18%, transparent); color: var(--a); }
.skel { height: 12px; border-radius: 6px; background: linear-gradient(90deg, var(--line), var(--card), var(--line)); width: 100%; margin: .4rem 0; }
.skel.short { width: 60%; }
.is-locked { border-color: color-mix(in srgb, var(--a) 35%, var(--line)); }

/* ---- VIP card */
.vipcard { position: relative; overflow: hidden; border: 1px solid color-mix(in srgb, var(--a) 40%, var(--line)); border-radius: 24px; padding: 1.8rem 1.6rem; background: linear-gradient(160deg, color-mix(in srgb, var(--a) 9%, var(--bg2)), var(--bg2)); }
.vipcard::after { content: "★"; position: absolute; right: -24px; top: -30px; font-size: 14rem; line-height: 1; color: var(--a); opacity: .07; pointer-events: none; }
.vip-pill { display: inline-block; background: var(--a); color: var(--bg); border-radius: 999px; padding: .5rem 1.1rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; font-size: .85rem; }
.vipcard h2 { font-size: 2.8rem; text-transform: uppercase; color: var(--a); margin: 1rem 0 .4rem; line-height: 1; }
.vipcard p { color: var(--muted); font-size: 1.1rem; margin-bottom: 1.4rem; max-width: 36rem; }

/* ---- Plans */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 1rem; }
.plan { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 1.5rem; }
.plan-hot { border: 2px solid var(--a); box-shadow: 0 10px 40px color-mix(in srgb, var(--a) 14%, transparent); }
.plan-flag { position: absolute; top: -13px; right: 18px; background: var(--a); color: var(--bg); font-size: .75rem; font-weight: 800; padding: .25rem .8rem; border-radius: 99px; letter-spacing: .08em; text-transform: uppercase; }
.plan h3 { font-size: 1.7rem; color: #fff; margin: 0; text-transform: uppercase; }
.plan-price { font-size: 2.2rem; font-weight: 700; color: var(--a); line-height: 1.2; }
.plan-price small { font-size: .9rem; color: var(--muted); font-weight: 500; }
.plan-desc { color: var(--muted); font-size: .92rem; margin-bottom: 0; }
.plan-list { list-style: none; padding: 0; margin: 1rem 0 1.3rem; }
.plan-list li { padding-left: 1.6rem; position: relative; margin-bottom: .45rem; font-size: .95rem; }
.plan-list li::before { content: "✓"; position: absolute; left: 0; color: #22c55e; font-weight: 800; }

/* ---- How it works + FAQ */
.howgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 1.2rem; }
.how { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 1.3rem; }
.how b { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--a); color: var(--bg); font-size: 1.2rem; }
.how h3 { font-family: var(--body); font-size: 1.1rem; font-weight: 600; color: #fff; margin: .8rem 0 .3rem; letter-spacing: 0; }
.how p { color: var(--muted); margin: 0; font-size: .95rem; }
.faq { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.2rem; margin-top: .8rem; }
.faq summary { cursor: pointer; font-weight: 600; color: #fff; list-style: none; }
.faq summary::after { content: "+"; float: right; color: var(--a); font-size: 1.3rem; line-height: 1; }
.faq[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin: .7rem 0 0; }

/* ---- Tip page */
.back { display: inline-block; margin-bottom: 1rem; font-weight: 600; }
.tpage { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 1.6rem; }
.tpage h1 { font-size: 2.6rem; color: #fff; text-transform: uppercase; line-height: 1; margin: .8rem 0; }
.tlead { font-size: 1.15rem; }
.timg img { max-width: 100%; border-radius: 14px; border: 1px solid var(--line); }
.tsub { font-size: 1.7rem; color: var(--a); text-transform: uppercase; margin: 1.6rem 0 .6rem; }
.tsteps { padding-left: 1.2rem; } .tsteps li { margin-bottom: .8rem; } .tsteps strong { display: block; color: #fff; } .tsteps span { color: var(--muted); }
.tbens li { margin-bottom: .35rem; }
.protip { background: color-mix(in srgb, var(--a) 12%, transparent); border-left: 5px solid var(--a); padding: .9rem 1rem; border-radius: 10px; margin-top: 1.3rem; }
.lockbox { border: 1px dashed color-mix(in srgb, var(--a) 55%, transparent); border-radius: 16px; padding: 1.3rem; margin-top: 1rem; }
.share { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.4rem; }

/* ---- Footer, bottom bar, WhatsApp */
.pfoot { border-top: 1px solid var(--line); margin-top: 2rem; padding: 2.4rem 0 1.5rem; text-align: center; }
.pfoot-brand { font-family: var(--head); font-size: 2.2rem; color: var(--a); text-transform: uppercase; }
.pfoot-chat { display: inline-grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; background: var(--card); border: 1px solid var(--line); font-size: 1.8rem; margin: 1rem 0; }
.pfoot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.6rem; margin: 1rem 0; }
.pfoot-links a { color: var(--muted); font-size: 1.05rem; }
.pfoot-soc { display: flex; justify-content: center; gap: 1.2rem; margin-bottom: .6rem; } .pfoot-soc a { color: var(--a); font-size: .95rem; }
.pfoot-note { color: var(--muted); font-size: .88rem; max-width: 40rem; margin: .8rem auto 0; opacity: .85; }
.pwa { position: fixed; right: 16px; bottom: 90px; width: 64px; height: 64px; border-radius: 50%; background: #22c55e; display: grid; place-items: center; font-size: 1.9rem; box-shadow: 0 8px 24px rgba(0,0,0,.45); z-index: 70; }
.pbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: flex; background: var(--bg); border-top: 1px solid var(--line); padding: .4rem .3rem calc(.4rem + env(safe-area-inset-bottom, 0px)); }
.pbar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--muted); font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .25rem 0; }
.pbar a i { font-style: normal; font-size: 1.55rem; line-height: 1.2; }
.pbar a.active { color: var(--a); }
@media (min-width: 992px) { .pbar { display: none; } body.pub { padding-bottom: 0; } .pwa { bottom: 24px; } .hero { padding: 5rem 0 5.4rem; } }

/* ---- Bootstrap pieces inside the dark theme (account, checkout, forms, alerts, pagination) */
.pub .card { background: var(--card); border: 1px solid var(--line); color: var(--ink); border-radius: 18px; }
.pub .card-header { background: transparent; border-bottom: 1px solid var(--line); font-weight: 600; }
.pub .list-group-item { background: transparent; color: var(--ink); border-color: var(--line); }
.pub .list-group-item-action:hover { background: var(--bg2); color: var(--ink); }
.pub .form-control, .pub .form-select { background: var(--bg); border: 1px solid var(--line); color: #fff; }
.pub .form-control:disabled { background: var(--bg2); color: var(--muted); }
.pub .form-label { color: var(--ink); } .pub .form-text { color: var(--muted); }
.pub .table { --bs-table-bg: transparent; --bs-table-color: var(--ink); --bs-table-border-color: var(--line); }
.pub .alert { background: var(--card); border: 1px solid var(--line); color: var(--ink); border-radius: 14px; }
.pub .alert-success { border-color: rgba(34,197,94,.5); } .pub .alert-danger { border-color: rgba(239,68,68,.6); } .pub .alert-warning { border-color: color-mix(in srgb, var(--a) 60%, transparent); }
.pub .btn-close { filter: invert(1); }
.pub .bg-light { background: var(--bg) !important; color: var(--ink) !important; }
.pub .btn-primary { background: linear-gradient(135deg, var(--a), var(--a2)); border: 0; color: var(--bg); font-weight: 700; }
.pub .btn-primary:hover { color: var(--bg); filter: brightness(1.06); }
.pub .page-link { background: var(--card); border-color: var(--line); color: var(--ink); }
.pub .page-item.active .page-link { background: var(--a); border-color: var(--a); color: var(--bg); }
.pub .plan-price { color: var(--a); }
.pub hr { border-color: var(--line); opacity: 1; }

/* ---- Developer docs */
.pub pre.code { background: var(--bg2); border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.1rem; color: #d7e0f5; font-size: .82rem; line-height: 1.5; overflow-x: auto; white-space: pre; }
.pub code { color: var(--a); background: color-mix(in srgb, var(--a) 10%, transparent); border-radius: 6px; padding: .05rem .35rem; font-size: .88em; }
.pub pre.code code { background: none; padding: 0; color: inherit; }
.pub .dtable code { white-space: nowrap; }
