:root {
  --cream: #f5efe6;
  --cream-deep: #eee1d0;
  --cream-soft: #faf6ef;
  --gold: #c9a961;
  --gold-deep: #b08f47;
  --charcoal: #1a1a1a;
  --charcoal-soft: #2c2824;
  --gray: #756b61;
  --rose: #e8c5c0;
  --white: #fffaf2;

  --line: rgba(201, 169, 97, 0.22);
  --line-soft: rgba(26, 26, 26, 0.08);

  --shadow-sm: 0 6px 20px rgba(26, 26, 26, 0.06);
  --shadow-md: 0 16px 44px rgba(26, 26, 26, 0.10);
  --shadow-lg: 0 30px 90px rgba(26, 26, 26, 0.16);

  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 36px;
  --pill: 999px;

  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: Inter, Heebo, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --logo-font: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(60vw 50vw at 100% -5%, rgba(232, 197, 192, 0.30), transparent 60%),
    radial-gradient(50vw 40vw at -10% 8%, rgba(201, 169, 97, 0.14), transparent 55%),
    var(--cream);
  background-attachment: fixed;
  color: var(--charcoal);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.container {
  margin-inline: auto;
  max-width: var(--maxw);
  padding-inline: clamp(20px, 5vw, 48px);
  width: 100%;
}

/* ---------- Header ---------- */
.site-header {
  inset-block-start: 0;
  inset-inline: 0;
  position: sticky;
  z-index: 30;
  transition: background 200ms var(--ease), box-shadow 200ms var(--ease),
    border-color 200ms var(--ease);
  background: rgba(245, 239, 230, 0.55);
  border-block-end: 1px solid transparent;
  backdrop-filter: blur(14px);
}

.site-header.scrolled {
  background: rgba(245, 239, 230, 0.88);
  border-block-end-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-inline: auto;
  max-width: var(--maxw);
  padding: 14px clamp(20px, 5vw, 48px);
}

.logo {
  color: var(--gold);
  font-family: var(--logo-font);
  font-size: 34px;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 28px;
  margin-inline: auto;
}

.nav a,
.text-link {
  color: var(--gray);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 150ms var(--ease);
}

.nav a {
  position: relative;
}

.nav a::after {
  background: var(--gold);
  block-size: 1.5px;
  content: "";
  inset-block-end: -4px;
  inset-inline-start: 0;
  inline-size: 0;
  position: absolute;
  transition: inline-size 180ms var(--ease);
}

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

.nav a:hover::after {
  inline-size: 100%;
}

.header-actions {
  align-items: center;
  display: flex;
  gap: 12px;
}

.language-switch {
  background: rgba(255, 250, 242, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--pill);
  display: flex;
  gap: 4px;
  padding: 4px;
}

.language-button {
  background: transparent;
  border: 0;
  border-radius: var(--pill);
  color: var(--gray);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 11px;
  transition: background 150ms var(--ease), color 150ms var(--ease);
}

.language-button.active {
  background: var(--charcoal);
  color: var(--white);
}

.nav-signin {
  background: var(--charcoal);
  border-radius: var(--pill);
  color: var(--white) !important;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 18px;
  text-decoration: none;
  transition: transform 150ms var(--ease), box-shadow 150ms var(--ease);
}

.nav-signin:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

/* ---------- Typography ---------- */
.eyebrow {
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.eyebrow-chip {
  align-items: center;
  background: rgba(201, 169, 97, 0.12);
  border: 1px solid var(--line);
  border-radius: var(--pill);
  display: inline-flex;
  margin-block-end: 22px;
  padding: 6px 14px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-family: var(--serif);
  font-size: clamp(42px, 6vw, 78px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin-bottom: 24px;
}

h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin-bottom: 18px;
}

h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2 {
  font-family: Heebo, sans-serif;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.18;
}

html[dir="rtl"] h1 {
  font-size: clamp(38px, 5.5vw, 66px);
}

html[dir="rtl"] h2 {
  font-size: clamp(28px, 3.6vw, 46px);
}

.lead {
  color: var(--gray);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.6;
  max-width: 620px;
}

/* ---------- Sections ---------- */
.section {
  padding-block: clamp(64px, 9vw, 120px);
}

.section-head {
  margin-block-end: 44px;
  max-width: 760px;
}

.section-head h2 {
  margin-bottom: 0;
}

/* ---------- Buttons ---------- */
.button {
  align-items: center;
  border-radius: var(--pill);
  display: inline-flex;
  font-weight: 700;
  gap: 8px;
  justify-content: center;
  padding: 14px 24px;
  text-decoration: none;
  transition: transform 160ms var(--ease), box-shadow 160ms var(--ease),
    background 160ms var(--ease);
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--charcoal);
  box-shadow: 0 12px 30px rgba(26, 26, 26, 0.18);
  color: var(--white);
}

.button.primary:hover {
  box-shadow: 0 18px 40px rgba(26, 26, 26, 0.24);
}

.button.demo {
  background: var(--gold);
  box-shadow: 0 12px 30px rgba(201, 169, 97, 0.32);
  color: var(--charcoal);
}

.button.ghost {
  border: 1px solid rgba(26, 26, 26, 0.18);
  color: var(--charcoal);
}

.button.ghost:hover {
  background: rgba(26, 26, 26, 0.04);
}

.button.whatsapp {
  background: #25d366;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.28);
  color: #06371d;
}

.button.full {
  inline-size: 100%;
}

/* ---------- Hero ---------- */
.hero {
  padding-block-start: clamp(56px, 8vw, 96px);
}

.hero-grid {
  align-items: center;
  display: grid;
  gap: clamp(40px, 6vw, 72px);
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-block-start: 36px;
}

.hero-card {
  color: inherit;
  display: flex;
  justify-content: center;
  text-decoration: none;
  transition: transform 220ms var(--ease);
}

.hero-card:hover {
  transform: translateY(-6px);
}

.hero-card:focus-visible {
  border-radius: 48px;
  outline: 3px solid rgba(201, 169, 97, 0.55);
  outline-offset: 8px;
}

/* ---------- Phone mockup ---------- */
.phone-frame {
  background: linear-gradient(160deg, #232020, #0f0e0d);
  border-radius: 46px;
  box-shadow: var(--shadow-lg);
  inline-size: 100%;
  max-inline-size: 360px;
  padding: 14px;
  position: relative;
}

.phone-notch {
  background: #0f0e0d;
  border-radius: var(--pill);
  block-size: 7px;
  inline-size: 110px;
  inset-block-start: 22px;
  inset-inline-start: 50%;
  position: absolute;
  transform: translateX(-50%);
  z-index: 2;
}

html[dir="rtl"] .phone-notch {
  transform: translateX(50%);
}

.phone-screen {
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(232, 197, 192, 0.35), transparent 70%),
    var(--cream-soft);
  border-radius: 34px;
  padding: 30px 20px 22px;
}

.phone-header {
  color: var(--gold-deep);
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 18px;
}

html[dir="rtl"] .phone-header {
  font-family: Heebo, sans-serif;
  font-weight: 700;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 14px;
  padding: 22px;
}

.service-card span {
  color: var(--gold-deep);
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.service-card strong {
  display: block;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 10px;
}

html[dir="rtl"] .service-card strong {
  font-family: Heebo, sans-serif;
  font-weight: 700;
}

html[dir="rtl"] .service-card span {
  letter-spacing: 0;
  text-transform: none;
}

.service-card small {
  color: var(--gray);
  font-size: 13px;
  line-height: 1.5;
}

.ai-insight {
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.96), rgba(44, 40, 36, 0.96));
  border-radius: 20px;
  padding: 16px 18px;
}

.ai-badge {
  align-items: center;
  background: var(--gold);
  border-radius: var(--pill);
  color: var(--charcoal);
  display: inline-flex;
  font-size: 10px;
  font-weight: 800;
  gap: 5px;
  letter-spacing: 0.1em;
  margin-bottom: 9px;
  padding: 4px 10px;
  text-transform: uppercase;
}

.ai-badge::before {
  background: var(--charcoal);
  border-radius: 50%;
  block-size: 5px;
  content: "";
  inline-size: 5px;
}

.ai-insight p {
  color: var(--cream);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.45;
  margin: 0;
}

/* ---------- Demo banner ---------- */
.demo-banner {
  align-items: center;
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(232, 197, 192, 0.4), transparent 70%),
    linear-gradient(135deg, rgba(201, 169, 97, 0.16), rgba(255, 250, 242, 0.6));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1.3fr) minmax(220px, 0.7fr);
  padding: clamp(32px, 5vw, 56px);
}

.demo-banner h2 {
  margin-bottom: 14px;
}

.demo-banner-lead {
  color: var(--gray);
  margin: 0;
  max-width: 540px;
}

.demo-banner-actions {
  display: grid;
  gap: 12px;
  justify-items: start;
}

html[dir="rtl"] .demo-banner-actions {
  justify-items: end;
}

.demo-note {
  color: var(--gray);
  font-size: 14px;
  margin: 0;
}

/* ---------- Cards (problem) ---------- */
.cards {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: rgba(255, 250, 242, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.card p {
  color: var(--gray);
  margin: 0;
}

/* ---------- Solution / features ---------- */
.section-solution {
  background: var(--cream-soft);
  border-block: 1px solid var(--line);
}

.feature-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature {
  background: rgba(255, 250, 242, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  padding: 30px;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease),
    border-color 200ms var(--ease);
}

.feature:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.feature-num {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 18px;
}

.feature p {
  color: var(--gray);
  margin: 0;
}

.feature-accent {
  background: linear-gradient(165deg, rgba(201, 169, 97, 0.12), rgba(255, 250, 242, 0.85));
  border-color: rgba(201, 169, 97, 0.4);
}

/* ---------- How it works ---------- */
.how-list {
  background: var(--cream-deep);
}

.how-list ol {
  counter-reset: steps;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.how-list li {
  background: rgba(255, 250, 242, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  counter-increment: steps;
  font-size: 16px;
  padding: 56px 24px 26px;
  position: relative;
}

.how-list li::before {
  align-items: center;
  background: var(--charcoal);
  border-radius: 50%;
  color: var(--white);
  content: counter(steps);
  display: flex;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  block-size: 38px;
  inline-size: 38px;
  inset-block-start: 22px;
  inset-inline-start: 24px;
  justify-content: center;
  position: absolute;
}

/* ---------- Offer ---------- */
.offer {
  align-items: center;
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  grid-template-columns: 1fr minmax(300px, 430px);
}

.offer-copy p {
  color: var(--gray);
  font-size: 18px;
  margin: 0;
  max-width: 480px;
}

.offer-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: clamp(28px, 4vw, 40px);
}

.offer-box h3 {
  color: var(--gray);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price {
  align-items: baseline;
  color: var(--charcoal);
  display: flex;
  flex-wrap: wrap;
  font-family: var(--serif);
  font-size: 60px;
  font-weight: 600;
  gap: 4px;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 14px;
}

.price span {
  color: var(--gray);
  flex-basis: 100%;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  margin-top: 8px;
}

.offer-card-copy {
  color: var(--gray);
  font-size: 15px;
  margin-bottom: 22px;
}

.offer-box .button {
  margin-bottom: 12px;
}

.offer-box .text-link {
  display: block;
  margin-block-start: 8px;
  text-align: center;
}

.offer-box .text-link:hover {
  color: var(--charcoal);
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 860px;
}

.faq-list details {
  background: rgba(255, 250, 242, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-block-end: 12px;
  padding: 4px 24px;
  transition: box-shadow 180ms var(--ease);
}

.faq-list details[open] {
  box-shadow: var(--shadow-sm);
}

.faq-list summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  font-size: 17px;
  font-weight: 700;
  gap: 16px;
  justify-content: space-between;
  list-style: none;
  padding-block: 20px;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-marker {
  border: 2px solid var(--gold);
  border-radius: 50%;
  block-size: 26px;
  flex-shrink: 0;
  inline-size: 26px;
  position: relative;
  transition: transform 220ms var(--ease);
}

.faq-marker::before,
.faq-marker::after {
  background: var(--gold-deep);
  content: "";
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.faq-marker::before {
  block-size: 2px;
  inline-size: 11px;
}

.faq-marker::after {
  block-size: 11px;
  inline-size: 2px;
  transition: transform 220ms var(--ease);
}

.faq-list details[open] .faq-marker::after {
  transform: translate(-50%, -50%) scaleY(0);
}

.faq-list p {
  color: var(--gray);
  margin: 0;
  padding-block-end: 22px;
  padding-inline-end: 42px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--charcoal);
  color: rgba(255, 250, 242, 0.7);
}

.footer-inner {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 32px 64px;
  justify-content: space-between;
  padding-block: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 440px;
}

.footer-logo {
  color: var(--gold);
  font-family: var(--logo-font);
  font-size: 28px;
  font-weight: 400;
}

.footer-tagline {
  font-size: 14px;
  line-height: 1.5;
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-legal-heading {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin-block-end: 2px;
  text-transform: uppercase;
}

.footer-legal a {
  color: rgba(255, 250, 242, 0.7);
  font-size: 14px;
  text-decoration: none;
  transition: color 150ms var(--ease);
  width: fit-content;
}

.footer-legal a:hover {
  color: var(--cream);
}

.footer-legal a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- Legal pages ---------- */
.legal-main {
  min-block-size: 62vh;
  padding-block: clamp(44px, 7vw, 84px);
}

.legal-back {
  align-items: center;
  color: var(--gray);
  display: inline-flex;
  font-size: 14px;
  font-weight: 600;
  gap: 8px;
  margin-block-end: 28px;
  text-decoration: none;
  transition: color 150ms var(--ease);
}

.legal-back::before {
  content: "←";
  font-size: 16px;
}

html[dir="rtl"] .legal-back::before {
  content: "→";
}

.legal-back:hover {
  color: var(--charcoal);
}

.legal-article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  margin-inline: auto;
  max-width: 820px;
  padding: clamp(28px, 5vw, 56px);
}

.legal-article h1 {
  font-size: clamp(32px, 5vw, 54px);
  margin-bottom: 8px;
}

.legal-updated {
  color: var(--gray);
  font-size: 14px;
  margin-bottom: 28px;
}

.legal-article p {
  color: var(--charcoal-soft);
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 18px;
}

.legal-article p:last-child {
  margin-bottom: 0;
}

.legal-content {
  margin-block-start: 34px;
}

html[lang="en"] .legal-content-he,
html[lang="he"] .legal-content-en {
  display: none;
}

.legal-content h2 {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-block: 30px 10px;
}

.legal-content ul {
  color: var(--charcoal-soft);
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding-inline-start: 22px;
}

.legal-content li {
  line-height: 1.7;
}

/* ---------- Scroll reveal ---------- */
.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms var(--ease), transform 620ms var(--ease);
  will-change: opacity, transform;
}

.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal-ready [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .button:hover,
  .card:hover,
  .feature:hover,
  .hero-card:hover {
    transform: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid,
  .offer,
  .demo-banner {
    grid-template-columns: 1fr;
  }

  .demo-banner-actions {
    justify-items: start;
  }

  html[dir="rtl"] .demo-banner-actions {
    justify-items: end;
  }

  .cards,
  .feature-grid,
  .how-list ol {
    grid-template-columns: 1fr 1fr;
  }

  .nav {
    display: none;
  }
}

@media (max-width: 600px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 12px;
  }

  .cards,
  .feature-grid,
  .how-list ol {
    grid-template-columns: 1fr;
  }

  .hero-actions .button {
    flex: 1 1 auto;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }
}
