:root {
  --black: #080808;
  --ink: #111111;
  --charcoal: #181818;
  --line: rgba(255, 255, 255, 0.14);
  --line-dark: rgba(8, 8, 8, 0.12);
  --white: #ffffff;
  --muted: #b9b9b9;
  --muted-dark: #545454;
  --gold: #d6a84c;
  --gold-strong: #f1c45d;
  --orange: #f47b05;
  --orange-strong: #ff9d12;
  --cream: #fff2d5;
  --green: #25d366;
  --green-dark: #159a49;
  --surface: #f7f4ee;
  --card: rgba(255, 255, 255, 0.07);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--black);
  color: var(--ink);
  line-height: 1.5;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 4vw, 48px);
  color: var(--white);
  background: rgba(8, 8, 8, 0.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  letter-spacing: 0;
  flex: 0 0 auto;
}

.brand-logo {
  display: block;
  width: clamp(168px, 16vw, 212px);
  height: auto;
}

.footer-logo {
  width: 190px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.94rem;
}

.nav-links a:hover {
  color: var(--gold-strong);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 8px;
  font-weight: 850;
  letter-spacing: 0;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #180d02;
  background: linear-gradient(135deg, var(--orange-strong), var(--orange));
  box-shadow: 0 18px 40px rgba(244, 123, 5, 0.32);
}

.btn-primary:hover {
  box-shadow: 0 22px 54px rgba(244, 123, 5, 0.44);
}

.btn-secondary {
  color: var(--cream);
  background: rgba(255, 157, 18, 0.1);
  border: 1px solid rgba(255, 157, 18, 0.36);
}

.btn-outline {
  color: var(--cream);
  background: rgba(255, 157, 18, 0.06);
  border: 1px solid rgba(255, 157, 18, 0.36);
}

.btn-dark {
  color: var(--cream);
  background: linear-gradient(135deg, #202424, #070808);
  border: 1px solid rgba(255, 157, 18, 0.28);
}

.btn-small {
  min-height: 42px;
  padding: 0 16px;
  font-size: 0.92rem;
}

.btn-large {
  min-height: 58px;
  padding: 0 30px;
}

.section {
  padding: clamp(72px, 9vw, 120px) 0;
  background: var(--surface);
}

.section-dark {
  color: var(--white);
  background: var(--black);
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 120px 0 72px;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image: url("assets/barberhub-hero.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.98) 0%, rgba(8, 8, 8, 0.88) 34%, rgba(8, 8, 8, 0.55) 67%, rgba(8, 8, 8, 0.8) 100%),
    linear-gradient(0deg, rgba(8, 8, 8, 0.94) 0%, rgba(8, 8, 8, 0.08) 42%, rgba(8, 8, 8, 0.7) 100%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: clamp(32px, 6vw, 82px);
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 18px;
  padding: 8px 12px;
  border: 1px solid rgba(214, 168, 76, 0.42);
  border-radius: 999px;
  color: var(--gold-strong);
  background: rgba(214, 168, 76, 0.1);
  font-size: 0.8rem;
  font-weight: 850;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: #6b4a0e;
  border-color: rgba(107, 74, 14, 0.22);
  background: rgba(214, 168, 76, 0.16);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 880px;
  margin-bottom: 22px;
  font-size: clamp(2.7rem, 6vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.16rem;
  line-height: 1.2;
}

.hero-subtitle,
.section-heading p,
.section-copy p,
.offer-box p {
  color: var(--muted-dark);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.section-dark .hero-subtitle,
.section-dark .section-heading p,
.section-dark .section-copy p {
  color: var(--muted);
}

.hero-actions,
.offer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.hero-proof span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.booking-panel {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 18px;
  background: rgba(14, 14, 14, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.panel-top,
.mini-agenda {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.panel-top {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 750;
  font-size: 0.88rem;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 8px rgba(37, 211, 102, 0.13);
}

.chat-card {
  display: grid;
  gap: 10px;
}

.chat-bubble {
  width: fit-content;
  max-width: 84%;
  margin: 0;
  padding: 12px 14px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.94rem;
}

.chat-bubble.customer {
  justify-self: end;
  background: rgba(37, 211, 102, 0.18);
}

.chat-bubble.accent {
  border: 1px solid rgba(37, 211, 102, 0.3);
}

.mini-agenda {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid rgba(37, 211, 102, 0.26);
  border-radius: 8px;
  background: rgba(37, 211, 102, 0.1);
}

.mini-agenda strong,
.mini-agenda span {
  display: block;
}

.mini-agenda div span {
  color: var(--muted);
  font-size: 0.88rem;
}

.tag {
  padding: 6px 9px;
  border-radius: 999px;
  color: #092113;
  background: var(--green);
  font-size: 0.78rem;
  font-weight: 850;
}

.split,
.credibility-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 70px);
  align-items: start;
}

.problem-list {
  display: grid;
  gap: 12px;
}

.problem-item {
  padding: 18px 18px 18px 46px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.06);
  position: relative;
  font-weight: 750;
}

.problem-item::before {
  content: "!";
  position: absolute;
  left: 16px;
  top: 18px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #c2410c;
  font-size: 0.78rem;
  font-weight: 950;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 42px;
}

.section-heading.narrow {
  max-width: 700px;
}

.solution-grid,
.benefit-grid,
.steps,
.compare-grid {
  display: grid;
  gap: 18px;
}

.solution-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.benefit-card,
.step-card,
.compare-card,
.quote-card {
  border-radius: 8px;
}

.feature-card,
.benefit-card {
  min-height: 220px;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--card);
}

.feature-card p,
.benefit-card p,
.step-card p {
  margin-bottom: 0;
}

.feature-card p,
.benefit-card p {
  color: var(--muted);
}

.icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 8px;
  color: #07180d;
  background: var(--green);
  font-size: 0.78rem;
  font-weight: 950;
}

.steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  counter-reset: step;
}

.step-card {
  padding: 24px;
  border: 1px solid var(--line-dark);
  background: #ffffff;
}

.step-card span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 8px;
  color: #1b1306;
  background: var(--gold-strong);
  font-weight: 950;
}

.step-card p {
  color: var(--muted-dark);
}

.benefit-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.benefit-card {
  min-height: 160px;
}

.credibility-cards {
  display: grid;
  gap: 16px;
}

.quote-card {
  padding: 22px;
  border: 1px solid var(--line-dark);
  background: #fff;
  font-size: 1.05rem;
  font-weight: 800;
}

.quote-card.empty {
  color: var(--muted-dark);
  border-style: dashed;
  background: rgba(255, 255, 255, 0.56);
}

.compare-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.compare-card {
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.compare-card.barberhub {
  border-color: rgba(37, 211, 102, 0.38);
  background: linear-gradient(145deg, rgba(37, 211, 102, 0.18), rgba(255, 255, 255, 0.06));
}

.compare-card h3 {
  font-size: 1.6rem;
}

.compare-card ul {
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.compare-card li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}

.compare-card li::before {
  content: "×";
  position: absolute;
  left: 0;
  color: #fb7185;
  font-weight: 950;
}

.compare-card.barberhub li::before {
  content: "✓";
  color: var(--green);
}

.offer-box {
  padding: clamp(28px, 6vw, 62px);
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(214, 168, 76, 0.18), rgba(37, 211, 102, 0.1)),
    #ffffff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.12);
}

.offer-box h2,
.offer-box p {
  max-width: 820px;
}

.final-cta {
  padding: clamp(84px, 11vw, 140px) 0;
  text-align: center;
}

.final-content {
  max-width: 860px;
}

.final-content .eyebrow {
  margin-left: auto;
  margin-right: auto;
}

.microcopy {
  margin: 16px 0 0;
  color: var(--muted);
}

.site-footer {
  padding: 34px 0;
  color: var(--white);
  background: #050505;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer p {
  margin: 12px 0 0;
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
}

.site-footer nav a:hover {
  color: var(--gold-strong);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero-grid,
  .split,
  .credibility-grid,
  .compare-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(8, 8, 8, 0.96) 0%, rgba(8, 8, 8, 0.78) 44%, rgba(8, 8, 8, 0.72) 100%),
      linear-gradient(90deg, rgba(8, 8, 8, 0.96), rgba(8, 8, 8, 0.62));
  }

  .booking-panel {
    max-width: 520px;
  }

  .solution-grid,
  .benefit-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    padding: 12px 14px;
  }

  .site-header .btn {
    display: none;
  }

  .brand-logo {
    width: 156px;
  }

  .hero {
    padding: 104px 0 56px;
  }

  h1 {
    font-size: clamp(2.45rem, 12vw, 3.4rem);
  }

  h2 {
    font-size: clamp(1.9rem, 9vw, 2.65rem);
  }

  .hero-actions,
  .offer-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-proof span {
    width: 100%;
  }

  .booking-panel {
    padding: 14px;
  }

  .solution-grid,
  .benefit-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .benefit-card {
    min-height: auto;
  }

  .footer-grid,
  .site-footer nav {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
