/* ZeeForm static marketing site — shared stylesheet.
   Served on zeeform.co.il; the React app lives on app.zeeform.co.il.
   Pure CSS, no JS — the page must be fully readable by crawlers. */

:root {
  --indigo: #4f46e5;
  --indigo-dark: #4338ca;
  --black: #0b0b14;
  --gray: #5b616e;
  --gray2: #9aa0ab;
  --gray3: #d6d9df;
  --gray4: #f4f5f7;
  --green: #059669;
  --red: #ef4444;
  --radius: 14px;
  --max: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Heebo", "Segoe UI", Arial, sans-serif;
  color: var(--black);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--indigo); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ── Nav ─────────────────────────────── */
header.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray4);
}
.site-nav .wrap {
  display: flex; align-items: center; gap: 22px;
  height: 64px;
}
.logo {
  display: flex; align-items: center; gap: 8px;
  font-weight: 900; font-size: 19px; color: var(--black);
}
.logo:hover { text-decoration: none; }
.logo-dot {
  width: 10px; height: 10px; border-radius: 3px;
  background: linear-gradient(135deg, var(--indigo), var(--indigo-dark));
  display: inline-block;
}
.nav-links {
  display: flex; gap: 20px; list-style: none;
  margin-inline-start: 10px; flex: 1;
}
.nav-links a { color: var(--gray); font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--black); text-decoration: none; }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.nav-login { color: var(--gray); font-size: 14px; font-weight: 600; }

.btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 10px;
  font-weight: 700; font-size: 15px;
  background: var(--indigo); color: #fff;
  border: 1px solid var(--indigo);
  transition: background .15s;
}
.btn:hover { background: var(--indigo-dark); text-decoration: none; }
.btn.ghost { background: transparent; color: var(--black); border-color: var(--gray3); }
.btn.ghost:hover { background: var(--gray4); }
.btn.big { padding: 14px 30px; font-size: 16px; }

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-actions { flex: 1; justify-content: flex-end; }
}

/* ── Sections ────────────────────────── */
section { padding: 84px 0; }
section.tight { padding: 56px 0; }

.s-label {
  display: inline-block;
  font-size: 12.5px; font-weight: 800; letter-spacing: .06em;
  color: var(--indigo); text-transform: uppercase;
  margin-bottom: 12px;
}
h1 {
  font-size: clamp(34px, 6vw, 58px);
  font-weight: 900; letter-spacing: -.03em; line-height: 1.08;
  margin-bottom: 18px;
}
h1 em { font-style: normal; color: var(--indigo); }
h2 {
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 900; letter-spacing: -.03em; line-height: 1.1;
  margin-bottom: 14px;
}
h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.s-sub { font-size: 17px; color: var(--gray); max-width: 640px; }
.center { text-align: center; }
.center .s-sub { margin: 0 auto; }

/* ── Hero ────────────────────────────── */
#hero { padding: 90px 0 70px; text-align: center; }
.hero-sub { font-size: 18px; color: var(--gray); max-width: 620px; margin: 0 auto 30px; }
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 34px; }
.pills { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600; color: var(--gray);
  background: var(--gray4); border-radius: 99px; padding: 7px 14px;
}
.pill::before {
  content: "✓";
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--indigo); color: #fff;
  font-size: 10px; font-weight: 900;
}

/* ── Before / after ──────────────────── */
.ba-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 40px; }
@media (max-width: 720px) { .ba-wrap { grid-template-columns: 1fr; } }
.ba-col { border: 1px solid var(--gray3); border-radius: var(--radius); padding: 26px; }
.ba-col.before { background: #fef5f5; border-color: #fde3e3; }
.ba-col.after { background: #f4f4ff; border-color: #e0e0fb; }
.ba-tag { font-weight: 800; font-size: 15px; margin-bottom: 14px; display: block; }
.ba-col.before .ba-tag { color: var(--red); }
.ba-col.after .ba-tag { color: var(--indigo); }
.ba-col ul { list-style: none; }
.ba-col li { padding: 7px 0; font-size: 15px; color: #3d4149; }
.ba-col.before li::before { content: "✕"; color: var(--red); font-weight: 900; margin-inline-end: 10px; }
.ba-col.after li::before { content: "✓"; color: var(--indigo); font-weight: 900; margin-inline-end: 10px; }

/* ── Steps ───────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step {
  border: 1px solid var(--gray3); border-radius: var(--radius);
  padding: 28px 24px; background: #fff;
}
.step-num {
  font-size: 13px; font-weight: 900; color: var(--indigo);
  letter-spacing: .08em; margin-bottom: 10px;
}
.step p { font-size: 14.5px; color: var(--gray); margin-top: 6px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.chip {
  font-size: 12px; font-weight: 600; color: var(--indigo);
  background: rgba(79,70,229,.08); border-radius: 99px; padding: 4px 11px;
}

/* ── Card grids ──────────────────────── */
.grid { display: grid; gap: 18px; margin-top: 44px; }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid.c4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .grid.c3 { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .grid.c4, .grid.c2 { grid-template-columns: 1fr; } }

.card {
  border: 1px solid var(--gray3); border-radius: var(--radius);
  padding: 24px; background: #fff;
}
.card h3 { font-size: 16.5px; }
.card p { font-size: 14px; color: var(--gray); }
.card .icon { font-size: 22px; margin-bottom: 12px; display: block; }

/* ── Pricing ─────────────────────────── */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; align-items: stretch; }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }
.price-card {
  border: 1px solid var(--gray3); border-radius: 18px;
  padding: 30px 26px; display: flex; flex-direction: column;
}
.price-card.featured { border: 2px solid var(--indigo); position: relative; box-shadow: 0 12px 34px rgba(79,70,229,.12); }
.price-badge {
  position: absolute; top: -13px; inset-inline-start: 26px;
  background: var(--indigo); color: #fff;
  font-size: 12px; font-weight: 800; border-radius: 99px; padding: 4px 13px;
}
.price-name { font-weight: 800; font-size: 15px; color: var(--gray); margin-bottom: 6px; }
.price-amount { font-size: 38px; font-weight: 900; letter-spacing: -.02em; }
.price-per { font-size: 13px; color: var(--gray2); margin-bottom: 18px; }
.price-card ul { list-style: none; margin-top: 18px; border-top: 1px solid var(--gray4); padding-top: 18px; }
.price-card li { font-size: 14px; padding: 6px 0; color: #3d4149; }
.price-card li::before { content: "✓"; color: var(--indigo); font-weight: 900; margin-inline-end: 9px; }
.price-card li.no { color: var(--gray2); }
.price-card li.no::before { content: "✕"; color: var(--gray3); }

/* ── FAQ ─────────────────────────────── */
.faq { max-width: 760px; margin: 40px auto 0; }
.faq details {
  border: 1px solid var(--gray3); border-radius: 12px;
  margin-bottom: 12px; background: #fff;
}
.faq summary {
  cursor: pointer; font-weight: 700; font-size: 15.5px;
  padding: 18px 20px; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: left; font-size: 19px; color: var(--gray2); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 20px 18px; font-size: 14.5px; color: var(--gray); }

/* ── Dark CTA ────────────────────────── */
#cta {
  background: var(--black); color: #fff;
  text-align: center; border-radius: 0;
}
#cta h2 { color: #fff; }
#cta h2 em { font-style: normal; color: #a5b4fc; }
#cta p { color: rgba(255,255,255,.65); max-width: 560px; margin: 0 auto 30px; }
#cta .fine { font-size: 13px; color: rgba(255,255,255,.45); margin-top: 20px; }

/* ── Footer ──────────────────────────── */
footer { background: #0b0b14; color: rgba(255,255,255,.6); padding: 60px 0 34px; font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 34px; padding-bottom: 38px; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
footer .logo { color: #fff; margin-bottom: 12px; }
.footer-col-title { font-weight: 800; color: #fff; margin-bottom: 12px; font-size: 14px; }
footer ul { list-style: none; }
footer li { padding: 4px 0; }
footer a { color: rgba(255,255,255,.6); }
footer a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 22px; font-size: 13px; color: rgba(255,255,255,.4);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}

/* ── Motion ──────────────────────────── */
/* Reveal-on-scroll: the tiny script at the bottom of index.html tags elements
   with .reveal and flips .in when they enter the viewport. Gated behind the
   .js root class so content stays visible with JavaScript disabled. */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .55s cubic-bezier(.16,1,.3,1), transform .55s cubic-bezier(.16,1,.3,1);
}
.js .reveal.in { opacity: 1; transform: none; }

.card, .step, .price-card, .ba-col {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover, .step:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(11,11,20,.09);
  border-color: #c9cdfb;
}
.price-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(11,11,20,.10); }
.price-card.featured:hover { box-shadow: 0 18px 40px rgba(79,70,229,.18); }

.btn { transition: background .15s, transform .15s, box-shadow .2s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(79,70,229,.28); }
.btn.ghost:hover { box-shadow: 0 6px 16px rgba(11,11,20,.10); }
.pill { transition: transform .15s, background .15s; }
.pill:hover { transform: translateY(-1px); background: #ececfb; }

.faq details p { animation: none; }
.faq details[open] p { animation: faq-open .28s ease; }
@keyframes faq-open {
  from { opacity: 0; transform: translateY(-5px); }
  to   { opacity: 1; transform: none; }
}

/* Floating gradient orb behind the hero */
#hero { position: relative; overflow: hidden; }
#hero .wrap { position: relative; z-index: 1; }
#hero::before {
  content: "";
  position: absolute;
  top: -180px; inset-inline-start: 50%; margin-inline-start: -320px;
  width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle, rgba(79,70,229,.13), transparent 65%);
  animation: orb-float 9s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes orb-float {
  from { transform: translateY(0) scale(1); }
  to   { transform: translateY(34px) scale(1.07); }
}

@media (prefers-reduced-motion: reduce) {
  #hero::before { animation: none; }
  .card, .step, .price-card, .btn, .pill { transition: none; }
  .card:hover, .step:hover, .price-card:hover, .btn:hover, .pill:hover { transform: none; }
}

/* ── Inner (legal / about) pages ─────── */
.page { max-width: 760px; margin: 0 auto; padding: 60px 24px 90px; }
.page h1 { font-size: 34px; margin-bottom: 8px; }
.page .updated { color: var(--gray2); font-size: 13.5px; margin-bottom: 34px; }
.page h2 { font-size: 21px; margin: 34px 0 10px; }
.page p, .page li { font-size: 15px; color: #3d4149; margin-bottom: 10px; }
.page ul, .page ol { padding-inline-start: 22px; margin-bottom: 14px; }
