/* =========================
   RESET + THEME
========================= */
*{ margin:0; padding:0; box-sizing:border-box; }

:root{
  --bg1:#fff3c8;
  --bg2:#f6e9b3;

  --forest:#1f6f3d;
  --forest2:#12552d;

  --yellow:#ffcc00;
  --yellow2:#ffe37b;

  --ink:#1f1f1f;
  --muted:#3b3b3b;

  --card: rgba(255,255,255,0.72);
  --stroke: rgba(0,0,0,0.10);
  --shadow: rgba(0,0,0,0.18);

  --radius: 26px;
}

/* Accessibility helper */
strong{ font-weight: 900; }

html{ scroll-behavior:smooth; }

body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 380px at 10% -20%, rgba(31,111,61,0.20), transparent 60%),
    radial-gradient(700px 320px at 90% 10%, rgba(255,204,0,0.28), transparent 60%),
    linear-gradient(180deg, var(--bg1), var(--bg2));
  overflow-x:hidden;
}

img{ max-width:100%; height:auto; display:block; }

/* =========================
   BACKGROUND DECOR
========================= */
.bg-orbs{
  position: fixed;
  inset: 0;
  pointer-events:none;
  z-index: 0;
  opacity: 0.9;
  filter: blur(0px);
  background:
    radial-gradient(220px 220px at 12% 22%, rgba(31,111,61,0.14), transparent 60%),
    radial-gradient(260px 260px at 82% 18%, rgba(255,204,0,0.18), transparent 62%),
    radial-gradient(260px 260px at 70% 86%, rgba(122,40,138,0.12), transparent 62%);
}

.bg-sparkles{
  position: fixed;
  inset: 0;
  pointer-events:none;
  z-index: 0;
  opacity: 0.55;
  background-image:
    radial-gradient(2px 2px at 10% 20%, rgba(255,255,255,0.55), transparent 60%),
    radial-gradient(2px 2px at 30% 70%, rgba(255,255,255,0.45), transparent 60%),
    radial-gradient(2px 2px at 60% 35%, rgba(255,255,255,0.55), transparent 60%),
    radial-gradient(2px 2px at 85% 55%, rgba(255,255,255,0.45), transparent 60%),
    radial-gradient(2px 2px at 75% 85%, rgba(255,255,255,0.55), transparent 60%),
    radial-gradient(2px 2px at 45% 15%, rgba(255,255,255,0.45), transparent 60%);
  animation: sparkleDrift 9s ease-in-out infinite;
}

@keyframes sparkleDrift{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-10px); }
}

/* =========================
   LAYOUT
========================= */
.page{ position:relative; z-index: 1; }

.container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================
   TOPBAR
========================= */
.topbar{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--forest), var(--forest2));
  border-bottom: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 10px 26px rgba(0,0,0,0.25);
}

.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
  padding: 18px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap: 14px;
  min-width: 0;
}

.topbar-icon{
  width: 110px;
  height: 110px;
  border-radius: 18px;
  background: rgba(255,246,201,0.95);
  padding: 6px;
  box-shadow: 0 16px 30px rgba(0,0,0,0.22);
  border: 1px solid rgba(0,0,0,0.10);
  transition: transform .2s ease;
}

.topbar-icon:hover{ transform: translateY(-2px) rotate(-1deg); }

.topbar-logo{
  height: 120px;
  width: auto;
  filter: drop-shadow(2px 3px 0 rgba(0,0,0,0.35));
}

.play-btn{
  position:relative;
  background: linear-gradient(180deg, var(--yellow2), var(--yellow));
  color:#000;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration:none;
  font-weight: 900;
  border: 3px solid rgba(0,0,0,0.25);
  text-transform: uppercase;
  letter-spacing: .4px;
  box-shadow: 0 16px 30px rgba(0,0,0,0.18);
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease;
  overflow:hidden;
}

.play-btn::after{
  content:"";
  position:absolute;
  inset:-40%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.55), transparent 55%);
  transform: translateX(-40%) rotate(10deg);
  opacity: 0;
  transition: opacity .25s ease;
}

.play-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 20px 36px rgba(0,0,0,0.22);
}

.play-btn:hover::after{ opacity: 1; }

/* =========================
   HERO
========================= */
.hero{
  padding: 34px 0 10px;
}

.hero-card{
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: 0 26px 60px var(--shadow);
  overflow:hidden;
  backdrop-filter: blur(6px);
}

.hero-media{
  position: relative;
  transform: translate(var(--px, 0px), var(--py, 0px));
  transition: transform .15s ease;
}

.hero-art{
  width: 100%;
  display:block;
}

.hero-glow{
  position:absolute;
  inset: -30%;
  background:
    radial-gradient(closest-side at 25% 35%, rgba(255,204,0,0.20), transparent 60%),
    radial-gradient(closest-side at 70% 45%, rgba(31,111,61,0.18), transparent 60%);
  pointer-events:none;
  filter: blur(1px);
  animation: glowPulse 6s ease-in-out infinite;
}

@keyframes glowPulse{
  0%,100%{ opacity: .55; transform: scale(1); }
  50%{ opacity: .85; transform: scale(1.03); }
}

.hero-copy{
  padding: 18px 18px 22px;
  text-align:center;
}

.kicker{
  display:inline-block;
  font-weight: 900;
  letter-spacing: .5px;
  text-transform: uppercase;
  font-size: .9rem;
  color: rgba(18,85,45,0.95);
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 999px;
  padding: 8px 12px;
  margin-top: 14px;
}

.hero-sub{
  margin: 14px auto 16px;
  max-width: 840px;
  font-size: 1.08rem;
  line-height: 1.5;
  color: var(--muted);
}

.hero-actions{
  display:flex;
  justify-content:center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.btn{
  display:inline-block;
  text-decoration:none;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .4px;
  border-radius: 999px;
  padding: 14px 22px;
  border: 2px solid rgba(0,0,0,0.18);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.btn-primary{
  background: linear-gradient(180deg, var(--yellow2), var(--yellow));
  color: #000;
  box-shadow: 0 16px 30px rgba(0,0,0,0.18);
}

.btn-primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 20px 36px rgba(0,0,0,0.22);
  filter: saturate(1.05);
}

.btn-ghost{
  background: rgba(255,255,255,0.65);
  color: rgba(18,85,45,0.98);
  border-color: rgba(18,85,45,0.35);
}

.btn-ghost:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(0,0,0,0.14);
}

.chips{
  margin-top: 14px;
  display:flex;
  justify-content:center;
  flex-wrap: wrap;
  gap: 10px;
}

.chip{
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(0,0,0,0.10);
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: .95rem;
  transition: transform .15s ease;
}

.chip:hover{ transform: translateY(-2px); }

/* =========================
   STATS
========================= */
.stats{
  margin-top: 16px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}

.stat{
  background: rgba(255,255,255,0.62);
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 18px;
  padding: 14px;
  text-align:center;
  box-shadow: 0 18px 36px rgba(0,0,0,0.10);
}

.stat-num{
  font-size: 1.5rem;
  font-weight: 950;
  letter-spacing: .2px;
}

.stat-label{
  margin-top: 4px;
  color: var(--muted);
  font-weight: 800;
}

/* =========================
   SECTION HEAD
========================= */
.section-head{
  text-align:center;
  margin: 0 auto 16px;
  max-width: 820px;
}

.section-head h2{
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  margin-bottom: 6px;
}

.section-head p{
  color: var(--muted);
  line-height: 1.5;
}

/* =========================
   FEATURES
========================= */
.features{
  padding: 22px 0 10px;
}

.feature-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
  margin-top: 14px;
}

.feature{
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 18px 36px rgba(0,0,0,0.10);
  display:flex;
  gap: 12px;
  align-items:flex-start;
  transition: transform .18s ease, box-shadow .18s ease;
}

.feature:hover{
  transform: translateY(-4px);
  box-shadow: 0 24px 44px rgba(0,0,0,0.14);
}

.feature-ico{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,204,0,0.35);
  border: 1px solid rgba(0,0,0,0.08);
  font-size: 1.2rem;
  flex: 0 0 auto;
}

.feature h3{
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.feature p{
  color: var(--muted);
  line-height: 1.45;
  font-size: .98rem;
}

/* =========================
   SCREENS
========================= */
.screens{
  padding: 28px 0 18px;
}

.screens-card{
  background: rgba(255,255,255,0.62);
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 22px;
  box-shadow: 0 22px 48px rgba(0,0,0,0.12);
  overflow:hidden;
  margin-top: 14px;
  transition: transform .18s ease;
}

.screens-card:hover{
  transform: translateY(-4px);
}

.center-cta {
  margin-top: 18px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;   /* הוספה חשובה */
  gap: 12px;
  flex-wrap: wrap;
}


/* =========================
   FOOTER
========================= */
.footer{
  margin-top: 34px;
  padding: 26px 0 34px;
  background: rgba(255,255,255,0.30);
  border-top: 1px solid rgba(0,0,0,0.08);
}

.footer-inner{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
  text-align:center;
}

.footer-title{
  font-weight: 900;
  margin-bottom: 6px;
}

.footer-link{
  color: rgba(18,85,45,0.98);
  text-decoration:none;
  font-weight: 800;
}
.footer-link:hover{ text-decoration: underline; }

.footer-text{
  color: var(--muted);
  font-weight: 800;
}


.center-cta .btn-ghost {
  height: 48px;              /* גובה מדויק */
  padding: 0 24px;           /* רק רוחב, בלי גובה */
  display: inline-flex;
  align-items: center;       /* ממרכז טקסט אנכית */
  justify-content: center;
  border-radius: 16px;       /* פינות פחות עגולות */
}




/* =========================
   REVEAL ANIMATIONS
========================= */
.reveal{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .75s ease, transform .75s ease;
}

.reveal.show{
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   GOOGLE PLAY BADGE (ADDED)
========================= */
.play-badge{
  display: inline-block;
  line-height: 0;
  text-decoration: none;
}

/* when play-badge is used on the topbar button (play-btn), remove the yellow pill styling */
.play-btn.play-badge{
  background: none !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.play-btn.play-badge::after{
  display: none !important;
}

.google-badge{
  height: 100px;
  width: auto;
  transition: transform .18s ease, filter .18s ease;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.35));
}

.google-badge:hover{
  transform: scale(1.05);
  filter: drop-shadow(0 14px 28px rgba(0,0,0,0.45));
}

.large-badge{
  height: 100px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 980px){
  .feature-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 820px){
  .stats{ grid-template-columns: 1fr; }
}

@media (max-width: 720px){
  .topbar-inner{
    flex-direction: column;
    align-items: center;
    justify-content:center;
  }

  .play-btn{
    width: 100%;
    max-width: 380px;
    text-align:center;
  }

  .footer-inner{
    grid-template-columns: 1fr;
  }
}

/* =========================
   REDUCED MOTION
========================= */
@media (prefers-reduced-motion: reduce){
  .bg-sparkles{ animation: none; }
  .reveal{ opacity: 1; transform: none; transition: none; }
  .feature, .screens-card, .btn, .play-btn, .chip{ transition: none; }
}
