:root {
  --ink: #101820;
  --muted: #60707f;
  --line: #dce5e8;
  --paper: #f8faf9;
  --white: #ffffff;
  --teal: #0f766e;
  --teal-dark: #0b534f;
  --coral: #e45a3d;
  --gold: #d99b25;
  --green: #15803d;
  --blue: #2563eb;
  --shadow: 0 24px 70px rgba(14, 28, 36, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.nav-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 36px rgba(16, 24, 32, 0.08);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-size: 0.75rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a {
  opacity: 0.9;
}

.site-nav a:hover {
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  overflow: hidden;
  color: var(--white);
  background: #0c1518;
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(8, 19, 22, 0.92) 0%, rgba(8, 19, 22, 0.78) 42%, rgba(8, 19, 22, 0.26) 100%),
    linear-gradient(180deg, rgba(8, 19, 22, 0.24) 0%, rgba(8, 19, 22, 0.76) 100%);
}

.hero-visual {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  justify-items: end;
  padding: 110px clamp(18px, 6vw, 86px) 64px;
}

.dashboard-shell {
  width: min(720px, 58vw);
  min-height: 530px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  background: rgba(245, 250, 249, 0.94);
  box-shadow: var(--shadow);
  transform: perspective(1100px) rotateY(-7deg) rotateX(4deg);
}

.dashboard-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  color: var(--ink);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.dashboard-topbar span {
  display: block;
  width: 64px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--coral), var(--gold), var(--teal));
}

.dashboard-topbar em {
  color: var(--green);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 18px;
}

.metric-panel,
.ops-board,
.inventory-panel,
.activity-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
}

.metric-panel {
  min-height: 112px;
  padding: 16px;
}

.metric-panel small,
.board-header b {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.metric-panel strong {
  display: block;
  margin: 10px 0;
  font-size: 2rem;
}

.trend {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}

.trend.up {
  color: var(--green);
  background: #e8f6ed;
}

.trend.warn {
  color: #9a5b00;
  background: #fff4d8;
}

.ops-board {
  grid-column: span 2;
  min-height: 250px;
  padding: 16px;
}

.board-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  font-weight: 800;
}

.queue-row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid #e8eef0;
  border-radius: 8px;
  background: #fbfcfc;
}

.queue-row span {
  display: grid;
  width: 34px;
  height: 28px;
  place-items: center;
  border-radius: 6px;
  color: var(--white);
  background: var(--teal);
  font-size: 0.72rem;
  font-weight: 900;
}

.queue-row em,
.activity-panel span {
  color: var(--muted);
  font-style: normal;
  font-weight: 700;
}

.inventory-panel {
  min-height: 250px;
  padding: 16px;
}

.inventory-bars {
  display: flex;
  align-items: end;
  gap: 10px;
  height: 150px;
  padding-top: 16px;
}

.inventory-bars i {
  flex: 1;
  height: var(--h);
  min-height: 32px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--blue), var(--teal));
}

.activity-panel {
  grid-column: span 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  min-height: 96px;
  padding: 16px;
}

.activity-panel span {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 12px;
  border-radius: 8px;
  background: #f2f6f5;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(820px, 100%);
  padding: 145px clamp(18px, 6vw, 86px) 72px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffb28d;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: 6.2rem;
  line-height: 0.93;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: 3.7rem;
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-copy {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
}

.button.primary {
  color: var(--white);
  background: var(--teal);
}

.button.primary:hover {
  background: var(--teal-dark);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.56);
  background: rgba(255, 255, 255, 0.08);
}

.hero-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 760px;
}

.hero-channels span,
.status-list span,
.consult-points span,
.service-list span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  font-weight: 800;
}

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

.section {
  padding: clamp(76px, 11vw, 132px) 0;
}

.section-inner {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.problem {
  padding: clamp(44px, 7vw, 78px) 0;
}

.problem-layout,
.service-layout,
.workflow-layout,
.consult-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 7vw, 84px);
  align-items: center;
}

.problem p:last-child,
.service-layout p,
.workflow-copy p,
.consult-copy p {
  font-size: 1.05rem;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 44px;
}

.feature-grid,
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card,
.audience-grid article {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.audience-grid article {
  min-height: 210px;
}

.icon {
  position: relative;
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 26px;
  place-items: center;
  border-radius: 8px;
  background: #eef7f5;
}

.icon::before,
.icon::after {
  position: absolute;
  content: "";
}

.order-icon::before {
  width: 20px;
  height: 24px;
  border: 3px solid var(--teal);
  border-radius: 5px;
}

.order-icon::after {
  width: 12px;
  height: 3px;
  background: var(--coral);
  box-shadow: 0 8px 0 var(--coral);
}

.package-icon::before {
  width: 24px;
  height: 20px;
  border: 3px solid var(--teal);
  transform: rotate(45deg);
}

.inventory-icon::before {
  width: 24px;
  height: 24px;
  border: 3px solid var(--teal);
  border-radius: 50%;
}

.inventory-icon::after {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 10px 0 0 var(--gold), 5px 9px 0 var(--gold);
}

.pricing-icon::before {
  width: 24px;
  height: 24px;
  border: 3px solid var(--teal);
  border-radius: 50%;
}

.pricing-icon::after {
  width: 18px;
  height: 3px;
  background: var(--coral);
  transform: rotate(-28deg);
}

.shipping-icon::before {
  width: 26px;
  height: 18px;
  border: 3px solid var(--teal);
  border-radius: 5px;
}

.shipping-icon::after {
  right: 7px;
  bottom: 8px;
  width: 8px;
  height: 8px;
  border: 3px solid var(--gold);
  border-radius: 50%;
}

.analytics-icon::before {
  width: 6px;
  height: 24px;
  background: var(--teal);
  box-shadow: 10px 8px 0 var(--gold), 20px -5px 0 var(--coral);
}

.split-band {
  background: #edf4f1;
}

.status-list,
.consult-points,
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.status-list span,
.consult-points span,
.service-list span {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.timeline-visual {
  display: grid;
  gap: 14px;
}

.timeline-step {
  position: relative;
  min-height: 104px;
  padding: 22px 22px 22px 68px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.timeline-step::before {
  position: absolute;
  top: 24px;
  left: 22px;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 6px solid #dbe9e5;
  border-radius: 50%;
  content: "";
  background: var(--white);
}

.timeline-step.active::before {
  border-color: var(--teal);
}

.timeline-step b,
.timeline-step span {
  display: block;
}

.timeline-step span {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.55;
}

.service-band {
  color: var(--white);
  background: #182126;
}

.service-band h2,
.service-band p {
  color: var(--white);
}

.service-band p {
  color: rgba(255, 255, 255, 0.75);
}

.service-list span {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

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

.consult-layout {
  align-items: start;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 30px;
}

.offer-grid article {
  min-height: 158px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.offer-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1rem;
}

.offer-grid p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
}

.booking-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
  box-shadow: 0 18px 44px rgba(16, 24, 32, 0.08);
}

.booking-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.booking-form .full {
  grid-column: 1 / -1;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cfdade;
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--ink);
  background: var(--white);
}

.booking-form textarea {
  resize: vertical;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  outline: 3px solid rgba(15, 118, 110, 0.18);
  border-color: var(--teal);
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.86rem;
}

.site-footer {
  padding: 30px 0;
  color: var(--white);
  background: var(--ink);
}

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

.footer-layout p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer-layout a:last-child {
  font-weight: 800;
}

@media (max-width: 980px) {
  .dashboard-shell {
    width: min(680px, 88vw);
    opacity: 0.78;
    transform: perspective(900px) rotateY(-3deg) rotateX(3deg);
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(8, 19, 22, 0.93) 0%, rgba(8, 19, 22, 0.74) 52%, rgba(8, 19, 22, 0.88) 100%);
  }

  .hero-content {
    padding-top: 132px;
  }

  .problem-layout,
  .service-layout,
  .workflow-layout,
  .consult-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .site-header {
    padding: 14px 18px;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: 70px;
    right: 18px;
    left: 18px;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: var(--white);
    box-shadow: 0 18px 42px rgba(16, 24, 32, 0.14);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 14px;
  }

  .hero {
    min-height: 96vh;
  }

  .hero-visual {
    align-items: end;
    justify-items: center;
    padding: 88px 18px 20px;
  }

  .dashboard-shell {
    width: 104vw;
    min-height: 420px;
    transform: none;
  }

  .dashboard-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 12px;
  }

  .metric-panel {
    min-height: 92px;
    padding: 12px;
  }

  .metric-panel:nth-child(3) {
    display: none;
  }

  .ops-board,
  .inventory-panel,
  .activity-panel {
    grid-column: 1 / -1;
  }

  .inventory-panel,
  .activity-panel {
    display: none;
  }

  .hero-content {
    padding: 112px 18px 44px;
  }

  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.65rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-copy {
    max-width: 34rem;
  }

  .feature-grid,
  .audience-grid,
  .offer-grid,
  .booking-form {
    grid-template-columns: 1fr;
  }

  .booking-form {
    padding: 18px;
  }

  .footer-layout {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  h1 {
    font-size: 3.05rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .metric-panel strong {
    font-size: 1.55rem;
  }

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

  .queue-row {
    grid-template-columns: 42px 1fr;
  }

  .queue-row em {
    grid-column: 2;
  }
}
