:root {
  --navy: #081f33;
  --navy-2: #0d304c;
  --blue: #145477;
  --ink: #102a3c;
  --muted: #647783;
  --line: #dce5e8;
  --surface: #f5f8f7;
  --mint: #dff4ec;
  --green: #36c590;
  --green-dark: #178d68;
  --orange: #ff865e;
  --yellow: #f7cc59;
  --white: #fff;
  --radius: 22px;
  --shadow: 0 24px 70px rgba(8,31,51,.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: -60px; left: 24px; padding: 11px 18px; color: #fff; border-radius: 0 0 9px 9px; background: var(--navy); text-decoration: none; }
.skip-link:focus { top: 0; }

.site-header { position: fixed; z-index: 100; top: 0; left: 0; width: 100%; border-bottom: 1px solid transparent; transition: background .25s, border-color .25s, box-shadow .25s; }
.site-header.is-scrolled { background: rgba(255,255,255,.94); border-color: var(--line); box-shadow: 0 8px 30px rgba(8,31,51,.08); backdrop-filter: blur(16px); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; }
.brand { width: 104px; display: block; }
.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav > a:not(.button) { color: #28495e; font-size: .9rem; font-weight: 700; text-decoration: none; }
.site-nav > a:not(.button):hover { color: var(--green-dark); }
.menu-button { width: 44px; height: 44px; display: none; align-items: center; justify-content: center; flex-direction: column; gap: 5px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
.menu-button > span:not(.sr-only) { width: 19px; height: 2px; background: var(--navy); transition: .2s; }
.menu-button[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-button[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
.menu-button[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 13px 22px; border: 1px solid transparent; border-radius: 10px; font-size: .9rem; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 42px; padding: 9px 17px; }
.button-dark { color: #fff; background: var(--navy); }
.button-primary { color: #fff; background: var(--green-dark); box-shadow: 0 12px 28px rgba(23,141,104,.2); }
.button-primary:hover { background: #107657; }
.text-link { color: var(--navy); font-size: .9rem; font-weight: 800; text-underline-offset: 5px; }

.hero { position: relative; overflow: hidden; padding-top: 82px; background: linear-gradient(145deg, #f2faf7 0%, #fff 56%, #eef6f8 100%); }
.hero-pattern { position: absolute; width: 700px; height: 700px; top: -360px; right: -230px; border: 1px solid rgba(20,84,119,.09); border-radius: 50%; box-shadow: 0 0 0 80px rgba(20,84,119,.025), 0 0 0 160px rgba(54,197,144,.02); }
.hero-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; min-height: 680px; padding-top: 65px; padding-bottom: 60px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--green-dark); font-size: .75rem; font-weight: 850; letter-spacing: .14em; line-height: 1.3; text-transform: uppercase; }
.eyebrow > span { width: 30px; height: 2px; background: currentColor; }
.eyebrow-light { color: #6fe4bb; }
.hero h1 { margin: 0; color: var(--navy); font-size: clamp(3.4rem, 5.6vw, 5.5rem); font-weight: 680; letter-spacing: -.065em; line-height: .96; }
.hero h1 em { color: var(--green-dark); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.hero-intro { max-width: 610px; margin: 28px 0 0; color: var(--muted); font-size: 1.08rem; }
.hero-actions { display: flex; align-items: center; gap: 25px; margin-top: 34px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 42px; }
.hero-tags span { padding: 6px 11px; color: #3c5b6d; border: 1px solid #d5e4e3; border-radius: 30px; background: rgba(255,255,255,.7); font-size: .7rem; font-weight: 750; }

.hero-visual { position: relative; min-width: 0; padding: 35px 0 45px; }
.pos-window { position: relative; z-index: 2; min-height: 460px; display: grid; grid-template-columns: 105px 1fr; color: #fff; border: 1px solid rgba(8,31,51,.08); border-radius: 22px; background: #fff; box-shadow: 0 30px 80px rgba(8,31,51,.18); overflow: hidden; transform: perspective(1100px) rotateY(-3deg) rotateX(1deg); }
.pos-sidebar { padding: 22px 13px; background: var(--navy); }
.pos-sidebar img { width: 64px; margin: 0 auto 38px; filter: brightness(0) invert(1); }
.side-item { position: relative; display: flex; align-items: center; gap: 8px; margin: 7px 0; padding: 9px 8px; color: rgba(255,255,255,.45); border-radius: 7px; font-size: .62rem; font-weight: 700; }
.side-item i { width: 7px; height: 7px; border: 1px solid currentColor; border-radius: 2px; }
.side-item.active { color: #fff; background: rgba(54,197,144,.16); }
.side-item.active i { border-color: var(--green); background: var(--green); }
.pos-main { min-width: 0; padding: 25px; color: var(--ink); background: #f7f9f8; }
.pos-head { display: flex; justify-content: space-between; align-items: center; }
.pos-head small, .pos-head strong { display: block; }
.pos-head small { color: #90a0a8; font-size: .62rem; }
.pos-head strong { font-size: .9rem; }
.online { display: flex; align-items: center; gap: 6px; color: var(--green-dark); font-size: .62rem; font-weight: 750; }
.online i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(54,197,144,.12); }
.pos-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; margin-top: 22px; }
.pos-stats div { padding: 13px; border: 1px solid #e4e9e8; border-radius: 10px; background: #fff; }
.pos-stats small, .pos-stats strong { display: block; }
.pos-stats small { color: #82929a; font-size: .56rem; }
.pos-stats strong { margin-top: 4px; color: var(--navy); font-size: 1.2rem; }
.pos-content { display: grid; grid-template-columns: 1.55fr .75fr; gap: 10px; margin-top: 12px; }
.order-list, .sales-card { border: 1px solid #e4e9e8; border-radius: 10px; background: #fff; }
.order-list { padding: 14px; }
.order-title { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: .62rem; }
.order-title span { color: var(--green-dark); }
.order-row { display: grid; grid-template-columns: 1fr .7fr auto; gap: 7px; align-items: center; padding: 10px 0; border-top: 1px solid #edf0ef; font-size: .56rem; }
.order-row span { color: #82929a; }
.order-row em { padding: 3px 5px; color: #466173; border-radius: 20px; background: #e8eef1; font-style: normal; }
.order-row em.cooking { color: #9b6412; background: #fff0cf; }
.order-row em.ready { color: #177653; background: #dff5ea; }
.sales-card { padding: 14px; }
.sales-card > small { color: #82929a; font-size: .56rem; }
.donut { width: 74px; height: 74px; display: grid; place-items: center; margin: 21px auto 13px; border-radius: 50%; background: conic-gradient(var(--green) 0 74%, #e6ecea 74%); position: relative; }
.donut::after { position: absolute; inset: 9px; content: ""; border-radius: 50%; background: #fff; }
.donut span { position: relative; z-index: 1; font-size: .68rem; font-weight: 850; }
.sales-card p { margin: 0; color: #7c8e97; font-size: .56rem; text-align: center; }
.float-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 11px; padding: 12px 15px; border: 1px solid rgba(8,31,51,.08); border-radius: 12px; background: rgba(255,255,255,.94); box-shadow: 0 14px 35px rgba(8,31,51,.15); backdrop-filter: blur(8px); }
.float-card small, .float-card strong { display: block; }
.float-card small { color: #80919a; font-size: .58rem; }
.float-card strong { font-size: .68rem; }
.float-kitchen { left: -35px; bottom: 7px; }
.float-payment { top: 10px; right: -25px; }
.float-icon, .check { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; color: #fff; background: var(--navy); font-size: .58rem; font-weight: 850; }
.check { color: var(--green-dark); background: var(--mint); font-size: .9rem; }
.channel-bar { position: relative; min-height: 88px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #dfe8e8; }
.channel-bar p { margin: 0; color: #85959d; font-size: .75rem; }
.channel-bar div { display: flex; gap: 38px; color: #426072; font-size: .78rem; font-weight: 800; }

.section { padding: 110px 0; }
.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 90px; align-items: end; margin-bottom: 52px; }
.section-heading h2, .workflow h2, .demo h2 { margin: 0; color: var(--navy); font-size: clamp(2.4rem, 4vw, 3.8rem); font-weight: 680; letter-spacing: -.05em; line-height: 1.06; }
.section-heading > p { margin: 0 0 5px; color: var(--muted); }
.platform-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 15px; }
.feature-card { grid-column: span 2; min-height: 315px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .25s, box-shadow .25s; overflow: hidden; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-large { grid-column: span 4; grid-row: span 2; min-height: 645px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; color: #fff; background: var(--navy); }
.feature-large .feature-icon { grid-column: 1 / -1; }
.feature-wide { grid-column: span 6; min-height: 250px; display: grid; grid-template-columns: auto 1fr 1fr; gap: 28px; align-items: center; background: linear-gradient(115deg,#edf8f4,#eef5f7); }
.feature-icon { width: 50px; height: 50px; display: grid; place-items: center; margin-bottom: 30px; border-radius: 14px; background: var(--mint); }
.feature-icon svg { width: 25px; fill: none; stroke: var(--green-dark); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.feature-large .feature-icon { background: rgba(54,197,144,.13); }
.feature-large .feature-icon svg { stroke: #6fe4bb; }
.card-label { margin: 0 0 10px !important; color: var(--green-dark) !important; font-size: .68rem !important; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.feature-large .card-label { color: #6fe4bb !important; }
.feature-card h3 { margin: 0 0 12px; font-size: 1.35rem; line-height: 1.2; }
.feature-card > p, .feature-card > div > p:not(.card-label) { margin: 0; color: var(--muted); font-size: .9rem; }
.feature-large > div > p:not(.card-label) { color: rgba(255,255,255,.58); }
.mini-ui { align-self: end; min-height: 280px; padding: 18px; border: 1px solid rgba(255,255,255,.12); border-radius: 15px; background: rgba(255,255,255,.06); }
.ui-tabs { display: flex; gap: 15px; color: rgba(255,255,255,.4); font-size: .62rem; }
.ui-tabs .active { color: #fff; }
.menu-tiles { display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; margin-top: 18px; }
.menu-tiles i { height: 49px; border-radius: 8px; background: linear-gradient(140deg,rgba(255,134,94,.5),rgba(247,204,89,.2)); }
.menu-tiles i:nth-child(2n) { background: linear-gradient(140deg,rgba(54,197,144,.4),rgba(20,84,119,.25)); }
.ui-total { display: flex; justify-content: space-between; align-items: center; margin-top: 15px; color: rgba(255,255,255,.55); font-size: .6rem; }
.ui-total strong { padding: 7px 9px; color: var(--navy); border-radius: 6px; background: var(--green); }
.payment-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.payment-chips span { padding: 8px 12px; color: #35566a; border: 1px solid #cfdfdf; border-radius: 30px; background: rgba(255,255,255,.65); font-size: .7rem; font-weight: 750; }

.workflow { color: #fff; background: var(--navy); overflow: hidden; }
.workflow-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; }
.workflow h2 { color: #fff; }
.workflow-copy > p:last-child { max-width: 450px; margin: 25px 0 0; color: rgba(255,255,255,.56); }
.flow-track { position: relative; }
.flow-track::before { position: absolute; top: 17px; bottom: 17px; left: 8px; width: 1px; content: ""; background: rgba(111,228,187,.25); }
.flow-track article { position: relative; display: grid; grid-template-columns: 35px 1fr; gap: 20px; padding: 0 0 30px; }
.flow-track article:last-child { padding-bottom: 0; }
.flow-dot { position: relative; z-index: 1; width: 17px; height: 17px; margin-top: 4px; border: 4px solid var(--navy); border-radius: 50%; background: var(--green); box-shadow: 0 0 0 1px rgba(111,228,187,.4); }
.flow-track small { color: #6fe4bb; font-size: .65rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.flow-track h3 { margin: 3px 0 5px; font-size: 1.15rem; }
.flow-track p { margin: 0; color: rgba(255,255,255,.48); font-size: .85rem; }

.benefits { background: var(--surface); }
.benefit-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.benefit-grid article { min-height: 270px; padding: 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.benefit-grid span { color: var(--green-dark); font-size: .7rem; font-weight: 900; letter-spacing: .12em; }
.benefit-grid h3 { margin: 65px 0 12px; font-size: 1.3rem; }
.benefit-grid p { margin: 0; color: var(--muted); font-size: .88rem; }

.demo { color: #fff; background: linear-gradient(120deg,#0b2a42,#0e3b55); }
.demo-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: start; }
.demo h2 { color: #fff; }
.demo-copy > p:not(.eyebrow) { max-width: 460px; margin: 24px 0 35px; color: rgba(255,255,255,.58); }
.demo-note { display: flex; gap: 13px; align-items: flex-start; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.12); }
.demo-note > span { width: 28px; height: 28px; display: grid; place-items: center; flex: 0 0 auto; color: var(--navy); border-radius: 50%; background: var(--green); font-weight: 900; }
.demo-note p { margin: 0; color: rgba(255,255,255,.5); font-size: .8rem; }
.demo-note strong { display: block; margin-bottom: 3px; color: #fff; }
.demo-form { padding: 36px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); background: rgba(255,255,255,.07); backdrop-filter: blur(10px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.demo-form label { display: block; margin-bottom: 18px; color: rgba(255,255,255,.74); font-size: .74rem; font-weight: 750; }
.demo-form input, .demo-form textarea { width: 100%; margin-top: 7px; padding: 13px 14px; color: #fff; border: 1px solid rgba(255,255,255,.17); border-radius: 9px; outline: none; background: rgba(255,255,255,.07); font-size: .9rem; transition: border .2s, box-shadow .2s; }
.demo-form input { min-height: 50px; }
.demo-form textarea { min-height: 125px; resize: vertical; }
.demo-form input::placeholder, .demo-form textarea::placeholder { color: rgba(255,255,255,.3); }
.demo-form input:focus, .demo-form textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(54,197,144,.12); }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.form-footer p { max-width: 240px; margin: 0; color: rgba(255,255,255,.35); font-size: .67rem; }
.form-status { min-height: 20px; margin: 12px 0 0; color: #96e8ca; font-size: .78rem; font-weight: 700; }
.form-status.is-error { color: #ffb1a0; }
.demo-form button:disabled { cursor: wait; opacity: .65; transform: none; }

.site-footer { color: #fff; background: #061725; }
.footer-main { min-height: 200px; display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.footer-main img { width: 105px; filter: brightness(0) invert(1); }
.footer-main p { max-width: 350px; margin: 18px 0 0; color: rgba(255,255,255,.45); font-size: .82rem; }
.footer-main nav { display: flex; flex-wrap: wrap; gap: 25px; }
.footer-main nav a { color: rgba(255,255,255,.68); font-size: .78rem; font-weight: 700; text-decoration: none; }
.footer-main nav a:hover { color: #6fe4bb; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 20px; padding-bottom: 20px; color: rgba(255,255,255,.32); border-top: 1px solid rgba(255,255,255,.08); font-size: .7rem; }
.footer-bottom p { margin: 0; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal-delay { transition-delay: .15s; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 100px; }
  .hero-copy { max-width: 750px; }
  .hero-visual { width: min(750px,100%); margin-inline: auto; }
  .float-kitchen { left: 15px; }
  .float-payment { right: 15px; }
  .feature-large { grid-column: span 6; grid-row: auto; min-height: 560px; }
  .feature-card:not(.feature-large):not(.feature-wide) { grid-column: span 3; }
  .workflow-grid, .demo-grid { gap: 55px; }
}

@media (max-width: 820px) {
  .container { width: min(100% - 32px,680px); }
  .menu-button { display: flex; }
  .site-nav { position: fixed; inset: 82px 0 auto; display: flex; max-height: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 0 24px; overflow: hidden; background: rgba(255,255,255,.98); transition: max-height .3s, padding .3s; }
  .site-nav.is-open { max-height: calc(100vh - 82px); padding-top: 17px; padding-bottom: 28px; border-top: 1px solid var(--line); }
  .site-nav > a:not(.button) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav .button { margin-top: 18px; }
  .hero-grid { min-height: auto; }
  .channel-bar { align-items: flex-start; flex-direction: column; gap: 10px; padding: 20px 0; }
  .channel-bar div { width: 100%; justify-content: space-between; gap: 10px; }
  .section { padding: 84px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 22px; }
  .workflow-grid, .demo-grid { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-grid article { min-height: auto; }
  .benefit-grid h3 { margin-top: 35px; }
  .footer-main { align-items: flex-start; flex-direction: column; justify-content: center; padding: 50px 0; }
}

@media (max-width: 580px) {
  .container { width: min(100% - 28px,520px); }
  .nav-wrap { min-height: 74px; }
  .brand { width: 94px; }
  .site-nav { inset: 74px 0 auto; }
  .hero { padding-top: 74px; }
  .hero-grid { padding-top: 65px; gap: 35px; }
  .hero h1 { font-size: 3.1rem; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 17px; }
  .hero-actions .button { width: 100%; }
  .hero-visual { margin-inline: -5px; padding-top: 25px; }
  .pos-window { grid-template-columns: 72px 1fr; min-height: 390px; transform: none; }
  .pos-sidebar { padding: 17px 7px; }
  .pos-sidebar img { width: 48px; }
  .side-item { padding: 8px 4px; font-size: .48rem; }
  .pos-main { padding: 15px 11px; }
  .pos-stats div { padding: 8px; }
  .pos-stats small { font-size: .45rem; }
  .pos-stats strong { font-size: .9rem; }
  .pos-content { grid-template-columns: 1fr; }
  .sales-card { display: none; }
  .float-card { display: none; }
  .channel-bar div { flex-wrap: wrap; justify-content: flex-start; gap: 7px 20px; }
  .section-heading h2, .workflow h2, .demo h2 { font-size: 2.3rem; }
  .platform-grid { grid-template-columns: 1fr; }
  .feature-card, .feature-large, .feature-wide, .feature-card:not(.feature-large):not(.feature-wide) { grid-column: auto; min-height: auto; }
  .feature-large { grid-template-columns: 1fr; }
  .feature-large .feature-icon { grid-column: auto; }
  .mini-ui { min-height: 250px; }
  .feature-wide { grid-template-columns: 1fr; }
  .feature-wide .feature-icon { margin-bottom: 0; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .demo-form { padding: 25px 19px; }
  .form-footer { align-items: stretch; flex-direction: column; }
  .form-footer .button { width: 100%; }
  .footer-main nav { display: grid; grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
