:root {
  --green: #20f08b;
  --green-deep: #12c978;
  --blue: #1478ff;
  --gold: #ffcf5a;
  --red: #ff4f5f;
  --bg: #080a0d;
  --surface: #11161d;
  --surface-2: #171f27;
  --soft: #f5f7f2;
  --text: #f7f9f6;
  --muted: #aeb7b2;
  --ink: #151815;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  background: var(--bg);
  color: var(--text);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input {
  font: inherit;
}

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

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 22px;
  background: rgba(8, 10, 13, 0.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand,
.main-nav,
.hero-actions,
.panel-tabs,
.modal-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--bg);
  background: var(--green);
  border-radius: 8px;
}

.main-nav {
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.main-nav a:hover {
  color: var(--text);
}

.nav-cta,
.button,
.mini-button,
.panel-tab,
.role-button,
.icon-button,
.time-grid button {
  border: 0;
  cursor: pointer;
}

.nav-cta,
.button,
.mini-button {
  min-height: 42px;
  border-radius: 8px;
  font-weight: 800;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: var(--bg);
  background: var(--green);
}

.hero {
  position: relative;
  min-height: 88svh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 112px 22px 118px;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 10, 13, 0.94) 0%, rgba(8, 10, 13, 0.72) 38%, rgba(8, 10, 13, 0.18) 100%),
    linear-gradient(0deg, rgba(8, 10, 13, 0.96), rgba(8, 10, 13, 0.18) 54%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 12px;
  line-height: 16px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: 56px;
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: 32px;
  line-height: 40px;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
  line-height: 26px;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  color: rgba(247, 249, 246, 0.84);
  font-size: 19px;
  line-height: 29px;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
}

.button-primary {
  background: var(--green);
  color: var(--bg);
}

.button-primary:hover {
  background: var(--green-deep);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
  border: 1px solid var(--line);
}

.button-whatsapp {
  background: #25d366;
  color: #06130a;
}

.button-whatsapp:hover {
  background: #20bd5b;
}

.hero-strip {
  position: absolute;
  z-index: 3;
  left: 22px;
  right: 22px;
  bottom: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: rgba(8, 10, 13, 0.78);
  backdrop-filter: blur(14px);
  border-radius: 8px;
  overflow: hidden;
}

.hero-strip div {
  min-width: 0;
  padding: 14px 16px;
  border-right: 1px solid var(--line);
}

.hero-strip div:last-child {
  border-right: 0;
}

.hero-strip strong,
.hero-strip span {
  display: block;
  overflow-wrap: anywhere;
}

.hero-strip strong {
  font-size: 13px;
}

.hero-strip span {
  color: var(--muted);
  font-size: 12px;
}

.section {
  padding: 84px 22px;
}

.section-heading {
  width: min(1120px, 100%);
  margin: 0 auto 28px;
}

.section-heading.compact {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
}

.section-heading.compact h2 {
  max-width: 620px;
}

.intro-band {
  background: var(--soft);
  color: var(--ink);
}

.intro-band .eyebrow {
  color: #08784b;
}

.intro-grid,
.product-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.intro-grid article,
.product-card {
  border-radius: 8px;
  border: 1px solid rgba(21, 24, 21, 0.12);
}

.intro-grid article {
  padding: 24px;
  background: #ffffff;
}

.metric {
  display: block;
  margin-bottom: 14px;
  color: #08784b;
  font-size: 38px;
  line-height: 42px;
  font-weight: 900;
}

.intro-grid p,
.product-card p,
.story-copy p,
.site-layout p,
.geo-panel p,
.campaign-panel p,
.deploy-band p {
  color: var(--muted);
}

.intro-grid p {
  color: #48534d;
}

.products-section {
  background: #0a0d10;
}

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

.product-card {
  position: relative;
  min-height: 390px;
  padding: 24px;
  background: var(--surface);
  border-color: var(--line);
}

.product-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: rgba(247, 249, 246, 0.74);
}

.product-card li + li {
  margin-top: 8px;
}

.product-index {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--muted);
  font-weight: 900;
}

.price {
  margin-bottom: 12px;
  color: var(--text) !important;
  font-size: 27px;
  line-height: 34px;
  font-weight: 900;
}

.price small {
  font-size: 14px;
  color: var(--muted);
}

.product-green {
  border-top: 4px solid var(--green);
}

.product-blue {
  border-top: 4px solid var(--blue);
}

.product-gold {
  border-top: 4px solid var(--gold);
}

.product-red {
  border-top: 4px solid var(--red);
}

.visual-story {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 40px;
  align-items: center;
  padding: 84px 22px;
  background: #101410;
}

.story-photo {
  margin: 0;
  min-width: 0;
}

.story-photo img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
}

.story-photo figcaption,
.gallery-grid figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
}

.story-copy {
  max-width: 520px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 28px;
}

.timeline div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.timeline strong,
.timeline span {
  display: block;
}

.timeline strong {
  color: var(--green);
}

.timeline span {
  color: var(--muted);
  font-size: 12px;
}

.dashboard-section {
  background: var(--bg);
}

.dashboard-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.dashboard-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  padding: 26px;
  border-bottom: 1px solid var(--line);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(32, 240, 139, 0.3);
  border-radius: 999px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.status-pill span {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
}

.panel-tabs {
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}

.panel-tab {
  flex: 0 0 auto;
  min-width: 96px;
  min-height: 40px;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
}

.panel-tab.is-active {
  color: var(--bg);
  background: var(--green);
}

.panel-view {
  display: none;
  padding: 26px;
}

.panel-view.is-active {
  display: block;
}

.queue-layout,
.site-layout,
.crm-layout,
.erp-layout {
  display: grid;
  gap: 20px;
}

.queue-layout {
  grid-template-columns: 320px minmax(0, 1fr);
  align-items: stretch;
}

.phone-mock {
  min-height: 560px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #050607;
}

.phone-top {
  width: 80px;
  height: 6px;
  margin: 0 auto 36px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.28);
}

.phone-kicker {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.countdown {
  display: grid;
  place-items: center;
  width: 190px;
  height: 190px;
  margin: 30px auto;
  border: 6px solid rgba(255, 79, 95, 0.35);
  border-top-color: var(--red);
  border-radius: 50%;
  color: var(--red);
  font-size: 42px;
  font-weight: 900;
}

.mini-button {
  width: 100%;
  margin-top: 20px;
  color: var(--bg);
  background: var(--green);
}

.queue-board {
  display: grid;
  gap: 12px;
  align-content: start;
}

.board-row,
.barber-lanes div,
.kpi-row div,
.stock-table div,
.funnel,
.geo-panel,
.campaign-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.board-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  align-items: center;
  gap: 14px;
  padding: 18px;
}

.board-row strong {
  color: var(--muted);
}

.board-row em {
  color: var(--green);
  font-style: normal;
  font-weight: 900;
}

.board-row.warn {
  border-color: rgba(255, 207, 90, 0.4);
}

.board-row.warn em {
  color: var(--gold);
}

.board-row.active {
  border-color: rgba(32, 240, 139, 0.4);
}

.barber-lanes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.barber-lanes div {
  padding: 18px;
}

.barber-lanes b,
.barber-lanes span {
  display: block;
}

.barber-lanes span {
  color: var(--muted);
  font-size: 13px;
}

.site-layout {
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: center;
}

.site-layout img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 8px;
}

.seo-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0;
}

.seo-list span,
.cost-note,
.success-box {
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.crm-layout {
  grid-template-columns: 1fr 1fr 1fr;
}

.funnel,
.geo-panel,
.campaign-panel {
  padding: 18px;
}

.funnel div {
  width: var(--w);
  min-width: 60%;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
  padding: 12px;
  border-radius: 8px;
  color: var(--bg);
  background: var(--green);
}

.heatmap {
  position: relative;
  display: grid;
  place-items: center;
  height: 230px;
  margin: 14px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px),
    #090d10;
  background-size: 28px 28px;
}

.heatmap strong {
  position: relative;
  z-index: 2;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--green);
  border: 1px solid rgba(32, 240, 139, 0.6);
}

.hotspot {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(18px);
}

.h1 {
  width: 130px;
  height: 130px;
  left: 12%;
  top: 18%;
  background: rgba(255, 79, 95, 0.38);
}

.h2 {
  width: 110px;
  height: 110px;
  right: 14%;
  bottom: 16%;
  background: rgba(255, 207, 90, 0.35);
}

.h3 {
  width: 90px;
  height: 90px;
  right: 28%;
  top: 15%;
  background: rgba(20, 120, 255, 0.3);
}

.campaign-panel {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 14px;
  align-items: center;
}

.campaign-panel img {
  width: 112px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
}

.campaign-panel strong {
  color: var(--gold);
}

.erp-layout {
  grid-template-columns: 148px minmax(0, 1fr) 320px;
  align-items: stretch;
}

.erp-sidebar {
  display: grid;
  align-content: start;
  gap: 10px;
}

.role-button {
  min-height: 44px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-weight: 800;
}

.role-button.is-selected {
  color: var(--bg);
  background: var(--gold);
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.kpi-row div,
.stock-table div {
  padding: 14px;
}

.kpi-row span,
.kpi-row strong,
.stock-table span,
.stock-table b,
.stock-table em {
  display: block;
}

.kpi-row span,
.stock-table em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.kpi-row strong {
  margin-top: 4px;
  font-size: 22px;
}

.stock-table {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.stock-table div {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
}

.erp-layout > img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: 8px;
}

.gallery-section {
  background: var(--soft);
  color: var(--ink);
}

.gallery-section .eyebrow {
  color: #08784b;
}

.gallery-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.gallery-grid figure {
  margin: 0;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  background: #dfe5df;
}

.gallery-grid figure:first-child {
  grid-column: span 2;
}

.gallery-grid figure:first-child img {
  aspect-ratio: 16 / 10;
}

.deploy-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 28px;
  padding: 44px 22px 60px;
  border-top: 1px solid var(--line);
}

.deploy-band > * {
  width: min(560px, 100%);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  place-items: center;
  padding: 18px;
}

.modal.is-open {
  display: grid;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 13, 0.82);
  backdrop-filter: blur(10px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  max-height: min(760px, calc(100svh - 36px));
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.modal-header,
.modal-footer {
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.modal-footer {
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.icon-button {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
  font-weight: 900;
}

.wizard-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 0 18px 18px;
}

.wizard-progress span {
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.wizard-progress .is-active {
  background: var(--green);
}

.wizard-step {
  display: none;
  padding: 18px;
}

.wizard-step.is-active {
  display: block;
}

.option-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 60px;
  margin-top: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.option-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}

.time-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.time-grid button {
  min-height: 48px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-weight: 800;
}

.time-grid button:hover {
  background: rgba(32, 240, 139, 0.16);
}

.field-label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.field-label input {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: #080a0d;
  color: var(--text);
}

.confirmation-text {
  color: var(--muted);
}

.success-box {
  color: var(--green);
  border: 1px solid rgba(32, 240, 139, 0.32);
}

@media (max-width: 1040px) {
  .product-grid,
  .crm-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .erp-layout {
    grid-template-columns: 130px minmax(0, 1fr);
  }

  .erp-layout > img {
    grid-column: 1 / -1;
  }

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

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

  h1 {
    font-size: 42px;
    line-height: 46px;
  }

  h2 {
    font-size: 27px;
    line-height: 34px;
  }

  .hero {
    min-height: 86svh;
    padding-bottom: 154px;
  }

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

  .hero-strip div:nth-child(2) {
    border-right: 0;
  }

  .hero-strip div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .section-heading.compact,
  .dashboard-top,
  .deploy-band {
    display: block;
  }

  .intro-grid,
  .product-grid,
  .visual-story,
  .queue-layout,
  .site-layout,
  .crm-layout,
  .erp-layout {
    grid-template-columns: 1fr;
  }

  .phone-mock {
    min-height: auto;
  }

  .barber-lanes,
  .kpi-row,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 560px) {
  .site-header {
    padding: 10px 12px;
  }

  .brand span:last-child {
    display: none;
  }

  .nav-cta {
    padding: 0 12px;
  }

  .hero {
    padding-left: 14px;
    padding-right: 14px;
  }

  h1 {
    font-size: 35px;
    line-height: 39px;
  }

  .hero-copy {
    font-size: 16px;
    line-height: 24px;
  }

  .hero-actions .button,
  .modal-footer .button {
    width: 100%;
  }

  .hero-strip {
    left: 14px;
    right: 14px;
  }

  .section,
  .visual-story {
    padding: 58px 14px;
  }

  .panel-view,
  .dashboard-top {
    padding: 18px;
  }

  .board-row,
  .stock-table div,
  .campaign-panel {
    grid-template-columns: 1fr;
  }

  .barber-lanes,
  .kpi-row,
  .timeline,
  .gallery-grid,
  .time-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid figure:first-child {
    grid-column: auto;
  }
}
