/* /features/social — 10 section, mockup HTML/CSS. Nạp sau styles.css.
   Dùng lại .pp-sec/.pp-head/.pp-pill/.pp-card/.pp-bul/.pp-two/.pp-ic của trang publish. */

/* ---- 1. hero ---- */
.so-hero { position: relative; overflow: hidden; color: #f5f5f6;
  background: radial-gradient(70% 55% at 50% 0%, rgba(45,212,191,.16), transparent 70%),
    radial-gradient(45% 45% at 15% 85%, rgba(255,122,26,.14), transparent 70%),
    linear-gradient(180deg, #100f0d, #141311); }
.so-stars { position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(1.5px 1.5px at 12% 22%, rgba(255,255,255,.7), transparent),
    radial-gradient(1px 1px at 27% 65%, rgba(255,255,255,.5), transparent),
    radial-gradient(1.5px 1.5px at 43% 15%, rgba(255,160,77,.7), transparent),
    radial-gradient(1px 1px at 63% 38%, rgba(255,255,255,.5), transparent),
    radial-gradient(1.5px 1.5px at 79% 20%, rgba(200,247,81,.6), transparent),
    radial-gradient(1px 1px at 91% 55%, rgba(255,255,255,.5), transparent),
    radial-gradient(1.5px 1.5px at 52% 72%, rgba(45,212,191,.6), transparent); }
.so-hero-in { position: relative; z-index: 3; text-align: center; padding: 62px 0 0; max-width: 800px; }
.so-hero h1 { margin: 18px 0 0; font-size: clamp(38px, 5vw, 66px); line-height: 1.03; letter-spacing: -.04em; color: #f5f5f6; text-wrap: balance; }
.so-hero .lede { margin: 18px auto 0; max-width: 610px; font-size: 16.5px; line-height: 1.6; color: #b3b3bc; }
.so-hero .hero-cta { justify-content: center; margin-top: 26px; }
.so-hero .btn-ghost { color: #f5f5f6; border-color: #3a362c; }
.so-stage { position: relative; max-width: 1200px; margin: 26px auto 0; padding: 0 24px 46px; }
.so-stage-cap { display: flex; justify-content: center; align-items: baseline; gap: 10px; margin-top: 30px; font-size: 12px; color: #8f8b80; }
.so-stage-cap b { font: 700 11px/1 ui-monospace, Menlo, monospace; letter-spacing: .18em; text-transform: uppercase; color: #34d399; }
.so-phones { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 14px; margin-top: 20px; min-height: 320px; }
.so-hero-mascot { position: absolute; left: 50%; top: -46px; width: 250px; height: auto; transform: translateX(-50%); z-index: 1;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,.55)); }
.so-phone { position: relative; z-index: 2; width: 196px; padding: 12px; border-radius: 22px; background: #1a1914; border: 1px solid #383429;
  box-shadow: 0 26px 60px rgba(0,0,0,.5); transition: transform .3s var(--ease), border-color .2s; }
.so-ph-1 { transform: rotate(-8deg) translateY(18px); }
.so-ph-2 { transform: rotate(-4deg); }
.so-ph-3 { transform: translateY(-18px); width: 214px; z-index: 3; border-color: rgba(255,122,26,.55); }
.so-ph-4 { transform: rotate(4deg); }
.so-ph-5 { transform: rotate(8deg) translateY(18px); }
.so-phone:hover { transform: translateY(-10px) rotate(0deg); border-color: rgba(45,212,191,.6); }
.so-phone.on { border-color: rgba(200,247,81,.7); box-shadow: 0 30px 70px rgba(200,247,81,.18); }
.so-phone.on::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 8px; height: 2px; border-radius: 1px; background: #C8F751; }
.so-phone:focus-visible { outline: 2px solid #C8F751; outline-offset: 3px; }
.so-ph-top { display: flex; align-items: center; gap: 7px; }
.so-ph-top span { display: grid; min-width: 0; }
.so-ph-top b { font-size: 10.5px; color: #f5f5f6; }
.so-ph-top small { font-size: 8.5px; color: #8f8b80; }
.so-dots { margin-left: auto; width: 10px; height: 3px; border-radius: 2px; background: #4a4536; box-shadow: 0 5px 0 #4a4536; }
.so-phone p { margin: 9px 0 0; font-size: 10.5px; line-height: 1.45; color: #cfcabb; }
.so-ph-art { position: relative; margin-top: 9px; height: 118px; border-radius: 10px; overflow: hidden;
  background: radial-gradient(60% 70% at 30% 25%, #f0a35a, #8a3f14 65%, #3a1d0c); }
.so-ph-art::before { content: ""; position: absolute; right: 14%; top: 22%; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.28); }
.so-ph-art::after { content: ""; position: absolute; left: -10%; bottom: -20%; width: 90%; height: 60%; border-radius: 50%; background: rgba(20,19,17,.55); }
.so-ph-2 .so-ph-art, .so-ph-5 .so-ph-art { background: radial-gradient(60% 70% at 40% 30%, #6ee7d8, #1c6f68 60%, #0b2c2a); }
.so-ph-4 .so-ph-art { background: radial-gradient(60% 70% at 35% 30%, #e7f7b8, #7c9a2c 60%, #2c3a0b); }
.so-ph-foot { display: flex; justify-content: space-between; margin-top: 9px; font-size: 8.5px; color: #8f8b80; }

/* ---- 2. networks ---- */
.so-groups { display: grid; gap: 10px; margin-top: 24px; }
.so-group { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 12px; background: var(--pp-card); border: 1px solid var(--pp-line); }
.so-group > span { width: 132px; flex: 0 0 auto; font: 600 10.5px/1 ui-monospace, Menlo, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--pp-mute); }
.so-group > div { display: flex; flex-wrap: wrap; gap: 6px; }
.so-more { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; color: var(--orange-2); }
.so-more .ic { width: 13px; height: 13px; }
.so-group + .so-more { margin-top: 0; }
p.so-more, .so-linkrow { margin: 20px 0 0; font-size: 13px; line-height: 1.5; color: var(--pp-mute); }
.so-orbit { position: relative; width: 540px; height: 540px; margin-inline: auto; display: grid; place-items: center; }
.so-orbit img { position: relative; z-index: 2; width: 230px; height: auto; filter: drop-shadow(0 24px 50px rgba(0,0,0,.5)); }
.so-orb-ring { position: absolute; inset: 8%; border-radius: 50%; border: 1px solid rgba(45,212,191,.22);
  box-shadow: inset 0 0 60px rgba(45,212,191,.08), 0 0 0 34px rgba(255,255,255,.015); }
.so-orb-ring::after { content: ""; position: absolute; inset: 12%; border-radius: 50%; border: 1px dashed rgba(255,255,255,.12); }
.so-orb-chips { position: absolute; inset: 0; }
.so-orb-i { position: absolute; left: 50%; top: 50%;
  transform: rotate(var(--a)) translate(248px) rotate(calc(-1 * var(--a))) translate(-50%, -50%); }
.so-orb-i .pp-ic { width: 32px; height: 32px; border-radius: 10px; font-size: 11px; box-shadow: 0 10px 24px rgba(0,0,0,.45); }

/* ---- 3. fitted ---- */
.so-fit { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: start; }
.so-fit-card { padding: 13px; border-radius: 16px; background: #16161b; border: 1px solid #2f2c3a; color: #e9e9ee; box-shadow: 0 26px 50px rgba(0,0,0,.35); }
.so-fit-ig { transform: rotate(-3deg) translateY(16px); }
.so-fit-li { transform: translateY(-10px); }
.so-fit-x { transform: rotate(3deg) translateY(22px); }
.so-fit-card p { margin: 9px 0 0; font-size: 11.5px; line-height: 1.5; color: #cfcabb; }
.so-fit-card em { font-style: normal; color: #7dd3c0; }
.so-fit-card .so-ph-art { height: 92px; }
.so-count { display: block; margin-top: 8px; font: 600 9.5px/1 ui-monospace, Menlo, monospace; color: #8f8b80; }

/* ---- 4. best times ---- */
.so-heat-card { padding: 24px 24px 22px; border-radius: 18px; background: #1b1610; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 30px 60px rgba(0,0,0,.4); color: #f5f5f6; }
.so-heat-top { display: flex; align-items: center; justify-content: space-between; }
.so-heat-top b { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.so-heat-top .ic { width: 15px; height: 15px; color: var(--orange); }
.so-heat-top span { font-size: 10.5px; color: #8f8b80; }
.so-hgrid { display: grid; grid-template-columns: 26px repeat(7, 1fr); gap: 6px; margin-top: 18px; align-items: center; }
.so-hgrid s { text-decoration: none; text-align: center; font-size: 9px; color: #8f8b80; }
.so-hh { font-size: 9px; color: #8f8b80; }
.so-hgrid u { display: block; height: 42px; border-radius: 6px; }
.so-note { margin: 16px 0 0; font-size: 12.5px; line-height: 1.5; color: #b8ac98; }
.so-week { margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.1); }
.so-week > span { font: 600 9.5px/1 ui-monospace, Menlo, monospace; letter-spacing: .14em; text-transform: uppercase; color: #8f8b80; }
.so-week > div { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 10px; }
.so-day { display: grid; place-items: center; gap: 6px; padding: 9px 0; border-radius: 8px; background: #241e16; }
.so-day s { text-decoration: none; font-size: 9px; color: #8f8b80; }
.so-day .pp-ic { width: 20px; height: 20px; border-radius: 6px; font-size: 8px; }

/* ---- 5. copilot ---- */
.so-cops { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; z-index: 2; }
.so-cop { padding: 20px; }
.so-cop-ic { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 24px; border-radius: 10px;
  background: rgba(255,122,26,.16); color: var(--orange); }
.so-cop-ic .ic { width: 17px; height: 17px; }
.so-cop h3 { font-size: 16px; }
.so-run { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; margin-top: 30px;
  padding: 38px 38px; border-radius: 22px; overflow: hidden; border: 1px solid var(--pp-line);
  background: radial-gradient(80% 120% at 80% 120%, rgba(45,212,191,.16), transparent 60%), rgba(255,255,255,.045); }
.so-run-copy h3 { margin: 14px 0 0; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.03em; color: var(--pp-ink); }
.so-run-copy p { margin: 12px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--pp-mute); max-width: 44ch; }
.so-run-copy .so-more { margin-top: 16px; }
.so-run-visual { position: relative; display: grid; place-items: center; min-height: 360px; }
.so-run-visual img { position: relative; z-index: 2; width: 220px; height: auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,.5)); }
.so-ring { position: absolute; inset: 0; }
.so-ring-i { position: absolute; left: 50%; top: 50%;
  transform: rotate(var(--a)) translate(150px) rotate(calc(-1 * var(--a))) translate(-50%, -50%); opacity: .9; }
.so-mini-cal { position: absolute; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; padding: 8px; width: 140px;
  border-radius: 10px; background: rgba(13,12,10,.85); border: 1px solid var(--pp-line); z-index: 3; }
.so-mini-cal u { height: 10px; border-radius: 2px; background: rgba(255,255,255,.12); }
.so-mini-cal u.on { background: var(--orange); }

/* ---- 6. inbox ---- */
.so-inbox { border-radius: 18px; padding: 14px; background: #15140f; border: 1px solid #34312a; box-shadow: 0 30px 60px rgba(0,0,0,.45); color: #f5f5f6; }
.so-inbox-top { display: flex; gap: 6px; padding-bottom: 12px; border-bottom: 1px solid #2c2921; flex-wrap: wrap; }
.so-tab { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 8px; font-size: 11px; cursor: pointer;
  color: #cfcabb; background: #201e17; border: 1px solid #36332a; }
.so-tab b { font-size: 9px; padding: 1px 5px; border-radius: 4px; background: #2d2a22; color: #9a958a; }
.so-tab.on { border-color: rgba(45,212,191,.6); background: rgba(45,212,191,.14); color: #ccfbf1; }
.so-threads { display: grid; gap: 6px; padding: 12px 0; }
.so-thread { display: grid; grid-template-columns: 24px 1fr auto auto; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; background: #1d1c16; }
.so-thread[hidden] { display: none; }
.so-thread b { display: block; font-size: 11.5px; }
.so-thread span:not(.so-kind) { display: block; font-size: 11px; color: #a9a9b3; }
.so-kind { font: 600 8.5px/1 ui-monospace, Menlo, monospace; letter-spacing: .1em; text-transform: uppercase; color: #ffb36b; }
.so-thread time { font-size: 9px; color: #6f6b60; }
.so-reply { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 10px; border-radius: 12px;
  background: rgba(45,212,191,.10); border: 1px solid rgba(45,212,191,.35); }
.so-reply img { width: 34px; height: auto; }
.so-reply small { font-size: 9.5px; color: #7dd3c0; letter-spacing: .04em; }
.so-reply p { margin: 2px 0 0; font-size: 12px; color: #f5f5f6; }
.so-send { padding: 5px 12px; border-radius: 8px; font-size: 11px; font-weight: 700; color: #0d2d22; background: #34d399; }

/* ---- 7. bio ---- */
.so-bio-shot { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; padding-left: 26px; min-height: 360px; }
.so-bio-rows { display: grid; gap: 8px; align-content: center; }
.so-bio-row { display: grid; grid-template-columns: 24px 1fr auto 14px; align-items: center; gap: 8px; padding: 9px 11px; border-radius: 10px;
  background: var(--pp-card); border: 1px solid var(--pp-line); font-size: 11.5px; color: var(--pp-ink); }
.so-bio-row b { font-size: 11.5px; }
.so-bio-row span { font-size: 10px; color: var(--pp-mute); }
.so-bio-row .ic { width: 13px; height: 13px; color: var(--pp-mute); }
.so-bio-phone { width: 262px; padding: 20px 18px 18px; border-radius: 26px; text-align: center; color: #2a2117;
  background: linear-gradient(180deg, #fdf1e0, #f7e2c8); border: 6px solid #2a2820; box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.so-bio-logo { display: grid; place-items: center; width: 42px; height: 42px; margin: 0 auto 8px; border-radius: 50%;
  font-style: normal; font-weight: 800; font-size: 17px; color: #fff; background: var(--orange); }
.so-bio-phone b { display: block; font-size: 14px; }
.so-bio-phone small { display: block; margin-top: 3px; font-size: 10px; line-height: 1.4; color: #6b5a44; }
.so-bio-btn { display: block; margin-top: 12px; padding: 8px; border-radius: 9px; font-size: 11px; font-weight: 700; color: #fdf1e0; background: #1f1a14; }
.so-bio-btn2 { background: #fff; color: #2a2117; border: 1px solid #e2cfae; }
.so-bio-socials { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.so-bio-socials .pp-ic { width: 22px; height: 22px; border-radius: 6px; font-size: 8px; }
.so-bio-stats { position: absolute; right: -8px; bottom: -18px; width: 132px; padding: 10px; border-radius: 12px;
  background: #1b1a14; border: 1px solid #383429; color: #f5f5f6; box-shadow: 0 20px 40px rgba(0,0,0,.45); }
.so-bio-stats small { display: block; font-size: 8.5px; color: #8f8b80; letter-spacing: .06em; text-transform: uppercase; }
.so-bio-stats > div { display: flex; align-items: flex-end; gap: 4px; height: 46px; margin-top: 6px; }
.so-bio-stats u { flex: 1; border-radius: 2px 2px 0 0; background: var(--orange); }
.so-bio-mascot { position: absolute; left: -34px; top: -76px; width: 150px; height: auto; }

/* ---- 8. toolkit ---- */
.so-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -18px 0 34px; position: relative; z-index: 2; }
.so-tool-chip { padding: 6px 13px; border-radius: 999px; font-size: 12px; cursor: pointer; color: #cfcabb;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.so-tool-chip.on, .so-tool-chip:hover { border-color: rgba(255,122,26,.65); background: rgba(255,122,26,.16); color: #ffe0c4; }
.so-grid { position: relative; display: grid; grid-template-columns: 1fr .66fr 1fr; gap: 24px; align-items: start; max-width: 1040px; margin-inline: auto; }
.so-col { display: grid; gap: 20px; }
.so-hub { position: sticky; top: 120px; display: grid; place-items: center; padding-top: 170px; }
.so-hub-card { padding: 26px; border-radius: 18px; background: radial-gradient(120% 120% at 20% 0%, rgba(255,122,26,.32), transparent 60%),
  rgba(255,122,26,.12); border: 1px solid rgba(255,122,26,.45); }
.so-hub-ic { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 14px; border-radius: 10px; background: var(--orange); color: #141311; }
.so-hub-ic .ic { width: 17px; height: 17px; }
.so-hub-card b { font-size: 17px; color: var(--pp-ink); }
.so-hub-card p { margin: 8px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--pp-mute); }
.so-hub-tag { display: inline-block; margin-top: 14px; padding: 4px 9px; border-radius: 6px; font: 700 9.5px/1 ui-monospace, monospace;
  letter-spacing: .14em; text-transform: uppercase; background: rgba(255,255,255,.08); color: var(--pp-ink); }
.so-tool { display: block; border-radius: 16px; overflow: hidden; background: var(--pp-card); border: 1px solid var(--pp-line);
  transition: transform .18s var(--ease), border-color .18s, box-shadow .18s; }
.so-tool:hover, .so-tool.on { transform: translateY(-3px); border-color: rgba(255,122,26,.55); box-shadow: 0 24px 50px rgba(0,0,0,.35); }
.so-art { position: relative; display: grid; place-items: center; height: 176px; margin: 12px 12px 0; border-radius: 10px; overflow: hidden;
  background: radial-gradient(70% 90% at 30% 20%, rgba(255,122,26,.35), rgba(20,19,17,.9)); }
.so-art span { font-size: 10.5px; padding: 5px 10px; border-radius: 999px; background: rgba(13,12,10,.72); border: 1px solid #3a362c; color: #f5f5f6; }
.so-art .pp-ic { position: absolute; right: 10px; bottom: 10px; width: 26px; height: 26px; }
.so-art-bio span { border-radius: 8px 8px 0 0; }
.so-art-design { background: radial-gradient(70% 90% at 30% 20%, rgba(200,247,81,.3), rgba(20,19,17,.9)); }
.so-art-workflows { background: radial-gradient(70% 90% at 30% 20%, rgba(45,212,191,.3), rgba(20,19,17,.9)); }
.so-art-brand { background: radial-gradient(70% 90% at 30% 20%, rgba(45,212,191,.22), rgba(20,19,17,.9)); }
.so-tool-body { padding: 16px 18px 18px; }
.so-tool-body b { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--pp-ink); }
.so-tool-body b .ic { width: 15px; height: 15px; color: var(--orange); }
.so-tool-body p { margin: 6px 0 0; font-size: 12px; line-height: 1.5; color: var(--pp-mute); }
.so-tool-body .so-more { margin-top: 12px; font-size: 12px; }

/* ---- light theme ---- */
html[data-theme="light"] .so-fit-card,
html[data-theme="light"] .so-inbox,
html[data-theme="light"] .so-heat-card { background: #fff; border-color: #e1e1e6; color: #141418; box-shadow: 0 20px 40px rgba(20,20,24,.08); }
html[data-theme="light"] .so-thread, html[data-theme="light"] .so-tab { background: #f3f3f6; border-color: #e1e1e6; color: #2a2a30; }
html[data-theme="light"] .so-thread span:not(.so-kind) { color: #55555c; }
html[data-theme="light"] .so-day { background: #f3f3f6; }
html[data-theme="light"] .so-hgrid u.h0 { background: #e6e6ea; }
html[data-theme="light"] .so-bio-row { background: #fff; }
html[data-theme="light"] .so-bio-stats, html[data-theme="light"] .so-mini-cal { background: #fff; color: #141418; }
html[data-theme="light"] .so-heat-top span, html[data-theme="light"] .so-note { color: #55555c; }

/* ---- responsive ---- */
@media (max-width: 1100px) {
  .so-orbit { width: 420px; height: 420px; }
  .so-orb-i { transform: rotate(var(--a)) translate(190px) rotate(calc(-1 * var(--a))) translate(-50%, -50%); }
  .so-phones { flex-wrap: wrap; justify-content: center; }
  .so-hero-mascot { display: none; }
  .so-cops { grid-template-columns: repeat(2, 1fr); }
  .so-grid { grid-template-columns: 1fr; max-width: 560px; }
  .so-hub { order: -1; padding-top: 0; position: static; }
  .so-fit { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; }
  .so-fit-ig, .so-fit-li, .so-fit-x { transform: none; }
  .so-ring-i { display: none; }
}
@media (max-width: 880px) {
  .so-hero-in { padding-top: 40px; }
  .so-stage { padding-bottom: 26px; }
  .so-phones { min-height: 0; gap: 10px; }
  .so-phone { width: 150px; padding: 9px; }
  .so-ph-3 { width: 160px; }
  .so-ph-art { height: 82px; }
  .so-phone p { font-size: 9.5px; }
  .so-ph-1, .so-ph-5 { display: none; }
  .so-orbit { width: 340px; height: 340px; }
  .so-orb-i { transform: rotate(var(--a)) translate(150px) rotate(calc(-1 * var(--a))) translate(-50%, -50%); }
  .so-orb-i .pp-ic { width: 26px; height: 26px; font-size: 9px; }
  .so-orbit img { width: 150px; }
  .so-run { grid-template-columns: 1fr; padding: 22px; }
  .so-run-visual { min-height: 200px; }
  .so-bio-shot { grid-template-columns: 1fr; justify-items: center; padding-left: 0; }
  .so-bio-rows { width: 100%; }
  .so-bio-mascot { display: none; }
  .so-bio-stats { position: static; margin-top: 10px; }
  .so-cops { grid-template-columns: 1fr; }
  .so-group { flex-direction: column; align-items: flex-start; gap: 8px; }
  .so-group > span { width: auto; }
  .so-thread { grid-template-columns: 22px 1fr auto; }
  .so-thread time { display: none; }
}
@media (max-width: 560px) {
  .so-phone { width: 132px; }
  .so-ph-4 { display: none; }
  .so-reply { grid-template-columns: 28px 1fr; }
  .so-send { grid-column: 2; justify-self: start; }
}
