:root {
    --bg-dark: #0c1017;
    --surface-panel: #151b24;
    --surface-card: #1c2430;
    --accent-brand: #38bdf8;
    --accent-brand-light: #7dd3fc;
    --text-main: #ffffff;
    --text-muted: #9aa5b6;
    --border-line: rgba(56, 189, 248, 0.22);
    --border-subtle: rgba(255, 255, 255, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Heebo', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* סרגל ניווט עליון */
.site-header {
    background: rgba(12, 16, 23, 0.88);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-main);
}

.brand-logo {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    object-fit: cover;
    filter: drop-shadow(0 2px 8px rgba(56, 189, 248, 0.35));
}

.brand-name {
    font-size: 1.45rem;
    font-weight: 900;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--accent-brand);
}

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

.btn-text {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.2s;
    white-space: nowrap;
}

.btn-text:hover {
    color: var(--text-main);
}

/* כפתור צימוד מסך בסרגל העליון */
.btn-pair-header {
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid var(--border-line);
    color: var(--accent-brand-light);
    padding: 7px 14px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 4px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-pair-header svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.btn-pair-header:hover {
    background: var(--accent-brand);
    color: #0c1017;
    border-color: var(--accent-brand);
    transform: translateY(-1px);
}

/* Hero Section */
.hero-section {
    padding: 80px 0 60px 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
}

.hero-badge {
    display: inline-block;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid var(--border-line);
    color: var(--accent-brand-light);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 4px 14px;
    margin-bottom: 16px;
    border-radius: 20px;
}

.hero-title {
    font-size: clamp(2.1rem, 3.4vw, 3.2rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 65%, var(--accent-brand-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    width: 100%;
}

.btn-primary-large {
    background: var(--accent-brand);
    color: #0c1017;
    font-size: 1.05rem;
    font-weight: 800;
    text-decoration: none;
    padding: 15px 28px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: 4px;
    box-shadow: 0 6px 25px rgba(56, 189, 248, 0.35);
    transition: all 0.2s ease;
}

.btn-primary-large svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.btn-primary-large:hover {
    transform: translateY(-2px);
    background: var(--accent-brand-light);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* ===================================================
   מסגרת טלוויזיה ריאליסטית: Hero ובאנר אחרון
=================================================== */
.mockup-slider-wrapper {
    position: relative;
    width: 100%;
    background: #05070a;
    border: 9px solid #161c26;
    outline: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    box-shadow:
        0 25px 60px -15px rgba(0, 0, 0, 0.9),
        0 0 35px rgba(56, 189, 248, 0.12);
    overflow: hidden;
    padding-bottom: 6px;
}

/* השתקפות זכוכית */
.mockup-slider-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.06) 0%,
        rgba(255, 255, 255, 0.01) 35%,
        transparent 60%
    );
    pointer-events: none;
    z-index: 5;
}

/* נורית Power LED מוארת בתחתית המסך */
.mockup-slider-wrapper::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    background: #38bdf8;
    border-radius: 50%;
    box-shadow: 0 0 6px #38bdf8;
    z-index: 6;
}

.mockup-slider-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    transition: opacity 1s ease-in-out;
}

.slider-img-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    object-fit: cover;
}

.slider-img-layer.active {
    opacity: 1;
    position: relative;
}

/* באנר תמונה 3 (המסגרת האחרונה מעל הפעלה פשוטה) */
.featured-interim-banner {
    width: 100%;
    padding: 30px 16px 50px 16px;
    background: #090d16;
    display: flex;
    justify-content: center;
    align-items: center;
}

.featured-interim-banner .mockup-slider-wrapper {
    max-width: 820px;
}

/* כותרות סקשנים כלליות */
.section-header {
    text-align: center;
    margin-bottom: 45px;
}

.section-tag {
    color: var(--accent-brand);
    font-size: 0.88rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.section-title {
    font-size: 2.1rem;
    font-weight: 900;
    margin-top: 6px;
}

/* פתרונות לפי נכס (ללא מסגרת טלוויזיה) */
.solutions-section {
    padding: 70px 0;
    border-top: 1px solid var(--border-subtle);
}

.solutions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.solution-card {
    background: var(--surface-panel);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    overflow: hidden;
}

.solution-media-box {
    width: 100%;
    height: 210px;
    background: #000;
    overflow: hidden;
}

.solution-media-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.solution-body {
    padding: 26px;
}

.solution-body h3 {
    font-size: 1.4rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.solution-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.solution-list li {
    font-size: 0.92rem;
    color: var(--text-muted);
    position: relative;
    padding-right: 20px;
}

.solution-list li::before {
    content: "✓";
    position: absolute;
    right: 0;
    color: var(--accent-brand);
    font-weight: 900;
}

/* יתרונות */
.features-section {
    padding: 70px 0;
    border-top: 1px solid var(--border-subtle);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
}

.feature-card {
    background: var(--surface-panel);
    border: 1px solid var(--border-subtle);
    padding: 28px 22px;
    border-radius: 6px;
    transition: transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-line);
}

.feature-icon {
    width: 46px;
    height: 46px;
    background: rgba(56, 189, 248, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border-radius: 6px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--accent-brand);
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
}

/* איך זה עובד */
.how-section {
    padding: 70px 0;
    background: #090d13;
    border-top: 1px solid var(--border-subtle);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 26px;
}

.step-card {
    background: var(--surface-panel);
    border: 1px solid var(--border-subtle);
    padding: 30px 24px;
    border-radius: 6px;
}

.step-number {
    font-size: 2.8rem;
    font-weight: 900;
    font-family: 'Rubik', sans-serif;
    color: var(--accent-brand);
    opacity: 0.4;
    line-height: 1;
    margin-bottom: 10px;
}

.step-card h4 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.step-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
}

.step-card code {
    background: rgba(56, 189, 248, 0.15);
    color: var(--accent-brand-light);
    padding: 2px 6px;
    font-family: monospace;
    font-size: 0.9rem;
    border-radius: 3px;
}

/* ===================================================
   יצירת קשר וכפתורי הנעה לפעולה
=================================================== */
.contact-section {
    padding: 60px 0 80px 0;
}

.contact-card {
    background: linear-gradient(180deg, var(--surface-panel) 0%, #0d121a 100%);
    border: 1px solid var(--border-line);
    padding: 45px 25px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.contact-card h2 {
    font-size: 2.1rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.contact-card p {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 26px auto;
}

.contact-quick-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    width: 100%;
}

.btn-phone,
.btn-whatsapp {
    height: 54px;
    min-width: 250px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1.05rem;
    font-weight: 800;
    text-decoration: none;
    border-radius: 6px;
    box-sizing: border-box;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.btn-phone {
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid var(--border-line);
    color: var(--accent-brand-light);
}

.btn-phone svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex-shrink: 0;
}

.btn-phone:hover {
    background: var(--accent-brand);
    color: #0c1017;
    border-color: var(--accent-brand);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25d366;
    border: 1px solid #25d366;
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
    background: #20ba59;
    border-color: #20ba59;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: #ffffff;
    font-weight: 700;
    padding: 15px 26px;
    text-decoration: none;
    border-radius: 4px;
}

.divider-text {
    position: relative;
    text-align: center;
    margin: 28px 0;
}

.divider-text::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-subtle);
    z-index: 1;
}

.divider-text span {
    position: relative;
    background: var(--surface-panel);
    padding: 0 18px;
    font-size: 0.92rem;
    color: var(--text-muted);
    z-index: 2;
}

.lead-form {
    max-width: 720px;
    margin: 0 auto;
    text-align: right;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-muted);
}

.form-group input {
    background: rgba(12, 16, 23, 0.7);
    border: 1px solid var(--border-subtle);
    color: #ffffff;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 0.95rem;
    border-radius: 4px;
    transition: border-color 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-brand);
}

.btn-submit-lead {
    width: 100%;
    background: var(--accent-brand);
    color: #0c1017;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 800;
    padding: 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(56, 189, 248, 0.35);
    transition: all 0.2s ease;
}

.btn-submit-lead:hover {
    background: var(--accent-brand-light);
    transform: translateY(-2px);
}

/* מודאל תודה */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(8, 12, 18, 0.82);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease-in-out;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background: #151b24;
    border: 1px solid var(--border-line);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
    width: 90%;
    max-width: 440px;
    padding: 35px 30px;
    border-radius: 8px;
    text-align: center;
    position: relative;
    transform: translateY(20px) scale(0.96);
    transition: all 0.25s ease-out;
}

.modal-overlay.active .modal-card {
    transform: translateY(0) scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 14px;
    left: 16px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close-btn:hover {
    color: #ffffff;
}

.modal-icon {
    width: 60px;
    height: 60px;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid var(--border-line);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px auto;
}

.modal-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--accent-brand);
}

.modal-title {
    font-size: 1.6rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 8px;
}

.modal-desc {
    font-size: 0.98rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 24px;
}

.modal-action-btn {
    background: var(--accent-brand);
    color: #0c1017;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 800;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.35);
    transition: all 0.2s ease;
}

.modal-action-btn:hover {
    background: var(--accent-brand-light);
    transform: translateY(-2px);
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--border-subtle);
    padding: 28px 0;
    background: #070a0e;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    color: #ffffff;
}

.footer-brand img {
    width: 22px;
    height: 22px;
    border-radius: 4px;
}

.footer-links {
    display: flex;
    gap: 16px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--accent-brand);
}

/* ===================================================
   רספונסיביות מלאה למובייל
=================================================== */
@media (max-width: 860px) {
    .nav-links {
        display: none;
    }

    .header-inner {
        height: 64px;
    }

    .brand-name {
        font-size: 1.3rem;
    }

    .header-actions {
        gap: 8px;
    }

    .btn-text {
        font-size: 0.82rem;
    }

    .btn-pair-header {
        padding: 5px 10px;
        font-size: 0.8rem;
    }

    .hero-container {
        grid-template-columns: 1fr !important;
        text-align: center;
        gap: 0 !important;
    }

    .hero-content {
        align-items: center;
        text-align: center;
    }

    .hero-cta-group {
        justify-content: center;
        margin-bottom: 45px !important;
    }

    .hero-visual {
        width: 100%;
        margin-top: 0 !important;
    }

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

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

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .contact-quick-actions {
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
    }

    .btn-phone,
    .btn-whatsapp {
        width: 100% !important;
        max-width: 290px !important;
        min-width: 0 !important;
        height: 52px !important;
    }

    /* התאמת מסגרת הטלוויזיה למובייל */
    .mockup-slider-wrapper {
        border-width: 6px;
        border-radius: 8px;
        padding-bottom: 4px;
    }

    .mockup-slider-wrapper::after {
        width: 4px;
        height: 4px;
        bottom: 1px;
    }
}