/* ============================================================
   RetailPay — modern design system
   Brand orange: #EE7203
   ============================================================ */

:root {
  --brand: #ee7203;
  --brand-600: #d96403;
  --brand-700: #b95303;
  --brand-soft: #fff3e8;
  --ink: #14110d;
  --ink-2: #46413a;
  --muted: #7a7368;
  --line: #ece7df;
  --bg: #ffffff;
  --bg-alt: #fbf8f3;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(20, 17, 13, 0.06);
  --shadow: 0 18px 50px -20px rgba(20, 17, 13, 0.22);
  --shadow-brand: 0 16px 40px -12px rgba(238, 114, 3, 0.45);
}

* {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---- Legacy classes used by menu.html ---- */
.bg-gradient {
  background: linear-gradient(135deg, var(--brand) 0%, #f59e0b 100%) !important;
}
.card-header h5 {
  margin-bottom: 0;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  font-weight: 600;
  border-radius: 999px;
  padding: 0.55rem 1.25rem;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease,
    color 0.2s ease;
}
.btn-lg {
  padding: 0.8rem 1.7rem;
  font-size: 1.02rem;
}
.btn-brand {
  background: var(--brand);
  border: 1px solid var(--brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn-brand:hover {
  background: var(--brand-600);
  border-color: var(--brand-600);
  color: #fff;
  transform: translateY(-2px);
}
.btn-ghost {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand-700);
  background: var(--brand-soft);
  transform: translateY(-2px);
}

/* ============================================================
   Top bar + Nav
   ============================================================ */
.topbar {
  background: var(--ink);
  color: #fff;
  font-size: 0.86rem;
  padding: 0.55rem 1rem;
}
.topbar-link {
  color: #ffd9b3;
  font-weight: 600;
  text-decoration: none;
  margin-left: 0.35rem;
}
.topbar-link:hover {
  color: #fff;
}

.site-nav {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.site-nav--scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.brand-logo {
  height: 34px;
  width: auto;
  display: block;
}
.site-nav .nav-link {
  color: var(--ink-2);
  font-weight: 500;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
}
.site-nav .nav-link:hover {
  color: var(--brand-700);
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(
      1200px 500px at 80% -10%,
      var(--brand-soft) 0%,
      transparent 60%
    ),
    var(--bg);
  padding: 4.5rem 0 5rem;
}
.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px 300px at 15% 110%,
    rgba(238, 114, 3, 0.08),
    transparent 70%
  );
  pointer-events: none;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.text-grad {
  background: linear-gradient(120deg, var(--brand) 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 33rem;
  margin-top: 1.1rem;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}
.stat-num {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--ink);
}
.stat-label {
  font-size: 0.85rem;
  color: var(--muted);
}
.stat-divider {
  width: 1px;
  height: 34px;
  background: var(--line);
}

/* Hero visual: phone mockup + floating cards */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 1rem;
}
.phone {
  position: relative;
  width: 290px;
  background: #fff;
  border: 10px solid #14110d;
  border-radius: 42px;
  box-shadow: var(--shadow);
  padding: 1.1rem 0.9rem 1.2rem;
}
.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 18px;
  background: #14110d;
  border-radius: 0 0 14px 14px;
}
.phone-screen {
  margin-top: 1.2rem;
}
.menu-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, var(--brand) 0%, #f59e0b 100%);
  color: #fff;
  border-radius: 16px;
  padding: 0.85rem 1rem;
}
.menu-title {
  font-weight: 800;
}
.menu-sub {
  font-size: 0.75rem;
  opacity: 0.9;
}
.menu-qr {
  font-size: 1.4rem;
  background: rgba(255, 255, 255, 0.2);
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
}
.menu-chips {
  display: flex;
  gap: 0.4rem;
  margin: 0.9rem 0;
}
.chip {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: #f3efe8;
  color: var(--ink-2);
}
.chip-active {
  background: var(--brand);
  color: #fff;
}
.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
}
.mi-name {
  font-weight: 700;
  font-size: 0.9rem;
}
.mi-desc {
  font-size: 0.74rem;
  color: var(--muted);
}
.mi-price {
  font-weight: 800;
  font-size: 0.9rem;
}
.menu-pay {
  margin-top: 1rem;
  width: 100%;
  border: 0;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  padding: 0.7rem;
  font-size: 0.85rem;
}
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.6rem 0.8rem;
  box-shadow: var(--shadow);
  animation: floaty 4s ease-in-out infinite;
}
.float-card-1 {
  top: 14%;
  left: -2%;
}
.float-card-2 {
  bottom: 12%;
  right: -2%;
  animation-delay: 1.2s;
}
.fc-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e7f7ed;
  color: #16a34a;
  font-weight: 800;
}
.fc-icon-orange {
  background: var(--brand-soft);
  color: var(--brand);
}
.fc-title {
  font-size: 0.78rem;
  font-weight: 700;
}
.fc-sub {
  font-size: 0.7rem;
  color: var(--muted);
}
@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

/* Trust row */
.trust-row {
  margin-top: 3.5rem;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.85rem;
}
.trust-logos {
  display: flex;
  gap: 1.6rem;
  flex-wrap: wrap;
}
.trust-logos span {
  font-weight: 800;
  color: #b6ada0;
  letter-spacing: -0.01em;
}

/* ============================================================
   Sections
   ============================================================ */
.section {
  padding: 5rem 0;
}
.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head {
  max-width: 42rem;
  margin: 0 auto 3rem;
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}
.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 0.6rem;
}
.section-sub {
  color: var(--muted);
  font-size: 1.08rem;
  margin-top: 0.6rem;
}

/* Feature cards */
.feature-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #f0d8bf;
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  background: var(--brand-soft);
  color: var(--brand-700);
  margin-bottom: 1.1rem;
}
.feature-title {
  font-size: 1.2rem;
  font-weight: 700;
}
.feature-text {
  color: var(--muted);
  margin-bottom: 0;
  margin-top: 0.4rem;
}

/* Steps */
.steps {
  position: relative;
}
.step-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  text-align: center;
}
.step-num {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
  background: var(--brand);
  box-shadow: var(--shadow-brand);
}
.step-title {
  font-size: 1.15rem;
  font-weight: 700;
}
.step-text {
  color: var(--muted);
  margin-bottom: 0;
}

/* Pricing */
.price-card {
  position: relative;
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}
.price-card-featured {
  border-color: var(--brand);
  box-shadow: var(--shadow);
}
.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
}
.price-name {
  font-size: 1.3rem;
  font-weight: 800;
}
.price-desc {
  color: var(--muted);
  font-size: 0.92rem;
}
.price-amount {
  font-size: 2.4rem;
  font-weight: 900;
  margin: 0.6rem 0 1.2rem;
}
.price-amount span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
}
.price-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6rem;
  flex: 1;
}
.price-list li {
  padding: 0.4rem 0 0.4rem 1.6rem;
  position: relative;
  color: var(--ink-2);
}
.price-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 800;
}

/* About */
.about-text {
  color: var(--muted);
  font-size: 1.08rem;
  margin: 1rem 0 1.4rem;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.check-list li {
  padding: 0.45rem 0 0.45rem 1.9rem;
  position: relative;
  font-weight: 500;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-700);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  top: 0.4rem;
}
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.about-stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  text-align: center;
}
.as-num {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--brand-700);
}
.as-label {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Contact */
.contact-card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: clamp(1.6rem, 4vw, 3rem);
}
.form-label {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink-2);
  margin-bottom: 0.3rem;
}
.form-control {
  border-radius: var(--radius-sm);
  border-color: var(--line);
}
.form-control:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 0.2rem rgba(238, 114, 3, 0.15);
}
.contact-info {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
  color: var(--ink-2);
  font-weight: 500;
}
.contact-info li {
  padding: 0.3rem 0;
}
.form-note {
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
  margin: 0.7rem 0 0;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: #cfc8bd;
  padding: 3.5rem 0 1.6rem;
}
.footer-logo {
  height: 30px;
  filter: brightness(0) invert(1);
  margin-bottom: 1rem;
}
.footer-about {
  color: #a59e93;
  font-size: 0.92rem;
  max-width: 22rem;
}
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
.footer-contact li {
  color: #a59e93;
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
}
.footer-contact a {
  color: #a59e93;
  text-decoration: none;
}
.footer-contact a:hover {
  color: var(--brand);
}
.footer-head {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.9rem;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 0.5rem;
}
.footer-links a {
  color: #a59e93;
  text-decoration: none;
  font-size: 0.92rem;
}
.footer-links a:hover {
  color: var(--brand);
}
.footer-form {
  display: flex;
  gap: 0.5rem;
}
.footer-form .form-control {
  background: #211c16;
  border-color: #3a332b;
  color: #fff;
}
.footer-form .form-control::placeholder {
  color: #7c756a;
}
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid #2a241d;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.86rem;
  color: #8d8579;
}
.footer-bottom-links a {
  color: #8d8579;
  text-decoration: none;
  margin-left: 1.2rem;
}
.footer-bottom-links a:hover {
  color: var(--brand);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 991.98px) {
  .site-nav .navbar-collapse {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1rem;
    margin-top: 0.6rem;
    box-shadow: var(--shadow);
  }
  .float-card-1 {
    left: -8px;
  }
  .float-card-2 {
    right: -8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
  }
  .float-card {
    animation: none;
  }
}
