/* Tres-POS marketing site */
:root {
  --navy: #1f2d3f;
  --slate: #3b4f66;
  --slate-2: #2b3b50;
  --blue: #2a73c4;
  --blue-dark: #1b5698;
  --orange: #f08a24;
  --cream: #fbf3dc;
  --maroon: #4a1410;
  --green: #2e9e44;
  --ink: #1d2530;
  --muted: #5b6776;
  --line: #e3e7ec;
  --bg: #ffffff;
  --bg-soft: #f4f6f9;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 32, 48, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--orange); margin-bottom: .75rem;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em; padding: .8em 1.4em;
  border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: #dc7813; }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(31, 45, 63, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand img { width: 38px; height: 38px; border-radius: 8px; }
.brand span { font-weight: 800; font-size: 1.3rem; letter-spacing: -.01em; }
.brand b { color: #6fb0ff; font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: #d7dfe9; text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav-links a:hover { color: #fff; }
.nav-links .btn { color: #fff; padding: .55em 1.1em; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 1.6rem; cursor: pointer; padding: 6px; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 20px 20px;
    background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; }
  .nav-links .btn { display: inline-flex; margin-top: 8px; }
}

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 2px, transparent 2px 14px),
    linear-gradient(160deg, var(--slate) 0%, var(--navy) 100%);
  padding: 90px 0 100px;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 .accent { color: var(--orange); }
.hero .lead { color: #cfd8e3; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.badge {
  font-size: .82rem; font-weight: 600; color: #e6ecf3; padding: .4em .85em; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
}

/* Hero mockup: ticket -> terminal tip screen */
.mock { display: flex; align-items: center; justify-content: center; gap: 18px; }
.ticket {
  width: 230px; background: var(--cream); color: var(--ink); border-radius: 12px; overflow: hidden;
  box-shadow: var(--shadow); font-size: .92rem;
}
.ticket-head { background: var(--maroon); color: #fff; font-weight: 700; padding: 10px 16px; }
.ticket-body { padding: 14px 16px 16px; }
.ticket-row { display: flex; justify-content: space-between; padding: 3px 0; }
.ticket-total {
  display: flex; justify-content: space-between; font-weight: 800; color: var(--maroon);
  border-top: 2px solid #e1d3ae; margin-top: 10px; padding-top: 10px; font-size: 1.05rem;
}
.ticket-pay {
  margin-top: 14px; background: var(--green); color: #fff; font-weight: 800; text-align: center;
  border-radius: 8px; padding: 8px; letter-spacing: .05em;
}
.arrow { color: var(--orange); font-size: 2rem; font-weight: 900; }
.device {
  width: 160px; background: #16181c; border-radius: 26px; padding: 14px 10px 26px; box-shadow: var(--shadow);
  position: relative;
}
.device::after {
  content: ""; position: absolute; bottom: 10px; left: 50%; width: 44px; height: 5px;
  margin-left: -22px; border-radius: 3px; background: #444;
}
.device-screen { background: #fff; color: var(--ink); border-radius: 8px; padding: 12px 10px; text-align: center; }
.device-screen strong { display: block; font-size: 1rem; }
.device-screen small { color: var(--muted); }
.tip { background: #eef0f2; border-radius: 6px; padding: 6px; margin-top: 7px; font-weight: 700; font-size: .9rem; }
.tip.on { background: var(--green); color: #fff; }

@media (max-width: 900px) {
  .hero { padding: 60px 0 70px; }
  .hero-grid { grid-template-columns: 1fr; }
  .mock { transform: scale(.92); }
}
@media (max-width: 480px) {
  .mock { gap: 10px; transform: none; }
  .ticket { width: 180px; font-size: .8rem; }
  .device { width: 120px; }
  .arrow { font-size: 1.4rem; }
}

/* Sections */
section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head .lead { margin: 0 auto; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 600px) { .grid-3 { grid-template-columns: 1fr; } section { padding: 64px 0; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card p { color: var(--muted); margin: 0; font-size: .97rem; }
.icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
  background: #e8f1fb; color: var(--blue);
}
.icon svg { width: 24px; height: 24px; }
.icon.orange { background: #fdf0e2; color: #d06c0b; }
.icon.green { background: #e6f5e9; color: var(--green); }
.icon.maroon { background: #f6e8e6; color: var(--maroon); }

.checks { list-style: none; padding: 0; margin: 20px 0 0; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* Payments panel */
.pay-panel {
  background: linear-gradient(160deg, var(--slate) 0%, var(--navy) 100%); color: #fff;
  border-radius: 20px; padding: 32px; box-shadow: var(--shadow);
}
.pay-panel h3 { color: #fff; }
.pay-option {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 12px;
  padding: 18px 20px; margin-top: 14px;
}
.pay-option strong { display: block; font-size: 1.05rem; }
.pay-option span { color: #c9d3df; font-size: .93rem; }
.pay-note { margin-top: 18px; font-size: .88rem; color: #c9d3df; }

/* KDS mockup */
.kds {
  background: #11161d; border-radius: 16px; padding: 16px; box-shadow: var(--shadow);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.kds-ticket { background: #fff; border-radius: 8px; overflow: hidden; font-size: .82rem; }
.kds-ticket header { display: flex; justify-content: space-between; padding: 7px 10px; color: #fff; font-weight: 700; }
.kds-ticket.new header { background: var(--blue); }
.kds-ticket.late header { background: #c0392b; }
.kds-ticket.ready header { background: var(--green); }
.kds-ticket ul { list-style: none; margin: 0; padding: 8px 10px 10px; }
.kds-ticket li { padding: 2px 0; }
.kds-ticket li em { color: #b35a00; font-style: normal; font-size: .76rem; display: block; padding-left: 10px; }
@media (max-width: 480px) { .kds { grid-template-columns: 1fr 1fr; } .kds-ticket:nth-child(3) { display: none; } }

/* Floor plan mockup */
.floor {
  background: var(--cream); border-radius: 16px; padding: 22px; box-shadow: var(--shadow);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; aspect-ratio: 4 / 3;
}
.tbl {
  display: grid; place-items: center; font-weight: 800; color: #fff; border-radius: 10px; font-size: .95rem;
}
.tbl.round { border-radius: 50%; aspect-ratio: 1; align-self: center; }
.tbl.wide { grid-column: span 2; }
.tbl.open { background: #7c8a9b; }
.tbl.seated { background: var(--blue); }
.tbl.paying { background: var(--orange); }
.legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 14px; font-size: .88rem; color: var(--muted); justify-content: center; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--orange); color: #fff; font-weight: 800; margin-bottom: 14px;
}
.step p { color: var(--muted); }

/* CTA / contact */
.cta {
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 2px, transparent 2px 14px),
    linear-gradient(160deg, var(--slate) 0%, var(--navy) 100%);
  color: #fff;
}
.cta .lead { color: #cfd8e3; }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  background: #fff; color: var(--ink); border-radius: 18px; padding: 28px; box-shadow: var(--shadow);
}
.contact-item { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: 0; }
.contact-item svg { flex: none; width: 22px; height: 22px; color: var(--blue); margin-top: 3px; }
.contact-item strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contact-item a { color: var(--ink); font-weight: 600; text-decoration: none; }
.contact-item a:hover { color: var(--blue); }

/* Footer */
.site-footer { background: #151f2c; color: #9fb0c3; padding: 36px 0; font-size: .92rem; }
.footer-row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.site-footer a { color: #d7dfe9; text-decoration: none; }
.site-footer a:hover { color: #fff; }

/* Legal pages */
.legal-hero { background: linear-gradient(160deg, var(--slate) 0%, var(--navy) 100%); color: #fff; padding: 56px 0 44px; }
.legal-hero p { color: #cfd8e3; margin: 0; }
.legal { max-width: 820px; margin: 0 auto; padding: 48px 20px 80px; }
.legal h2 { font-size: 1.25rem; color: var(--maroon); margin-top: 2em; }
.legal ul { padding-left: 1.3em; }
.legal li { margin-bottom: .5em; }
