/* ===== משתנים ===== */
:root {
  --primary: #2ecc71;
  --primary-dark: #27ae60;
  --accent: #a8e063;
  --dark: #0b1f16;
  --darker: #07140f;
  --card-bg: rgba(255, 255, 255, 0.06);
  --text: #f1fbf5;
  --text-muted: #a8c9b8;
  --radius: 20px;
  --shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== בסיס ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: linear-gradient(180deg, var(--darker) 0%, var(--dark) 100%);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

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

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

.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

.section {
  padding: 100px 0;
}

/* ===== עלים צפים ===== */
.floating-leaves {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.leaf {
  position: absolute;
  width: 18px;
  height: 18px;
  background: var(--accent);
  opacity: 0.12;
  border-radius: 0 70% 0 70%;
  animation: leaf-fall linear infinite;
}

.leaf:nth-child(1) { left: 10%; top: -10%; animation-duration: 14s; animation-delay: 0s; transform: scale(1.2); }
.leaf:nth-child(2) { left: 25%; top: -10%; animation-duration: 18s; animation-delay: 2s; transform: scale(0.8); }
.leaf:nth-child(3) { left: 50%; top: -10%; animation-duration: 16s; animation-delay: 4s; transform: scale(1); }
.leaf:nth-child(4) { left: 75%; top: -10%; animation-duration: 20s; animation-delay: 1s; transform: scale(0.9); }
.leaf:nth-child(5) { left: 90%; top: -10%; animation-duration: 15s; animation-delay: 3s; transform: scale(1.1); }

@keyframes leaf-fall {
  0% { transform: translateY(-10%) rotate(0deg); opacity: 0; }
  10% { opacity: 0.18; }
  90% { opacity: 0.1; }
  100% { transform: translateY(110vh) rotate(360deg); opacity: 0; }
}

/* ===== ניווט ===== */
.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(7, 20, 15, 0.85);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
  padding: 12px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
}

.logo-icon {
  color: var(--accent);
  font-size: 1.6rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-menu a {
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
  position: relative;
}

.nav-menu a:hover {
  color: var(--text);
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 50px;
  box-shadow: 0 8px 20px rgba(46, 204, 113, 0.25);
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--text);
  border-radius: 3px;
  transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-top: 90px;
  overflow: hidden;
}

.hero-image-wrapper {
  position: initial;
  width: 100%;  
  overflow: hidden;
  border-radius: 0 0 30px 30px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(7, 20, 15, 0) 60%,
    rgba(7, 20, 15, 0.75) 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 0 90px;
}

.hero-title,
.hero-subtitle {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.eyebrow {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-title span {
  color: var(--primary);
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.05rem;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.15rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 12px 30px rgba(46, 204, 113, 0.35);
  animation: pulse-glow 2.5s infinite;
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 18px 40px rgba(46, 204, 113, 0.45);
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 12px 30px rgba(46, 204, 113, 0.35); }
  50% { box-shadow: 0 16px 40px rgba(46, 204, 113, 0.55); }
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(46, 204, 113, 0.08);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 1.7rem;
  color: var(--accent);
  font-weight: 800;
}

.stat span {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ===== כותרות סקשנים ===== */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  background: rgba(46, 204, 113, 0.12);
  color: var(--primary);
  padding: 6px 18px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.section-header h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* ===== משימה ===== */
.mission-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 60px;
  text-align: center;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.mission-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(46, 204, 113, 0.2), transparent 70%);
  transform: translate(-30%, -30%);
}

.quote-icon {
  font-size: 2.5rem;
  color: var(--primary);
  opacity: 0.3;
  margin-bottom: 20px;
}

.mission-card h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.mission-card p {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
}

/* ===== תכונות ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: 38px 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: rgba(46, 204, 113, 0.25);
  box-shadow: var(--shadow);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(46, 204, 113, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 22px;
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
}

/* ===== איך זה עובד ===== */
.how-it-works {
  background: rgba(255, 255, 255, 0.02);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  position: relative;
}

.step {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
}

.step:hover {
  transform: translateY(-6px);
  border-color: rgba(46, 204, 113, 0.2);
}

.step-number {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 10px 25px rgba(46, 204, 113, 0.3);
}

.step h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.step p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* ===== למה אנחנו ===== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 14px 0 20px;
}

.why-content p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 28px;
}

.why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.why-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
}

.why-list i {
  color: var(--primary);
  font-size: 1.2rem;
}

.why-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.visual-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  transition: var(--transition);
}

.visual-card:hover {
  transform: translateY(-8px);
  border-color: rgba(46, 204, 113, 0.25);
}

.visual-card:nth-child(3) {
  grid-column: 1 / -1;
}

.visual-icon {
  font-size: 2.4rem;
  color: var(--accent);
  margin-bottom: 14px;
}

.visual-label {
  font-weight: 700;
  font-size: 1.1rem;
}

/* ===== הורדה ===== */
.download {
  padding-bottom: 120px;
}

.download-card {
  position: relative;
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.15), rgba(168, 224, 99, 0.05));
  border: 1px solid rgba(46, 204, 113, 0.25);
  border-radius: var(--radius);
  padding: 70px 40px;
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.download-card::before,
.download-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
}

.download-card::before {
  top: -80px;
  right: -80px;
  width: 250px;
  height: 250px;
  background: var(--primary);
}

.download-card::after {
  bottom: -80px;
  left: -80px;
  width: 250px;
  height: 250px;
  background: var(--accent);
}

.download-card h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.download-card > p {
  color: var(--text-muted);
  font-size: 1.2rem;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.play-badge {
  display: inline-block;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.play-badge img {
  height: 72px;
  width: auto;
}

.play-badge:hover {
  transform: scale(1.05);
}

.download-note {
  margin-top: 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.download-note i {
  color: var(--primary);
}

/* ===== פוטר ===== */
.footer {
  background: rgba(0, 0, 0, 0.25);
  padding: 50px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 30px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 800;
}

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  font-weight: 600;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 20px;
}

/* ===== אנימציות גלילה ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
  margin-top: revert;
}

/* ===== רספונסיביות ===== */
@media (max-width: 992px) {
  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-visual {
    grid-template-columns: 1fr;
  }

  .visual-card:nth-child(3) {
    grid-column: auto;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    right: 0;
    left: 0;
    flex-direction: column;
    background: rgba(7, 20, 15, 0.96);
    backdrop-filter: blur(16px);
    padding: 30px;
    gap: 22px;
    transform: translateY(-150%);
    transition: var(--transition);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-radius: 0 0 24px 24px;
  }

  .nav-menu.open {
    transform: translateY(0);
  }

  .hero {
    padding-top: 80px;
  }

  .hero-image-wrapper {
    height: 450px;
  }

  .hero-content {
    padding: 45px 0 60px;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn-lg {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    gap: 28px;
  }

  .mission-card {
    padding: 36px 24px;
  }

  .section {
    padding: 70px 0;
  }

  .footer-top {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }
}

/* ===== עמודי מדיניות/מחיקה ===== */
.page-header {
  padding-top: 140px;
  padding-bottom: 50px;
  text-align: center;
  background: linear-gradient(
    180deg,
    rgba(46, 204, 113, 0.08) 0%,
    transparent 100%
  );
  position: relative;
}

.page-header h1 {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  font-weight: 800;
  margin-bottom: 14px;
}

.page-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.legal-section {
  padding-top: 0;
  padding-bottom: 120px;
}

.legal-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 56px;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.legal-card h2 {
  color: var(--primary);
  font-size: 1.35rem;
  margin-top: 42px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.legal-card h2:first-of-type {
  margin-top: 0;
}

.legal-card h2 i {
  font-size: 1.1rem;
  opacity: 0.9;
}

.legal-card p,
.legal-card li {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 14px;
}

.legal-card ul {
  padding-left: 22px;
  margin-bottom: 18px;
}

.legal-card li {
  margin-bottom: 10px;
}

.legal-card a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-card a:hover {
  color: var(--accent);
}

.legal-card .btn {
  color: #fff;
  text-decoration: none;
}

.legal-card .btn:hover {
  color: #fff;
}

.legal-card .btn {
  margin-top: 8px;
}

@media (max-width: 768px) {
  .page-header {
    padding-top: 120px;
    padding-bottom: 40px;
  }

  .legal-card {
    padding: 32px 24px;
  }

  .legal-card h2 {
    font-size: 1.2rem;
  }

  .legal-card p,
  .legal-card li {
    font-size: 1rem;
  }
}
