/* דף הנחיתה ועמודי הנושא – עיצוב משותף */

/* שאלות נפוצות */
.faq-list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: .75rem; }
.faq-item { background: var(--surface); border: 1px solid #e5e7eb; border-radius: 12px; padding: 1rem 1.25rem; }
.faq-item summary { cursor: pointer; font-weight: 700; color: var(--primary); font-size: 1.05rem; list-style-position: inside; }
.faq-item p { margin-top: .75rem; color: var(--muted); line-height: 1.75; }
[hidden] { display: none !important; }
.contact-captcha:empty { display: none; }
.contact-captcha { display: flex; justify-content: center; }
.contact-verify label { font-weight: 700; color: #fff; }
.contact-verify #contactCode { font-size: 1.6rem; letter-spacing: .5rem; text-align: center; }
.contact-back { background: none; border: none; color: rgba(255,255,255,.85); text-decoration: underline; cursor: pointer; font: inherit; }
.feature-more { display: inline-block; margin-top: .75rem; font-weight: 600; color: var(--primary); }

/* עמודי נושא */
.topic-hero { background: linear-gradient(135deg, var(--primary) 0%, #1E3858 100%); color: #fff; padding: 7.5rem 1.5rem 4rem; text-align: center; }
.topic-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; line-height: 1.25; margin-bottom: 1rem; }
.topic-hero p { max-width: 760px; margin: 0 auto 1.75rem; font-size: 1.15rem; line-height: 1.75; opacity: .92; }
.topic-hero .hero-cta { justify-content: center; }
.breadcrumbs { max-width: 1100px; margin: 1.25rem auto 0; padding: 0 1.5rem; font-size: .9rem; color: var(--muted); }
.breadcrumbs a { color: var(--primary); }
.topic-body { max-width: 900px; margin: 0 auto; padding: 2.5rem 1.5rem 1rem; }
.topic-body h2 { font-size: 1.6rem; font-weight: 800; color: var(--primary); margin: 2.25rem 0 .75rem; }
.topic-body p, .topic-body li { color: #374151; line-height: 1.85; font-size: 1.05rem; }
.topic-body ul { margin: .5rem 1.25rem 0 0; }
.topic-body li { margin-bottom: .4rem; }
.topic-cta { text-align: center; padding: 2.5rem 1.5rem 3.5rem; }
.topic-cta .btn, .topic-hero .btn { white-space: normal; max-width: 100%; }
.topic-related { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-top: 1rem; }
.topic-related a { display: block; padding: 1rem 1.25rem; border: 1px solid #e5e7eb; border-radius: 12px; background: var(--surface); color: var(--primary); font-weight: 700; text-decoration: none; }
html[dir="ltr"] .topic-body ul { margin: .5rem 0 0 1.25rem; }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* סימון פוקוס גלוי לניווט במקלדת – ת"י 5568 / WCAG 2.4.7 */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
    border-radius: 3px;
}
footer a:focus-visible, #cookie-banner a:focus-visible,
#cookie-banner button:focus-visible, .navbar a:focus-visible {
    outline-color: #fff;
}

:root {
    --primary:   #2C4A73;
    --primary-h: #1E3858;
    --accent:    #10B981;
    --accent-h:  #059669;
    --bg:        #F3F4F6;
    --surface:   #FFFFFF;
    --text:      #111827;
    --muted:     #6B7280;
    --border:    #E5E7EB;
    --radius:    0.75rem;
    --shadow:    0 4px 24px rgba(44,74,115,.10);
    --font:      'Heebo', sans-serif;
    --transition: .25s ease;
    --font-size-base: 1rem;
}

html { scroll-behavior: smooth; font-size: var(--font-size-base); }

/* בדף RTL תוכן שגולש שמאלה (אנימציות כניסה, אלמנטים מוסתרים) מרחיב את הדף במובייל ומקטין אותו – חוסמים גלילה אופקית */
html, body { overflow-x: clip; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    /* הכיוון נקבע ב-<html dir> – rtl בעברית, ltr בעמוד האנגלי */
    line-height: 1.7;
}

body.high-contrast {
    --primary: #000080; --accent: #006600; --bg: #FFFFFF;
    --surface: #FFFFFF; --text: #000000; --muted: #333333;
    --border: #000000;
}
body.large-text { --font-size-base: 1.2rem; }
body.no-animations * { animation: none !important; transition: none !important; }
body.highlight-links a { text-decoration: underline !important; outline: 2px solid var(--accent); }

.skip-link {
    position: absolute; top: -100%; left: 50%; transform: translateX(-50%);
    background: var(--primary); color: #fff; padding: .5rem 1.5rem;
    border-radius: 0 0 var(--radius) var(--radius); z-index: 9999;
    font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 0; }

.navbar {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 8px rgba(0,0,0,.06);
}
.nav-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: .75rem 1.5rem; gap: 1rem;
}
.nav-brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; flex-shrink: 0; }
.nav-brand img { height: 38px; width: auto; }
.nav-brand-name { font-size: 1.3rem; font-weight: 700; color: var(--primary); letter-spacing: -.02em; }
.nav-actions { display: flex; align-items: center; gap: .75rem; }

.btn-lang {
    background: none; border: 1px solid var(--border);
    color: var(--muted); padding: .35rem .75rem; border-radius: 2rem;
    font-family: var(--font); font-size: .85rem; cursor: pointer;
    transition: all var(--transition); display: flex; align-items: center; gap: .4rem;
}
.btn-lang:hover { border-color: var(--primary); color: var(--primary); }

.btn {
    display: inline-flex; align-items: center; gap: .45rem;
    padding: .55rem 1.3rem; border-radius: var(--radius);
    font-family: var(--font); font-size: .95rem; font-weight: 600;
    cursor: pointer; border: none; transition: all var(--transition);
    text-decoration: none; white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-h); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(44,74,115,.35); }
.btn-accent { background: var(--accent); color: var(--text); }
.btn-accent:hover { background: var(--accent-h); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(16,185,129,.35); }
.btn-lg { padding: .85rem 2rem; font-size: 1.05rem; }

.nav-hamburger {
    display: none; flex-direction: column; justify-content: center; gap: 5px;
    background: none; border: none; cursor: pointer; padding: .4rem;
}
/* In Hebrew (RTL) the hamburger sits on the right, brand on the left */
[dir="rtl"] .nav-hamburger { order: -1; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all var(--transition); }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile-menu {
    display: none; flex-direction: column; gap: .5rem;
    padding: 1rem 1.5rem 1.25rem; background: var(--surface);
    border-top: 1px solid var(--border);
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a { color: var(--text); text-decoration: none; padding: .5rem 0; font-weight: 500; border-bottom: 1px solid var(--border); }
/* כפתור בתוך תפריט הנייד שומר על צבע הטקסט של הכפתור, אחרת נוצר טקסט כהה על רקע כהה */
.nav-mobile-menu a.btn-accent { color: var(--text); border-bottom: none; }
.nav-mobile-menu a.btn-primary { color: #fff; border-bottom: none; }
.nav-mobile-menu .btn { width: 100%; justify-content: center; margin-top: .25rem; }
.nav-mobile-cta { display: flex; gap: .5rem; margin-top: .25rem; }
.nav-mobile-cta .btn { flex: 1; width: auto; margin-top: 0; }

/* Fullscreen autoplaying promo video pinned behind the hero; content sections scroll over it */
.hero-video-bg { position: fixed; inset: 0; width: 100%; height: 100vh; z-index: -1; overflow: hidden; background: #0f2240; }
.hero-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-video-overlay { position: absolute; inset: 0; /* כיסוי כהה יותר: הווידאו מתחלף, וגם בפריים הבהיר ביותר הטקסט חייב לעמוד בניגודיות AA */
    background: linear-gradient(135deg, rgba(28,74,115,.85) 0%, rgba(15,34,64,.88) 100%); }
.hero {
    background: transparent; color: #fff; text-align: center;
    position: relative; overflow: hidden;
    min-height: 100vh; padding: 6rem 1.5rem;
    display: flex; align-items: center; justify-content: center;
}
.hero-inner { max-width: 820px; margin: 0 auto; position: relative; }
.hero-scroll-hint {
    position: absolute; bottom: 1.75rem; left: 50%; transform: translateX(-50%);
    color: rgba(255,255,255,.8); font-size: 1.4rem; text-decoration: none;
    animation: heroBounce 1.8s ease-in-out infinite;
}
@keyframes heroBounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }
.hero-mute-btn {
    position: absolute; top: 5rem; left: 1.5rem;
    width: 44px; height: 44px; border-radius: 50%; z-index: 2;
    border: 1px solid rgba(255,255,255,.45); background: rgba(0,0,0,.4); color: #fff;
    cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center;
    transition: background var(--transition), transform var(--transition);
}
.hero-mute-btn:hover { background: rgba(0,0,0,.7); transform: scale(1.08); }
/* Opaque wrapper that scrolls up over the fixed hero video, hiding it past the hero */
.page-body { position: relative; z-index: 1; background: var(--bg); }
.hero-badge {
    display: inline-flex; align-items: center; gap: .5rem;
    background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
    color: #fff; padding: .35rem 1rem; border-radius: 2rem;
    font-size: .85rem; font-weight: 500; margin-bottom: 1.5rem;
    backdrop-filter: blur(4px);
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; line-height: 1.2; margin-bottom: 1.25rem; letter-spacing: -.03em; }
.hero h1 span { color: #6EE7B7; }
.hero-sub { font-size: clamp(1rem, 2.5vw, 1.2rem); color: rgba(255,255,255,.82); max-width: 620px; margin: 0 auto 2.5rem; font-weight: 300; }
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0; }
.hero-wave svg { display: block; width: 100%; }

.stats { background: var(--surface); padding: 3rem 1.5rem; border-bottom: 1px solid var(--border); }
.stats-inner { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; text-align: center; }
.stat-value { font-size: 2.4rem; font-weight: 800; color: var(--primary); line-height: 1; }
.stat-label { color: var(--muted); margin-top: .35rem; font-size: .95rem; }
.stat-divider { border: none; border-right: 1px solid var(--border); }

section { padding: 5rem 1.5rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-tag { display: inline-block; background: rgba(44,74,115,.1); color: var(--primary); padding: .3rem .9rem; border-radius: 2rem; font-size: .82rem; font-weight: 600; margin-bottom: .75rem; }
.section-title { font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 800; margin-bottom: .75rem; letter-spacing: -.02em; }
.section-sub { color: var(--muted); font-size: 1.05rem; max-width: 580px; }
.section-header { margin-bottom: 3rem; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin: 0 auto; }

.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.75rem; }
.feature-card {
    background: var(--surface); border-radius: var(--radius);
    border: 1px solid var(--border); padding: 2rem;
    box-shadow: var(--shadow); transition: transform var(--transition), box-shadow var(--transition);
    display: flex; flex-direction: column;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(44,74,115,.14); }
.feature-shot {
    width: 100%; height: 180px; object-fit: cover;
    object-position: top;
    border-radius: calc(var(--radius) * .75);
    border: 1px solid var(--border);
    background: #f3f4f6;
    order: 99; margin-top: 1.2rem; /* push screenshot below the card text */
}
.try-strip {
    background: rgba(16,185,129,.08);
    border-top: 1px solid rgba(16,185,129,.2);
    border-bottom: 1px solid rgba(16,185,129,.2);
    padding: 1.5rem 1rem; text-align: center;
}
.btn-try {
    background: var(--accent); color: var(--text); border: none;
    padding: .75rem 1.75rem; border-radius: var(--radius);
    font-family: var(--font); font-size: 1rem; font-weight: 700;
    cursor: pointer; text-decoration: none; display: inline-flex;
    align-items: center; gap: .5rem;
    transition: background var(--transition), transform var(--transition);
}
.btn-try:hover { background: var(--accent-h); transform: translateY(-1px); }
.contact-section {
    background: linear-gradient(180deg, var(--bg) 0%, #e8f4f1 100%);
    padding: 5rem 1.5rem;
}
.contact-inner {
    max-width: 520px; margin: 0 auto;
    background: var(--surface); border-radius: calc(var(--radius)*1.5);
    border: 1px solid var(--border); box-shadow: var(--shadow);
    padding: 2.5rem 2rem;
}
.contact-inner h2 {
    font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800;
    color: var(--primary); margin-bottom: 1.75rem;
    text-align: center; line-height: 1.25;
}
.contact-form { display: flex; flex-direction: column; gap: .85rem; }
.contact-form input {
    width: 100%; padding: .85rem 1rem;
    border: 1px solid var(--border); border-radius: var(--radius);
    font-family: var(--font); font-size: 1rem; color: var(--text);
    background: #fff; transition: border-color var(--transition), box-shadow var(--transition);
}
.contact-form input:focus-visible {
    outline: 3px solid var(--primary); outline-offset: 2px;
}
.contact-form input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(44,74,115,.12);
}
.contact-form .btn-submit {
    background: var(--primary); color: #fff; border: none;
    padding: .9rem 1rem; border-radius: var(--radius);
    font-family: var(--font); font-size: 1.05rem; font-weight: 700;
    cursor: pointer; transition: background var(--transition), transform var(--transition);
    margin-top: .35rem;
}
.contact-form .btn-submit:hover { background: var(--primary-h); transform: translateY(-1px); }
.contact-form .btn-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.contact-consent { display: flex; align-items: flex-start; gap: .55rem; font-size: .88rem; line-height: 1.5; text-align: start; }
.contact-consent input[type=checkbox] { width: 18px; height: 18px; margin: .15rem 0 0; flex: 0 0 auto; accent-color: var(--primary); cursor: pointer; }
.contact-consent label { cursor: pointer; }
.contact-consent a { color: var(--primary); text-decoration: underline; }
.hp-field { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.contact-msg { margin-top: 1rem; padding: .7rem 1rem; border-radius: var(--radius); font-size: .92rem; text-align: center; display: none; }
.contact-msg.ok { background: rgba(16,185,129,.12); color: var(--text); display: block; }
.contact-msg.err { background: rgba(239,68,68,.12); color: #EF4444; display: block; }
.wa-float {
    position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 7000;
    width: 56px; height: 56px; border-radius: 50%;
    background: #25D366; color: #fff; font-size: 1.7rem;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; box-shadow: 0 6px 20px rgba(37,211,102,.45);
    transition: transform var(--transition);
    animation: waPulse 2.2s ease-out infinite;
}
.wa-float:hover { transform: scale(1.1); animation-play-state: paused; }
.wa-float i { animation: waBob 2.2s ease-in-out infinite; }
@keyframes waPulse {
    0%   { box-shadow: 0 6px 20px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.55); }
    70%  { box-shadow: 0 6px 20px rgba(37,211,102,.45), 0 0 0 18px rgba(37,211,102,0); }
    100% { box-shadow: 0 6px 20px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,0); }
}
@keyframes waBob { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-2px) rotate(-8deg); } }
.feature-icon {
    width: 52px; height: 52px; border-radius: var(--radius);
    background: linear-gradient(135deg, var(--primary), #3d6494);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; color: #fff; margin-bottom: 1.2rem;
}
.feature-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .6rem; }
.feature-card p { color: var(--muted); font-size: .95rem; line-height: 1.65; }

.how-bg { background: linear-gradient(180deg, var(--bg) 0%, #e8f4f1 100%); }
.steps-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; position: relative; }
.steps-grid::before {
    content: ''; position: absolute;
    top: 26px; right: 12.5%; left: 12.5%; height: 2px;
    background: linear-gradient(to left, var(--accent), var(--primary));
    z-index: 0;
}
.step { text-align: center; position: relative; z-index: 1; }
.step-num {
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--primary); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; font-weight: 800; margin: 0 auto 1rem;
    box-shadow: 0 0 0 6px rgba(44,74,115,.12);
}
.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.step p { color: var(--muted); font-size: .9rem; line-height: 1.55; }

.benefit-row { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-bottom: 5rem; }
.benefit-row:last-child { margin-bottom: 0; }
.benefit-row.reverse .benefit-text { order: 2; }
.benefit-row.reverse .benefit-visual { order: 1; }
.benefit-text ul { list-style: none; margin-top: 1rem; }
.benefit-text li { display: flex; align-items: flex-start; gap: .6rem; color: var(--muted); margin-bottom: .6rem; font-size: .95rem; }
.benefit-text li i { color: var(--accent-h); margin-top: .2rem; flex-shrink: 0; }
.benefit-visual {
    background: linear-gradient(135deg, rgba(44,74,115,.07), rgba(16,185,129,.07));
    border-radius: calc(var(--radius)*1.5); border: 1px solid var(--border);
    padding: 2.5rem; display: flex; align-items: center; justify-content: center;
    min-height: 220px;
}
.benefit-visual i { font-size: 5rem; color: var(--primary); opacity: .7; }

.cta-banner { background: linear-gradient(135deg, var(--primary), #1a3355); color: #fff; text-align: center; padding: 5rem 1.5rem; }
.cta-banner h2 { font-size: clamp(1.6rem,3.5vw,2.4rem); font-weight: 800; margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,.8); margin-bottom: 2rem; font-size: 1.05rem; }

.security-strip { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 1.75rem 1.5rem; }
.security-items { max-width: 900px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; }
.security-item { display: flex; align-items: center; gap: .5rem; color: var(--muted); font-size: .92rem; }
.security-item i { color: var(--accent-h); }

footer { background: #0f1f35; color: rgba(255,255,255,.7); padding: 3.5rem 1.5rem 2rem; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-brand img { height: 36px; filter: brightness(0) invert(1); margin-bottom: 1rem; }
.footer-brand p { font-size: .9rem; line-height: 1.65; max-width: 240px; }
.footer-legal { font-style: normal; margin-top: 1rem; font-size: .82rem; line-height: 1.7; color: rgba(255,255,255,.6); }
.footer-legal a { color: rgba(255,255,255,.75); text-decoration: none; }
.footer-legal a:hover { text-decoration: underline; }
.footer-col h2 { color: #fff; font-size: .95rem; font-weight: 700; margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-col a { color: rgba(255,255,255,.6); text-decoration: none; font-size: .9rem; transition: color var(--transition); }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: .85rem; }
.footer-social { display: flex; gap: .75rem; }
.footer-social a { color: rgba(255,255,255,.5); font-size: 1.1rem; transition: color var(--transition); }
.footer-social a:hover { color: #fff; }

#cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 8000;
    background: #1a2d45; color: #fff;
    padding: 1rem 1.5rem; display: flex; align-items: center;
    justify-content: space-between; gap: 1rem; flex-wrap: wrap;
    box-shadow: 0 -4px 20px rgba(0,0,0,.2);
    transform: translateY(0); transition: transform var(--transition);
}
#cookie-banner.hidden { transform: translateY(110%); }
#cookie-banner p { font-size: .9rem; flex: 1; min-width: 200px; color: rgba(255,255,255,.85); }
#cookie-banner p a { color: #6EE7B7; text-decoration: underline; }
.cookie-btns { display: flex; gap: .6rem; flex-shrink: 0; }
.btn-cookie-accept { background: var(--accent); color: var(--text); border: none; padding: .5rem 1.2rem; border-radius: var(--radius); font-family: var(--font); font-weight: 600; cursor: pointer; font-size: .9rem; }
.btn-cookie-decline { background: transparent; color: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.45); padding: .5rem 1rem; border-radius: var(--radius); font-family: var(--font); cursor: pointer; font-size: .9rem; }
.btn-cookie-decline:hover { border-color: rgba(255,255,255,.6); color: #fff; }

#a11y-btn {
    position: fixed; left: 1.5rem; bottom: 1.5rem; z-index: 7000;
    width: 50px; height: 50px; border-radius: 50%; background: var(--primary);
    color: #fff; font-size: 1.4rem; border: none; cursor: pointer;
    box-shadow: 0 4px 16px rgba(0,0,0,.3); transition: transform var(--transition);
    display: flex; align-items: center; justify-content: center;
}
#a11y-btn:hover { transform: scale(1.1); }
#a11y-panel {
    position: fixed; left: 1.5rem; bottom: 4.5rem; z-index: 7001;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); box-shadow: var(--shadow);
    width: 240px; padding: 1rem; display: none;
}
#a11y-panel.open { display: block; }
#a11y-panel h3 { font-size: .95rem; font-weight: 700; margin-bottom: .85rem; color: var(--primary); }
.a11y-option { display: flex; justify-content: space-between; align-items: center; padding: .5rem 0; border-bottom: 1px solid var(--border); font-size: .9rem; }
.a11y-option:last-child { border-bottom: none; }
.a11y-toggle { width: 40px; height: 22px; background: var(--border); border: none; border-radius: 11px; cursor: pointer; position: relative; transition: background var(--transition); }
.a11y-toggle::after { content: ''; position: absolute; top: 3px; right: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform var(--transition); }
.a11y-toggle.active { background: var(--accent); }
.a11y-toggle.active::after { transform: translateX(-18px); }

/* ── Entrance animations ── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(.92); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes slideRight {
    from { opacity: 0; transform: translateX(32px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideLeft {
    from { opacity: 0; transform: translateX(-32px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes countUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Hero loads immediately */
.hero-badge  { animation: fadeUp .6s ease both; animation-delay: .1s; }
.hero h1     { animation: fadeUp .7s ease both; animation-delay: .25s; }
.hero-sub    { animation: fadeUp .7s ease both; animation-delay: .4s; }
.hero-cta    { animation: fadeUp .7s ease both; animation-delay: .55s; }

/* Scroll-triggered: hidden until .visible added by JS */
.anim-fade-up   { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.anim-fade-in   { opacity: 0;                               transition: opacity .7s ease; }
.anim-scale     { opacity: 0; transform: scale(.92);        transition: opacity .6s ease, transform .6s ease; }
.anim-slide-r   { opacity: 0; transform: translateX(32px);  transition: opacity .6s ease, transform .6s ease; }
.anim-slide-l   { opacity: 0; transform: translateX(-32px); transition: opacity .6s ease, transform .6s ease; }
.anim-fade-up.visible, .anim-fade-in.visible, .anim-scale.visible,
.anim-slide-r.visible, .anim-slide-l.visible {
    opacity: 1; transform: none;
}
/* Stagger children */
.stagger > * { opacity: 0; transform: translateY(24px); transition: opacity .55s ease, transform .55s ease; }
.stagger > *.visible { opacity: 1; transform: none; }

body.no-animations *, body.no-animations .anim-fade-up,
body.no-animations .anim-fade-in, body.no-animations .anim-scale,
body.no-animations .anim-slide-r, body.no-animations .anim-slide-l,
body.no-animations .stagger > * {
    animation: none !important; transition: none !important;
    opacity: 1 !important; transform: none !important;
}

@media (max-width: 900px) {
    .features-grid { grid-template-columns: 1fr 1fr; }
    .steps-grid { grid-template-columns: 1fr 1fr; }
    .steps-grid::before { display: none; }
    .benefit-row { grid-template-columns: 1fr; gap: 2rem; }
    .benefit-row.reverse .benefit-text,
    .benefit-row.reverse .benefit-visual { order: unset; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .nav-actions { display: none; }
    .nav-hamburger { display: flex; }
    .stats-inner { grid-template-columns: 1fr; gap: 1.5rem; }
    .stat-divider { border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 1.5rem; }
    .features-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    #a11y-btn { left: .8rem; bottom: 1.5rem; }
    #a11y-panel { left: .8rem; width: calc(100vw - 1.6rem); }
    /* Tighten large vertical whitespace between stacked sections on mobile */
    section { padding: 2.5rem 1.5rem; }
    .promo-block { padding: 2.5rem 1.5rem; }
    .section-header { margin-bottom: 2rem; }
}

/* ── Promo video (small, inline) ───────────────────────────── */
.promo-block { background: var(--surface); padding: 3rem 1.5rem; border-bottom: 1px solid var(--border); }
.promo-inner { max-width: 1100px; margin: 0 auto; display: flex; gap: 2.5rem; align-items: center; justify-content: center; flex-wrap: wrap; }
.promo-media { position: relative; width: 340px; max-width: 100%; }
.promo-video { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); background: #000; display: block; }
.promo-play-btn {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 66px; height: 66px; border-radius: 50%; border: none; cursor: pointer;
    background: rgba(16,185,129,.92); color: #fff; font-size: 1.5rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,.35); transition: transform var(--transition), background var(--transition);
}
.promo-play-btn:hover { background: var(--accent); transform: translate(-50%, -50%) scale(1.08); }
.promo-play-btn i { margin-inline-start: 3px; } /* optically center the play triangle */
.promo-media.playing .promo-play-btn { display: none; }
.promo-copy { flex: 1; min-width: 240px; max-width: 460px; }
.promo-copy h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; margin-bottom: .75rem; letter-spacing: -.02em; }
.promo-copy p { color: var(--muted); font-size: 1.02rem; margin-bottom: 1.25rem; }

/* ── Guide video button + modal ────────────────────────────── */
.video-modal-overlay { position: fixed; inset: 0; background: rgba(17,24,39,.82); display: none; align-items: center; justify-content: center; z-index: 1000; padding: 1.5rem; }
.video-modal-overlay.open { display: flex; }
.video-modal { position: relative; width: 960px; max-width: 100%; background: #000; border-radius: var(--radius); overflow: hidden; box-shadow: 0 12px 48px rgba(0,0,0,.5); }
.video-modal video { width: 100%; display: block; max-height: 80vh; }
.video-modal-close { position: absolute; top: .6rem; inset-inline-end: .6rem; width: 40px; height: 40px; border-radius: 50%; border: none; background: rgba(0,0,0,.55); color: #fff; font-size: 1.2rem; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 2; transition: background var(--transition); }
.video-modal-close:hover { background: rgba(0,0,0,.85); }

/* ── Pricing ───────────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem 1.5rem; display: flex; flex-direction: column; box-shadow: var(--shadow); position: relative; transition: transform var(--transition), box-shadow var(--transition); }
.plan:hover { transform: translateY(-4px); box-shadow: 0 10px 32px rgba(44,74,115,.16); }
.plan.featured { border-color: var(--accent); border-width: 2px; }
.plan-badge { position: absolute; top: -.8rem; inset-inline-start: 50%; transform: translateX(50%); background: var(--accent); color: var(--text); font-size: .72rem; font-weight: 700; padding: .25rem .8rem; border-radius: 2rem; white-space: nowrap; }
.plan-name { font-size: 1.35rem; font-weight: 800; color: var(--primary); margin-bottom: .5rem; }
.plan-price { font-size: 2.4rem; font-weight: 800; letter-spacing: -.02em; }
.plan-price small { font-size: .95rem; font-weight: 500; color: var(--muted); }
.plan-note { font-size: .8rem; color: var(--muted); margin-top: .4rem; }
.plan-save { display: inline-block; background: var(--accent); color: var(--text); font-weight: 600; padding: .15rem .6rem; border-radius: 2rem; }
.billing-toggle { display: inline-flex; margin-top: 1.75rem; background: var(--surface); border: 1px solid var(--border); border-radius: 2rem; padding: .25rem; gap: .25rem; box-shadow: var(--shadow); }
.billing-opt { border: none; background: none; cursor: pointer; font-family: var(--font); font-size: .9rem; font-weight: 600; color: var(--muted); padding: .5rem 1.4rem; border-radius: 2rem; transition: all var(--transition); }
.billing-opt.active { background: var(--primary); color: #fff; }
.plan-feats { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-direction: column; gap: .7rem; text-align: start; }
.plan-feats li { display: flex; align-items: flex-start; gap: .55rem; font-size: .92rem; color: var(--text); }
.plan-feats li i { color: var(--accent-h); margin-top: .2rem; flex-shrink: 0; }
/* שורות שאינן כלולות במסלול – עדיין חייבות להיות קריאות (AA) */
.plan-feats li.off { color: var(--muted); }
.plan-feats li.off i { color: var(--muted); }
@media (max-width: 820px) {
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin-inline: auto; }
    .promo-inner { flex-direction: column; text-align: center; }
}
