:root {
    /* Minimalistic Color Palette */
    --bg-dark: #ffffff;
    /* Clean white background */
    --bg-card: rgba(68, 98, 181, 0.05);
    --text-main: #1a1a1a;
    --text-muted: #666666;

    --accent-blue: #4462b5;
    /* Primary accent color */
    --accent-light: #5a7dd4;
    /* Lighter variant */
    --accent-dark: #2f4580;
    /* Darker variant */

    /* Gradients */
    --grad-main: linear-gradient(135deg, #4462b5, #5a7dd4);
    --grad-subtle: linear-gradient(135deg, rgba(68, 98, 181, 0.1), rgba(90, 125, 212, 0.05));

    /* Typography */
    --font-heading: 'Heebo', sans-serif;
    --font-body: 'Heebo', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Aesthetic */
    --radius-card: 16px;
    --radius-btn: 50px;
    --glow-shadow: 0 0 20px rgba(68, 98, 181, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

[id="main-content"],
[id="contact"],
#how-it-works {
    scroll-margin-top: 1rem;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 50%, #e8f0ff 100%);
    background-attachment: fixed;
}

img,
video {
    max-width: 100%;
    height: auto;
}

iframe {
    max-width: 100%;
}

@media (max-width: 768px) {
    body {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 0.92rem;
    }
    .section-title {
        font-size: 1.6rem;
    }
}

/* נגישות ת"י 5568 – דילוג לתוכן ופוקוס נראה */
.skip-link {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.75rem 1.5rem;
    background: var(--accent-blue);
    color: white;
    font-weight: 700;
    z-index: 10000;
    clip-path: inset(0 0 0 0);
    clip: rect(0 0 0 0);
    overflow: hidden;
    border: none;
    border-radius: 0 0 0 8px;
}
.skip-link:focus {
    clip-path: none;
    clip: auto;
    outline: 3px solid var(--accent-dark);
    outline-offset: 2px;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* פוקוס נראה – מקלדת בלבד (לא לחיצה) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}
a:focus,
button:focus {
    outline: none;
}
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
    outline: none;
}

/* Interactive flowing background canvas */
#particles-canvas {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    display: block;
    pointer-events: none;
    z-index: 0;
    opacity: 0.16; /* gentler */
    mix-blend-mode: soft-light;
}

@media (max-width: 768px) {
    #particles-canvas {
        opacity: 0.1;
    }
}

/* If user enables reduce motion in the a11y widget, hide the animation */
body.a11y-reduce-motion #particles-canvas {
    display: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 900;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-lg);
    text-align: center;
    color: var(--text-main);
    font-weight: 900;
    letter-spacing: -1px;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: var(--accent-blue);
    color: white;
    padding: 1.2rem 3rem;
    border-radius: var(--radius-btn);
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 12px rgba(68, 98, 181, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(68, 98, 181, 0.3);
    background: var(--accent-dark);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}

.hero-cta-wrapper {
    text-align: center;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.hero-widget-btn {
    display: inline-block;
    padding: 1rem 1.75rem;
    border-radius: var(--radius-btn);
    font-weight: 700;
    font-size: 1rem;
    color: var(--accent-blue);
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--accent-blue);
    box-shadow: 0 2px 12px rgba(68, 98, 181, 0.15);
    transition: all 0.3s ease;
    text-decoration: none;
}

.hero-widget-btn:hover {
    background: var(--accent-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(68, 98, 181, 0.25);
}

/* Square version of hero widget button */
.hero-widget-btn--square {
    border-radius: 12px;
    padding: 1.25rem 2.75rem;
    font-size: 1.1rem;
    font-weight: 700;
    width: 100%;
    max-width: 340px;
    text-align: center;
    background: var(--accent-blue);
    color: #fff;
    border-color: var(--accent-blue);
}

.btn-nav {
    border: 1px solid var(--accent-blue);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    color: var(--accent-blue);
}

.btn-nav:hover {
    background: var(--accent-blue);
    color: white;
}

/* Navbar */
.navbar {
    display: none;
    /* Hidden per user request */
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: -1px;
}

/* Hero Section - Centered Layout */
.hero-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem var(--spacing-md);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1000px;
    width: 100%;
    text-align: center;
    z-index: 2;
}

.hero-content {
    text-align: center;
    max-width: 800px;
}

.hero-title {
    font-size: clamp(2.1rem, 4.5vw, 3.25rem);
    line-height: 1.25;
    margin-bottom: 1.5rem;
    font-weight: 900;
    color: #000 !important;
    letter-spacing: -0.02em;
}

.hero-title-line {
    display: inline-block;
    position: relative;
    padding: 0 0.2rem;
    font-size: clamp(2.45rem, 5.2vw, 3.6rem);
}

.hero-title-line::after {
    content: '';
    position: absolute;
    left: -3%;
    right: -3%;
    bottom: 0.05em;
    height: 0.5em;
    background: var(--accent-blue);
    transform: skewX(-8deg);
    z-index: -1;
}

.hero-title .highlight {
    color: var(--accent-blue);
}

.hero-subtitle {
    font-size: clamp(1rem, 2.2vw, 1.1rem);
    color: #1a1a1a;
    margin-bottom: var(--spacing-md);
    max-width: 580px;
    font-weight: 400;
    line-height: 1.75;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1024px) {
    .hero-section {
        padding: 4rem var(--spacing-md);
    }
    .hero-content {
        max-width: 720px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 3rem 1rem;
    }
    .hero-content {
        max-width: 100%;
    }
    .hero-subtitle {
        max-width: 100%;
    }
    .hero-buttons {
        margin-top: 2rem;
    }
    .hero-visuals {
        gap: 1.25rem;
    }
    .hero-widget-btn--square {
        min-width: 0;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 2.5rem 0.75rem;
    }
    .hero-title {
        font-size: clamp(1.3rem, 6vw, 1.5rem);
    }
    .hero-title-line {
        white-space: nowrap;
        font-size: clamp(1.5rem, 5.8vw, 1.7rem);
    }
    .hero-title-line::after {
        height: 0.5rem;
    }
    .hero-buttons {
        gap: 0.75rem;
        width: 100%;
    }
    .hero-buttons .btn-primary,
    .hero-buttons .hero-widget-btn {
        width: 100%;
        max-width: 360px;
    }
    .process-cta .btn-primary {
        font-size: 0.95rem;
        padding: 0.85rem 1.25rem;
        white-space: nowrap;
        width: auto;
    }
}

/* 3D Floating Screens Area - 3 photos in a row */
.hero-visuals {
    position: relative;
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: var(--spacing-lg);
    flex-wrap: wrap;
}

/* Floating CRM Screens section (moved from hero) */
.crm-screens-section {
    padding: var(--spacing-xl) 0;
}

.crm-screens-section .hero-visuals {
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
}

.floating-screen {
    position: relative;
    width: clamp(220px, 26vw, 300px);
    max-width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
}

.floating-screen:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(68, 98, 181, 0.15);
}

.floating-screen img {
    width: 100%;
    height: auto;
    display: block;
}

/* Screen Positions - All in a row */
.screen-1 {
    border: 2px solid var(--accent-blue);
}

.screen-2 {
    border: 2px solid var(--accent-blue);
}

.screen-3 {
    border: 2px solid var(--accent-blue);
}

/* Subtle Shapes for minimalistic design */
.neon-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
}

.shape-1 {
    top: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: var(--accent-blue);
    opacity: 0.15;
}

.shape-2 {
    bottom: 10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: var(--accent-blue);
    opacity: 0.12;
}

/* --- Process Tabs Section --- */
.timeline-section {
    padding: var(--spacing-xl) 0 1rem;
    position: relative;
}

/* CTA right after "איך התהליך עובד?" */
.process-cta {
    text-align: center;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
}

.timeline-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.process-tabs {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 3rem;
    padding: 0 2rem;
}

.glowing-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,
            transparent,
            var(--accent-blue),
            var(--accent-light),
            var(--accent-blue),
            transparent);
    box-shadow: none;
    transform: translateY(-50%);
    z-index: 0;
}

.tab-item {
    position: relative;
    z-index: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    background: none;
    font: inherit;
    padding: 0;
    color: inherit;
}
.tab-item .visually-hidden {
    pointer-events: none;
}

.tab-icon {
    width: 60px;
    height: 60px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.tab-item:hover .tab-icon,
.tab-item.active .tab-icon {
    border-color: var(--accent-blue);
    box-shadow: 0 4px 12px rgba(68, 98, 181, 0.2);
    transform: scale(1.1);
    background: white;
}

.tab-item.active .tab-icon {
    background: var(--accent-blue);
    color: white;
    border-color: var(--accent-blue);
}

/* Tab Content */
.process-content-area {
    background: rgba(68, 98, 181, 0.03);
    border: 1px solid rgba(68, 98, 181, 0.1);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.tab-content {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    animation: fadeIn 0.5s ease;
    width: 100%;
}

.tab-content.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-badge {
    display: inline-block;
    background: var(--accent-blue);
    color: white;
    font-size: 0.9rem;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-weight: bold;
}

.tab-content h3 {
    font-size: 2rem;
    color: var(--text-main);
    margin: 0;
}

.tab-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.6;
}

/* Process step arrows – mobile only */
.process-step-arrows {
    display: none;
}

@media (max-width: 768px) {
    .process-step-arrows {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        margin-top: 1.5rem;
    }

    .process-step-arrow {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        border: 2px solid var(--accent-blue);
        background: white;
        color: var(--accent-blue);
        font-size: 1.25rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.2s, color 0.2s, transform 0.2s;
        -webkit-tap-highlight-color: transparent;
    }

    .process-step-arrow:hover,
    .process-step-arrow:focus {
        background: var(--accent-blue);
        color: white;
        transform: scale(1.05);
    }

    .process-step-arrow:disabled {
        opacity: 0.4;
        cursor: not-allowed;
        pointer-events: none;
    }

    .process-tabs {
        flex-wrap: wrap;
        padding: 0 1rem;
        justify-content: center;
        gap: 1rem;
        align-items: center;
    }

    /* Small lines between icons (mobile) */
    .process-tabs .tab-item:not(:last-child)::after {
        content: '';
        position: absolute;
        left: -0.55rem;
        top: 50%;
        transform: translateY(-50%);
        width: 10px;
        height: 2px;
        background: rgba(68, 98, 181, 0.35);
        border-radius: 1px;
    }

    .glowing-line {
        display: none;
    }

    .tab-item {
        flex: 0 0 auto;
    }

    .tab-icon {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }

    .process-content-area {
        flex-direction: column;
        padding: 1.5rem;
        min-height: 0;
    }

    .process-content-area .tab-content.active {
        flex: 1 1 auto;
    }

    .tab-content h3 {
        font-size: 1.5rem;
    }

    .tab-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .process-tabs {
        gap: 0.75rem;
    }

    .tab-icon {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
}

/* Problem Section */
.problem-section {
    padding: var(--spacing-xl) 0;
    background: transparent;
}


.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.problem-card {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-card);
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Spotlight Effect Container */
.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-card);
    padding: 1px;
    background: radial-gradient(600px circle at var(--mouse-x, 0) var(--mouse-y, 0),
            rgba(255, 255, 255, 0.4),
            transparent 40%);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.problem-card:hover::before {
    opacity: 1;
}

/* --- Security Section --- */
.security-section {
    padding: var(--spacing-xl) 0;
    background: transparent;
}

.security-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.security-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.sec-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.sec-card:hover {
    border-color: var(--accent-blue);
    background: white;
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(68, 98, 181, 0.15);
}

.sec-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.sec-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--text-main);
}

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

/* --- Before vs After Section --- */
.before-after-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 50%, #e8f0ff 100%);
    background-attachment: fixed;
}

.before-after-section .section-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.before-after-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-lg);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.before-after-widget {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 420px;
}

/* Before: single flat screenshot, regular image size */
.before-side {
    flex: 0 1 560px;
    max-width: 560px;
    display: flex;
    flex-direction: column;
}

.before-after-label {
    display: inline-block;
    padding: 0.6rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #555;
    background: #f0f0f0;
    text-align: center;
    border-radius: 10px 10px 0 0;
}

.before-after-label.after-label {
    color: #fff;
    background: var(--accent-blue);
}

/* Before: stacked images (same style as After) */
.before-cards-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
    flex: 1;
    padding: 1.5rem 1rem;
}

.before-card {
    flex: 0 0 auto;
    width: 100%;
    max-width: 560px;
    position: relative;
    transition: transform 0.25s ease;
}

.before-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
    box-shadow: none;
}

.before-after-zoom {
    display: block;
    width: 100%;
    border: none;
    background: transparent;
    padding: 0;
    cursor: zoom-in;
}

.before-after-zoom img {
    display: block;
    width: 100%;
    height: auto;
}

.before-card:hover {
    transform: translateY(-4px);
}

/* After: floating overlapping 3D cards, regular image size */
.after-side {
    flex: 0 1 auto;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.after-cards-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
    position: relative;
    min-height: 0;
    flex: 1;
    padding: 1.5rem 1rem;
}

.after-card {
    flex: 0 0 auto;
    width: 100%;
    max-width: 560px;
    position: relative;
    transition: transform 0.25s ease;
}

.after-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
    box-shadow: none;
}

.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 12, 18, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
    z-index: 2000;
    padding: 2rem 1rem;
}

.lightbox-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.lightbox-image {
    max-width: min(1200px, 92vw);
    max-height: 86vh;
    width: auto;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.lightbox-close {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1.6rem;
    cursor: pointer;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

body.lightbox-open {
    overflow: hidden;
}

.after-card:hover {
    transform: translateY(-4px);
}

.before-after-caption {
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    text-align: center;
    margin: 0;
    border-top: 1px solid #eee;
}

.before-side .before-after-caption {
    background: #fff;
}

.after-side .before-after-caption {
    border-top: none;
}

.before-after-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.5rem;
    min-width: 48px;
    flex-shrink: 0;
}

.before-after-arrow {
    font-size: 2rem;
    color: var(--accent-blue);
    font-weight: 700;
}

@media (max-width: 1024px) {
    .before-after-widget {
        flex-direction: column;
        gap: 1.75rem;
        min-height: 0;
    }
    .before-after-divider .before-after-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 768px) {
    .before-after-widget {
        flex-direction: column;
        gap: 1.5rem;
        min-height: 0;
    }
    .before-side {
        max-width: 100%;
        flex: 1 1 auto;
    }
    .after-side {
        min-width: 0;
        width: 100%;
    }
    .before-cards-wrap {
        padding: 1rem;
        gap: 1rem;
    }
    .before-card {
        max-width: 100%;
    }
    .before-after-divider .before-after-arrow {
        transform: rotate(90deg);
    }
    .after-cards-wrap {
        flex-direction: column;
        gap: 1rem;
        min-height: 0;
        padding: 1rem;
    }
    .after-card {
        max-width: 100%;
        flex: 1 1 auto;
    }
    .after-card:hover {
        transform: translateY(-4px);
    }
}

@media (max-width: 480px) {
    .before-after-section {
        padding: 4rem 0;
        background-attachment: scroll;
    }
    .before-after-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }
    .before-after-widget {
        gap: 1.25rem;
    }
    .before-after-label {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
}

/* --- Analytics Dashboard Section (הגיע הזמן להיות במעקב על) --- */
.analytics-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 50%, #e8f0ff 100%);
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.analytics-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.analytics-content {
    flex: 0 1 420px;
    min-width: 0;
}

.analytics-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-main);
    line-height: 1.3;
    margin-bottom: 2rem;
}

.analytics-title-highlight {
    color: var(--accent-blue);
}

.analytics-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.analytics-list-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.analytics-item-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.analytics-item-text {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-main);
}

/* Dashboard visuals – floating, spread cards (more to the left) */
.analytics-visuals {
    flex: 0 1 650px;
    min-width: 0;
    position: relative;
    min-height: 480px;
    perspective: 1200px;
}

.analytics-dashboard-stack {
    position: relative;
    width: 100%;
    height: 480px;
    transform-style: preserve-3d;
}

.analytics-dashboard-card {
    position: absolute;
    width: 260px;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.12),
        0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    cursor: pointer;
}

.analytics-dashboard-card img {
    width: 100%;
    height: auto;
    display: block;
}

.analytics-dashboard-card.card-1 {
    top: 0;
    left: 0;
    transform: rotate(-5deg) translateZ(0);
    z-index: 3;
    animation: float-card-1 6s ease-in-out infinite;
}

.analytics-dashboard-card.card-2 {
    top: 60px;
    left: 280px;
    transform: rotate(4deg) translateZ(0);
    z-index: 2;
    animation: float-card-2 7s ease-in-out infinite;
}

.analytics-dashboard-card.card-3 {
    top: 200px;
    left: 100px;
    transform: rotate(-3deg) translateZ(0);
    z-index: 1;
    animation: float-card-3 8s ease-in-out infinite;
}

.analytics-dashboard-card:hover {
    z-index: 10 !important;
    transform: rotate(0deg) scale(1.08) translateZ(20px) !important;
    box-shadow:
        0 24px 64px rgba(0, 0, 0, 0.15),
        0 0 0 2px rgba(68, 98, 181, 0.2);
}

@keyframes float-card-1 {
    0%, 100% { transform: rotate(-4deg) translateY(0) translateZ(0); }
    50% { transform: rotate(-4deg) translateY(-12px) translateZ(10px); }
}

@keyframes float-card-2 {
    0%, 100% { transform: rotate(3deg) translateY(0) translateZ(0); }
    50% { transform: rotate(3deg) translateY(-8px) translateZ(8px); }
}

@keyframes float-card-3 {
    0%, 100% { transform: rotate(-2deg) translateY(0) translateZ(0); }
    50% { transform: rotate(-2deg) translateY(-10px) translateZ(6px); }
}

@media (max-width: 900px) {
    .analytics-container {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
    }

    .analytics-content {
        flex: 1;
        max-width: 100%;
    }

    .analytics-title {
        font-size: 2rem;
    }

    .analytics-list-item {
        justify-content: center;
    }

    .analytics-visuals {
        flex: 1;
        width: 100%;
        max-width: 450px;
        min-height: 380px;
        margin: 0 auto;
    }

    .analytics-dashboard-stack {
        height: 380px;
    }

    .analytics-dashboard-card {
        width: 180px;
    }

    .analytics-dashboard-card.card-1 {
        top: 0;
        left: 20px;
    }

    .analytics-dashboard-card.card-2 {
        top: 50px;
        left: 180px;
    }

    .analytics-dashboard-card.card-3 {
        top: 140px;
        left: 80px;
    }
}

@media (max-width: 480px) {
    .analytics-dashboard-card {
        width: clamp(120px, 40vw, 150px);
    }
    .analytics-visuals {
        min-height: 280px;
    }
    .analytics-dashboard-stack {
        height: 280px;
    }

    .analytics-dashboard-card.card-1 {
        left: 0;
    }

    .analytics-dashboard-card.card-2 {
        left: 52%;
    }

    .analytics-dashboard-card.card-3 {
        left: 18%;
    }
}

@media (max-width: 768px) {
    .analytics-section {
        padding: 4rem 0;
    }
    .analytics-visuals {
        min-height: 320px;
    }
    .analytics-dashboard-stack {
        height: 320px;
    }
}

/* --- CTA Section --- */
.cta-section {
    padding: var(--spacing-xl) 0;
}

.cta-card {
    background: var(--grad-main);
    border-radius: 24px;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: none;
    box-shadow: 0 8px 24px rgba(68, 98, 181, 0.2);
}

.shape-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0.3;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
    font-weight: 900;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.contact-form-inline {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.input-group input {
    padding: 1rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 1rem;
    width: 250px;
    transition: all 0.3s ease;
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* Phone input: keep numbers LTR, placeholder aligned RTL/right */
#contact-phone,
#contact-phone-mid {
    direction: ltr;
    text-align: right;
}

#contact-phone::placeholder,
#contact-phone-mid::placeholder {
    direction: rtl;
    text-align: right;
}

.input-group input:focus {
    border-color: white;
    background: rgba(255, 255, 255, 0.25);
}
.input-group input:focus-visible {
    outline: 2px solid white;
    outline-offset: 2px;
}

.small-note {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #ffffff !important;
    opacity: 1 !important;
    font-weight: 500;
}

@media (max-width: 768px) {
    .cta-section {
        padding: 4rem 0;
    }
    .cta-card {
        padding: 2.5rem 1.25rem;
    }
    .cta-title {
        font-size: 2rem;
    }
    .cta-subtitle {
        font-size: 1rem;
    }
    .contact-form-inline {
        flex-direction: column;
        align-items: stretch;
    }
    .contact-form-inline .btn-primary {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .security-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .security-text h2,
    .security-text p {
        text-align: center !important;
    }

    .contact-form-inline {
        flex-direction: column;
        align-items: center;
    }

    .input-group input {
        width: 100%;
    }
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(68, 98, 181, 0.15);
    background: white;
    border-color: var(--accent-blue);
}

.problem-card .icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    display: block;
    /* Removed drop-shadow for cleaner look */
}

.problem-card.full-width {
    grid-column: 1 / -1;
    text-align: center;
    background: linear-gradient(to right, var(--bg-card), #1a1a1a);
}

.solution-bridge {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: var(--spacing-md);
    background: rgba(109, 40, 217, 0.1);
    border-radius: 20px;
    border: 1px solid var(--accent-primary);
}

/* Benefits Section */
.benefits-section {
    padding: var(--spacing-xl) 0;
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-sm);
}

.benefits-list li {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    border-left: 3px solid var(--accent-secondary);
}

.check {
    color: var(--accent-secondary);
    font-weight: bold;
}

/* Process Section */
.process-section {
    padding: var(--spacing-xl) 0;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 30px;
    /* RTL alignment */
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.timeline-item {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.timeline-item .number {
    width: 60px;
    height: 60px;
    background: var(--bg-dark);
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-primary);
    z-index: 2;
    flex-shrink: 0;
}

.timeline-item .content {
    background: var(--bg-card);
    padding: var(--spacing-md);
    border-radius: 20px;
    flex: 1;
}

.project-duration {
    text-align: center;
    font-size: 1.2rem;
    margin-top: var(--spacing-md);
    color: var(--accent-secondary);
    font-weight: bold;
}

/* Why Me / About Section */
.why-me-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, transparent, rgba(68, 98, 181, 0.1), transparent);
}

.about-split-layout {
    display: flex;
    align-items: center;
    gap: 4rem;
    flex-direction: row-reverse;
    /* Photo Left, Text Right (RTL) */
    margin-top: 3rem;
}

.profile-photo-wrapper {
    flex: 0 0 40%;
    position: relative;
}

.profile-photo {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    object-fit: cover;
}

.about-content {
    flex: 1;
    text-align: right;
}

.about-content .lead-text {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--grad-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-blue);
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .why-me-section {
        padding: 4rem 0;
    }
    .why-me-section .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    .about-split-layout {
        gap: 1.5rem;
        margin-top: 1.5rem;
    }
    .profile-photo-wrapper {
        max-width: 320px;
    }
    .about-content {
        max-width: 100%;
    }
    .about-content .lead-text {
        font-size: 1.5rem;
    }
    .about-content h3 {
        font-size: 1.2rem;
    }
    .about-content p {
        font-size: 0.98rem;
        line-height: 1.5;
    }
}

@media (max-width: 900px) {
    .about-split-layout {
        flex-direction: column;
        gap: 2rem;
    }

    .profile-photo-wrapper {
        flex: 1;
        width: 100%;
        max-width: 400px;
    }

    .about-content {
        text-align: center;
    }
}

.subtitle {
    text-align: center;
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-lg);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.why-card {
    padding: var(--spacing-md);
    background: var(--bg-card);
    border-radius: 15px;
    text-align: center;
    font-size: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
    .security-section .section-title,
    .why-me-section .section-title {
        text-align: center !important;
    }
    .security-section {
        padding: 4rem 0;
    }
}

/* --- Problem Section (Redesigned) --- */
.problem-section {
    padding: var(--spacing-xl) 0;
    position: relative;
    background: transparent;
}

/* Situations Section */
.situations-section {
    padding: var(--spacing-lg) 0;
    background: #3f3f3f;
    color: #fff;
}

.situations-intro {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
    color: rgba(255, 255, 255, 0.85);
}

.situations-section .section-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: clamp(1.6rem, 3.2vw, 2.4rem);
    color: #fff;
}

.situations-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 980px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 2rem;
}

.situations-list li {
    position: relative;
    padding: 0.5rem 3rem 0.5rem 1.25rem;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    font-size: 1.02rem;
    line-height: 1.35;
    color: var(--text-main);
    text-align: right;
    border-right: 4px solid var(--accent-blue);
}

.situations-list li::before {
    content: '';
    position: absolute;
    right: 0.9rem;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid #111;
    border-bottom: 2px solid #111;
    transform: translateY(-50%) rotate(135deg);
    opacity: 0.6;
}

@media (max-width: 768px) {
    .situations-list {
        grid-template-columns: 1fr;
        gap: 0.9rem;
    }
    .situations-list li {
        font-size: 1rem;
        padding-right: 2.6rem;
    }
}

.split-layout {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.problem-content {
    flex: 1;
    text-align: right;
}

.highlight-text {
    font-size: 1.5rem;
    color: var(--accent-blue);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.pain-points-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.pain-points-list li {
    position: relative;
    padding-right: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.pain-points-list li::before {
    content: '•';
    color: var(--accent-blue);
    position: absolute;
    right: 0;
    font-weight: bold;
}

.closing-text {
    margin-top: 1.5rem;
    font-size: 1.2rem;
    color: var(--text-main);
    border-right: 3px solid var(--accent-blue);
    padding-right: 1rem;
}

/* Problem Visuals (Cards List) */
.problem-visuals {
    flex: 0 0 45%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.problem-list-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.problem-list-card:hover {
    transform: translateX(-10px);
    background: white;
    border-color: var(--accent-blue);
    box-shadow: 0 4px 16px rgba(68, 98, 181, 0.15);
}

.problem-list-card .card-icon {
    font-size: 1.5rem;
    background: rgba(255, 0, 0, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.problem-list-card h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-main);
    font-weight: 500;
}

@media (max-width: 768px) {
    .problem-section {
        padding: 4rem 0;
    }
    .split-layout {
        flex-direction: column;
        gap: 2rem;
    }
    .problem-content {
        text-align: right;
    }
    .problem-section > .container > .section-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
        text-align: center;
    }
    /* This one has inline styles; override for mobile */
    .problem-content .section-title {
        font-size: 1.6rem;
        margin-bottom: 0.75rem !important;
        line-height: 1.2;
    }
    .problem-content p {
        font-size: 0.95rem;
    }
    .highlight-text {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    .pain-points-list li {
        padding-right: 1.25rem;
        font-size: 1rem;
    }
    .closing-text {
        font-size: 1.05rem;
    }
    .problem-visuals {
        flex: 1 1 auto;
        width: 100%;
    }
    .problem-list-card {
        padding: 1.1rem;
        gap: 1rem;
        justify-content: space-between;
    }
    .problem-list-card .card-content {
        text-align: right;
        flex: 1;
    }
    .problem-list-card .card-icon {
        width: 42px;
        height: 42px;
        font-size: 1.25rem;
        flex-shrink: 0;
    }
    .problem-list-card h3 {
        font-size: 1rem;
    }
    /* Remove “slide” interaction on touch */
    .problem-list-card:hover {
        transform: none;
    }
}

@media (max-width: 480px) {
    .problem-section {
        padding: 3.5rem 0;
    }
    .problem-content .section-title {
        font-size: clamp(1.4rem, 6vw, 1.8rem);
        margin-bottom: 0.75rem !important;
        line-height: 1.25;
    }
    .problem-content p {
        font-size: 0.9rem;
    }
    .pain-points-list li {
        font-size: 0.95rem;
        padding-right: 0.75rem;
    }
    .problem-list-card {
        padding: 0.95rem;
        gap: 0.75rem;
    }
    .problem-list-card .card-icon {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
    .problem-list-card h3 {
        font-size: 0.95rem;
    }
    .highlight-text {
        font-size: 1.1rem;
    }
    .closing-text {
        font-size: 1rem;
    }
}

@media (max-width: 900px) {
    .split-layout {
        flex-direction: column;
        gap: 3rem;
    }

    .problem-content {
        text-align: center;
    }

    .section-title {
        text-align: center !important;
    }

    .pain-points-list li {
        padding-right: 0;
        text-align: center;
    }

    .pain-points-list li::before {
        display: none;
    }

    .closing-text {
        border-right: none;
        border-top: 3px solid var(--accent-blue);
        padding-top: 1rem;
        padding-right: 0;
    }
}

/* --- Video Testimonial Section --- */
.video-section {
    padding: var(--spacing-xl) 0;
    position: relative;
    background: transparent;
}

.video-section--ohad {
    padding-top: 2rem;
}

.shoval-title {
    text-align: center;
    margin-bottom: 2rem;
}

.video-layout {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.video-container-wrapper {
    flex: 0 0 45%;
    position: relative;
}

.video-section--ohad .video-container-wrapper {
    flex: 0 0 38%;
    margin-left: 2rem;
}

.video-section--shoval-main .video-container-wrapper {
    flex: 0 0 45%;
}

.video-section--shoval-main .video-frame {
    margin-right: 10rem;
}

.ohad-video-title {
    text-align: right;
    font-size: clamp(1.7rem, 2.6vw, 2.3rem);
    margin-bottom: 1.0rem;
}

/* Desktop: show title inside video-content, hide standalone */
.ohad-video-title--mobile {
    display: none;
}

.ohad-video-title--desktop {
    display: block;
}

.video-frame {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    background: #000;
    aspect-ratio: 9 / 16;
    max-height: 520px;
}

.video-frame video {
    display: block;
    width: 100%;
    height: auto;
}

.video-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-content {
    flex: 1;
    text-align: right;
}

.testimonial-quote {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--text-main);
    font-style: italic;
    border-right: 4px solid var(--accent-blue);
    padding-right: 2%;
    margin: 1.5rem 0;
    background: rgba(68, 98, 181, 0.05);
    padding: 1rem 1.5rem 1rem 0;
    border-radius: 0 10px 10px 0;
    text-align: right;
}

@media (max-width: 900px) {
    .video-layout {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .video-container-wrapper {
        order: 1;
        width: 100%;
        max-width: 320px;
        margin: 0 auto !important;
        /* Center video on mobile */
    }

    .video-section--shoval-main .video-frame {
        margin: 0 auto !important;
    }

    .video-frame {
        margin: 0 auto;
    }

    .video-content {
        order: 2;
        text-align: center;
    }

    .video-content .section-title {
        text-align: center !important;
    }
    .ohad-video-title--mobile {
        display: block;
        order: 0;
        width: 100%;
        text-align: center !important;
    }

    .ohad-video-title--desktop {
        display: none;
    }

    .testimonial-quote {
        border-right: none;
        border-top: 4px solid var(--accent-pink);
        padding-right: 0;
        padding-top: 1rem;
        text-align: center;
        background: linear-gradient(180deg, rgba(255, 62, 223, 0.1) 0%, transparent 100%);
    }
}

@media (max-width: 768px) {
    .video-section {
        padding: 4rem 0;
    }
    .video-layout {
        gap: 1.5rem;
    }
    .testimonial-quote {
        font-size: 1.05rem;
    }
    .ohad-video-title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    .video-frame {
        max-height: 420px;
    }
    .shoval-title {
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
    }
}

/* Shoval video testimonial (after איך התהליך עובד) – video right, quote widget left */
.video-section--shoval {
    padding: var(--spacing-lg) 0;
    background: linear-gradient(180deg, rgba(68, 98, 181, 0.04) 0%, transparent 100%);
}

.shoval-video-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.shoval-video-title {
    font-size: 1.85rem;
    margin-bottom: 2rem;
    color: var(--text-main);
}

.shoval-video-layout {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    gap: 2.5rem;
    text-align: right;
}

.shoval-video-side {
    flex: 0 1 480px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.shoval-video-wrap {
    width: 100%;
    max-width: 480px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    background: #000;
    aspect-ratio: 9 / 16;
    max-height: 100px;
}

.shoval-video-wrap video {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: middle;
}

.shoval-video-caption {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
    font-weight: 500;
}

/* Quote widget – left side (beautiful card) */
.shoval-widget-side {
    flex: 0 1 400px;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shoval-quote-widget {
    width: 100%;
    max-width: 380px;
    padding: 2rem 2.25rem;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    box-shadow:
        0 4px 24px rgba(68, 98, 181, 0.08),
        0 0 0 1px rgba(68, 98, 181, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
    text-align: right;
}

.shoval-quote-widget::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(68, 98, 181, 0.12) 0%, transparent 60%);
    border-radius: 0 20px 0 80px;
    pointer-events: none;
}

.shoval-quote-widget-icon {
    display: inline-block;
    font-size: 2rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 2px 4px rgba(68, 98, 181, 0.2));
}

.shoval-quote-widget-text {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--text-main);
    margin: 0;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .video-section--shoval {
        padding: var(--spacing-md) 0;
    }
    .shoval-video-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    .shoval-video-layout {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        align-items: center;
    }
    .shoval-video-side {
        order: 1;
        align-items: center;
        width: 100%;
    }
    .shoval-widget-side {
        order: 2;
    }
    .shoval-video-wrap {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        margin-inline: auto;
        max-height: 420px;
    }
    .shoval-quote-widget {
        max-width: 100%;
        padding: 1.75rem 1.5rem;
    }
    .shoval-quote-widget-text {
        font-size: 1.1rem;
        text-align: center;
    }
    .shoval-quote-widget::before {
        right: 50%;
        transform: translateX(50%);
    }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: white;
    border-color: var(--accent-blue);
    box-shadow: 0 8px 24px rgba(68, 98, 181, 0.15);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent-blue);
}

.hero-title .highlight {
    background: var(--grad-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 0.85em;
    /* Make highlight text smaller */
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.feature-card p {
    color: var(--text-muted);
}

/* --- Process Section (Split) --- */
.process-section {
    padding: var(--spacing-xl) 0;
}

.process-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.process-steps {
    list-style: none;
}

.step-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.step-num {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--accent-blue);
    background: rgba(68, 98, 181, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(68, 98, 181, 0.2);
}

.step-text h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.step-text p {
    color: var(--text-muted);
}

/* UI Window */
.ui-window {
    background: #0f0518;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.ui-window:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.window-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dots {
    display: flex;
    gap: 6px;
}

.dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.address-bar {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.3rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: left;
}

.window-body {
    padding: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.flow-animation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.flow-node {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: bold;
    min-width: 150px;
    text-align: center;
}

.node-1 {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.node-2 {
    border-color: var(--accent-purple);
    color: var(--accent-purple);
}

.node-3 {
    border-color: var(--accent-pink);
    color: var(--accent-pink);
}

.flow-arrow {
    color: var(--text-muted);
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 900px) {

    .hero-container,
    .process-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content,
    .process-content h2 {
        text-align: center !important;
    }

    .hero-visuals {
        height: 400px;
    }

    .floating-card {
        transform: scale(0.8);
    }

    .timeline-logos {
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
    }

    .glowing-line {
        display: none;
    }
}

.quote {
    text-align: center;
    font-size: 1.5rem;
    font-style: italic;
    color: var(--text-main);
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-md);
    border-right: 4px solid var(--accent-secondary);
    background: rgba(255, 255, 255, 0.02);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    padding: var(--spacing-lg);
    border-radius: var(--radius-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.lead-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-secondary);
    margin-bottom: 1rem;
}

/* Testimonials */
.testimonials-section {
    padding: var(--spacing-xl) 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.testimonial-card {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-card);
    border: 1px solid #e0e0e0;
    position: relative;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: white;
    border-color: var(--accent-blue);
    box-shadow: 0 4px 16px rgba(68, 98, 181, 0.15);
}

.video-card {
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-card);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    overflow: hidden;
}

.video-placeholder {
    color: var(--accent-primary);
    font-size: 1.2rem;
    font-weight: bold;
}

/* FAQ */
.faq-section {
    padding: var(--spacing-xl) 0;
    max-width: 800px;
    margin: 0 auto;
}

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

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

.accordion-header::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent-blue);
}

.accordion-header.active::after {
    content: '-';
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: var(--text-muted);
}

.accordion-content p {
    padding-bottom: 1.5rem;
}

/* Contact Section */
.contact-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(to top, #000, #111);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: var(--spacing-lg);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-primary);
}
.form-group input:focus-visible,
.form-group textarea:focus-visible {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

.full-width {
    width: 100%;
}

footer {
    text-align: center;
    padding: var(--spacing-md);
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid #e0e0e0;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 6rem 1.5rem 4rem;
    }

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

    .image-placeholder {
        width: 100%;
        height: 400px;
        margin-top: var(--spacing-lg);
    }

    .timeline::before {
        right: 20px;
    }

    .timeline-item .number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 4rem 0;
    }

    .contact-form {
        padding: 2rem 1.25rem;
        border-radius: 22px;
    }
}