* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #0b0920;
  color: #ffffff;
  font-family: "Heebo", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

button,
input,
select {
  font: inherit;
}

:focus-visible {
  outline: 2px solid #ff8a1a;
  outline-offset: 3px;
}

.wrap {
  max-width: 1240px;
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 9, 32, 0.92);
  border-bottom: 1px solid #221e48;
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: 0.03em;
  color: #ffffff;
  text-decoration: none;
}

.logo-mark {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-diamond {
  width: 22px;
  height: 22px;
  background: #ffffff;
  border-radius: 5px;
  transform: rotate(45deg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-diamond span {
  transform: rotate(-45deg);
  color: #0b0920;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-weight: 500;
  font-size: 16px;
}

.nav a {
  color: #d6d4e6;
  text-decoration: none;
  padding: 10px 0;
}

.nav a:hover {
  color: #ffffff;
}

.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
  border: 0;
}

.btn-primary {
  background: #ff8a1a;
  color: #0b0920;
  font-weight: 800;
}

.btn-primary:hover {
  background: #ff9a3d;
}

.btn-ghost {
  background: #16133a;
  color: #ffffff;
  font-weight: 700;
  border: 1px solid #3a3666;
}

.btn-ghost:hover {
  border-color: #6e6a99;
}

.btn-light {
  background: #ffffff;
  color: #0b0920;
  font-weight: 800;
}

.btn-light:hover {
  background: #f4f5f7;
}

.btn-md {
  height: 44px;
  padding: 0 22px;
  border-radius: 12px;
  font-size: 15px;
}

.btn-lg {
  height: 56px;
  padding: 0 30px;
  border-radius: 14px;
  font-size: 18px;
}

.lang-btn {
  min-width: 56px;
  padding: 0 16px;
}

.hero {
  padding: 88px 24px 64px;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 26px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #3a3666;
  background: #16133a;
  color: #d6d4e6;
  font-weight: 500;
  font-size: 15px;
  padding: 8px 16px;
  border-radius: 999px;
}

.dots {
  display: flex;
  gap: 4px;
}

.dots span {
  width: 8px;
  height: 8px;
  border-radius: 2px;
}

.dots span:nth-child(1) { background: #a800ff; }
.dots span:nth-child(2) { background: #ff8a1a; }
.dots span:nth-child(3) { background: #0052ff; }
.dots span:nth-child(4) { background: #ff3b4a; }

h1, h2, h3 {
  margin: 0;
}

.hero h1 {
  font-size: clamp(44px, 6.4vw, 88px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.02em;
  max-width: 1000px;
}

.accent {
  color: #ffa24d;
}

.hero-sub {
  margin: 0;
  font-size: 20px;
  line-height: 1.6;
  color: #b9b6d3;
  max-width: 680px;
}

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

.wa-btn {
  padding: 0 26px;
}

.points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.points li {
  font-size: 15px;
  font-weight: 500;
  color: #d6d4e6;
  padding: 8px 14px;
  border-radius: 10px;
  background: #16133a;
  border-bottom: 2px solid var(--tone);
}

.tone-0 { --tone: #a800ff; --tone-light: #c77dff; }
.tone-1 { --tone: #ff8a1a; --tone-light: #ffa24d; }
.tone-2 { --tone: #0052ff; --tone-light: #6e9bff; }
.tone-3 { --tone: #ff3b4a; --tone-light: #ff6b77; }

.hero-frame {
  width: 100%;
  max-width: 1080px;
  margin-top: 6px;
  padding: 14px;
  border-radius: 32px;
  background: #16133a;
  border: 1px solid #2b2758;
}

.hero-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  background: #f4f5f7;
}

.section {
  padding: 0 24px 96px;
}

.channels {
  padding-top: 64px;
}

.channels-inner,
.features-inner,
.dashboard-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.section-title {
  font-size: clamp(32px, 3.8vw, 52px);
  font-weight: 900;
  line-height: 1.12;
}

.center-title {
  text-align: center;
}

.features-inner .section-title {
  max-width: 800px;
}

.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.flow-col {
  flex: 1 1 260px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.channel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 16px;
  background: #16133a;
  border: 1px solid #2b2758;
}

.diamond {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  transform: rotate(45deg);
  background: var(--tone);
  flex-shrink: 0;
}

.channel-name {
  font-weight: 800;
  font-size: 19px;
}

.channel-desc {
  font-size: 15px;
  color: #9f9cbd;
  margin-inline-start: auto;
}

.flow-arrow {
  flex-shrink: 0;
}

[dir="rtl"] .flow-arrow {
  transform: scaleX(-1);
}

.flow-hub {
  flex: 0 0 auto;
  width: 220px;
  height: 220px;
  border-radius: 36px;
  background: #ffffff;
  color: #0b0920;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.hub-mark {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hub-diamond {
  width: 48px;
  height: 48px;
  background: #0b0920;
  border-radius: 11px;
  transform: rotate(45deg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hub-diamond span {
  transform: rotate(-45deg);
  color: #ffffff;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
}

.flow-hub-name {
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.03em;
}

.flow-out {
  padding: 26px 22px;
  border-radius: 18px;
  background: #16133a;
  border: 1px solid #ff8a1a;
  font-weight: 800;
  font-size: 20px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr));
  gap: 16px;
}

.feature-card,
.feature-cta {
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 210px;
}

.feature-card {
  background: #16133a;
  border: 1px solid #2b2758;
}

.feature-num {
  font-weight: 900;
  font-size: 40px;
  line-height: 1;
  color: var(--tone-light);
}

.feature-card h3 {
  margin: 8px 0 0;
  font-size: 21px;
  font-weight: 800;
}

.feature-card p,
.control-card p,
.kds-card p,
.muted {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: #b9b6d3;
}

.feature-cta {
  background: #ff8a1a;
  color: #0b0920;
  justify-content: space-between;
  text-decoration: none;
}

.feature-cta:hover {
  background: #ff9a3d;
}

.feature-cta-title {
  font-size: 26px;
  font-weight: 900;
  line-height: 1.2;
}

.feature-cta-btn {
  align-self: flex-start;
  background: #0b0920;
  color: #ffffff;
  font-weight: 800;
  padding: 12px 20px;
  border-radius: 12px;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 20px;
}

.kds-card {
  background: #16133a;
  border: 1px solid #2b2758;
  border-radius: 32px;
  padding: clamp(24px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.kds-label {
  align-self: flex-start;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
}

.kds-label-orange { color: #ffa24d; }
.kds-label-purple { color: #c77dff; }
.kds-label-blue { color: #6e9bff; }

.kds-card h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 900;
  line-height: 1.12;
}

.kds-card .muted {
  font-size: 17px;
  line-height: 1.65;
}

.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checks li {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
}

.checks li::before {
  content: "";
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background: center / contain no-repeat url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFA24D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12l5 5L20 7'/></svg>");
}

.checks-purple li::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C77DFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12l5 5L20 7'/></svg>");
}

.shot {
  margin-top: auto;
  height: 420px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  overflow: hidden;
}

.shot-light { background: #f4f5f7; }
.shot-dark { background: #0b0920; }

.shot img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.shot-dark img {
  border-radius: 14px;
}

.pay-band {
  border-radius: 32px;
  padding: clamp(28px, 5vw, 64px);
  background: #ffffff;
  color: #0b0920;
  display: flex;
  flex-wrap: wrap;
  gap: 32px 56px;
  align-items: center;
}

.pay-copy {
  flex: 1 1 380px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pay-copy h2 {
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 900;
}

.pay-copy p {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: #3a3852;
}

.chips {
  flex: 1 1 380px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.chip {
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 18px;
}

.chip-0 { background: #a800ff; color: #ffffff; }
.chip-1 { background: #ff8a1a; color: #0b0920; }
.chip-2 { background: #0052ff; color: #ffffff; }
.chip-3 { background: #ff3b4a; color: #0b0920; }

.dashboard-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  text-align: center;
}

.dashboard-head p {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: #b9b6d3;
  max-width: 620px;
}

.dash-frame {
  border-radius: 32px;
  background: #f4f5f7;
  padding: clamp(16px, 3vw, 36px);
  display: flex;
  justify-content: center;
}

.dash-frame img {
  display: block;
  width: 100%;
  max-width: 860px;
  height: auto;
}

.control-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 16px;
}

.control-card {
  border-radius: 22px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #16133a;
  border: 1px solid #2b2758;
}

.control-bar {
  width: 28px;
  height: 6px;
  border-radius: 3px;
  background: var(--tone);
}

.control-card h3 {
  font-size: 21px;
  font-weight: 800;
}

.contact-band {
  border-radius: 32px;
  padding: clamp(28px, 5vw, 64px);
  background: #16133a;
  border: 1px solid #2b2758;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: flex-start;
}

.contact-copy {
  flex: 1 1 360px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-copy h2 {
  font-size: clamp(32px, 3.8vw, 52px);
  font-weight: 900;
  line-height: 1.08;
}

.contact-copy .muted {
  font-size: 18px;
  line-height: 1.6;
}

.or-wa {
  font-size: 16px;
  font-weight: 500;
  margin-top: 12px;
  color: #d6d4e6;
}

.contact-form-wrap {
  flex: 1 1 440px;
  min-width: 0;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-weight: 700;
  font-size: 15px;
  color: #d6d4e6;
}

.field input,
.field select {
  height: 52px;
  width: 100%;
  border-radius: 12px;
  border: 1px solid #4a4680;
  padding: 0 16px;
  font-size: 16px;
  color: #ffffff;
  background: #0b0920;
  color-scheme: dark;
}

.field input[dir="ltr"] {
  text-align: start;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23D6D4E6' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: left 14px center;
  padding-left: 40px;
}

[dir="ltr"] .field select {
  background-position: right 14px center;
  padding-left: 16px;
  padding-right: 40px;
}

.field option {
  background: #0b0920;
  color: #ffffff;
}

.honey {
  position: absolute;
  inset-inline-start: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  opacity: 0;
  pointer-events: none;
}

.submit-btn {
  margin-top: 6px;
  font-weight: 900;
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

.form-error {
  margin: 0;
  color: #ff6b77;
  font-size: 15px;
  font-weight: 700;
}

.form-error[hidden] {
  display: none;
}

.form-success {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  border-radius: 24px;
  background: #0b0920;
}

.form-success p {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
}

.form-success[hidden],
.lead-form[hidden] {
  display: none;
}

.site-footer {
  border-top: 1px solid #221e48;
  padding: 36px 24px;
}

.footer-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-brand {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.03em;
}

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

.footer-contacts a {
  color: #d6d4e6;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.footer-contacts a:hover {
  color: #ffffff;
}

.footer-copy {
  font-size: 15px;
  color: #9f9cbd;
}

#features,
#kds,
#kiosk,
#payments,
#dashboard,
#contact,
#top {
  scroll-margin-top: 88px;
}

@media (max-width: 980px) {
  .flow {
    flex-direction: column;
    align-items: stretch;
  }

  .flow-col {
    max-width: none;
    width: 100%;
  }

  .flow-arrow,
  [dir="rtl"] .flow-arrow {
    transform: rotate(90deg);
    align-self: center;
  }

  .flow-hub {
    align-self: center;
  }
}

@media (max-width: 860px) {
  .nav {
    flex: 1 0 100%;
    order: 2;
    gap: 4px 18px;
  }

  .logo,
  .header-actions {
    order: 1;
  }

  #features,
  #kds,
  #kiosk,
  #payments,
  #dashboard,
  #contact,
  #top {
    scroll-margin-top: 150px;
  }
}

@media (max-width: 720px) {
  .header-bar,
  .hero,
  .section,
  .site-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .logo {
    font-size: 22px;
  }

  .header-actions .btn-md {
    padding: 0 14px;
    font-size: 14px;
  }

  .hero {
    padding-top: 56px;
    padding-bottom: 40px;
  }

  .nav {
    gap: 16px 20px;
  }

  .shot {
    height: 300px;
  }

  .hero-frame,
  .kds-card,
  .pay-band,
  .dash-frame,
  .contact-band {
    border-radius: 24px;
  }
}

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