/* Telegram Shop — premium dark theme. Mobile-first, Burmese-friendly. */
:root {
  --bg: #08080b;
  --card: #121217;
  --card2: #17171d;
  --ink: #f4f4f7;
  --muted: #a3a3ae;
  --line: rgba(255, 255, 255, .09);
  --line2: rgba(255, 255, 255, .16);
  --platinum: linear-gradient(135deg, #fbfbff 0%, #d7d9e1 40%, #a9adb9 75%, #c9ccd6 100%);
  --accent-ink: #0b0b0f;
  --ok: #34d399;
  --warn: #fbbf24;
  --danger: #f87171;
  --info: #7dd3fc;
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .5);
  --shadow: 0 8px 24px -8px rgba(0, 0, 0, .6);
  --shadow-lg: 0 24px 60px -16px rgba(0, 0, 0, .7);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Noto Sans Myanmar", "Myanmar Text", "Pyidaungsu", "Myanmar3",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  font-size: 16px;
  background:
    radial-gradient(900px 340px at 12% -4%, rgba(255, 255, 255, .055), transparent 60%),
    radial-gradient(800px 320px at 88% -6%, rgba(169, 173, 185, .07), transparent 60%),
    var(--bg);
  min-height: 100vh;
}
.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }
img { max-width: 100%; }
a { color: inherit; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 8, 11, .82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  color: #fff;
  margin-bottom: 22px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .55);
  border-bottom: 1px solid var(--line2);
}
.topbar-inner {
  display: flex; align-items: center; gap: 12px;
  padding-top: 11px; padding-bottom: 11px; flex-wrap: wrap;
}
.brand {
  color: #fff; text-decoration: none; font-weight: 800; font-size: 1.12rem;
  display: inline-flex; align-items: center; gap: 10px; letter-spacing: .3px;
  white-space: nowrap;
}
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 11px; font-size: 1.15rem;
  background: rgba(255, 255, 255, .08);
  border: 1px solid var(--line2);
}
.brand-logo {
  width: 36px; height: 36px; border-radius: 11px; object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .3);
  box-shadow: 0 0 14px rgba(255, 255, 255, .18), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.footer-logo { width: 18px; height: 18px; border-radius: 5px; vertical-align: -3px; }
.nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
/* Bubble pills: muted light-gray (ခဲရောင် မှိန်မှိန်) bubbles, dark site friendly */
.nav a {
  text-decoration: none; font-size: .92rem; font-weight: 700;
  padding: 8px 16px; border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, .20);
  background: rgba(255, 255, 255, .09);
  color: #d9dde4; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.nav a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -4px rgba(0, 0, 0, .6);
  background: rgba(255, 255, 255, .16);
  color: #fff;
}
.nav a.active {
  color: #0b0b0f; background: var(--platinum); border-color: rgba(255, 255, 255, .5);
  font-weight: 800;
  box-shadow: 0 4px 16px -2px rgba(255, 255, 255, .4), inset 0 1px 0 rgba(255, 255, 255, .6);
}
.who {
  color: rgba(255, 255, 255, .8); font-size: .86rem; font-weight: 600;
  background: rgba(255, 255, 255, .07); border: 1px solid var(--line);
  padding: 6px 12px; border-radius: 999px; max-width: 180px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.shopswitch {
  background: rgba(255, 255, 255, .07); color: #fff;
  border: 1px solid var(--line2); border-radius: 999px;
  padding: 7px 10px; font-size: .88rem; font-family: inherit; font-weight: 600;
}
.shopswitch option { color: #141419; background: #fff; }

/* ---------- Notices ---------- */
.notice, .error {
  padding: 12px 16px; border-radius: var(--radius); margin-bottom: 16px;
  font-weight: 600; box-shadow: var(--shadow-sm);
  animation: slidein .25s ease-out; border: 1px solid;
}
.notice { background: rgba(52, 211, 153, .1); border-color: rgba(52, 211, 153, .35); color: #6ee7b7; }
.error { background: rgba(248, 113, 113, .1); border-color: rgba(248, 113, 113, .35); color: #fca5a5; }
.hint { color: var(--muted); font-size: .9rem; }
@keyframes slidein { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Cards & layout ---------- */
main.wrap { animation: fadeup .3s ease-out; }
@keyframes fadeup { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.card {
  background: linear-gradient(180deg, var(--card2), var(--card));
  border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px; margin-bottom: 18px;
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.card.narrow { max-width: 440px; margin: 34px auto; box-shadow: var(--shadow-lg); overflow: hidden; padding: 0; }
h1 { font-size: 1.4rem; margin: 0 0 14px; letter-spacing: -.01em; }
h2 { font-size: 1.12rem; margin: 0 0 12px; }
.pagehead { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.pagehead h1 { margin: 0; }

/* ---------- Forms ---------- */
form label { display: block; margin-bottom: 14px; font-weight: 700; font-size: .95rem; }
form label .hint { font-weight: 400; display: block; margin-top: 3px; }
input[type="text"], input[type="password"], input[type="number"], input[type="tel"], select, textarea {
  width: 100%; padding: 11px 13px; margin-top: 6px;
  border: 1.5px solid var(--line2); border-radius: 12px; font-size: 1rem; font-family: inherit;
  background: #0d0d11; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
input::placeholder, textarea::placeholder { color: #5d5d68; }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: #d7d9e1; background: #101015;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .12);
}
textarea { min-height: 90px; resize: vertical; }
input[type="checkbox"] { width: 19px; height: 19px; vertical-align: middle; accent-color: #d7d9e1; }
input[type="file"] { margin-top: 6px; font-family: inherit; color: var(--muted); }
input[type="file"]::file-selector-button {
  background: rgba(255, 255, 255, .1); color: var(--ink); border: 1px solid var(--line2);
  border-radius: 9px; padding: 8px 14px; font-family: inherit; font-weight: 700; cursor: pointer;
  margin-right: 10px;
}
.check { font-weight: 700; display: flex; align-items: center; gap: 9px; margin-bottom: 10px; font-size: .95rem; }
select option { background: #17171d; color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 10px 19px; border-radius: 16px;
  border: 1.5px solid var(--line2); background: rgba(255, 255, 255, .05); color: var(--ink);
  text-decoration: none; cursor: pointer; font-size: .95rem; font-family: inherit; font-weight: 800;
  transition: transform .08s, box-shadow .15s, background .15s, border-color .15s, filter .15s;
  box-shadow: var(--shadow-sm), 0 3px 10px -3px rgba(0, 0, 0, .55);
  line-height: 1.4;
}
.btn:hover {
  background: rgba(255, 255, 255, .11); border-color: rgba(255, 255, 255, .32);
  box-shadow: var(--shadow-sm), 0 6px 16px -4px rgba(0, 0, 0, .6);
  transform: translateY(-1px);
}
.btn:active { transform: scale(.97); }
.btn.primary {
  background: var(--platinum);
  border: 1.5px solid rgba(255, 255, 255, .5); color: var(--accent-ink);
  box-shadow: 0 6px 20px -4px rgba(255, 255, 255, .35), inset 0 1px 0 rgba(255, 255, 255, .7);
  padding: 11px 22px; text-shadow: none; font-weight: 800;
}
.btn.primary:hover { filter: brightness(1.08); background: var(--platinum); }
.btn.danger { color: var(--danger); border-color: rgba(248, 113, 113, .4); background: rgba(248, 113, 113, .06); }
.btn.danger:hover { background: rgba(248, 113, 113, .14); border-color: rgba(248, 113, 113, .6); }
.btn.small { padding: 6px 14px; font-size: .85rem; border-radius: 13px; font-weight: 700; }
.inline { display: inline; }
.inline-form { display: inline-block; margin: 0; }

/* ---------- Tables ---------- */
.table-scroll { overflow-x: auto; border-radius: 12px; border: 1px solid var(--line); -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; background: var(--card); font-size: .94rem; }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th {
  background: #0e0e13; font-weight: 800; white-space: nowrap; font-size: .82rem;
  color: var(--muted); letter-spacing: .05em; text-transform: uppercase;
}
tr:last-child td { border-bottom: none; }
tbody tr { transition: background .12s; }
tbody tr:hover { background: rgba(255, 255, 255, .035); }
td.actions { white-space: nowrap; }
td.actions .btn, td.actions form { margin-right: 6px; }
td.actions .inline-form { margin-bottom: 4px; }

/* ---------- Badges ---------- */
.badge {
  display: inline-block; padding: 3px 12px; border-radius: 999px;
  font-size: .8rem; font-weight: 800; white-space: nowrap; letter-spacing: .02em;
  border: 1px solid transparent;
}
.badge.on { background: rgba(52, 211, 153, .12); color: #6ee7b7; border-color: rgba(52, 211, 153, .35); }
.badge.off { background: rgba(255, 255, 255, .06); color: var(--muted); border-color: var(--line); }
.badge.pending { background: rgba(251, 191, 36, .12); color: #fcd34d; border-color: rgba(251, 191, 36, .35); }
.badge.confirmed { background: rgba(125, 211, 252, .12); color: #7dd3fc; border-color: rgba(125, 211, 252, .35); }
.badge.delivered { background: rgba(52, 211, 153, .12); color: #6ee7b7; border-color: rgba(52, 211, 153, .35); }
.badge.cancelled { background: rgba(248, 113, 113, .12); color: #fca5a5; border-color: rgba(248, 113, 113, .35); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 18px; }
.stat {
  background: linear-gradient(180deg, var(--card2), var(--card));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform .15s, box-shadow .15s;
}
.stat:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.stat::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--platinum);
  opacity: .9;
}
.stat .num {
  font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2;
  background: linear-gradient(120deg, #ffffff, #a9adb9);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat .lbl { color: var(--muted); font-size: .88rem; font-weight: 600; margin-top: 4px; }

/* ---------- Misc ---------- */
.thumb {
  width: 60px; height: 60px; object-fit: cover; border-radius: 12px;
  border: 1px solid var(--line2); box-shadow: var(--shadow-sm);
}
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.filters a {
  padding: 7px 15px; border: 1.5px solid var(--line2); border-radius: 999px;
  text-decoration: none; color: var(--ink); background: rgba(255, 255, 255, .04);
  font-size: .9rem; font-weight: 700; transition: all .15s; box-shadow: var(--shadow-sm);
}
.filters a:hover { border-color: rgba(255, 255, 255, .4); }
.filters a.active {
  background: var(--platinum); color: var(--accent-ink); border-color: transparent;
  box-shadow: 0 4px 14px -2px rgba(255, 255, 255, .35);
}
.datelabel { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; font-weight: 700; color: var(--muted); }
.datelabel input[type="date"] {
  padding: 7px 10px; border-radius: 10px; border: 1.5px solid var(--line2);
  background: rgba(255, 255, 255, .05); color: var(--ink); font-size: .9rem;
  color-scheme: dark;
}
.kv { display: grid; grid-template-columns: 140px 1fr; gap: 8px 14px; margin-bottom: 14px; }
.kv dt { color: var(--muted); font-weight: 600; }
.kv dd { margin: 0; word-break: break-word; }
.footer { color: var(--muted); font-size: .85rem; text-align: center; padding: 28px 0 34px; }
.rowform { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.rowform input[type="number"] { width: 110px; margin-top: 0; }
.monthform { display: flex; gap: 8px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.monthform input { width: 160px; margin-top: 0; }

/* ---------- Login hero ---------- */
.login-hero {
  margin: 0 0 22px; padding: 40px 24px 34px; text-align: center; color: #fff;
  background:
    radial-gradient(420px 200px at 50% -60px, rgba(255, 255, 255, .14), transparent 70%),
    linear-gradient(160deg, #101014 0%, #08080b 100%);
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.login-logo {
  width: 92px; height: 92px; border-radius: 26px; object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .35);
  box-shadow: 0 0 34px rgba(255, 255, 255, .22), 0 10px 28px rgba(0, 0, 0, .6);
  position: relative; z-index: 1;
}
.login-hero h1 { color: #fff; margin: 14px 0 6px; font-size: 1.55rem; position: relative; z-index: 1; letter-spacing: .3px; }
.login-hero p { margin: 0; color: var(--muted); font-size: .93rem; position: relative; z-index: 1; }
.login-card form { margin-top: 4px; padding: 0 22px 24px; }
.login-card .btn.primary { width: 100%; padding: 13px; font-size: 1.02rem; }

/* ---------- AI fieldset (owner shop form) ---------- */
.ai-fieldset { border: 1px solid var(--line2); border-radius: 10px; padding: 12px 14px; margin: 14px 0; }
.ai-fieldset legend { padding: 0 8px; font-weight: 700; }
.ai-fieldset .check { font-weight: 400; }

/* ---------- Search form ---------- */
.searchform { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.searchform input { flex: 1; min-width: 200px; margin-top: 0; }

/* ---------- Login contact card ---------- */
.contact-card {
  margin: 0 22px 24px; padding: 18px 16px; text-align: center;
  border: 1px solid var(--line); border-radius: 14px;
  background: rgba(255, 255, 255, .03);
}
.contact-title { margin: 0 0 12px; color: var(--muted); font-size: .92rem; line-height: 1.6; }
.btn.telegram {
  display: inline-block; padding: 11px 22px; border-radius: 10px;
  background: #229ED9; color: #fff; font-weight: 600; text-decoration: none;
}
.btn.telegram:hover { background: #1b8bc0; color: #fff; }

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
  body { font-size: 15px; }
  .wrap { padding: 0 12px; }
  .topbar { margin-bottom: 16px; }
  .topbar-inner { gap: 8px; padding-top: 9px; padding-bottom: 9px; }
  .brand { font-size: 1.02rem; }
  .nav {
    flex-wrap: nowrap; overflow-x: auto; margin-left: 0; width: 100%;
    padding-bottom: 6px; gap: 6px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { padding: 7px 14px; font-size: .85rem; flex-shrink: 0; }
  .langswitch { font-size: .8rem; padding: 4px; }
  .langswitch a { padding: 5px 12px; }
  .who { display: none; }
  .card { padding: 16px; border-radius: 14px; }
  .card.narrow { margin: 22px auto; border-radius: 18px; }
  h1 { font-size: 1.22rem; }
  th, td { padding: 9px 8px; font-size: .87rem; }
  .pagehead { align-items: stretch; flex-direction: column; }
  .pagehead .btn { text-align: center; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stat { padding: 14px; }
  .stat .num { font-size: 1.35rem; }
  .kv { grid-template-columns: 1fr; gap: 2px; }
  .kv dt { margin-top: 8px; }
  .kv dt:first-child { margin-top: 0; }
  .filters { gap: 6px; }
  .filters a { padding: 6px 12px; font-size: .84rem; }
  td.actions .btn { margin-bottom: 4px; }
  .login-hero { padding: 32px 18px 26px; }
  .login-logo { width: 76px; height: 76px; border-radius: 22px; }
}
@media (min-width: 641px) and (max-width: 900px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
}

/* Language switcher (မြန်မာ | EN) — prominent pill with bubble options */
.langswitch {
  display: inline-flex; align-items: center; gap: 4px;
  margin-left: auto; white-space: nowrap;
  font-size: .85rem; font-weight: 700;
  background: rgba(255, 255, 255, .06);
  border: 1.5px solid var(--line2);
  border-radius: 999px; padding: 5px;
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.nav + .langswitch { margin-left: auto; }
.langswitch a {
  color: #aeb6c2; text-decoration: none; padding: 6px 14px; border-radius: 999px;
  transition: all .15s ease;
}
.langswitch a:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.langswitch a.active {
  color: #0b0b0f; background: var(--platinum); font-weight: 800;
  box-shadow: 0 3px 10px -2px rgba(255, 255, 255, .35), inset 0 1px 0 rgba(255, 255, 255, .6);
}
.langswitch i { color: #5b6470; font-style: normal; font-weight: 400; }

/* ================= PREMIUM LANDING (2026-09-25) ================= */
.hero-premium { position: relative; padding: 56px 0 40px; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -120px -40px auto; height: 420px; pointer-events: none;
  background:
    radial-gradient(520px 260px at 22% 30%, rgba(125, 211, 252, .14), transparent 65%),
    radial-gradient(620px 300px at 78% 20%, rgba(255, 255, 255, .10), transparent 65%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: center; }
.hero-badge {
  display: inline-block; font-size: .82rem; font-weight: 800; letter-spacing: .04em;
  padding: 7px 16px; border-radius: 999px; margin-bottom: 20px;
  color: #7dd3fc; background: rgba(125, 211, 252, .10);
  border: 1px solid rgba(125, 211, 252, .35);
  box-shadow: 0 0 24px -6px rgba(125, 211, 252, .35);
}
.hero-title {
  font-size: clamp(30px, 5.4vw, 52px); line-height: 1.22; letter-spacing: -.015em;
  margin: 0 0 16px; font-weight: 900;
}
.hero-title .grad {
  background: linear-gradient(100deg, #7dd3fc 10%, #e0e7ff 50%, #f0abfc 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: 1.06rem; color: var(--muted); max-width: 520px; margin: 0 0 26px; line-height: 1.75; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.btn-lg { padding: 14px 28px; font-size: 1.02rem; border-radius: 18px; }
.btn-block { display: block; width: 100%; text-align: center; margin-top: 18px; }
.trust-row { display: flex; gap: 16px; flex-wrap: wrap; font-size: .88rem; color: var(--muted); font-weight: 600; }

/* Phone mockup */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone {
  width: 270px; border-radius: 38px; padding: 12px;
  background: linear-gradient(160deg, #1c1c22, #0c0c10);
  border: 1px solid var(--line2);
  box-shadow: var(--shadow-lg), 0 0 60px -18px rgba(125, 211, 252, .35), inset 0 1px 0 rgba(255,255,255,.12);
  position: relative; z-index: 1;
  animation: floaty 5s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.phone-notch {
  width: 110px; height: 24px; background: #08080b; border-radius: 999px;
  margin: 0 auto 10px; border: 1px solid var(--line);
}
.phone-screen {
  background: #0e1420; border-radius: 28px; padding: 14px 12px 18px; min-height: 380px;
  border: 1px solid rgba(255,255,255,.06); overflow: hidden;
}
.chat-head {
  text-align: center; font-weight: 800; font-size: .92rem; padding: 8px; margin: -4px -2px 12px;
  background: rgba(255,255,255,.05); border-radius: 14px; border: 1px solid var(--line);
}
.msg {
  max-width: 88%; padding: 9px 13px; border-radius: 15px; font-size: .86rem; line-height: 1.55;
  margin-bottom: 10px; animation: fadeup .4s ease-out backwards;
}
.msg.bot { background: #1b2436; border: 1px solid rgba(125,211,252,.18); border-bottom-left-radius: 5px; }
.msg.ok { background: rgba(52,211,153,.12); border: 1px solid rgba(52,211,153,.3); border-bottom-left-radius: 5px; }
.prod-mini {
  background: #141a28; border: 1px solid rgba(255,255,255,.1); border-radius: 15px;
  padding: 12px; margin-bottom: 10px; text-align: center;
  animation: fadeup .4s .15s ease-out backwards;
}
.prod-emoji { font-size: 2rem; }
.prod-info { font-size: .86rem; font-weight: 700; margin: 6px 0 8px; }
.prod-add {
  display: inline-block; font-size: .8rem; font-weight: 800; padding: 7px 16px; border-radius: 999px;
  background: var(--platinum); color: var(--accent-ink);
}
.float-card {
  position: absolute; z-index: 2; font-size: .82rem; font-weight: 800;
  padding: 10px 16px; border-radius: 14px; white-space: nowrap;
  background: rgba(20, 20, 26, .92); border: 1px solid var(--line2);
  box-shadow: var(--shadow-lg); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  animation: floaty 4s ease-in-out infinite;
}
.fc1 { top: 12%; left: 0; animation-delay: .8s; }
.fc2 { bottom: 14%; right: 0; animation-delay: 1.6s; }

/* Stats band */
.stats-band {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin: 8px 0 8px; padding: 22px 10px;
  background: rgba(255,255,255,.025); border: 1px solid var(--line); border-radius: 20px;
}
.stat-item { text-align: center; }
.stat-v {
  font-size: 1.65rem; font-weight: 900; letter-spacing: -.02em;
  background: linear-gradient(120deg, #fff, #a9adb9);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-l { color: var(--muted); font-size: .82rem; font-weight: 600; margin-top: 4px; }

/* Section headers */
.sec-eyebrow {
  text-align: center; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: #7dd3fc; margin-bottom: 10px;
}
.sec-title { text-align: center; font-size: clamp(22px, 3.6vw, 32px); font-weight: 900; letter-spacing: -.01em; margin: 0 0 8px; }
.sec-sub { text-align: center; color: var(--muted); margin: 0 0 26px; }
.landing-sec { margin: 56px 0 8px; }

/* Feature cards */
.feat-card { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.feat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line2); }
.feat-ico {
  width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 14px;
  background: rgba(125, 211, 252, .10); border: 1px solid rgba(125, 211, 252, .25);
}
.feat-card h3 { margin: 0 0 8px; font-size: 1.02rem; }
.feat-card p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.7; }

/* Steps */
.step-card { text-align: center; position: relative; }
.step-num {
  width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 900; color: var(--accent-ink);
  background: var(--platinum);
  box-shadow: 0 6px 20px -4px rgba(255,255,255,.35), inset 0 1px 0 rgba(255,255,255,.7);
}
.step-card h3 { margin: 0 0 8px; font-size: 1rem; }
.step-card p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.7; }

/* Pricing */
.price-card { position: relative; text-align: center; padding: 30px 24px; overflow: hidden; }
.price-card .plan { font-size: 1.05rem; font-weight: 800; margin-bottom: 10px; }
.price-card .amount { font-size: 2.1rem; font-weight: 900; letter-spacing: -.02em; }
.price-card .per { font-size: .95rem; font-weight: 600; color: var(--muted); }
.price-card.popular { border-color: rgba(125, 211, 252, .45); box-shadow: 0 0 44px -12px rgba(125,211,252,.4), var(--shadow); }
.popular-ribbon {
  position: absolute; top: 14px; right: -38px; transform: rotate(38deg);
  background: linear-gradient(100deg, #7dd3fc, #e0e7ff); color: #0b0b0f;
  font-size: .72rem; font-weight: 900; padding: 5px 42px; letter-spacing: .03em;
  box-shadow: 0 4px 12px rgba(0,0,0,.4);
}
.check-list { list-style: none; margin: 18px 0 6px; padding: 0; text-align: left; }
.check-list li { padding: 7px 0 7px 30px; position: relative; font-size: .92rem; color: #d5dae2; }
.check-list li::before {
  content: "✓"; position: absolute; left: 2px; top: 7px;
  width: 20px; height: 20px; border-radius: 50%; font-size: .72rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  background: rgba(52,211,153,.14); color: #6ee7b7; border: 1px solid rgba(52,211,153,.4);
}

/* FAQ */
.faq { max-width: 680px; margin: 0 auto; }
.faq-item { padding: 0; overflow: hidden; }
.faq-item summary {
  padding: 18px 20px; cursor: pointer; font-weight: 800; font-size: .98rem; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.3rem; font-weight: 400; color: #7dd3fc; flex-shrink: 0;
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0; padding: 0 20px 20px; color: var(--muted); font-size: .93rem; line-height: 1.75; }

/* CTA band */
.cta-band {
  margin: 64px 0 12px; padding: 52px 24px; text-align: center; border-radius: 26px;
  background:
    radial-gradient(500px 220px at 50% -40px, rgba(125,211,252,.20), transparent 70%),
    linear-gradient(160deg, #14141b 0%, #0a0a0e 100%);
  border: 1px solid var(--line2);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.08);
  position: relative; overflow: hidden;
}
.cta-band h2 { font-size: clamp(22px, 4vw, 34px); font-weight: 900; letter-spacing: -.01em; margin: 0 0 10px; }
.cta-band p { color: var(--muted); margin: 0 0 26px; font-size: 1rem; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-visual { order: -1; }
  .phone { width: 240px; }
  .phone-screen { min-height: 340px; }
  .fc1 { left: 2%; } .fc2 { right: 2%; }
  .stats-band { grid-template-columns: repeat(2, 1fr); gap: 18px 8px; }
  .hero-premium { padding: 36px 0 28px; }
  .landing-sec { margin: 44px 0 8px; }
  .cta-band { padding: 40px 18px; border-radius: 20px; }
}

/* ============ LIGHT THEME via html[data-theme="light"] (2026-09-25) ============
   Public pages only (body.cf). Clean SaaS look: white, navy ink, coral-red CTA. */
html[data-theme="light"] body {
  --cf-bg: #ffffff;
  --cf-soft: #f6f7f9;
  --cf-ink: #0f1c2e;
  --cf-muted: #5c6675;
  --cf-line: #e8ebef;
  --cf-accent: #ff4d4f;
  --cf-accent-d: #e0383b;
  --cf-accent-soft: #fff1f1;
  --cf-navy: #0e1a2e;
  --cf-radius: 20px;
  background: var(--cf-bg);
  color: var(--cf-ink);
  font-family: "Inter", "Noto Sans Myanmar", "Myanmar Text", "Pyidaungsu", "Myanmar3",
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
html[data-theme="light"] .wrap { max-width: 1080px; }
html[data-theme="light"] a { color: inherit; }

/* Announcement bar */
.cf-announce {
  background: var(--cf-navy); color: #fff; text-align: center;
  font-size: .86rem; font-weight: 600; padding: 9px 14px;
}
.cf-announce a { color: #ffb3b4; font-weight: 800; text-decoration: none; margin-left: 6px; }
.cf-announce a:hover { text-decoration: underline; }

/* Topbar — white, clean */
html[data-theme="light"] .topbar {
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--cf-line);
  box-shadow: 0 2px 12px rgba(15, 28, 46, .05);
  margin-bottom: 0;
}
html[data-theme="light"] .brand { color: var(--cf-ink); }
html[data-theme="light"] .brand-logo { border-color: var(--cf-line); box-shadow: 0 2px 8px rgba(15,28,46,.08); }
html[data-theme="light"] .nav a {
  background: transparent; border: 1.5px solid transparent; color: var(--cf-muted);
  font-weight: 700; border-radius: 999px;
}
html[data-theme="light"] .nav a:hover { background: var(--cf-soft); color: var(--cf-ink); transform: none; box-shadow: none; }
html[data-theme="light"] .nav a.active { background: var(--cf-ink); color: #fff; border-color: var(--cf-ink); box-shadow: none; }
html[data-theme="light"] .nav a.btn.primary, html[data-theme="light"] .nav .btn.primary {
  background: var(--cf-accent); border-color: var(--cf-accent); color: #fff;
  box-shadow: 0 6px 16px -6px rgba(255, 77, 79, .55);
}
html[data-theme="light"] .nav a.btn.primary:hover { background: var(--cf-accent-d); border-color: var(--cf-accent-d); filter: none; }
html[data-theme="light"] .langswitch { background: var(--cf-soft); border-color: var(--cf-line); box-shadow: none; }
html[data-theme="light"] .langswitch a { color: var(--cf-muted); }
html[data-theme="light"] .langswitch a:hover { color: var(--cf-ink); background: rgba(15,28,46,.06); }
html[data-theme="light"] .langswitch a.active { background: var(--cf-ink); color: #fff; box-shadow: none; }
html[data-theme="light"] .langswitch i { color: #b9c0cb; }

/* Buttons */
html[data-theme="light"] .btn {
  border-radius: 999px; font-weight: 800;
  border: 1.5px solid var(--cf-line); background: #fff; color: var(--cf-ink);
  box-shadow: 0 2px 8px rgba(15, 28, 46, .06);
}
html[data-theme="light"] .btn:hover { background: var(--cf-soft); border-color: #d4d9e0; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(15,28,46,.08); }
html[data-theme="light"] .btn.primary {
  background: var(--cf-accent); border-color: var(--cf-accent); color: #fff;
  box-shadow: 0 8px 20px -6px rgba(255, 77, 79, .55);
}
html[data-theme="light"] .btn.primary:hover { background: var(--cf-accent-d); border-color: var(--cf-accent-d); filter: none; }
html[data-theme="light"] .btn-lg { padding: 15px 32px; font-size: 1.02rem; border-radius: 999px; }

/* Cards */
html[data-theme="light"] .card {
  background: #fff; border: 1px solid var(--cf-line); border-radius: var(--cf-radius);
  box-shadow: 0 4px 18px -6px rgba(15, 28, 46, .07);
  color: var(--cf-ink);
}
html[data-theme="light"] h1, html[data-theme="light"] h2, html[data-theme="light"] h3 { color: var(--cf-ink); }
html[data-theme="light"] .hint { color: var(--cf-muted); }
html[data-theme="light"] .notice { background: #ecfdf5; border-color: #a7f3d0; color: #047857; }
html[data-theme="light"] .error { background: #fef2f2; border-color: #fecaca; color: #b91c1c; }

/* Forms (signup / login) */
html[data-theme="light"] form label { color: var(--cf-ink); }
html[data-theme="light"] input[type="text"], html[data-theme="light"] input[type="password"], html[data-theme="light"] input[type="number"],
html[data-theme="light"] input[type="tel"], html[data-theme="light"] select, html[data-theme="light"] textarea {
  background: #fff; color: var(--cf-ink); border: 1.5px solid #d4d9e0; border-radius: 12px;
}
html[data-theme="light"] input::placeholder, html[data-theme="light"] textarea::placeholder { color: #9aa3b2; }
html[data-theme="light"] input:focus, html[data-theme="light"] select:focus, html[data-theme="light"] textarea:focus {
  border-color: var(--cf-accent); background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 77, 79, .12);
}
html[data-theme="light"] .login-hero {
  background: linear-gradient(160deg, var(--cf-navy) 0%, #16263f 100%);
  border-bottom: 1px solid var(--cf-line); color: #fff;
}
html[data-theme="light"] .login-hero h1 { color: #fff; }
html[data-theme="light"] .login-hero p { color: #b9c6d8; }
html[data-theme="light"] .login-logo { border-color: rgba(255,255,255,.35); }
html[data-theme="light"] .contact-card { background: var(--cf-soft); border-color: var(--cf-line); }
html[data-theme="light"] .contact-title { color: var(--cf-muted); }

/* ---------- Hero ---------- */
.cf-hero { padding: 64px 0 48px; text-align: center; position: relative; overflow: hidden; }
.cf-hero-badge {
  display: inline-block; font-size: .82rem; font-weight: 800; letter-spacing: .03em;
  padding: 8px 18px; border-radius: 999px; margin-bottom: 22px;
  color: var(--cf-accent-d); background: var(--cf-accent-soft);
  border: 1px solid #ffd7d8;
}
.cf-hero-title {
  font-size: clamp(32px, 5.6vw, 56px); line-height: 1.25; letter-spacing: -.02em;
  margin: 0 auto 18px; font-weight: 900; max-width: 820px; color: var(--cf-ink);
}
.cf-hero-title .hl { color: var(--cf-accent); }
.cf-hero-sub {
  font-size: 1.1rem; color: var(--cf-muted); max-width: 620px;
  margin: 0 auto 30px; line-height: 1.75;
}
.cf-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 20px; }
.cf-trust { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; font-size: .88rem; color: var(--cf-muted); font-weight: 600; }
.cf-trust span::before { content: "✓ "; color: var(--cf-accent); font-weight: 900; }
.cf-hero-visual { margin-top: 44px; position: relative; display: flex; justify-content: center; }

/* ---------- Bold points (Chatfuel bullet style) ---------- */
.cf-points {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin: 10px 0 8px; padding: 30px 26px;
  background: var(--cf-soft); border: 1px solid var(--cf-line); border-radius: 24px;
}
.cf-point-lead { font-size: 1.7rem; font-weight: 900; letter-spacing: -.02em; color: var(--cf-ink); }
.cf-point-lead em { font-style: normal; color: var(--cf-accent); }
.cf-point-desc { color: var(--cf-muted); font-size: .9rem; font-weight: 600; margin-top: 6px; line-height: 1.65; }

/* ---------- Stats ---------- */
html[data-theme="light"] .stats-band { background: #fff; border: 1px solid var(--cf-line); box-shadow: 0 4px 18px -6px rgba(15,28,46,.07); }
html[data-theme="light"] .stat-v { background: none; color: var(--cf-ink); -webkit-text-fill-color: currentcolor; }
html[data-theme="light"] .stat-l { color: var(--cf-muted); }

/* ---------- Sections ---------- */
html[data-theme="light"] .landing-sec { margin: 72px 0 8px; }
html[data-theme="light"] .sec-eyebrow { color: var(--cf-accent); }
html[data-theme="light"] .sec-title { color: var(--cf-ink); }
html[data-theme="light"] .sec-sub { color: var(--cf-muted); }

/* ---------- Steps ---------- */
html[data-theme="light"] .step-num { background: var(--cf-ink); color: #fff; box-shadow: 0 8px 18px -6px rgba(15,28,46,.4); }
html[data-theme="light"] .step-card p { color: var(--cf-muted); }
html[data-theme="light"] .step-card { transition: transform .18s ease, box-shadow .18s ease; }
html[data-theme="light"] .step-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px -10px rgba(15,28,46,.14); }

/* ---------- Use-case cards ---------- */
.cf-use-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cf-use-card { padding: 24px 20px; transition: transform .18s ease, box-shadow .18s ease; }
.cf-use-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px -10px rgba(15,28,46,.14); }
.cf-use-ico { font-size: 2rem; margin-bottom: 12px; }
.cf-use-card h3 { margin: 0 0 8px; font-size: 1.02rem; }
.cf-use-card p { margin: 0; color: var(--cf-muted); font-size: .9rem; line-height: 1.7; }

/* ---------- Comparison table ---------- */
.cf-compare-wrap { overflow-x: auto; border-radius: var(--cf-radius); border: 1px solid var(--cf-line); }
html[data-theme="light"] table.cf-compare { background: #fff; font-size: .95rem; margin: 0; }
.cf-compare th { background: var(--cf-soft); color: var(--cf-muted); text-transform: none; letter-spacing: 0; font-size: .9rem; }
.cf-compare th.us { background: var(--cf-navy); color: #fff; text-align: center; }
.cf-compare td { border-bottom: 1px solid var(--cf-line); color: var(--cf-ink); padding: 14px 16px; }
.cf-compare td.dim { color: var(--cf-muted); }
.cf-compare td.us { background: var(--cf-accent-soft); font-weight: 700; text-align: center; color: var(--cf-ink); }
.cf-compare td.us::before { content: "✓ "; color: var(--cf-accent); font-weight: 900; }
.cf-compare td.no::before { content: "✕ "; color: #c3cad4; font-weight: 900; }

/* ---------- Pricing (light) ---------- */
html[data-theme="light"] .price-card .plan { color: var(--cf-ink); }
html[data-theme="light"] .price-card .amount { color: var(--cf-ink); }
html[data-theme="light"] .price-card .per { color: var(--cf-muted); }
html[data-theme="light"] .price-card.popular { border: 2px solid var(--cf-accent); box-shadow: 0 16px 40px -14px rgba(255,77,79,.35); }
html[data-theme="light"] .popular-ribbon { background: var(--cf-accent); color: #fff; box-shadow: 0 4px 12px rgba(255,77,79,.4); }
html[data-theme="light"] .check-list li { color: #3c4656; }
html[data-theme="light"] .check-list li::before { background: #ecfdf5; color: #059669; border-color: #a7f3d0; }
html[data-theme="light"] .trial {
  display: inline-block; font-size: .85rem; font-weight: 800; color: var(--cf-accent-d);
  background: var(--cf-accent-soft); border: 1px solid #ffd7d8; border-radius: 999px; padding: 6px 16px;
}
html[data-theme="light"] .term-table { padding: 6px; }
html[data-theme="light"] .term-table table { background: #fff; }
html[data-theme="light"] .term-table th { background: var(--cf-soft); color: var(--cf-muted); text-transform: none; letter-spacing: 0; }
html[data-theme="light"] .term-table td { color: var(--cf-ink); border-bottom: 1px solid var(--cf-line); }
html[data-theme="light"] .save-pill {
  display: inline-block; font-size: .78rem; font-weight: 800; color: #047857;
  background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: 999px; padding: 4px 12px;
}

/* ---------- FAQ (light accordion) ---------- */
html[data-theme="light"] .faq-item summary { color: var(--cf-ink); }
html[data-theme="light"] .faq-item summary::after { color: var(--cf-accent); }
html[data-theme="light"] .faq-item p { color: var(--cf-muted); }
html[data-theme="light"] .faq-item { transition: box-shadow .18s ease; }
html[data-theme="light"] .faq-item[open] { box-shadow: 0 10px 26px -10px rgba(15,28,46,.12); border-color: #d4d9e0; }

/* ---------- Final CTA (dark navy band, Chatfuel style) ---------- */
.cf-final {
  margin: 72px 0 20px; padding: 60px 28px; text-align: center; border-radius: 28px;
  background:
    radial-gradient(560px 240px at 50% -60px, rgba(255, 77, 79, .22), transparent 70%),
    linear-gradient(160deg, #16263f 0%, var(--cf-navy) 100%);
  color: #fff; position: relative; overflow: hidden;
  box-shadow: 0 24px 50px -20px rgba(14, 26, 46, .5);
}
.cf-final h2 { color: #fff; font-size: clamp(24px, 4.4vw, 38px); font-weight: 900; letter-spacing: -.015em; margin: 0 0 12px; }
.cf-final p { color: #b9c6d8; margin: 0 0 28px; font-size: 1.02rem; }
.cf-final .btn.primary { box-shadow: 0 10px 26px -8px rgba(255,77,79,.6); }
.cf-final .btn.ghost { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); color: #fff; box-shadow: none; }
.cf-final .btn.ghost:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.4); }

/* ---------- Footer ---------- */
html[data-theme="light"] .footer { color: var(--cf-muted); border-top: 1px solid var(--cf-line); margin-top: 40px; }

/* ---------- Phone mockup on light ---------- */
html[data-theme="light"] .phone {
  background: linear-gradient(160deg, #23232b, #101014);
  border-color: #d4d9e0;
  box-shadow: 0 30px 60px -20px rgba(15, 28, 46, .35), 0 0 60px -18px rgba(255, 77, 79, .25), inset 0 1px 0 rgba(255,255,255,.12);
}
html[data-theme="light"] .float-card {
  background: rgba(255, 255, 255, .96); border: 1px solid var(--cf-line); color: var(--cf-ink);
  box-shadow: 0 16px 36px -12px rgba(15, 28, 46, .25);
}
html[data-theme="light"] .feat-card p { color: var(--cf-muted); }
html[data-theme="light"] .feat-ico { background: var(--cf-accent-soft); border-color: #ffd7d8; }

/* Reveal keeps working */
.cf .reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.cf .reveal.in { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .cf-hero { padding: 44px 0 36px; }
  .cf-points { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; padding: 24px 18px; }
  .cf-point-lead { font-size: 1.4rem; }
  .cf-use-grid { grid-template-columns: repeat(2, 1fr); }
  html[data-theme="light"] .landing-sec { margin: 56px 0 8px; }
  .cf-final { padding: 44px 20px; border-radius: 22px; }
}
@media (max-width: 520px) {
  .cf-use-grid { grid-template-columns: 1fr; }
}

/* ================= THEME TOGGLE + DASHBOARD LIGHT MODE (2026-09-25) ================= */
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 999px; cursor: pointer;
  font-size: 1.05rem; line-height: 1; font-family: inherit;
  background: rgba(255, 255, 255, .07); color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .2);
  transition: transform .15s ease, background .15s ease;
  flex-shrink: 0;
}
.theme-toggle:hover { transform: scale(1.08); background: rgba(255, 255, 255, .14); }
html[data-theme="light"] .theme-toggle {
  background: var(--cf-soft); color: var(--cf-ink); border-color: var(--cf-line);
}
html[data-theme="light"] .theme-toggle:hover { background: #eef0f3; }

/* Dashboard components in light mode */
html[data-theme="light"] .who {
  color: var(--cf-muted); background: var(--cf-soft); border-color: var(--cf-line);
}
html[data-theme="light"] .shopswitch {
  background: var(--cf-soft); color: var(--cf-ink); border-color: var(--cf-line);
}
html[data-theme="light"] .shopswitch option { background: #fff; color: var(--cf-ink); }
html[data-theme="light"] table { background: #fff; }
html[data-theme="light"] th, html[data-theme="light"] td { border-bottom-color: var(--cf-line); }
html[data-theme="light"] th { background: var(--cf-soft); color: var(--cf-muted); }
html[data-theme="light"] tbody tr:hover { background: rgba(15, 28, 46, .03); }
html[data-theme="light"] .table-scroll { border-color: var(--cf-line); }
html[data-theme="light"] .stat {
  background: #fff; border-color: var(--cf-line);
  box-shadow: 0 4px 14px -6px rgba(15, 28, 46, .08);
}
html[data-theme="light"] .stat::before { background: var(--cf-accent); }
html[data-theme="light"] .stat .num { background: none; color: var(--cf-ink); -webkit-text-fill-color: currentcolor; }
html[data-theme="light"] .stat .lbl { color: var(--cf-muted); }
html[data-theme="light"] .badge.on, html[data-theme="light"] .badge.delivered {
  background: #ecfdf5; color: #047857; border-color: #a7f3d0;
}
html[data-theme="light"] .badge.off { background: var(--cf-soft); color: var(--cf-muted); border-color: var(--cf-line); }
html[data-theme="light"] .badge.pending { background: #fffbeb; color: #b45309; border-color: #fde68a; }
html[data-theme="light"] .badge.confirmed { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }
html[data-theme="light"] .badge.cancelled { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }
html[data-theme="light"] .filters a {
  background: #fff; border-color: var(--cf-line); color: var(--cf-ink); box-shadow: none;
}
html[data-theme="light"] .filters a:hover { border-color: #c9d0da; }
html[data-theme="light"] .filters a.active {
  background: var(--cf-ink); color: #fff; border-color: var(--cf-ink); box-shadow: none;
}
html[data-theme="light"] .kv dt { color: var(--cf-muted); }
html[data-theme="light"] .thumb { border-color: var(--cf-line); }
html[data-theme="light"] .ai-fieldset { border-color: var(--cf-line); }
html[data-theme="light"] .datelabel { color: var(--cf-muted); }
html[data-theme="light"] .datelabel input[type="date"] {
  background: #fff; color: var(--cf-ink); border-color: #d4d9e0; color-scheme: light;
}
html[data-theme="light"] select option { background: #fff; color: var(--cf-ink); }
html[data-theme="light"] input[type="file"] { color: var(--cf-muted); }
html[data-theme="light"] input[type="file"]::file-selector-button {
  background: var(--cf-soft); color: var(--cf-ink); border-color: var(--cf-line);
}
html[data-theme="light"] .searchform input { background: #fff; }

/* ================= PRICING (Chatfuel-style, theme-aware) ================= */
.pk-section {
  margin: 72px 0 8px; padding: 52px 28px; border-radius: 28px;
  background: linear-gradient(160deg, #101018 0%, #0a0a10 100%);
  border: 1px solid rgba(255, 255, 255, .09);
  text-align: center;
}
.pk-section .sec-title { color: #fff; }
.pk-section .sec-sub { color: #9aa3b2; max-width: 620px; margin: 0 auto 8px; }
.pk-section .sec-eyebrow { color: #ff8a8b; }
.pk-toggle {
  display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  margin: 14px 0 32px; flex-wrap: wrap; justify-content: center;
}
.pk-termbtn {
  border: none; background: transparent; color: #c6cdd8; font-family: inherit;
  font-weight: 800; font-size: .9rem; padding: 10px 20px; border-radius: 999px; cursor: pointer;
}
.pk-termbtn .pk-off { color: #ff8a8b; font-size: .78rem; margin-left: 4px; }
.pk-termbtn.active { background: #fff; color: #0b0b0f; }
.pk-termbtn.active .pk-off { color: #e0383b; }
.pk-promo { display: flex; align-items: center; justify-content: center; gap: 8px; margin: -18px 0 28px; }
.pk-promo input {
  font-family: inherit; font-weight: 700; font-size: .9rem; letter-spacing: .06em;
  padding: 10px 14px; border-radius: 12px; max-width: 240px; text-align: center;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); color: inherit;
}
.pk-promo input::placeholder { font-weight: 400; letter-spacing: 0; opacity: .6; }
.pk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 880px; margin: 0 auto; text-align: left; }
.pk-card {
  background: #15151d; border: 1px solid rgba(255, 255, 255, .1); border-radius: 24px;
  padding: 36px 28px 30px; position: relative; color: #fff;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
}
.pk-buy { margin-top: 10px; }
.pk-card.pk-ai { background: linear-gradient(165deg, #2d1c52 0%, #1a1030 70%); border-color: rgba(167, 139, 250, .35); }
.pk-banner {
  position: absolute; top: -1px; left: 28px; right: 28px; text-align: center;
  font-size: .72rem; font-weight: 900; letter-spacing: .08em;
  background: #fff; color: #0b0b0f; border-radius: 0 0 12px 12px; padding: 7px 10px;
}
.pk-card.pk-ai .pk-banner { background: #a78bfa; color: #1a1030; }
.pk-plan { font-size: 1.35rem; font-weight: 900; margin: 8px 0 4px; }
.pk-desc { color: #9aa3b2; font-size: .92rem; margin-bottom: 18px; }
.pk-amount { display: flex; align-items: center; gap: 10px; margin-bottom: 2px; min-height: 30px; }
.pk-was { color: #6b7280; font-size: 1.05rem; }
.pk-save { font-size: .78rem; font-weight: 900; color: #fff; background: #ff4d4f; border-radius: 999px; padding: 4px 12px; }
.pk-now { font-size: 2.4rem; font-weight: 900; letter-spacing: -.02em; line-height: 1.15; }
.pk-cur { font-size: 1rem; font-weight: 700; color: #9aa3b2; }
.pk-billed, .pk-permo { color: #9aa3b2; font-size: .88rem; }
.pk-permo { margin-bottom: 6px; }
.pk-ai-add { font-size: .82rem; color: #9aa3b2; opacity: .7; margin: 0 0 4px; }
.pk-feats { list-style: none; margin: 14px 0 18px; padding: 16px 0 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.pk-feats li { padding: 8px 0; font-size: .93rem; color: #d5dae2; }
.pk-trial {
  display: inline-block; font-size: .85rem; font-weight: 800; color: #ffd7d7;
  background: rgba(255, 77, 79, .12); border: 1px solid rgba(255, 77, 79, .4);
  border-radius: 999px; padding: 7px 16px; margin-bottom: 20px;
}
.pk-card.pk-ai .pk-trial { color: #d8c9ff; background: rgba(167, 139, 250, .12); border-color: rgba(167, 139, 250, .4); }
.pk-renew { color: #6b7280; font-size: .85rem; margin: 28px 0 0; }

/* Pricing — light theme */
html[data-theme="light"] .pk-section { background: linear-gradient(160deg, #f2f4f7, #e8edf3); border-color: var(--cf-line); }
html[data-theme="light"] .pk-section .sec-title { color: var(--cf-ink); }
html[data-theme="light"] .pk-section .sec-sub { color: var(--cf-muted); }
html[data-theme="light"] .pk-section .sec-eyebrow { color: var(--cf-accent-d); }
html[data-theme="light"] .pk-toggle { background: #fff; border-color: var(--cf-line); }
html[data-theme="light"] .pk-termbtn { color: var(--cf-muted); }
html[data-theme="light"] .pk-termbtn .pk-off { color: var(--cf-accent-d); }
html[data-theme="light"] .pk-termbtn.active { background: var(--cf-ink); color: #fff; }
html[data-theme="light"] .pk-termbtn.active .pk-off { color: #ffb3b3; }
html[data-theme="light"] .pk-card { background: #fff; border-color: var(--cf-line); color: var(--cf-ink); box-shadow: 0 16px 40px -18px rgba(15, 28, 46, .18); }
html[data-theme="light"] .pk-card.pk-ai { background: linear-gradient(165deg, #f4efff, #e9e1ff); border-color: #c9b8ff; }
html[data-theme="light"] .pk-banner { background: var(--cf-ink); color: #fff; }
html[data-theme="light"] .pk-card.pk-ai .pk-banner { background: #7c5cf0; color: #fff; }
html[data-theme="light"] .pk-desc, html[data-theme="light"] .pk-billed, html[data-theme="light"] .pk-permo { color: var(--cf-muted); }
html[data-theme="light"] .pk-ai-add { color: var(--cf-muted); }
html[data-theme="light"] .pk-was { color: #9aa3b2; }
html[data-theme="light"] .pk-cur { color: var(--cf-muted); }
html[data-theme="light"] .pk-feats { border-top-color: var(--cf-line); }
html[data-theme="light"] .pk-feats li { color: #3c4656; }
html[data-theme="light"] .pk-trial { color: var(--cf-accent-d); background: var(--cf-accent-soft); border-color: #ffd7d8; }
html[data-theme="light"] .pk-card.pk-ai .pk-trial { color: #5b3df0; background: #efeaff; border-color: #c9b8ff; }
html[data-theme="light"] .pk-renew { color: var(--cf-muted); }
@media (max-width: 720px) {
  .pk-grid { grid-template-columns: 1fr; }
  .pk-section { padding: 36px 16px; border-radius: 22px; }
}

/* ============ Public AI chat widget ============ */
.sitechat { position: fixed; right: 18px; bottom: 18px; z-index: 200; }
.sitechat-fab {
  width: 56px; height: 56px; border-radius: 50%; border: none; cursor: pointer;
  font-size: 1.6rem; color: #fff; background: linear-gradient(135deg, #7c5cf0, #4d7cfe);
  box-shadow: 0 10px 28px -8px rgba(124, 92, 240, .6);
}
.sitechat-panel {
  position: absolute; right: 0; bottom: 68px; width: min(340px, calc(100vw - 36px));
  height: 440px; max-height: 70vh; display: flex; flex-direction: column;
  background: #141a26; border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px -12px rgba(0, 0, 0, .55);
}
.sitechat-panel[hidden] { display: none; }
.sitechat-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, #7c5cf0, #4d7cfe);
}
.sitechat-x { background: none; border: none; color: #fff; font-size: 1rem; cursor: pointer; }
.sitechat-msgs { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.sitechat-msg {
  max-width: 85%; padding: 9px 12px; border-radius: 14px; font-size: .9rem;
  line-height: 1.45; white-space: pre-wrap; word-break: break-word;
}
.sitechat-msg.bot { align-self: flex-start; background: #232c3f; color: #e8ecf3; border-bottom-left-radius: 4px; }
.sitechat-msg.me { align-self: flex-end; background: #4d7cfe; color: #fff; border-bottom-right-radius: 4px; }
.sitechat-msg a { color: #7fb3ff; text-decoration: underline; word-break: break-all; }
html[data-theme="light"] .sitechat-msg a { color: #1a5fd0; }
.sitechat-msg.typing { opacity: .6; }
.sitechat-input { display: flex; gap: 8px; padding: 10px; border-top: 1px solid rgba(255, 255, 255, .1); }
.sitechat-input input {
  flex: 1; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px;
  background: #0f1520; color: #e8ecf3; padding: 10px 14px; font-size: .9rem; outline: none;
}
.sitechat-input button {
  width: 42px; height: 42px; border-radius: 50%; border: none; cursor: pointer;
  background: #7c5cf0; color: #fff; font-size: 1.1rem;
}
/* light theme */
html[data-theme="light"] .sitechat-panel { background: #fff; border-color: var(--cf-line); }
html[data-theme="light"] .sitechat-msg.bot { background: #f0f2f7; color: #1c2330; }
html[data-theme="light"] .sitechat-input { border-top-color: var(--cf-line); }
html[data-theme="light"] .sitechat-input input { background: #f5f7fa; border-color: var(--cf-line); color: #1c2330; }
