/* HorecaMaxx — crisp / punchy landing */
:root {
  --fg: #0a0a0a;
  --fg-muted: #52525b;
  --bg-page: #ececee;
  --bg: #ffffff;
  --accent: #ff4d00;
  --accent-dim: rgba(255, 77, 0, 0.12);
  --accent-hover: #e64500;
  --line: #d4d4d8;
  --line-strong: #000000;
  --shadow: 0 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-lift: 0 12px 40px rgba(0, 0, 0, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--fg-muted);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
a:hover {
  color: var(--fg);
  text-decoration: underline;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Nav */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--fg);
}
.site-nav .inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  justify-content: space-between;
  padding: 0.85rem 0;
  max-width: var(--max);
  margin: 0 auto;
  width: min(100% - 2rem, var(--max));
}
.site-nav-menu {
  flex: 1 1 auto;
  min-width: 0;
}
.site-nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.65rem;
  justify-content: center;
  padding: 0;
  margin: 0;
  list-style: none;
}
.site-nav-links li {
  margin: 0;
}
.site-nav-links a {
  display: block;
  padding: 0.35rem 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--fg-muted) !important;
  text-decoration: none !important;
  border-radius: 4px;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}
.site-nav-links a:hover {
  color: var(--fg) !important;
  background: rgba(0, 0, 0, 0.05);
  text-decoration: none !important;
}
.site-nav-links a.is-active {
  color: var(--fg) !important;
  background: var(--accent-dim);
  box-shadow: inset 0 -2px 0 var(--accent);
}
@media (max-width: 960px) {
  .site-nav-menu {
    order: 3;
    flex-basis: 100%;
    width: 100%;
  }
  .site-nav-links {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 0.25rem 0.5rem;
    padding-bottom: 0.15rem;
    margin-top: 0.15rem;
    border-top: 1px solid var(--line);
    padding-top: 0.55rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .site-nav .inner {
    row-gap: 0.5rem;
  }
}

main#top {
  scroll-margin-top: 4.5rem;
}
main section[id] {
  scroll-margin-top: 5rem;
}
.site-nav .logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--fg);
  letter-spacing: -0.03em;
}
.site-nav .cta-nav {
  font-size: 0.9rem;
  padding: 0.55rem 1.2rem;
  background: var(--accent);
  color: #fff !important;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.15s, background 0.15s;
  border: 2px solid var(--fg);
  box-shadow: 3px 3px 0 var(--fg);
}
.site-nav .cta-nav:hover {
  background: var(--fg);
  color: #fff !important;
  text-decoration: none;
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--fg);
}

/* Hero */
.hero {
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(4rem, 10vw, 6rem);
  position: relative;
  overflow: hidden;
}
.hero--dark {
  background: var(--fg);
  color: #fafafa;
}
.hero--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 80% at 100% 0%, rgba(255, 77, 0, 0.35), transparent 50%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(14, 165, 233, 0.18), transparent 45%);
  pointer-events: none;
}
.hero .wrap {
  position: relative;
}
.hero--dark .section-label {
  color: var(--accent);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  color: #fff;
  margin: 0 0 1.25rem;
  letter-spacing: -0.03em;
  max-width: 18ch;
}
.hero .lead {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: rgba(250, 250, 250, 0.9);
  max-width: 40ch;
  margin: 0 0 2rem;
  font-weight: 500;
}
.hero .lead strong {
  color: #fff;
  font-weight: 700;
}
.btn-primary-lg {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.85rem;
  background: var(--accent);
  color: #fff !important;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-decoration: none !important;
  border: 2px solid #fff;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s;
  box-shadow: 4px 4px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary-lg:hover {
  background: #fff;
  color: var(--fg) !important;
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(255, 255, 255, 0.35);
}

/* Sections */
main > section:not(.hero):not(.cta-final) {
  background: var(--bg-page);
}
section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}
section[id="platforma"],
section[id="colaborare"],
section[id="alegere"] {
  padding: 0;
}
.landing-block {
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.landing-block + .landing-block {
  border-top: 1px solid var(--line);
}

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.5rem;
}
h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  font-weight: 700;
  color: var(--fg);
  margin: 0 0 1.25rem;
  line-height: 1.12;
  letter-spacing: -0.03em;
}
h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fg);
  margin: 2rem 0 0.75rem;
  letter-spacing: -0.02em;
}
h3:first-child {
  margin-top: 0;
}
.prose p {
  margin: 0 0 1rem;
  max-width: 62ch;
}
.prose ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}
.prose li {
  margin-bottom: 0.5rem;
  padding-left: 0.25rem;
}
.prose li::marker {
  color: var(--accent);
  font-weight: 700;
}
.hint {
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  background: var(--bg);
  border: 2px solid var(--fg);
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--fg);
  max-width: 52ch;
  box-shadow: 4px 4px 0 var(--fg);
}

/* Problem grid */
.problem-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}
@media (min-width: 640px) {
  .problem-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .problem-card--span {
    grid-column: 1 / -1;
    max-width: 560px;
    justify-self: center;
    width: 100%;
  }
}
.problem-card {
  background: var(--bg);
  border: 2px solid var(--fg);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.problem-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0 var(--fg);
}
.problem-card .icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  font-weight: 700;
}

.problem-card p {
  margin: 0;
  font-weight: 600;
  font-size: 1rem;
  color: var(--fg);
}

/* Solution strip */
.solution-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}
.solution-pill {
  background: var(--fg);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  border: 2px solid var(--fg);
  box-shadow: 3px 3px 0 var(--accent);
}

/* Steps timeline */
.steps {
  margin-top: 2.5rem;
  position: relative;
}
.step-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem 1.5rem;
  padding-bottom: 2rem;
  position: relative;
}
.step-row:last-child {
  padding-bottom: 0;
}
.step-row::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 48px;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), rgba(255, 77, 0, 0.15));
}
.step-row:last-child::before {
  display: none;
}
.step-num {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  font-family: var(--font-display);
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  border: 2px solid var(--fg);
  box-shadow: 3px 3px 0 var(--fg);
}
.step-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}
.step-body ul {
  margin: 0;
  padding-left: 1.2rem;
}
.step-body li {
  margin-bottom: 0.35rem;
}

/* Flow pipeline */
.flow-section {
  padding: clamp(3rem, 7vw, 5rem) 0;
}
.flow-pipeline {
  margin-top: 2.5rem;
  padding: 2rem 1.25rem;
  background: var(--bg);
  border: 2px solid var(--fg);
  border-radius: var(--radius);
  box-shadow: 6px 6px 0 var(--fg);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.flow-pipeline-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.5rem 0.25rem;
  min-width: min-content;
  margin: 0 auto;
}
.flow-node {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1rem;
  background: var(--bg-page);
  border: 2px solid var(--line);
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.82rem;
  font-family: var(--font-display);
  color: var(--fg);
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.flow-node--accent {
  background: var(--fg);
  color: #fff;
  border-color: var(--fg);
}
.flow-arrow {
  color: var(--accent);
  padding: 0 0.15rem;
  flex-shrink: 0;
  line-height: 0;
}
.flow-arrow svg {
  display: block;
  width: 28px;
  height: 14px;
}
.flow-arrow svg path {
  stroke: var(--accent);
}
@media (max-width: 720px) {
  .flow-pipeline-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .flow-arrow {
    transform: rotate(90deg);
    align-self: center;
    padding: 0.35rem 0;
  }
}

/* Stock diagram */
.stock-diagram {
  margin: 2rem 0;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.18), rgba(255, 77, 0, 0.15));
  border-radius: var(--radius);
  border: 2px solid var(--fg);
  box-shadow: 4px 4px 0 var(--fg);
}
.stock-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-weight: 700;
}
.stock-box {
  background: var(--bg);
  padding: 1rem 1.25rem;
  border-radius: 8px;
  border: 2px solid var(--fg);
  text-align: center;
  min-width: 120px;
  box-shadow: 3px 3px 0 var(--fg);
}
.stock-box small {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.stock-arrow {
  font-size: 1.5rem;
  color: var(--fg);
  font-weight: 700;
}

/* QR mock */
.qr-block {
  display: grid;
  gap: 2rem;
  align-items: center;
  margin-top: 2rem;
}
@media (min-width: 900px) {
  .qr-block {
    grid-template-columns: 1fr 280px;
  }
}
.qr-visual {
  display: flex;
  justify-content: center;
  padding: 2rem;
  background: var(--bg);
  border-radius: var(--radius);
  border: 2px solid var(--fg);
  box-shadow: 6px 6px 0 var(--fg);
}
.qr-frame {
  width: 200px;
  height: 200px;
  background: var(--fg);
  border-radius: 12px;
  padding: 12px;
  display: grid;
  place-items: center;
}
.qr-pattern {
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
      0deg,
      #fff 0,
      #fff 8px,
      var(--fg) 8px,
      var(--fg) 16px
    ),
    repeating-linear-gradient(90deg, #fff 0, #fff 8px, var(--fg) 8px, var(--fg) 16px);
  background-blend-mode: difference;
  border-radius: 8px;
  opacity: 0.95;
}

/* Feature grid */
.feature-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}
@media (min-width: 600px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.feature-card--wide {
  grid-column: 1 / -1;
  text-align: center;
}
@media (min-width: 900px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .feature-card--wide {
    max-width: 480px;
    justify-self: center;
  }
}
.feature-card {
  background: var(--bg);
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius);
  border: 2px solid var(--fg);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--fg);
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--fg);
}

/* Implementation list */
.impl-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.impl-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.85rem 0;
  border-bottom: 2px solid var(--line);
  font-weight: 600;
  color: var(--fg);
}
.impl-list li:last-child {
  border-bottom: none;
}
.impl-list .check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  border: 2px solid var(--fg);
}

/* Outcomes */
.outcome-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}
@media (min-width: 640px) {
  .outcome-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.outcome-item {
  padding: 1.1rem 1.25rem;
  background: var(--bg);
  border-radius: var(--radius-sm);
  border: 2px solid var(--fg);
  font-weight: 700;
  color: var(--fg);
  box-shadow: 4px 4px 0 var(--accent);
}

/* Use cases */
.use-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}
@media (min-width: 720px) {
  .use-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.use-card {
  background: var(--bg);
  border: 2px solid var(--fg);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.use-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0 var(--fg);
}
.use-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
}
.use-card ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.98rem;
}

/* CTA footer */
.cta-final {
  text-align: center;
  padding: clamp(4rem, 10vw, 6rem) 1.5rem;
  background: var(--fg);
  color: #fafafa;
  border-top: 4px solid var(--accent);
}
.cta-final h2 {
  color: #fff;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}
.cta-final p {
  opacity: 0.92;
  max-width: 42ch;
  margin: 0 auto 1.75rem;
  font-size: 1.1rem;
}
.cta-final .btn-primary-lg {
  background: var(--accent);
  color: #fff !important;
  border-color: #fff;
  box-shadow: 4px 4px 0 rgba(255, 255, 255, 0.35);
}
.cta-final .btn-primary-lg:hover {
  background: #fff;
  color: var(--fg) !important;
}

.site-footer {
  padding: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(250, 250, 250, 0.55);
  background: #000;
}
.site-footer a {
  color: var(--accent);
  font-weight: 600;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Divider */
.section-divider {
  height: 1px;
  background: var(--fg);
  margin: 0;
  border: none;
  opacity: 0.15;
}
