/* ==========================================================================
   VOXeat — rebuilt marketing site
   Self-contained stylesheet. Brand: WhatsApp AI ordering for restaurants.
   ========================================================================== */

/* ---- Design tokens ------------------------------------------------------- */
:root {
  --navy:        #051C2C;
  --navy-soft:   #0d2a3d;
  --yellow:      #FFD900;
  --yellow-deep: #F3CF01;
  --mint:        #B7FEFD;
  --mint-soft:   #E4FEFE;
  --orange:      #ED5829;
  --orange-soft: #F8924F;
  --gray:        #7C848A;
  --gray-line:   #E2E6E9;
  --bg:          #FFFFFF;
  --bg-alt:      #F4F7F9;
  --bg-mint:     #EFFCFC;

  --maxw: 1180px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px -20px rgba(5, 28, 44, .25);
  --shadow-sm: 0 8px 24px -12px rgba(5, 28, 44, .25);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ---- Reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--navy);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Layout -------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 88px 0; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
}

h1, h2, h3 { line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.85rem); }
h3 { font-size: 1.35rem; font-weight: 700; }

.lead { font-size: 1.18rem; color: var(--gray); max-width: 540px; }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head .lead { margin: 18px auto 0; }

/* ---- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-soft); box-shadow: var(--shadow-sm); }
.btn-yellow { background: var(--yellow); color: var(--navy); }
.btn-yellow:hover { box-shadow: 0 12px 30px -10px rgba(255, 217, 0, .7); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { box-shadow: var(--shadow-sm); }
.btn-lg { padding: 17px 38px; font-size: 1.08rem; }

/* ---- Header -------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--gray-line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 34px; width: auto; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-weight: 600; font-size: .98rem; color: var(--navy); transition: color .15s; }
.nav-links a:hover { color: var(--orange); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-actions .login { font-weight: 700; font-size: .98rem; }
.nav-actions .login:hover { color: var(--orange); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .25s; border-radius: 2px; }

/* ---- Hero ---------------------------------------------------------------- */
.hero {
  background: radial-gradient(120% 120% at 80% 0%, var(--bg-mint) 0%, #fff 55%);
  padding: 84px 0 72px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { margin-bottom: 22px; }
.hero h1 .hl {
  background: linear-gradient(180deg, transparent 62%, var(--mint) 62%);
  padding: 0 4px;
}
.hero .lead { margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-visual { position: relative; }
.hero-visual img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  filter: drop-shadow(0 30px 60px rgba(5, 28, 44, .22));
}

/* ---- Trust / logos bar --------------------------------------------------- */
.trust { padding: 56px 0; border-bottom: 1px solid var(--gray-line); }
.trust p {
  text-align: center;
  color: var(--gray);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .03em;
  margin-bottom: 34px;
}
.logo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 44px 56px;
}
.logo-row img {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .55;
  transition: filter .25s, opacity .25s;
}
.logo-row img:hover { filter: grayscale(0); opacity: 1; }

/* ---- Feature rows -------------------------------------------------------- */
.features { background: var(--bg-alt); }
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 56px 0;
}
.feature-row + .feature-row { border-top: 1px solid var(--gray-line); }
.feature-row.reverse .feature-text { order: 2; }
.feature-text .eyebrow { color: var(--orange); }
.feature-text h3 { font-size: 1.9rem; font-weight: 800; margin-bottom: 16px; letter-spacing: -.02em; }
.feature-text p { color: var(--gray); font-size: 1.08rem; max-width: 460px; }
.feature-visual {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.feature-visual img { width: 100%; height: auto; border-radius: 10px; }
.pay-logos, .delivery-logos {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px 22px; margin-top: 26px;
}
.pay-logos img { height: 30px; width: auto; object-fit: contain; }
.delivery-logos img { height: 34px; width: auto; object-fit: contain; }

/* ---- Benefits grid ------------------------------------------------------- */
.benefits { background: #fff; }
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.benefit-card {
  background: var(--bg-alt);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.benefit-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.benefit-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: var(--mint-soft);
  margin-bottom: 20px;
  font-size: 26px;
}
.benefit-card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.benefit-card p { color: var(--gray); font-size: .98rem; }

/* ---- Integrations -------------------------------------------------------- */
.integrations { background: var(--bg-mint); text-align: center; }
.channel-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 40px; margin-top: 44px;
}
.channel {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  font-weight: 600; color: var(--navy); font-size: .95rem;
}
.channel img { height: 60px; width: 60px; object-fit: contain; }

/* ---- CTA dark band ------------------------------------------------------- */
.cta-dark {
  background: var(--navy);
  color: #fff;
  text-align: center;
}
.cta-dark h2 { margin-bottom: 18px; }
.cta-dark .lead { color: #aeb9c1; margin: 0 auto 34px; }
.cta-dark .accent { color: var(--mint); }

/* ---- Final CTA ----------------------------------------------------------- */
.final-cta { background: var(--yellow); text-align: center; }
.final-cta h2 { color: var(--navy); margin-bottom: 28px; }

/* ---- Footer -------------------------------------------------------------- */
.site-footer { background: var(--navy); color: #cdd6dc; padding: 72px 0 36px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 40px;
}
.footer-brand img { height: 26px; width: auto; margin-bottom: 18px; }
.footer-brand p { font-size: .95rem; max-width: 260px; color: #8b99a6; }
.footer-col h4 {
  font-size: .82rem; text-transform: uppercase; letter-spacing: .1em;
  color: #fff; margin-bottom: 18px; font-weight: 700;
}
.footer-col a { display: block; font-size: .96rem; color: #aeb9c1; margin-bottom: 12px; transition: color .15s; }
.footer-col a:hover { color: var(--yellow); }
.footer-bottom {
  margin-top: 56px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1);
  font-size: .88rem; color: #7d8b95; text-align: center;
}

/* ---- Forms (Try now page) ------------------------------------------------ */
.form-page { padding: 72px 0; background: radial-gradient(120% 120% at 100% 0%, var(--bg-mint) 0%, #fff 50%); }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.form-card {
  background: #fff;
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
}
.form-card h1 { font-size: 2.2rem; margin-bottom: 8px; }
.form-card .sub { color: var(--gray); margin-bottom: 30px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 8px; }
.field input, .field select {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  padding: 13px 16px;
  border: 1.5px solid var(--gray-line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--navy);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(183, 254, 253, .5);
}
.form-card .btn { width: 100%; justify-content: center; margin-top: 8px; }
.form-note { text-align: center; font-size: .85rem; color: var(--gray); margin-top: 16px; }
.form-success {
  display: none;
  background: var(--mint-soft);
  border: 1.5px solid var(--mint);
  border-radius: var(--radius-sm);
  padding: 18px;
  color: var(--navy);
  font-weight: 600;
  text-align: center;
  margin-top: 18px;
}

.value-props { padding-top: 12px; }
.value-props h2 { font-size: 2rem; margin-bottom: 32px; }
.vp-item { display: flex; gap: 18px; margin-bottom: 30px; }
.vp-icon {
  flex: 0 0 auto;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--mint-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.vp-item h3 { font-size: 1.15rem; margin-bottom: 6px; }
.vp-item p { color: var(--gray); font-size: 1rem; }

/* ---- Terms / legal page -------------------------------------------------- */
.legal-hero { background: var(--bg-alt); padding: 72px 0 56px; text-align: center; border-bottom: 1px solid var(--gray-line); }
.legal-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; }
.legal-hero .sub { color: var(--gray); font-size: 1.1rem; }
.legal-hero .updated { display: inline-block; margin-top: 18px; font-size: .9rem; color: var(--gray); background: #fff; border: 1px solid var(--gray-line); padding: 8px 18px; border-radius: 999px; }
.docs { padding: 72px 0; }
.docs h2 { text-align: center; margin-bottom: 12px; }
.docs .docs-sub { text-align: center; color: var(--gray); margin-bottom: 48px; }
.doc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 880px; margin: 0 auto; }
.doc-card {
  display: flex; align-items: center; gap: 18px;
  background: #fff; border: 1px solid var(--gray-line); border-radius: var(--radius);
  padding: 24px 26px; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.doc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--mint); }
.doc-icon {
  flex: 0 0 auto; width: 46px; height: 56px; border-radius: 8px;
  background: var(--orange); color: #fff; font-size: .7rem; font-weight: 800;
  display: flex; align-items: flex-end; justify-content: center; padding-bottom: 8px;
  position: relative;
}
.doc-icon::before { content: ""; position: absolute; top: 0; right: 0; border-width: 0 14px 14px 0; border-style: solid; border-color: #fff #fff var(--orange) var(--orange); border-radius: 0 0 0 4px; }
.doc-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.doc-card p { font-size: .88rem; color: var(--gray); }

/* ---- Responsive ---------------------------------------------------------- */
@media (max-width: 920px) {
  section { padding: 64px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 480px; }
  .feature-row { grid-template-columns: 1fr; gap: 32px; }
  .feature-row.reverse .feature-text { order: 0; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .doc-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--gray-line);
    padding: 20px 24px; gap: 18px;
  }
  .benefit-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-card { padding: 28px 22px; }
  .logo-row { gap: 28px 36px; }
  .logo-row img { height: 34px; }
}
