@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700;800&family=Oswald:wght@700&display=swap');

/* ── Reset ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { direction: rtl; scroll-behavior: smooth; }
body { font-family: 'Open Sans', sans-serif; background: #000; }
img { display: block; max-width: 100%; }

/* ── Shared ───────────────────────────────────────────────────── */
.container-992 {
  width: 100%;
  max-width: 992px;
  margin: 0 auto;
  padding: 0 10px;
}

/* ══════════════════════════════════════════════════════════════
   DARK WRAPPER
   ══════════════════════════════════════════════════════════════ */
.dark-wrapper {
  background: #000;
  position: relative;
  overflow: hidden;
}
/* Background image covers ALL dark sections (hero → consequence), matching Figma node 13:2 */
.dark-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/hero-bg.png') center top / cover no-repeat;
  opacity: 0.8;
  z-index: 0;
  pointer-events: none;
}
/* Gradient: transparent at top → 80% black at bottom, exactly as in Figma */
.dark-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
  z-index: 1;
  pointer-events: none;
}

/* ══════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════ */
.hero-section {
  position: relative;
  padding-top: 47px;
  z-index: 2; /* above the dark-wrapper pseudo-element backgrounds */
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 992px;
  margin: 0 auto;
  padding: 87px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 38px;
  text-align: center;
}

.hero-title-img {
  width: 100%;
  max-width: 600px;
}
.hero-title-img img {
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.hero-subtitle {
  color: #fff;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  direction: rtl;
}
.hero-subtitle strong {
  font-weight: 700;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 23px;
  border: 1px solid #000;
  border-radius: 13px;
  background: #f3d301;
  background-image: linear-gradient(to bottom, rgba(255,255,255,0.5), rgba(0,0,0,0.5));
  background-blend-mode: overlay;
  text-decoration: none;
  color: #171717;
  font-size: 26px;
  font-weight: 800;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.1s;
}
.hero-cta:hover { opacity: 0.9; transform: scale(1.02); }

/* ══════════════════════════════════════════════════════════════
   SECTION LABEL (badge with texture bg)
   ══════════════════════════════════════════════════════════════ */
.section-label {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 291px;
  height: 65px;
  flex-shrink: 0;
}
.section-label--center {
  margin: 0 auto;
}
.section-label .label-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.section-label span {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  white-space: nowrap;
  text-align: center;
}

/* ══════════════════════════════════════════════════════════════
   STRUCTURE — TWO ARMS
   ══════════════════════════════════════════════════════════════ */
.structure-section {
  padding: 20px 0 40px;
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}

.structure-cols {
  position: relative;
  display: flex;
  align-items: flex-start;
  direction: ltr; /* preserve Figma's LTR column order: operative LEFT, political RIGHT */
}

.structure-col {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 10px 114px;
}
.structure-col:last-child {
  padding-left: 130px;
  padding-right: 130px;
}

/* Photos cluster: operative arm (3 photos) */
.photos-cluster {
  position: relative;
  height: 264px;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 10px;
}

.photo-item img {
  width: 148px;
  height: 154px;
  object-fit: cover;
  display: block;
}

/* Operative: 3 photos with overlaps */
.photos-cluster--operative .photo-item--back {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%) rotate(-5.51deg);
  z-index: 1;
}
.photos-cluster--operative .photo-item--left {
  position: relative;
  transform: rotate(-13.8deg);
  margin-right: -52px;
  z-index: 2;
}
.photos-cluster--operative .photo-item--right {
  position: relative;
  transform: rotate(13.36deg);
  z-index: 2;
}

/* Political: 2 photos */
.photos-cluster--political {
  align-items: center;
}
.photos-cluster--political .photo-item img {
  width: 166px;
  height: 173px;
}
.photos-cluster--political .photo-item--pol-left {
  position: relative;
  transform: rotate(-13.8deg);
  margin-right: -74px;
  z-index: 1;
}
.photos-cluster--political .photo-item--pol-right {
  position: relative;
  transform: rotate(13.36deg);
  z-index: 2;
}

.structure-text {
  color: #fff;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  direction: rtl;
  width: 100%;
}

/* Arrow between columns */
.structure-arrow {
  position: absolute;
  left: 50%;
  top: 149px;
  transform: translateX(-50%) rotate(172.25deg) scaleY(-1);
  width: 220px;
  pointer-events: none;
  z-index: 10;
}
.structure-arrow img { width: 100%; }

/* Target row */
.target-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 10px;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}
.target-text {
  color: #fff;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  direction: rtl;
}
.target-text strong { font-weight: 800; }

/* ══════════════════════════════════════════════════════════════
   FUNDS
   ══════════════════════════════════════════════════════════════ */
.funds-section {
  padding: 10px;
  text-align: center;
  position: relative;
  z-index: 2;
}
.funds-inner {
  max-width: 914px;
  margin: 0 auto;
  padding: 40px 0 87px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 38px;
  position: relative;
}

.funds-above {
  color: #f3d301;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.72px;
  direction: rtl;
  text-align: center;
}

.funds-number {
  color: #f3d301;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -5.12px;
  direction: ltr;
}
.funds-shekel {
  font-size: 48px;
  letter-spacing: -1.92px;
  vertical-align: bottom;
  display: inline-block;
}
.funds-digits {
  font-size: 128px;
}

.funds-desc {
  color: #fff;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  direction: rtl;
}
.funds-desc strong { font-weight: 700; }

/* ══════════════════════════════════════════════════════════════
   CONSEQUENCE
   ══════════════════════════════════════════════════════════════ */
.consequence-section {
  display: flex;
  align-items: stretch;
  direction: ltr; /* preserve Figma's LTR order: photos LEFT, text RIGHT */
  position: relative;
  z-index: 2;
  padding-left: 40px;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}

/* Photos side */
.consequence-photos {
  position: relative;
  width: 663px;
  flex-shrink: 0;
  min-height: 650px;
  padding: 10px 130px;
}

.framed-photo {
  position: absolute;
  border: 4px solid #fbfbfb;
  box-shadow: 0 4px 40px 0 #000;
}
.framed-photo img {
  width: 412px;
  height: 274px;
  object-fit: cover;
  display: block;
}
.framed-photo--1 {
  left: 177px;
  top: 42px;
  transform: rotate(-5.75deg);
}
.framed-photo--2 {
  left: 33px;
  top: 286px;
  transform: rotate(5.69deg);
}

/* Text side */
.consequence-text {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 29px;
  justify-content: center;
  padding: 84px 130px 84px 30px;
}

.consequence-label {
  display: inline-block;
  background: #d00100;
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.4;
  padding: 2px 5px;
  direction: rtl;
  white-space: nowrap;
  align-self: flex-end; /* RIGHT side in LTR column flex = outer edge of text column */
}

.consequence-body {
  display: flex;
  flex-direction: column;
  gap: 28px;
  direction: rtl;
}
.consequence-body p {
  color: #fff;
  font-size: 30px;
  font-weight: 600;
  line-height: 39px;
  text-align: right;
}
.consequence-body strong {
  font-weight: 800;
}

/* ══════════════════════════════════════════════════════════════
   RED CTA
   ══════════════════════════════════════════════════════════════ */
.red-section {
  background: #d00100;
  padding: 10px;
}
.red-inner {
  max-width: 992px;
  margin: 0 auto;
  padding: 40px 0 87px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  text-align: center;
}

.red-silence {
  font-size: 48px;
  line-height: 1.1;
  color: #000;
  text-align: center;
  direction: rtl;
}
.red-silence strong { font-weight: 800; }

.red-main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
  width: 100%;
}
.red-underline {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 970px;
  pointer-events: none;
}
.red-underline img { width: 100%; }

.red-terror {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 64px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  direction: rtl;
}

.red-call {
  color: #fff;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  direction: rtl;
}

/* ══════════════════════════════════════════════════════════════
   JOIN SECTION
   ══════════════════════════════════════════════════════════════ */
.join-section {
  background: #f3d301;
  padding: 80px 20px;
}

.join-container {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.join-header {
  font-size: 56px;
  font-weight: 800;
  color: #000;
  text-align: center;
  line-height: 1.15;
  direction: rtl;
}

.join-subtitle {
  font-size: 26px;
  font-weight: 700;
  color: #000;
  text-align: center;
  direction: rtl;
  margin-top: -12px;
}

.join-desc {
  font-size: 20px;
  font-weight: 500;
  color: #000;
  text-align: center;
  direction: rtl;
  margin-top: -8px;
}

.form-error-msg {
  font-size: 18px;
  font-weight: 600;
  color: #d00100;
  text-align: center;
  direction: rtl;
}

.join-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

/* Text input row */
.form-row {
  display: flex;
  gap: 20px;
  align-items: stretch;
  width: 100%;
}

.form-field-text {
  flex: 1 0 0;
  min-width: 0;
  border-bottom: 3px solid #000;
  height: 60px;
  display: flex;
  align-items: center;
}

.form-field-text input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-family: 'Open Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #000;
  text-align: right;
  direction: rtl;
}
.form-field-text input::placeholder { color: rgba(0,0,0,0.55); opacity: 1; }

/* Giant demand submit button */
.submit-btn,
.submit-btn--demand {
  width: 100%;
  background: #d00100;
  border: none;
  border-radius: 8px;
  padding: 24px 20px;
  cursor: pointer;
  font-family: 'Open Sans', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  text-align: center;
  direction: rtl;
  transition: background 0.2s, transform 0.1s;
}
.submit-btn:hover,
.submit-btn--demand:hover { background: #b00100; }
.submit-btn:active,
.submit-btn--demand:active { transform: scale(0.98); }

/* Counter */
.join-counter {
  font-size: 20px;
  font-weight: 500;
  color: #000;
  text-align: center;
  direction: rtl;
}
.join-counter strong { font-weight: 800; }

/* Donation link */
.donation-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border: 3px solid #000;
  border-radius: 8px;
  text-decoration: none;
  color: #000;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  direction: rtl;
  transition: background 0.2s, color 0.2s;
}
.donation-btn:hover { background: #000; color: #f3d301; }

/* Opt-in checkbox */
.optin-label {
  display: flex;
  align-items: center;
  gap: 10px;
  direction: rtl;
  cursor: pointer;
  user-select: none;
}
.optin-label input[type="checkbox"] { display: none; }

.optin-box {
  width: 22px;
  height: 22px;
  border: 2px solid #000;
  border-radius: 4px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.optin-label input:checked + .optin-box { background: #000; }
.optin-label input:checked + .optin-box::after {
  content: '✓';
  color: #f3d301;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.optin-text {
  font-size: 16px;
  font-weight: 500;
  color: #000;
  direction: rtl;
}

/* Extra cards row */
.join-extras {
  display: flex;
  gap: 20px;
  width: 100%;
}

.join-extra-card {
  flex: 1 0 0;
  min-width: 0;
  border: 3px solid #000;
  border-radius: 12px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.extra-title {
  font-size: 22px;
  font-weight: 700;
  color: #000;
  direction: rtl;
}

.extra-btn {
  background: #000;
  border: none;
  border-radius: 6px;
  padding: 12px 20px;
  cursor: pointer;
  font-family: 'Open Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #f3d301;
  text-align: center;
  direction: rtl;
  transition: background 0.2s, transform 0.1s;
  white-space: nowrap;
}
.extra-btn:hover { background: #222; }
.extra-btn:active { transform: scale(0.97); }

/* Share section */
.share-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.share-label {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  direction: rtl;
}

.share-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.1s;
}
.share-btn:hover { opacity: 0.88; }
.share-btn:active { transform: scale(0.97); }

.share-btn--wa { background: #25d366; }
.share-btn--fb { background: #1877f2; }
.share-btn--tw { background: #000; }

/* Thank-you state */
.thankyou-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 20px 0;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET  ≤1100px
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .structure-col { padding: 10px 60px; }
  .structure-col:last-child { padding-left: 60px; padding-right: 60px; }

  .consequence-photos { width: 480px; min-height: 600px; }
  .framed-photo img { width: 300px; height: 200px; }
  .framed-photo--1 { left: 100px; top: 30px; }
  .framed-photo--2 { left: 20px; top: 250px; }

  .consequence-text { padding: 60px 80px 60px 20px; } /* top right(outer) bottom left(near photos) */

  .red-terror { font-size: 48px; }
  .red-underline { width: 700px; }

  .funds-digits { font-size: 96px; }
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE  ≤768px
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Hero */
  .hero-section { padding-top: 30px; }
  .hero-inner { padding: 50px 16px; gap: 28px; }
  .hero-subtitle { font-size: 20px; }
  .hero-cta { font-size: 20px; padding: 12px 20px; }

  /* Structure: stack columns */
  .structure-cols { flex-direction: column; }
  .structure-col,
  .structure-col:last-child { padding: 24px 24px 10px; width: 100%; }

  .structure-arrow { display: none; }

  .photos-cluster { height: 200px; }
  .photo-item img { width: 110px; height: 115px; }
  .photos-cluster--political .photo-item img { width: 124px; height: 130px; }
  .photos-cluster--operative .photo-item--back { top: 0; }
  .photos-cluster--operative .photo-item--left { margin-right: -36px; }
  .photos-cluster--political .photo-item--pol-left { margin-right: -50px; }

  .structure-text { font-size: 20px; }
  .section-label span { font-size: 22px; }

  .target-text { font-size: 20px; }

  /* Funds */
  .funds-above { font-size: 18px; }
  .funds-number { letter-spacing: 0; }
  .funds-digits { font-size: 80px; }
  .funds-shekel { font-size: 36px; letter-spacing: 0; padding-top: 6px; }
  .funds-desc { font-size: 20px; }
  .funds-inner { gap: 24px; padding: 32px 0 60px; }

  /* Consequence: stack — text first, photos below */
  .consequence-section { flex-direction: column; }
  .consequence-text { order: 1; }
  .consequence-photos {
    order: 2;
    width: 100%;
    min-height: 400px;
    padding: 16px;
    position: relative;
  }
  .framed-photo img { width: 240px; height: 160px; }
  .framed-photo--1 { left: 50%; top: 20px; transform: translateX(-20%) rotate(-5.75deg); }
  .framed-photo--2 { left: 16px; top: 180px; transform: rotate(5.69deg); }

  .consequence-text {
    padding: 32px 16px;
    gap: 20px;
  }
  .consequence-label { font-size: 20px; white-space: normal; }
  .consequence-body p { font-size: 20px; line-height: 1.5; }

  /* Red section */
  .red-silence { font-size: 28px; }
  .red-terror { font-size: 26px; white-space: normal; }
  .red-underline { width: 100%; left: 0; top: 50%; transform: translateY(-50%); }
  .red-main { flex-direction: column; }
  .red-call { font-size: 26px; }
  .red-inner { gap: 20px; padding: 32px 16px 60px; }

  /* Join section */
  .join-section { padding: 50px 16px; }
  .join-header { font-size: 34px; }
  .join-subtitle { font-size: 20px; }
  .join-desc { font-size: 17px; }
  .join-form { gap: 24px; }

  .form-row { flex-direction: column; gap: 0; }
  .form-field-text { height: auto; min-height: 56px; padding: 10px 0; }
  .form-field-text input { font-size: 18px; }

  .submit-btn,
  .submit-btn--demand { font-size: 22px; padding: 20px 16px; }

  .join-extras { flex-direction: column; gap: 16px; }
  .extra-title { font-size: 18px; }
  .extra-btn { font-size: 16px; white-space: normal; }

  .donation-btn { font-size: 17px; padding: 12px 20px; text-align: center; }

  .share-btn { font-size: 15px; padding: 10px 16px; }
}

/* ══════════════════════════════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════════════════════════════ */

/* ── Stamp (hero title on load) ──────────────────────────────── */
@keyframes stamp {
  0%   { opacity: 0; transform: scale(1.18) rotate(-1deg); }
  60%  { opacity: 1; transform: scale(0.97) rotate(0deg); }
  100% { opacity: 1; transform: scale(1); }
}
.hero-title-img {
  animation: stamp 0.55s ease-out both;
  animation-delay: 0.1s;
}

/* ── Polaroid drop + settle (photo items & framed photos) ──── */
@keyframes polaroid-back {
  0%   { opacity: 0; transform: translateX(-50%) rotate(-5.51deg) translateY(-22px) scale(0.88); }
  70%  { opacity: 1; transform: translateX(-50%) rotate(-5.51deg) translateY(3px)   scale(1.02); }
  100% { opacity: 1; transform: translateX(-50%) rotate(-5.51deg) translateY(0)     scale(1); }
}
@keyframes polaroid-neg14 {
  0%   { opacity: 0; transform: rotate(-13.8deg) translateY(-22px) scale(0.88); }
  70%  { opacity: 1; transform: rotate(-13.8deg) translateY(3px)   scale(1.02); }
  100% { opacity: 1; transform: rotate(-13.8deg) translateY(0)     scale(1); }
}
@keyframes polaroid-pos13 {
  0%   { opacity: 0; transform: rotate(13.36deg) translateY(-22px) scale(0.88); }
  70%  { opacity: 1; transform: rotate(13.36deg) translateY(3px)   scale(1.02); }
  100% { opacity: 1; transform: rotate(13.36deg) translateY(0)     scale(1); }
}
@keyframes polaroid-frame1 {
  0%   { opacity: 0; transform: rotate(-5.75deg) translateY(-22px) scale(0.88); }
  70%  { opacity: 1; transform: rotate(-5.75deg) translateY(3px)   scale(1.02); }
  100% { opacity: 1; transform: rotate(-5.75deg) translateY(0)     scale(1); }
}
@keyframes polaroid-frame2 {
  0%   { opacity: 0; transform: rotate(5.69deg) translateY(-22px) scale(0.88); }
  70%  { opacity: 1; transform: rotate(5.69deg) translateY(3px)    scale(1.02); }
  100% { opacity: 1; transform: rotate(5.69deg) translateY(0)      scale(1); }
}

/* Hidden until JS fires snap-in */
.photo-item--back,
.photo-item--left,
.photo-item--right,
.photo-item--pol-left,
.photo-item--pol-right,
.framed-photo--1,
.framed-photo--2 { opacity: 0; }

.photo-item--back.snap-in     { animation: polaroid-back   0.55s ease-out both; }
.photo-item--left.snap-in     { animation: polaroid-neg14  0.55s ease-out both; }
.photo-item--right.snap-in    { animation: polaroid-pos13  0.55s ease-out both; }
.photo-item--pol-left.snap-in { animation: polaroid-neg14  0.55s ease-out both; }
.photo-item--pol-right.snap-in{ animation: polaroid-pos13  0.55s ease-out both; }
.framed-photo--1.snap-in      { animation: polaroid-frame1 0.55s ease-out both; }
.framed-photo--2.snap-in      { animation: polaroid-frame2 0.55s ease-out both; }

@media (max-width: 480px) {
  .hero-subtitle { font-size: 17px; }
  .funds-digits { font-size: 60px; }
  .funds-shekel { font-size: 28px; }
  .red-silence { font-size: 22px; }
  .red-terror { font-size: 21px; }
  .red-call { font-size: 21px; }
  .join-header { font-size: 26px; }
  .submit-btn, .submit-btn--demand { font-size: 19px; }
  .form-field-text input { font-size: 16px; }
}
