/* ========================================
   ההורים שלי – Landing Page Styles
   ======================================== */

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

:root {
  --color-navy: #0f1923;
  --color-navy-light: #1a2a3a;
  --color-gold: #c9a84c;
  --color-gold-hover: #b8953e;
  --color-gold-light: rgba(201, 168, 76, 0.12);
  --color-text: #1e2a3a;
  --color-text-muted: #5a6577;
  --color-bg: #ffffff;
  --color-bg-light: #f7f8fa;
  --color-border: #e2e5ea;
  --font-family: 'Heebo', sans-serif;
  --container-max: 1120px;
  --section-padding: 80px 0;
  --radius: 12px;
  --radius-sm: 8px;
}

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

body {
  font-family: var(--font-family);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  line-height: 1.3;
}

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

ul {
  list-style: none;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  padding: 14px 36px;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background: var(--color-gold);
  color: var(--color-navy);
  border-color: var(--color-gold);
}

.btn-primary:hover {
  background: var(--color-gold-hover);
  border-color: var(--color-gold-hover);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--color-gold);
  border-color: var(--color-gold);
}

.btn-outline:hover {
  background: var(--color-gold);
  color: var(--color-navy);
}

.btn-large {
  font-size: 1.125rem;
  padding: 16px 48px;
}

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  background: rgba(15, 25, 35, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.logo-img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-logo {
  height: 48px;
  width: auto;
  margin: 0 auto 12px;
  filter: brightness(0) invert(1);
}

.header-cta {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-gold);
  border: 1.5px solid var(--color-gold);
  border-radius: var(--radius-sm);
  padding: 8px 20px;
  transition: all 0.25s ease;
}

.header-cta:hover {
  background: var(--color-gold);
  color: var(--color-navy);
}

/* --- Hero --- */
.hero {
  background: var(--color-navy);
  color: #fff;
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 300;
  color: var(--color-gold);
  margin-bottom: 32px;
}

.hero-desc {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

/* --- Sections --- */
.section {
  padding: var(--section-padding);
}

.section h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 32px;
  text-align: center;
  letter-spacing: -0.01em;
}

.section-light {
  background: var(--color-bg-light);
}

.section-white {
  background: var(--color-bg);
}

.section-dark {
  background: var(--color-navy);
  color: #fff;
}

.section-dark h2 {
  color: #fff;
}

.section-dark p {
  color: rgba(255, 255, 255, 0.85);
}

/* --- Check list --- */
.check-list {
  max-width: 640px;
  margin: 16px auto 0;
  display: inline-block;
  text-align: right;
}

.check-list li {
  position: relative;
  padding-right: 32px;
  margin-bottom: 14px;
  font-size: 1.0625rem;
  color: var(--color-text);
}

.check-list li::before {
  content: '';
  position: absolute;
  right: 0;
  top: 8px;
  width: 18px;
  height: 18px;
  background: var(--color-gold);
  border-radius: 50%;
  opacity: 0.2;
}

.check-list li::after {
  content: '✓';
  position: absolute;
  right: 3px;
  top: 2px;
  font-size: 0.8rem;
  color: var(--color-gold);
  font-weight: 700;
}

.check-list-light li {
  color: rgba(255, 255, 255, 0.9);
}

.check-list-light li::before {
  background: rgba(201, 168, 76, 0.25);
}

.check-list-light li::after {
  color: var(--color-gold);
}

/* Content blocks in problem/solution – centered within a centered container */
.section-content {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.0625rem;
  text-align: center;
}

.section-content p {
  margin-bottom: 8px;
}

/* --- Solution layout --- */
.solution-layout {
  display: flex;
  align-items: center;
  gap: 48px;
}

.solution-slider-wrap {
  flex: 0 0 50%;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.solution-slider {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
}

.solution-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

.solution-layout .section-content {
  text-align: right;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  z-index: 2;
  transition: background 0.2s;
}

.slider-btn:hover {
  background: #fff;
}

.slider-btn-right {
  right: 12px;
}

.slider-btn-left {
  left: 12px;
}

.slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}

.slider-dot.active {
  background: #fff;
}

@media (max-width: 900px) {
  .solution-layout {
    flex-direction: column;
    gap: 32px;
  }

  .solution-slider-wrap {
    flex: none;
    width: 100%;
  }
}

/* --- Steps --- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.step {
  text-align: center;
  padding: 32px 24px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.step-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--color-gold);
  color: var(--color-navy);
  font-size: 1.25rem;
  font-weight: 800;
  border-radius: 50%;
  margin-bottom: 20px;
}

.step h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.step p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* --- Packages --- */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.package-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3; /* header, body, footer */
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.package-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.package-featured {
  border: 2px solid var(--color-gold);
  transform: scale(1.03);
  box-shadow: 0 8px 40px rgba(201, 168, 76, 0.15);
}

.package-featured:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: 0 16px 48px rgba(201, 168, 76, 0.2);
}

.package-badge {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  background: var(--color-gold);
  color: var(--color-navy);
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 8px;
  letter-spacing: 0.02em;
}

.package-header {
  padding: 32px 24px 20px;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}

.package-featured .package-header {
  padding-top: 52px;
}

.package-header h3 {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.package-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 4px;
}

.package-subtitle {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-top: 4px;
}

.package-body {
  padding: 24px;
}

.package-body h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text-muted);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.package-body ul {
  margin-bottom: 8px;
}

.package-body li {
  position: relative;
  padding-right: 20px;
  margin-bottom: 10px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text);
}

.package-body li::before {
  content: '–';
  position: absolute;
  right: 0;
  top: 0;
  color: var(--color-gold);
  font-weight: 700;
}

.package-distribution {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.package-distribution h4 {
  color: var(--color-gold);
}

.package-featured .package-distribution li {
  font-weight: 500;
}

/* --- Collaboration badge in Package 3 --- */
.package-collab {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
}

.collab-logo {
  height: 36px;
  width: auto;
}

.package-collab span {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.package-footer {
  padding: 20px 24px 28px;
  text-align: center;
}

.package-footer .btn {
  width: 100%;
}

/* --- Trust --- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 48px;
}

.trust-item {
  text-align: center;
}

.trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  color: var(--color-gold);
}

.trust-icon svg {
  width: 32px;
  height: 32px;
}

.trust-item h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.trust-item p {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

/* --- CTA / Contact --- */
.section-cta {
  background: var(--color-bg-light);
  padding: 80px 0 100px;
}

.section-cta h2 {
  margin-bottom: 12px;
}

.cta-subtitle {
  text-align: center;
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  margin-bottom: 48px;
}

.lead-form {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--color-border);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--color-text);
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  font-family: var(--font-family);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg-light);
  color: var(--color-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  direction: rtl;
}

.form-group input:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px var(--color-gold-light);
}

.lead-form .btn {
  width: 100%;
  border: none;
  font-size: 1.125rem;
  cursor: pointer;
}

/* --- Footer --- */
.site-footer {
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.5);
  padding: 24px 0;
  text-align: center;
  font-size: 0.8125rem;
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 900px) {
  .steps,
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .packages-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .package-card {
    grid-row: span 3;
  }

  .package-featured {
    transform: none;
  }

  .package-featured:hover {
    transform: translateY(-4px);
  }

  .hero {
    padding: 130px 0 70px;
  }

  .section {
    padding: 60px 0;
  }

  .section-cta {
    padding: 60px 0 80px;
  }
}

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

  .lead-form {
    padding: 28px 20px;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero-desc {
    font-size: 1rem;
  }

  .btn-large {
    font-size: 1rem;
    padding: 14px 32px;
  }

  .header-inner {
    height: 56px;
  }

  .logo {
    font-size: 1.1rem;
  }
}

/* --- Animations --- */
@media (prefers-reduced-motion: no-preference) {
  .step,
  .package-card,
  .trust-item {
    opacity: 0;
    transform: translateY(24px);
    animation: fadeUp 0.6s ease forwards;
  }

  .step:nth-child(1) { animation-delay: 0.1s; }
  .step:nth-child(2) { animation-delay: 0.2s; }
  .step:nth-child(3) { animation-delay: 0.3s; }

  .package-card:nth-child(1) { animation-delay: 0.1s; }
  .package-card:nth-child(2) { animation-delay: 0.2s; }
  .package-card:nth-child(3) { animation-delay: 0.3s; }

  .trust-item:nth-child(1) { animation-delay: 0.1s; }
  .trust-item:nth-child(2) { animation-delay: 0.2s; }
  .trust-item:nth-child(3) { animation-delay: 0.3s; }

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