:root {
    --primary: #1d4ed8;
    --primary-light: #0ea5e9;
    --primary-dark: #0b1120;
    --accent: #fbbf24;
    --bg: #f3f4f6;
    --card-bg: #ffffff;
    --text-main: #0b1120;
    --text-muted: #6b7280;
    --border-subtle: #e5e7eb;
}

/* RESET בסיסי */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Rubik", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f0f4ff;
    color: var(--text-main);
}

a {
    text-decoration: none;
}

/* WRAPPER כללי */

.page-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 16px 64px;
}

/* HEADER + LOGO */

.site-header {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border-subtle);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 20;
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    /* בשביל התפריט במובייל */
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: inherit;
}

.logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.logo-mark-letter {
    color: #ffffff;
    font-weight: 800;
    font-size: 1.4rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-name {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.logo-name-highlight {
    color: var(--primary);
}

.logo-tagline {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* NAV רגיל (דסקטופ) */

.main-nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

.main-nav a {
    color: var(--primary-dark);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 14px;
    border-radius: 10px;
    transition: 0.2s ease;
    opacity: 0.85;
}

.main-nav a:hover {
    background: rgba(29, 78, 216, 0.10);
    color: var(--primary);
    opacity: 1;
}

.main-nav a.active {
    background: var(--primary);
    color: white;
    opacity: 1;
}

/* NAV TOGGLE (המבורגר) – ברירת מחדל מוסתרת */

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    margin-left: 8px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #0b1120;
    border-radius: 999px;
    margin: 4px 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* מצב פתוח – X */

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

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

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

/* HERO */

.hero {
    margin-top: 24px;
    background: radial-gradient(circle at top left, rgba(14, 165, 233, 0.25), rgba(37, 99, 235, 0.95));
    border-radius: 24px;
    padding: 32px 24px;
    color: white;
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
    gap: 24px;
    align-items: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    scroll-margin-top: 100px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-kicker {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.85;
}

.hero-title {
    font-size: 2rem;
    font-weight: 800;
    margin: 0;
}

.hero-subtitle {
    font-size: 1rem;
    margin: 0;
    line-height: 1.7;
    opacity: 0.95;
}

/* PRICE */

.hero-price-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
    margin-bottom: 8px;
}

.hero-price-main {
    background: rgba(15, 23, 42, 0.35);
    border-radius: 16px;
    padding: 10px 14px;
    min-width: 140px;
    border: 1px solid rgba(209, 213, 219, 0.6);
    text-align: center;
}

.hero-price-secondary {
    background: rgba(15, 23, 42, 0.15);
}

.hero-price-number {
    display: block;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 800;
}

.hero-price-label {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* CTA */

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 6px;
}

.btn-primary {
    background: linear-gradient(135deg, #fbbf24, #facc15);
    color: #111827;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    background: #25D366;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 999px;
    border: none;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
    background: #1ebe5d;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.5);
}

.btn-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #111827;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 999px;
    border: none;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.btn-phone:hover {
    background: #1f2937;
    transform: translateY(-1px);
}

.phone-icon {
    width: 22px;
    height: 22px;
}

.wa-icon {
    width: 20px;
    height: 20px;
}

.hero-note {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-top: 4px;
}

/* HERO MOCK */

.hero-mock {
    background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.9));
    border-radius: 20px;
    padding: 18px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    backdrop-filter: blur(10px);
}

.ui-screenshots {
    display: flex;
    align-items: stretch;
    gap: 12px;
}

.ui-card {
    flex: 1;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.9);
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ui-card.secondary {
    opacity: 0.9;
}

.ui-label {
    font-size: 0.75rem;
    color: #e5e7eb;
    opacity: 0.9;
}

.ui-box {
    background: #020617;
    border-radius: 12px;
    padding: 10px;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ui-line {
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(148, 163, 184, 0.3), rgba(148, 163, 184, 0.9));
}

.ui-line-lg {
    width: 80%;
}

.ui-line-sm {
    width: 50%;
}

.ui-pill-row {
    display: flex;
    gap: 6px;
    margin-top: 4px;
}

.ui-pill {
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    flex: 1;
}

.ui-tag {
    align-self: flex-start;
    margin-top: 4px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.7rem;
    background: rgba(248, 250, 252, 0.07);
    border: 1px solid rgba(148, 163, 184, 0.9);
}

/* SECTIONS */

.section {
    margin-top: 40px;
    margin-bottom: 32px;
    scroll-margin-top: 100px;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
    text-align: center;
    color: var(--text-main);
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    text-align: center;
}

/* CARDS GRID */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    justify-content: center;
    justify-items: center;
}

.cards-grid2 {
    margin-top: 16px;
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-left: auto;
    margin-right: auto;
    justify-content: space-between;
    justify-items: center;
    max-width: 800px;
}

.card {
    background: var(--card-bg);
    border-radius: 18px;
    padding: 18px 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    border: 1px solid #e5e7eb;
}

.card2 {
    background: var(--card-bg);
    border-radius: 18px;
    padding: 16px 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    border: 1px solid #e5e7eb;
    max-width: 100%;
}

.card-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.card-text {
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.6;
}

.card-list {
    margin: 0;
    padding-right: 18px;
    margin-top: 6px;
    font-size: 0.9rem;
    color: #4b5563;
}

/* PRICING */

.pricing {
    display: flex;
    justify-content: center;
}

.pricing-card {
    background: var(--card-bg);
    border-radius: 18px;
    padding: 20px 18px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    border: 1px solid #e5e7eb;
}

.price-number {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.price-number-small {
    font-size: 1.3rem;
}

.price-label {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 10px;
}

.price-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
    background: #ecfdf5;
    color: #166534;
    border: 1px solid #bbf7d0;
    margin-bottom: 10px;
}

/* HIGHLIGHT BOX */

.highlight-box {
    background: #eef2ff;
    border-radius: 18px;
    padding: 18px;
    border: 1px dashed #4f46e5;
    font-size: 0.95rem;
    color: #1f2937;
}

/* PILL ROW */

.pill-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.pill {
    flex: 1;
    text-align: center;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.85rem;
    background: white;
    border: 1px solid #d1d5db;
}

/* FAQ */

.faq_div {
    padding: 16px;
    border-radius: 24px;
    background-color: white;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    margin-bottom: 12px;
}

.faq-q {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.faq-a {
    font-size: 0.9rem;
    color: #4b5563;
}

/* FOOTER CTA */

.footer-cta {
    text-align: center;
    padding: 28px 12px 8px;
}

.footer-cta p {
    margin: 6px 0;
}

.small-muted {
    font-size: 1rem;
    color: #6b7280;
}

/* FOOTER אמיתי */

.site-footer {
    background: #020617;
    color: #e5e7eb;
    border-top: 1px solid rgba(148, 163, 184, 0.4);
    margin-top: 40px;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 28px 16px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: space-between;
}

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.footer-logo-name {
    font-size: 1.3rem;
    font-weight: 800;
    color: #f9fafb;
}

.footer-logo-tagline {
    font-size: 0.8rem;
    color: #9ca3af;
}

.footer-brand-text {
    font-size: 0.9rem;
    color: #9ca3af;
    line-height: 1.7;
    margin: 0;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    flex: 1;
    min-width: 0;
}

.footer-col-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #e5e7eb;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 6px;
}

.footer-links a {
    font-size: 0.9rem;
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.15s ease, opacity 0.15s ease;
    opacity: 0.9;
}

.footer-links a:hover {
    color: #fbbf24;
    opacity: 1;
}

.footer-social {
    margin-top: 10px;
}

.footer-social-label {
    font-size: 0.85rem;
    color: #9ca3af;
    display: block;
    margin-bottom: 6px;
}

.footer-social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-social-pill {
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    font-size: 0.8rem;
    color: #e5e7eb;
    opacity: 0.9;
}

.footer-bottom {
    border-top: 1px solid rgba(31, 41, 55, 0.9);
    background: #020617;
}

.footer-bottom-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 16px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.8rem;
    color: #6b7280;
}

.footer-bottom-note {
    opacity: 0.9;
}

/* ========== RESPONSIVE ========== */

/* טאבלט / מובייל בינוני */
@media (max-width: 900px) {
    .cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 768px) {

    body {
        font-size: 0.95rem;
    }

    .page-wrapper {
        padding: 16px 8px 40px;
    }

    /* HEADER במובייל – לוגו מימין, המבורגר משמאל */
    .header-inner {
        flex-direction: row-reverse;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
        padding: 8px 12px;
    }

    .logo {
        max-width: 75%;
    }

    .logo-name {
        font-size: 1.1rem;
    }

    .logo-tagline {
        font-size: 0.7rem;
    }

    /* תפריט המובייל (dropdown) */
    .main-nav {
        position: absolute;
        top: 100%;
        right: 16px;
        left: 16px;
        background: #ffffff;
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
        padding: 10px 0;
        display: none;
        flex-direction: column;
        gap: 0;
        z-index: 30;
    }

    .main-nav a {
        font-size: 0.9rem;
        padding: 10px 16px;
        display: block;
        border-bottom: 1px solid #e5e7eb;
    }

    .main-nav a:last-child {
        border-bottom: none;
    }

    .main-nav.nav-open {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    /* HERO במובייל */
    .hero {
        grid-template-columns: 1fr;
        padding: 24px 16px;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-price-row {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-price-main {
        width: 100%;
    }

    .hero-cta-row {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta-row .btn-primary,
    .hero-cta-row .btn-whatsapp {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .section {
        margin-top: 32px;
        margin-bottom: 24px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .cards-grid2 {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .footer-cta .btn-whatsapp,
    .footer-cta .btn-phone {
        width: 100%;
        justify-content: center;
    }

    .footer-inner {
        flex-direction: column;

    }

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

    .card2 {
        width: 100%
    }
}

/* מובייל קטן */
@media (max-width: 480px) {

    .logo-name {
        font-size: 1.05rem;
    }

    .logo-tagline {
        font-size: 0.72rem;
    }

    .hero {
        padding: 20px 14px;
    }

    .hero-title {
        font-size: 1.4rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .card,
    .card2,
    .pricing-card,
    .faq_div {
        border-radius: 16px;
        padding: 14px 12px;
    }

    .footer-inner {
        padding: 20px 12px 16px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }

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