/* =====================================================
   אנגלית בקלות — SOS Landing Page
   RTL Hebrew · Mobile-first
   ===================================================== */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Heebo', 'Arial Hebrew', Arial, sans-serif;
  direction: rtl;
  color: #1a2940;
  background-color: #f8fbff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ---------- CSS VARIABLES ---------- */
:root {
  --sky-50:  #f0f8ff;
  --sky-100: #dff0fd;
  --sky-200: #b8dcf8;
  --sky-400: #4da6d6;
  --sky-500: #2e90c4;
  --sky-600: #1a78ab;

  --white:   #ffffff;
  --gray-50: #f8fbff;
  --gray-100: #eef4fb;
  --gray-200: #d4e4f0;
  --gray-600: #5a7a96;
  --gray-700: #3d5a73;
  --gray-900: #1a2940;

  --accent:       #2e90c4;
  --accent-hover: #1a78ab;
  --accent-light: #e3f3fc;

  --gold:    #f6b73c;
  --gold-bg: #fffbf0;

  --success: #22c55e;
  --error:   #ef4444;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --shadow-sm:  0 1px 4px rgba(46,144,196,.08);
  --shadow-md:  0 4px 20px rgba(46,144,196,.12);
  --shadow-lg:  0 12px 48px rgba(46,144,196,.18);
  --shadow-xl:  0 24px 64px rgba(46,144,196,.22);

  --transition: 240ms ease;
  --transition-slow: 480ms ease;

  --container: 820px;
  --container-wide: 1100px;
}

/* ---------- UTILITIES ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.nowrap { white-space: nowrap; }

.section {
  padding-block: 4rem;
}

.section-tag {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding: .28rem .85rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.section__title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
  line-height: 1.35;
}

/* ---------- SCROLL ANIMATIONS ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUp .7s var(--transition-slow) forwards;
}

.delay-1 { animation-delay: .15s; }
.delay-2 { animation-delay: .3s; }
.delay-3 { animation-delay: .45s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}

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

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .8rem 2.2rem;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 700;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  border: none;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: linear-gradient(135deg, var(--sky-500), var(--sky-600));
  color: var(--white);
  box-shadow: 0 4px 18px rgba(46,144,196,.35);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: linear-gradient(135deg, var(--sky-600), #165e88);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(46,144,196,.45);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--lg {
  font-size: 1.1rem;
  padding: 1rem 2.6rem;
}

.btn--full {
  width: 100%;
  font-size: 1.05rem;
  padding: 1rem;
}

/* ripple */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.15);
  opacity: 0;
  transition: opacity .3s;
}

.btn:active::after { opacity: 1; }

/* loader inside button */
.btn__loader {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

.btn.loading .btn__text { opacity: 0; }
.btn.loading .btn__loader { display: block; }

@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- HERO ---------- */
.hero {
  background: linear-gradient(160deg, #dff0fd 0%, #b8dcf8 50%, #90c9f5 100%);
  padding-block: 3.5rem 1rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 20%, rgba(255,255,255,.35) 0%, transparent 60%),
    radial-gradient(ellipse at 85% 80%, rgba(46,144,196,.15) 0%, transparent 50%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 100px;
  padding: .35rem 1.1rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--sky-600);
  margin-bottom: 1.8rem;
}

.brand-badge__sep { opacity: .4; }
.brand-badge__founder { font-weight: 400; }

.hero__headline {
  font-size: clamp(1.55rem, 5vw, 2.4rem);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.3;
  margin-bottom: 1rem;
}

.hero__sub {
  font-size: 1.1rem;
  color: var(--sky-600);
  font-weight: 500;
  margin-bottom: 2rem;
}

.hero__cta {
  display: inline-block;
  background: rgba(255,255,255,.7);
  color: var(--sky-600);
  font-weight: 700;
  font-size: .95rem;
  border: 2px solid rgba(46,144,196,.25);
  border-radius: 100px;
  padding: .55rem 1.6rem;
  transition: all var(--transition);
}

.hero__cta:hover {
  background: var(--white);
  border-color: var(--sky-400);
  transform: translateY(-1px);
}

.hero__wave {
  display: block;
  margin-top: 2.5rem;
  line-height: 0;
}

.hero__wave svg {
  width: 100%;
  height: 60px;
  display: block;
}

/* ---------- VIDEO ---------- */
.section--video {
  background: var(--white);
  padding-top: 3rem;
  padding-bottom: 3.5rem;
}

.section--sales-video {
  background: var(--gray-50);
  padding-block: 3.5rem;
}

.video-wrapper {
  background: var(--gray-900);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.video-embed-container {
  position: relative;
  padding-top: 56.25%; /* 16:9 */
  width: 100%;
  background: #0d1b2a;
}

.video-embed-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-meta {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .75rem 1.25rem;
  font-size: .88rem;
  color: #8baabf;
  border-top: 1px solid rgba(255,255,255,.06);
}

.video-meta__icon {
  display: flex;
  color: var(--sky-400);
}

/* ---------- TRANSITION ---------- */
.section--transition {
  background: linear-gradient(160deg, #edf7ff 0%, #f5fafe 100%);
  padding-block: 3.5rem;
}

.transition-card {
  background: var(--white);
  border: 1px solid var(--sky-200);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  max-width: 680px;
  margin-inline: auto;
}

.transition-card__icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.transition-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1.1rem;
}

.transition-card__body {
  font-size: 1.02rem;
  color: var(--gray-700);
  margin-bottom: .85rem;
  line-height: 1.8;
}

.transition-card__body:last-child { margin-bottom: 0; }

/* ---------- OFFER ---------- */
.section--offer {
  background: var(--white);
  padding-block: 3.5rem;
}

.offer-intro {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 680px;
  margin-inline: auto;
}

.offer-intro__lead {
  font-size: 1rem;
  font-weight: 600;
  color: var(--sky-500);
  margin-bottom: .6rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.offer-intro__title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.3;
  margin-bottom: 1.1rem;
}

.offer-intro__body {
  font-size: 1.02rem;
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: .75rem;
}

/* WHY */
.offer-why {
  margin-bottom: 3.5rem;
}

.offer-why__title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
  text-align: center;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 600px) {
  .benefits-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.benefit-card {
  background: var(--sky-50);
  border: 1px solid var(--sky-100);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.4rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--sky-200);
}

.benefit-card__icon {
  font-size: 1.6rem;
  margin-bottom: .6rem;
  line-height: 1;
}

.benefit-card__title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: .4rem;
}

.benefit-card__body {
  font-size: .9rem;
  color: var(--gray-700);
  line-height: 1.6;
}

/* HOW */
.offer-how {
  margin-bottom: 3rem;
}

.offer-how__title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
  text-align: center;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 620px;
  margin-inline: auto;
}

.steps-list__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.3rem;
}

.steps-list__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  min-width: 2rem;
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  font-size: .9rem;
  border-radius: 50%;
}

.steps-list__text {
  font-size: .98rem;
  color: var(--gray-700);
  padding-top: .2rem;
  line-height: 1.6;
}

/* PRICING */
.pricing-block {
  max-width: 520px;
  margin-inline: auto;
}

.pricing-block__inner {
  background: linear-gradient(145deg, #fff9ed, #fffbf3);
  border: 2px solid var(--gold);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 8px 32px rgba(246,183,60,.18);
}

.pricing-block__label {
  font-size: 1.05rem;
  color: var(--gray-700);
  font-weight: 500;
  margin-bottom: .5rem;
}

.pricing-block__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: .4rem;
  margin-bottom: .5rem;
}

.pricing-block__amount {
  font-size: clamp(2.4rem, 8vw, 3.4rem);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1;
}

.pricing-block__suffix {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--sky-500);
}

.pricing-block__note {
  font-size: .95rem;
  color: var(--gray-700);
  margin-bottom: .5rem;
  line-height: 1.7;
}

.pricing-block__spam-note {
  font-size: .85rem;
  color: var(--gray-600);
  margin-bottom: 1.8rem;
  line-height: 1.6;
}

/* ---------- FAQ ---------- */
.section--faq {
  background: var(--gray-50);
  padding-block: 3.5rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  max-width: 680px;
  margin-inline: auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-item:has(.faq-item__question[aria-expanded="true"]) {
  border-color: var(--sky-200);
  box-shadow: var(--shadow-sm);
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  text-align: right;
  font-size: .98rem;
  font-weight: 600;
  color: var(--gray-900);
  cursor: pointer;
  transition: background var(--transition);
}

.faq-item__question:hover { background: var(--sky-50); }

.faq-item__icon {
  font-size: 1rem;
  color: var(--sky-400);
  transition: transform var(--transition);
  min-width: 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-item__icon::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1;
}

.faq-item__question[aria-expanded="true"] .faq-item__icon::after {
  content: '−';
}

.faq-item__question[aria-expanded="true"] .faq-item__icon {
  transform: rotate(0deg);
}

.faq-item__answer {
  padding: 0 1.3rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}

.faq-item__answer.open {
  padding: .1rem 1.3rem 1.1rem;
  max-height: 300px;
}

.faq-item__answer p {
  font-size: .95rem;
  color: var(--gray-700);
  line-height: 1.75;
  border-top: 1px solid var(--gray-100);
  padding-top: .85rem;
}

/* ---------- LEAD FORM ---------- */
.section--form {
  background: linear-gradient(160deg, #dff0fd 0%, #f0f8ff 100%);
  padding-block: 4rem;
}

.form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  max-width: 560px;
  margin-inline: auto;
  box-shadow: var(--shadow-xl);
  text-align: center;
}

.form-card .section__title {
  margin-bottom: .5rem;
}

.form-card__sub {
  font-size: .95rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
}

.sos-form {
  text-align: right;
}

.form-field {
  margin-bottom: 1.2rem;
}

.form-field__label {
  display: block;
  font-size: .9rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: .4rem;
}

.required {
  color: var(--error);
}

.form-field__input {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  color: var(--gray-900);
  background: var(--gray-50);
  direction: rtl;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  outline: none;
  -webkit-appearance: none;
}

.form-field__input[dir="ltr"] {
  direction: ltr;
  text-align: left;
}

.form-field__input::placeholder {
  color: #a0b8cc;
  direction: rtl;
}

.form-field__input[dir="ltr"]::placeholder {
  direction: ltr;
}

.form-field__input:focus {
  border-color: var(--sky-400);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(77,166,214,.15);
}

.form-field__input.error {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(239,68,68,.1);
}

.form-field__input.valid {
  border-color: var(--success);
}

.form-field__error {
  display: block;
  font-size: .8rem;
  color: var(--error);
  margin-top: .3rem;
  min-height: 1.1rem;
  transition: opacity var(--transition);
}

/* CHECKBOX */
.form-field--checkbox {
  margin-bottom: 1rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: .7rem;
  cursor: pointer;
  user-select: none;
  font-size: .9rem;
  color: var(--gray-700);
}

.checkbox-label__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkbox-label__box {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  border: 1.5px solid var(--gray-200);
  border-radius: 5px;
  background: var(--gray-50);
  transition: all var(--transition);
}

.checkbox-label__input:checked + .checkbox-label__box {
  background: var(--accent);
  border-color: var(--accent);
}

.checkbox-label__input:checked + .checkbox-label__box::after {
  content: '';
  display: block;
  width: 5px;
  height: 9px;
  border: 2px solid #fff;
  border-top: none;
  border-right: none;
  transform: rotate(-45deg) translateY(-1px);
}

.checkbox-label__input:focus-visible + .checkbox-label__box {
  box-shadow: 0 0 0 3px rgba(46,144,196,.3);
}

.inline-link {
  color: var(--sky-500);
  font-size: inherit;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.form-privacy-note {
  font-size: .82rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 1.4rem;
  text-align: center;
}

/* FORM SUCCESS */
.form-success {
  text-align: center;
  padding: 1.5rem 0 .5rem;
}

.form-success__icon {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  animation: popIn .45s cubic-bezier(.34,1.56,.64,1) forwards;
}

@keyframes popIn {
  from { transform: scale(.5); opacity: 0; }
  to   { transform: scale(1);  opacity: 1; }
}

.form-success__title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: .5rem;
}

.form-success__body {
  font-size: .95rem;
  color: var(--gray-600);
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--gray-900);
  color: rgba(255,255,255,.7);
  padding-block: 2rem;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer__brand {
  font-size: .95rem;
  font-weight: 600;
  color: var(--white);
}

.footer__copy {
  font-size: .82rem;
}

.footer__whatsapp {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 100px;
  padding: .45rem 1.1rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--white);
  transition: all var(--transition);
}

.footer__whatsapp:hover {
  background: #25D366;
  border-color: #25D366;
  transform: translateY(-1px);
}

.footer__wa-icon {
  flex-shrink: 0;
}

/* ---------- FOCUS VISIBLE ---------- */
:focus-visible {
  outline: 2.5px solid var(--sky-400);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 599px) {
  .section { padding-block: 2.8rem; }

  .hero { padding-block: 2.5rem .5rem; }
  .hero__headline { font-size: 1.5rem; }

  .transition-card { padding: 1.8rem 1.4rem; }
  .transition-card__title { font-size: 1.25rem; }

  .offer-intro__title { font-size: 1.4rem; }

  .pricing-block__inner { padding: 2rem 1.4rem; }
  .pricing-block__amount { font-size: 2.6rem; }

  .form-card { padding: 2rem 1.25rem; border-radius: var(--radius-lg); }

  .footer__inner { flex-direction: column; text-align: center; }
  .footer__whatsapp { margin-top: .25rem; }

  .faq-item__question { padding: .9rem 1rem; font-size: .92rem; }
  .faq-item__answer.open { padding: 0 1rem .9rem; }
}

@media (min-width: 600px) {
  .form-card { padding: 3rem 3rem; }
}

@media (min-width: 768px) {
  .section { padding-block: 5rem; }
  .section--video { padding-top: 3.5rem; }
  .hero { padding-block: 4.5rem 1rem; }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .fade-in { opacity: 1; transform: none; }
}
