/* =====================================================================
   Creator Help Center — Design Tokens
   Palette: warm off-white surface, near-black ink, violet spotlight
   accent for creator energy, amber for warmth/CTAs, WhatsApp green kept
   true-to-brand for recognizability on contact actions.
   Type: Space Grotesk (display) + Inter (body) + JetBrains Mono (stats)
   Signature: "film-reel" perforated dividers + spotlight marquee strip
===================================================================== */
:root {
  --bg: #FAFAF8;
  --surface: #FFFFFF;
  --surface-2: #F1EEFB;
  --ink: #16151C;
  --ink-soft: #57566A;
  --ink-faint: #8B899C;
  --line: #E7E5F0;
  --accent: #6D28D9;
  --accent-ink: #FFFFFF;
  --accent-soft: #EFE7FD;
  --amber: #F59E0B;
  --amber-ink: #201400;
  --whatsapp: #22C55E;
  --whatsapp-dark: #16A34A;
  --danger: #DC2626;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(22,21,28,.06), 0 1px 1px rgba(22,21,28,.04);
  --shadow-md: 0 8px 24px rgba(22,21,28,.08);
  --shadow-lg: 0 20px 50px rgba(22,21,28,.14);
  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
p { margin: 0 0 1em; color: var(--ink-soft); }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 999; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 9px 16px; font-size: 13.5px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { box-shadow: var(--shadow-md); }
.btn-amber { background: var(--amber); color: var(--amber-ink); }
.btn-outline { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: var(--whatsapp-dark); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(250,250,248,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { height: 34px; width: auto; }
.brand-mark { color: var(--accent); display: inline-flex; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 19px; }
.main-nav { display: none; gap: 26px; align-items: center; }
.main-nav a { font-weight: 600; font-size: 14.5px; color: var(--ink-soft); padding: 6px 2px; border-bottom: 2px solid transparent; }
.main-nav a:hover { color: var(--accent); border-color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-social { display: none; gap: 10px; }
.header-social a { color: var(--ink-soft); }
.header-social a:hover { color: var(--accent); }
.nav-toggle { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.nav-toggle span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }

@media (min-width: 900px) {
  .main-nav { display: flex; }
  .header-social { display: flex; }
  .nav-toggle { display: none; }
}
.main-nav.open { display: flex; position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); flex-direction: column; padding: 14px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); gap: 4px; }
.main-nav.open a { padding: 12px 4px; border-bottom: 1px solid var(--line); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 56px 0 40px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 80% -10%, var(--surface-2), transparent 60%); z-index: -1; }
.hero-inner { display: grid; gap: 26px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); background: var(--accent-soft); padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; }
.hero h1 { font-size: clamp(32px, 6vw, 56px); max-width: 15ch; }
.hero .lede { font-size: clamp(16px, 2vw, 19px); max-width: 52ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.hero-stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 16px; text-align: center; }
.hero-stat b { display: block; font-family: var(--font-mono); font-size: 22px; color: var(--accent); }
.hero-stat span { font-size: 12.5px; color: var(--ink-faint); }

/* ---------- Signature: film-reel perforation divider (Reels motif) ---------- */
.reel-divider { display: flex; align-items: center; gap: 6px; padding: 22px 0; overflow: hidden; }
.reel-divider .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--line); flex: none; }
.reel-divider .dot.accent { background: var(--accent); }
.reel-divider .track { flex: 1; height: 1px; background: var(--line); }

.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); overflow: hidden; padding: 14px 0; }
.marquee-track { display: flex; gap: 40px; width: max-content; animation: marquee 28s linear infinite; }
.marquee span { font-family: var(--font-mono); font-size: 13px; color: var(--ink-faint); white-space: nowrap; display: flex; align-items: center; gap: 10px; }
.marquee span::before { content: '\25CF'; color: var(--amber); font-size: 8px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- Sections ---------- */
.section { padding: 46px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(24px, 3.4vw, 32px); margin-bottom: 4px; }
.section-head p { margin: 0; }
.section-tag { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--amber); font-weight: 600; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- Grids & Cards ---------- */
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; transition: box-shadow .18s ease, transform .18s ease; display: flex; flex-direction: column; }
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-media { position: relative; aspect-ratio: 16/10; background: var(--surface-2); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; loading: lazy; }
.card-media .play-badge { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.card-media .play-badge span { width: 46px; height: 46px; border-radius: 50%; background: rgba(22,21,28,.55); color: #fff; display: flex; align-items: center; justify-content: center; }
.card-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--surface); box-shadow: 0 0 0 2px var(--accent-soft); }
.card-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-top { display: flex; align-items: center; gap: 10px; }
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; padding: 4px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.badge-amber { background: #FEF3E1; color: #92600B; }
.card h3 { font-size: 17px; margin-bottom: 0; }
.card .meta { font-size: 13px; color: var(--ink-faint); }
.card .desc { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 4px; }
.card-footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 8px; }
.icon-chip { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-faint); font-size: 12.5px; }

.reel-card .card-media { aspect-ratio: 9/13; }

.empty-state { text-align: center; padding: 50px 20px; border: 1.5px dashed var(--line); border-radius: var(--radius-md); color: var(--ink-faint); }

/* ---------- WhatsApp support block ---------- */
.support-block { background: linear-gradient(135deg, var(--accent) 0%, #4C1D95 100%); border-radius: var(--radius-lg); color: #fff; padding: 40px; display: grid; gap: 20px; position: relative; overflow: hidden; }
.support-block::after { content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; background: rgba(255,255,255,.08); border-radius: 50%; }
.support-block h2 { color: #fff; }
.support-block p { color: rgba(255,255,255,.82); }
.support-block .btn-whatsapp { background: #fff; color: var(--whatsapp-dark); }
.support-block .btn-whatsapp:hover { background: #f0fff4; }

/* ---------- Floating WhatsApp ---------- */
.floating-whatsapp {
  position: fixed; right: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 50%;
  background: var(--whatsapp); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(34,197,94,.45); z-index: 70; animation: pulse-wa 2.6s ease-in-out infinite;
}
@keyframes pulse-wa { 0%,100% { box-shadow: 0 10px 24px rgba(34,197,94,.45);} 50% { box-shadow: 0 10px 30px rgba(34,197,94,.7);} }
@media (prefers-reduced-motion: reduce) { .floating-whatsapp { animation: none; } }

/* ---------- Forms ---------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .form-grid.cols-2 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13.5px; font-weight: 600; }
.field .hint { font-size: 12px; color: var(--ink-faint); }
.field input[type=text], .field input[type=email], .field input[type=url], .field input[type=tel], .field input[type=password], .field select, .field textarea {
  padding: 12px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); font-size: 15px; font-family: inherit; background: var(--bg); color: var(--ink); width: 100%;
}
.field textarea { resize: vertical; min-height: 100px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); background: var(--surface); }
.field-error { color: var(--danger); font-size: 12.5px; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--ink-soft); }
.checkbox-row input { margin-top: 3px; }
.file-drop { border: 1.5px dashed var(--line); border-radius: var(--radius-sm); padding: 18px; text-align: center; color: var(--ink-faint); font-size: 13.5px; cursor: pointer; background: var(--bg); }
.file-drop:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Search bar ---------- */
.search-bar { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 18px; }
.search-bar input { border: none; outline: none; flex: 1; font-size: 15px; padding: 8px 0; background: transparent; }
.search-bar svg { color: var(--ink-faint); flex: none; }
.filters-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.filters-row select { padding: 9px 12px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font-size: 13.5px; }

/* ---------- Flash / alerts ---------- */
.flash { padding: 14px 18px; border-radius: var(--radius-sm); margin: 16px 0; font-weight: 600; font-size: 14px; }
.flash-success { background: #ECFDF3; color: #027A48; border: 1px solid #ABEFC6; }
.flash-error { background: #FEF3F2; color: #B42318; border: 1px solid #FDA29B; }
.flash-info { background: var(--accent-soft); color: var(--accent); border: 1px solid #DCC8FB; }

/* ---------- Success panel (post-submit) ---------- */
.success-panel { text-align: center; padding: 50px 24px; }
.success-icon { width: 66px; height: 66px; border-radius: 50%; background: #ECFDF3; color: #16A34A; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }

/* ---------- Pagination ---------- */
.pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 30px; }
.page-btn { padding: 9px 15px; border-radius: 10px; border: 1.5px solid var(--line); font-size: 13.5px; font-weight: 600; }
.page-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.page-btn:hover:not(.active) { border-color: var(--accent); color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #D6D4E0; padding: 50px 0 0; margin-top: 30px; }
.footer-grid { display: grid; gap: 30px; grid-template-columns: repeat(2, 1fr); }
.footer-col h4 { color: #fff; font-size: 14px; margin-bottom: 12px; }
.footer-col a { display: block; padding: 5px 0; font-size: 14px; color: #ADAABF; }
.footer-col a:hover { color: #fff; }
.footer-brand p { color: #ADAABF; font-size: 13.5px; margin: 10px 0 16px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { padding: 8px; background: rgba(255,255,255,.06); border-radius: 8px; display: inline-flex; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 34px; padding: 18px 20px; text-align: center; font-size: 12.5px; color: #918FA0; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: repeat(5, 1fr); } }

/* ---------- Ads ---------- */
.ad-slot { display: flex; justify-content: center; padding: 14px 0; }
.ad-slot:empty { display: none; }

/* ---------- Mobile bottom nav ---------- */
.mobile-tabbar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 65; background: var(--surface); border-top: 1px solid var(--line); display: flex; box-shadow: 0 -4px 14px rgba(0,0,0,.06); }
.mobile-tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 4px 8px; font-size: 10.5px; color: var(--ink-faint); font-weight: 600; }
.mobile-tabbar a.active, .mobile-tabbar a:hover { color: var(--accent); }
@media (min-width: 900px) { .mobile-tabbar { display: none; } }
body.has-tabbar { padding-bottom: 62px; }
@media (min-width: 900px) { body.has-tabbar { padding-bottom: 0; } }

/* ---------- Misc content pages ---------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.4em; }
.prose ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1em; }
.prose ul li { color: var(--ink-soft); margin-bottom: .4em; }

.breadcrumbs { font-size: 13px; color: var(--ink-faint); margin-bottom: 18px; }
.breadcrumbs a:hover { color: var(--accent); }

.contact-grid { display: grid; gap: 22px; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1fr 1.2fr; } }
.contact-tile { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); padding: 16px; border-radius: var(--radius-md); margin-bottom: 12px; }
.contact-tile .icon-wrap { width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; flex: none; }

.error-page { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 60px 20px; }
.error-page .code { font-family: var(--font-mono); font-size: 90px; color: var(--accent-soft); font-weight: 700; line-height: 1; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
