/* =============================================
   EIVI LANDING PAGE - SHARED STYLESHEET
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@300;400;500;600;700&family=Assistant:wght@300;400;500;600;700&display=swap');

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

:root {
  --cream: #f5f5f0;
  --gold: #d4af37;
  --gold-light: rgba(212,175,55,0.15);
  --sage: #8fa088;
  --sage-light: #b8c9b3;
  --bg-white: #ffffff;
  --bg-cream: #fdfcf8;
  --bg-light: #f9f9f7;
  --text-dark: #333333;
  --text-mid: #666666;
  --text-light: #999999;
  --border: #e8e8e6;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,.08);
  --shadow-lg: 0 10px 25px rgba(0,0,0,.1);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: 250ms ease-in-out;
  --max-width: 1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Assistant', -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-white);
  direction: rtl;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Heebo', sans-serif;
  line-height: 1.25;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

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

/* ---- Buttons ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--gold) 0%, #c9a227 100%);
  color: #fff;
  font-family: 'Heebo', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(212,175,55,.4); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--text-dark);
  font-family: 'Heebo', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
  text-decoration: none;
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }

.btn-large { font-size: 1.1rem; padding: 1rem 2.5rem; }

/* ---- Header ---- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1.5rem;
}

.logo-link { display: flex; flex-direction: column; align-items: flex-start; }
.logo-text { font-family: 'Heebo', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--gold); line-height: 1; }
.logo-tagline { font-size: 0.7rem; color: var(--text-mid); font-weight: 400; }

.nav-list { display: flex; gap: 0.25rem; align-items: center; }
.nav-link {
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--gold); background: var(--gold-light); }

.header-cta .btn-primary { padding: 0.55rem 1.4rem; font-size: 0.9rem; }

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  padding: 1rem 1.5rem;
  gap: 0.5rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav .nav-link { display: block; padding: 0.6rem 0.5rem; }
.mobile-nav .btn-primary { width: 100%; justify-content: center; margin-top: 0.5rem; }

@media (max-width: 768px) {
  .desktop-nav, .header-cta { display: none; }
  .mobile-toggle { display: flex; }
}

/* ---- Footer ---- */
.footer {
  background: var(--text-dark);
  color: #ccc;
  padding: 3.5rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-logo { font-family: 'Heebo', sans-serif; font-size: 1.6rem; font-weight: 700; color: var(--gold); margin-bottom: 0.5rem; }
.footer-tagline { font-size: 0.875rem; line-height: 1.6; opacity: 0.8; }
.footer-heading { font-family: 'Heebo', sans-serif; font-size: 1rem; font-weight: 600; color: #fff; margin-bottom: 1rem; }
.footer-links li, .footer-contact li { margin-bottom: 0.5rem; }
.footer-link { color: #ccc; font-size: 0.875rem; transition: color var(--transition); }
.footer-link:hover { color: var(--gold); }
.contact-icon { margin-left: 0.4rem; }
.social-links { display: flex; gap: 0.75rem; }
.social-link {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  font-size: 1.1rem;
  transition: background var(--transition);
}
.social-link:hover { background: var(--gold-light); }

.footer-legal {
  padding: 1.5rem 0;
  text-align: center;
}
.legal-text { font-size: 0.8rem; color: #999; margin-bottom: 0.6rem; }
.legal-links { display: flex; justify-content: center; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.legal-link { font-size: 0.8rem; color: #aaa; transition: color var(--transition); }
.legal-link:hover { color: var(--gold); }
.legal-sep { color: #555; }

/* ---- Section Commons ---- */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-cream); }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; color: var(--text-dark); margin-bottom: 1rem; }
.section-subtitle { font-size: 1.1rem; color: var(--text-mid); max-width: 600px; margin: 0 auto; }

.page-hero {
  background: linear-gradient(135deg, var(--gold-light) 0%, rgba(143,160,136,.08) 100%);
  padding: 4rem 0 3.5rem;
  text-align: center;
}
.page-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; margin-bottom: 0.75rem; }
.page-subtitle { font-size: 1.15rem; color: var(--text-mid); }

/* ---- Home: Hero ---- */
.hero-section {
  background: linear-gradient(135deg, var(--gold-light) 0%, rgba(143,160,136,.08) 100%);
  padding: 5rem 0;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212,175,55,.15);
  border: 1px solid rgba(212,175,55,.3);
  border-radius: var(--radius-lg);
  padding: 0.4rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #7a6010;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  color: var(--text-dark);
}
.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-mid);
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

.social-proof { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.proof-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; }
.proof-icon { font-size: 1.2rem; }
.proof-text strong { font-weight: 700; color: var(--text-dark); }

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-decoration {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(212,175,55,.2) 0%, rgba(143,160,136,.15) 70%, transparent 100%);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 4rem;
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---- Home: Pain ---- */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.pain-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.pain-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.pain-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.pain-text { color: var(--text-mid); font-size: 0.95rem; line-height: 1.5; }
.pain-conclusion {
  text-align: center;
  background: var(--gold-light);
  border: 1px solid rgba(212,175,55,.3);
  border-radius: var(--radius-md);
  padding: 1.25rem 2rem;
  font-size: 1.1rem;
  color: var(--text-dark);
}

/* ---- Home: Features ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.feature-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.feature-icon { font-size: 3rem; margin-bottom: 1rem; }
.feature-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.75rem; }
.feature-desc { color: var(--text-mid); line-height: 1.6; }

/* ---- Home: System Features ---- */
.system-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.system-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.system-card-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.system-icon { font-size: 2rem; }
.system-card-title { font-size: 1rem; font-weight: 700; margin-bottom: 0.2rem; }
.system-card-sub { font-size: 0.8rem; color: var(--text-mid); }
.system-features-list { display: flex; flex-direction: column; gap: 0.5rem; }
.system-feature-item { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; color: var(--text-mid); }
.feature-check { color: var(--sage); font-weight: 700; flex-shrink: 0; }

/* ---- Home: Steps ---- */
.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}
.step-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.step-number {
  width: 44px; height: 44px;
  background: var(--gold);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Heebo', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}
.step-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.step-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.75rem; }
.step-desc { font-size: 0.9rem; color: var(--text-mid); line-height: 1.6; }
.how-cta { text-align: center; }

/* ---- Home: Testimonials ---- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}
.testimonial-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.testimonial-stars { font-size: 1.1rem; margin-bottom: 0.75rem; }
.testimonial-text { font-size: 0.95rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.author-avatar { font-size: 1.75rem; }
.author-name { font-weight: 700; font-size: 0.95rem; }
.author-location { font-size: 0.8rem; color: var(--text-light); }

/* ---- CTA Box ---- */
.cta-box {
  background: linear-gradient(135deg, var(--gold-light) 0%, rgba(143,160,136,.1) 100%);
  border: 1px solid rgba(212,175,55,.25);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
}
.cta-box .cta-title { font-size: 1.8rem; font-weight: 700; margin-bottom: 1rem; }
.cta-box .cta-text { font-size: 1.05rem; color: var(--text-mid); margin-bottom: 2rem; }
.cta-note { font-size: 0.85rem; color: var(--text-mid); margin-top: 1rem; }

/* ---- About Page ---- */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
@media (max-width: 768px) { .story-grid { grid-template-columns: 1fr; } }
.story-text p { color: var(--text-mid); line-height: 1.8; margin-bottom: 1.25rem; }
.story-image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  height: 280px;
  background: radial-gradient(circle, var(--gold-light) 0%, rgba(143,160,136,.1) 100%);
  border-radius: var(--radius-lg);
  font-size: 3.5rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}
.value-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.value-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.value-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.value-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.value-desc { font-size: 0.9rem; color: var(--text-mid); line-height: 1.6; }

.mission-box {
  background: linear-gradient(135deg, var(--gold-light), rgba(143,160,136,.1));
  border: 1px solid rgba(212,175,55,.25);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  max-width: 800px;
  margin: 0 auto;
}
.mission-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 1.25rem; text-align: center; }
.mission-text { color: var(--text-mid); line-height: 1.8; margin-bottom: 1rem; }

.timeline { max-width: 600px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.5rem; }
.timeline-item { display: flex; gap: 1.5rem; align-items: flex-start; }
.timeline-year {
  flex-shrink: 0;
  width: 60px;
  background: var(--gold);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.4rem 0.5rem;
  border-radius: var(--radius-sm);
  text-align: center;
}
.timeline-event { color: var(--text-mid); padding-top: 0.35rem; font-size: 0.95rem; }

.legal-box {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  max-width: 700px;
  margin: 0 auto;
}
.legal-item { padding: 0.6rem 0; border-bottom: 1px solid var(--border); font-size: 0.95rem; color: var(--text-mid); }
.legal-item:last-child { border-bottom: none; }
.legal-item strong { color: var(--text-dark); }

/* ---- Contact Page ---- */
.methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 0;
}
.method-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  color: var(--text-dark);
}
.method-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--gold); }
.method-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.method-title { font-weight: 700; margin-bottom: 0.4rem; }
.method-value { font-size: 0.875rem; color: var(--text-mid); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }

.form-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.4rem; }
.form-subtitle { color: var(--text-mid); font-size: 0.95rem; margin-bottom: 2rem; }

.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem; color: var(--text-dark); }
.required { color: #e53e3e; margin-right: 2px; }
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Assistant', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--bg-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  direction: rtl;
}
.form-input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,175,55,.2); }
textarea.form-input { resize: vertical; min-height: 130px; }
select.form-input { cursor: pointer; }
.form-input::placeholder { color: var(--text-light); }

.alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}
.alert-success { background: #f0fdf4; border: 1px solid #86efac; color: #166534; }
.alert-error { background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; }
.alert-icon { font-size: 1.2rem; flex-shrink: 0; }
.alert-content strong { display: block; margin-bottom: 0.2rem; }

.info-sidebar { display: flex; flex-direction: column; gap: 1rem; }
.info-box {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}
.info-box-title { font-size: 1rem; font-weight: 700; margin-bottom: 0.6rem; }
.info-box-text { font-size: 0.875rem; color: var(--text-mid); line-height: 1.7; }

/* ---- Legal Pages ---- */
.legal-content { padding: 4rem 0 5rem; }
.content-wrapper { max-width: 800px; margin: 0 auto; }
.legal-section-block { margin-bottom: 2.5rem; }
.section-heading { font-size: 1.3rem; font-weight: 700; margin-bottom: 1rem; color: var(--text-dark); padding-bottom: 0.4rem; border-bottom: 2px solid var(--gold-light); }
.subsection-heading { font-size: 1rem; font-weight: 600; margin: 1rem 0 0.5rem; color: var(--text-dark); }
.section-text { color: var(--text-mid); line-height: 1.8; margin-bottom: 0.85rem; font-size: 0.95rem; }
.section-list { padding-right: 1.5rem; list-style: disc; }
.section-list li { color: var(--text-mid); line-height: 1.8; font-size: 0.95rem; margin-bottom: 0.3rem; }
.section-list li strong { color: var(--text-dark); }
.email-link { color: var(--gold); font-weight: 600; }
.email-link:hover { text-decoration: underline; }
.contact-box-legal {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 2;
}
.contact-box-legal strong { color: var(--text-dark); }

/* ---- Utilities ---- */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-3 { margin-bottom: 3rem; }
