/* ============================================================
   ValorAs — אתר תדמית B2C
   גיליון עיצוב משותף
   ============================================================ */

:root {
  /* Brand palette (from strategic deck) */
  --navy-900: #0a1c2e;
  --navy-800: #0c1f33;
  --navy-700: #103049;
  --navy-600: #16415f;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-border: rgba(120, 200, 220, 0.16);

  --teal: #2dd4bf;
  --teal-bright: #3ee0b0;
  --green: #34d399;
  --teal-deep: #0d9488;
  --blue: #3b82f6;

  --text: #eaf1f8;
  --text-muted: #a7bcd0;
  --text-dim: #7e94aa;
  --white: #ffffff;

  --grad-brand: linear-gradient(135deg, #3ee0b0 0%, #14b8a6 55%, #0d9488 100%);
  --grad-hero: radial-gradient(1200px 600px at 80% -10%, rgba(45, 212, 191, 0.16), transparent 60%),
               radial-gradient(900px 500px at 0% 10%, rgba(59, 130, 246, 0.12), transparent 55%),
               linear-gradient(160deg, #0a1c2e 0%, #0c2236 50%, #0a1c2e 100%);

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.22);
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Heebo', 'Assistant', -apple-system, 'Segoe UI', sans-serif;
  background: var(--navy-800);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; color: var(--white); letter-spacing: -0.01em; }

section { position: relative; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em;
  color: var(--teal-bright);
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.25);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}

.section-title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 14px; }
.section-sub { color: var(--text-muted); font-size: 1.06rem; max-width: 640px; }
.center { text-align: center; }
.center .section-sub { margin-inline: auto; }

.text-grad {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: inherit; font-size: 1rem; font-weight: 700;
  padding: 13px 26px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap;
}
.btn-primary { background: var(--grad-brand); color: #06222b; box-shadow: 0 10px 26px rgba(20, 184, 166, 0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(20, 184, 166, 0.45); }
.btn-ghost { background: rgba(255,255,255,0.05); color: var(--white); border-color: rgba(255,255,255,0.18); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.btn-lg { padding: 16px 34px; font-size: 1.08rem; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 28, 46, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 40px; height: 44px; }
.brand-name { font-size: 1.45rem; font-weight: 800; color: var(--white); letter-spacing: 0.01em; }
.brand-name b { color: var(--teal-bright); font-weight: 800; }
.brand-tag { display: block; font-size: 0.62rem; font-weight: 500; color: var(--text-dim); letter-spacing: 0.02em; margin-top: -3px; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 9px 14px; border-radius: 10px; font-weight: 600; font-size: 0.98rem;
  color: var(--text-muted); transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.06); }
.nav-links a.active { color: var(--teal-bright); }
.nav-cta { margin-inline-start: 8px; }

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

/* ---------- Hero ---------- */
.hero { background: var(--grad-hero); padding: clamp(56px, 9vw, 110px) 0 clamp(50px, 7vw, 90px); overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(700px 400px at 75% 0%, #000, transparent 75%);
  opacity: 0.6;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); margin-bottom: 20px; }
.hero p.lead { font-size: clamp(1.05rem, 2.1vw, 1.3rem); color: var(--text-muted); margin-bottom: 30px; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 18px 26px; }
.hero-points li { list-style: none; display: flex; align-items: center; gap: 9px; color: var(--text); font-weight: 600; font-size: 0.97rem; }
.hero-points .tick { width: 22px; height: 22px; flex: none; border-radius: 50%; background: rgba(45,212,191,0.16); color: var(--teal-bright); display: grid; place-items: center; font-size: 0.8rem; }

/* Hero card */
.hero-card {
  background: linear-gradient(160deg, rgba(22,52,79,0.9), rgba(12,31,51,0.9));
  border: 1px solid var(--panel-border); border-radius: 22px; padding: 26px;
  box-shadow: var(--shadow); position: relative;
}
.hero-card .hc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.hero-card .hc-badge { font-size: 0.78rem; font-weight: 700; color: var(--teal-bright); background: rgba(45,212,191,0.12); padding: 5px 12px; border-radius: 999px; }
.hc-row { display: flex; align-items: center; justify-content: space-between; padding: 13px 0; border-bottom: 1px dashed rgba(255,255,255,0.1); }
.hc-row:last-child { border-bottom: 0; }
.hc-row .lbl { color: var(--text-muted); font-size: 0.95rem; }
.hc-row .val { font-weight: 800; font-size: 1.04rem; }
.hc-row .val.old { color: var(--text-dim); text-decoration: line-through; font-weight: 600; }
.hc-row .val.new { color: var(--teal-bright); }
.hc-gauge { margin-top: 18px; background: rgba(255,255,255,0.05); border-radius: 12px; padding: 14px 16px; display:flex; align-items:center; gap: 14px; }
.hc-gauge .big { font-size: 1.9rem; font-weight: 800; color: var(--white); line-height: 1; }
.hc-gauge .cap { font-size: 0.82rem; color: var(--text-muted); }

/* ---------- Trust strip ---------- */
.trust { border-block: 1px solid rgba(255,255,255,0.06); background: rgba(255,255,255,0.015); padding: 26px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; text-align: center; }
.trust-grid .num { font-size: clamp(1.6rem, 3.6vw, 2.3rem); font-weight: 800; color: var(--teal-bright); }
.trust-grid .lab { color: var(--text-muted); font-size: 0.92rem; }

/* ---------- Generic section spacing ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section.alt { background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent); }

/* ---------- Cards grid ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 42px; }
.card {
  background: var(--panel); border: 1px solid var(--panel-border); border-radius: var(--radius);
  padding: 28px 26px; transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.card:hover { transform: translateY(-5px); border-color: rgba(45,212,191,0.4); background: rgba(45,212,191,0.05); }
.card .ic {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: rgba(45,212,191,0.12); color: var(--teal-bright);
}
.card .ic svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.22rem; margin-bottom: 9px; }
.card p { color: var(--text-muted); font-size: 0.98rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; counter-reset: step; }
.step {
  position: relative; background: var(--panel); border: 1px solid var(--panel-border);
  border-radius: var(--radius); padding: 30px 24px 26px;
}
.step .step-num {
  width: 44px; height: 44px; border-radius: 12px; background: var(--grad-brand); color: #06222b;
  font-weight: 800; font-size: 1.2rem; display: grid; place-items: center; margin-bottom: 16px;
}
.step h3 { font-size: 1.14rem; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 0.95rem; }
.step .arrow { position: absolute; top: 46px; inset-inline-start: -18px; color: rgba(45,212,191,0.5); font-size: 1.6rem; }

/* ---------- Comparison table ---------- */
.compare-wrap { margin-top: 42px; overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--panel-border); }
table.compare { width: 100%; border-collapse: collapse; min-width: 560px; }
table.compare th, table.compare td { padding: 16px 18px; text-align: start; }
table.compare thead th { background: rgba(255,255,255,0.04); font-weight: 700; color: var(--white); font-size: 1rem; border-bottom: 1px solid var(--panel-border); }
table.compare thead th.col-new { color: var(--teal-bright); }
table.compare tbody tr { border-bottom: 1px solid rgba(255,255,255,0.06); }
table.compare tbody tr:last-child { border-bottom: 0; }
table.compare td { color: var(--text-muted); font-size: 0.97rem; }
table.compare td.work { color: var(--text); font-weight: 600; }
.pill { display: inline-block; padding: 5px 13px; border-radius: 999px; font-weight: 700; font-size: 0.86rem; }
.pill.slow { background: rgba(239,68,68,0.14); color: #fca5a5; }
.pill.fast { background: rgba(45,212,191,0.16); color: var(--teal-bright); }

/* ---------- Audience / use cases ---------- */
.uses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 42px; }
.use { background: var(--panel); border: 1px solid var(--panel-border); border-radius: var(--radius); padding: 26px; }
.use .ic { color: var(--teal-bright); margin-bottom: 14px; }
.use .ic svg { width: 30px; height: 30px; }
.use h3 { font-size: 1.12rem; margin-bottom: 7px; }
.use p { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split.alt-order .split-media { order: -1; }
.feature-list { list-style: none; margin-top: 22px; display: grid; gap: 16px; }
.feature-list li { display: flex; gap: 13px; align-items: flex-start; }
.feature-list .fi { flex: none; width: 34px; height: 34px; border-radius: 10px; background: rgba(45,212,191,0.12); color: var(--teal-bright); display: grid; place-items: center; }
.feature-list .fi svg { width: 18px; height: 18px; }
.feature-list h4 { font-size: 1.04rem; color: var(--white); margin-bottom: 2px; }
.feature-list p { color: var(--text-muted); font-size: 0.94rem; }
.media-panel {
  background: linear-gradient(160deg, rgba(22,52,79,0.85), rgba(12,31,51,0.95));
  border: 1px solid var(--panel-border); border-radius: 22px; padding: 30px; box-shadow: var(--shadow-soft);
}

/* ---------- Founders ---------- */
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
.founder { display: flex; gap: 20px; background: var(--panel); border: 1px solid var(--panel-border); border-radius: var(--radius); padding: 26px; align-items: flex-start; }
.founder .avatar { flex: none; width: 64px; height: 64px; border-radius: 16px; background: var(--grad-brand); color: #06222b; display: grid; place-items: center; font-weight: 800; font-size: 1.5rem; }
.founder h3 { font-size: 1.18rem; margin-bottom: 2px; }
.founder .role { color: var(--teal-bright); font-weight: 700; font-size: 0.92rem; margin-bottom: 8px; }
.founder p { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 42px auto 0; }
.faq-item { border: 1px solid var(--panel-border); border-radius: var(--radius-sm); margin-bottom: 14px; background: var(--panel); overflow: hidden; }
.faq-q { width: 100%; text-align: start; background: none; border: 0; cursor: pointer; color: var(--white); font-family: inherit; font-size: 1.06rem; font-weight: 700; padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq-q .chev { flex: none; transition: transform .3s var(--ease); color: var(--teal-bright); }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a-inner { padding: 0 22px 20px; color: var(--text-muted); font-size: 0.99rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--grad-brand); border-radius: 26px; padding: clamp(34px, 5vw, 56px); text-align: center; margin: 0 auto; box-shadow: var(--shadow); }
.cta-band h2 { color: #06222b; font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin-bottom: 12px; }
.cta-band p { color: #064b46; font-weight: 600; margin-bottom: 26px; font-size: 1.08rem; }
.cta-band .btn-dark { background: #06222b; color: var(--white); }
.cta-band .btn-dark:hover { background: #0a2e3a; transform: translateY(-2px); }

/* ---------- Contact / forms ---------- */
.contact-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; margin-top: 44px; align-items: start; }
.form-card { background: var(--panel); border: 1px solid var(--panel-border); border-radius: var(--radius); padding: 30px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 7px; color: var(--text); }
.field label .req { color: #fca5a5; }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--white);
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px; padding: 13px 15px; transition: border-color .2s, background .2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: rgba(45,212,191,0.06); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23a7bcd0' d='M6 8 0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 16px center; }
.field textarea { resize: vertical; min-height: 90px; }
.field .err { color: #fca5a5; font-size: 0.85rem; margin-top: 6px; display: none; }
.field.invalid input, .field.invalid select { border-color: #ef4444; }
.field.invalid .err { display: block; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 0.82rem; color: var(--text-dim); margin-top: 4px; }
.form-success { display: none; background: rgba(45,212,191,0.1); border: 1px solid rgba(45,212,191,0.35); border-radius: 12px; padding: 18px; color: var(--teal-bright); font-weight: 600; text-align: center; }
.form-success.show { display: block; }

.contact-info .info-item { display: flex; gap: 15px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.07); }
.contact-info .info-item:last-child { border-bottom: 0; }
.contact-info .ic { flex: none; width: 44px; height: 44px; border-radius: 12px; background: rgba(45,212,191,0.12); color: var(--teal-bright); display: grid; place-items: center; }
.contact-info .ic svg { width: 21px; height: 21px; }
.contact-info h4 { font-size: 1rem; color: var(--white); margin-bottom: 2px; }
.contact-info a, .contact-info p { color: var(--text-muted); font-size: 0.97rem; }
.contact-info a:hover { color: var(--teal-bright); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--grad-hero); padding: clamp(48px, 7vw, 84px) 0 clamp(30px, 4vw, 50px); text-align: center; }
.page-hero h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); margin-bottom: 12px; }
.page-hero p { color: var(--text-muted); font-size: 1.08rem; max-width: 620px; margin-inline: auto; }
.breadcrumb { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--teal-bright); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); border-top: 1px solid rgba(255,255,255,0.07); padding: 56px 0 26px; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { color: var(--text-muted); font-size: 0.95rem; max-width: 320px; }
.footer-col h4 { font-size: 1rem; margin-bottom: 14px; color: var(--white); }
.footer-col a { display: block; color: var(--text-muted); font-size: 0.95rem; padding: 5px 0; transition: color .2s; }
.footer-col a:hover { color: var(--teal-bright); }
.footer-disclaimer { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.07); }
.footer-disclaimer p { color: var(--text-dim); font-size: 0.82rem; line-height: 1.7; margin-bottom: 10px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.footer-bottom p { color: var(--text-dim); font-size: 0.86rem; }
.footer-bottom .socials { display: flex; gap: 10px; }
.footer-bottom .socials a { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,0.05); display: grid; place-items: center; color: var(--text-muted); transition: .2s; }
.footer-bottom .socials a:hover { background: rgba(45,212,191,0.15); color: var(--teal-bright); }

/* ---------- Floating WhatsApp ---------- */
.wa-float { position: fixed; inset-block-end: 22px; inset-inline-start: 22px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(0,0,0,0.3); transition: transform .25s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Reveal animation (CSS-only, bulletproof) ----------
   Content is visible by default. When JS is active (html.js) a gentle
   fade/slide-in plays on load via a CSS animation that ALWAYS completes —
   so content can never get stuck hidden (no scroll-observer dependency). */
.reveal { opacity: 1; transform: none; }
@keyframes revealUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
html.js .reveal { animation: revealUp .7s var(--ease) both; }
@media (prefers-reduced-motion: reduce) { html.js .reveal { animation: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-card { order: 2; }
  .cards, .steps, .uses { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid, .founders { grid-template-columns: 1fr; gap: 30px; }
  .split.alt-order .split-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .step .arrow { display: none; }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed; inset-block-start: 74px; inset-inline-end: 0; inset-inline-start: 0;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 16px 20px 24px;
    background: rgba(10,28,46,0.98); backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transform: translateY(-130%); transition: transform .35s var(--ease); max-height: calc(100vh - 74px); overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 13px 14px; font-size: 1.05rem; }
  .nav-cta { margin: 6px 0 0; }
  .nav-toggle { display: block; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 560px) {
  .cards, .steps, .uses, .trust-grid, .two-col { grid-template-columns: 1fr; }
  .trust-grid { gap: 24px; }
  .hero-actions .btn { width: 100%; }
  .founder { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
}
