/* ═══════════════════════════════════════════════════════
   ylh-public.css — Elevated public-facing design system
   YouLikeHits 2026
   ═══════════════════════════════════════════════════════ */

/* ── Tokens ── */
:root {
  --ylhp-navy: #0f1b3e;
  --ylhp-deep: #152254;
  --ylhp-primary: #4f6ef7;
  --ylhp-accent: #6c5ce7;
  --ylhp-cta: #22c55e;
  --ylhp-cta-hover: #16a34a;
  --ylhp-text: #1e293b;
  --ylhp-text-muted: #64748b;
  --ylhp-bg: #f0f2f7;
  --ylhp-card-bg: rgba(255,255,255,.72);
  --ylhp-card-border: rgba(255,255,255,.35);
  --ylhp-card-shadow: 0 8px 32px rgba(15,27,62,.08);
  --ylhp-glass-blur: 16px;
  --ylhp-radius: 14px;
  --ylhp-radius-sm: 8px;
  --ylhp-font: 'Inter', system-ui, -apple-system, sans-serif;
  --ylhp-hero-from: var(--ylhp-navy);
  --ylhp-hero-to: var(--ylhp-accent);
}

/* ── Platform accent overrides ── */
.platform-youtube   { --ylhp-hero-from: #7f1d1d; --ylhp-hero-to: #dc2626; --ylhp-primary: #ef4444; }
.platform-tiktok    { --ylhp-hero-from: #042f2e; --ylhp-hero-to: #14b8a6; --ylhp-primary: #14b8a6; }
.platform-twitter   { --ylhp-hero-from: #0c1b33; --ylhp-hero-to: #1d9bf0; --ylhp-primary: #1d9bf0; }
.platform-soundcloud{ --ylhp-hero-from: #431407; --ylhp-hero-to: #f97316; --ylhp-primary: #f97316; }
.platform-website   { --ylhp-hero-from: #0f1b3e; --ylhp-hero-to: #4f6ef7; --ylhp-primary: #4f6ef7; }
.platform-pinterest { --ylhp-hero-from: #450a0a; --ylhp-hero-to: #e11d48; --ylhp-primary: #e11d48; }
.platform-twitch    { --ylhp-hero-from: #1e1045; --ylhp-hero-to: #9146ff; --ylhp-primary: #9146ff; }

/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; }
body.ylhp {
  margin: 0; padding: 0;
  font-family: var(--ylhp-font);
  background: var(--ylhp-bg);
  color: var(--ylhp-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Nav ── */
.ylhp-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(15,27,62,.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  height: 64px;
}
.ylhp-nav-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; padding: 0 20px;
}
.ylhp-nav-logo-link,
.ylhp-nav-logo-link:hover,
.ylhp-nav-logo-link:visited,
.ylhp-nav-logo-link:active { color: transparent; text-decoration: none; line-height: 0; font-size: 0; display: block; }
.ylhp-nav-logo { height: 30px; display: block; }
.ylhp-nav-links { display: flex; gap: 8px; align-items: center; }
.ylhp-nav-link {
  color: rgba(255,255,255,.8); text-decoration: none; font-size: .9rem;
  font-weight: 500; padding: 8px 16px; border-radius: 8px;
  transition: background .2s, color .2s;
}
a.ylhp-nav-link,
a.ylhp-nav-link:visited { color: rgba(255,255,255,.8); text-decoration: none; }
a.ylhp-nav-link:hover { color: #fff; background: rgba(255,255,255,.08); }
a.ylhp-nav-link--cta,
a.ylhp-nav-link--cta:visited {
  background: var(--ylhp-primary); color: #fff;
}
a.ylhp-nav-link--cta:hover { background: #3b5de7; color: #fff; }

/* ── Hero ── */
.ylhp-hero {
  position: relative;
  background: linear-gradient(135deg, var(--ylhp-hero-from) 0%, var(--ylhp-hero-to) 100%);
  padding: 120px 20px 80px;
  text-align: center;
  overflow: hidden;
}
.ylhp-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 20% 50%, rgba(255,255,255,.06) 0%, transparent 70%),
    radial-gradient(ellipse 500px 350px at 80% 30%, rgba(255,255,255,.04) 0%, transparent 70%);
  pointer-events: none;
}
.ylhp-hero-inner {
  position: relative; z-index: 1;
  max-width: 820px; margin: 0 auto;
}
.ylhp-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800; color: #fff;
  line-height: 1.2; margin: 0 0 16px;
  letter-spacing: -.02em;
}
.ylhp-hero p {
  font-size: clamp(.95rem, 1.8vw, 1.15rem);
  color: rgba(255,255,255,.82);
  line-height: 1.7; margin: 0 auto 28px;
  max-width: 640px;
}
.ylhp-hero-icon {
  width: 80px; height: 80px;
  margin: 0 auto 20px; display: block;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,.25));
  animation: ylhp-float 3s ease-in-out infinite;
}
@keyframes ylhp-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ── CTA buttons ── */
.ylhp-btn {
  display: inline-block; font-weight: 700; font-size: 1rem;
  text-decoration: none; border-radius: 10px; padding: 14px 36px;
  transition: transform .2s, box-shadow .2s, background .2s;
  cursor: pointer; border: none; font-family: var(--ylhp-font);
}
a.ylhp-btn,
a.ylhp-btn:hover,
a.ylhp-btn:visited,
a.ylhp-btn:active { color: #fff; text-decoration: none; }
.ylhp-btn:hover { transform: translateY(-2px); }
.ylhp-btn--primary {
  background: var(--ylhp-cta); color: #fff;
  box-shadow: 0 4px 20px rgba(34,197,94,.3);
}
.ylhp-btn--primary:hover {
  background: var(--ylhp-cta-hover); color: #fff;
  box-shadow: 0 8px 30px rgba(34,197,94,.4);
}
.ylhp-btn--outline {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,.35);
  box-shadow: none;
}
.ylhp-btn--outline:hover {
  background: rgba(255,255,255,.1); color: #fff;
  border-color: rgba(255,255,255,.6);
}
.ylhp-btn--hero { font-size: 1.1rem; padding: 16px 44px; }

/* ── Glass cards ── */
.ylhp-glass {
  background: var(--ylhp-card-bg);
  backdrop-filter: blur(var(--ylhp-glass-blur));
  -webkit-backdrop-filter: blur(var(--ylhp-glass-blur));
  border: 1px solid var(--ylhp-card-border);
  border-radius: var(--ylhp-radius);
  box-shadow: var(--ylhp-card-shadow);
  padding: 28px;
  transition: transform .25s, box-shadow .25s;
}
.ylhp-glass:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(15,27,62,.12);
}
.ylhp-glass--static:hover { transform: none; box-shadow: var(--ylhp-card-shadow); }

/* ── Scroll-reveal animation ── */
.ylhp-reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.ylhp-reveal.is-visible {
  opacity: 1; transform: translateY(0);
}
.ylhp-reveal-d1 { transition-delay: .1s; }
.ylhp-reveal-d2 { transition-delay: .2s; }
.ylhp-reveal-d3 { transition-delay: .3s; }

/* ── Section containers ── */
.ylhp-section {
  max-width: 1040px; margin: 0 auto;
  padding: 56px 20px;
}
.ylhp-section-title {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 800; color: var(--ylhp-deep);
  text-align: center; margin: 0 0 12px;
  letter-spacing: -.01em;
}
.ylhp-section-sub {
  font-size: 1rem; color: var(--ylhp-text-muted);
  text-align: center; margin: 0 auto 36px;
  max-width: 600px; line-height: 1.6;
}

/* ── 3-step how-it-works (homepage) ── */
.ylhp-steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 12px;
}
.ylhp-step {
  text-align: center; padding: 32px 20px;
}
.ylhp-step-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--ylhp-primary), var(--ylhp-accent));
  color: #fff; font-weight: 800; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 16px rgba(79,110,247,.25);
}
.ylhp-step h3 {
  font-size: 1.05rem; font-weight: 700;
  color: var(--ylhp-deep); margin: 0 0 8px;
}
.ylhp-step p {
  font-size: .9rem; color: var(--ylhp-text-muted);
  line-height: 1.6; margin: 0;
}
@media (max-width: 680px) {
  .ylhp-steps { grid-template-columns: 1fr; max-width: 400px; margin: 12px auto 0; }
}

/* ── Platform service grid (homepage) ── */
.ylhp-services {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.ylhp-svc-card {
  text-decoration: none; color: var(--ylhp-text);
  text-align: center; padding: 24px 16px;
}
.ylhp-svc-card img {
  width: 48px; height: 48px; display: block;
  margin: 0 auto 12px;
  transition: transform .3s;
}
.ylhp-svc-card:hover img { transform: scale(1.12); }
.ylhp-svc-card span {
  display: block; font-weight: 700; font-size: .92rem;
  color: var(--ylhp-deep);
}

/* ── Landing page content area ── */
.ylhp-content {
  max-width: 780px; margin: 0 auto;
  font-size: 1rem; line-height: 1.8;
  color: var(--ylhp-text);
}
.ylhp-content h2 {
  font-size: 1.3rem; font-weight: 700;
  color: var(--ylhp-deep); margin: 32px 0 10px;
}
.ylhp-content p {
  margin: 0 0 16px;
}
.ylhp-content ol, .ylhp-content ul {
  padding-left: 24px; margin: 0 0 20px;
}
.ylhp-content li {
  margin-bottom: 8px; line-height: 1.7;
}

/* ── FAQ accordion ── */
.ylhp-faq { max-width: 740px; margin: 0 auto; }
.ylhp-faq-item {
  border-bottom: 1px solid rgba(15,27,62,.08);
}
.ylhp-faq-q {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; background: none; border: none;
  padding: 18px 0; cursor: pointer;
  font-family: var(--ylhp-font);
  font-size: 1rem; font-weight: 600;
  color: var(--ylhp-deep); text-align: left;
}
.ylhp-faq-q::after {
  content: '+'; font-size: 1.4rem; font-weight: 300;
  color: var(--ylhp-text-muted);
  transition: transform .25s;
  flex-shrink: 0; margin-left: 12px;
}
.ylhp-faq-item.is-open .ylhp-faq-q::after {
  transform: rotate(45deg);
}
.ylhp-faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  font-size: .93rem; color: var(--ylhp-text-muted);
  line-height: 1.7; padding: 0;
}
.ylhp-faq-item.is-open .ylhp-faq-a {
  max-height: 300px; padding: 0 0 18px;
}

/* ── Stats banner ── */
.ylhp-stats {
  display: flex; justify-content: center;
  gap: 48px; flex-wrap: wrap;
  padding: 20px 0;
}
.ylhp-stat { text-align: center; }
.ylhp-stat-num {
  font-size: 2rem; font-weight: 800;
  color: #fff; line-height: 1;
}
.ylhp-stat-label {
  font-size: .82rem; color: rgba(255,255,255,.65);
  margin-top: 4px; text-transform: uppercase;
  letter-spacing: .05em;
}

/* ── CTA banner section ── */
.ylhp-cta-banner {
  background: linear-gradient(135deg, var(--ylhp-deep), var(--ylhp-primary));
  text-align: center; padding: 60px 20px;
  position: relative; overflow: hidden;
}
.ylhp-cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle 400px at 50% 100%, rgba(255,255,255,.06), transparent);
  pointer-events: none;
}
.ylhp-cta-banner h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 800; color: #fff; margin: 0 0 12px;
  position: relative; z-index: 1;
}
.ylhp-cta-banner p {
  color: rgba(255,255,255,.75); font-size: 1rem;
  margin: 0 0 24px; position: relative; z-index: 1;
}

/* ── Login / Signup form wrappers (elevated) ── */
.ylhp-form-wrap {
  max-width: 420px; margin: -40px auto 40px;
  position: relative; z-index: 2;
}

/* ── Breadcrumb ── */
.ylhp-breadcrumb {
  font-size: .82rem; margin-bottom: 12px;
  color: rgba(255,255,255,.55);
}
.ylhp-breadcrumb a {
  color: rgba(255,255,255,.7); text-decoration: none;
}
.ylhp-breadcrumb a:hover { color: #fff; }
.ylhp-breadcrumb span { margin: 0 6px; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .ylhp-hero { padding: 100px 16px 60px; }
  .ylhp-stats { gap: 28px; }
  .ylhp-stat-num { font-size: 1.5rem; }
  .ylhp-nav-link { font-size: .8rem; padding: 6px 12px; }
}
@media (max-width: 480px) {
  .ylhp-glass { padding: 20px; }
  .ylhp-section { padding: 36px 16px; }
}

/* ── Legacy content containers (bridge for openfocus/opentable pages) ── */
body.ylhp .mainfocus,
body.ylhp .maintable {
  max-width: 820px;
  margin: 32px auto;
  padding: 0;
  background: var(--ylhp-card-bg);
  backdrop-filter: blur(var(--ylhp-glass-blur));
  -webkit-backdrop-filter: blur(var(--ylhp-glass-blur));
  border: 1px solid var(--ylhp-card-border);
  border-radius: var(--ylhp-radius);
  box-shadow: var(--ylhp-card-shadow);
  overflow: hidden;
}
body.ylhp .mainfocusheader,
body.ylhp .maintableheader {
  background: linear-gradient(135deg, var(--ylhp-navy) 0%, var(--ylhp-accent) 100%);
  padding: 28px 32px;
  text-align: center;
}
body.ylhp .mainfocusheader h1,
body.ylhp .maintableheader h1,
body.ylhp .mainfocusheader .h1title,
body.ylhp .maintableheader .h1title {
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  font-weight: 800;
  color: #fff;
  margin: 0;
  letter-spacing: -.01em;
}
body.ylhp .mainfocusbody,
body.ylhp .maintablebody {
  padding: 28px 32px;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ylhp-text);
}
body.ylhp .mainfocusbody h2,
body.ylhp .maintablebody h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ylhp-deep);
  margin: 24px 0 8px;
}
body.ylhp .mainfocusbody h3,
body.ylhp .maintablebody h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ylhp-deep);
  margin: 20px 0 6px;
}
body.ylhp .mainfocusbody a,
body.ylhp .maintablebody a {
  color: var(--ylhp-primary);
  text-decoration: none;
}
body.ylhp .mainfocusbody a:hover,
body.ylhp .maintablebody a:hover {
  text-decoration: underline;
}
body.ylhp .mainfocusbody ul,
body.ylhp .maintablebody ul,
body.ylhp .mainfocusbody ol,
body.ylhp .maintablebody ol {
  padding-left: 24px;
  margin: 8px 0 16px;
}
body.ylhp .mainfocusbody li,
body.ylhp .maintablebody li {
  margin-bottom: 6px;
  line-height: 1.7;
}
body.ylhp .biggreenbutton {
  display: inline-block;
  padding: 14px 36px;
  background: var(--ylhp-cta);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, transform .2s;
  box-shadow: 0 4px 20px rgba(34,197,94,.3);
}
body.ylhp .biggreenbutton:hover {
  background: var(--ylhp-cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(34,197,94,.4);
}
@media (max-width: 768px) {
  body.ylhp .mainfocusbody,
  body.ylhp .maintablebody { padding: 20px 16px; }
  body.ylhp .mainfocusheader,
  body.ylhp .maintableheader { padding: 20px 16px; }
}

/* ── Scroll-reveal JS trigger utility ── */
/* JS adds .is-visible when element enters viewport */
