/* online-menu.online marketing site */
:root {
  --brand: #5E5CE6;
  --brand-2: #4EA7F4;
  --ink: #0b1020;
  --text: #1f2937;
  --muted: #6b7280;
  --bg: #ffffff;
  --soft: #f5f6fb;
  --line: #e7e8f0;
  --radius: 20px;
  --gutter: 20px;
  --shadow: 0 20px 50px -24px rgba(17, 24, 39, .35);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-ar: "Cairo", "Plus Jakarta Sans", system-ui, sans-serif;
  --grad: linear-gradient(135deg, #8F5BD7, #5E5CE6 55%, #4EA7F4);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; font: 400 16px/1.6 var(--font); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip; }
html[lang="ar"] body { font-family: var(--font-ar); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
.wrap { width: min(1160px, 100% - var(--gutter) * 2); margin-inline: auto; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .82); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.nav-logo img { height: 34px; width: auto; }
.nav-links { display: none; gap: 26px; font-weight: 600; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.lang { position: relative; }
.lang > button { height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 700; }
.lang-menu { position: absolute; top: 48px; inset-inline-end: 0; min-width: 150px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 6px; box-shadow: var(--shadow); }
.lang-menu button { width: 100%; text-align: start; padding: 9px 12px; border: 0; background: none; border-radius: 10px; font-weight: 600; }
.lang-menu button:hover, .lang-menu button.on { background: var(--soft); color: var(--brand); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px; font-weight: 800; border: 0; transition: transform .2s, box-shadow .2s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 12px 26px -12px rgba(94, 92, 230, .8); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }

/* hero */
.hero { position: relative; padding: 48px 0 40px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -40% -20% auto; height: 120%; background: radial-gradient(50% 45% at 30% 30%, rgba(94, 92, 230, .16), transparent 70%), radial-gradient(40% 40% at 80% 20%, rgba(78, 167, 244, .16), transparent 70%); z-index: -1; }
.hero .wrap { display: grid; gap: 36px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--brand); }
.hero h1 { margin: 16px 0 14px; font-size: clamp(36px, 8.5vw, 64px); line-height: 1.05; letter-spacing: -.03em; color: var(--ink); font-weight: 800; }
html[lang="ar"] .hero h1 { letter-spacing: 0; line-height: 1.25; }
.hero h1 span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { margin: 0 0 24px; font-size: clamp(17px, 2.4vw, 20px); color: var(--muted); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; color: var(--muted); font-size: 14px; font-weight: 600; }
.hero-proof b { color: var(--ink); }
.phone { justify-self: center; width: 300px; aspect-ratio: 9 / 18.5; border-radius: 44px; padding: 12px; background: #0b1020; box-shadow: 0 40px 80px -30px rgba(17, 24, 39, .6), inset 0 0 0 2px #2a2f45; position: relative; }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 90px; height: 24px; margin-left: -45px; border-radius: 20px; background: #0b1020; z-index: 2; }
.phone iframe, .phone img { width: 100%; height: 100%; border: 0; border-radius: 34px; background: #fff; object-fit: cover; }
.float { animation: float 6s ease-in-out infinite; }

/* sections */
section { padding: 64px 0; }
.sec-head { max-width: 680px; margin-bottom: 34px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { margin: 10px 0 10px; font-size: clamp(28px, 5vw, 42px); line-height: 1.12; letter-spacing: -.02em; color: var(--ink); font-weight: 800; }
html[lang="ar"] .sec-head h2 { letter-spacing: 0; line-height: 1.35; }
.sec-head p { margin: 0; color: var(--muted); font-size: 17px; }
.soft { background: var(--soft); }
.grid { display: grid; gap: 16px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; background: var(--soft); margin-bottom: 14px; }
.card h3 { margin: 0 0 6px; font-size: 19px; color: var(--ink); }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.steps .card { position: relative; padding-top: 28px; }
.step-n { position: absolute; top: -14px; inset-inline-start: 22px; width: 34px; height: 34px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; display: grid; place-items: center; box-shadow: 0 8px 18px -8px rgba(94, 92, 230, .9); }
.step-img { height: 150px; margin: -6px -6px 14px; border-radius: 14px; background: var(--soft); display: grid; place-items: center; overflow: hidden; }
.step-img img { max-height: 140px; width: auto; }

/* showcase */
.show { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.show a { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-align: center; transition: transform .25s, box-shadow .25s; }
.show a:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.show img { width: 72px; height: 72px; border-radius: 18px; object-fit: cover; background: var(--soft); }
.show b { color: var(--ink); line-height: 1.25; }
.show small { color: var(--muted); font-weight: 600; }
.show em { font-style: normal; font-size: 13px; font-weight: 800; color: var(--brand); }

/* pricing */
.price-card { position: relative; display: flex; flex-direction: column; gap: 12px; }
.price-card.hot { border: 2px solid var(--brand); }
.price-card .tag { position: absolute; top: -12px; inset-inline-end: 20px; padding: 4px 10px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 800; }
.price-card .amount { font-size: 40px; font-weight: 800; color: var(--ink); line-height: 1; }
.price-card .amount small { font-size: 15px; color: var(--muted); font-weight: 600; }
.price-card ul { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 8px; color: var(--text); }
.price-card li::before { content: "✓"; color: #16a34a; font-weight: 800; margin-inline-end: 8px; }
.price-card .btn { margin-top: auto; }

/* faq + testimonials */
details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; }
details + details { margin-top: 10px; }
summary { font-weight: 700; color: var(--ink); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--brand); }
details[open] summary::after { content: "–"; }
details p { margin: 10px 0 0; color: var(--muted); }
.quote p { font-size: 16px; color: var(--text); margin-bottom: 16px; }
.quote footer { display: flex; align-items: center; gap: 12px; }
.quote img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }

/* cta + footer */
.cta { border-radius: 28px; padding: 44px 24px; background: var(--grad); color: #fff; text-align: center; position: relative; overflow: hidden; }
.cta h2 { margin: 0 0 10px; font-size: clamp(26px, 5vw, 40px); line-height: 1.15; }
.cta p { margin: 0 0 22px; opacity: .9; }
.cta .btn-ghost { border: 0; }
.foot { padding: 40px 0 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot .wrap { display: grid; gap: 20px; }
.foot nav, .foot .social { display: flex; flex-wrap: wrap; gap: 18px; font-weight: 600; }
.foot a:hover { color: var(--ink); }

/* inner pages (contact / terms / privacy) */
.page { padding: 48px 0 72px; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: clamp(30px, 6vw, 44px); line-height: 1.1; margin: 0 0 8px; color: var(--ink); letter-spacing: -.02em; }
.page h4 { margin: 0 0 24px; color: var(--muted); font-weight: 500; font-size: 17px; }
.page .mb-5 { margin-bottom: 28px; }
.page form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.page .mb-3, .page .form-group { margin-bottom: 16px; }
.page label { display: block; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.page .form-control { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font: inherit; background: var(--soft); }
.page textarea.form-control { min-height: 140px; }
.page .form-control:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(94, 92, 230, .15); background: #fff; }
.page .btn-primary, .page .btn.btn-primary { width: 100%; height: 50px; border-radius: 999px; }
.page .pristine-error, .page .text-help, .page .invalid-feedback { color: #dc2626; font-size: 13px; margin-top: 4px; }
.page .d-grid { display: grid; }
.alert-ok { margin-bottom: 18px; padding: 14px 16px; border-radius: 14px; background: #ecfdf5; color: #065f46; font-weight: 700; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@keyframes float { 50% { transform: translateY(-10px); } }

@media (min-width: 640px) {
  .show { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid.g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  :root { --gutter: 32px; }
  .nav-links { display: flex; }
  .hero { padding: 72px 0 64px; }
  .hero .wrap { grid-template-columns: 1.1fr .9fr; }
  .phone { width: 330px; }
  .grid.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .show { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  section { padding: 88px 0; }
  .foot .wrap { grid-template-columns: 1fr auto; align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* self-serve SaaS pages (start trial / subscribe / verify) */
.saas-head { margin-bottom: 22px; }
.saas-head h1 { margin-top: 12px; }
.saas-lead { margin: 0; color: var(--muted); font-size: 17px; }
.saas-lead a { color: var(--brand); font-weight: 700; word-break: break-all; }
.saas-form { margin-bottom: 18px; }
.saas-form .btn { width: 100%; height: 50px; }
.saas-fine { margin: 14px 0 0; color: var(--muted); font-size: 14px; text-align: center; }
.saas-fine a, .saas-link { color: var(--brand); font-weight: 700; }
.saas-link { border: 0; background: none; padding: 0; }
.page form.bare { background: none; border: 0; padding: 0; box-shadow: none; }
.saas-code { font-size: 28px !important; letter-spacing: 10px; text-align: center; font-weight: 800; }
.saas-2col { display: grid; gap: 0 14px; }
.saas-grid3 { display: grid; gap: 12px; margin: 22px 0; }
.saas-grid3 > div { display: grid; gap: 2px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--soft); }
.saas-grid3 span { color: var(--muted); font-size: 14px; }
.saas-note { margin-top: 18px; padding: 16px 18px; border-radius: 16px; border: 1px dashed var(--line); background: #fff; }
.saas-note p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.saas-note a { color: var(--brand); font-weight: 700; }
.saas-chip { display: inline-flex; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; }
.saas-chip.warn { background: #fef3c7; color: #92400e; }
.saas-chip.bad { background: #fee2e2; color: #991b1b; }
.saas-chip.ok { background: #dcfce7; color: #166534; }
.saas-err { margin-bottom: 18px; padding: 14px 16px; border-radius: 14px; background: #fef2f2; color: #991b1b; font-weight: 700; }
.saas-plan { display: grid; gap: 12px; padding: 20px; margin-bottom: 18px; border-radius: var(--radius); color: #fff; background: var(--grad); box-shadow: var(--shadow); }
.saas-price { font-size: 40px; font-weight: 800; line-height: 1.1; }
.saas-price small { font-size: 16px; opacity: .85; }
.saas-plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.saas-plan li::before { content: "✓"; font-weight: 800; margin-inline-end: 8px; }
.saas-steps { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 18px; counter-reset: s; }
.saas-steps li { flex: 1; padding: 10px 6px; border-radius: 12px; background: var(--soft); color: var(--muted); font-size: 13px; font-weight: 700; text-align: center; counter-increment: s; }
.saas-steps li::before { content: counter(s) ". "; }
.saas-steps li.on { background: #eef2ff; color: var(--brand); box-shadow: inset 0 0 0 2px var(--brand); }
.saas-steps li.done { background: #dcfce7; color: #166534; }
.saas-steps li.done::before { content: "✓ "; }
.saas-pay { display: grid; gap: 12px; }
.saas-opt { display: grid; gap: 6px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.page form.saas-opt { border: 1px solid var(--line); padding: 20px; box-shadow: var(--shadow); background: #fff; }
.saas-opt b { font-size: 18px; color: var(--ink); }
.saas-opt span { color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.saas-opt .btn { width: 100%; }
.saas-opt.disabled { opacity: .7; }
.saas-opt .btn[disabled] { cursor: not-allowed; }
.saas-pending { display: grid; gap: 8px; justify-items: start; padding: 20px; border-radius: var(--radius); background: #eef2ff; color: #1e3a8a; }
.saas-pending.ok { background: #ecfdf5; color: #065f46; }
.saas-pending p { margin: 0 0 6px; }
.saas-pending code { padding: 2px 8px; border-radius: 8px; background: #fff; font-weight: 800; }
.price-card.saas-domain .btn + .btn { margin-top: 0; }
@media (min-width: 640px) {
  .saas-2col, .saas-pay { grid-template-columns: 1fr 1fr; }
  .saas-grid3 { grid-template-columns: repeat(3, 1fr); }
  .saas-plan { grid-template-columns: auto 1fr; align-items: center; gap: 24px; }
}

/* brand: logo + HEXACODES credit */
.nav-logo img { height: 38px; }
.foot-credit { margin-top: 6px; font-size: 13px; }
.foot-credit a { font-weight: 800; color: var(--brand); }
.saas-support { margin-top: 10px; }

/* sale price */
.price-card .amount s.was, .saas-price s.saas-was { font-size: .5em; font-weight: 700; opacity: .6; margin-inline-end: 6px; vertical-align: middle; }
