:root {
    --erez-navy: #555759;
    --erez-slate: #325979;
    --erez-sky: #d8eefb;
    --erez-mint: #c8f0db;
    --erez-gold: #f2be5c;
    --erez-ink: #1b2430;
    --erez-text: #51606f;
    --erez-surface: #f5f8fc;
    --erez-white: #ffffff;
    --erez-border: rgba(23, 50, 77, 0.1);
    --erez-shadow: 0 24px 60px rgba(23, 50, 77, 0.12);
    --erez-radius: 24px;
}

.erezlife-case {
    color: var(--erez-ink);
    background:
        radial-gradient(circle at top left, rgba(200, 240, 219, 0.85), transparent 28%),
        radial-gradient(circle at top right, rgba(216, 238, 251, 0.9), transparent 30%),
        linear-gradient(180deg, #eef5fb 0%, #ffffff 28%, #f7fbff 100%);
}

.erezlife-case .container {
    margin: 0 auto;
}

.erezlife-case p {
    color: var(--erez-text);
}

.erezlife-case .section {
    padding: 80px 0;
}

.erezlife-case .section-tag {
    display: inline-block;
    background: #ac162c;
    color: var(--erez-white);
    border: 1px solid rgba(23, 50, 77, 0.12);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.erezlife-case .section-title {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--erez-navy);
}

.erezlife-case .section-desc {
    max-width: 885px;
    margin: 0 auto;
    text-align: start;
}

.erez-hero {
    position: relative;
    overflow: hidden;
    padding: 180px 0 120px;
    background: linear-gradient(135deg, rgb(85 87 89 / 95%), rgb(172 22 44 / 70%)), url(https://d1e5ggoymkuik7.cloudfront.net/case-studies/erezlife/home_banner.png);
    color: var(--erez-white);
    text-align: center;
}

.erez-hero::before,
.erez-hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(4px);
}

.erez-hero::before {
    width: 360px;
    height: 360px;
    top: -110px;
    right: -60px;
    background: rgba(200, 240, 219, 0.16);
}

.erez-hero::after {
    width: 290px;
    height: 290px;
    left: -80px;
    bottom: -120px;
    background: rgba(242, 190, 92, 0.12);
}

.erez-hero-grid {
    position: relative;
    z-index: 1;
    display: block;
    max-width: 100%;
}

.erez-hero .section-tag {
    background: #ac162c;
    color: var(--erez-white);
    border-color: rgba(255, 255, 255, 0.14);
}

.erez-hero h1 {
    color: var(--erez-white);
    font-size: 3.5rem;
    margin: 0 0 25px;
}

.erez-hero p {
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.25rem;
    margin: 0 auto;
    max-width: none;
    font-weight: 300;
}

.erez-meta {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.erez-meta span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border-radius: 999px;
    padding: 8px 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
    color: var(--erez-white);
    font-size: 0.9rem;
}

.erez-overlap {
    margin-top: -80px;
    position: relative;
    z-index: 2;
}

.erez-overview {
    background: var(--erez-white);
    border-radius: 30px;
    box-shadow: var(--erez-shadow);
    border: 1px solid rgba(23, 50, 77, 0.06);
    padding: 60px;
}

.erez-overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 34px;
    align-items: start;
}

.erez-note-stack {
    display: grid;
    gap: 18px;
}

.erez-note {
    padding: 24px;
    border-radius: 22px;
    background: linear-gradient(180deg, #f6fbff 0%, #eef5fd 100%);
    border: 1px solid rgba(50, 89, 121, 0.1);
}

.erez-note:nth-child(2) {
    background: linear-gradient(180deg, #f7fcf9 0%, #eefaf3 100%);
}

.erez-note:nth-child(3) {
    background: linear-gradient(180deg, #fffaf0 0%, #fff3d9 100%);
}

.erez-note h3 {
    color: var(--erez-navy);
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.erez-card-grid,
.erez-pillars,
.erez-results-grid,
.erez-stack-grid,
.erez-tech-grid {
    display: grid;
    gap: 22px;
}

.erez-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 42px;
}

.erez-card,
.erez-pillar,
.erez-result,
.erez-stack-card {
    background: var(--erez-white);
    border: 1px solid var(--erez-border);
    border-radius: 24px;
    box-shadow: 0 16px 36px rgba(23, 50, 77, 0.08);
}

.erez-card {
    padding: 28px;
}

.erez-card i {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: rgba(23, 50, 77, 0.08);
    color: var(--erez-navy);
    font-size: 1.25rem;
    margin-bottom: 18px;
}

.erez-card h3,
.erez-pillar h3,
.erez-result h3,
.erez-stack-card h3 {
    color: var(--erez-navy);
    font-size: 1.22rem;
    margin-bottom: 12px;
}

.erez-pillars {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 40px;
}

.erez-pillar {
    position: relative;
    overflow: hidden;
    padding: 32px;
}

.erez-pillar::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(180deg, var(--erez-navy), var(--erez-gold));
}

.erez-list {
    padding: 0;
    margin: 16px 0 0;
    list-style: none;
}

.erez-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 12px;
    color: var(--erez-text);
}

.erez-list li::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--erez-gold);
    position: absolute;
    left: 0;
    top: 7px;
}

.erez-band {
    background:
        linear-gradient(135deg, rgba(23, 50, 77, 0.98), rgba(31, 63, 94, 0.94));
    color: var(--erez-white);
}

.erez-band .section-title,
.erez-band .section-desc,
.erez-band h3,
.erez-band p,
.erez-band li {
    color: var(--erez-white);
}

.erez-band .section-tag {
    background: rgba(255, 255, 255, 0.1);
    color: var(--erez-white);
    border-color: rgba(255, 255, 255, 0.16);
}

.erez-stack-grid {
    grid-template-columns: 1fr 1fr;
    /* align-items: start; */
    margin-top: 40px;
}

.erez-stack-card {
    padding: 32px;
}

.erez-stack-card.is-accent {
    background: linear-gradient(180deg, rgba(200, 240, 219, 0.18), rgba(216, 238, 251, 0.16));
}

.erez-process {
    display: grid;
    gap: 16px;
}

.erez-process-step {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 16px;
    align-items: start;
    padding: 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.erez-process-step span {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(242, 190, 92, 0.18);
    color: var(--erez-white);
    font-weight: 700;
    font-size: 1.1rem;
}

.erez-results-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 40px;
}

.erez-result {
    padding: 28px;
    text-align: center;
}

.erez-result strong {
    display: block;
    color: var(--erez-navy);
    font-size: 2.5rem;
    line-height: 1;
    margin-bottom: 12px;
}

.erez-tech-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-top: 36px;
}

.erez-tech {
    padding: 18px 16px;
    text-align: center;
    border-radius: 18px;
    background: var(--erez-white);
    border: 1px solid var(--erez-border);
    font-weight: 700;
    color: var(--erez-navy);
    box-shadow: 0 10px 24px rgba(23, 50, 77, 0.06);
}

.erez-quote {
    margin-top: 38px;
    padding: 28px 30px;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f4f8fc 100%);
    border: 1px solid var(--erez-border);
    box-shadow: 0 18px 36px rgba(23, 50, 77, 0.08);
}

.erez-quote p {
    font-size: 1.08rem;
    margin: 0;
}

@media (max-width: 1100px) {
    .erez-hero-grid,
    .erez-overview-grid,
    .erez-stack-grid,
    .erez-pillars,
    .erez-card-grid,
    .erez-results-grid,
    .erez-tech-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .erezlife-case .section {
        padding: 68px 0;
    }

    .erez-hero {
        padding: 140px 0 90px;
    }

    .erez-hero-grid,
    .erez-overview-grid,
    .erez-card-grid,
    .erez-pillars,
    .erez-stack-grid,
    .erez-results-grid,
    .erez-tech-grid {
        grid-template-columns: 1fr;
    }

    .erez-overlap {
        margin-top: -36px;
    }

    .erez-overview,
    .erez-pillar,
    .erez-card,
    .erez-result,
    .erez-stack-card {
        padding: 24px;
    }

    .erez-hero h1 {
        font-size: 2.5rem;
    }

    .erez-result strong {
        font-size: 2.1rem;
    }
}

/* --- Alternating Section Background --- */
.erezlife-case .erez-bg-light {
    background: var(--erez-surface);
}

/* --- Tech Stack with Icons --- */
.erezlife-case .section.erez-section-compact {
    padding: 50px 0;
}

.erez-icon-tech-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 25px;
}

.erez-tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.erez-tech-item img {
    height: 75px;
    object-fit: contain;
}

.erez-tech-item span {
    font-weight: 600;
    font-size: 1rem;
    color: var(--erez-navy);
}

/* --- Client Testimonial (Omnidian structure) --- */
.erezlife-case .feedback-desc {
    margin: 20px auto 40px;
    text-align: start;
    max-width: 885px;
    color: var(--erez-text);
}

.erezlife-case .quote-box {
    background: var(--erez-white);
    padding: 70px 50px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    border-radius: var(--erez-radius);
    box-shadow: var(--erez-shadow);
    position: relative;
}

.erezlife-case .quote-icon {
    font-size: 4rem;
    color: rgba(242, 190, 92, 0.22);
    position: absolute;
    top: 30px;
    left: 30px;
}

.erezlife-case .quote-text {
    font-size: 1.15rem;
    line-height: 1.85;
    color: var(--erez-text);
    font-style: italic;
    margin-bottom: 30px;
}

.erezlife-case .quote-author-photo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 12px;
    border: 3px solid var(--erez-sky);
}

.erezlife-case .quote-author-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--erez-navy);
    margin-bottom: 4px;
}

.erezlife-case .quote-author-role {
    font-size: 0.9rem;
    color: var(--erez-text);
    margin: 0;
}

@media (max-width: 767px) {
    .erez-icon-tech-grid {
        gap: 30px;
    }

    .erezlife-case .quote-box {
        padding: 40px 28px;
    }

    .erezlife-case .quote-icon {
        font-size: 2.8rem;
        top: 18px;
        left: 20px;
    }
}

@media only screen and (min-width: 992px) {
    .ebook-form-wrap {
        max-width: none;
    }
}

/* --- HERO DOWNLOAD BUTTON --- */
.cs-hero-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 32px;
    padding: 14px 32px;
    background: #ac162c;
    color: var(--erez-white);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    box-shadow: none;
}

.cs-hero-download-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(23, 50, 77, 0.3);
}

.cs-hero-download-btn i {
    font-size: 0.9rem;
}
/* --- CTA BANNER --- */
.acg-cta-banner {
    background: var(--erez-navy);
    padding: 48px 0;
    position: relative;
    overflow: hidden;
}

.acg-cta-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
}

.acg-cta-text {
    flex: 1;
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff !important;
    line-height: 1.5;
    margin: 0;
    opacity: 1;
}

.acg-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--erez-white);
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.acg-cta-btn:hover {
    background: var(--erez-slate);
    transform: translateY(-1px);
}

.acg-cta-logo {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.08;
    pointer-events: none;
}

.acg-cta-logo img {
    width: 220px;
    height: 220px;
    object-fit: contain;
}

/* --- MOBILE RESPONSIVE FIXES --- */
@media (max-width: 768px) {
    .erezlife-case .container {
        padding: 0 16px;
    }

    .erez-hero {
        padding: 120px 0 80px;
    }

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

    .erezlife-case .section-desc,
    .erezlife-case .feedback-desc {
        text-align: center;
    }

    .erez-overview {
        padding: 24px 20px;
    }

    .acg-cta-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .acg-cta-logo {
        display: none;
    }
}

@media (max-width: 576px) {
    .erezlife-case .section {
        padding: 60px 0;
    }

    .erezlife-case .section-title {
        font-size: 1.8rem;
    }

    .erez-overlap {
        margin-top: -36px;
        padding-bottom: 40px;
    }

    .cs-hero-download-btn {
        width: 100%;
        justify-content: center;
        margin-top: 22px;
        margin-bottom: 20px;
    }

    .erez-meta span {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .acg-cta-btn {
        width: 100%;
        justify-content: center;
    }

    .cs-gate-sticky-btn {
        top: 68%;
    }
}

/* For FAQs */
.erezlife-faq-theme { --faq-accent: #ac162c; }
