/* =========================================================
   הילה / Hila — landing page styles
   Soft, premium femtech aesthetic · Hebrew RTL
   ========================================================= */

:root {
  /* palette */
  --cream:      #f8f4ee;
  --cream-2:    #f1e9df;
  --ivory:      #fffdfa;
  --ink:        #2f2a33;        /* warm deep plum-grey text */
  --ink-soft:   #6a6470;
  --sage:       #8aa893;        /* soft green */
  --sage-deep:  #5e7d68;
  --blush:      #e7b9ad;        /* dusty rose */
  --blush-deep: #c98879;
  --gold:       #e8c8a4;
  --line:       #e7ddd0;

  --grad-warm:  linear-gradient(135deg, #f4d9cf 0%, #f6e7d6 50%, #dce8df 100%);

  --shadow-sm:  0 2px 10px rgba(83, 64, 50, 0.06);
  --shadow-md:  0 14px 40px rgba(83, 64, 50, 0.10);
  --shadow-lg:  0 30px 70px rgba(83, 64, 50, 0.14);

  --radius:     22px;
  --radius-sm:  14px;
  --maxw:       1140px;

  --serif: "Frank Ruhl Libre", Georgia, serif;
  --sans:  "Assistant", "Segoe UI", system-ui, sans-serif;
}

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

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

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 18px;
  font-weight: 400;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.18; color: var(--ink); }

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

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.cta-center { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

.hero-note a, .lead a {
  color: var(--sage-deep); font-weight: 600;
  border-bottom: 1px solid rgba(94, 125, 104, .45);
  transition: color .2s, border-color .2s;
}
.hero-note a:hover, .lead a:hover { color: var(--blush-deep); border-color: var(--blush-deep); }

.eyebrow {
  display: inline-block;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  color: var(--sage-deep);
  text-transform: none;
  margin-bottom: 14px;
  padding: 5px 14px;
  background: rgba(138, 168, 147, 0.14);
  border-radius: 999px;
}

.lead { font-size: 1.18rem; color: var(--ink-soft); }

.section { padding: 100px 0; }
.section-head { max-width: 720px; margin-inline: auto; margin-bottom: 56px; }
.section-head h2, .section h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  border: none; cursor: pointer;
  border-radius: 999px;
  padding: 13px 26px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  white-space: nowrap;
}
.btn-lg { padding: 16px 34px; font-size: 1.08rem; }
.btn-sm { padding: 9px 20px; font-size: 0.95rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--blush-deep), var(--blush));
  color: #fff;
  box-shadow: 0 10px 24px rgba(201, 136, 121, 0.32);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(201, 136, 121, 0.42); }

.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--sage); color: var(--sage-deep); background: rgba(138,168,147,.06); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 244, 238, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 74px; }

.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); }
.brand-mark { width: 34px; height: 34px; color: var(--sage-deep); }
.brand-name { font-size: 1.5rem; font-weight: 700; color: var(--ink); }

.nav { display: flex; gap: 30px; margin-inline-start: auto; }
.nav a { font-weight: 500; color: var(--ink-soft); position: relative; transition: color .2s; }
.nav a::after {
  content: ""; position: absolute; bottom: -6px; right: 0; width: 0; height: 2px;
  background: var(--blush-deep); border-radius: 2px; transition: width .25s ease;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { width: 100%; }

.nav-cta { margin-inline-start: 4px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; margin-inline-start: auto; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none; flex-direction: column; gap: 4px;
  padding: 8px 24px 22px;
  background: rgba(248, 244, 238, 0.98);
  border-bottom: 1px solid var(--line);
}
.mobile-nav a { padding: 12px 4px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-nav a.btn { border: none; color: #fff; margin-top: 12px; justify-content: center; }
.mobile-nav.open { display: flex; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 70px 0 90px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.blob-1 { width: 460px; height: 460px; background: #f1cdbf; top: -120px; left: -90px; animation: float1 18s ease-in-out infinite; }
.blob-2 { width: 420px; height: 420px; background: #cfe0d3; bottom: -140px; right: -80px; animation: float2 22s ease-in-out infinite; }
.blob-3 { width: 320px; height: 320px; background: #f5e3c8; top: 30%; right: 26%; opacity: .4; animation: float1 26s ease-in-out infinite; }

@keyframes float1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(20px,-26px)} }
@keyframes float2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-24px,18px)} }

.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 50px;
}
.hero-copy h1 { font-size: clamp(2.3rem, 5.2vw, 3.7rem); font-weight: 900; margin: 8px 0 22px; }
.hero-sub { font-size: 1.22rem; color: var(--ink-soft); max-width: 540px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.hero-note { font-size: 0.95rem; color: var(--ink-soft); }

/* hero phone illustration */
.hero-art { display: flex; justify-content: center; }
.phone {
  width: 300px; padding: 14px;
  background: linear-gradient(160deg, #fff, #f7efe6);
  border-radius: 42px;
  box-shadow: var(--shadow-lg);
  border: 1px solid #f0e6d9;
  animation: bob 6s ease-in-out infinite;
}
@keyframes bob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
.phone-screen { background: var(--ivory); border-radius: 30px; padding: 18px 16px 22px; min-height: 440px; }
.chat-head { display: flex; align-items: center; gap: 8px; font-family: var(--serif); font-weight: 700; color: var(--sage-deep); padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.chat-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 4px rgba(138,168,147,.2); }
.bubbles { display: flex; flex-direction: column; gap: 12px; }
.bubble { max-width: 82%; padding: 11px 15px; font-size: 0.96rem; line-height: 1.5; border-radius: 18px; opacity: 0; transform: translateY(8px); animation: pop .5s ease forwards; }
.bubble.bot { align-self: flex-start; background: var(--cream-2); color: var(--ink); border-bottom-right-radius: 6px; }
.bubble.me { align-self: flex-end; background: linear-gradient(135deg, var(--blush), var(--gold)); color: #4a3b35; border-bottom-left-radius: 6px; }
.bubble:nth-child(1){animation-delay:.3s} .bubble:nth-child(2){animation-delay:1.1s} .bubble:nth-child(3){animation-delay:1.9s} .bubble:nth-child(4){animation-delay:2.8s}
@keyframes pop { to { opacity:1; transform: translateY(0); } }
.bubble.typing { display: flex; gap: 4px; padding: 14px 16px; }
.bubble.typing span { width: 7px; height: 7px; border-radius: 50%; background: #4a3b35; opacity: .5; animation: blink 1.2s infinite; }
.bubble.typing span:nth-child(2){animation-delay:.2s} .bubble.typing span:nth-child(3){animation-delay:.4s}
@keyframes blink { 0%,60%,100%{opacity:.25; transform:translateY(0)} 30%{opacity:.9; transform:translateY(-3px)} }

/* ---------- Trust strip ---------- */
.strip { background: var(--ink); color: #f4ece2; padding: 30px 0; }
.strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.strip-item { display: flex; flex-direction: column; gap: 3px; }
.strip-item strong { font-family: var(--serif); font-size: 1.5rem; color: var(--gold); }
.strip-item span { font-size: 0.95rem; color: #cabfb4; }

/* ---------- Mission ---------- */
.mission { background: var(--ivory); }
.mission .lead { margin-top: 18px; font-size: 1.24rem; line-height: 1.75; color: #4f4955; }
.mission .lead strong { color: var(--ink); }

/* ---------- How / cards ---------- */
.how { background: var(--cream); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--ivory); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #e0d3c2; }
.card-icon { font-size: 2rem; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; background: var(--grad-warm); border-radius: 16px; margin-bottom: 18px; }
.card h3 { font-size: 1.35rem; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 1.02rem; }

/* ---------- Pilot ---------- */
.pilot { background: var(--ivory); }
.pilot-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.pilot-copy h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 18px; }
.checklist { list-style: none; margin: 24px 0 30px; display: flex; flex-direction: column; gap: 13px; }
.checklist li { position: relative; padding-inline-start: 34px; color: #4f4955; font-size: 1.06rem; }
.checklist li::before {
  content: "✓"; position: absolute; right: 0; top: 1px;
  width: 24px; height: 24px; display: flex; align-items: center; justify-content: center;
  background: var(--sage); color: #fff; border-radius: 50%; font-size: 0.8rem; font-weight: 700;
}
.pilot-stats { display: grid; gap: 18px; }
.stat {
  background: var(--grad-warm); border-radius: var(--radius);
  padding: 26px 28px; box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: 20px;
}
.stat strong { font-family: var(--serif); font-size: 2.4rem; color: var(--blush-deep); line-height: 1; flex-shrink: 0; }
.stat span { color: #5a4d47; font-size: 1rem; font-weight: 500; }

/* ---------- Signup ---------- */
.signup { background: var(--cream); }
.signup-card {
  background: var(--ivory); border: 1px solid var(--line);
  border-radius: 28px; padding: 52px 48px; box-shadow: var(--shadow-md);
}
.signup-card .section-head { margin-bottom: 34px; }
.form { display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-row { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 18px; }
.field label { font-weight: 600; font-size: 0.98rem; color: var(--ink); }
.field label .opt { font-weight: 400; color: var(--ink-soft); font-size: 0.86rem; }
.field input, .field textarea {
  font-family: var(--sans); font-size: 1.02rem; color: var(--ink);
  background: var(--cream); border: 1.5px solid var(--line); border-radius: 14px;
  padding: 13px 16px; transition: border-color .2s, box-shadow .2s, background .2s;
  width: 100%; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: #a89e94; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sage); background: var(--ivory); box-shadow: 0 0 0 4px rgba(138,168,147,.15); }

.consent { display: flex; gap: 11px; align-items: flex-start; font-size: 0.95rem; color: var(--ink-soft); cursor: pointer; }
.consent input { width: 19px; height: 19px; margin-top: 3px; accent-color: var(--sage-deep); flex-shrink: 0; }

.form-status { font-size: 0.95rem; text-align: center; min-height: 1.2em; }
.form-status.error { color: var(--blush-deep); }

.form-success { text-align: center; padding: 30px 10px; animation: pop .5s ease forwards; }
.success-mark { font-size: 3rem; margin-bottom: 12px; }
.form-success h3 { font-size: 1.6rem; margin-bottom: 10px; }
.form-success p { color: var(--ink-soft); }

/* ---------- Team ---------- */
.team { background: var(--ivory); }
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; max-width: 880px; margin-inline: auto; }
.member {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 34px; text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
}
.member:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.avatar {
  width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700; font-size: 2rem; color: #fff;
  letter-spacing: 2px; box-shadow: var(--shadow-sm);
}
.avatar span { font-size: 2rem; }
.avatar-olya { background: linear-gradient(135deg, var(--sage), var(--sage-deep)); }
.avatar-nadin { background: linear-gradient(135deg, var(--blush), var(--blush-deep)); }
.member h3 { font-size: 1.5rem; margin-bottom: 4px; }
.member .role { color: var(--sage-deep); font-weight: 600; font-size: 0.98rem; margin-bottom: 14px; }
.member .bio { color: var(--ink-soft); font-size: 1.02rem; }

/* ---------- Closing ---------- */
.closing { background: var(--grad-warm); }
.closing h2 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 16px; }
.closing .lead { color: #5a4d47; margin-bottom: 30px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #d8cdc2; padding: 50px 0 36px; }
.footer-inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand .brand-mark { color: var(--gold); width: 30px; height: 30px; }
.footer-brand .brand-name { font-family: var(--serif); font-size: 1.4rem; color: #f4ece2; }
.footer-tag { color: #b7a99d; }
.footer-fine { font-size: 0.85rem; color: #8e8175; max-width: 620px; line-height: 1.6; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .blob, .phone, .bubble, .bubble.typing span { animation: none; }
  .bubble { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { order: -1; }
  .phone { width: 250px; }
  .pilot-inner { grid-template-columns: 1fr; gap: 36px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  body { font-size: 17px; }
  .section { padding: 72px 0; }
  .hero { padding: 40px 0 60px; }
  .hero-copy { text-align: center; }
  .hero-copy h1 { font-size: clamp(2rem, 8vw, 2.7rem); }
  .hero-sub { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .strip-inner { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
  .cards { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .signup-card { padding: 36px 22px; }
  .field-row { grid-template-columns: 1fr; }
  .stat strong { font-size: 2rem; }
}

@media (max-width: 420px) {
  .container { padding-inline: 18px; }
  .btn-lg { padding: 14px 24px; font-size: 1rem; }
  .hero-cta .btn { width: 100%; }
}
