@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;700;900&family=Assistant:wght@300;400;500;700;900&family=Alef:wght@300;400;500;700;900&display=swap');

:root {
    --bg-body: #0F172A; /* Dark background base */
    --bg-surface: rgba(255, 255, 255, 0.05); /* Semi-transparent white for cards */
    --primary: #60A5FA; /* Lighter blue for dark mode */
    --primary-dark: #3B82F6;
    --primary-light: rgba(59, 130, 246, 0.2);
    --text-main: #F8FAFC; /* White/Off-white */
    --text-secondary: #CBD5E1; /* Light gray */
    --text-muted: #94A3B8;
    --border: rgba(255, 255, 255, 0.1);
    --accent-gradient: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    /* Spacing */
    --radius-md: 8px;
    --radius-lg: 16px;
    --container-width: 1200px;
}

.faq-section { padding: 100px 0; max-width: 800px; margin: 0 auto; }
.faq-title { text-align: center; margin-bottom: 60px; }

.accordion-item { border-bottom: 1px solid #d2d2d7; }

.accordion-header {
    width: 100%; padding: 24px 0;
    background: none; border: none;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 19px; font-weight: 600; color: var(--text-main);
    cursor: pointer; text-align: right;
}

.accordion-header:hover { color: var(--primary); }

.accordion-header .icon { 
    font-size: 24px; font-weight: 300; transition: transform 0.3s; 
}

.accordion-header[aria-expanded="true"] .icon { transform: rotate(45deg); }

.accordion-content {
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

.accordion-content p { padding-bottom: 24px; color: #86868b; line-height: 1.6; }

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rubik', 'Assistant', 'Alef', 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; /* System fonts first */
    background-color: var(--bg-body);
    /* background handled per section (hero / features / before-after / integration) */
    color: var(--text-main);
    letter-spacing: -0.016em; /* Tight tracking */
    line-height: 1.6;
    direction: rtl;
    -webkit-font-smoothing: antialiased; /* Critical for smooth text */
    scroll-snap-type: y mandatory;
}

h1 {
    font-size: 56px; /* Bigger */
    line-height: 1.05;
    letter-spacing: -0.025em; /* Tighter title */
    font-weight: 700;
    color: #ffffff; /* Pure white */
}

h2 {
    font-size: 40px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.before-after {
    padding: 100px 0;
    background: transparent;
    min-height: 100vh;
    background-image: url('third.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.ba-wrapper {
    max-width: 960px;
    margin: 0 auto;
}


/* --- Enhanced Before/After Visuals --- */
.ba-visual {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: #0f172a; /* Dark slate background base */
    box-shadow: 0 24px 60px -20px rgba(15, 23, 42, 0.4);
    height: 400px; /* Fixed height for consistency */
}

.ba-panel {
    position: absolute;
    inset: 0;
    padding: 40px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.ba-before {
    background: #f1f5f9; /* Light messy background */
    color: #334155;
}

.ba-after {
    background: #ffffff;
    color: #0f172a;
    right: 0;
    left: auto;
    width: var(--ba-position, 50%);
    border-left: 1px solid rgba(0,0,0,0.1); /* Divider line */
    box-shadow: -5px 0 20px rgba(0,0,0,0.1); /* Shadow for depth */
    z-index: 2;
}

/* Content container inside panels */
.ba-content-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

/* --- Noisy "Before" Elements --- */
.chaos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    position: relative;
}

.chaos-item {
    background: #cbd5e1;
    height: 60px;
    border-radius: 8px;
}

.chaos-ad {
    grid-column: span 2;
    background: linear-gradient(135deg, #ef4444, #f97316);
    height: 80px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 14px;
    animation: pulse 2s infinite;
}

.chaos-ad::after {
    content: 'פרסומת!';
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0,0,0,0.3);
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
}

.chaos-popup {
    position: absolute;
    bottom: -10px;
    left: 10%;
    width: 80%;
    height: 60px;
    background: #3b82f6;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    transform: rotate(-3deg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* --- Calm "After" Elements --- */
.clean-layout {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.clean-header {
    height: 40px;
    width: 60%;
    background: #e2e8f0;
    border-radius: 8px;
}

.clean-text {
    height: 12px;
    width: 100%;
    background: #f1f5f9;
    border-radius: 4px;
}

.clean-text.short { width: 80%; }
.clean-text.medium { width: 90%; }

.clean-btn {
    margin-top: auto;
    width: 140px;
    height: 40px;
    background: #2563eb;
    border-radius: 8px;
}

/* Slider styling remains similar but refined */
.ba-slider {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    width: calc(100% - 40px);
    z-index: 10;
    margin: 0;
}

/* --- Professional Footer --- */
.site-footer {
    background: rgba(15, 23, 42, 0.8);
    border-top: 1px solid var(--border);
    padding: 80px 0 40px;
    font-size: 15px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 16px;
    max-width: 300px;
}

.footer-col h4 {
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-main);
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid #e2e8f0;
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 14px;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .footer-brand p { margin: 16px auto; }
    .footer-bottom { flex-direction: column; gap: 16px; }
    .ba-visual { height: 500px; } /* Taller on mobile for content */
}

.ba-slider::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: #2563eb;
    box-shadow: 0 0 0 4px rgba(37,99,235,0.25);
    cursor: pointer;
}

.ba-slider::-webkit-slider-runnable-track {
    height: 4px;
    background: rgba(148, 163, 184, 0.5);
    border-radius: 999px;
}

.ba-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: #2563eb;
    box-shadow: 0 0 0 4px rgba(37,99,235,0.25);
    border: none;
    cursor: pointer;
}

.ba-slider::-moz-range-track {
    height: 4px;
    background: rgba(148, 163, 184, 0.5);
    border-radius: 999px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    gap: 8px;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    border-color: var(--border);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--text-main);
}

.btn-sm {
    padding: 6px 16px;
    font-size: 14px;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 18px;
}

/* Header */
.site-header {
    background: rgba(15, 23, 42, 0.5); /* Semi-transparent dark */
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
}

.nav-content {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative; /* allow absolute-positioned logo */
}

.logo {
    font-weight: 900;
    font-size: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
    flex-direction: row;
}

.site-header .logo {
    position: absolute;
    left: 0;
    right: auto;
    top: 50%;
    transform: translateY(-50%);
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: #ffffff; /* Solid white box so it pops on dark header */
    color: #2563eb;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* Prevent shrinking */
}

.logo-icon svg {
    width: 24px;
    height: 24px;
    stroke: #2563eb; /* Force visible blue stroke instead of currentColor */
}

.logo-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain; /* fit logo.jpeg nicely inside the box */
}

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

.nav-links {
    display: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    margin: 0 16px;
    transition: color 0.2s;
}

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

@media (min-width: 768px) {
    .nav-links { display: block; }
}

/* Hero */
.hero {
    padding: 80px 0;
    overflow: hidden;
    position: relative;
    min-height: 100vh;
    background-image: url('first.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    scroll-snap-align: start;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 560px;
    padding: 32px 36px;
    border-radius: 24px;
    background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.5), transparent 55%), rgba(15, 23, 42, 0.9);
    box-shadow: var(--shadow-lg);
}

@media (min-width: 992px) {
    .hero-grid { grid-template-columns: 1fr 1fr; }
}

.badge-pill {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 42px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.text-gradient {
    background: linear-gradient(180deg, #ffffff 0%, #94a3b8 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid rgba(148, 163, 184, 0.5);
    padding-top: 32px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-item strong {
    font-size: 20px;
    color: #ffffff;
}

.stat-item span {
    font-size: 14px;
    color: rgba(226, 232, 240, 0.9);
}

/* New Hero Mockup */
.hero-mockup {
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    padding: 0;
    overflow: hidden;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    position: relative;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.hero-mockup:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

.mockup-header {
    background: #F8FAFC;
    padding: 20px;
    border-bottom: 1px solid #E2E8F0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mockup-title { font-weight: 700; color: var(--text-main); }
.mockup-badge { font-size: 12px; background: #E2E8F0; padding: 2px 8px; border-radius: 10px; color: var(--text-secondary); }

.mockup-body { padding: 20px; display: flex; flex-direction: column; gap: 16px; }

.mockup-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    transition: background 0.2s;
}

.mockup-row:hover { background: #F1F5F9; }

.mockup-icon-box {
    width: 40px; height: 40px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

.mockup-text { flex-grow: 1; display: flex; flex-direction: column; gap: 6px; }
.mockup-line { height: 8px; border-radius: 4px; background: #E2E8F0; }
.mockup-line.lg { width: 70%; }
.mockup-line.sm { width: 40%; }

.mockup-toggle {
    width: 40px; height: 22px; background: #E2E8F0; border-radius: 20px;
    position: relative; transition: 0.3s;
}
.mockup-toggle::after {
    content: ''; position: absolute; top: 2px; left: 2px;
    width: 18px; height: 18px; background: white; border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1); transition: 0.3s;
}
.mockup-toggle.active { background: var(--primary); }
.mockup-toggle.active::after { transform: translateX(18px); }

.floating-badge {
    position: absolute;
    bottom: 30px; left: -20px;
    background: white; padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    font-weight: 600; font-size: 14px;
    display: flex; align-items: center; gap: 8px;
    animation: float 4s ease-in-out infinite;
}
.check-icon {
    background: #10b981; color: white; width: 20px; height: 20px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px;
}

/* Floating UI Elements */
.float-ui {
    position: absolute;
    background: white;
    padding: 10px 16px;
    border-radius: 100px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid var(--border);
    animation: float 4s ease-in-out infinite;
}

.ui-1 { top: 20%; left: -20px; color: var(--primary); animation-delay: 0s; }
.ui-2 { bottom: 20%; right: -20px; color: #7C3AED; animation-delay: 2s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Section headers (shared) */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    padding: 24px 32px;
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.9);
    box-shadow: var(--shadow-lg);
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
}

/* --- Apple Bento Grid Section --- */
.bento-section {
    padding: 100px 0;
    background-color: transparent;
    min-height: 100vh;
    background-image: url('second.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.bento-grid {
    display: grid;
    /* שיטת 12 העמודות לדיוק מירבי */
    grid-template-columns: repeat(12, 1fr);
    /* גובה שורות קבוע כדי למנוע עקימות */
    grid-template-rows: 320px 320px; 
    gap: 24px;
    width: 100%;
}

/* --- Card Base Styles --- */
.bento-card {
    background: rgba(15, 23, 42, 0.9); /* Darker glass for contrast on bright backgrounds */
    backdrop-filter: blur(10px);
    border-radius: 32px; /* פינות עגולות מאוד כמו באייפון */
    padding: 40px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(255,255,255,0.1);
    /* צל רך ויוקרתי */
    box-shadow: 0 18px 40px -15px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.bento-card:hover {
    transform: translateY(-5px) scale(1.01);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.3);
}

.bento-content {
    z-index: 2;
    position: relative;
}

.bento-content h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

.bento-content p {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.5;
    font-weight: 500;
    max-width: 90%;
}

/* --- Specific Card Layouts (RTL) --- */

/* Card 1: Adaptation (Top Right - Wide) */
.card-adaptation {
    grid-column: span 8; /* תופס 8 מתוך 12 עמודות */
}

.adaptation-visual {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
}
.ui-blur {
    position: absolute;
    bottom: -50px; left: -50px;
    width: 300px; height: 300px;
    background: linear-gradient(135deg, #007AFF, #5AC8FA);
    filter: blur(80px);
    opacity: 0.2;
    border-radius: 50%;
}

/* Card 2: Zero Latency (Left - Tall) */
.card-speed {
    grid-column: span 4; /* תופס 4 מתוך 12 עמודות */
    grid-row: span 2;     /* תופס 2 שורות גובה */
}

.dark-mode {
    background: #1D1D1F;
    color: #F5F5F7;
}
.dark-mode h3 { color: #FFFFFF; }
.dark-mode p { color: #A1A1A6; }

.icon-circle {
    width: 56px; height: 56px;
    background: #323232;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #FFD60A; /* Apple Yellow */
    margin-bottom: 24px;
}

.speed-visual {
    margin-top: auto;
}
.speed-bar {
    height: 6px; width: 100%;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}
.speed-bar::after {
    content: ''; position: absolute; top: 0; right: 0;
    height: 100%; width: 95%;
    background: #30D158; /* Apple Green */
    border-radius: 10px;
}
.speed-number {
    font-size: 48px; font-weight: 800; color: #30D158;
    margin-top: 16px; letter-spacing: -1px;
}

/* Card 3: Compliance (Bottom Right - Small) */
.card-compliance {
    grid-column: span 4;
}

.check-badge {
    width: 64px; height: 64px;
    background: #E8FCF0; color: #009945;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    align-self: flex-end;
}



/* Card 4: Dark Mode (Bottom Center - Medium) */
.card-darkmode {
    grid-column: span 4;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.card-darkmode.is-dark {
    background: #1D1D1F;
    color: #FFFFFF;
}

.card-darkmode.is-dark h3 { color: #FFFFFF; }
.card-darkmode.is-dark p { color: #A1A1A6; }

.ios-toggle {
    width: 64px; height: 38px;
    background: #E9E9EB; /* Default Off */
    border-radius: 30px;
    padding: 3px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
    transition: background 0.3s ease;
}

.ios-toggle.active {
    background: #34C759;
}

.knob {
    width: 32px; height: 32px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transform: translateX(0);
    transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.ios-toggle.active .knob {
    transform: translateX(-26px); /* RTL slide */
}


/* --- Mobile Responsive Fixes --- */
@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: 1fr; /* טור אחד במובייל */
        grid-template-rows: auto;   /* גובה אוטומטי */
        gap: 20px;
    }
    
    .card-adaptation, .card-speed, .card-compliance, .card-darkmode {
        grid-column: auto;
        grid-row: auto;
        min-height: 300px; /* גובה מינימלי לכל כרטיס */
    }
    
    /* הופכים את סדר הכרטיסים במובייל אם צריך */
    .card-speed { order: -1; } /* שהמהירות תהיה ראשונה במובייל */
}

/* Features Wall Section */
.all-features {
    padding: 100px 0;
    background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 100%);
    border-top: 1px solid var(--border);
}

.features-wall-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.wall-category h4 {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-light);
}

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

.wall-list li {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s ease;
}

.wall-list li:hover {
    transform: translateX(-5px);
    color: var(--primary);
}

.wall-list li .check {
    color: #10b981; /* Success Green */
    font-weight: 800;
    font-size: 12px;
    background: rgba(16, 185, 129, 0.1);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Mobile Adjustments for Features Wall */
@media (max-width: 768px) {
    .features-wall-grid {
        grid-template-columns: 1fr; /* עמודה אחת במובייל */
        gap: 30px;
    }
    
    .wall-category {
        background: white;
        padding: 20px;
        border-radius: 12px;
        border: 1px solid var(--border);
        box-shadow: var(--shadow-sm);
    }
}

/* Integration */
.integration {
    padding: 100px 0;
    background: transparent;
    min-height: 100vh;
    background-image: url('forth.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.contact-section {
    padding: 80px 0 100px;
    background: radial-gradient(circle at top, rgba(15, 23, 42, 0.95), #020617 60%);
}

.contact-form {
    max-width: 720px;
    margin: 0 auto;
    background: rgba(15, 23, 42, 0.96);
    border-radius: 24px;
    padding: 32px 28px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    width: 100%;
}

.form-row-inline {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.field-group {
    flex: 1 1 0;
}

.contact-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 15px;
    color: var(--text-secondary);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(15, 23, 42, 0.9);
    color: var(--text-main);
    padding: 10px 14px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-muted);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.4);
    background: rgba(15, 23, 42, 1);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 26px;
}

.checkbox-label {
    font-size: 15px;
    color: var(--text-secondary);
}

.inline-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.inline-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.form-actions {
    display: flex;
    justify-content: flex-start;
    margin-top: 8px;
}

.contact-status {
    font-size: 14px;
    color: var(--text-secondary);
    min-height: 20px;
}

@media (max-width: 768px) {
    .contact-form {
        padding: 24px 20px;
    }

    .form-row-inline {
        flex-direction: column;
        gap: 12px;
    }
}

/* Snap-like slide transitions between the four main sections */
.hero,
.bento-section,
.before-after,
.integration {
    scroll-snap-align: start;
}

.code-panel {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(30, 41, 59, 0.7); /* Dark grey with transparency */
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--border);
}

.code-header {
    padding: 40px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.code-header h3 {
    font-size: 28px;
    margin-bottom: 8px;
}

.code-window {
    background: #0f172a; /* Darker background for code block */
    padding: 24px;
    margin: 0 40px 40px;
    border-radius: 8px;
    position: relative;
    border: 1px solid rgba(255,255,255,0.1);
}

.window-controls {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
}

.window-controls span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #334155;
}

.code-content pre {
    margin: 0;
    font-family: 'Fira Code', monospace;
    color: #e2e8f0;
    font-size: 14px;
    overflow-x: auto;
    direction: ltr;
    text-align: left;
}

.comment { color: #64748b; }
.tag { color: #f472b6; }
.attr { color: #93c5fd; }
.val { color: #86efac; }

.btn-copy {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-copy:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.4);
}

.integration-note {
    text-align: center;
    padding: 0 20px 30px;
    color: var(--text-secondary);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.inline-code {
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--primary);
    font-family: monospace;
}

/* Old footer styles removed, new footer styles are in the block above */

/* Mobile Menu Styles */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-main);
    transition: 0.3s;
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for grids */
.grid-3 .feature-card:nth-child(2) { transition-delay: 0.1s; }
.grid-3 .feature-card:nth-child(3) { transition-delay: 0.2s; }

/* Mobile */
@media (max-width: 768px) {
    .mobile-menu-btn { display: flex; }
    
    .nav-content {
        position: relative;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        border-bottom: 1px solid var(--border);
        /* Hide by default */
        display: none; 
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }

    .nav-links.active {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links a {
        padding: 15px 0;
        border-bottom: 1px solid var(--bg-body);
        width: 100%;
        text-align: center;
        margin: 0;
    }

    .hero h1 { font-size: 32px; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .footer-content { flex-direction: column; gap: 16px; text-align: center; }
    .code-window { margin: 0 20px 20px; }
    .visual-card { display: none; } /* Hide complex visual on small screens */
    .hero-content { text-align: center; }
    .hero-actions { justify-content: center; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
}
/* תוספות עבור ה-JavaScript */

/* 1. Sticky Header Effect */
.site-header {
    transition: all 0.3s ease;
}

.site-header.scrolled {
    background: rgba(15, 23, 42, 0.95);
    box-shadow: var(--shadow-md);
    padding-top: 0; /* אופציונלי: הקטנת ה-Header בגלילה */
}

/* 2. Copy Button Success State */
.btn-copy {
    min-width: 100px; /* מונע קפיצה של הטקסט כשהוא משתנה */
}

.btn-copy.copied {
    background: rgba(16, 185, 129, 0.2); /* ירוק בהיר */
    color: #10B981; /* ירוק */
    border: 1px solid #10B981;
}

/* 3. שיפור נגישות לפוקוס (Focus Ring) */
button:focus-visible, a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}