
/* --- בלוק 1 --- */
:root {
            --bg: #f7f8fb;
            --bg-alt: #eef2fa;
            --ink: #0f172a;
            --ink-soft: #4b5567;
            --accent: #0052ff;
            --accent-2: #4d7cff;
            --accent-glow: rgba(0, 82, 255, .14);
            --teal: #2f7d78;
            --teal-soft: rgba(47, 125, 120, .12);
            --border: #e2e8f0;
            --white: #fff;
            --radius: 20px;
            --shadow: 0 20px 60px rgba(15, 23, 42, .09);
            --header-height: 87px;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
            scroll-padding-top: calc(var(--header-height) + 20px);
        }

        body {
            font-family: "Heebo", sans-serif;
            background: var(--bg);
            color: var(--ink);
            line-height: 1.75;
            overflow-x: hidden;
        }

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

        img {
            display: block;
            max-width: 100%;
        }

        .page-shell {
            min-height: 100vh;
            overflow: hidden;
            padding-top: var(--header-height);
        }

        header {
            position: fixed;
            top: 0;
            right: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            backdrop-filter: blur(14px) saturate(160%);
            background: rgba(247, 248, 251, 0.78);
            border-bottom: 1px solid var(--border);
        }

        .nav-wrap {
            max-width: 1180px;
            margin: 0 auto;
            padding: 14px 28px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: 800;
            font-size: 1.25rem;
        }

        .logo img {
            height: 58px;
            width: auto;
        }

        nav.main-nav > ul {
            list-style: none;
            display: flex;
            gap: 26px;
            font-size: 0.92rem;
            color: var(--ink-soft);
        }

        nav.main-nav a {
            text-decoration: none;
            transition: color .2s;
            cursor: pointer;
        }

        nav.main-nav > ul > li:hover > a {
            color: var(--accent);
        }

        .has-dd {
            position: relative;
        }

        .dd {
            position: absolute;
            top: 130%;
            right: 0;
            background: #fff;
            border: 1px solid var(--border);
            border-radius: 16px;
            box-shadow: 0 20px 40px rgba(15,23,42,0.12);
            padding: 14px;
            width: 230px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(6px);
            transition: .2s;
            z-index: 60;
        }

        .has-dd:hover .dd {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .dd a {
            display: block;
            padding: 9px 12px;
            border-radius: 9px;
            font-size: 0.87rem;
            color: var(--ink-soft);
            text-decoration: none;
        }

            .dd a:hover {
                background: var(--bg-alt);
                color: var(--accent);
            }

        .nav-right {
            display: flex;
            align-items: center;
            gap: 14px;
        }

        .phone-pill {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 0.85rem;
            color: var(--ink-soft);
            font-weight: 600;
        }

        .nav-toggle {
            display: none;
            flex-direction: column;
            justify-content: center;
            gap: 5px;
            width: 40px;
            height: 40px;
            border: 1.5px solid var(--border);
            border-radius: 10px;
            background: #fff;
            cursor: pointer;
            padding: 0;
            margin-inline-start: 6px;
        }

            .nav-toggle span {
                display: block;
                width: 18px;
                height: 2px;
                background: var(--ink);
                margin: 0 auto;
                border-radius: 2px;
                transition: transform .25s, opacity .25s;
            }

        header.nav-open .nav-toggle span:nth-child(1) {
            transform: translateY(7px) rotate(45deg);
        }

        header.nav-open .nav-toggle span:nth-child(2) {
            opacity: 0;
        }

        header.nav-open .nav-toggle span:nth-child(3) {
            transform: translateY(-7px) rotate(-45deg);
        }

        .cta-btn {
            background: linear-gradient(135deg,var(--accent),var(--accent-2));
            color: white;
            border: none;
            padding: 11px 24px;
            border-radius: 14px;
            font-weight: 600;
            font-size: 0.9rem;
            cursor: pointer;
            box-shadow: 0 8px 20px var(--accent-glow);
            transition: transform .2s;
        }

            .cta-btn:hover {
                transform: translateY(-2px) scale(1.02);
            }

        .btn {
            min-height: 48px;
            padding: 12px 24px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 9px;
            border: 1px solid transparent;
            border-radius: 13px;
            font: 700 1rem "Heebo", sans-serif;
            cursor: pointer;
            transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
        }

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

        .btn-primary {
            color: #fff;
            background: linear-gradient(135deg, var(--accent), var(--accent-2));
            box-shadow: 0 12px 28px var(--accent-glow);
        }

        .btn-primary:hover {
            box-shadow: 0 16px 36px rgba(0, 82, 255, .22);
        }

        .btn-secondary {
            background: rgba(255, 255, 255, .78);
            border-color: var(--border);
            color: var(--ink);
        }

        .hero {
            position: relative;
            min-height: 575px;
            display: grid;
            place-items: center;
            isolation: isolate;
            background:
                radial-gradient(circle at 84% 18%, rgba(77, 124, 255, .17), transparent 30%),
                radial-gradient(circle at 8% 85%, rgba(47, 125, 120, .14), transparent 28%),
                linear-gradient(180deg, #fbfcff 0%, var(--bg) 100%);
        }

        .hero::before {
            content: "";
            position: absolute;
            inset: 0;
            z-index: -1;
            opacity: .35;
            background-image: radial-gradient(rgba(0, 82, 255, .22) 1px, transparent 1px);
            background-size: 26px 26px;
            mask-image: linear-gradient(to bottom, #000, transparent 83%);
        }

        .hero-inner {
            width: min(1020px, calc(100% - 40px));
            padding: 90px 0 86px;
            text-align: center;
        }

        .eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 9px;
            margin-bottom: 19px;
            padding: 8px 14px;
            border: 1px solid rgba(0, 82, 255, .15);
            border-radius: 999px;
            color: var(--accent);
            background: rgba(255, 255, 255, .7);
            font-weight: 700;
            box-shadow: 0 8px 28px rgba(15, 23, 42, .05);
        }

        .eyebrow .dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--teal);
            box-shadow: 0 0 0 5px var(--teal-soft);
        }

        .hero h1 {
            max-width: 900px;
            margin: 0 auto 18px;
            font: 800 clamp(2.35rem, 5vw, 4.35rem)/1.12 "Rubik", sans-serif;
            letter-spacing: -.04em;
        }

        .hero h1 .grad {
            color: transparent;
            background: linear-gradient(135deg, var(--accent), var(--teal));
            -webkit-background-clip: text;
            background-clip: text;
        }

        .hero-lead {
            max-width: 745px;
            margin: auto;
            color: var(--ink-soft);
            font-size: clamp(1.06rem, 2vw, 1.25rem);
        }

        .hero-actions {
            margin-top: 32px;
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 13px;
        }

        .trust-row {
            margin-top: 30px;
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 20px;
            color: #596579;
            font-size: .96rem;
        }

        .trust-row span {
            display: inline-flex;
            align-items: center;
            gap: 7px;
        }

        .trust-row i {
            color: var(--teal);
        }

        .section {
            padding: 92px 0;
        }

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

        .wrap {
            width: min(1120px, calc(100% - 40px));
            margin: auto;
        }

        .section-head {
            max-width: 760px;
            margin: 0 auto 48px;
            text-align: center;
        }

        .section-head h2 {
            margin-bottom: 12px;
            font: 700 clamp(1.85rem, 3vw, 2.65rem)/1.25 "Rubik", sans-serif;
            letter-spacing: -.025em;
        }

        .section-head p {
            color: var(--ink-soft);
            font-size: 1.08rem;
        }

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

        .benefits-section {
            padding: 38px 0;
            background: #fff;
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
        }

        .benefits-list {
            display: grid;
            grid-template-columns: repeat(6, minmax(0, 1fr));
            gap: 10px;
        }

        .benefit-item {
            min-width: 0;
            padding: 8px 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 9px;
            color: #344054;
            font-weight: 600;
            text-align: center;
            white-space: nowrap;
        }

        .benefit-item i {
            flex: 0 0 auto;
            color: var(--teal);
            font-size: 1.05rem;
        }

        .feature-card,
        .content-card {
            background: rgba(255, 255, 255, .88);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            box-shadow: 0 13px 35px rgba(15, 23, 42, .055);
        }

        .feature-card {
            padding: 29px;
            transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
        }

        .feature-card:hover {
            transform: translateY(-5px);
            border-color: rgba(0, 82, 255, .18);
            box-shadow: var(--shadow);
        }

        .feature-icon {
            width: 52px;
            height: 52px;
            margin-bottom: 19px;
            display: grid;
            place-items: center;
            border-radius: 15px;
            color: var(--teal);
            background: var(--teal-soft);
            font-size: 1.28rem;
        }

        .feature-card h3 {
            margin-bottom: 9px;
            font: 700 1.22rem "Rubik", sans-serif;
        }

        .feature-card p {
            color: var(--ink-soft);
        }

        .article-layout {
            display: grid;
            grid-template-columns: minmax(0, 1fr) 315px;
            align-items: start;
            gap: 28px;
            direction: ltr;
        }

        .article-layout > * {
            direction: rtl;
        }

        .content-card {
            padding: clamp(28px, 5vw, 56px);
        }

        .article-section + .article-section {
            margin-top: 45px;
            padding-top: 45px;
            border-top: 1px solid var(--border);
        }

        .article-section h2 {
            margin-bottom: 15px;
            font: 700 clamp(1.45rem, 2.2vw, 1.85rem)/1.35 "Rubik", sans-serif;
        }

        .article-section p + p {
            margin-top: 13px;
        }

        .article-section p,
        .article-section li {
            color: var(--ink-soft);
            font-size: 1.05rem;
        }

        .article-section strong {
            color: var(--ink);
        }

        .check-list {
            margin-top: 17px;
            display: grid;
            gap: 11px;
            list-style: none;
        }

        .check-list li {
            position: relative;
            padding-right: 31px;
        }

        .check-list li::before {
            content: "\f00c";
            position: absolute;
            right: 0;
            top: 2px;
            width: 22px;
            height: 22px;
            display: grid;
            place-items: center;
            border-radius: 50%;
            color: var(--teal);
            background: var(--teal-soft);
            font: 700 11px "Font Awesome 6 Free";
        }

        .desktop-sidebar {
            position: sticky;
            top: calc(var(--header-height) + 24px);
            display: grid;
            gap: 18px;
        }

        .side-card {
            padding: 27px;
            color: #fff;
            border-radius: var(--radius);
            background: linear-gradient(145deg, #0f172a, #182c58);
            box-shadow: var(--shadow);
        }
        .side-card1{
            padding: 27px;
            border-radius: var(--radius);
            background: #fff;
            box-shadow: var(--shadow);
         }

         
        .side-card .feature-icon {
            color: #fff;
            background: rgba(255, 255, 255, .12);
        }
        
        .side-card h3 {
            margin-bottom: 10px;
            font: 700 1.35rem "Rubik", sans-serif;
        }

        .side-card p {
            margin-bottom: 22px;
            color: rgba(255, 255, 255, .76);
        }

        .side-card .btn {
            width: 100%;
        }

        .desktop-sidebar > .social-links {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            direction: ltr;
        }

        .desktop-sidebar .social-link1 {
            width: 44px;
            height: 44px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex: 0 0 44px;
            color: #182c58;
            border: 2px solid #182c58;
            border-radius: 12px;
            background: transparent;
            font-size: 1.15rem;
            text-decoration: none;
            transition: color .2s ease, background-color .2s ease, transform .2s ease;
        }

        .desktop-sidebar .social-link1:hover,
        .desktop-sidebar .social-link1:focus-visible {
            color: #fff;
            background: #182c58;
            transform: translateY(-2px);
        }

        .feature-library {
            overflow: hidden;
            border: 1px solid var(--border);
            border-radius: var(--radius);
            background: rgba(255, 255, 255, .94);
            box-shadow: 0 13px 35px rgba(15, 23, 42, .055);
        }

        .feature-library-head {
            padding: 21px 22px 17px;
            border-bottom: 1px solid var(--border);
        }

        .feature-library-head span {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 5px;
            color: var(--teal);
            font-weight: 700;
            font-size: .9rem;
        }

        .feature-library-head h3 {
            font: 700 1.2rem "Rubik", sans-serif;
        }

        .feature-library-body {
            max-height: calc(100vh - 430px);
            min-height: 190px;
            overflow-y: auto;
            overscroll-behavior: contain;
            scrollbar-width: thin;
            scrollbar-color: #cbd5e1 transparent;
        }

        /*
         * sidebar.asp נשמר כמקור הקישורים המרכזי של ספריית ההסברים.
         * הכללים הבאים מעניקים לתפריט הוותיק את העיצוב החדש בלי לשנות את הקישורים.
         */
        .feature-library-body .list-group,
        .feature-library-body ul,
        .feature-library-body div {
            width: 100%;
            margin: 0;
            padding: 0;
            border: 0;
            border-radius: 0;
            background: transparent;
            box-shadow: none;
        }

        .feature-library-body ul {
            list-style: none;
        }

        .feature-library-body a,
        .feature-library-body .list-group-item {
            position: relative;
            width: 100%;
            min-height: 46px;
            margin: 0;
            padding: 11px 45px 11px 18px;
            display: flex;
            align-items: center;
            color: #344054;
            border: 0;
            border-bottom: 1px solid #edf1f6;
            border-radius: 0;
            background: transparent;
            font-size: .96rem;
            font-weight: 500;
            line-height: 1.45;
            text-align: right;
            transition: color .2s ease, background .2s ease, padding .2s ease;
        }

        .feature-library-body a::before,
        .feature-library-body .list-group-item::before {
            content: "\f15c";
            position: absolute;
            right: 19px;
            top: 14px;
            color: #92a0b5;
            font: 400 14px "Font Awesome 6 Free";
        }

        .feature-library-body a:hover,
        .feature-library-body a:focus-visible,
        .feature-library-body .list-group-item:hover {
            padding-right: 49px;
            color: var(--accent);
            background: #f5f8ff;
        }

        .feature-library-body a:hover::before,
        .feature-library-body a:focus-visible::before,
        .feature-library-body .list-group-item:hover::before {
            color: var(--accent);
        }

        .feature-library-body a.is-active {
            color: var(--accent);
            background: rgba(0, 82, 255, .07);
            font-weight: 700;
            box-shadow: inset -3px 0 0 var(--accent);
        }

        .feature-library-body a.qa-link {
            color: var(--teal);
            font-weight: 700;
        }

        .feature-library-body a.qa-link::before {
            content: "\f059";
            color: var(--teal);
        }

        .feature-library-footer {
            padding: 13px 18px;
            color: var(--ink-soft);
            background: #f8fafc;
            border-top: 1px solid var(--border);
            font-size: .85rem;
            text-align: center;
        }

        .video-card {
            overflow: hidden;
            border: 1px solid var(--border);
            border-radius: var(--radius);
            background: #fff;
            box-shadow: var(--shadow);
        }

        .browser-bar {
            height: 46px;
            padding: 0 17px;
            display: flex;
            align-items: center;
            gap: 7px;
            direction: ltr;
            background: #f8fafc;
            border-bottom: 1px solid var(--border);
        }

        .browser-dot {
            width: 11px;
            height: 11px;
            border-radius: 50%;
        }

        .video-ratio {
            position: relative;
            aspect-ratio: 16 / 9;
            background: #0f172a;
        }

        .video-ratio iframe {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            border: 0;
        }

        .video-playlist-link {
            margin-top: 22px;
            display: flex;
            justify-content: center;
        }

        .video-playlist-link .btn {
            border: 1px solid var(--border);
        }

        .video-playlist-link .fa-youtube {
            color: #ff0033;
            font-size: 1.2rem;
        }

        .author-card {
            margin-top: 26px;
            padding: 24px;
            display: flex;
            align-items: center;
            gap: 20px;
            border: 1px solid var(--border);
            border-radius: var(--radius);
            background: #fff;
        }

        .author-card img {
            width: 78px;
            height: 78px;
            border-radius: 50%;
            object-fit: cover;
        }

        .author-card small,
        .author-card p {
            color: var(--ink-soft);
        }

        .author-card h3 {
            font: 700 1.25rem "Rubik", sans-serif;
        }

        .final-cta {
            padding: 80px 0;
            text-align: center;
            color: #fff;
            background:
                radial-gradient(circle at 20% 15%, rgba(77, 124, 255, .4), transparent 30%),
                linear-gradient(135deg, #0f172a, #172d5c);
        }

        .final-cta h2 {
            margin-bottom: 12px;
            font: 700 clamp(1.8rem, 3.5vw, 2.8rem) "Rubik", sans-serif;
        }

        .final-cta p {
            max-width: 650px;
            margin: 0 auto 27px;
            color: rgba(255, 255, 255, .75);
            font-size: 1.1rem;
        }

        body #sharedSiteFooter {
            margin-top: 0;
        }

        footer {
            background: #0F1B3D;
            color: #B9C2DE;
            padding: 56px 28px 26px;
            margin-top: 50px;
        }

        .foot-wrap {
            max-width: 1180px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1.4fr repeat(4,1fr);
            gap: 30px;
        }

        .foot-brand .logo {
            color: white;
            margin-bottom: 14px;
        }

        .foot-brand p {
            font-size: 0.83rem;
            color: #8593B8;
            max-width: 230px;
        }

        .foot-col h4 {
            color: white;
            font-size: 0.83rem;
            margin-bottom: 14px;
            font-family: 'Rubik',sans-serif;
        }

        .foot-col ul {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 9px;
        }

        .foot-col a {
            color: #8FA0CE;
            text-decoration: none;
            font-size: 0.81rem;
            transition: .2s;
        }

            .foot-col a:hover {
                color: white;
            }

        .foot-bottom {
            max-width: 1180px;
            margin: 36px auto 0;
            padding-top: 22px;
            border-top: 1px solid rgba(255,255,255,0.1);
            display: flex;
            justify-content: space-between;
            font-size: 0.76rem;
            color: #6B7BA3;
            flex-wrap: wrap;
            gap: 10px;
        }

        @media (max-width: 900px) {
            .article-layout {
                grid-template-columns: 1fr;
            }

            .desktop-sidebar {
                display: none;
            }

            .feature-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .benefits-list {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }

            .foot-wrap {
                grid-template-columns: repeat(2,1fr);
            }

            .nav-toggle {
                display: flex;
            }

            nav.main-nav {
                position: absolute;
                top: 100%;
                right: 0;
                left: 0;
                background: #fff;
                border-bottom: 1px solid var(--border);
                box-shadow: 0 20px 40px rgba(15,23,42,0.1);
                max-height: 0;
                overflow: hidden;
                transition: max-height .3s ease;
            }

                nav.main-nav > ul {
                    flex-direction: column;
                    gap: 0;
                    padding: 6px 28px 18px;
                }

                    nav.main-nav > ul > li {
                        border-bottom: 1px solid var(--border);
                    }

                nav.main-nav a {
                    display: block;
                    padding: 14px 2px;
                }

            header.nav-open nav.main-nav {
                max-height: 80vh;
                overflow-y: auto;
            }

            .has-dd .dd {
                position: static;
                opacity: 1;
                visibility: visible;
                transform: none;
                box-shadow: none;
                border: none;
                width: auto;
                padding: 0 0 8px 16px;
                display: none;
            }

            .has-dd.dd-open .dd {
                display: block;
            }

            .has-dd:hover .dd {
                transform: none;
            }

            .nav-right > .cta-btn {
                display: none;
            }
        }

        @media(max-width:600px) {
            .phone-pill {
                display: none;
            }
        }

        @media (max-width: 620px) {
            .hero {
                min-height: 0;
            }

            .hero-inner {
                padding: 66px 0 64px;
            }

            .hero h1 {
                font-size: 2rem;
                line-height: 1.2;
            }

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

            .hero-actions {
                display: grid;
            }

            .hero-actions .btn {
                width: 100%;
            }

            .section {
                padding: 68px 0;
            }

            .wrap,
            .hero-inner {
                width: min(100% - 28px, 1120px);
            }

            .feature-grid {
                grid-template-columns: 1fr;
            }

            .foot-wrap {
                grid-template-columns: repeat(2,minmax(0,1fr));
                gap: 26px 18px;
            }

            .foot-brand {
                grid-column: 1 / -1;
                text-align: center;
            }

                .foot-brand .logo {
                    justify-content: center;
                }

                .foot-brand p {
                    max-width: 280px;
                    margin: 0 auto;
                }

            .benefits-section {
                padding: 28px 0;
            }

            .benefits-list {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 7px;
            }

            .benefit-item {
                justify-content: flex-start;
                padding: 7px 3px;
                font-size: .9rem;
                white-space: normal;
                text-align: right;
            }

            .content-card {
                padding: 25px 20px;
            }

            .article-section + .article-section {
                margin-top: 35px;
                padding-top: 35px;
            }

            .author-card {
                align-items: flex-start;
            }

            .author-card img {
                width: 66px;
                height: 66px;
            }

            .foot-bottom {
                flex-direction: column;
                text-align: center;
            }
        }
