/* ── الخط الموحد للموقع ────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Readex+Pro:wght@160..700&display=swap');

/* أضف هذا الكلاس للحاوية الرئيسية الخاصة بك في الـ HTML */
.force-full-width {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}
:root {
    --cream: #faeed7;
    --dark: #1D2B34;
    --wine: #681C3A;
    --emerald: #31B07D;
    --sky: #68C5E7;
    --mint: #DFF4E5;
    --purple: #4F355C;
    --black: #0F0F0F;
    --white: #FFFFFF;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html,
body,
body *,
body *::before,
body *::after {
    font-family: "Readex Pro", sans-serif !important;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings: "HEXP" 0;
}

body {
    font-size: 1.15rem;
    line-height: 1.65;
    background: var(--cream);
    color: var(--dark);
    overflow-x: hidden;
}

body.home-page {
    position: relative;
    isolation: isolate;
    background:
        radial-gradient(circle at 70% 0%, rgba(255,255,255,0.33) 0%, transparent 22%),
        linear-gradient(180deg, #F6E7D1 0%, #EBD9C1 55%, #F1E7D9 100%);
}

body.home-page::before,
body.home-page::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
}

body.home-page::before {
    background-image:
        linear-gradient(rgba(29, 43, 52, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(29, 43, 52, 0.08) 1px, transparent 1px);
    background-size: 32px 32px;
    background-position: 0 0, 0 0;
    opacity: 0.65;
}

body.home-page::after {
    background: none;
}

body.home-page nav > div > a:first-child {
    display: none;
}

body.home-page nav > div.max-w-7xl {
    justify-content: flex-end;
}

body.home-page .hero-logo-image {
    filter: drop-shadow(0 14px 26px rgba(29, 43, 52, 0.12));
    animation: heroLogoFloat 5s ease-in-out infinite;
}

body.home-page section {
    background-color: transparent;
}

body.home-page #evolution,
body.home-page #features,
body.home-page #stats,
body.home-page #testimonials,
body.home-page #faq {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

p {
    font-size: 1.15rem;
    line-height: 1.65;
}

/* ─── Neo-Brutalist Utilities ─── */
.brutal-border { border: 3px solid var(--dark); border-radius: 12px; }
.brutal-border-thin { border: 2px solid var(--dark); border-radius: 10px; }
.brutal-shadow { box-shadow: 6px 6px 0 var(--dark); border-radius: 12px; }
.brutal-shadow-sm { box-shadow: 3px 3px 0 var(--dark); border-radius: 10px; }
.brutal-shadow-wine { box-shadow: 6px 6px 0 var(--wine); border-radius: 12px; }
.brutal-shadow-emerald { box-shadow: 6px 6px 0 var(--emerald); border-radius: 12px; }

.brutal-tag {
    display: inline-block;
    border: 2px solid var(--dark);
    border-radius: 8px;
    padding: 4px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.brutal-section {
    border-top: 3px solid var(--dark);
    border-bottom: 3px solid var(--dark);
    border-radius: 0;
}

/* ─── Cards ─── */
.brutal-card {
    background: var(--white);
    border: 3px solid var(--dark);
    border-radius: 16px;
    box-shadow: 5px 5px 0 var(--dark);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.brutal-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0 var(--dark);
}

.brutal-card-wine {
    background: var(--wine);
    border: 3px solid var(--dark);
    border-radius: 16px;
    box-shadow: 5px 5px 0 var(--dark);
    color: white;
}

.brutal-card-emerald {
    background: var(--emerald);
    border: 3px solid var(--dark);
    border-radius: 16px;
    box-shadow: 5px 5px 0 var(--dark);
    color: white;
}

.brutal-card-sky {
    background: var(--sky);
    border: 3px solid var(--dark);
    border-radius: 16px;
    box-shadow: 5px 5px 0 var(--dark);
    color: var(--dark);
}

.brutal-card-mint {
    background: var(--mint);
    border: 3px solid var(--dark);
    border-radius: 16px;
    box-shadow: 5px 5px 0 var(--dark);
}

.brutal-card-purple {
    background: var(--purple);
    border: 3px solid var(--dark);
    border-radius: 16px;
    box-shadow: 5px 5px 0 var(--dark);
    color: white;
}

/* ─── Hero ─── */
h1, h2, h3, h4, h5, h6, .hero-title, .stat-number, .brutal-tag {
    font-family: "Readex Pro", sans-serif !important;
    font-weight: 500;
}
.hero-title {
    font-weight: 500;
    line-height: 0.92;
    letter-spacing: -0.02em;
}

.hero-strip {
    background: var(--dark);
    color: white;
    padding: 6px 18px;
    font-weight: 700;
    font-size: 0.85rem;
    border: 2px solid var(--dark);
    border-radius: 8px;
}

.brutal-cta {
    background: var(--white);
    border: 3px solid var(--dark);
    border-radius: 14px;
    box-shadow: 5px 5px 0 var(--dark);
    font-weight: 700;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.brutal-cta:hover {
    transform: translate(-3px, -3px);
    box-shadow: 8px 8px 0 var(--dark);
}

.brutal-cta-primary {
    background: var(--wine);
    color: white;
    border: 3px solid var(--dark);
    border-radius: 14px;
    box-shadow: 5px 5px 0 var(--dark);
    font-weight: 700;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.brutal-cta-primary:hover {
    transform: translate(-3px, -3px);
    box-shadow: 8px 8px 0 var(--dark);
}

.price-block {
    background: var(--black);
    color: white;
    border: 3px solid var(--dark);
    border-radius: 16px;
}

/* ─── Stat ─── */
.stat-number {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 500;
    line-height: 0.85;
    letter-spacing: -0.03em;
}

/* ─── Roadmap ─── */
.roadmap-connector {
    width: 3px;
    background: var(--dark);
    position: absolute;
    top: 0;
    bottom: 0;
}
.roadmap-node {
    width: 28px;
    height: 28px;
    border: 3px solid var(--dark);
    border-radius: 8px;
    background: var(--cream);
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    transition: background 0.3s ease, transform 0.3s ease;
}
.roadmap-node.active {
    background: var(--emerald);
    transform: scale(1.15);
}
.roadmap-node.done {
    background: var(--dark);
}

/* ─── Mockup ─── */
.mockup-wrap {
    perspective: 1200px;
}

.hero-logo-image {
    image-rendering: auto;
    animation: heroLogoFloat 5s ease-in-out infinite;
}

@keyframes heroLogoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.num-sans {
    font-family: "Readex Pro", sans-serif;
}
::selection { background: var(--wine); color: white; }
.evolution-label {
    font-family: "Readex Pro", sans-serif;
}

@media (max-width: 767px) {
    .roadmap-connector { right: 16px; }
}

/* ─── Before & After Section Custom Styling ─── */
.custom-before-after {
    background: transparent;
}

.evo-layout {
    align-items: center;
}

.evo-card-stage {
    position: relative;
    min-height: 480px;
    display: grid;
    place-items: center;
    perspective: 1200px;
}

.evo-card-image {
    position: absolute;
    width: auto;
    max-width: 92%;
    height: auto;
    max-height: 460px;
    object-fit: contain;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 20px !important;
    overflow: hidden;
    filter: drop-shadow(0 16px 32px rgba(29, 43, 52, 0.16));
    will-change: transform, opacity;
}

.evo-card-before {
    z-index: 2;
}

.evo-card-after {
    z-index: 4;
}

.evo-mobile-dialogs {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

#evo-mobile-before-dialogs {
    z-index: 3;
}

#evo-mobile-after-dialogs {
    z-index: 5;
}

.evo-dialog-column {
    position: relative;
    min-height: 480px;
    width: 100%;
}

.evo-dialog-phase {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.evo-dialog-slot {
    background: transparent !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
    overflow: visible;
    padding: 0;
    margin: 0;
    opacity: 0;
    will-change: transform, opacity;
}

.evo-dialog-image-slot img {
    width: auto;
    height: auto;
    max-width: 260px;
    max-height: 110px;
    object-fit: contain;
    filter: drop-shadow(0 10px 24px rgba(29, 43, 52, 0.15));
}

.evo-mobile-copy {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.evo-typewriter-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0.5rem 1rem;
    text-align: center;
    font-weight: 700;
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--dark);
    width: 100%;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    direction: rtl;
}

.evo-typed-cursor {
    display: inline-block;
    font-weight: 900;
    color: var(--wine);
    animation: blinkCursor 0.75s infinite;
    margin-right: 4px;
}

@keyframes blinkCursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@media (max-width: 767px) {
    .evo-card-stage {
        min-height: 420px;
    }

    .evo-card-image {
        max-height: 400px;
        max-width: 95%;
        border-radius: 16px !important;
    }

    .evo-dialog-column {
        min-height: auto;
    }

    .evo-dialog-column .evo-dialog-phase {
        display: none !important;
    }

    .evo-mobile-dialogs .evo-dialog-image-slot img {
        max-width: 180px;
        max-height: 85px;
    }
}

.full-bleed-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
}
.full-bleed-section img {
    width: 100%;
    height: auto;
    display: block;
}

/* ═══════════════════════════════════════════════════════════ */
/* JOURNEY                                                      */
/* ═══════════════════════════════════════════════════════════ */

.journey-section {
    position: relative;
    z-index: 10;
    padding: clamp(2rem, 5vw, 5rem) 0;
    background: var(--cream);
}

.journey-shell {
    width: min(1280px, calc(100% - 2rem));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(220px, 0.7fr);
    align-items: center;
    gap: clamp(1rem, 2vw, 2.5rem);
    min-height: min(76vh, 700px);
    direction: ltr;
}

.journey-copy {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    direction: rtl;
    text-align: right;
}

.journey-tagline {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    margin: 0;
    color: var(--dark);
    font-size: clamp(2.2rem, 2.7vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
}

.journey-logo-inline {
    display: inline-block;
    height: clamp(2.5rem, 5vw, 4.5rem);
    width: auto;
    margin-bottom: 0.25rem;
    filter: brightness(0) saturate(100%) invert(14%) sepia(18%) saturate(700%) hue-rotate(163deg) brightness(90%);
}

.journey-visual {
    position: relative;
    overflow: hidden;
    height: clamp(420px, 62vh, 700px);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    isolation: isolate;
    width: 100%;
    transform: translate3d(0, 0, 0);
    transition: transform 0.15s linear;
    will-change: transform;
}

.journey-image {
    display: block;
    width: 118%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    transform: none;
    border-radius: 0;
    box-shadow: none;
    image-rendering: auto;
}

@media (min-width: 768px) {
    .journey-copy {
        position: static;
        align-self: center;
    }
}

@media (max-width: 767px) {
    .journey-section {
        padding: 1.25rem 0 2rem;
    }

    .journey-shell {
        width: min(100%, calc(100% - 1rem));
        min-height: auto;
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .journey-copy {
        width: 100%;
        justify-content: flex-start;
        position: static;
    }

    .journey-tagline {
        align-items: flex-end;
        text-align: right;
        font-size: clamp(1.7rem, 7vw, 2.6rem);
    }

    .journey-logo-inline {
        height: clamp(1.8rem, 7vw, 2.8rem);
        margin-bottom: 0.15rem;
    }

    .journey-visual {
        width: 100%;
        height: clamp(360px, 64vh, 540px);
        border-radius: 0;
    }

    .journey-image {
        width: 120%;
    }
}