/* ═══ BarberHub Landing — dark + gold, moving background ═══ */
:root {
  --bg:        #101010;
  --bg-2:      #1a1a1a;
  --bg-3:      #242424;
  --gold:      #C9A84C;
  --gold-l:    #E2C06A;
  --gold-d:    #A8883A;
  --text:      #ffffff;
  --text-2:    #a8a8a8;
  --muted:     #6a6a6a;
  --border:    #333;
  --success:   #52C07A;
  --grad:      linear-gradient(135deg, #E2C06A 0%, #C9A84C 50%, #A8883A 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Heebo', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ═══ Moving background ═══ */
.bg-mesh {
  position: fixed; inset: 0; z-index: -2; overflow: hidden;
  background: radial-gradient(ellipse at top, #161616 0%, var(--bg) 60%);
}
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: .14;
}
.blob-1 {
  width: 55vw; height: 55vw; background: var(--gold);
  top: -15%; right: -10%;
  animation: drift1 22s ease-in-out infinite alternate;
}
.blob-2 {
  width: 40vw; height: 40vw; background: var(--gold-l);
  bottom: 5%; left: -12%;
  animation: drift2 28s ease-in-out infinite alternate;
}
.blob-3 {
  width: 30vw; height: 30vw; background: var(--gold-d);
  top: 55%; right: 20%;
  animation: drift3 26s ease-in-out infinite alternate;
}
@keyframes drift1 { to { transform: translate(-12vw, 18vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(14vw, -14vh) scale(0.9); } }
@keyframes drift3 { to { transform: translate(-10vw, -10vh) scale(1.2); } }

#particles {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
}

/* ═══ Type & shared ═══ */
.gold-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.logo {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700; font-size: 1.6rem; letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.logo-sm { font-size: 1.2rem; }

h1 { font-size: clamp(2.4rem, 7vw, 4.2rem); font-weight: 900; line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.4rem); font-weight: 900; text-align: center; margin-bottom: .5rem; }
h3 { font-size: 1.35rem; font-weight: 700; margin: .4rem 0 .5rem; }
h4 { font-size: 1.05rem; font-weight: 700; margin: .5rem 0 .25rem; }

.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: .85rem 1.7rem; border-radius: 16px; font-size: 1rem;
  transition: transform .15s, box-shadow .15s;
}
.btn:active { transform: scale(.97); }
.btn-gold {
  background: var(--grad); color: #111;
  box-shadow: 0 4px 24px rgba(201,168,76,.35);
}
.btn-gold:hover { box-shadow: 0 6px 32px rgba(201,168,76,.5); transform: translateY(-2px); }
.btn-outline {
  border: 1.5px solid var(--gold); color: var(--gold-l);
}
.btn-outline:hover { background: rgba(201,168,76,.1); }
.btn-big { font-size: 1.15rem; padding: 1.05rem 2.6rem; }

/* ═══ Scroll reveal ═══ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ═══ Hero ═══ */
.hero { min-height: 100svh; display: flex; flex-direction: column; padding: 0 1.4rem; position: relative; }
.nav {
  max-width: 1080px; width: 100%; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 0;
}
.nav-cta {
  color: var(--gold-l); text-decoration: none; font-weight: 500; font-size: .95rem;
  border: 1px solid rgba(201,168,76,.4); padding: .45rem 1.1rem; border-radius: 999px;
}
.hero-inner {
  max-width: 1080px; margin: 0 auto; flex: 1;
  display: flex; align-items: center; gap: 3rem; flex-wrap: wrap;
  padding: 2.5rem 0 4rem;
}
.hero-text { flex: 1 1 400px; }
.sub { color: var(--text-2); font-size: 1.1rem; margin: 1.2rem 0 2rem; }
.cta-row { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero-phone { flex: 0 1 320px; margin: 0 auto; }
.scroll-hint {
  position: absolute; bottom: 1.2rem; left: 50%; transform: translateX(-50%);
  color: var(--gold); font-size: 1.4rem; animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100% { transform: translate(-50%,0);} 50% { transform: translate(-50%,8px);} }

/* ═══ Phone mockups ═══ */
.phone {
  width: 280px; padding: 12px; margin: 0 auto;
  background: #000; border-radius: 42px;
  border: 1px solid #2c2c2c;
  box-shadow: 0 24px 64px rgba(0,0,0,.6), 0 0 60px rgba(201,168,76,.12);
  transform: rotate(-4deg);
}
.phone-sm { width: 240px; }
.feature-flip .phone, .phone:nth-child(even) { transform: rotate(4deg); }
.phone-screen {
  background: var(--bg-2); border-radius: 32px; overflow: hidden;
  min-height: 420px; padding-bottom: 1rem;
}
.phone-sm .phone-screen { min-height: 360px; }
.mini-topbar {
  text-align: center; padding: .9rem 0 .7rem;
  font-family: Georgia, serif; font-weight: 700; color: var(--gold-l);
  border-bottom: 1px solid var(--border); font-size: .95rem;
}
.mini-card { margin: .8rem; border-radius: 16px; padding: .8rem; }
.gold-card {
  background: linear-gradient(135deg, rgba(226,192,106,.16), rgba(201,168,76,.05));
  border: 1px solid rgba(201,168,76,.35);
}
.mini-row { display: flex; align-items: center; gap: .6rem; }
.mini-avatar {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: var(--grad); color: #111; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}
.mini-col { flex: 1; display: flex; flex-direction: column; line-height: 1.35; }
.mini-label { font-size: .58rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.mini-col b { font-size: .85rem; }
.mini-col small, .mini-time small { font-size: .68rem; color: var(--text-2); }
.mini-time { text-align: center; }
.mini-time b { font-size: 1.05rem; display: block; }
.mini-btns { display: flex; gap: .5rem; margin-top: .7rem; }
.chip {
  flex: 1; text-align: center; font-size: .7rem; font-weight: 700;
  padding: .45rem .6rem; border-radius: 10px;
}
.chip-dark { background: var(--bg-3); color: var(--text); }
.chip-gold { background: var(--grad); color: #111; }
.chip.wide { display: block; margin: .7rem .8rem 0; }
.mini-stories { display: flex; gap: .6rem; padding: .5rem .9rem; }
.story {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--bg-3); border: 2px solid var(--gold);
}
.story.dim { border-color: var(--border); }
.mini-post { margin: .3rem .8rem; }
.mini-post-img {
  height: 130px; border-radius: 12px;
  background: linear-gradient(145deg, #2e2e2e 0%, #1c1c1c 60%, #33291a 100%);
}
.mini-post-bar { display: flex; gap: .9rem; padding: .5rem .2rem; font-size: .75rem; color: var(--text-2); }

/* slots mock */
.slot-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: .5rem; padding: .9rem; }
.slot {
  text-align: center; padding: .55rem 0; border-radius: 10px; font-size: .78rem; font-weight: 600;
  background: var(--bg-3); border: 1px solid var(--border); color: var(--text-2);
  font-variant-numeric: tabular-nums;
}
.slot-active { background: var(--grad); color: #111; border-color: transparent; }
.slot.dim { opacity: .35; }

/* chat mock */
.bubble {
  background: var(--bg-3); border-radius: 16px 16px 16px 4px;
  padding: .65rem .8rem; margin: .6rem .8rem; font-size: .78rem; max-width: 85%;
}
.bubble-success { background: rgba(82,192,122,.15); border: 1px solid rgba(82,192,122,.4); color: var(--success); font-weight: 600; }
.stars { color: var(--gold-l); letter-spacing: .2em; font-size: 1.05rem; margin-top: .3rem; }

/* map mock */
.map-mock {
  position: relative; height: 190px; margin: .9rem .8rem; border-radius: 14px;
  background:
    linear-gradient(rgba(201,168,76,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,.06) 1px, transparent 1px),
    #191919;
  background-size: 26px 26px;
  display: flex; align-items: center; justify-content: center;
}
.map-pin { font-size: 2rem; z-index: 1; }
.map-pulse {
  position: absolute; width: 60px; height: 60px; border-radius: 50%;
  border: 2px solid var(--gold);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse { from { transform: scale(.5); opacity: .9; } to { transform: scale(2.2); opacity: 0; } }
.toast-mock {
  margin: .4rem .8rem; padding: .6rem .8rem; border-radius: 12px;
  background: rgba(82,192,122,.12); border: 1px solid rgba(82,192,122,.4);
  color: var(--success); font-size: .74rem; font-weight: 600; text-align: center;
}

/* ═══ Trust strip ═══ */
.strip {
  max-width: 900px; margin: 0 auto 1rem; padding: 1.3rem 1.4rem;
  display: flex; justify-content: center; align-items: center; gap: 1.6rem; flex-wrap: wrap;
  border-top: 1px solid rgba(201,168,76,.2); border-bottom: 1px solid rgba(201,168,76,.2);
  background: rgba(255,255,255,.015);
}
.strip-item { text-align: center; }
.strip-item b { font-size: 1.35rem; display: block; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.strip-item span { color: var(--text-2); font-size: .85rem; }
.strip-sep { width: 1px; height: 34px; background: var(--border); }

/* ═══ Sections ═══ */
.section { max-width: 1080px; margin: 0 auto; padding: 4.5rem 1.4rem; }
.section-alt {
  max-width: none;
  background: linear-gradient(180deg, transparent, rgba(201,168,76,.045), transparent);
}
.section-alt > * { max-width: 1080px; margin-left: auto; margin-right: auto; }
.section > h2 { margin-bottom: 2.6rem; }

/* features zig-zag */
.feature {
  display: flex; align-items: center; gap: 2.5rem; flex-wrap: wrap;
  margin-bottom: 4rem;
}
.feature-flip { flex-direction: row-reverse; }
.feature-text { flex: 1 1 340px; }
.feature-phone { flex: 0 1 260px; margin: 0 auto; }
.feature-icon { font-size: 2rem; }
.feature-text p { color: var(--text-2); }
.feature-text b { color: var(--gold-l); }

/* cards grid */
.grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem; margin-top: 2.4rem;
}
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.card {
  background: var(--bg-2); border: 1px solid var(--border); border-radius: 20px;
  padding: 1.4rem; transition: transform .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(201,168,76,.5); }
.card p { color: var(--text-2); font-size: .92rem; }
.card-icon { font-size: 1.7rem; }
.card-center { text-align: center; }
.big { font-size: 2.2rem; font-weight: 900; display: block; margin-bottom: .3rem; }

/* ═══ Tokens ═══ */
.tokens-section { text-align: center; }
.tokens-sub { color: var(--text-2); }
.coin-wrap { perspective: 600px; margin-bottom: .6rem; }
.coin {
  font-size: 3.6rem; display: inline-block;
  animation: spin 5s linear infinite;
  filter: drop-shadow(0 0 24px rgba(201,168,76,.5));
}
@keyframes spin { from { transform: rotateY(0);} to { transform: rotateY(360deg);} }

/* ═══ Final CTA ═══ */
.final-cta { text-align: center; }
.final-cta p { color: var(--text-2); margin: .6rem 0 1.8rem; }
.qr {
  display: block; margin: 0 auto 1.8rem; border-radius: 18px;
  border: 5px solid #fff; box-shadow: 0 0 40px rgba(201,168,76,.3);
}

/* ═══ Footer ═══ */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.2rem 1.4rem; text-align: center;
  display: flex; flex-direction: column; gap: .7rem; align-items: center;
}
.footer nav { display: flex; gap: 1.4rem; }
.footer a { color: var(--text-2); text-decoration: none; font-size: .9rem; }
.footer a:hover { color: var(--gold-l); }
.footer small { color: var(--muted); }

/* ═══ Mobile ═══ */
@media (max-width: 720px) {
  .hero-inner { padding-top: 1rem; text-align: center; }
  .cta-row { justify-content: center; }
  .feature, .feature-flip { flex-direction: column; text-align: center; }
  .phone { transform: rotate(0) !important; }
}

/* ═══ Reduced motion ═══ */
@media (prefers-reduced-motion: reduce) {
  .blob, .coin, .scroll-hint, .map-pulse { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
