/* שפת-אופק לאתר — הערכים מועתקים מ-OfekTheme.swift ו-docs/DESIGN_LANGUAGE.md.
   אין כאן שום צבע שהומצא: אם משנים את הנושא באפליקציה, משנים גם כאן. */

:root {
  --bg:        #F0E9DD;
  --card:      #F9F4EA;
  --fill:      #E7DFCF;
  --label:     #2F3A44;
  --label2:    #79828C;
  --label3:    #A4ABB2;
  --sep:       rgba(47, 58, 68, 0.08);
  --accent:    #A8674C;
  --grad-a:    #C08466;
  --grad-b:    #A8674C;
  --on-accent: #FFF4EE;
  --accent-soft: rgba(168, 103, 76, 0.11);
  --info:      #5E7284;
  --info-soft: rgba(94, 114, 132, 0.11);
  --good:      #5B8266;
  --shadow:    0 2px 14px rgba(47, 58, 68, 0.08);
  --glass:     rgba(253, 250, 240, 0.62);
  --glass-line: rgba(255, 255, 255, 0.55);

  /* פסי-אופק — ההירו */
  --h0: #C6D0DA; --h1: #B0BFCC; --h2: #8FA3B0; --h3: #D9C6A6; --h4: #CAB28D;

  --radius-card: 24px;
  --radius-capsule: 20px;
  --radius-button: 14px;
  --gutter: 20px;

  /* האתר בהיר בלבד: כל הנכסים (סרטון, צילומי-מסך) מצולמים במצב בהיר,
     ורקע כהה היה גורם להם לצוף כמלבנים זרים. */
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--label);
  font-family: "Heebo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

/* ---------- כותרת צפה: המקום היחיד שבו מותרת זכוכית ---------- */

header.top {
  position: sticky; top: 0; z-index: 50;
  background: var(--glass);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--glass-line);
}
header.top .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--label); }
.brand img { height: 30px; width: auto; display: block; }
.brand span { font-weight: 800; font-size: 19px; letter-spacing: -0.2px; }
nav.top-links { display: flex; gap: 22px; }
nav.top-links a { color: var(--label2); text-decoration: none; font-weight: 500; font-size: 15px; }
nav.top-links a:hover { color: var(--accent); }
@media (max-width: 620px) { nav.top-links { display: none; } }

/* ---------- טיפוגרפיה — הסקאלה של האפליקציה ---------- */

h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.5px; line-height: 1.15; }
h1 { font-size: 40px; }
h2 { font-size: 34px; }
h3 { font-size: 22px; }
@media (max-width: 620px) { h1 { font-size: 32px; } h2 { font-size: 27px; } }

p { margin: 0 0 16px; }
.lead { font-size: 18px; color: var(--label2); }
.meta { font-size: 14.5px; color: var(--label2); font-weight: 500; }
.foot { font-size: 12.5px; color: var(--label3); }
a { color: var(--accent); }

section { padding: 68px 0; }
.section-label {
  font-size: 12.5px; font-weight: 700; color: var(--label2);
  letter-spacing: 0.6px; margin-bottom: 10px;
}

/* מספרים ומחירים — כיוון מקומי LTR בתוך שורה עברית */
.num { direction: ltr; unicode-bidi: isolate; display: inline-block; }

/* ---------- הירו ---------- */

.hero { padding: 56px 0 24px; }
.hero-card {
  border-radius: var(--radius-card);
  overflow: hidden;
  background: linear-gradient(
    to bottom,
    var(--h0) 0%, var(--h0) 26%,
    var(--h1) 26%, var(--h1) 44%,
    var(--h2) 44%, var(--h2) 66%,
    var(--h3) 66%, var(--h3) 82%,
    var(--h4) 82%, var(--h4) 100%
  );
  box-shadow: var(--shadow);
  padding: 44px var(--gutter);
  /* כמו בהירו של האפליקציה: הרקדנית משמאל, הכותרת מימין */
  display: flex; flex-direction: row-reverse; align-items: center; gap: 28px;
  min-height: 260px;
}
.hero-card .dancer { height: 190px; width: auto; flex: none; }
.hero-card .hero-text { flex: 1; }
.hero-card h1 { color: var(--label); }
.hero-card .lead { color: var(--label); opacity: 0.75; margin-top: 10px; }
@media (max-width: 620px) {
  .hero-card { flex-direction: column; text-align: center; padding: 32px 18px; }
  .hero-card .dancer { height: 130px; }
}

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
@media (max-width: 620px) { .cta-row { justify-content: center; } }

.btn {
  display: inline-block; text-decoration: none; font-weight: 700; font-size: 16.5px;
  padding: 13px 26px; border-radius: var(--radius-button);
  background: linear-gradient(180deg, var(--grad-a), var(--grad-b));
  color: var(--on-accent);
  transition: transform 300ms cubic-bezier(.2,.8,.3,1), filter 300ms;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn.secondary {
  background: var(--card); color: var(--label);
  border: 1px solid var(--sep); box-shadow: var(--shadow);
}

/* ---------- כרטיסים ---------- */

.cards { display: grid; gap: 14px; }
.cards.two   { grid-template-columns: repeat(2, 1fr); }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.four  { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .cards.three, .cards.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards.two, .cards.three, .cards.four { grid-template-columns: 1fr; } }

.card {
  background: var(--card);
  border-radius: var(--radius-card);
  padding: 22px;
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card .icon { font-size: 26px; line-height: 1; margin-bottom: 12px; display: block; }

/* צ'יפ — כמו באפליקציה */
.chip {
  display: inline-block; border-radius: 999px; padding: 5px 13px;
  font-size: 12.5px; font-weight: 700;
  background: var(--accent-soft); color: var(--accent);
}
.chip.info { background: var(--info-soft); color: var(--info); }

/* ---------- בלוקי יכולת עם צילום ---------- */

.feature { display: flex; align-items: center; gap: 44px; padding: 44px 0; }
.feature:nth-child(even) { flex-direction: row-reverse; }
.feature .shot { flex: none; width: 268px; }
.feature .shot img {
  width: 100%; height: auto; display: block;
  border-radius: 30px; box-shadow: 0 14px 44px rgba(47, 58, 68, 0.16);
}
.feature .txt { flex: 1; }
@media (max-width: 800px) {
  .feature, .feature:nth-child(even) { flex-direction: column; gap: 26px; text-align: center; }
  .feature .shot { width: 218px; }
}

/* ---------- מחירים ---------- */

.price { text-align: center; }
.price .amount { font-size: 34px; font-weight: 800; margin: 6px 0 2px; }
.price .per { font-size: 14.5px; color: var(--label2); }
.price.featured { outline: 2px solid var(--accent); }

/* ---------- פוטר ---------- */

footer {
  border-top: 1px solid var(--sep);
  padding: 40px 0 56px;
  color: var(--label2); font-size: 14.5px;
}
footer .links { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 14px; }
footer a { color: var(--label2); text-decoration: none; }
footer a:hover { color: var(--accent); }

/* ---------- עמודי מסמך (פרטיות / תנאים) ---------- */

.doc { padding: 44px 0 72px; }
.doc h2 { margin: 38px 0 12px; font-size: 22px; }
.doc h2:first-of-type { margin-top: 26px; }
.doc ul { margin: 0 0 16px; padding-inline-start: 22px; }
.doc li { margin-bottom: 7px; }
.doc .updated { color: var(--label2); font-size: 14.5px; margin-bottom: 8px; }
.doc table { width: 100%; border-collapse: collapse; margin: 6px 0 20px; }
.doc th, .doc td {
  text-align: right; padding: 11px 10px;
  border-bottom: 1px solid var(--sep); font-size: 15px; vertical-align: top;
}
.doc th { font-weight: 700; color: var(--label2); font-size: 13px; }
.doc .note {
  background: var(--card); border-radius: var(--radius-card);
  padding: 18px 20px; box-shadow: var(--shadow); margin: 22px 0;
}

/* גרסה אנגלית — LTR */
html[lang="en"] body { direction: ltr; text-align: left; }
html[lang="en"] .doc th, html[lang="en"] .doc td { text-align: left; }
html[lang="en"] .doc ul { padding-inline-start: 22px; }

/* ---------- וידאו ---------- */

.video-card {
  max-width: 920px;
  margin: 24px auto 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow);
  line-height: 0;                /* מונע פס לבן מתחת לנגן */
}
.video-card video { width: 100%; height: auto; display: block; }
