/* 🟢 My Goals | המטרות שלי — דף הבית. אותה שפה עיצובית כמו באפליקציה */
:root {
  --blue: #3737FE;
  --deep: #2F2FDD;
  --mint: #7DF78F;
  --navy: #1E2F5C;
  --bg: #F4F5FF;
  --card: #FFFFFF;
  --line: #DADDF5;
  --muted: #5B6386;
  --radius: 28px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--navy);
  font-family: "Fredoka", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
h1, h2, h3 { line-height: 1.15; margin: 0; font-weight: 600; }
h2 { font-size: clamp(30px, 5vw, 44px); }
p { margin: 0; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(55, 55, 254, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
}
.top .wrap { display: flex; align-items: center; gap: 12px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 600; font-size: 20px; }
.brand img { width: 38px; height: 38px; border-radius: 11px; }
.top nav { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.lang { color: #fff; text-decoration: none; font-weight: 500; padding: 8px 14px; border-radius: 999px; border: 2px solid rgba(255,255,255,.35); font-size: 15px; }
.lang:hover { background: rgba(255,255,255,.12); }
.top .mini { background: var(--mint); color: var(--navy); text-decoration: none; font-weight: 600; padding: 9px 16px; border-radius: 999px; font-size: 15px; white-space: nowrap; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--blue); color: #fff;
  padding: 36px 0 0;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: var(--deep);
  clip-path: polygon(0 62%, 30% 52%, 62% 64%, 100% 50%, 100% 100%, 0 100%);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
.kicker { display: inline-block; background: rgba(255,255,255,.14); color: var(--mint); font-weight: 600; padding: 6px 14px; border-radius: 999px; font-size: 15px; }
.hero h1 { font-size: clamp(36px, 7vw, 62px); margin: 14px 0 14px; }
.hero h1 em { font-style: normal; color: var(--mint); }
.hero .lead { font-size: clamp(18px, 2.4vw, 22px); opacity: .95; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 24px; }
.cta small { opacity: .85; font-size: 15px; }
.hero-visual { position: relative; display: flex; justify-content: center; padding-bottom: 28px; }
.phone {
  width: min(300px, 78vw); aspect-ratio: 9 / 16; border-radius: 40px; background: #0b0b14; padding: 9px;
  box-shadow: 0 30px 70px rgba(0,0,0,.4), inset 0 0 0 2px rgba(255,255,255,.08);
}
.phone video, .phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 32px; background: #3737FE; }
.hero-visual .moov { position: absolute; bottom: 8px; inset-inline-end: max(0px, calc(50% - min(150px, 39vw) - 70px)); width: min(140px, 30vw); filter: drop-shadow(0 18px 24px rgba(0,0,0,.35)); animation: bob 2s ease-in-out infinite alternate; }
@keyframes bob { to { transform: translateY(-8px); } }

/* Google Play badge */
.gp {
  display: inline-flex; align-items: center; gap: 12px; direction: ltr;
  background: #000; color: #fff; text-decoration: none;
  border: 2px solid #9aa0a6; border-radius: 14px; padding: 9px 20px 9px 14px;
  transition: transform .15s ease;
}
.gp:hover { transform: translateY(-2px); }
.gp svg { width: 34px; height: 38px; flex: none; }
.gp span { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.gp small { font-size: 12px; letter-spacing: .4px; }
.gp small[dir=rtl] { text-align: left; letter-spacing: 0; }
.gp b { font-family: Arial, Helvetica, sans-serif; font-size: 24px; font-weight: 700; }
.gp.big { padding: 12px 26px 12px 18px; }
.gp.big b { font-size: 30px; }
.gp.big svg { width: 42px; height: 46px; }

/* ---------- sections ---------- */
section { padding: 64px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.section-head p { margin-top: 12px; color: var(--muted); font-size: 19px; }
.pill { display: inline-block; background: var(--mint); color: var(--navy); font-weight: 600; font-size: 15px; padding: 5px 14px; border-radius: 999px; margin-bottom: 12px; }

/* new: voice */
.voice { background: var(--card); }
.voice .grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; background: var(--bg); border: 1px solid var(--line); border-radius: 22px; padding: 16px 18px; }
.steps .n { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--blue); color: var(--mint); display: grid; place-items: center; font-size: 22px; }
.steps b { display: block; font-size: 20px; font-weight: 600; }
.say { display: inline-block; margin-top: 4px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 4px 12px; font-weight: 500; }
.shot { width: min(320px, 80vw); margin: 0 auto; border-radius: 26px; box-shadow: 0 24px 60px rgba(30,47,92,.22); }

/* features */
.features { display: grid; grid-template-columns: 1fr; gap: 16px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.feature .ico { width: 54px; height: 54px; border-radius: 16px; background: #ECEEFF; display: grid; place-items: center; font-size: 28px; margin-bottom: 14px; }
.feature h3 { font-size: 22px; margin-bottom: 8px; }
.feature p { color: var(--muted); }

/* gallery */
.gallery { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 16px 18px; margin: 0 -16px; scrollbar-width: thin; }
.gallery img { flex: none; width: 230px; aspect-ratio: 540 / 1060; border-radius: 22px; scroll-snap-align: center; box-shadow: 0 14px 34px rgba(30,47,92,.18); background: var(--blue); }

/* video */
.video { background: var(--blue); color: #fff; }
.video .section-head p { color: rgba(255,255,255,.85); }
.video .phone { margin: 0 auto; width: min(340px, 84vw); }

/* audience */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.chip { background: var(--card); border: 2px solid var(--line); border-radius: 999px; padding: 12px 20px; font-weight: 500; font-size: 18px; }

/* faq */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 19px; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 26px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 18px; color: var(--muted); }

/* final cta */
.final { position: relative; overflow: hidden; background: var(--blue); color: #fff; text-align: center; padding: 56px 0 64px; }
.final::before { content: ""; position: absolute; inset: 0; background: var(--deep); clip-path: polygon(0 70%, 35% 60%, 70% 74%, 100% 62%, 100% 100%, 0 100%); }
.final .wrap { position: relative; }
.final img.m { width: 190px; margin: 0 auto 8px; filter: drop-shadow(0 18px 24px rgba(0,0,0,.35)); }
.final h2 { margin-bottom: 10px; }
.final p { opacity: .92; margin-bottom: 24px; font-size: 20px; }
.slogan { margin-top: 20px; color: var(--mint); font-weight: 600; direction: ltr; }

/* footer */
footer { padding: 28px 0 40px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center; text-align: center; }
footer a { color: var(--muted); }

/* ---------- desktop ---------- */
@media (min-width: 860px) {
  .hero { padding-top: 56px; }
  .hero .wrap { grid-template-columns: 1.1fr .9fr; }
  .hero-visual { padding-bottom: 44px; }
  .voice .grid { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: repeat(3, 1fr); }
  .gallery { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
}
