/* =====================================================
   NEXT TAP — STYLE.CSS
===================================================== */

:root {
    --bg: #050507;
    --bg2: #0a0810;

    --card: #0f0d15;
    --card2: #15111d;

    --text: #f7f7fa;
    --muted: #a9a5b2;

    --border: rgba(255,255,255,.10);

    --purple: #8b2cff;
    --purple2: #c13cff;
    --purple3: #6f1dff;

    --radius: 22px;
}

/* =====================================================
   RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: "Inter", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
}

/* =====================================================
   BACKGROUND
===================================================== */

body::before {
    content: "";

    position: fixed;
    inset: 0;

    pointer-events: none;

    background:
        radial-gradient(
            circle at 75% 15%,
            rgba(139,44,255,.10),
            transparent 28%
        ),
        radial-gradient(
            circle at 15% 75%,
            rgba(193,60,255,.06),
            transparent 25%
        );

    z-index: -1;
}

/* =====================================================
   HEADER
===================================================== */

.header {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 78px;

    padding: 0 5%;

    display: flex;
    align-items: center;

    z-index: 1000;

    gap: 20px;

    border-bottom: 1px solid transparent;

    transition: .35s;
}

.header.scrolled {
    background: rgba(5,5,7,.86);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-color: var(--border);
}

/* =====================================================
   LOGO
===================================================== */

.brand-logo {
    width: 145px;
    height: 52px;

    display: flex;
    align-items: center;

    flex: 0 0 auto;
}

.brand-logo img {
    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: left center;
}

/* =====================================================
   NAVIGATION
===================================================== */

.nav {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 30px;

    margin-left: auto;
}

.nav a {
    font-size: 12px;

    color: #bdb9c5;

    transition: .25s;
}

.nav a:hover {
    color: #fff;
}

/* =====================================================
   HEADER RIGHT
===================================================== */

.header-right {
    display: flex;

    align-items: center;

    gap: 9px;

    flex: 0 0 auto;
}

/* =====================================================
   WHATSAPP HEADER BUTTON
===================================================== */

.header-btn {
    padding: 11px 16px;

    border: 1px solid rgba(139,44,255,.55);

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            var(--purple),
            var(--purple2)
        );

    color: #fff;

    font-size: 12px;
    font-weight: 800;

    box-shadow:
        0 0 25px rgba(139,44,255,.18);

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 7px;

    flex: 0 0 auto;

    transition: .25s;
}

.header-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 8px 25px rgba(139,44,255,.30);
}

/* =====================================================
   LANGUAGE SWITCHER
===================================================== */

.language-switcher {
    position: relative;

    z-index: 1100;

    flex: 0 0 auto;
}

.language-toggle {
    height: 38px;
    min-width: 42px;

    padding: 0 10px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 7px;

    color: #f7f7fa;

    background: rgba(139,44,255,.07);

    border: 1px solid rgba(139,44,255,.28);

    border-radius: 11px;

    cursor: pointer;

    font-size: 13px;
    font-weight: 700;

    transition: .25s;
}

.language-toggle:hover,
.language-switcher.open .language-toggle {
    border-color: rgba(193,60,255,.65);

    background: rgba(139,44,255,.13);

    box-shadow:
        0 0 22px rgba(139,44,255,.12);
}

.language-toggle i:first-child {
    color: #c13cff;
    font-size: 14px;
}

.language-current {
    font-size: 10px;
    letter-spacing: .7px;
}

.language-chevron {
    color: #aaa4b3;
    font-size: 9px;

    transition: .25s;
}

.language-switcher.open .language-chevron {
    transform: rotate(180deg);
}

/* =====================================================
   LANGUAGE MENU
===================================================== */

.language-menu {
    position: absolute;

    top: calc(100% + 9px);
    right: 0;

    width: 150px;

    padding: 6px;

    background: rgba(15,13,21,.97);

    border: 1px solid rgba(255,255,255,.10);

    border-radius: 13px;

    box-shadow:
        0 18px 45px rgba(0,0,0,.45),
        0 0 30px rgba(139,44,255,.08);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform:
        translateY(-7px)
        scale(.98);

    transition: .22s ease;
}

.language-switcher.open .language-menu {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    transform:
        translateY(0)
        scale(1);
}

.language-option {
    width: 100%;

    padding: 9px 10px;

    display: flex;

    align-items: center;

    gap: 9px;

    border: 0;

    border-radius: 9px;

    color: #bdb9c5;

    background: transparent;

    cursor: pointer;

    font-size: 11px;
    font-weight: 600;

    text-align: left;

    transition: .2s;
}

.language-option:hover,
.language-option.active {
    color: #fff;

    background: rgba(139,44,255,.11);
}

.language-option .flag {
    font-size: 15px;
}

.language-option .lang-name {
    flex: 1;
}

.language-option .check {
    color: #c13cff;

    font-size: 10px;

    opacity: 0;
}

.language-option.active .check {
    opacity: 1;
}

/* =====================================================
   MOBILE MENU BUTTON
===================================================== */

.mobile-menu-btn {
    display: none;

    width: 40px;
    height: 40px;

    align-items: center;
    justify-content: center;

    border: 1px solid rgba(139,44,255,.28);

    border-radius: 11px;

    background: rgba(139,44,255,.07);

    color: #fff;

    cursor: pointer;

    font-size: 16px;

    transition: .25s;
}

.mobile-menu-btn:hover {
    border-color: rgba(193,60,255,.65);

    background: rgba(139,44,255,.13);
}

/* =====================================================
   HERO
===================================================== */

.hero {
    max-width: 1250px;

    min-height: 100vh;

    margin: auto;

    padding:
        145px 25px 80px;

    display: grid;

    grid-template-columns:
        .92fr 1.08fr;

    align-items: center;

    gap: 50px;
}

.eyebrow,
.label {
    color: #c16cff;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2px;
}

.eyebrow {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 22px;
}

.eyebrow span:first-child {
    width: 7px;
    height: 7px;

    flex: 0 0 auto;

    border-radius: 50%;

    background: var(--purple2);

    box-shadow:
        0 0 14px var(--purple2);
}

.hero h1 {
    font-size:
        clamp(48px,6vw,78px);

    line-height: .98;

    letter-spacing: -4px;

    margin-bottom: 25px;
}

.hero h1 span {
    background:
        linear-gradient(
            90deg,
            #9a32ff,
            #d45bff
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.hero-content > p {
    max-width: 620px;

    color: var(--muted);

    font-size: 15px;

    line-height: 1.85;

    margin-bottom: 32px;
}

.hero-actions {
    display: flex;

    gap: 12px;

    flex-wrap: wrap;
}

.center {
    justify-content: center;
}

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    padding: 14px 20px;

    border-radius: 12px;

    font-size: 12px;

    font-weight: 800;

    transition: .3s;
}

.btn-primary {
    background:
        linear-gradient(
            135deg,
            var(--purple3),
            var(--purple2)
        );

    box-shadow:
        0 10px 35px rgba(139,44,255,.20);
}

.btn-primary:hover {
    transform: translateY(-3px);

    box-shadow:
        0 15px 40px rgba(139,44,255,.32);
}

.btn-outline {
    border: 1px solid rgba(139,44,255,.45);

    background: rgba(139,44,255,.04);
}

.btn-outline:hover {
    border-color: var(--purple2);

    background: rgba(139,44,255,.10);

    transform: translateY(-3px);
}

.hero-features {
    display: flex;

    gap: 18px;

    flex-wrap: wrap;

    margin-top: 34px;

    color: #8f8a98;

    font-size: 10px;
}

.hero-features > span {
    display: flex;

    gap: 6px;

    align-items: center;
}

.hero-features i {
    color: var(--purple2);
}

.hero-visual {
    position: relative;

    display: flex;

    justify-content: center;
    align-items: center;
}

.purple-glow {
    position: absolute;

    width: 500px;
    height: 380px;

    background: var(--purple);

    filter: blur(130px);

    opacity: .16;

    pointer-events: none;
}

.hero-banner {
    position: relative;

    width: 100%;

    max-width: 680px;

    border-radius: 22px;

    border:
        1px solid rgba(255,255,255,.10);

    box-shadow:
        0 35px 100px rgba(0,0,0,.55),
        0 0 60px rgba(139,44,255,.12);
}

/* =====================================================
   GENERAL SECTIONS
===================================================== */

.section {
    max-width: 1250px;

    margin: auto;

    padding: 110px 25px;
}

.section-title {
    max-width: 720px;

    margin-bottom: 52px;
}

.section-title h2,
.why-text h2,
.cta h2 {
    font-size:
        clamp(36px,5vw,56px);

    line-height: 1.05;

    letter-spacing: -2.8px;

    margin: 15px 0 18px;
}

.section-title h2 span,
.why-text h2 span,
.cta h2 span {
    color: #b63cff;
}

.section-title p,
.why-text > p,
.cta p {
    color: var(--muted);

    font-size: 14px;

    line-height: 1.8;
}

/* =====================================================
   SERVICES
===================================================== */

.service-grid {
    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    gap: 15px;
}

.service-card {
    min-height: 235px;

    padding: 28px;

    background:
        linear-gradient(
            145deg,
            var(--card2),
            var(--card)
        );

    border: 1px solid var(--border);

    border-radius: var(--radius);

    transition: .35s;

    position: relative;

    overflow: hidden;
}

.service-card::after {
    content: "";

    position: absolute;

    width: 120px;
    height: 120px;

    background: var(--purple);

    filter: blur(80px);

    opacity: .08;

    right: -50px;
    bottom: -50px;
}

.service-card:hover {
    transform: translateY(-6px);

    border-color:
        rgba(177,59,255,.4);

    box-shadow:
        0 20px 50px rgba(0,0,0,.25);
}

.icon {
    width: 48px;
    height: 48px;

    border-radius: 14px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #c33fff;

    background:
        rgba(139,44,255,.10);

    border:
        1px solid rgba(139,44,255,.18);

    margin-bottom: 22px;
}

.service-card h3 {
    font-size: 17px;

    margin-bottom: 9px;
}

.service-card p {
    font-size: 12px;

    color: var(--muted);

    line-height: 1.75;
}

/* =====================================================
   HOW
===================================================== */

.how-section {
    max-width: 1050px;
}

.steps {
    display: flex;

    align-items: center;

    justify-content: center;
}

.step {
    width: 245px;

    text-align: center;
}

.step > b {
    font-size: 10px;

    color: #b93cff;

    letter-spacing: 2px;
}

.step-icon {
    width: 64px;
    height: 64px;

    margin: 18px auto;

    border-radius: 20px;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        rgba(139,44,255,.08);

    border:
        1px solid rgba(139,44,255,.25);

    color: #c03dff;

    font-size: 22px;
}

.step h3 {
    font-size: 17px;

    margin-bottom: 7px;
}

.step p {
    font-size: 12px;

    color: var(--muted);
}

.step-line {
    width: 80px;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(170,55,255,.55),
            transparent
        );
}

/* =====================================================
   PORTFOLIO
===================================================== */

.portfolio-featured {
    width: 100%;

    margin-bottom: 18px;

    background: var(--card);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    overflow: hidden;

    transition: .35s;
}

.portfolio-featured:hover {
    transform: translateY(-7px);

    border-color:
        rgba(180,58,255,.45);

    box-shadow:
        0 25px 60px rgba(0,0,0,.28);
}

.portfolio-banner {
    position: relative;

    width: 100%;

    height: 430px;

    overflow: hidden;

    background: #08070a;
}

.portfolio-banner img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition: .6s;
}

.portfolio-featured:hover
.portfolio-banner img {
    transform: scale(1.025);
}

.portfolio-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(4,3,6,.85),
            transparent 60%
        );
}

.portfolio-tag {
    position: absolute;

    left: 22px;
    bottom: 18px;

    z-index: 2;

    font-size: 9px;

    letter-spacing: 1.5px;

    color: #e8ddff;

    background:
        rgba(10,7,15,.65);

    border:
        1px solid rgba(193,60,255,.35);

    padding: 8px 10px;

    border-radius: 8px;
}

/* =====================================================
   PORTFOLIO GRID
===================================================== */

.portfolio-grid {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0,1fr));

    gap: 18px;

    align-items: stretch;
}

.portfolio-card {
    min-width: 0;

    background: var(--card);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    overflow: hidden;

    transition: .35s;
}

.portfolio-card:hover {
    transform: translateY(-7px);

    border-color:
        rgba(180,58,255,.45);

    box-shadow:
        0 25px 60px rgba(0,0,0,.28);
}

/* =====================================================
   DEMO COVERS
===================================================== */

.demo-cover {
    height: 300px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    position: relative;

    overflow: hidden;
}

.demo-cover::before {
    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    border-radius: 50%;

    background:
        rgba(180,55,255,.18);

    filter: blur(70px);
}

.demo-icon {
    position: relative;

    width: 70px;
    height: 70px;

    border-radius: 22px;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 27px;

    color: #d151ff;

    border:
        1px solid rgba(193,60,255,.35);

    background:
        rgba(7,5,10,.55);

    margin-bottom: 22px;
}

.demo-cover small,
.demo-cover h3,
.demo-cover p {
    position: relative;
}

.demo-cover small {
    font-size: 9px;

    letter-spacing: 2px;

    color: #a99fb2;
}

.demo-cover h3 {
    font-size: 26px;

    margin: 5px 0;
}

.demo-cover p {
    font-size: 10px;

    color: #a9a5b2;
}

/* =====================================================
   BUSINESS BACKGROUNDS
===================================================== */

.restaurant {
    background:
        radial-gradient(
            circle,
            #351c42,
            #08070b 68%
        );
}

.rental {
    background:
        radial-gradient(
            circle,
            #241b40,
            #08070b 68%
        );
}

.construction {
    background:
        radial-gradient(
            circle,
            #321943,
            #08070b 68%
        );
}

.freelancer {
    background:
        radial-gradient(
            circle,
            #201b42,
            #08070b 68%
        );
}

.cafe {
    background:
        radial-gradient(
            circle,
            #3a1b42,
            #08070b 68%
        );
}

.barber {
    background:
        radial-gradient(
            circle,
            #2c1940,
            #08070b 68%
        );
}

/* =====================================================
   PORTFOLIO INFO
===================================================== */

.portfolio-info {
    min-height: 75px;

    padding: 19px 20px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 15px;
}

.portfolio-info h3 {
    font-size: 14px;
}

.portfolio-info p {
    font-size: 10px;

    color: #85808d;

    margin-top: 3px;
}

.portfolio-arrow {
    width: 36px;
    height: 36px;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid var(--border);

    border-radius: 10px;

    color: #b63cff;

    flex: none;
}

/* =====================================================
   WHY
===================================================== */

.why-section {
    max-width: 1250px;

    margin: 30px auto 0;

    padding: 100px 25px;

    display: grid;

    grid-template-columns:
        1fr .8fr;

    gap: 80px;

    align-items: center;

    background:
        radial-gradient(
            circle at 20% 50%,
            rgba(139,44,255,.08),
            transparent 35%
        );
}

.benefits {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 15px;

    margin-top: 30px;
}

.benefits div {
    font-size: 11px;

    color: #bbb6c2;

    display: flex;

    gap: 9px;
}

.benefits i {
    color: #c13cff;
}

/* =====================================================
   PHONE
===================================================== */

.phone-wrap {
    display: flex;

    justify-content: center;
}

.phone {
    width: 255px;

    padding: 8px;

    border: 5px solid #202024;

    border-radius: 35px;

    background: #020203;

    box-shadow:
        0 35px 90px rgba(0,0,0,.6),
        0 0 50px rgba(139,44,255,.13);
}

.notch {
    width: 75px;
    height: 18px;

    background: #1d1d21;

    border-radius:
        0 0 13px 13px;

    margin: auto;
}

.phone-screen {
    padding: 27px 18px 20px;

    text-align: center;
}

.phone-logo {
    height: 55px;
    width: 150px;

    object-fit: contain;

    margin:
        0 auto 18px;
}

.phone-screen h4 {
    font-size: 15px;
}

.phone-screen p {
    font-size: 9px;

    color: #777;

    margin:
        6px 0 18px;
}

.phone-screen button {
    width: 100%;

    padding: 10px;

    margin-top: 8px;

    border-radius: 9px;

    border:
        1px solid rgba(255,255,255,.09);

    background: #111016;

    color: #ddd;

    font-size: 9px;

    cursor: pointer;

    transition: .25s;
}

.phone-screen button:hover {
    border-color:
        rgba(193,60,255,.45);

    color: #d45bff;
}

/* =====================================================
   CTA
===================================================== */

.cta {
    max-width: 1180px;

    margin: 90px auto;

    padding: 85px 25px;

    text-align: center;

    border:
        1px solid rgba(139,44,255,.22);

    border-radius: 30px;

    background:
        radial-gradient(
            circle at center,
            rgba(139,44,255,.13),
            transparent 55%
        ),
        #09070c;
}

.cta-inner {
    max-width: 760px;

    margin: auto;
}

.cta-logo {
    height: 72px;

    width: 210px;

    object-fit: contain;

    margin:
        0 auto 20px;
}

.cta p {
    margin-bottom: 30px;
}

/* =====================================================
   FOOTER
===================================================== */

footer {
    padding: 55px 20px;

    text-align: center;

    border-top:
        1px solid var(--border);
}

.footer-logo {
    height: 55px;

    width: 160px;

    object-fit: contain;

    margin:
        0 auto 10px;
}

footer p {
    color: #77727f;

    font-size: 11px;
}

.footer-links {
    display: flex;

    justify-content: center;

    gap: 10px;

    margin: 20px 0;
}

.footer-links a {
    width: 38px;
    height: 38px;

    border:
        1px solid var(--border);

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #a39eaa;

    transition: .25s;
}

.footer-links a:hover {
    color: #c13cff;

    border-color: #c13cff;
}

.footer-links + small {
    font-size: 9px;

    color: #555;
}

/* =====================================================
   REVEAL
===================================================== */

.reveal {
    opacity: 0;

    transform: translateY(25px);

    transition:
        opacity .7s ease,
        transform .7s ease;
}

.reveal.show {
    opacity: 1;

    transform: translateY(0);
}

/* =====================================================
   RTL
===================================================== */

html[dir="rtl"] body {
    text-align: right;
}

html[dir="rtl"] .brand-logo img {
    object-position: right center;
}

html[dir="rtl"] .language-menu {
    right: auto;
    left: 0;
}

html[dir="rtl"] .language-option {
    text-align: right;
}

html[dir="rtl"] .language-toggle {
    direction: ltr;
}

html[dir="rtl"] .hero-content,
html[dir="rtl"] .section-title,
html[dir="rtl"] .why-text {
    text-align: right;
}

html[dir="rtl"] .hero-actions {
    justify-content: flex-start;
}

html[dir="rtl"] .hero-features {
    justify-content: flex-start;
}

/* =====================================================
   TABLET
===================================================== */

@media (max-width: 950px) {

    .header {
        height: 68px;

        padding: 0 18px;
    }

    .brand-logo {
        width: 125px;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav {
        position: absolute;

        top: calc(100% + 10px);

        left: 17px;
        right: 17px;

        margin: 0;

        padding: 10px;

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 4px;

        background:
            rgba(15,13,21,.97);

        border:
            1px solid rgba(255,255,255,.10);

        border-radius: 16px;

        box-shadow:
            0 20px 50px rgba(0,0,0,.45),
            0 0 30px rgba(139,44,255,.08);

        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);

        opacity: 0;

        visibility: hidden;

        pointer-events: none;

        transform: translateY(-10px);

        transition: .25s ease;
    }

    .nav.mobile-open {
        opacity: 1;

        visibility: visible;

        pointer-events: auto;

        transform: translateY(0);
    }

    .nav a {
        width: 100%;

        padding: 13px 14px;

        border-radius: 10px;

        font-size: 12px;
    }

    .nav a:hover {
        background:
            rgba(139,44,255,.10);
    }

    .hero {
        grid-template-columns: 1fr;

        text-align: center;

        padding-top: 125px;
    }

    .hero-content > p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions,
    .hero-features {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 20px;
    }

    .service-grid,
    .portfolio-grid {
        grid-template-columns:
            1fr 1fr;
    }

    .portfolio-banner {
        height: 380px;
    }

    .why-section {
        grid-template-columns: 1fr;
    }

    .why-text {
        text-align: center;
    }

    .benefits {
        text-align: left;
    }
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 600px) {

    .header {
        padding: 0 14px;

        gap: 7px;
    }

    .brand-logo {
        width: 115px;
    }

    .header-right {
        gap: 5px;
    }

    .header-btn {
        padding: 9px 10px;
    }

    .header-btn span {
        display: none;
    }

    .language-toggle {
        height: 37px;

        min-width: 39px;

        padding: 0 9px;

        border-radius: 10px;
    }

    .language-current {
        font-size: 9px;
    }

    .language-chevron {
        display: none;
    }

    .language-menu {
        width: 145px;
    }

    .mobile-menu-btn {
        width: 37px;
        height: 37px;
    }

    .hero {
        padding-left: 18px;
        padding-right: 18px;
    }

    .hero h1 {
        font-size: 45px;

        letter-spacing:
            -2.8px;
    }

    .hero-features {
        gap: 12px;
    }

    .section {
        padding:
            80px 18px;
    }

    .service-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-banner {
        height: 260px;
    }

    .demo-cover {
        height: 270px;
    }

    .steps {
        flex-direction: column;

        gap: 22px;
    }

    .step-line {
        width: 1px;

        height: 45px;
    }

    .benefits {
        grid-template-columns: 1fr;
    }

    .why-section {
        padding:
            80px 18px;
    }

    .cta {
        margin:
            55px 18px;

        padding:
            65px 18px;
    }

    .section-title h2,
    .why-text h2,
    .cta h2 {
        letter-spacing:
            -1.8px;
    }

    .hero-banner {
        border-radius:
            15px;
    }

    html[dir="rtl"] .hero-actions {
        justify-content: center;
    }

    html[dir="rtl"] .hero-features {
        justify-content: center;
    }
}

/* =====================================================
   VERY SMALL MOBILE
===================================================== */

@media (max-width: 380px) {

    .brand-logo {
        width: 100px;
    }

    .hero h1 {
        font-size: 39px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .header-btn {
        min-width: 38px;
    }
}

/* =========================================================
   NEXT TAP — RESPONSIVE HEADER / MOBILE FIX
   Override added to fix the header on phones and small screens.
   ========================================================= */

/* Prevent any child from forcing the page wider than the viewport */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Desktop: give the header a cleaner, more balanced layout */
@media (min-width: 951px) {
    .header {
        padding-left: clamp(24px, 4vw, 60px);
        padding-right: clamp(24px, 4vw, 60px);
        gap: 24px;
    }

    .brand-logo {
        width: 150px;
        height: 54px;
    }

    .nav {
        gap: clamp(18px, 2.2vw, 32px);
        flex: 1 1 auto;
        margin-left: 20px;
        margin-right: 10px;
    }

    .nav a {
        font-size: 13px;
        white-space: nowrap;
    }

    .header-right {
        gap: 10px;
    }

    .language-toggle {
        min-width: 58px;
        height: 42px;
        padding: 0 12px;
    }

    .header-btn {
        min-height: 42px;
        padding: 11px 16px;
        white-space: nowrap;
    }
}

/* Tablet / mobile header */
@media (max-width: 950px) {
    .header {
        height: 70px;
        padding: 0 16px;
        gap: 0;
    }

    .brand-logo {
        width: 128px;
        height: 48px;
        flex: 0 1 auto;
        min-width: 0;
    }

    .brand-logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: left center;
    }

    .header-right {
        margin-left: auto;
        gap: 7px;
        flex: 0 0 auto;
    }

    .language-toggle,
    .header-btn,
    .mobile-menu-btn {
        flex-shrink: 0;
    }

    .mobile-menu-btn {
        width: 42px;
        height: 42px;
        display: flex;
        font-size: 18px;
    }

    .header-btn {
        min-width: 42px;
        min-height: 42px;
        padding: 0 12px;
    }

    .nav {
        left: 12px;
        right: 12px;
        width: auto;
    }
}

/* Phone */
@media (max-width: 600px) {
    .header {
        height: 64px;
        padding: 0 10px;
    }

    /* IMPORTANT:
       The logo image may contain transparent empty space.
       Keeping a controlled box prevents it from visually pushing
       the language / WhatsApp / menu controls away. */
    .brand-logo {
        width: 108px;
        height: 44px;
        flex: 0 0 108px;
    }

    .header-right {
        margin-left: auto;
        gap: 6px;
    }

    .language-toggle {
        width: 40px;
        min-width: 40px;
        height: 40px;
        padding: 0;
        gap: 0;
    }

    .language-current {
        display: inline-block;
        font-size: 9px;
    }

    .language-toggle .fa-globe {
        font-size: 14px;
    }

    .header-btn {
        width: 40px;
        min-width: 40px;
        height: 40px;
        min-height: 40px;
        padding: 0;
        border-radius: 11px;
    }

    .header-btn i {
        font-size: 17px;
    }

    .mobile-menu-btn {
        width: 40px;
        height: 40px;
        border-radius: 11px;
        font-size: 18px;
    }

    /* Mobile dropdown stays fully inside the viewport */
    .nav {
        top: calc(100% + 8px);
        left: 10px;
        right: 10px;
        width: auto;
        max-width: calc(100vw - 20px);
    }

    /* Hero must never create horizontal overflow */
    .hero {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding:
            105px 16px 55px;
        gap: 30px;
    }

    .hero-content,
    .hero-visual {
        width: 100%;
        min-width: 0;
    }

    .hero h1 {
        max-width: 100%;
        font-size: clamp(38px, 11vw, 48px);
        line-height: .98;
        letter-spacing: -2.4px;
        overflow-wrap: anywhere;
    }

    .hero-content > p {
        max-width: 100%;
        font-size: 14px;
        line-height: 1.75;
    }

    .hero-actions {
        width: 100%;
        gap: 10px;
    }

    .hero-actions .btn {
        min-width: 0;
        flex: 1 1 0;
        padding: 13px 12px;
        font-size: 11px;
    }

    .hero-features {
        width: 100%;
        gap: 10px 14px;
        justify-content: center;
    }

    .hero-features > span {
        white-space: nowrap;
    }

    .hero-visual {
        margin-top: 4px;
    }

    .hero-banner {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .purple-glow {
        width: 80vw;
        max-width: 420px;
        height: 260px;
    }
}

/* Very small phones */
@media (max-width: 380px) {
    .header {
        padding: 0 8px;
    }

    .brand-logo {
        width: 96px;
        height: 40px;
        flex-basis: 96px;
    }

    .header-right {
        gap: 4px;
    }

    .language-toggle,
    .header-btn,
    .mobile-menu-btn {
        width: 36px;
        min-width: 36px;
        height: 36px;
        min-height: 36px;
    }

    .header-btn i,
    .mobile-menu-btn {
        font-size: 16px;
    }

    .hero {
        padding-left: 14px;
        padding-right: 14px;
    }

    .hero h1 {
        font-size: 36px;
        letter-spacing: -2px;
    }

    .hero-actions .btn {
        flex-basis: 100%;
        width: 100%;
    }
}
/* =========================================================
   NEXT TAP — FINAL MOBILE HEADER FIX
========================================================= */


/* =========================================================
   GLOBAL
========================================================= */

html,
body {

    max-width: 100%;

    overflow-x: hidden;

}


body.menu-open {

    overflow: hidden;

}


/* =========================================================
   HEADER
========================================================= */

.header {

    width: 100%;

    min-width: 0;

}


.header-right {

    margin-left: auto;

    display: flex;

    align-items: center;

    gap: 9px;

    flex: 0 0 auto;

}


/*
IMPORTANT:

If an old HTML version still contains
the WhatsApp button inside the header,
hide it automatically.
*/

.header > .header-right > .header-btn {

    display: none !important;

}


/* =========================================================
   DESKTOP
========================================================= */

@media (min-width: 951px) {

    .header {

        padding-left:
            clamp(24px, 5vw, 70px);

        padding-right:
            clamp(24px, 5vw, 70px);

    }


    .brand-logo {

        width: 145px;

        flex: 0 0 145px;

    }


    .nav {

        flex: 1 1 auto;

        justify-content: center;

        margin-left: 20px;

        margin-right: 10px;

    }


    .mobile-menu-btn {

        display: none !important;

    }

}


/* =========================================================
   TABLET + MOBILE
========================================================= */

@media (max-width: 950px) {


    /* HEADER */

    .header {

        height: 68px;

        padding: 0 16px;

        gap: 0;

    }


    /* LOGO */

    .brand-logo {

        width: 118px;

        height: 48px;

        flex: 0 0 118px;

    }


    .brand-logo img {

        width: 100%;

        height: 100%;

        object-fit: contain;

        object-position: left center;

    }


    /* RIGHT */

    .header-right {

        margin-left: auto;

        gap: 7px;

    }


    /* =====================================================
       LANGUAGE
    ===================================================== */

    .language-switcher {

        display: block !important;

        flex: 0 0 auto;

    }


    .language-toggle {

        width: 42px;

        min-width: 42px;

        height: 42px;

        padding: 0;

        gap: 0;

    }


    .language-current {

        font-size: 9px;

    }


    .language-chevron {

        display: none;

    }


    /* =====================================================
       MENU BUTTON
    ===================================================== */

    .mobile-menu-btn {

        display: flex !important;

        width: 42px;

        height: 42px;

        flex: 0 0 42px;

        border-radius: 12px;

        position: relative;

        z-index: 1300;

    }


    .mobile-menu-btn.is-open {

        background:
            rgba(139,44,255,.14);

        border-color:
            rgba(193,60,255,.65);

        box-shadow:
            0 0 25px
            rgba(139,44,255,.15);

    }


    /* =====================================================
       MOBILE NAVIGATION
       
       HIDDEN BY DEFAULT
       
       OPENS ONLY AFTER CLICKING MENU
    ===================================================== */

    .nav,
    .nav.mobile-open {

        position: fixed;

        inset: 0;

        width: 100vw;

        max-width: 100vw;

        height: 100dvh;

        margin: 0;

        padding:
            110px 30px 60px;

        display: flex;

        flex-direction: column;

        align-items: center;

        justify-content: center;

        gap: 18px;


        background:

            radial-gradient(
                circle at 50% 35%,
                rgba(139,44,255,.14),
                transparent 38%
            ),

            rgba(5,5,7,.97);


        border: 0;

        border-radius: 0;

        box-shadow: none;


        backdrop-filter:
            blur(22px);

        -webkit-backdrop-filter:
            blur(22px);


        opacity: 0;

        visibility: hidden;

        pointer-events: none;


        transform:
            translateY(-12px);


        transition:

            opacity .25s ease,

            transform .25s ease,

            visibility .25s ease;


        z-index: 1200;

    }


    /* OPEN */

    .nav.mobile-open {

        opacity: 1;

        visibility: visible;

        pointer-events: auto;

        transform:
            translateY(0);

    }


    /* =====================================================
       NAV LINKS
    ===================================================== */

    .nav a,
    .nav.mobile-open a {

        width: auto;

        min-width: 190px;

        padding:
            14px 24px;


        display: flex;

        align-items: center;

        justify-content: center;


        border:
            1px solid transparent;

        border-radius: 14px;


        color: #f7f7fa;

        font-size: 18px;

        font-weight: 700;

        text-align: center;


        background: transparent;


        transition:
            .25s ease;

    }


    .nav a:hover,
    .nav a:focus-visible {

        color: #fff;

        border-color:
            rgba(193,60,255,.35);

        background:
            rgba(139,44,255,.10);

        transform:
            translateY(-2px);

    }


    /*
    Keep menu button above menu
    */

    .mobile-menu-btn {

        z-index: 1300;

    }

}


/* =========================================================
   PHONE
========================================================= */

@media (max-width: 600px) {


    .header {

        height: 64px;

        padding: 0 10px;

    }


    /* LOGO */

    .brand-logo {

        width: 104px;

        height: 43px;

        flex-basis: 104px;

    }


    /* RIGHT */

    .header-right {

        gap: 6px;

    }


    /* LANGUAGE + MENU */

    .language-toggle,
    .mobile-menu-btn {

        width: 40px;

        min-width: 40px;

        height: 40px;

        min-height: 40px;

    }


    .language-toggle {

        border-radius: 11px;

    }


    .mobile-menu-btn {

        border-radius: 11px;

        font-size: 18px;

    }


    /* MOBILE MENU */

    .nav,
    .nav.mobile-open {

        padding:
            90px 18px
            max(
                30px,
                env(safe-area-inset-bottom)
            );

    }


    .nav a,
    .nav.mobile-open a {

        min-width:
            min(250px, 82vw);

        padding:
            13px 20px;

        font-size: 17px;

    }

}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 380px) {


    .header {

        padding: 0 8px;

    }


    .brand-logo {

        width: 92px;

        height: 40px;

        flex-basis: 92px;

    }


    .header-right {

        gap: 5px;

    }


    .language-toggle,
    .mobile-menu-btn {

        width: 37px;

        min-width: 37px;

        height: 37px;

        min-height: 37px;

    }


    .nav a,
    .nav.mobile-open a {

        min-width:
            min(230px, 86vw);

        font-size: 16px;

    }

}


/* =========================================================
   RTL
========================================================= */

html[dir="rtl"] .nav a,
html[dir="rtl"] .nav.mobile-open a {

    text-align: center;

}/* =========================================================
   FINAL MOBILE HEADER POSITION
   LOGO = LEFT
   LANGUAGE + MENU = RIGHT
========================================================= */

@media (max-width: 950px) {

    .header {
        position: fixed;

        top: 0;
        left: 0;

        width: 100%;
        height: 68px;

        padding: 0 18px;

        display: flex;
        align-items: center;

        justify-content: space-between;

        gap: 0;

        box-sizing: border-box;
    }


    /* =========================================
       LOGO — LEFT
    ========================================= */

    .brand-logo {
        display: flex;

        width: 118px;
        height: 48px;

        flex: 0 0 118px;

        margin: 0;

        align-items: center;
    }


    .brand-logo img {
        width: 100%;
        height: 100%;

        object-fit: contain;

        object-position: left center;
    }


    /* =========================================
       RIGHT SIDE
       FR + MENU
    ========================================= */

    .header-right {

        margin-left: auto !important;

        margin-right: 0;

        display: flex;

        align-items: center;

        justify-content: flex-end;

        gap: 8px;

        flex: 0 0 auto;

        width: auto;
    }


    /* =========================================
       LANGUAGE BUTTON
    ========================================= */

    .language-switcher {

        display: block !important;

        position: relative;

        flex: 0 0 auto;
    }


    .language-toggle {

        width: 42px;

        min-width: 42px;

        height: 42px;

        padding: 0;

        margin: 0;

        display: flex;

        align-items: center;

        justify-content: center;

        gap: 0;

        border-radius: 12px;
    }


    .language-current {
        font-size: 9px;
    }


    .language-chevron {
        display: none;
    }


    /* =========================================
       MENU BUTTON
    ========================================= */

    .mobile-menu-btn {

        display: flex !important;

        width: 42px;

        min-width: 42px;

        height: 42px;

        min-height: 42px;

        margin: 0;

        padding: 0;

        flex: 0 0 42px;

        align-items: center;

        justify-content: center;

        border-radius: 12px;

        z-index: 1300;
    }


    /* =========================================
       MOBILE NAV
       Hidden until ☰ is clicked
    ========================================= */

    .nav {

        position: fixed;

        top: 0;
        left: 0;

        width: 100vw;
        height: 100dvh;

        max-width: 100vw;

        margin: 0;

        padding: 100px 20px 40px;

        box-sizing: border-box;

        display: flex;

        flex-direction: column;

        align-items: center;

        justify-content: center;

        gap: 16px;

        background:
            radial-gradient(
                circle at 50% 35%,
                rgba(139,44,255,.16),
                transparent 40%
            ),
            rgba(5,5,7,.97);

        backdrop-filter: blur(22px);
        -webkit-backdrop-filter: blur(22px);

        opacity: 0;

        visibility: hidden;

        pointer-events: none;

        transform: translateY(-10px);

        transition:
            opacity .25s ease,
            transform .25s ease,
            visibility .25s ease;

        z-index: 1200;
    }


    /* =========================================
       OPEN MENU
    ========================================= */

    .nav.mobile-open {

        opacity: 1;

        visibility: visible;

        pointer-events: auto;

        transform: translateY(0);
    }


    /* =========================================
       NAV LINKS
    ========================================= */

    .nav a {

        min-width: 210px;

        padding: 14px 22px;

        display: flex;

        align-items: center;

        justify-content: center;

        text-align: center;

        border-radius: 14px;

        font-size: 18px;

        font-weight: 700;

        color: #f7f7fa;

        border: 1px solid transparent;

        background: transparent;

        transition: .25s ease;
    }


    .nav a:hover {

        color: #fff;

        background:
            rgba(139,44,255,.10);

        border-color:
            rgba(193,60,255,.35);
    }

}


/* =========================================================
   PHONE
========================================================= */

@media (max-width: 600px) {

    .header {

        height: 64px;

        padding: 0 10px;
    }


    /* LOGO LEFT */

    .brand-logo {

        width: 104px;

        height: 43px;

        flex: 0 0 104px;
    }


    /* RIGHT */

    .header-right {

        margin-left: auto !important;

        gap: 7px;

        justify-content: flex-end;
    }


    /* FR */

    .language-toggle {

        width: 40px;

        min-width: 40px;

        height: 40px;

        border-radius: 11px;
    }


    /* MENU */

    .mobile-menu-btn {

        width: 40px;

        min-width: 40px;

        height: 40px;

        min-height: 40px;

        flex-basis: 40px;

        border-radius: 11px;
    }

}


/* =========================================================
   VERY SMALL PHONE
========================================================= */

@media (max-width: 380px) {

    .header {

        padding: 0 8px;
    }


    .brand-logo {

        width: 92px;

        height: 40px;

        flex-basis: 92px;
    }


    .header-right {

        gap: 5px;
    }


    .language-toggle,
    .mobile-menu-btn {

        width: 37px;

        min-width: 37px;

        height: 37px;

        min-height: 37px;
    }


    .mobile-menu-btn {

        flex-basis: 37px;
    }

} /* =========================================================
   FINAL RTL HEADER FIX
   Logo ALWAYS LEFT
   Language + Menu ALWAYS RIGHT
========================================================= */

/* Header position must NOT change with Arabic RTL */
.header {
    direction: ltr !important;
}

/* Logo stays on the LEFT */
.brand-logo {
    direction: ltr !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.brand-logo img {
    direction: ltr !important;
    object-position: left center !important;
}

/* Language + Menu ALWAYS stay on the RIGHT */
.header-right {
    direction: ltr !important;
    margin-left: auto !important;
    margin-right: 0 !important;
}

/* Language button itself stays normal */
.language-switcher,
.language-toggle {
    direction: ltr !important;
}

/* Arabic text can still be RTL */
html[dir="rtl"] .hero-content,
html[dir="rtl"] .section-title,
html[dir="rtl"] .why-text,
html[dir="rtl"] .cta,
html[dir="rtl"] .service-card,
html[dir="rtl"] footer {
    direction: rtl;
}

/* Mobile header */
@media (max-width: 950px) {

    .header {
        display: flex !important;
        flex-direction: row !important;
        direction: ltr !important;
    }

    .brand-logo {
        order: 1 !important;
    }

    .header-right {
        order: 2 !important;
        margin-left: auto !important;
        margin-right: 0 !important;
        direction: ltr !important;
    }

    .language-switcher {
        order: 1 !important;
    }

    .mobile-menu-btn {
        order: 2 !important;
    }

}