/* SuperAgent Social — site công khai */

:root {
  --bg: #141311;
  --bg-2: #100f0d;
  --panel: #1b1a17;
  --panel-2: #232119;
  --line: #302d24;
  --line-soft: #262319;
  --ink: #f5f5f6;
  --ink-2: #c9c9d1;
  --muted: #94949e;
  --muted-2: #6f6f79;
  --orange: #ff7a1a;
  --orange-2: #ffa04d;
  --pink: #c8f751;
  --purple: #2dd4bf;
  --teal: #2dd4bf;
  --green: #34d399;
  --radius: 16px;
  --max: 1180px;
  --ease: cubic-bezier(.2, .7, .3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -.03em; line-height: 1.12; font-weight: 680; }
p { margin: 0; }

.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- nút ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  height: 44px; padding: 0 20px; border-radius: 999px;
  font-size: 14px; font-weight: 650; white-space: nowrap;
  transition: transform .12s var(--ease), background .12s, border-color .12s;
}
.btn-primary { background: var(--orange); color: #17171a; box-shadow: 0 10px 30px rgba(255, 122, 26, .22); }
.btn-primary:hover { background: var(--orange-2); transform: translateY(-1px); }
.btn-ghost { border: 1px solid #3a3a44; color: var(--ink); background: rgba(255, 255, 255, .02); }
.btn-ghost:hover { border-color: #55555f; background: rgba(255, 255, 255, .05); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 13px; }
.btn-block { width: 100%; }

/* ---------- nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(24, 24, 27, .82);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(46, 46, 54, .7);
}
.nav-in { display: flex; align-items: center; gap: 26px; height: 64px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 15px; letter-spacing: -.02em; }
.brand img { width: 30px; height: 30px; border-radius: 9px; background: #0f0f12; border: 1px solid #34343c; object-fit: cover; }
.brand span:not(.brand-word):not(.brand-mark) { color: var(--muted); font-weight: 500; }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-links > * {
  display: inline-flex; align-items: center; gap: 5px;
  height: 34px; padding: 0 12px; border-radius: 9px;
  font-size: 13.5px; color: #c8c8d0;
}
.nav-links > *:hover { background: #232329; color: #fff; }
.nav-links .chev { width: 12px; height: 12px; opacity: .6; transition: transform .15s; }
.nav-links [aria-expanded="true"] .chev { transform: rotate(180deg); }

.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-cta .btn { height: 38px; }

.burger { display: none; width: 38px; height: 38px; border-radius: 9px; border: 1px solid var(--line); align-items: center; justify-content: center; }

/* mega menu */
.mega {
  position: absolute; left: 50%; transform: translateX(-50%) translateY(6px);
  top: 62px; width: min(880px, calc(100vw - 48px));
  background: #1b1b21; border: 1px solid #34343d; border-radius: 16px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .55); padding: 18px;
  display: none; opacity: 0; transition: opacity .14s var(--ease), transform .14s var(--ease);
}
.mega.open { display: grid; opacity: 1; transform: translateX(-50%) translateY(0); }
.mega.cols-3 { grid-template-columns: 1.1fr 1fr 1fr; gap: 20px; }
.mega.cols-2 { grid-template-columns: 1fr 1fr; gap: 20px; width: min(640px, calc(100vw - 48px)); }
.mega h5 {
  margin: 0 0 8px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted-2); font-weight: 600;
}
.mega a, .mega .mrow {
  display: flex; gap: 10px; padding: 9px 10px; border-radius: 10px; align-items: flex-start;
}
.mega a:hover { background: #24242b; }
.mega .mi {
  width: 28px; height: 28px; border-radius: 8px; flex: 0 0 auto;
  display: grid; place-items: center; background: #24242b; border: 1px solid #32323b; color: #d6d6de;
}
.mega .mi .ic { width: 15px; height: 15px; }
.mega b { display: block; font-size: 13px; font-weight: 600; color: #ededf2; }
.mega small { display: block; font-size: 11.5px; color: var(--muted); line-height: 1.45; margin-top: 1px; }

/* ---------- hero ---------- */

.hero { position: relative; overflow: hidden; padding: 78px 0 70px; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 720px;
  background:
    radial-gradient(40% 45% at 18% 30%, rgba(45, 212, 191, .18), transparent 70%),
    radial-gradient(45% 50% at 78% 10%, rgba(255, 122, 26, .18), transparent 70%),
    radial-gradient(35% 40% at 60% 70%, rgba(200, 247, 81, .08), transparent 70%);
  filter: blur(10px); pointer-events: none;
}
.hero-in { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  height: 28px; padding: 0 12px; border-radius: 999px;
  border: 1px solid rgba(255, 122, 26, .35); background: rgba(255, 122, 26, .08);
  font-size: 12px; color: #ffcda6; margin-bottom: 20px;
}
.eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }

.hero h1 { font-size: clamp(38px, 4.6vw, 60px); letter-spacing: -.035em; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero .lede { margin: 20px 0 26px; font-size: 17px; line-height: 1.6; color: #a9a9b3; max-width: 520px; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-note { margin-top: 14px; font-size: 12.5px; color: var(--muted-2); }

.hero-art { position: relative; display: grid; place-items: center; }
.hero-art img { height: clamp(320px, 34vw, 430px); filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .55)); }
.hero-art::before {
  content: ""; position: absolute; inset: 12% 6% 8%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 122, 26, .2), rgba(45, 212, 191, .12) 45%, transparent 70%);
  filter: blur(30px);
}
.hero-art img { position: relative; animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- dải kênh ---------- */

.strip { border-block: 1px solid var(--line-soft); background: #16161a; }
.strip-in { display: flex; align-items: center; gap: 22px; padding: 18px 0; flex-wrap: wrap; }
.strip p { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); white-space: nowrap; }
.strip ul { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.strip li {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px;
  border-radius: 999px; border: 1px solid #2f2f38; font-size: 11.5px; color: #b9b9c2;
}
.strip li i { width: 6px; height: 6px; border-radius: 50%; }

/* ---------- section ---------- */

.section { padding: 96px 0; }
.section.tight { padding: 64px 0; }
.section-head { max-width: 620px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--orange-2); font-weight: 600; }
.section h2 { margin-top: 10px; font-size: clamp(28px, 3vw, 38px); letter-spacing: -.03em; }
.section .sub { margin-top: 12px; font-size: 15.5px; color: #a1a1ab; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

.card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, #1e1e24, #1a1a1f);
  padding: 22px;
}
.card .ico {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: #24242b; border: 1px solid #32323b; margin-bottom: 14px; color: #e6e6ec;
}
.card .ico .ic { width: 18px; height: 18px; }
.card h3 { font-size: 16px; letter-spacing: -.02em; }
.card p { margin-top: 7px; font-size: 13.5px; color: #9c9ca6; line-height: 1.6; }

/* tour sản phẩm */

.tour { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 40px 0; }
.tour:nth-child(even) .tour-copy { order: 2; }
.tour h3 { font-size: 26px; letter-spacing: -.03em; }
.tour p { margin-top: 12px; font-size: 15px; color: #a5a5af; }
.tour ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.tour li { display: flex; gap: 9px; font-size: 13.5px; color: #c9c9d1; }
.tour li .ic { width: 16px; height: 16px; color: var(--orange); flex: 0 0 auto; margin-top: 2px; }
.shot {
  border-radius: 14px; overflow: hidden; border: 1px solid #34343d;
  box-shadow: 0 40px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .03) inset;
  background: #101012;
}
.shot img { width: 100%; display: block; }

/* các bước */

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { position: relative; padding: 24px 22px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #1b1b21; }
.step::before {
  counter-increment: s; content: counter(s);
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px;
  background: rgba(255, 122, 26, .12); color: var(--orange-2); font-size: 12px; font-weight: 700;
  margin-bottom: 12px;
}
.step h3 { font-size: 15px; }
.step p { margin-top: 6px; font-size: 13px; color: #9c9ca6; }

/* lưới kênh */

.ch-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.ch-tile {
  display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px;
  border: 1px solid #2f2f38; border-radius: 10px; background: #1b1b21;
  font-size: 12px; color: #c9c9d1;
}
.ch-tile i { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; }

/* bảng giá rút gọn */

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan {
  position: relative;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  background: #1b1b21; display: flex; flex-direction: column;
}
.plan.hot { border-color: rgba(255, 122, 26, .5); background: linear-gradient(180deg, rgba(255, 122, 26, .07), #1b1b21 60%); }
.plan .tag {
  position: absolute; top: 18px; right: 18px;
  font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px; background: rgba(255, 122, 26, .14); color: #ffcda6;
}
.plan h3 { font-size: 15px; }
.plan .price { margin: 10px 0 2px; font-size: 36px; font-weight: 700; letter-spacing: -.03em; }
.plan .price small { font-size: 13px; font-weight: 500; color: var(--muted); margin-left: 4px; }
.plan .desc { font-size: 12.5px; color: var(--muted); margin-bottom: 16px; }
.plan ul { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 9px; }
.plan li { display: flex; gap: 8px; font-size: 12.5px; color: #c4c4cc; }
.plan li .ic { width: 14px; height: 14px; color: var(--green); flex: 0 0 auto; margin-top: 3px; }
.plan .btn { margin-top: auto; }

/* so sánh */

.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vs-col { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #1b1b21; }
.vs-col.ours { border-color: rgba(255, 122, 26, .4); background: linear-gradient(180deg, rgba(255, 122, 26, .06), #1b1b21 55%); }
.vs-col h4 { font-size: 14px; margin-bottom: 12px; }
.vs-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.vs-col li { display: flex; gap: 8px; font-size: 13px; color: #c4c4cc; }
.vs-col li .ic { width: 15px; height: 15px; flex: 0 0 auto; margin-top: 3px; }
.vs-col.ours li .ic { color: var(--green); }
.vs-col.theirs li .ic { color: #7d7d87; }

/* FAQ */

.faq { display: grid; gap: 10px; max-width: 820px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--line); border-radius: 12px; background: #1b1b21; padding: 16px 18px;
}
.faq summary {
  cursor: pointer; list-style: none; font-size: 14.5px; font-weight: 600;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 18px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin-top: 10px; font-size: 13.5px; color: #a1a1ab; }

/* CTA cuối */

.cta {
  position: relative; overflow: hidden; border: 1px solid #34343d; border-radius: 22px;
  background:
    radial-gradient(60% 90% at 15% 10%, rgba(255, 122, 26, .18), transparent 60%),
    radial-gradient(50% 80% at 85% 90%, rgba(45, 212, 191, .16), transparent 60%),
    #1b1b21;
  padding: 52px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: center;
}
.cta h2 { font-size: clamp(26px, 3vw, 36px); }
.cta p { margin: 12px 0 22px; color: #b0b0ba; font-size: 15px; max-width: 460px; }
.cta img { height: 240px; justify-self: center; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .5)); }

/* footer */

.footer { border-top: 1px solid var(--line-soft); padding: 56px 0 28px; background: #141417; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px; }
.foot-brand p { margin-top: 12px; font-size: 12.5px; color: var(--muted); max-width: 240px; line-height: 1.6; }
.foot-col h5 { margin: 0 0 12px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.foot-col a { display: block; font-size: 12.5px; color: #b0b0ba; padding: 4px 0; }
.foot-col a:hover { color: #fff; }
.foot-bottom {
  margin-top: 40px; padding-top: 18px; border-top: 1px solid #24242b;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 11.5px; color: var(--muted-2);
}
.foot-bottom .lang { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.foot-bottom select {
  background: #1d1d22; color: #c9c9d1; border: 1px solid #33333c; border-radius: 8px;
  padding: 5px 8px; font: inherit; font-size: 11.5px;
}

/* ---------- trang phụ ---------- */

.page-hero { padding: 72px 0 40px; }
.page-hero h1 { font-size: clamp(32px, 4vw, 48px); letter-spacing: -.035em; }
.page-hero p { margin-top: 14px; font-size: 16px; color: #a5a5af; max-width: 620px; }

.table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #1b1b21; }
table.cmp { width: 100%; border-collapse: collapse; font-size: 13px; }
table.cmp th, table.cmp td { padding: 12px 16px; text-align: left; border-bottom: 1px solid #26262d; }
table.cmp th { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; background: #191920; }
table.cmp td:not(:first-child), table.cmp th:not(:first-child) { text-align: center; }
table.cmp tr:last-child td { border-bottom: 0; }
table.cmp .yes { color: var(--green); }
table.cmp .no { color: #5f5f69; }

.article { max-width: 720px; margin: 0 auto; }
.article h1 { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -.035em; }
.article .meta { margin: 14px 0 28px; font-size: 12.5px; color: var(--muted); display: flex; gap: 14px; }
.article h2 { margin: 34px 0 10px; font-size: 22px; letter-spacing: -.025em; }
.article h3 { margin: 24px 0 8px; font-size: 17px; }
.article p { margin: 12px 0; font-size: 15.5px; color: #c2c2ca; line-height: 1.75; }
.article ul, .article ol { margin: 12px 0; padding-left: 22px; color: #c2c2ca; font-size: 15px; line-height: 1.75; }
.article li { margin: 6px 0; }
.article blockquote {
  margin: 20px 0; padding: 14px 18px; border-left: 2px solid var(--orange);
  background: #1c1c22; border-radius: 0 10px 10px 0; color: #d2d2da; font-size: 15px;
}
.article img { border-radius: 12px; border: 1px solid #34343d; margin: 20px 0; }
.article code { background: #23232a; padding: 2px 6px; border-radius: 5px; font-size: 13px; }

.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #1b1b21; transition: transform .14s var(--ease), border-color .14s; }
.post-card:hover { transform: translateY(-2px); border-color: #43434e; }
.post-cover {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  background: linear-gradient(150deg, var(--c1, #ff7a1a), var(--c2, #f0a53c));
}
.post-cover::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 18% 0%, rgba(255, 255, 255, .28), transparent 55%),
    radial-gradient(90% 70% at 100% 100%, rgba(0, 0, 0, .18), transparent 60%),
    repeating-linear-gradient(135deg, rgba(0, 0, 0, .05) 0 2px, transparent 2px 10px);
}
.post-body { padding: 16px 18px 18px; }
.post-body .tag { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-2); font-weight: 600; }
.post-body h3 { margin-top: 6px; font-size: 15px; letter-spacing: -.02em; }
.post-body p { margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.post-body time { display: block; margin-top: 12px; font-size: 11px; color: var(--muted-2); }

/* ---------- responsive ---------- */

@media (max-width: 1040px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art img { height: 300px; }
  .nav-links { display: none; }
  .burger { display: inline-flex; margin-left: auto; }
  .nav-cta { margin-left: 8px; }
  .tour { grid-template-columns: 1fr; gap: 24px; }
  .tour:nth-child(even) .tour-copy { order: 0; }
  .grid-3, .steps, .plans, .vs, .posts { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .ch-grid { grid-template-columns: repeat(3, 1fr); }
  .cta { grid-template-columns: 1fr; padding: 32px; }
  .cta img { height: 200px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .ch-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 44px 0 40px; }
  .hero .lede { font-size: 15.5px; }
}

/* ================= FEATURE PAGES ================= */

.lang {
  display: inline-flex; align-items: center; height: 30px; padding: 0 10px;
  border-radius: 999px; border: 1px solid #3a3a44; font-size: 11.5px; color: #c8c8d0;
}
.lang:hover { color: #fff; border-color: #55555f; }

.feature-hero { padding: 76px 0 44px; position: relative; }
.feature-hero h1 { font-size: clamp(34px, 4.4vw, 56px); letter-spacing: -.038em; max-width: 940px; }
.feature-hero .lede { margin-top: 18px; max-width: 640px; color: #a9a9b3; font-size: 17px; line-height: 1.6; }
.feature-hero .hero-cta { margin-top: 26px; display: flex; gap: 10px; flex-wrap: wrap; }

.band { padding: 84px 0; position: relative; overflow: hidden; border-block: 1px solid #26262d; }
.band-in { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.band h2 { font-size: clamp(26px, 2.9vw, 38px); letter-spacing: -.032em; }
.band p { margin-top: 12px; color: #b6b6c0; font-size: 15.5px; max-width: 480px; }
.band .btn { margin-top: 18px; }
.band-visual { min-height: 240px; display: grid; place-items: center; }
.band-mascot { height: clamp(220px, 24vw, 320px); filter: drop-shadow(0 24px 50px rgba(0, 0, 0, .5)); }

.grad-a { background: radial-gradient(80% 130% at 12% 0%, rgba(45, 212, 191, .18), transparent 62%), #151518; }
.grad-b { background: radial-gradient(80% 130% at 88% 0%, rgba(255, 122, 26, .16), transparent 62%), #151518; }
.grad-c { background: linear-gradient(135deg, #b4530a, #e07b1f 55%, #f0a53c); border-block-color: transparent; }
.grad-c h2, .grad-c p { color: #141416; }
.grad-c p { opacity: .82; }

/* orbit */
.orbit { position: relative; width: 380px; height: 380px; --r1: 112px; --r2: 176px; }
.orbit-ring { position: absolute; border: 1px solid rgba(255, 255, 255, .1); border-radius: 50%; }
.orbit-ring.r1 { inset: 46px; }
.orbit-ring.r2 { inset: 0; }
.orbit-core {
  position: absolute; left: 50%; top: 50%; width: 104px; height: 104px;
  transform: translate(-50%, -50%); object-fit: contain;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, .55));
}
.orb {
  position: absolute; left: 50%; top: 50%; width: 34px; height: 34px;
  border-radius: 10px; display: grid; place-items: center;
  font-size: 10.5px; font-weight: 700; letter-spacing: .02em;
  color: var(--c); background: #1b1b21; border: 1px solid var(--c);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .45);
  transform: translate(-50%, -50%) rotate(var(--a)) translateY(calc(-1 * var(--r1))) rotate(calc(-1 * var(--a)));
}
.orb.o2 { --r1: var(--r2); }

/* mock: calendar */
.mock-cal { width: 100%; max-width: 460px; border: 1px solid #34343d; border-radius: 12px; background: #1b1b21; padding: 12px; box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.mc-head { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; font-size: 9.5px; color: #8b8b95; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; }
.mc-row {
  position: relative; height: 132px;
  background: repeating-linear-gradient(#232330 0 1px, transparent 1px 32px);
  border-radius: 8px;
}
.mc-row i {
  position: absolute; font-style: normal; font-size: 10px; color: #e7e7ec;
  background: #26262f; border-left: 2px solid var(--c); border-radius: 6px; padding: 3px 7px;
}

/* mock: code */
.mock-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; line-height: 1.75;
  background: #101014; border: 1px solid #34343d; border-radius: 12px; padding: 16px 18px;
  color: #c9c9d1; white-space: pre-line; max-width: 460px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .45);
}
.mock-code span { color: #ff9a4d; }

/* related cards */
.link-card { display: block; transition: border-color .12s, transform .12s; }
.link-card:hover { border-color: #43434e; transform: translateY(-2px); }
.link-card .go { display: inline-flex; gap: 6px; align-items: center; margin-top: 12px; font-size: 12px; color: #ffa04d; }
.link-card .go .ic { width: 13px; height: 13px; }

@media (max-width: 1040px) {
  .band-in { grid-template-columns: 1fr; gap: 28px; }
  .band { padding: 56px 0; }
  .orbit { width: 310px; height: 310px; --r1: 92px; --r2: 144px; }
}

/* ================= MEGA MENU 3 TẦNG ================= */

.mega-wide {
  width: min(1080px, calc(100vw - 40px));
  padding: 14px 16px 16px;
  display: none; grid-template-columns: 1fr;
  gap: 0;
}
.mega-wide.open { display: grid; }

.mega-label {
  margin: 10px 0 8px; font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase;
  color: #6f6f79; font-weight: 600;
}
.mega-label:first-child { margin-top: 2px; }

.mega-row { display: grid; gap: 10px; }

/* hàng 1: 3 ngành */
.mega-market { grid-template-columns: repeat(3, 1fr); }
.m-card {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 14px; border-radius: 14px; min-height: 92px;
  border: 1px solid #2c2c36;
}
.m-card:hover { border-color: #45454f; }
.m-social { background: radial-gradient(120% 140% at 0% 0%, #3a2364, #241a3f 70%); }
.m-seo { background: radial-gradient(120% 140% at 0% 0%, #5a1533, #33101f 70%); }
.m-email { background: radial-gradient(120% 140% at 0% 0%, #10393a, #0e2426 70%); }
.mi {
  width: 30px; height: 30px; border-radius: 9px; flex: 0 0 auto;
  display: grid; place-items: center; background: rgba(255, 255, 255, .08);
  color: #fff; border: 1px solid rgba(255, 255, 255, .12);
}
.mi .ic { width: 15px; height: 15px; }
.mi-lg { width: 38px; height: 38px; border-radius: 11px; background: var(--orange); color: #17171a; border: 0; }
.m-seo .mi-lg { background: #ff2d6f; }
.m-email .mi-lg { background: #2dd4bf; }
.m-txt { display: grid; gap: 2px; min-width: 0; }
.m-card b { font-size: 15px; font-weight: 680; letter-spacing: -.02em; color: #fff; display: flex; align-items: center; gap: 6px; }
.m-card small { font-size: 11.5px; color: rgba(255, 255, 255, .62); line-height: 1.4; }
.m-mascot {
  position: absolute; right: -6px; bottom: -18px; height: 92px; opacity: .95;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .45));
}
.soon {
  font-style: normal; font-size: 8.5px; font-weight: 700; letter-spacing: .08em;
  padding: 2px 6px; border-radius: 999px; background: rgba(255, 255, 255, .12);
  color: #e7e7ec;
}
.soon.new { background: rgba(45, 212, 191, .18); color: #7ff0e2; }

/* hàng 2: 5 công cụ */
.mega-tools { grid-template-columns: repeat(5, 1fr); }
.m-tool {
  display: flex; flex-direction: column; gap: 6px;
  padding: 12px; border-radius: 13px; min-height: 148px;
  background: #1b1b21; border: 1px solid #2c2c36;
}
.m-tool:hover { border-color: #45454f; background: #1f1f26; }
.m-tool b { font-size: 13px; font-weight: 650; color: #f0f0f4; letter-spacing: -.01em; }
.m-tool small { font-size: 11px; color: #8f8f99; line-height: 1.4; }
.m-tool .mi { background: #24242b; }
.m-mock { margin-top: auto; height: 58px; display: flex; align-items: flex-end; gap: 6px; }
.m-mock .bar { height: 7px; }
.m-mock .day { width: 26px; height: 26px; border-radius: 6px; }
.m-mock .msg { height: 18px; }
.m-mock .node { width: 14px; height: 14px; }
.m-mock .logo { width: 28px; height: 28px; }
.m-mock .bar { display: block; height: 7px; border-radius: 99px; background: #4a4a56; }
.m-mock .bar.w80 { width: 112px; }
.m-mock .bar.w55 { width: 72px; }
.t-campaigns .m-mock { flex-direction: column; align-items: stretch; justify-content: flex-end; gap: 5px; }
.t-publish .m-mock { align-items: center; }
.m-mock .day { width: 26px; height: 26px; border-radius: 5px; background: #26262e; border: 1px solid #33333c; }
.m-mock .day.on { background: rgba(255, 122, 26, .3); border-color: rgba(255, 122, 26, .55); }
.m-mock .msg { width: 112px; height: 18px; border-radius: 5px; background: rgba(52, 211, 153, .18); border: 1px solid rgba(52, 211, 153, .35); }
.t-brand .m-mock { align-items: center; gap: 6px; }
.m-mock .logo { width: 28px; height: 28px; border-radius: 7px; background: #ff7a1a; }
.m-mock .dot { width: 10px; height: 10px; border-radius: 50%; }
.d1 { background: #c8f751; } .d2 { background: #2dd4bf; } .d3 { background: #f0a53c; }
.t-workflows .m-mock { align-items: center; }
.m-mock .node { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #45454f; }
.m-mock .node.on { border-color: #ff7a1a; background: rgba(255, 122, 26, .35); }
.m-mock .link { flex: 1; height: 1px; background: #3a3a44; }

/* hàng 3: and more */
.mega-more { grid-template-columns: 1.15fr .85fr 1.1fr; }
.m-more {
  display: flex; flex-direction: column; gap: 5px; padding: 12px; height: 100%;
  border-radius: 13px; background: #1b1b21; border: 1px solid #2c2c36; min-height: 152px;
}
.m-more:hover { border-color: #45454f; }
.m-more b { font-size: 13px; font-weight: 650; color: #f0f0f4; display: flex; gap: 6px; align-items: center; }
.m-more small { font-size: 11px; color: #8f8f99; line-height: 1.4; }
.m-thumb {
  margin-top: auto; height: 62px; border-radius: 8px; overflow: hidden;
  background: linear-gradient(135deg, #ff7a1a, #f0a53c 55%, #c8f751);
  position: relative;
}
.m-thumb i {
  position: absolute; left: 8px; top: 8px; width: 34%; height: 6px; border-radius: 3px;
  background: rgba(255, 255, 255, .7);
}
.m-phone {
  margin: 6px auto 0; width: 54px; height: 62px; border-radius: 10px;
  border: 1px solid #3a3a44; background: #141418; padding: 7px 6px;
  display: grid; gap: 4px; align-content: start;
}
.m-phone i { height: 6px; border-radius: 3px; background: #2b2b34; }
.m-phone i:first-child { background: #c8f751; }

.m-stack { display: grid; gap: 8px; }
.m-wide {
  display: grid; grid-template-columns: 30px 1fr 150px; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 12px; background: #1b1b21; border: 1px solid #2c2c36;
}
.m-wide:hover { border-color: #45454f; }
.m-wide b { font-size: 12.5px; font-weight: 650; color: #f0f0f4; display: flex; gap: 6px; align-items: center; }
.m-wide small { font-size: 10.5px; color: #8f8f99; line-height: 1.35; display: block; }
.m-wide code {
  font-family: ui-monospace, Menlo, monospace; font-size: 8.5px; line-height: 1.6;
  background: #101014; border: 1px solid #2a2a33; border-radius: 7px; padding: 5px 7px;
  color: #9d9daa; white-space: pre-line;
}
.m-wide code span { color: #ff9a4d; }
.m-wide code em { color: #34d399; font-style: normal; }

@media (max-width: 1180px) {
  .mega-market, .mega-tools, .mega-more { grid-template-columns: 1fr 1fr; }
  .m-stack { grid-column: 1 / -1; }
  .m-mascot { height: 74px; }
}

/* ================= NAV V2 (theo mẫu Ocoya) ================= */

.nav { height: 88px; background: #0c0c0f; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.nav-in { height: 88px; gap: 40px; }

.brand { gap: 12px; }
.brand-mark { width: 34px; height: 34px; border-radius: 9px; border: 1px solid #2b2b33; background: #0f0f12; object-fit: cover; }
.brand .brand-word { color: #fff; }
.brand-word { font-size: 26px; font-weight: 750; letter-spacing: -.03em; color: #fff; }
.brand-word sup { font-size: 9px; top: -10px; left: 1px; color: #c9c9d1; }

.nav-links { gap: 34px; margin-left: 12px; }
.nav-links > * {
  height: 88px; padding: 0; border-radius: 0; font-size: 17px; font-weight: 500; color: #e8e8ec;
}
.nav-links > *:hover { background: none; color: #fff; }
.nav-links .chev { width: 13px; height: 13px; opacity: .75; margin-left: 2px; }

.nav-cta { gap: 20px; }
.login { font-size: 16.5px; color: #e2e2e8; padding: 0 2px; white-space: nowrap; }
.login:hover { color: #fff; }
.btn-try {
  display: inline-flex; align-items: center; justify-content: center; white-space: nowrap;
  height: 48px; padding: 0 26px; border-radius: 999px;
  background: #f5f5f6; color: #0c0c0f; font-size: 16.5px; font-weight: 600;
}
.btn-try:hover { background: #fff; }

.lang-pill {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 14px; border-radius: 999px;
  border: 1px solid #2b2b33; background: #16161b; font-size: 15px; color: #e8e8ec;
}
.lang-pill:hover { border-color: #3d3d47; color: #fff; }
.lang-pill .flag { font-size: 18px; line-height: 1; }
.lang-pill .chev { width: 13px; height: 13px; opacity: .7; }

.theme-btn {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  color: #cfcfd6;
}
.theme-btn:hover { background: #1b1b21; color: #fff; }
.theme-btn .ic { width: 19px; height: 19px; }

/* hai dropdown mới */
.mega-chan { width: min(560px, calc(100vw - 40px)); padding: 16px; }
.chan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px 12px; }
.chan-row { display: flex; align-items: center; gap: 8px; padding: 7px 6px; border-radius: 7px; font-size: 12.5px; color: #c7c7cf; }
.chan-row:hover { background: #232329; color: #fff; }
.chan-row i { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; }
.mega-foot { display: inline-flex; align-items: center; gap: 6px; margin: 12px 4px 0; font-size: 12px; color: #ffa04d; }
.mega-foot .ic { width: 13px; height: 13px; }

.mega-res { width: min(620px, calc(100vw - 40px)); padding: 14px; }
.res-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.res-item { display: flex; gap: 10px; padding: 9px 10px; border-radius: 9px; }
.res-item:hover { background: #232329; }
.res-item b { display: block; font-size: 13px; color: #ededf2; }
.res-item small { display: block; font-size: 11px; color: #8f8f99; }

.mega { top: 84px; }
.mega.open { top: 84px; }

@media (max-width: 1180px) {
  .nav-links { gap: 20px; }
  .nav-links > * { font-size: 15px; }
  .nav-cta { gap: 12px; }
}

/* chế độ sáng (tối thiểu) */
html[data-theme="light"] body { background: #f7f7f8; color: #141418; }
html[data-theme="light"] .nav { background: #fff; border-bottom-color: #e6e6ea; }
html[data-theme="light"] .brand-word,
html[data-theme="light"] .nav-links > *,
html[data-theme="light"] .login,
html[data-theme="light"] .lang-pill { color: #1b1b20; }
html[data-theme="light"] .lang-pill { background: #f2f2f4; border-color: #dcdce1; }
html[data-theme="light"] .btn-try { background: #141418; color: #fff; }
html[data-theme="light"] .mega { background: #fff; border-color: #e2e2e7; }
html[data-theme="light"] .card,
html[data-theme="light"] .plan,
html[data-theme="light"] .ch-tile,
html[data-theme="light"] .step,
html[data-theme="light"] .faq details,
html[data-theme="light"] .table-wrap { background: #fff; border-color: #e4e4e9; }
html[data-theme="light"] .card h3,
html[data-theme="light"] .section h2,
html[data-theme="light"] .page-hero h1,
html[data-theme="light"] .feature-hero h1 { color: #111114; }
html[data-theme="light"] .footer { background: #f1f1f3; border-top-color: #e2e2e7; }

/* ================= PROMO BAR ================= */
.promo { background: #0a0a0c; border-bottom: 1px solid rgba(255, 255, 255, .06); overflow: hidden; }
.promo-track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.promo-group { display: flex; align-items: center; gap: 26px; padding: 11px 13px; }
.promo-timer {
  display: inline-flex; align-items: center; gap: 6px;
  background: #f5f5f6; color: #0c0c0f; border-radius: 999px; padding: 4px 12px;
  font-size: 13px; font-weight: 700; white-space: nowrap;
}
.promo-timer .ic { width: 13px; height: 13px; stroke-width: 2; }
.promo-item {
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: #fff; font-weight: 700; white-space: nowrap;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* brand glyph */
.brand-mark {
  width: 32px; height: 32px; display: grid; place-items: center;
  color: #fff; background: none; border: 0; border-radius: 0;
}
.brand-mark svg { width: 31px; height: 31px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.4)); }

/* nav: chỉ đổi sang hamburger dưới 880px */
@media (min-width: 881px) {
  .nav-links { display: flex !important; }
  .burger { display: none !important; }
}
@media (max-width: 880px) {
  .nav-links { display: none; }
  .burger { display: inline-flex; margin-left: auto; }
  .nav-cta { gap: 10px; }
  .btn-try { height: 40px; padding: 0 18px; font-size: 14.5px; }
  .login, .lang-pill { display: none; }
}
@media (min-width: 881px) and (max-width: 1180px) {
  .nav-links { gap: 18px; }
  .nav-links > * { font-size: 14.5px; }
  .nav-cta { gap: 10px; }
  .login { font-size: 14.5px; }
  .btn-try { height: 42px; padding: 0 18px; font-size: 14.5px; }
  .lang-pill { height: 38px; padding: 0 10px; font-size: 13.5px; }
  .brand .brand-word { color: #fff; }
.brand-word { font-size: 22px; }
  .brand-mark svg { width: 26px; height: 26px; }
}

/* ===== nav theo tỉ lệ ảnh mẫu (2002px): 76px, 19px, pill hover ===== */
.wrap { --max: 1240px; }
.nav { height: 76px; }
.nav-in { height: 76px; gap: 46px; }
.nav-links { gap: 6px; margin-left: 96px; }
.nav-links > * {
  height: 44px; padding: 0 16px; border-radius: 999px; white-space: nowrap;
  font-size: 19px; font-weight: 500; color: #d8d8de;
}
.nav-links > *:hover,
.nav-links > [aria-expanded="true"] { background: #1d1d23; color: #fff; }
.nav-links .chev { width: 14px; height: 14px; }
.nav-cta { gap: 18px; }
.login { font-size: 18px; }
.btn-try { height: 46px; padding: 0 24px; font-size: 18px; }
.lang-pill { height: 42px; font-size: 16px; }
.brand-word { font-size: 27px; }
.brand-mark svg { width: 32px; height: 32px; }
.promo-dot { color: #5a5a63; font-size: 14px; }

@media (min-width: 881px) and (max-width: 1320px) {
  .nav-links { margin-left: 24px; }
  .nav-links > * { font-size: 15px; padding: 0 11px; }
  .nav-links { gap: 2px; }
  .login { font-size: 15px; }
  .btn-try { height: 42px; padding: 0 18px; font-size: 15px; }
  .lang-pill { height: 38px; font-size: 13.5px; }
  .brand-word { font-size: 23px; }
  .brand-mark svg { width: 27px; height: 27px; }
}

/* ================= DOCS / STATUS / ALTERNATIVES ================= */
.doc-hero { padding: 64px 0 20px; }
.doc-hero h1 { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -.03em; }
.doc-hero p { margin-top: 12px; color: #a5a5af; max-width: 660px; font-size: 15.5px; }

.doc-layout { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: start; }
.doc-side { position: sticky; top: 110px; }
.doc-side h5 { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #6f6f79; margin: 18px 0 6px; }
.doc-side h5:first-child { margin-top: 0; }
.doc-side a { display: block; padding: 6px 9px; border-radius: 7px; font-size: 13px; color: #b6b6c0; }
.doc-side a:hover { background: #1f1f25; color: #fff; }

.doc-body h2 { font-size: 22px; margin: 30px 0 10px; letter-spacing: -.02em; }
.doc-body h2:first-child { margin-top: 0; }
.doc-body h3 { font-size: 15.5px; margin: 18px 0 6px; }
.doc-body p, .doc-body li { color: #b9b9c2; font-size: 14.5px; line-height: 1.7; }
.doc-body ul { padding-left: 20px; margin: 10px 0; }
.doc-body pre {
  background: #101014; border: 1px solid #2a2a33; border-radius: 10px;
  padding: 12px 14px; overflow: auto; font-size: 12px; line-height: 1.7; color: #c9c9d1;
}
.doc-body code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

.status-list { border: 1px solid #2c2c36; border-radius: 12px; overflow: hidden; background: #1b1b21; }
.status-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-bottom: 1px solid #23232b; }
.status-row:last-child { border-bottom: 0; }
.status-row b { flex: 1; font-size: 14px; font-weight: 600; }
.pill { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 3px 9px; border-radius: 999px; }
.pill.ok { background: rgba(52, 211, 153, .15); color: #6ee7b7; }
.pill.warn { background: rgba(250, 204, 21, .15); color: #fde68a; }
.pill.info { background: rgba(56, 189, 248, .15); color: #7dd3fc; }
.uptime { font-size: 11.5px; color: #8b8b95; }

.uptime-bar { display: flex; gap: 2px; align-items: flex-end; height: 40px; }
.uptime-bar i { flex: 1; height: 100%; border-radius: 2px; background: #34d399; opacity: .8; }
.uptime-bar i.warn { background: #facc15; }
.uptime-bar i.bad { background: #f87171; }
.uptime-legend { display: flex; justify-content: space-between; font-size: 10.5px; color: #6f6f79; margin-top: 6px; }

.incident { border: 1px solid #2c2c36; border-radius: 10px; padding: 14px; margin-bottom: 10px; background: #1b1b21; }
.incident b { font-size: 13.5px; margin-right: 10px; }
.incident p { margin: 8px 0 0; font-size: 12.5px; color: #9a9aa4; line-height: 1.6; }

@media (max-width: 900px) {
  .doc-layout { grid-template-columns: 1fr; gap: 20px; }
  .doc-side { position: static; }
}

/* check list dùng trong trang integration */
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 9px; font-size: 14px; color: #c3c3cb; line-height: 1.55; }
.check-list .ic { width: 16px; height: 16px; color: var(--orange); flex: 0 0 auto; margin-top: 3px; }

/* ===== form controls + template preview (dùng cho /tools và /templates) ===== */
.textarea, .input {
  width: 100%; padding: 10px 12px; border-radius: 10px;
  background: #1b1b21; border: 1px solid #34343d; color: #f4f4f5;
  font: inherit; font-size: 14px; line-height: 1.5;
}
.textarea:focus, .input:focus { outline: none; border-color: #4b4b57; box-shadow: 0 0 0 3px rgba(255,122,26,.10); }
.field { display: block; }
.field span { display: block; margin-bottom: 6px; }

.design-thumb {
  aspect-ratio: 1 / 1; border-radius: 14px; padding: 16px; max-width: 400px;
  background: linear-gradient(150deg, var(--c1, #ff7a1a), var(--c2, #f0a53c));
  border: 1px solid rgba(255, 255, 255, .12);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 4px;
}
.design-thumb em {
  font-style: normal; font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(0, 0, 0, .5); font-weight: 700;
}
.design-thumb b { font-size: 22px; line-height: 1.15; letter-spacing: -.02em; color: #16161a; }

/* hero: dùng ảnh nhóm ba linh vật */
.hero-art .hero-group {
  width: 100%; max-width: 660px; height: auto;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .55));
}
@media (max-width: 1040px) {
  .hero-art .hero-group { max-width: 520px; margin: 0 auto; }
}

/* hero group: picture wrapper */
.hero-art picture { display: block; width: 100%; }

/* ===== mega menu theo quy trình: Write → Approve → Publish → Reply ===== */
.mega-flow { width: min(980px, calc(100vw - 40px)); padding: 16px; }
.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.flow-col { border-right: 1px solid #2a2a31; padding-right: 8px; }
.flow-col:last-child { border-right: 0; }
.flow-col h5 {
  margin: 0 0 8px; display: flex; align-items: center; gap: 7px;
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #8f8f99; font-weight: 600;
}
.flow-col h5 b {
  font-size: 9.5px; color: #141311; background: var(--orange);
  border-radius: 5px; padding: 1px 5px; letter-spacing: 0;
}
.flow-col a { display: block; padding: 7px 8px; border-radius: 8px; }
.flow-col a:hover { background: #232329; }
.flow-col a b { display: block; font-size: 12.5px; color: #ededf2; font-weight: 600; }
.flow-col a small { display: block; font-size: 10.5px; color: #8f8f99; margin-top: 1px; }
.flow-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 12px; padding: 11px 12px; border-radius: 10px;
  background: #1b1a17; border: 1px solid #2f2c24;
}
.flow-foot span { font-size: 12px; color: #b6b6c0; }
.flow-foot b { color: #fff; }
.flow-foot .go { display: inline-flex; align-items: center; gap: 6px; color: #ffa04d; font-size: 12px; }
.flow-foot .go .ic { width: 13px; height: 13px; }

/* ===== mobile fixes ===== */
@media (max-width: 880px) {
  .nav-in { gap: 10px; padding-left: 14px; padding-right: 12px; }
  .brand-word { font-size: 20px; }
  .brand-mark svg { width: 24px; height: 24px; }
  .btn-try { height: 38px; padding: 0 16px; font-size: 14px; }
  .nav-cta { gap: 6px; }
  .theme-btn { width: 34px; height: 34px; }
  .burger { margin-left: 4px; }
}

/* Channel illustrations sit beside integration hero copy. */
.feature-hero:has(.integration-mascot) .wrap { position: relative; min-height: 320px; }
.feature-hero:has(.integration-mascot) h1,
.feature-hero:has(.integration-mascot) .lede { max-width: 58%; }
.integration-mascot { position: absolute; width: min(57%, 650px); height: auto; right: -18%; bottom: -30px; pointer-events: none; }
@media (max-width: 760px) {
  .feature-hero:has(.integration-mascot) .wrap { min-height: 0; }
  .feature-hero:has(.integration-mascot) h1,
  .feature-hero:has(.integration-mascot) .lede { max-width: none; }
  .integration-mascot { position: relative; display: block; width: min(100%, 540px); right: auto; bottom: auto; margin: 20px auto -30px; }
}
.feature-hero:has(.integration-mascot) { overflow: hidden; }
.feature-hero:has(.integration-mascot) { background-image: linear-gradient(90deg, rgba(20,19,17,.86), rgba(20,19,17,.24)), var(--integration-bg-dark); background-size: cover; background-position: center; }
html[data-theme="light"] .feature-hero:has(.integration-mascot) { background-image: linear-gradient(90deg, rgba(241,239,235,.94), rgba(241,239,235,.87)), var(--integration-bg-dark); }
html[data-theme="light"] .feature-hero:has(.integration-mascot) .lede { color: #4b4a48; }
html[data-theme="light"] .feature-hero:has(.integration-mascot) .btn-ghost { color: #242321; }

/* ================= PUBLISH PAGE (/features/publish): 14 section, mockup bằng HTML ================= */
.pp-sec { --pp-card: rgba(255,255,255,.045); --pp-line: rgba(255,255,255,.10); --pp-ink: #f5f5f6; --pp-mute: #a9a9b3;
  --pp-bg: #141311; position: relative; padding: 112px 0; overflow: hidden; background: var(--pp-bg); color: var(--pp-ink); }
.pp-ink { --pp-bg: #141311; }
.pp-teal { --pp-bg: linear-gradient(180deg, #0f1e1d 0%, #131a19 100%); }
.pp-amber { --pp-bg: linear-gradient(180deg, #1f1710 0%, #17120d 100%); }
.pp-navy { --pp-bg: linear-gradient(180deg, #0c1a22 0%, #101417 100%); }
.pp-deep { --pp-bg: #0d0c0a; }
.pp-deep { background: radial-gradient(60% 40% at 50% 0%, rgba(255,122,26,.10), transparent 70%), radial-gradient(40% 40% at 90% 90%, rgba(45,212,191,.08), transparent 70%), #0d0c0a; }
.pp-stripes { background: repeating-linear-gradient(115deg, rgba(255,255,255,.018) 0 2px, transparent 2px 22px), radial-gradient(50% 50% at 50% 0%, rgba(45,212,191,.12), transparent 70%), #0d0c0a; }
.pp-tight { padding: 96px 0; }
html[data-theme="light"] .pp-ink, html[data-theme="light"] .pp-teal, html[data-theme="light"] .pp-amber, html[data-theme="light"] .pp-navy {
  --pp-card: #fff; --pp-line: #e1e1e6; --pp-ink: #141418; --pp-mute: #55555c; }
html[data-theme="light"] .pp-ink { --pp-bg: #f7f7f8; }
html[data-theme="light"] .pp-teal { --pp-bg: #e8f5f3; }
html[data-theme="light"] .pp-amber { --pp-bg: #fff3e0; }
html[data-theme="light"] .pp-navy { --pp-bg: #e6f0f5; }

.pp-pill { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; font-size: 10.5px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--pp-mute); border: 1px solid var(--pp-line); background: var(--pp-card); }
.pp-head { text-align: center; max-width: 760px; margin: 0 auto 48px; position: relative; z-index: 2; }
.pp-head h2, .pp-copy h2 { margin: 16px 0 0; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.06; letter-spacing: -.035em; color: var(--pp-ink); }
.pp-head p, .pp-copy p { margin: 16px 0 0; font-size: 16.5px; line-height: 1.6; color: var(--pp-mute); }
.pp-copy .pp-pill + h2 { margin-top: 18px; }
.pp-bul { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.pp-bul li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--pp-mute); }
.pp-bul .ic { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 3px; padding: 2px; border-radius: 50%; color: var(--orange); background: rgba(255,122,26,.14); }
.pp-card { background: var(--pp-card); border: 1px solid var(--pp-line); border-radius: 16px; padding: 20px; }
.pp-card h3 { margin: 0; font-size: 16px; letter-spacing: -.01em; color: var(--pp-ink); }
.pp-card p { margin: 6px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--pp-mute); }
.pp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.pp-two-top { align-items: start; }
.pp-two-rev .pp-copy { order: 2; }
.pp-copy { position: relative; z-index: 2; }
.pp-ct { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--pp-ink); }
.pp-ct .ic, .pp-board-title .ic, .pp-win-top .ic { width: 15px; height: 15px; color: var(--orange); }
.pp-side-mascot { position: absolute; width: auto; pointer-events: none; z-index: 1; filter: drop-shadow(0 18px 30px rgba(0,0,0,.45)); }

/* channel icon tile (CSS only) */
.pp-ic { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; font: 700 10px/1 Inter, system-ui, sans-serif;
  font-style: normal; background: var(--c); color: var(--fg); flex: 0 0 auto; letter-spacing: -.02em; }

/* ---- 1. hero ---- */
.pp-hero { position: relative; overflow: hidden; background: radial-gradient(70% 55% at 50% 0%, rgba(255,122,26,.16), transparent 70%),
  radial-gradient(45% 50% at 85% 85%, rgba(45,212,191,.16), transparent 70%), linear-gradient(180deg, #100f0d, #141311); color: #f5f5f6; }
.pp-stars { position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(1.5px 1.5px at 12% 20%, rgba(255,255,255,.7), transparent), radial-gradient(1px 1px at 28% 60%, rgba(255,255,255,.5), transparent),
    radial-gradient(1.5px 1.5px at 44% 12%, rgba(255,160,77,.7), transparent), radial-gradient(1px 1px at 62% 34%, rgba(255,255,255,.5), transparent),
    radial-gradient(1.5px 1.5px at 78% 18%, rgba(200,247,81,.6), transparent), radial-gradient(1px 1px at 90% 52%, rgba(255,255,255,.5), transparent),
    radial-gradient(1px 1px at 6% 74%, rgba(255,255,255,.4), transparent), radial-gradient(1.5px 1.5px at 52% 70%, rgba(45,212,191,.6), transparent); }
.pp-hero-in { position: relative; z-index: 3; text-align: center; padding: 64px 0 0; max-width: 820px; }
.pp-hero h1 { margin: 18px 0 0; font-size: clamp(38px, 5vw, 68px); line-height: 1.04; letter-spacing: -.04em; color: #f5f5f6; text-wrap: balance; }
.pp-hero .lede { margin: 18px auto 0; max-width: 600px; font-size: 17px; color: #a9a9b3; }
.pp-hero .hero-cta { justify-content: center; margin-top: 28px; }
.pp-hero .btn-ghost { color: #f5f5f6; border-color: #3a362c; }
.pp-stage { position: relative; height: 430px; margin-top: 8px; max-width: 1440px; margin-inline: auto; }
.pp-hero-mascot { position: absolute; left: 6%; bottom: -6px; height: 340px; width: auto; z-index: 3; filter: drop-shadow(0 26px 40px rgba(0,0,0,.55)); }
.pp-arc { position: absolute; left: 22%; right: 12%; bottom: 40px; height: 300px; width: 66%; z-index: 1; overflow: visible; }
.pp-arc path { fill: none; stroke: rgba(255,255,255,.28); stroke-width: 1.4; stroke-dasharray: 3 7; vector-effect: non-scaling-stroke; }
.pp-times { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; top: 0; pointer-events: none; }
.pp-time { position: absolute; pointer-events: auto; display: grid; gap: 1px; padding: 7px 12px; border-radius: 12px; text-align: left; cursor: pointer;
  background: rgba(28,27,22,.82); border: 1px solid #3a362c; color: #e9e9ee; backdrop-filter: blur(6px);
  transition: transform .15s var(--ease), border-color .15s, background .15s; }
.pp-time:nth-child(1) { left: 36%; bottom: 62px; }
.pp-time:nth-child(2) { left: 46%; bottom: 112px; }
.pp-time:nth-child(3) { left: 51%; bottom: 176px; }
.pp-time:hover { transform: translateY(-2px); border-color: #55503f; }
.pp-time.on { border-color: rgba(255,122,26,.7); background: rgba(255,122,26,.18); }
.pp-time b { font-size: 13px; font-variant-numeric: tabular-nums; }
.pp-time span { font-size: 10px; color: #9a958a; }
.pp-time.on span { color: #ffcda6; }
.pp-orb { position: absolute; right: -120px; bottom: -330px; width: 760px; height: 760px; border-radius: 50%; z-index: 2;
  background: radial-gradient(circle at 32% 28%, #3a3224 0%, #1e1a13 46%, #0f0d0a 100%); box-shadow: inset 0 0 0 1px rgba(255,160,77,.28), 0 0 90px rgba(255,122,26,.18); }
.pp-orb::before { content: ""; position: absolute; inset: -2px; border-radius: 50%; background: radial-gradient(circle at 30% 20%, rgba(255,160,77,.28), transparent 45%); }
.pp-orb-chips { position: absolute; inset: 0; }
.pp-orb-chip { position: absolute; display: flex; align-items: center; gap: 8px; padding: 5px 8px 5px 5px; border-radius: 10px; width: 138px;
  background: rgba(35,33,25,.92); border: 1px solid #3a362c; opacity: .55; transition: opacity .25s, border-color .25s, transform .25s var(--ease); }
.pp-orb-chip span { display: grid; gap: 4px; flex: 1; }
.pp-orb-chip span b { display: block; height: 4px; border-radius: 2px; background: #4a4536; }
.pp-orb-chip span b + b { width: 60%; }
.pp-orb-chip .ic { width: 14px; height: 14px; color: #34d399; opacity: 0; }
.pp-orb-chip.go { opacity: 1; border-color: rgba(52,211,153,.6); transform: translateX(-6px); }
.pp-orb-chip.go .ic { opacity: 1; }
.pp-orb-chip:nth-child(1) { left: 190px; top: 96px; }
.pp-orb-chip:nth-child(2) { left: 340px; top: 96px; }
.pp-orb-chip:nth-child(3) { left: 110px; top: 152px; }
.pp-orb-chip:nth-child(4) { left: 260px; top: 152px; }
.pp-orb-chip:nth-child(5) { left: 410px; top: 152px; }
.pp-orb-chip:nth-child(6) { left: 60px; top: 208px; }
.pp-orb-chip:nth-child(7) { left: 210px; top: 208px; }
.pp-orb-chip:nth-child(8) { left: 360px; top: 208px; }

/* ---- 2. board ---- */
.pp-board-wrap { position: relative; max-width: 980px; margin: 0 auto; }
.pp-board-mascot { position: absolute; right: -64px; top: -96px; height: 150px; width: auto; z-index: 3; transform: rotate(8deg); filter: drop-shadow(0 18px 28px rgba(0,0,0,.45)); }
.pp-board { position: relative; z-index: 2; border-radius: 18px; padding: 14px 16px 12px; background: #15140f; border: 1px solid #34312a;
  box-shadow: 0 40px 80px rgba(0,0,0,.45); color: #f5f5f6; }
.pp-board-top { display: flex; align-items: center; justify-content: space-between; padding: 6px 4px 14px; border-bottom: 1px solid #2c2921; }
.pp-board-title { display: inline-flex; align-items: center; gap: 8px; font: 700 12px/1 ui-monospace, Menlo, monospace; letter-spacing: .18em; color: #ffb36b; }
.pp-filters { display: flex; gap: 8px; }
.pp-f { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; font-size: 11.5px; border-radius: 999px; color: #cfcabb; background: #201e17; border: 1px solid #36332a; cursor: pointer; }
.pp-f i { width: 6px; height: 6px; border-radius: 50%; }
.pp-f.on { border-color: rgba(255,122,26,.65); background: rgba(255,122,26,.16); color: #ffe0c4; }
.pp-f em { font-style: normal; font-size: 9px; padding: 1px 5px; border-radius: 4px; background: #2d2a22; color: #8f8b80; letter-spacing: .06em; text-transform: uppercase; }
.pp-cols, .pp-row { display: grid; grid-template-columns: 120px 1fr 80px 170px; align-items: center; gap: 12px; padding: 0 12px; }
.pp-cols { padding-top: 14px; padding-bottom: 6px; font: 600 9.5px/1 ui-monospace, Menlo, monospace; letter-spacing: .14em; text-transform: uppercase; color: #6f6b60; }
.pp-row { height: 46px; margin-top: 6px; border-radius: 10px; background: #1b1a14; font-size: 13.5px; color: #e9e9ee; }
.pp-row[hidden], .pp-empty[hidden] { display: none; }
.pp-time-cell { font: 700 12.5px/1 ui-monospace, Menlo, monospace; color: #ffcf8a; letter-spacing: .06em; white-space: nowrap; }
.pp-st { display: inline-flex; align-items: center; gap: 7px; font: 700 10.5px/1 ui-monospace, Menlo, monospace; letter-spacing: .08em; text-transform: uppercase; }
.pp-st i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pp-st-ok { color: #34d399; } .pp-st-go { color: #2dd4bf; } .pp-st-wait { color: #ffb020; } .pp-st-err { color: #ff5a5f; }
.pp-empty { margin-top: 10px; padding: 22px; text-align: center; font-size: 13px; color: #8f8b80; }
.pp-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 980px; margin: 28px auto 0; }
.pp-num { display: grid; place-items: center; width: 26px; height: 26px; margin-bottom: 36px; border-radius: 8px; font-size: 12px; font-weight: 700;
  color: #141311; background: var(--orange); }

/* ---- 3. views ---- */
.pp-views { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; position: relative; z-index: 2; }
.pp-view { margin: 0; padding: 0; overflow: hidden; background: #181712; border-color: #2f2c24; }
html[data-theme="light"] .pp-view { background: #fff; border-color: #e1e1e6; }
.pp-vh { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid #272419; }
html[data-theme="light"] .pp-vh { border-color: #ececf0; }
.pp-vh b { font-size: 13px; color: var(--pp-ink); }
.pp-vh em { margin-left: auto; font-style: normal; font-size: 10px; padding: 3px 8px; border-radius: 999px; color: #ffcda6; background: rgba(255,122,26,.16); }
.pp-tabs { display: inline-flex; gap: 3px; }
.pp-tabs i { width: 9px; height: 4px; border-radius: 2px; background: #3a362c; }
.pp-tabs i.on { width: 16px; background: var(--orange); }
.pp-view > :not(.pp-vh):not(figcaption) { margin: 14px; }
.pp-view figcaption { padding: 0 14px 16px; font-size: 12.5px; line-height: 1.5; color: var(--pp-mute); }
.pp-list { display: grid; gap: 8px; }
.pp-li { display: flex; align-items: center; gap: 9px; padding: 7px 9px; border-radius: 9px; background: #21201a; font-size: 12px; color: #e9e9ee; }
html[data-theme="light"] .pp-li { background: #f3f3f6; color: #1b1b20; }
.pp-li span { flex: 1; }
.pp-dot { width: 7px; height: 7px; border-radius: 50%; }
.pp-dot-go { background: #2dd4bf; } .pp-dot-wait { background: #ffb020; } .pp-dot-err { background: #ff5a5f; }
.pp-board-cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; min-height: 124px; }
.pp-bcol { display: grid; align-content: start; gap: 5px; }
.pp-bcol b { font-size: 11px; color: var(--pp-mute); }
.pp-bh { display: inline-flex; align-items: center; gap: 3px; font-size: 8px; color: var(--pp-mute); white-space: nowrap; }
.pp-bh i { width: 5px; height: 5px; border-radius: 50%; flex: 0 0 auto; }
.pp-bcol u { display: block; height: 22px; border-radius: 5px; background: #26241d; border: 1px solid #34312a; }
html[data-theme="light"] .pp-bcol u { background: #ececf0; border-color: #dcdce2; }
.pp-bcol u.pp-bad { border-color: #ff5a5f; background: rgba(255,90,95,.14); }
.pp-cal { display: grid; grid-template-columns: 48px 1fr; gap: 8px; }
.pp-rail { display: grid; align-content: start; gap: 5px; font-size: 8px; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }
.pp-rail u { display: block; height: 20px; border-radius: 4px; background: #26241d; border: 1px dashed #4a4536; }
.pp-dow { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-size: 8px; color: var(--pp-mute); margin-bottom: 4px; }
.pp-dow s { text-decoration: none; }
.pp-cells { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.pp-cells u { display: grid; place-items: center; height: 26px; border-radius: 5px; background: #21201a; }
html[data-theme="light"] .pp-cells u { background: #ececf0; }
.pp-cells .pp-ic { width: 16px; height: 16px; border-radius: 5px; font-size: 7px; }
.pp-side-mascot.pp-sm-l { left: calc(50% - 560px); top: 74px; height: 150px; }

/* ---- 4. drag ---- */
.pp-win { border-radius: 18px; background: #181712; border: 1px solid #34312a; box-shadow: 0 40px 80px rgba(0,0,0,.4); padding: 14px; position: relative; color: #f5f5f6; }
.pp-win-top { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; padding: 2px 4px 12px; }
.pp-drag-body { display: grid; grid-template-columns: 112px 1fr; gap: 10px; }
.pp-drafts { display: grid; align-content: start; gap: 7px; padding: 8px; border-radius: 12px; background: #201e17; }
.pp-drafts > span { font-size: 8.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.pp-draft { padding: 8px; border-radius: 8px; text-align: left; font-size: 11px; line-height: 1.25; color: #e9e9ee; background: #2a2820; border: 1px solid #3a362c; cursor: grab; }
.pp-draft.on { border-color: var(--orange); background: rgba(255,122,26,.16); }
.pp-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; }
.pp-day { display: flex; flex-direction: column; gap: 6px; min-height: 176px; padding: 6px; border-radius: 10px; background: #1e1d17; border: 1px solid #2c2921; text-align: left; align-items: stretch; }
.pp-day:hover { border-color: #4a4536; }
.pp-day > span { font-size: 10px; color: #8f8b80; }
.pp-chip { display: grid; gap: 5px; padding: 5px; border-radius: 7px; font-style: normal; background: #2a2820; border: 1px solid #3a362c; font-size: 10px; line-height: 1.25; color: #e9e9ee; }
.pp-chip s { display: block; height: 3px; width: 70%; border-radius: 2px; background: #4a4536; }
.pp-chip-new { background: var(--orange); border-color: var(--orange); color: #141311; font-weight: 600; }
.pp-toast { position: absolute; right: 14px; bottom: 12px; padding: 6px 12px; border-radius: 999px; font-size: 11px; font-weight: 600; color: #0d2d22; background: #34d399; opacity: .85; }
.pp-toast:not(.show) { background: #2a2820; color: #cfcabb; }

/* ---- 5. volume ---- */
.pp-flow { display: grid; grid-template-columns: 170px 1fr 170px; gap: 18px; align-items: center; position: relative; z-index: 2; }
.pp-srcs { display: grid; gap: 10px; }
.pp-src { display: flex; align-items: center; gap: 9px; padding: 11px 14px; border-radius: 12px; font-size: 13px; font-weight: 600; color: #e9e9ee; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.pp-src i { width: 7px; height: 7px; border-radius: 50%; }
.pp-marquee { display: grid; gap: 10px; padding: 14px 0; overflow: hidden; border-radius: 16px; background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.07);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.pp-mrow { overflow: hidden; }
.pp-mtrack { display: flex; gap: 10px; width: max-content; animation: pp-scroll 40s linear infinite; }
.pp-mrow:nth-child(2) .pp-mtrack { animation-direction: reverse; animation-duration: 46s; }
.pp-tile { display: flex; align-items: center; gap: 8px; width: 118px; padding: 6px 8px; border-radius: 10px; background: #1c1b16; border: 1px solid #2f2c24; }
.pp-tile span { display: grid; gap: 4px; flex: 1; }
.pp-tile b { display: block; height: 4px; border-radius: 2px; background: #3a362c; }
.pp-tile b + b { width: 55%; }
@keyframes pp-scroll { to { transform: translateX(-50%); } }
.pp-into { display: grid; justify-items: center; gap: 8px; padding: 18px 14px; border-radius: 16px; text-align: center; background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.1); }
.pp-into .ic { width: 20px; height: 20px; color: var(--orange); }
.pp-into b { font-size: 14px; }
.pp-mini { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; width: 100%; }
.pp-mini u { height: 9px; border-radius: 2px; background: #2a2820; }
.pp-mini u.on { background: var(--orange); }
.pp-human-row { position: relative; max-width: 780px; margin: 56px auto 0; z-index: 2; }
.pp-side-mascot.pp-human-mascot { left: -190px; bottom: -34px; height: 190px; }
.pp-human { display: flex; gap: 16px; align-items: flex-start; padding: 22px; background: rgba(255,255,255,.06); }
.pp-human-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #ffb020; color: #141311; flex: 0 0 auto; }
.pp-human-ic .ic { width: 20px; height: 20px; }
.pp-human h3 { display: flex; align-items: center; gap: 10px; font-size: 17px; }
.pp-human p { font-size: 14px; }
.pp-sw { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px 3px 4px; border-radius: 999px; font-size: 11px; font-weight: 700; background: #2f2c24; color: #cfcabb; cursor: pointer; }
.pp-sw i { position: relative; width: 24px; height: 14px; border-radius: 999px; background: #4a4536; transition: background .2s; }
.pp-sw i::after { content: ""; position: absolute; left: 2px; top: 2px; width: 10px; height: 10px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); }
.pp-sw.on { color: #0d2d22; background: rgba(52,211,153,.9); }
.pp-sw.on i { background: #0d2d22; }
.pp-sw.on i::after { transform: translateX(10px); }

/* ---- 6. timing ---- */
.pp-stack { display: grid; gap: 16px; }
.pp-heat, .pp-slots { background: rgba(20,18,13,.7); border-color: rgba(255,255,255,.1); color: #f5f5f6; }
.pp-heat .pp-ct, .pp-slots .pp-ct { color: #f5f5f6; }
.pp-heat p, .pp-slots p { color: #a9a9b3; }
.pp-hgrid { display: grid; grid-template-columns: 22px repeat(7, 1fr); gap: 5px; margin-top: 14px; align-items: center; }
.pp-hgrid s { text-decoration: none; text-align: center; font-size: 9px; color: #8f8b80; }
.pp-hh { font-size: 9px; color: #8f8b80; }
.pp-hgrid u, .pp-legend u { display: block; height: 28px; border-radius: 6px; }
.h0 { background: #2a2820; } .h1 { background: #5a3d1c; } .h2 { background: #8f5a1f; } .h3 { background: #d4741a; } .h4 { background: #ffb36b; }
.pp-legend { display: flex; align-items: center; gap: 5px; margin-top: 12px; font-size: 9.5px; color: #8f8b80; }
.pp-legend u { width: 14px; height: 8px; border-radius: 2px; }
.pp-note { font-size: 12px !important; }
.pp-slot { display: flex; align-items: center; gap: 9px; margin-top: 8px; padding: 8px 10px; border-radius: 9px; font-size: 12.5px; background: #1e1c16; color: #e9e9ee; }

/* ---- 7. approvals ---- */
.pp-appr { position: relative; max-width: 980px; margin: 0 auto; min-height: 580px; display: flex; align-items: flex-end; }
.pp-rings { position: absolute; left: 50%; top: 48px; width: 920px; height: 920px; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(circle, transparent 38%, rgba(255,122,26,.10) 38.5%, transparent 39.5%, transparent 52%, rgba(255,255,255,.07) 52.5%, transparent 53.5%, transparent 66%, rgba(45,212,191,.09) 66.5%, transparent 67.5%); }
.pp-bighead { position: absolute; left: 50%; top: 0; width: 560px; transform: translateX(-50%); filter: drop-shadow(0 30px 60px rgba(255,122,26,.25)); }
.pp-side-mascot.pp-appr-mascot { right: -40px; top: 120px; height: 170px; transform: rotate(8deg); }
.pp-steps { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; width: 100%; }
.pp-step { padding: 18px; border-radius: 16px; background: rgba(20,18,13,.92); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(8px); }
.pp-step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.pp-step-ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; font: 700 11px/1 ui-monospace, monospace; background: var(--orange); color: #141311; }
.pp-tag { font-style: normal; font-size: 9.5px; font-weight: 700; padding: 3px 8px; border-radius: 6px; letter-spacing: .06em; }
.pp-tag-wait { color: #ffb020; background: rgba(255,176,32,.14); } .pp-tag-hold { color: #cfcabb; background: rgba(255,255,255,.1); } .pp-tag-ok { color: #34d399; background: rgba(52,211,153,.14); }
.pp-step h3 { margin: 0; font-size: 16px; color: #f5f5f6; }
.pp-step p { margin: 6px 0 0; font-size: 13px; line-height: 1.5; color: #a9a9b3; }
.pp-client { position: relative; z-index: 3; display: flex; gap: 14px; align-items: flex-start; max-width: 560px; margin: 22px auto 0; padding: 16px 18px; border-radius: 14px;
  background: rgba(255,122,26,.10); border: 1px solid rgba(255,122,26,.35); }
.pp-client .ic { width: 18px; height: 18px; margin-top: 2px; color: var(--orange); flex: 0 0 auto; }
.pp-client b { font-size: 14px; } .pp-client p { margin: 4px 0 0; font-size: 13px; line-height: 1.5; color: #c9c4b6; }
.pp-foot { position: relative; z-index: 3; margin: 22px 0 0; text-align: center; font-size: 13px; color: #8f8b80; }

/* ---- 8. share ---- */
.pp-shot { position: relative; padding-bottom: 36px; }
.pp-browser { border-radius: 14px; overflow: hidden; background: #15140f; border: 1px solid #34312a; box-shadow: 0 40px 80px rgba(0,0,0,.4); transition: opacity .25s; color: #f5f5f6; }
.pp-browser.pp-off { opacity: .45; }
.pp-bbar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #1c1b16; }
.pp-bbar i { width: 8px; height: 8px; border-radius: 50%; background: #ff5f57; } .pp-bbar i:nth-child(2) { background: #febc2e; } .pp-bbar i:nth-child(3) { background: #28c840; }
.pp-url { margin-left: 8px; flex: 1; padding: 4px 10px; border-radius: 6px; font-size: 10.5px; color: #8f8b80; background: #121109; }
.pp-bbody { padding: 14px; }
.pp-bhead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.pp-bhead b { font-size: 14px; } .pp-bhead em { font-style: normal; font-size: 10px; padding: 3px 8px; border-radius: 6px; background: #26241d; color: #a9a9b3; }
.pp-sgrid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.pp-sgrid u { position: relative; display: flex; flex-direction: column; gap: 4px; min-height: 52px; padding: 4px 5px; border-radius: 6px; background: #1c1b16; text-decoration: none; }
.pp-sgrid s { text-decoration: none; font-size: 8.5px; color: #6f6b60; }
.pp-sgrid .pp-ic { width: 16px; height: 16px; font-size: 7px; border-radius: 5px; }
.pp-pop { position: absolute; left: -22px; bottom: 0; width: 210px; padding: 12px; border-radius: 14px; background: #1f1e18; border: 1px solid #3a362c; box-shadow: 0 24px 50px rgba(0,0,0,.5); color: #f5f5f6; }
.pp-share-btn { position: relative; display: inline-flex; padding: 4px 10px; border-radius: 8px; font-size: 11px; background: #2a2820; border: 1px solid #3a362c; }
.pp-on { position: absolute; right: -3px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: #34d399; }
.pp-on.pp-off { background: #6f6b60; }
.pp-pop-row { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-size: 12.5px; }
.pp-pop small { display: block; margin-top: 3px; font-size: 10.5px; color: #8f8b80; }
.pp-copy-btn { display: inline-block; margin-top: 9px; padding: 4px 10px; border-radius: 7px; font-size: 11px; border: 1px solid #3a362c; }
.pp-pop .pp-sw { padding: 3px 4px; } .pp-pop .pp-sw b { display: none; }
.pp-warn { display: flex; gap: 10px; align-items: flex-start; margin-top: 22px; padding: 12px 14px; border-radius: 12px; font-size: 13px; line-height: 1.5; color: var(--pp-mute);
  border: 1px solid rgba(255,176,32,.4); background: rgba(255,176,32,.09); }
.pp-warn .ic { width: 16px; height: 16px; margin-top: 2px; color: #ffb020; flex: 0 0 auto; }

/* ---- 9. zones ---- */
.pp-zone { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; max-width: 1060px; margin: 0 auto; }
.pp-side-mascot.pp-zone-mascot { left: -90px; top: -30px; height: 150px; z-index: 3; }
.pp-globe-wrap { position: relative; min-height: 420px; }
.pp-globe { position: absolute; left: 50%; top: 0; width: 340px; height: 340px; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #5eead4 0%, #1a8f8a 38%, #0b3a40 72%, #082127 100%);
  box-shadow: 0 0 80px rgba(45,212,191,.28), inset -24px -30px 60px rgba(0,0,0,.45);
  -webkit-mask-image: repeating-linear-gradient(90deg, #000 0 38px, rgba(0,0,0,.82) 38px 40px); mask-image: repeating-linear-gradient(90deg, #000 0 38px, rgba(0,0,0,.82) 38px 40px); }
.pp-clocks { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pp-clock { display: grid; justify-items: center; gap: 2px; padding: 14px 8px; border-radius: 14px; background: rgba(12,22,28,.92); border: 1px solid rgba(255,255,255,.14); color: #f5f5f6; }
.pp-clock b { font-size: 24px; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.pp-clock span { font-size: 12px; font-weight: 600; } .pp-clock small { font-size: 10.5px; color: #8fa0a8; }
.pp-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pp-fact-ic { display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 14px; border-radius: 9px; background: rgba(255,122,26,.16); color: var(--orange); }
.pp-fact-ic .ic { width: 16px; height: 16px; }
.pp-fact h3 { font-size: 15px; }

/* ---- 10. labels / comments ---- */
.pp-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; position: relative; z-index: 2; }
.pp-lab, .pp-com { padding: 24px; }
.pp-lab-h { display: flex; justify-content: space-between; align-items: center; }
.pp-lab-h b { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; color: var(--pp-ink); }
.pp-lab-h b .ic { width: 16px; height: 16px; color: var(--orange); }
.pp-lab-h span { font-size: 11px; color: var(--pp-mute); }
.pp-lab-h kbd { display: inline-block; margin-left: 4px; padding: 1px 6px; border-radius: 4px; font: 11px ui-monospace, monospace; background: var(--pp-line); color: var(--pp-ink); }
.pp-label-box { margin-top: 16px; padding: 14px; border-radius: 12px; background: #15140f; border: 1px solid #2c2921; }
.pp-label-box small { display: block; margin-bottom: 10px; font-size: 10px; color: #8f8b80; }
.pp-label-box > div { display: flex; flex-wrap: wrap; gap: 8px; }
.pp-label { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 600; color: #e9e9ee; background: #26241d; border: 1px solid #36332a; }
.pp-label i { width: 7px; height: 7px; border-radius: 50%; }
.pp-thread { display: grid; gap: 8px; margin-top: 16px; padding: 12px; border-radius: 12px; background: #15140f; border: 1px solid #2c2921; color: #e9e9ee; }
.pp-cpost, .pp-cmt { display: flex; gap: 9px; align-items: center; padding: 8px 10px; border-radius: 9px; background: #1d1c16; font-size: 12px; }
.pp-cmt { align-items: flex-start; margin-left: 18px; }
.pp-cmt b { display: block; font-size: 11px; color: #cfcabb; }
.pp-av { display: grid; place-items: center; flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; font: 700 10px/1 Inter, sans-serif; font-style: normal; background: #6b4fd8; color: #fff; }
.pp-av2 { background: #0f766e; }
.pp-mention { font-style: normal; padding: 0 4px; border-radius: 4px; background: rgba(255,122,26,.25); color: #ffcda6; }
.pp-cin { padding: 8px 10px; font-size: 11.5px; color: #6f6b60; border-top: 1px solid #2c2921; }

/* ---- 11. pre-flight ---- */
.pp-phone { position: relative; max-width: 440px; margin-left: auto; padding: 14px; border-radius: 34px; background: #1b1107; border: 3px solid #9a4b12; box-shadow: 0 40px 80px rgba(0,0,0,.45); }
.pp-notch { width: 90px; height: 16px; margin: -6px auto 8px; border-radius: 0 0 12px 12px; background: #3a2a1a; }
.pp-phone-in { padding: 6px 10px 12px; color: #f5f5f6; }
.pp-ct2 { font: 700 11px/1 ui-monospace, monospace; letter-spacing: .2em; color: #ffb36b; }
.pp-score { display: flex; align-items: center; gap: 12px; margin: 14px 0; padding: 10px 12px; border-radius: 12px; background: #261a0e; font-size: 14px; font-weight: 600; }
.pp-ring { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: conic-gradient(#C8F751 0 86%, #3a2a1a 86% 100%); position: relative; }
.pp-ring::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: #261a0e; }
.pp-ring b { position: relative; font-size: 13px; }
.pp-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pp-checks li { display: flex; gap: 10px; }
.pp-ck { display: grid; place-items: center; flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; border-radius: 5px; background: #34d399; color: #0d2d22; }
.pp-ck .ic { width: 12px; height: 12px; stroke-width: 3; }
.pp-checks b { display: block; font-size: 13.5px; } .pp-checks small { display: block; font-size: 11.5px; line-height: 1.45; color: #b8ac98; }

/* ---- 12. lands ---- */
.pp-lands { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; z-index: 2; }
.pp-land { position: relative; display: block; padding: 22px; transition: transform .18s var(--ease), border-color .18s; }
.pp-land:hover { transform: translateY(-3px); border-color: rgba(255,122,26,.5); }
.pp-land .pp-tag { position: absolute; right: 18px; top: 22px; }
.pp-land h3 { font-size: 17px; }
.pp-more { display: inline-flex; align-items: center; gap: 5px; margin-top: 14px; font-size: 12.5px; font-weight: 600; color: var(--orange-2); }
.pp-more .ic { width: 13px; height: 13px; }

/* ---- 13. faq ---- */
.pp-faq { padding-bottom: 110px; }
.pp-faq-head { display: flex; align-items: center; gap: 12px; font: 600 11px/1 ui-monospace, Menlo, monospace; letter-spacing: .18em; color: #8f8b80; }
.pp-faq-tag { padding: 6px 9px; border-radius: 6px; background: var(--orange); color: #141311; font-weight: 700; }
.pp-letters { margin: 22px 0 36px; font-size: clamp(32px, 4.4vw, 56px); letter-spacing: .12em; text-transform: none; color: #f5f5f6; font-weight: 700; }
.pp-letters mark { padding: 0 .2em; border-radius: 8px; background: var(--orange); color: #141311; letter-spacing: .06em; }
.pp-qs { display: grid; gap: 10px; }
.pp-q { border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.10); transition: border-color .2s; }
.pp-q[open] { border-color: rgba(255,122,26,.5); }
.pp-q summary { display: grid; grid-template-columns: 34px 96px 1fr 24px; gap: 14px; align-items: center; padding: 16px 18px; cursor: pointer; list-style: none; }
.pp-q summary::-webkit-details-marker { display: none; }
.pp-qn { font: 600 11px/1 ui-monospace, monospace; color: #6f6b60; }
.pp-qc { justify-self: start; padding: 6px 12px; border-radius: 8px; font: 700 11px/1 ui-monospace, monospace; letter-spacing: .14em; color: #ffcda6; background: rgba(255,122,26,.14); border: 1px solid rgba(255,122,26,.35); }
.pp-qt { font-size: 15.5px; color: #f5f5f6; }
.pp-qd i { display: block; width: 8px; height: 8px; margin-left: auto; border-radius: 50%; background: #ffb020; }
.pp-q[open] .pp-qd i { background: #34d399; }
.pp-ticket { display: grid; grid-template-columns: 1fr 150px; margin: 0 14px 14px; border-radius: 12px; background: #fdf3df; color: #3a2d1a; }
.pp-ticket p { margin: 0; padding: 20px 22px; font-size: 14.5px; line-height: 1.6; color: #3a2d1a; }
.pp-stub { display: grid; justify-items: center; align-content: center; gap: 6px; padding: 14px; border-left: 2px dashed #d9c49b; }
.pp-stub b { font-size: 26px; color: #c2570b; }
.pp-bar { width: 90px; height: 28px; background: repeating-linear-gradient(90deg, #3a2d1a 0 2px, transparent 2px 4px, #3a2d1a 4px 5px, transparent 5px 8px); }
.pp-stub small { font: 600 9px/1 ui-monospace, monospace; letter-spacing: .14em; color: #8a7350; }

/* ---- 14. cta ---- */
.pp-cta { padding: 96px 0 0; text-align: center; }
.pp-cta h2 { margin: 0; font-size: clamp(34px, 4.4vw, 58px); letter-spacing: -.04em; line-height: 1.05; color: #f5f5f6; }
.pp-cta p { margin: 14px 0 0; color: #a9a9b3; font-size: 17px; }
.pp-cta .hero-cta { justify-content: center; margin-top: 26px; }
.pp-cta .btn-ghost { color: #f5f5f6; border-color: #3a362c; }
.pp-cta-head { width: 360px; margin: 34px auto -150px; filter: drop-shadow(0 -20px 80px rgba(255,122,26,.35)); }

/* ---- responsive ---- */
@media (max-width: 1100px) {
  .pp-side-mascot.pp-sm-l, .pp-side-mascot.pp-human-mascot, .pp-board-mascot { display: none; }
  .pp-flow { grid-template-columns: 1fr; }
  .pp-srcs { grid-template-columns: repeat(2, 1fr); }
  .pp-lands { grid-template-columns: repeat(2, 1fr); }
  .pp-views { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
}
@media (max-width: 880px) {
  .pp-sec { padding: 64px 0; }
  .pp-two, .pp-zone, .pp-pair { grid-template-columns: 1fr; gap: 36px; }
  .pp-two-rev .pp-copy { order: 0; }
  .pp-phone { margin-inline: auto; }
  .pp-trio, .pp-steps { grid-template-columns: 1fr; }
  .pp-appr { min-height: 0; flex-direction: column; align-items: stretch; padding-top: 330px; }
  .pp-bighead { width: 300px; } .pp-rings { width: 620px; height: 620px; top: 20px; }
  .pp-side-mascot.pp-appr-mascot, .pp-side-mascot.pp-zone-mascot { display: none; }
  .pp-pop { position: relative; left: 0; margin-top: 12px; }
  .pp-shot { padding-bottom: 0; }
  .pp-cols, .pp-row { grid-template-columns: 78px 1fr 34px; }
  .pp-cols span:nth-child(4), .pp-st { grid-column: 1 / -1; }
  .pp-row { height: auto; padding: 10px 12px; row-gap: 6px; }
  .pp-cols span:nth-child(4) { display: none; }
  .pp-filters { flex-wrap: wrap; justify-content: flex-end; }
  .pp-board-top { flex-wrap: wrap; gap: 10px; }
  .pp-q summary { grid-template-columns: 26px 1fr 18px; } .pp-qc { display: none; }
  .pp-ticket { grid-template-columns: 1fr; } .pp-stub { border-left: 0; border-top: 2px dashed #d9c49b; grid-auto-flow: column; justify-content: space-between; }
  .pp-facts { grid-template-columns: 1fr; }
  .pp-human { flex-direction: column; }
  .pp-cta-head { width: 240px; margin-bottom: -100px; }
}
@media (max-width: 720px) {
  .pp-stage { height: 520px; }
  .pp-hero-mascot { left: 50%; transform: translateX(-50%); height: 220px; bottom: 0; }
  .pp-arc, .pp-times { display: none; }
  .pp-orb { right: -300px; bottom: auto; top: 20px; width: 620px; height: 620px; opacity: .55; }
  .pp-times { display: flex; flex-wrap: wrap; gap: 6px; position: absolute; left: 16px; right: 16px; top: 0; bottom: auto; justify-content: center; pointer-events: auto; }
  .pp-time { position: static !important; }
  .pp-drag-body { grid-template-columns: 1fr; } .pp-days { grid-template-columns: repeat(5, 1fr); }
  .pp-day { min-height: 110px; }
  .pp-lands { grid-template-columns: 1fr; } .pp-srcs { grid-template-columns: 1fr 1fr; }
  .pp-hero-in { padding-top: 44px; }
}
@media (prefers-reduced-motion: reduce) { .pp-mtrack { animation: none; } }
html[data-theme="light"] .pp-vh em { color: #b4500a; background: rgba(255,122,26,.14); }

/* nav: 881–1100px không được tràn ngang (nav-in + nav-links + nav-cta cộng lại > viewport) */
@media (min-width: 881px) and (max-width: 1100px) {
  .nav-in { gap: 14px; }
  .nav-links { margin-left: 4px; gap: 2px; }
  .nav-links > * { padding-inline: 9px; font-size: 14px; }
  .nav-cta { gap: 8px; }
  .nav-cta .btn-try { padding: 0 14px; }
}
@media (min-width: 881px) and (max-width: 940px) {
  .nav-cta .login { display: none; }
}

/* phones: the header (brand + Try free + theme + burger) must fit 360–430px with any fallback font */
.brand { min-width: 0; }
.brand-word { white-space: nowrap; }
.nav-cta, .burger { flex: 0 0 auto; }
@media (max-width: 430px) {
  .nav-in { gap: 8px; padding-left: 12px; padding-right: 12px; }
  .brand { gap: 8px; }
  .brand-word { font-size: 17px; }
  .brand-mark { width: 28px; height: 28px; }
  .brand-mark svg { width: 20px; height: 20px; }
  .nav-cta { gap: 4px; margin-left: auto; }
  .btn-try { height: 34px; padding: 0 12px; font-size: 13px; }
  .theme-btn { width: 32px; height: 32px; }
  .burger { width: 34px; height: 34px; margin-left: 2px; }
}
