/* ============================================
   Rabcut landing page
   Replace assets/logo.png with a transparent SVG when available.
   ============================================ */

:root {
  --navy: #0b1b33;
  --navy-dark: #071426;
  --gold: #d9a63a;
  --gold-light: #f2c866;
  --white: #ffffff;
  --off-white: #f6f7f9;
  --text-dark: #111827;
  --text-muted: #687386;
  --border: #e5e7eb;
  --wa: #25d366;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px rgba(11, 27, 51, 0.12);
  --header-h: 72px;
  --font: "Manrope", system-ui, sans-serif;
  --content: 1120px;
  --focus: 0 0 0 3px rgba(217, 166, 58, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

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

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 100;
  background: var(--gold);
  color: var(--navy);
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(100% - 32px, var(--content));
  margin-inline: auto;
}

.section {
  padding: 80px 0;
}

.section-light {
  background: var(--off-white);
}

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

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

.section-header {
  max-width: 640px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-header-left {
  margin: 0 0 28px;
  text-align: left;
  max-width: none;
}

.section-header-light p {
  color: rgba(255, 255, 255, 0.72);
}

.section-header h2,
.cta h2 {
  font-size: clamp(1.7rem, 1.1rem + 2.4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.section-header p {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.88rem;
}

.btn-lg {
  min-height: 52px;
  padding: 0 26px;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 8px 20px rgba(217, 166, 58, 0.22);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark {
  width: 40px;
  height: 40px;
  object-fit: cover;
  object-position: center 28%;
  border-radius: 9px;
}

.brand-wordmark {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 27, 51, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(7, 20, 38, 0.96);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.nav {
  width: min(100% - 32px, var(--content));
  margin: 0 auto;
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  transition: min-height 0.25s ease;
}

.site-header.is-scrolled .nav {
  min-height: 58px;
}

.site-header.is-scrolled .brand-mark {
  width: 34px;
  height: 34px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 26px;
}

.nav-links a,
.nav-login {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-links a:hover,
.nav-login:hover {
  color: var(--gold-light);
}

.nav-actions {
  display: none;
  align-items: center;
  gap: 16px;
  justify-self: end;
}

.nav-toggle {
  justify-self: end;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  border-radius: 8px;
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  padding: 8px 16px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--navy-dark);
}

.mobile-menu.is-open {
  display: block;
}

.mobile-links a,
.mobile-actions .btn {
  display: flex;
  width: 100%;
}

.mobile-links a {
  padding: 14px 4px;
  color: var(--white);
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-actions {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

body.menu-open {
  overflow: hidden;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  padding: 32px 0 64px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  right: -60px;
  top: 20px;
  background: radial-gradient(circle, rgba(217, 166, 58, 0.14) 0%, rgba(217, 166, 58, 0) 68%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.05rem, 1.1rem + 4.2vw, 4.4rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
  font-weight: 800;
  max-width: 13ch;
}

.hero-lead {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  max-width: 42ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-cta .btn {
  flex: 1 1 170px;
}

.hero-meta {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}

.hero-scene {
  position: relative;
}

.owner-frame {
  display: none;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(217, 166, 58, 0.2);
}

.owner-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% center;
}

.owner-link {
  display: none;
}

.hero-dash {
  animation: rise 0.9s ease both;
}

.product-frame {
  margin: 0;
}

.product-frame-wide {
  margin-top: 40px;
}

.product-window {
  background: #0e2038;
  border: 1px solid rgba(217, 166, 58, 0.18);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

.product-chrome {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  background: #0a192e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot-red {
  background: #e38a7a;
}
.dot-amber {
  background: #e3c07a;
}
.dot-green {
  background: #87c9a1;
}

.product-chrome-title {
  margin-left: 8px;
  margin-right: auto;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
}

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

.dash-sidebar {
  display: none;
  padding: 16px 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(7, 20, 38, 0.55);
}

.dash-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.dash-brand img {
  width: 28px;
  height: 28px;
  object-fit: cover;
  object-position: center 28%;
  border-radius: 6px;
}

.dash-nav {
  display: grid;
  gap: 4px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
}

.dash-nav span {
  padding: 8px 10px;
  border-radius: 8px;
}

.dash-nav .is-active {
  background: rgba(217, 166, 58, 0.14);
  color: var(--gold-light);
  font-weight: 700;
}

.dash-main {
  padding: 14px;
}

.dash-head {
  margin-bottom: 12px;
}

.dash-kicker {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.45);
}

.dash-title {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
}

.dash-chip {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(217, 166, 58, 0.35);
  padding: 4px 8px;
  border-radius: 999px;
}

.dash-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.dash-stat {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 10px;
}

.dash-stat-label {
  font-size: 0.66rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
}

.dash-stat-value {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
  margin: 3px 0 2px;
}

.dash-stat-note {
  font-size: 0.66rem;
  color: var(--gold-light);
}

.dash-panels {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.dash-panel {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 12px;
}

.dash-panel-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
}

.dash-panel-head span {
  font-size: 0.66rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 600;
}

.activity,
.perf-bars {
  display: grid;
  gap: 8px;
}

.activity li,
.perf-bars li {
  display: grid;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
}

.activity li {
  grid-template-columns: auto 1fr auto;
}

.perf-bars li {
  grid-template-columns: 58px 1fr 42px;
}

.avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(217, 166, 58, 0.18);
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 800;
}

.activity strong,
.emp-name {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 0.8rem;
}

.activity span {
  color: rgba(255, 255, 255, 0.5);
}

.status {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 999px;
}

.status.is-on {
  color: #9be7b8;
  background: rgba(135, 201, 161, 0.12);
}

.status.is-break {
  color: var(--gold-light);
  background: rgba(217, 166, 58, 0.12);
}

.perf-bars span:first-child,
.perf-bars span:last-child {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
}

.meter {
  height: 7px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.meter i {
  display: block;
  height: 100%;
  width: var(--w);
  background: var(--gold);
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: left;
  animation: fill-bar 0.9s ease forwards;
}

/* ---------- Features ---------- */

.feature-grid {
  display: grid;
  gap: 14px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 18px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(217, 166, 58, 0.45);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(11, 27, 51, 0.05);
  margin-bottom: 12px;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--navy);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* ---------- How it works ---------- */

.flow {
  display: grid;
  gap: 8px;
}

.flow-step {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 20px 16px;
  text-align: center;
}

.flow-index {
  display: inline-block;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin-bottom: 8px;
}

.flow-step h3 {
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.flow-step p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
}

.flow-connector {
  display: flex;
  justify-content: center;
  height: 36px;
}

.flow-connector svg {
  width: 24px;
  height: 36px;
  transform: rotate(90deg);
}

.flow-line,
.flow-arrow {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.flow-line {
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
}

.flow.is-inview .flow-line {
  animation: draw-line 1.1s ease forwards;
}

@keyframes draw-line {
  to {
    stroke-dashoffset: 0;
  }
}

.perf-board {
  padding: 18px;
}

.perf-board-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 16px;
}

.perf-note {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
}

.emp-table {
  display: grid;
  gap: 8px;
}

.emp-row {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr auto;
  gap: 8px;
  align-items: center;
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.8);
}

.emp-head {
  background: transparent;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0 12px;
}

.emp-row span:nth-child(2),
.emp-row span:nth-child(4),
.emp-head span:nth-child(2),
.emp-head span:nth-child(4) {
  display: none;
}

.pill {
  justify-self: start;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
}

.pill-high {
  color: #9be7b8;
  background: rgba(135, 201, 161, 0.14);
}

.pill-good {
  color: var(--gold-light);
  background: rgba(217, 166, 58, 0.14);
}

.pill-watch {
  color: #f0c3b6;
  background: rgba(227, 138, 122, 0.16);
}

/* ---------- Why ---------- */

.why-grid {
  display: grid;
  gap: 36px;
  align-items: center;
}

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

.benefit {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 16px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.benefit-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(217, 166, 58, 0.12);
}

.benefit-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--navy);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.benefit p {
  color: var(--text-muted);
  font-size: 0.94rem;
}

.product-window-light {
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.product-chrome-light {
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
}

.product-chrome-light .product-chrome-title {
  color: var(--text-muted);
}

.analytics {
  padding: 18px;
}

.analytics-head {
  margin-bottom: 14px;
}

.analytics-head .dash-kicker {
  color: var(--text-muted);
}

.analytics-head .dash-title {
  color: var(--text-dark);
}

.analytics-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.analytics-stats article {
  background: var(--off-white);
  border-radius: 12px;
  padding: 12px;
}

.analytics-stats p {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.analytics-stats strong {
  display: block;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  margin: 4px 0;
}

.analytics-stats span {
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 600;
}

.analytics-split {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.analytics-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
}

.analytics-card > p {
  margin: 0 0 12px;
  font-size: 0.82rem;
  font-weight: 700;
}

.bars {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  height: 92px;
  align-items: end;
}

.bars span {
  display: block;
  height: var(--h);
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  border-radius: 6px 6px 2px 2px;
  transform: scaleY(0);
  transform-origin: bottom;
  animation: grow-bar 0.8s ease forwards;
}

.chart-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.38);
  margin-top: 6px;
}

.chart-labels.light {
  color: var(--text-muted);
}

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

.service-list li {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  align-items: center;
  font-size: 0.82rem;
}

.product-window-light .meter {
  background: var(--off-white);
}

/* ---------- CTA ---------- */

.cta {
  position: relative;
  background: var(--navy-dark);
  color: var(--white);
  padding: 88px 0;
  text-align: center;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 420px;
  height: 220px;
  transform: translate(-50%, -60%);
  background: radial-gradient(circle, rgba(217, 166, 58, 0.22) 0%, rgba(217, 166, 58, 0) 70%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
}

.cta p {
  margin: 14px auto 26px;
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.72);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.cta-actions .btn {
  flex: 1 1 220px;
  max-width: 320px;
}

.cta-note {
  margin: 18px 0 0 !important;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5) !important;
}

.cta-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin-top: 22px;
}

.contact-link,
.footer-contact a {
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.95rem;
}

.contact-link:hover,
.footer-contact a:hover {
  color: var(--white);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: grid;
  gap: 28px;
}

.footer-brand p {
  margin-top: 12px;
  max-width: 36ch;
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer-links a {
  font-size: 0.9rem;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 24px;
}

.footer-copy {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

.legal {
  background: var(--off-white);
  min-height: 70vh;
  padding: 48px 0 80px;
}

.legal-nav .nav {
  grid-template-columns: 1fr auto;
}

.legal-nav .nav-actions {
  display: flex;
}

.legal-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  max-width: 720px;
  margin: 0 auto;
}

.legal h1 {
  font-size: 2rem;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.legal p + p {
  margin-top: 12px;
}

.legal a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
}

/* ---------- WhatsApp ---------- */

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wa);
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wa-float svg {
  width: 30px;
  height: 30px;
}

.wa-float:hover {
  transform: scale(1.06);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
}

.wa-tip {
  display: none;
  position: absolute;
  right: 66px;
  white-space: nowrap;
  background: var(--navy);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.wa-float:hover .wa-tip,
.wa-float:focus-visible .wa-tip {
  display: block;
}

/* ---------- Motion ---------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
}

.reveal.is-visible {
  animation: rise 0.7s ease forwards;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fill-bar {
  to {
    transform: scaleX(1);
  }
}

@keyframes grow-bar {
  to {
    transform: scaleY(1);
  }
}

.feature-card.reveal.is-visible:nth-child(2) {
  animation-delay: 0.06s;
}
.feature-card.reveal.is-visible:nth-child(3) {
  animation-delay: 0.12s;
}
.feature-card.reveal.is-visible:nth-child(4) {
  animation-delay: 0.18s;
}
.feature-card.reveal.is-visible:nth-child(5) {
  animation-delay: 0.24s;
}
.feature-card.reveal.is-visible:nth-child(6) {
  animation-delay: 0.3s;
}

.dash-stat:nth-child(2) {
  animation-delay: 0.08s;
}
.dash-stat:nth-child(3) {
  animation-delay: 0.16s;
}
.dash-stat:nth-child(4) {
  animation-delay: 0.24s;
}

.hero-dash .dash-stat {
  animation: rise 0.6s ease both;
}

/* ---------- Responsive ---------- */

@media (min-width: 768px) {
  .container {
    width: min(100% - 48px, var(--content));
  }

  .section {
    padding: 96px 0;
  }

  .hero {
    padding: 40px 0 88px;
  }

  .hero-cta .btn,
  .cta-actions .btn {
    flex: 0 0 auto;
  }

  .dash-stats-4,
  .analytics-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .analytics-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .dash-panels,
  .analytics-split {
    grid-template-columns: 1.15fr 0.85fr;
  }

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

  .emp-row {
    grid-template-columns: 1.5fr 0.7fr 0.9fr 0.9fr 1.1fr;
  }

  .emp-row span:nth-child(2),
  .emp-row span:nth-child(4),
  .emp-head span:nth-child(2),
  .emp-head span:nth-child(4) {
    display: block;
  }
}

@media (min-width: 1024px) {
  .nav-links,
  .nav-actions {
    display: flex;
  }

  .nav-toggle,
  .mobile-menu {
    display: none !important;
  }

  .hero-grid {
    grid-template-columns: 0.86fr 1.14fr;
    gap: 36px;
    align-items: stretch;
  }

  .hero-scene {
    min-height: 540px;
  }

  .owner-frame {
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 46%;
    height: 78%;
    z-index: 1;
  }

  .owner-link {
    display: flex;
    align-items: center;
    gap: 8px;
    position: absolute;
    left: 4%;
    top: 8%;
    z-index: 3;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-light);
  }

  .owner-link svg {
    width: 56px;
    height: 14px;
    stroke: var(--gold);
    fill: none;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .hero-dash {
    position: relative;
    z-index: 2;
    margin-left: 22%;
    margin-top: 28px;
  }

  .why-grid {
    grid-template-columns: 0.92fr 1.08fr;
    gap: 48px;
  }

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

  .dash-sidebar {
    display: block;
  }

  .product-body {
    grid-template-columns: 138px 1fr;
  }

  .flow {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 0;
  }

  .flow-step {
    flex: 1 1 0;
    min-width: 0;
  }

  .flow-connector {
    flex: 0 0 40px;
    width: 40px;
    height: auto;
    align-self: center;
  }

  .flow-connector svg {
    width: 40px;
    height: 24px;
    transform: none;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
  }

  .footer-links {
    justify-content: end;
  }

  .wa-tip {
    display: none;
  }
}

@media (min-width: 1280px) {
  :root {
    --content: 1180px;
  }
}

@media (max-width: 1023px) {
  .nav {
    grid-template-columns: 1fr auto;
  }

  body {
    padding-bottom: 84px;
  }

  .wa-float:hover .wa-tip,
  .wa-float:focus-visible .wa-tip {
    display: none;
  }
}

@media (max-width: 639px) {
  .hero-cta .btn,
  .cta-actions .btn {
    flex: 1 1 100%;
    max-width: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal,
  .hero-dash,
  .hero-dash .dash-stat {
    opacity: 1;
    transform: none;
  }

  .meter i,
  .bars span {
    transform: none;
  }

  .flow-line {
    stroke-dashoffset: 0;
  }
}
