:root {
  --black: #05080d;
  --ink: #0b1118;
  --charcoal: #101820;
  --panel: rgba(9, 16, 24, 0.78);
  --line: rgba(255, 255, 255, 0.13);
  --line-dark: rgba(8, 24, 38, 0.12);
  --white: #ffffff;
  --muted: #b9c4cf;
  --muted-dark: #516170;
  --blue: #12a8ff;
  --blue-strong: #2fc4ff;
  --blue-deep: #0878d8;
  --ice: #eaf8ff;
  --surface: #f4f8fb;
  --card: rgba(255, 255, 255, 0.07);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

* {
  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;
}

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

button,
summary {
  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: 14px clamp(20px, 4vw, 48px);
  color: var(--white);
  background: rgba(5, 8, 13, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  display: block;
  width: clamp(176px, 17vw, 230px);
  height: auto;
}

.footer-logo {
  width: 230px;
}

.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(--blue-strong);
}

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

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

.btn-primary {
  color: #02111c;
  background: linear-gradient(135deg, var(--blue-strong), var(--blue-deep));
  box-shadow: 0 18px 40px rgba(18, 168, 255, 0.34);
}

.btn-primary:hover {
  box-shadow: 0 22px 54px rgba(18, 168, 255, 0.48);
}

.btn-secondary,
.btn-outline {
  color: var(--ice);
  background: rgba(18, 168, 255, 0.08);
  border: 1px solid rgba(47, 196, 255, 0.36);
}

.btn-secondary:hover,
.btn-outline:hover {
  border-color: rgba(47, 196, 255, 0.62);
}

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

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

.section {
  padding: clamp(74px, 9vw, 124px) 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: 118px 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);
  filter: grayscale(0.32) hue-rotate(152deg) saturate(0.9) brightness(0.82);
}

.hero-overlay {
  background:
    radial-gradient(circle at 72% 28%, rgba(18, 168, 255, 0.18), transparent 30%),
    linear-gradient(90deg, rgba(5, 8, 13, 0.98) 0%, rgba(5, 8, 13, 0.91) 42%, rgba(5, 8, 13, 0.68) 100%),
    linear-gradient(0deg, rgba(5, 8, 13, 0.96) 0%, rgba(5, 8, 13, 0.14) 42%, rgba(5, 8, 13, 0.74) 100%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: clamp(34px, 5vw, 74px);
}

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

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

.eyebrow.dark {
  color: #075f9e;
  border-color: rgba(8, 120, 216, 0.22);
  background: rgba(18, 168, 255, 0.12);
}

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

h1 {
  max-width: 840px;
  margin-bottom: 22px;
  font-size: clamp(2.65rem, 5.8vw, 5.55rem);
  line-height: 0.96;
  letter-spacing: 0;
}

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

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.24;
}

.hero-subtitle,
.section-heading p,
.section-copy p,
.advantage-box p,
.final-content p {
  color: var(--muted-dark);
  font-size: clamp(1rem, 1.45vw, 1.17rem);
}

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

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

.cta-note {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
}

.product-visual {
  position: relative;
  display: grid;
  grid-template-columns: 0.84fr 1fr;
  gap: 18px;
  align-items: end;
}

.phone-layer,
.dashboard-layer {
  min-width: 0;
}

.dashboard-layer {
  margin-top: 90px;
}

.visual-label {
  margin-bottom: 10px;
  color: var(--blue-strong);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.phone-shell,
.dashboard-shell {
  border: 1px solid rgba(47, 196, 255, 0.28);
  border-radius: 8px;
  background: rgba(7, 12, 19, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.phone-shell {
  padding: 14px;
}

.phone-top {
  width: 58px;
  height: 6px;
  margin: 0 auto 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.whatsapp-thread {
  display: grid;
  gap: 10px;
}

.bubble {
  width: fit-content;
  max-width: 88%;
  margin: 0;
  padding: 11px 13px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
}

.bubble.customer {
  justify-self: end;
  background: rgba(18, 168, 255, 0.18);
}

.bubble.strong {
  border: 1px solid rgba(47, 196, 255, 0.36);
}

.dashboard-shell {
  padding: 16px;
}

.dash-header,
.schedule-row,
.dash-metrics {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.dash-header {
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.78);
}

.dash-header strong {
  color: var(--blue-strong);
  font-size: 1.4rem;
}

.schedule-list {
  display: grid;
  gap: 10px;
}

.schedule-row {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
}

.schedule-row.active {
  border-color: rgba(47, 196, 255, 0.42);
  background: linear-gradient(135deg, rgba(18, 168, 255, 0.2), rgba(255, 255, 255, 0.05));
  color: var(--white);
}

.dash-metrics {
  margin-top: 14px;
}

.dash-metrics span {
  flex: 1;
  padding: 8px;
  border-radius: 8px;
  color: var(--ice);
  background: rgba(18, 168, 255, 0.1);
  font-size: 0.72rem;
  font-weight: 800;
  text-align: center;
}

.visual-caption {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
}

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

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

.problem-item,
.trust-list div {
  position: relative;
  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);
  font-weight: 750;
}

.problem-item::before,
.trust-list div::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 24px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-strong), var(--blue-deep));
  box-shadow: 0 0 0 6px rgba(18, 168, 255, 0.12);
}

.trust-list div {
  color: var(--white);
  background: var(--card);
  border-color: var(--line);
  box-shadow: none;
}

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

.steps,
.feature-grid,
.compare-grid,
.faq-grid {
  display: grid;
  gap: 18px;
}

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

.step-card,
.feature-card,
.compare-card,
.faq-item {
  border-radius: 8px;
}

.step-card {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--card);
}

.step-card span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 8px;
  color: #02111c;
  background: linear-gradient(135deg, var(--blue-strong), var(--blue));
  font-weight: 950;
}

.step-card p,
.feature-card p,
.compare-card li {
  color: var(--muted);
}

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

.feature-card {
  min-height: 176px;
  padding: 20px;
  border: 1px solid var(--line-dark);
  background: #ffffff;
}

.feature-card h3 {
  color: var(--ink);
}

.feature-card p {
  color: var(--muted-dark);
  margin-bottom: 0;
}

.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(47, 196, 255, 0.38);
  background: linear-gradient(145deg, rgba(18, 168, 255, 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;
}

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

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

.advantage-box {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  padding: clamp(28px, 6vw, 62px);
  border: 1px solid rgba(8, 120, 216, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(18, 168, 255, 0.16), rgba(2, 17, 28, 0.05)),
    #ffffff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.12);
}

.advantage-box p {
  margin-bottom: 0;
}

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

.faq-item {
  padding: 20px;
  border: 1px solid var(--line-dark);
  background: #ffffff;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 850;
}

.faq-item p {
  margin: 12px 0 0;
  color: var(--muted-dark);
}

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

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

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

.final-content p {
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
}

.final-content .btn {
  margin-top: 20px;
}

.mobile-sticky-cta {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 30;
  display: none;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #02111c;
  background: linear-gradient(135deg, var(--blue-strong), var(--blue-deep));
  box-shadow: 0 18px 40px rgba(18, 168, 255, 0.42);
  font-weight: 900;
  transform: translateY(90px);
  transition: transform 220ms ease;
}

.site-footer {
  padding: 34px 0;
  color: var(--white);
  background: #03060a;
  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(--blue-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: 1080px) {
  .hero-grid,
  .split,
  .trust-grid,
  .advantage-box {
    grid-template-columns: 1fr;
  }

  .product-visual {
    max-width: 760px;
  }

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

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

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

  .steps,
  .compare-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }
}

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

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

  .brand-logo {
    width: 166px;
  }

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

  .hero-grid {
    gap: 28px;
  }

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

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

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

  .btn {
    width: 100%;
  }

  .product-visual {
    grid-template-columns: 1fr;
  }

  .dashboard-layer {
    margin-top: 0;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

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

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

  .mobile-sticky-cta {
    display: flex;
  }

  .mobile-sticky-cta.is-visible {
    transform: translateY(0);
  }
}

@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;
  }
}
