/* My Collabs public site — "Night" design, matching the app. */
:root {
  --bg: #0d0c12;
  --glass: rgba(255, 255, 255, .06);
  --glass-2: rgba(255, 255, 255, .1);
  --line: rgba(255, 255, 255, .12);
  --text: #ffffff;
  --muted: #a8a4b8;
  --violet: #8b5cf6;
  --violet-l: #c4b5fd;
  --orange: #ff8a4c;
  --yellow: #ffd54a;
  --green: #5ee6b5;
  --red: #ff6b81;
  --brand: var(--violet-l);
  --g-hero: linear-gradient(135deg, #7b3ff2, #4338ca);
  --g-sky: linear-gradient(180deg, #7c3aed, #5aa8ff);
  --g-violet: linear-gradient(180deg, #7c3aed, #b57bff);
  --g-orange: linear-gradient(180deg, #e8551b, #d42a68);
  --g-yellow: linear-gradient(180deg, #ffd54a, #ff9f1c);
  --g-green: linear-gradient(180deg, #0b8a60, #14b38c);
  --g-pink: linear-gradient(180deg, #e0115f, #ff6b9a);
  --g-sun: linear-gradient(90deg, #ffd54a, #ff8a4c);
  --radius: 22px;
  --max: 1140px;
  --read: 720px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(1100px 620px at 50% -12%, rgba(75, 43, 214, .55), transparent 62%),
    radial-gradient(700px 500px at 100% 30%, rgba(212, 42, 104, .12), transparent 70%),
    var(--bg);
  background-repeat: no-repeat;
  font: 17px/1.65 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; }
h1 { font-size: clamp(2.3rem, 6vw, 4.1rem); margin: 0 0 .45em; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); margin: 0 0 .5em; }
h3 { font-size: 1.15rem; margin: 1.6em 0 .4em; }
p, ul, ol { margin: 0 0 1.1em; }
li { margin-bottom: .35em; }
code { background: var(--glass-2); padding: .1em .4em; border-radius: 6px; font-size: .92em; }
::selection { background: rgba(139, 92, 246, .45); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.read { max-width: var(--read); }
.sun { background: var(--g-sun); -webkit-background-clip: text; background-clip: text; color: transparent; }
.yellow { color: var(--yellow); }
.muted { color: var(--muted); }

/* ---------- Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(13, 12, 18, .62);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--text); text-decoration: none; }
.logo-mark { width: 34px; height: 34px; border-radius: 11px; background: var(--g-sky); color: #fff; display: grid; place-items: center; font-size: .85rem; font-weight: 800; box-shadow: 0 6px 20px -6px rgba(124, 58, 237, .8); }
.nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; font-size: .95rem; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }

/* Creator Guides hook: price-tag label and NEW sticker */
.nav .nav-guides { color: var(--text); font-weight: 800; display: inline-flex; align-items: center; gap: 8px; }
.ptag {
  position: relative; display: inline-flex; align-items: center;
  padding: 3px 9px 3px 14px; font-size: .64rem; font-weight: 800; letter-spacing: .08em; line-height: 1.2;
  color: #2a1a00;
  background: linear-gradient(110deg, #ffd54a 0%, #ffd54a 38%, #fff7c7 50%, #ff8a4c 62%, #ff8a4c 100%);
  background-size: 260% 100%;
  clip-path: polygon(9px 0, 100% 0, 100% 100%, 9px 100%, 0 50%);
  animation: tag-shine 2.2s linear infinite, tag-pulse 1.6s ease-in-out infinite;
}
.ptag::before { content: ""; position: absolute; left: 7px; top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%; background: #0d0c12; }
.btn .ptag { margin-left: 2px; }
.sticker {
  display: inline-block; padding: 3px 9px; border-radius: 8px; transform: rotate(-6deg);
  font-size: .68rem; font-weight: 800; letter-spacing: .08em; line-height: 1.3; vertical-align: middle;
  color: #fff; background: linear-gradient(135deg, #ff3d7f, #ff8a4c);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .15), 0 6px 18px -4px rgba(255, 61, 127, .8);
  animation: sticker-flash 1.4s ease-in-out infinite;
}
.kicker .sticker { margin-left: 8px; }
.start-chip { display: inline-flex; align-items: center; gap: 10px; margin-top: 4px; padding: 8px 14px 8px 8px; border-radius: 999px; background: var(--glass); border: 1px solid rgba(255, 213, 74, .35); color: var(--text); font-weight: 700; font-size: .92rem; text-decoration: none; }
.start-chip:hover { border-color: var(--yellow); }
.card.featured { position: relative; display: block; margin-bottom: 16px; text-decoration: none; color: var(--text); background: linear-gradient(135deg, rgba(123, 63, 242, .35), rgba(67, 56, 202, .25)); border-color: rgba(196, 181, 253, .45); }
.card.featured h3 { margin: 8px 0 .4em; font-size: 1.3rem; }
.card.featured .meta { color: #d9d3ea; margin: 0; }
.card.featured:hover { border-color: var(--violet-l); }
@keyframes tag-shine { from { background-position: 100% 0; } to { background-position: -160% 0; } }
@keyframes tag-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes sticker-flash {
  0%, 100% { transform: rotate(-6deg) scale(1); filter: brightness(1); }
  50% { transform: rotate(-6deg) scale(1.1); filter: brightness(1.25); }
}
@media (prefers-reduced-motion: reduce) { .ptag, .sticker { animation: none; } }

/* ---------- Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: #fff; color: #14121a; box-shadow: 0 10px 30px -10px rgba(255, 255, 255, .45); }
.btn-ghost { color: var(--text); border-color: rgba(255, 255, 255, .25); background: var(--glass); }
.nav .btn { padding: 9px 18px; }
.nav .btn-primary { color: #14121a; }

/* ---------- Hero */
.hero { padding: 72px 0 40px; overflow-x: clip; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.pill-tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); font-size: .85rem; font-weight: 700; color: var(--violet-l); margin-bottom: 22px; }
.pill-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 12px var(--yellow); }
.lede { font-size: 1.18rem; color: var(--muted); max-width: 33em; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 14px; }
.small { font-size: .9rem; color: var(--muted); }
.works-with { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 26px; color: var(--muted); font-size: .9rem; font-weight: 600; }
.works-with .logos { display: flex; gap: 8px; }

/* Platform logo badges */
.pl { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.pl svg { width: 20px; height: 20px; fill: #fff; }
.pl.ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.pl.yt { background: #ff0033; }
.pl.fb { background: #0866ff; }
.pl.x { background: #000; border: 1px solid rgba(255, 255, 255, .25); }
.pl.th { background: #000; border: 1px solid rgba(255, 255, 255, .25); }
.pl.sc { background: #fffc00; }
.pl.sc svg { fill: #000; }
.pl.sm { width: 30px; height: 30px; border-radius: 9px; }
.pl.sm svg { width: 16px; height: 16px; }

/* ---------- Phone mock-up */
.stage { position: relative; display: grid; place-items: center; padding: 20px 0; }
.stage::before { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(124, 58, 237, .55), transparent 65%); filter: blur(10px); }
.phone {
  position: relative; width: 290px; border-radius: 46px; padding: 12px;
  background: linear-gradient(160deg, #2a2735, #121019);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.screen {
  border-radius: 36px; overflow: hidden; padding: 18px 14px 20px;
  background: radial-gradient(420px 260px at 50% -20%, rgba(75, 43, 214, .75), transparent 70%), #0d0c12;
}
.notch { width: 92px; height: 24px; border-radius: 20px; background: #000; margin: -6px auto 12px; }
.app-bar { display: flex; align-items: center; justify-content: space-between; font-weight: 800; font-size: 1.05rem; margin-bottom: 12px; }
.avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--g-sky); border: 2px solid rgba(255, 255, 255, .7); }
.m-hero { border-radius: 20px; padding: 14px; background: var(--g-hero); position: relative; box-shadow: 0 14px 30px -14px rgba(123, 63, 242, .9); }
.m-hero .lbl { font-size: .68rem; color: rgba(255, 255, 255, .8); font-weight: 600; }
.m-hero .big { font-size: 1.45rem; font-weight: 800; line-height: 1.2; }
.m-hero .row { display: grid; grid-template-columns: 1.15fr 1fr .55fr; gap: 4px; margin-top: 8px; font-size: .78rem; font-weight: 800; }
.m-hero .row span { display: block; font-size: .6rem; font-weight: 600; color: rgba(255, 255, 255, .78); }
.m-hero .spark { position: absolute; right: 12px; top: 10px; color: rgba(255, 255, 255, .55); font-size: 1.2rem; }
.m-title { font-size: .85rem; font-weight: 800; margin: 14px 0 8px; }
.m-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.m-tile { border-radius: 16px; padding: 10px; min-height: 70px; display: flex; flex-direction: column; justify-content: space-between; font-size: .66rem; font-weight: 700; }
.m-tile b { font-size: 1.1rem; align-self: flex-end; margin-top: -18px; }
.m-tile i { width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, .2); display: grid; place-items: center; }
.m-tile i svg { width: 13px; height: 13px; fill: currentColor; }
.t-violet { background: var(--g-violet); } .t-orange { background: var(--g-orange); }
.t-yellow { background: var(--g-yellow); color: #2a1a00; } .t-green { background: var(--g-green); }
.t-yellow i { background: rgba(42, 26, 0, .14); }
.m-row { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 9px; border-radius: 16px; background: var(--glass); border: 1px solid var(--line); font-size: .7rem; }
.m-row .t { flex: 1; font-weight: 700; line-height: 1.3; }
.m-row .t span { display: block; font-weight: 500; color: var(--muted); }
.m-row .amt { text-align: right; font-weight: 800; }
.m-row .amt span { display: block; color: var(--orange); font-size: .6rem; }

/* Floating cards around the phone */
.float {
  position: absolute; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 10px; border-radius: 18px;
  background: rgba(28, 26, 36, .78); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .8);
  font-size: .82rem; font-weight: 700; white-space: nowrap;
  animation: bob 6s ease-in-out infinite;
}
.float span { display: block; font-weight: 500; color: var(--muted); font-size: .74rem; }
.float.f1 { top: 22%; left: -16%; }
.float.f2 { top: 52%; right: -12%; animation-delay: -3s; }
.float.f3 { bottom: 8%; left: -14%; animation-delay: -1.5s; }
.float .ok, .ok { color: var(--green); font-weight: 700; } .float .due, .due { color: var(--yellow); font-weight: 700; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .float { animation: none; } .btn { transition: none; } }

/* ---------- Sections */
section { padding: 44px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.section-head p { color: var(--muted); margin: 0; max-width: 34em; }
.kicker { color: var(--yellow); font-weight: 800; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }

/* Platform strip */
.platforms { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.platform { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; background: var(--glass); border: 1px solid var(--line); font-weight: 700; font-size: .95rem; }

/* Gradient feature tiles (like the app's pipeline) */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { border-radius: 26px; padding: 22px; min-height: 230px; display: flex; flex-direction: column; position: relative; overflow: hidden; box-shadow: 0 24px 50px -28px rgba(0, 0, 0, .9); }
.tile .ico { width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .22); display: grid; place-items: center; margin-bottom: auto; }
.tile .ico svg { width: 26px; height: 26px; fill: currentColor; }
.tile h3 { margin: 18px 0 6px; font-size: 1.2rem; }
.tile p { margin: 0; font-size: .95rem; opacity: .92; }
.tile::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.tile.t-yellow .ico { background: rgba(42, 26, 0, .12); }

/* Glass cards */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.card .ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 14px; }
.card .ico svg { width: 22px; height: 22px; fill: #fff; }

/* Creator niches */
.niches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.niche { position: relative; border-radius: 26px; min-height: 290px; padding: 20px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
.niche .art { position: absolute; inset: 0; z-index: -1; }
.niche .art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, .55)); }
.niche .glyph { position: absolute; z-index: -1; right: 4px; top: 8px; font-size: 104px; line-height: 1; opacity: .9; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .35)); }
.niche h3 { margin: 0 0 4px; font-size: 1.25rem; text-shadow: 0 2px 12px rgba(0, 0, 0, .25); }
.niche p { margin: 0; font-size: .88rem; color: rgba(255, 255, 255, .85); }
.niche .chips { display: flex; gap: 6px; margin-top: 10px; }

/* Steps */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 0; }
.steps li::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: var(--g-sky); color: #fff; font-weight: 800; margin-bottom: 14px; }

/* Article list */
.post-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.post-list a.card { text-decoration: none; color: var(--text); display: block; transition: border-color .15s ease, transform .15s ease; }
.post-list a.card:hover { border-color: var(--violet); transform: translateY(-2px); }
.post-list a.card h3 { margin: 0 0 .4em; }
.post-list .meta { color: var(--muted); font-size: .9rem; margin: 0; }

/* CTA band */
.band { position: relative; overflow: hidden; border-radius: 32px; padding: 52px 28px; text-align: center; background: var(--g-hero); box-shadow: 0 30px 70px -30px rgba(123, 63, 242, .8); }
.band::before, .band::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.band::before { width: 260px; height: 260px; left: -80px; bottom: -120px; }
.band::after { width: 180px; height: 180px; right: -50px; top: -60px; }
.band h2 { margin-top: 0; }
.band p { color: rgba(255, 255, 255, .88); max-width: 36em; margin: 0 auto 1.4em; }

/* ---------- Article / page body */
.page { padding: 48px 0 56px; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 1.2em; }
.crumbs a { color: var(--muted); }
.meta-line { color: var(--muted); font-size: .92rem; margin-bottom: 2em; }
.page h2 { margin-top: 1.8em; }
.callout { background: rgba(139, 92, 246, .14); border: 1px solid rgba(139, 92, 246, .35); border-left: 4px solid var(--violet); border-radius: 0 16px 16px 0; padding: 14px 18px; margin: 1.6em 0; }
.callout p:last-child { margin-bottom: 0; }
.template { background: var(--glass); border: 1px dashed rgba(255, 255, 255, .22); border-radius: 16px; padding: 16px 18px; white-space: pre-wrap; font: 15px/1.6 ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; margin: 0 0 1.4em; color: #e9e5f5; }
.table-wrap { overflow-x: auto; margin: 0 0 1.4em; border: 1px solid var(--line); border-radius: 16px; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { background: var(--glass-2); }
.cta-box { margin-top: 2.4em; background: var(--g-hero); border-radius: var(--radius); padding: 24px; }
.cta-box p { margin-bottom: .9em; }
.cta-box a:not(.btn) { color: #fff; }

/* ---------- Footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 30px 0 44px; color: var(--muted); font-size: .92rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }
.tm { flex-basis: 100%; font-size: .8rem; color: #77728a; margin: 0; }

/* ---------- Responsive */
@media (max-width: 980px) {
  .platforms { grid-template-columns: repeat(3, 1fr); }
  .tiles, .niches { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .hero { padding-top: 44px; }
  .hero-grid, .features, .steps, .post-list { grid-template-columns: 1fr; }
  .stage { margin-top: 10px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
  .float { position: static; animation: none; width: min(100%, 320px); white-space: normal; }
}
@media (max-width: 520px) {
  .platforms { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tile { min-height: 200px; padding: 16px; }
  .tile h3 { font-size: 1.02rem; }
  .tile p { font-size: .85rem; }
  .niches { grid-template-columns: 1fr; }
  .nav { gap: 14px; }
  .nav a:not(.btn) { font-size: .9rem; }
  .nav .hide-sm { display: none; }
  .phone { width: 262px; }
  .float { font-size: .74rem; padding: 8px 12px 8px 8px; }
  .float .pl { width: 30px; height: 30px; border-radius: 9px; }
}
