/* ===== FullTill — takeaway website & data platform ===== */
:root {
  --brand: #e8432e;
  --brand-dark: #c4321f;
  --brand-soft: #fdece9;
  --ink: #14182b;
  --ink-2: #4a5068;
  --ink-3: #7c8299;
  --line: #e7e8ef;
  --bg: #ffffff;
  --bg-alt: #f6f7fb;
  --bg-dark: #12152a;
  --green: #1aa772;
  --amber: #f2a516;
  --blue: #3b6ef5;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(20, 24, 43, .08);
  --shadow-lg: 0 24px 60px rgba(20, 24, 43, .14);
  --max: 1180px;
  --font: "Plus Jakarta Sans", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; color: var(--ink-2); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 96px 0; }
.section.alt { background: var(--bg-alt); }
.section.dark { background: var(--bg-dark); color: #fff; }
.section.dark p { color: #b5b9cf; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--brand); background: var(--brand-soft);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 16px;
}
.dark .eyebrow { background: rgba(232, 67, 46, .18); color: #ff8a78; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 12px; font-weight: 700; font-size: 1rem;
  border: 2px solid transparent; cursor: pointer; transition: .2s; font-family: inherit;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-sm { padding: 9px 16px; font-size: .92rem; border-radius: 10px; }
.btn-block { width: 100%; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px; background: var(--brand);
  display: grid; place-items: center; color: #fff;
}
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-weight: 600; color: var(--ink-2); font-size: .96rem; }
.nav-links a:hover { color: var(--brand); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px;
  font-weight: 700; font-size: .85rem; cursor: pointer; font-family: inherit; color: var(--ink);
}
.menu-btn { display: none; background: none; border: 0; cursor: pointer; padding: 8px; color: var(--ink); }

/* Hero */
.hero { padding: 72px 0 96px; background:
  radial-gradient(1200px 500px at 85% -10%, #ffe3dc 0%, transparent 60%),
  radial-gradient(800px 400px at -10% 110%, #e6ecff 0%, transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 span { color: var(--brand); }
.hero-sub { font-size: 1.15rem; max-width: 560px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 24px; }
.hero-points { display: flex; gap: 22px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; font-size: .92rem; color: var(--ink-2); font-weight: 600; }
.hero-points li::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: 6px; }

/* Hero visual: phone + dashboard */
.hero-visual { position: relative; min-height: 460px; }
.mock-dash {
  position: absolute; right: 0; top: 0; width: 88%; background: #fff; border-radius: 18px;
  box-shadow: var(--shadow-lg); padding: 20px; border: 1px solid var(--line);
}
.mock-dash-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.mock-dash-head b { font-size: .95rem; }
.pill { font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #e7f7f0; color: var(--green); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.kpi { background: var(--bg-alt); border-radius: 12px; padding: 10px 12px; }
.kpi small { display: block; color: var(--ink-3); font-size: .72rem; font-weight: 600; }
.kpi strong { font-size: 1.15rem; }
.kpi em { font-style: normal; font-size: .72rem; color: var(--green); font-weight: 700; }
.mock-phone {
  position: absolute; left: 0; bottom: -10px; width: 210px; background: var(--ink); border-radius: 30px;
  padding: 10px; box-shadow: var(--shadow-lg);
}
.mock-phone-screen { background: #fff; border-radius: 22px; overflow: hidden; }
.mp-banner { height: 82px; background: linear-gradient(135deg, #b8261a, #f0662f); color: #fff; padding: 12px; font-weight: 800; font-size: .95rem; display: flex; align-items: flex-end; }
.mp-item { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-bottom: 1px solid var(--line); font-size: .74rem; }
.mp-item b { display: block; font-size: .78rem; }
.mp-add { width: 22px; height: 22px; border-radius: 7px; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; }
.mp-cart { margin: 10px; background: var(--brand); color: #fff; border-radius: 10px; padding: 9px; text-align: center; font-weight: 700; font-size: .78rem; }
.float-badge {
  position: absolute; right: 18px; bottom: 30px; background: #fff; border-radius: 14px; padding: 12px 14px;
  box-shadow: var(--shadow-lg); display: flex; gap: 10px; align-items: center; font-size: .82rem; border: 1px solid var(--line);
}
.float-badge .dot { width: 34px; height: 34px; border-radius: 10px; background: #e7f7f0; display: grid; place-items: center; font-size: 1.1rem; }

/* Stats strip */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 20px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: 2rem; font-weight: 800; color: var(--ink); }
.stat span { color: var(--ink-3); font-size: .9rem; font-weight: 600; }

/* Features */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px; align-items: center; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: .25s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); margin-bottom: 18px;
}
.icon svg { width: 24px; height: 24px; }
.card p { margin: 0; font-size: .96rem; }

/* Data section */
.check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li::before {
  content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--brand);
  color: #fff; display: grid; place-items: center; font-size: .8rem; font-weight: 800; margin-top: 2px;
}
.dark .check-list li { color: #dfe1ee; }
.data-panel { background: #1b1f3a; border: 1px solid #2a2f52; border-radius: 20px; padding: 24px; }
.data-panel h4 { color: #fff; font-size: .95rem; margin-bottom: 4px; }
.data-panel small { color: #8e93b3; }
.tabs { display: flex; gap: 6px; margin: 14px 0 18px; flex-wrap: wrap; }
.tab {
  background: transparent; color: #b5b9cf; border: 1px solid #2f3459; border-radius: 999px;
  padding: 6px 14px; font-size: .82rem; font-weight: 600; cursor: pointer; font-family: inherit;
}
.tab.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.chart { height: 220px; display: flex; align-items: flex-end; gap: 10px; padding-top: 10px; border-bottom: 1px solid #2f3459; }
.bar { flex: 1; background: linear-gradient(180deg, #ff7a63, var(--brand)); border-radius: 6px 6px 0 0; position: relative; transition: height .5s ease; min-height: 4px; }
.bar span { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); font-size: .68rem; color: #b5b9cf; white-space: nowrap; }
.chart-labels { display: flex; gap: 10px; margin-top: 8px; }
.chart-labels span { flex: 1; text-align: center; font-size: .72rem; color: #8e93b3; }
.insights { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 18px; }
.insight { background: #232849; border-radius: 12px; padding: 12px 14px; }
.insight small { display: block; color: #8e93b3; font-size: .74rem; }
.insight strong { color: #fff; font-size: 1.05rem; }

/* Calculator */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line); }
.calc-inputs { padding: 40px; }
.calc-result { padding: 40px; background: linear-gradient(160deg, var(--brand), #b52a18); color: #fff; display: flex; flex-direction: column; justify-content: center; }
.calc-result p { color: rgba(255,255,255,.85); }
.field { margin-bottom: 26px; }
.field-top { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: 10px; font-size: .95rem; }
.field-top output { color: var(--brand); }
input[type=range] { width: 100%; accent-color: var(--brand); }
.big-num { font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; margin: 8px 0 14px; }
.calc-break { display: grid; gap: 8px; font-size: .92rem; margin-top: 10px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.25); }
.calc-break div { display: flex; justify-content: space-between; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 28px 22px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step); width: 38px; height: 38px; border-radius: 50%;
  background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 16px;
}
.step p { margin: 0; font-size: .94rem; }

/* Pricing */
.billing-toggle { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-top: 10px; }
.billing-toggle button { border: 0; background: transparent; padding: 8px 18px; border-radius: 999px; font-weight: 700; cursor: pointer; font-family: inherit; color: var(--ink-2); }
.billing-toggle button.active { background: var(--ink); color: #fff; }
.save-tag { color: var(--green); font-size: .78rem; }
.pricing { display: grid; grid-template-columns: repeat(2, 1fr); max-width: 820px; margin: 0 auto; gap: 22px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; position: relative; }
.plan.featured { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); }
.plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: .75rem; font-weight: 800; padding: 5px 14px; border-radius: 999px; white-space: nowrap; }
.plan-price { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; margin: 12px 0 2px; }
.plan-price small { font-size: 1rem; color: var(--ink-3); font-weight: 600; }
.plan-note { font-size: .86rem; color: var(--ink-3); margin-bottom: 22px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: .94rem; color: var(--ink-2); }
.plan li::before { content: "✓"; color: var(--green); font-weight: 800; }
.pricing-foot { text-align: center; margin-top: 28px; font-size: .92rem; color: var(--ink-3); }

/* Compare table */
.compare { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.compare th, .compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: .95rem; }
.compare th { background: var(--bg-alt); font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); }
.compare td:nth-child(2) { font-weight: 700; color: var(--ink); background: #fff8f6; }
.compare tr:last-child td { border-bottom: 0; }
.yes { color: var(--green); font-weight: 800; }
.no { color: #c0c3d3; font-weight: 800; }
.table-wrap { overflow-x: auto; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 22px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brand); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 12px; }

/* Contact */
.contact-box { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; background: var(--bg-dark); border-radius: 26px; padding: 56px; color: #fff; }
.contact-box p { color: #b5b9cf; }
.form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { font-size: .85rem; font-weight: 600; color: #cfd2e3; display: grid; gap: 6px; }
.form input, .form select, .form textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid #2f3459; background: #1b1f3a;
  color: #fff; font-family: inherit; font-size: .95rem;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--brand); border-color: transparent; }
.form-msg { font-weight: 700; color: #7be0b5; min-height: 1.4em; margin: 0; }

/* Footer */
.footer { padding: 56px 0 32px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.footer h4 { font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer ul a { color: var(--ink-2); font-size: .94rem; }
.footer ul a:hover { color: var(--brand); }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; color: var(--ink-3); font-size: .85rem; flex-wrap: wrap; gap: 10px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 1000px) {
  .hero-grid, .grid-2, .calc, .contact-box { grid-template-columns: 1fr; }
  .grid-3, .pricing { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual { min-height: 440px; max-width: 560px; }
}
@media (max-width: 820px) {
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px 20px 24px; gap: 16px; border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .menu-btn { display: block; }
  .nav-actions .btn-ghost { display: none; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .container { padding: 0 16px; }
  .grid-3, .pricing, .steps, .footer-grid, .form-row, .insights { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .calc-inputs, .calc-result, .contact-box { padding: 28px 22px; }
  .mock-dash { width: 100%; position: relative; }
  .mock-phone { display: none; }
  .hero-visual { min-height: 0; }
  .float-badge { display: none; }
  .kpis { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .kpi strong { font-size: .95rem; }
  .nav-actions .btn-primary { display: none; }
}
