:root {
  --brand: #2EBD59;
  --brand-dark: #1B8E42;
  --brand-soft: #E8F7ED;
  --accent: #E67F22;
  --admin: #2979FF;
  --ink: #0F1720;
  --ink-2: #2B3542;
  --muted: #5B6673;
  --line: #E5E9EE;
  --bg: #FFFFFF;
  --bg-alt: #F7F9FB;
  --card: #FFFFFF;
  --shadow: 0 10px 30px rgba(15, 23, 32, 0.06);
  --radius: 16px;
  --radius-lg: 24px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--brand-dark); }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 1.05rem;
  color: var(--ink);
}
.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  display: grid;
  place-items: center;
  color: white;
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 6px 16px rgba(46, 189, 89, 0.35);
}
.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}
.nav-links a {
  color: var(--ink-2);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--brand-dark); }
.nav-cta {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: white !important;
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.15s ease, background 0.15s ease;
}
.nav-cta:hover { background: var(--brand-dark); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Hero */
.hero {
  padding: 84px 0 60px;
  background:
    radial-gradient(1200px 500px at 15% -10%, rgba(46, 189, 89, 0.12), transparent 60%),
    radial-gradient(900px 400px at 100% 10%, rgba(41, 121, 255, 0.08), transparent 60%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 18px 0 16px;
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 800;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--brand) 0%, var(--brand-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 540px;
  margin: 0 0 28px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary {
  background: var(--ink);
  color: white;
  box-shadow: 0 8px 20px rgba(15, 23, 32, 0.15);
}
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-ghost {
  background: white;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink); }

.hero-trust {
  margin-top: 26px;
  display: flex;
  gap: 22px;
  align-items: center;
  color: var(--muted);
  font-size: 0.9rem;
}
.hero-trust strong { color: var(--ink); font-weight: 600; }

/* Phone mockup */
.mockup {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 9 / 18;
  border-radius: 42px;
  background: linear-gradient(160deg, #101820, #1c2733);
  padding: 14px;
  box-shadow: 0 40px 80px -20px rgba(15, 23, 32, 0.25),
              0 20px 40px -10px rgba(15, 23, 32, 0.15);
}
.mockup::before {
  content: "";
  position: absolute;
  top: 22px; left: 50%;
  transform: translateX(-50%);
  width: 100px; height: 24px;
  background: #101820;
  border-radius: 999px;
  z-index: 3;
}
.mockup-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 32px;
  background: linear-gradient(180deg, #FBFBFB 0%, #F1F4F7 100%);
  overflow: hidden;
  padding: 46px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.m-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 4px 10px;
}
.m-title { font-weight: 700; font-size: 0.95rem; }
.m-sub { font-size: 0.72rem; color: var(--muted); }
.m-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: white;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}
.m-roles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.m-role {
  background: white;
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 4px 12px rgba(15, 23, 32, 0.05);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.m-role .dot {
  width: 30px; height: 30px;
  border-radius: 10px;
  display: grid; place-items: center;
  color: white; font-size: 14px;
}
.m-role .name { font-weight: 700; font-size: 0.82rem; }
.m-role .sub { font-size: 0.68rem; color: var(--muted); }
.m-role.waiter .dot { background: linear-gradient(135deg, #2EBD59, #1B8E42); }
.m-role.kitchen .dot { background: linear-gradient(135deg, #FF9800, #F57C00); }
.m-role.cashier .dot { background: linear-gradient(135deg, #00C853, #009624); }
.m-role.admin .dot { background: linear-gradient(135deg, #2979FF, #1565C0); }

.m-orders {
  background: white;
  border-radius: 16px;
  padding: 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(15, 23, 32, 0.05);
}
.m-orders h4 { margin: 0 0 4px; font-size: 0.78rem; }
.m-order {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  background: #F7F9FB;
  border-radius: 10px;
  font-size: 0.72rem;
}
.m-order .price { font-weight: 700; }
.m-badge { padding: 2px 8px; border-radius: 999px; font-size: 0.62rem; font-weight: 600; }
.m-badge.ok { background: #E8F7ED; color: #1B8E42; }
.m-badge.warn { background: #FFF3E0; color: #F57C00; }

/* Section basics */
section { padding: 90px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .kicker {
  display: inline-block;
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
  font-weight: 800;
}
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }

/* Features */
#features { background: var(--bg-alt); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  margin-bottom: 16px;
  color: white;
}
.feature h3 { margin: 0 0 8px; font-size: 1.08rem; font-weight: 700; }
.feature p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Usage / How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.step {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  position: relative;
}
.step-num {
  position: absolute;
  top: -14px;
  left: 24px;
  width: 32px; height: 32px;
  border-radius: 10px;
  background: var(--ink);
  color: white;
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
}
.step h3 { margin: 8px 0 6px; font-size: 1.02rem; font-weight: 700; }
.step p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* Pricing */
#pricing { background: var(--bg-alt); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 820px;
  margin: 0 auto;
}
.plan {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.plan.popular {
  border: 2px solid var(--ink);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -12px rgba(15, 23, 32, 0.15);
}
.plan-badge {
  position: absolute;
  top: -12px;
  left: 30px;
  background: var(--ink);
  color: white;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.plan h3 { margin: 0 0 4px; font-size: 1.05rem; font-weight: 700; }
.plan .tag { color: var(--muted); font-size: 0.9rem; }
.plan .price {
  margin: 20px 0 4px;
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.plan .price small { font-size: 0.95rem; color: var(--muted); font-weight: 500; }
.plan .note { color: var(--muted); font-size: 0.85rem; margin-bottom: 20px; }
.plan ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.94rem;
  color: var(--ink-2);
}
.plan li svg { flex-shrink: 0; margin-top: 2px; color: var(--brand); }

/* CTA */
.cta {
  padding: 80px 0;
  background: linear-gradient(135deg, #0F1720 0%, #1C2733 100%);
  color: white;
}
.cta .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.cta h2 {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 2.8vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.015em;
}
.cta p { margin: 0; color: rgba(255,255,255,0.7); }
.cta .btn-primary { background: var(--brand); }
.cta .btn-primary:hover { background: var(--brand-dark); }

/* Footer */
footer {
  background: white;
  border-top: 1px solid var(--line);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand { max-width: 320px; }
.footer-brand p { color: var(--muted); font-size: 0.92rem; margin-top: 14px; }
.footer h4 {
  margin: 0 0 14px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; }
.footer li a { color: var(--ink-2); font-size: 0.93rem; }
.footer li a:hover { color: var(--brand-dark); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* Legal (privacy / delete) pages */
.legal {
  padding: 60px 0 100px;
  max-width: 780px;
  margin: 0 auto;
}
.legal h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  margin: 0 0 8px;
  letter-spacing: -0.015em;
  font-weight: 800;
}
.legal .updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 36px; }
.legal h2 {
  margin-top: 40px;
  margin-bottom: 12px;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.legal h3 { margin-top: 24px; font-size: 1.02rem; font-weight: 700; }
.legal p, .legal li { color: var(--ink-2); font-size: 1rem; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--brand-dark); text-decoration: underline; }

.callout {
  background: var(--brand-soft);
  border: 1px solid #C8ECD3;
  border-left: 4px solid var(--brand);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 24px 0;
}
.callout.warn {
  background: #FFF4E6;
  border-color: #FFD8A8;
  border-left-color: var(--accent);
}
.callout p { margin: 0; }

.contact-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 24px 0;
}
.contact-card .row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 8px 0;
  color: var(--ink-2);
}
.contact-card strong { color: var(--ink); }

.deletion-form {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  margin: 30px 0;
}
.deletion-form label {
  display: block;
  margin: 14px 0 6px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
}
.deletion-form input,
.deletion-form select,
.deletion-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  color: var(--ink);
  background: white;
  transition: border-color 0.15s ease;
}
.deletion-form input:focus,
.deletion-form select:focus,
.deletion-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(46,189,89,0.15);
}
.deletion-form textarea { min-height: 90px; resize: vertical; }
.deletion-form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.deletion-form button {
  margin-top: 20px;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  border: 0;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  transition: background 0.15s ease;
}
.deletion-form button:hover { background: var(--brand-dark); }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 10px; }

.back-home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}
.back-home:hover { color: var(--brand-dark); }

/* Responsive */
@media (max-width: 900px) {
  .hero { padding: 60px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .mockup { max-width: 320px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  section { padding: 64px 0; }
  .nav-links {
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: white;
    flex-direction: column;
    padding: 20px 24px;
    gap: 18px;
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-cta { align-self: flex-start; }
  .features-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .plan.popular { transform: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .deletion-form .row-2 { grid-template-columns: 1fr; }
  .cta .container { flex-direction: column; text-align: center; }
}
