:root {
    --mersad-black: #050505;
    --mersad-dark: #0d0d0d;
    --mersad-surface: #161616;
    --mersad-lime: #dbf705;
    --mersad-white: #ffffff;
    --mersad-gray: #a6a6a6;
    --mersad-border: rgba(255, 255, 255, 0.1);
}

/* ==================================================
   Global
================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    font-family: Arial, sans-serif;
    background: var(--mersad-black);
    color: var(--mersad-white);
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

img,
svg {
    display: block;
    max-width: 100%;
}

.container {
    width: min(100% - 40px, 1240px);
    margin-inline: auto;
}

#main-content {
    overflow: hidden;
}

/* ==================================================
   Header
================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    border-bottom: 1px solid transparent;
    background: transparent;
    transition:
        background 0.35s ease,
        border-color 0.35s ease,
        backdrop-filter 0.35s ease;
}

.site-header.is-scrolled {
    background: rgba(5, 5, 5, 0.84);
    border-bottom-color: var(--mersad-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.site-header__inner {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
}

.site-logo {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-logo img {
    width: 116px;
    height: auto;
    transition:
        transform 0.35s ease,
        filter 0.35s ease;
}

.site-logo:hover img {
    transform: translateY(-2px) scale(1.02);
    filter:
        drop-shadow(
            0 0 14px rgba(219, 247, 5, 0.18)
        );
}

.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
}

.desktop-nav a {
    position: relative;
    padding: 10px 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    font-weight: 600;
    transition: color 0.25s ease;
}

.desktop-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 3px;
    width: 0;
    height: 2px;
    border-radius: 10px;
    background: var(--mersad-lime);
    transition: width 0.3s ease;
}

.desktop-nav a:hover {
    color: var(--mersad-white);
}

.desktop-nav a:hover::after {
    right: auto;
    left: 0;
    width: 100%;
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-cta {
    position: relative;
    overflow: hidden;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 21px;
    border: 1px solid var(--mersad-lime);
    border-radius: 999px;
    background: var(--mersad-lime);
    color: var(--mersad-black);
    font-size: 14px;
    font-weight: 800;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.header-cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 75%;
    height: 100%;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.65),
            transparent
        );
    transform: skewX(-20deg);
    transition: left 0.55s ease;
}

.header-cta:hover::before {
    left: 140%;
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow:
        0 12px 35px rgba(219, 247, 5, 0.18);
}

.header-cta span,
.header-cta svg {
    position: relative;
    z-index: 1;
}

.header-cta svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.3s ease;
}

.header-cta:hover svg {
    transform: translateX(4px);
}

/* Mobile menu button */

.mobile-menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid var(--mersad-border);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 19px;
    height: 2px;
    margin: 5px auto;
    border-radius: 10px;
    background: var(--mersad-white);
    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

.mobile-menu-toggle.is-active span:first-child {
    transform:
        translateY(3.5px)
        rotate(45deg);
}

.mobile-menu-toggle.is-active span:last-child {
    transform:
        translateY(-3.5px)
        rotate(-45deg);
}

/* Mobile menu */

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 2;
    width: 100%;
    height: 100dvh;
    padding: 125px 24px 40px;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(219, 247, 5, 0.08),
            transparent 28%
        ),
        var(--mersad-black);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-16px);
    transition:
        opacity 0.35s ease,
        visibility 0.35s ease,
        transform 0.35s ease;
}

.mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
}

.mobile-menu nav > a:not(.mobile-menu__cta) {
    padding: 18px 0;
    border-bottom:
        1px solid var(--mersad-border);
    color: var(--mersad-white);
    font-size: clamp(28px, 8vw, 42px);
    font-weight: 700;
    letter-spacing: -0.04em;
}

.mobile-menu__cta {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 34px;
    border-radius: 999px;
    background: var(--mersad-lime);
    color: var(--mersad-black);
    font-weight: 800;
}

/* ==================================================
   Hero
================================================== */

.home-hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 105px 0 65px;
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.018),
            transparent 35%
        ),
        var(--mersad-black);
}

.home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.25;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        );
    background-size: 64px 64px;
    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent 80%
        );
    -webkit-mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent 80%
        );
}

.home-hero__glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(110px);
}

.home-hero__glow--one {
    top: 4%;
    right: 6%;
    width: 430px;
    height: 430px;
    background: rgba(219, 247, 5, 0.1);
}

.home-hero__glow--two {
    bottom: 0;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(219, 247, 5, 0.055);
}

/* Desktop layout */

.home-hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns:
        minmax(0, 620px)
        minmax(500px, 1fr);
    align-items: center;
    gap: 68px;
}

.home-hero__content {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 620px;
    min-width: 0;
}

.home-hero__visual {
    position: relative;
    z-index: 2;
    width: 100%;
    min-width: 0;
    min-height: 590px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
}

/* Hero badge */

.home-hero__badge {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 26px;
    padding: 9px 14px;
    border:
        1px solid rgba(255, 255, 255, 0.11);
    border-radius: 999px;
    background:
        rgba(255, 255, 255, 0.035);
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: 700;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.home-hero__badge span {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--mersad-lime);
    box-shadow:
        0 0 14px rgba(219, 247, 5, 0.8);
    animation:
        heroPulse 1.8s ease-in-out infinite;
}

/* Hero title */

.home-hero__title {
    width: 100%;
    max-width: 620px;
    margin: 0;
    color: var(--mersad-white);
    font-size: clamp(50px, 4.75vw, 74px);
    font-weight: 800;
    line-height: 0.96;
    letter-spacing: -0.058em;
}

.home-hero__title-line {
    display: block;
    white-space: nowrap;
}

.home-hero__dynamic-line {
    display: flex;
    align-items: baseline;
    width: 100%;
    min-height: 1.06em;
    color: var(--mersad-lime);
    white-space: nowrap;
}

.home-hero__dynamic-prefix {
    display: inline-block;
    flex-shrink: 0;
    margin-right: 0.18em;
}

.home-hero__dynamic-word {
    display: inline-block;
    width: 9.2ch;
    flex: 0 0 9.2ch;
    color: var(--mersad-lime);
    white-space: nowrap;
    transform-origin: left center;
    will-change: opacity, transform, filter;
    transition:
        opacity 0.52s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.52s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.52s ease;
}

.home-hero__dynamic-word.is-changing {
    opacity: 0;
    transform:
        translateY(0.24em)
        scale(0.965);
    filter: blur(7px);
}

/* Description */

.home-hero__description {
    max-width: 600px;
    margin: 27px 0 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 18px;
    line-height: 1.75;
}

/* Buttons */

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 31px;
}

.hero-button {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 24px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    transition:
        transform 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease,
        box-shadow 0.3s ease;
}

.hero-button--primary {
    background: var(--mersad-lime);
    color: var(--mersad-black);
}

.hero-button--primary:hover {
    transform: translateY(-3px);
    box-shadow:
        0 18px 45px rgba(219, 247, 5, 0.16);
}

.hero-button--secondary {
    border:
        1px solid rgba(255, 255, 255, 0.14);
    background:
        rgba(255, 255, 255, 0.035);
    color: var(--mersad-white);
}

.hero-button--secondary:hover {
    transform: translateY(-3px);
    border-color:
        rgba(219, 247, 5, 0.45);
    background:
        rgba(219, 247, 5, 0.055);
}

.hero-button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.3s ease;
}

.hero-button:hover svg {
    transform: translateX(4px);
}

/* ==================================================
   Trust Slider
================================================== */

.hero-trust {
    position: relative;
    width: min(100%, 540px);
    min-height: 116px;
    margin-top: 32px;
    overflow: hidden;
    border:
        1px solid rgba(255, 255, 255, 0.11);
    border-radius: 24px;
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.075),
            rgba(255, 255, 255, 0.018)
        ),
        rgba(12, 12, 12, 0.84);
    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.32),
        inset 0 1px 0
        rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.hero-trust::before {
    content: "";
    position: absolute;
    top: -70px;
    right: -45px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background:
        rgba(219, 247, 5, 0.1);
    filter: blur(58px);
    pointer-events: none;
}

.hero-trust__slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 23px 28px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    pointer-events: none;
    transition:
        opacity 0.55s ease,
        visibility 0.55s ease,
        transform 0.55s
        cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-trust__slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.hero-trust__people {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding-left: 18px;
}

.hero-trust__people span {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    margin-left: -18px;
    border: 2px solid #171717;
    border-radius: 50%;
    background:
        linear-gradient(
            145deg,
            rgba(219, 247, 5, 0.18),
            rgba(255, 255, 255, 0.055)
        ),
        #1b1b1b;
    color: rgba(255, 255, 255, 0.78);
    box-shadow:
        inset 0 1px 0
        rgba(255, 255, 255, 0.08),
        0 8px 22px rgba(0, 0, 0, 0.3);
}

.hero-trust__people span:first-child {
    margin-left: 0;
    color: var(--mersad-lime);
}

.hero-trust__people span:nth-child(2) {
    transform: scale(0.95);
}

.hero-trust__people span:nth-child(3) {
    transform: scale(0.9);
}

.hero-trust__people svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero-trust__content {
    min-width: 0;
}

.hero-trust__content strong,
.hero-trust__content span {
    display: block;
}

.hero-trust__stars {
    margin-bottom: 6px;
    color: var(--mersad-lime);
    font-size: 12px;
    letter-spacing: 0.12em;
}

.hero-trust__content strong {
    color: var(--mersad-white);
    font-size: 16px;
    line-height: 1.3;
}

.hero-trust__content > span {
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.42);
    font-size: 10px;
    line-height: 1.45;
}

.hero-trust__progress {
    position: absolute;
    right: 22px;
    bottom: 12px;
    left: 22px;
    z-index: 3;
    display: flex;
    gap: 7px;
}

.hero-trust__progress span {
    height: 2px;
    flex: 1;
    overflow: hidden;
    border-radius: 999px;
    background:
        rgba(255, 255, 255, 0.08);
}

.hero-trust__progress span::after {
    content: "";
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background:
        linear-gradient(
            90deg,
            rgba(219, 247, 5, 0.4),
            var(--mersad-lime)
        );
}

.hero-trust__progress span.is-active::after {
    animation:
        trustProgress 4.8s linear forwards;
}

/* ==================================================
   Dashboard
================================================== */

.hero-dashboard {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 350px;
    padding: 27px;
    border:
        1px solid rgba(255, 255, 255, 0.09);
    border-radius: 28px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.07),
            rgba(255, 255, 255, 0.018)
        ),
        rgba(14, 14, 14, 0.88);
    color: var(--mersad-white);
    box-shadow:
        0 40px 110px rgba(0, 0, 0, 0.5),
        inset 0 1px 0
        rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    transform:
        rotateY(-7deg)
        rotateX(3deg);
    transition: transform 0.4s ease;
    animation:
        dashboardFloat 5s ease-in-out infinite;
}

.home-hero__visual:hover .hero-dashboard {
    transform:
        rotateY(-3deg)
        rotateX(1deg)
        translateY(-5px);
}

.hero-dashboard__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.hero-dashboard__header strong {
    display: block;
    margin-top: 7px;
    font-size: 17px;
}

.hero-dashboard__label {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
}

.hero-dashboard__live {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border-radius: 999px;
    background:
        rgba(219, 247, 5, 0.08);
    color: var(--mersad-lime);
    font-size: 11px;
    font-weight: 800;
}

.hero-dashboard__live i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--mersad-lime);
    animation:
        heroPulse 1.8s ease-in-out infinite;
}

.hero-dashboard__main {
    margin-top: 52px;
}

.hero-dashboard__metric span,
.hero-dashboard__metric small {
    display: block;
}

.hero-dashboard__metric span {
    color: rgba(255, 255, 255, 0.42);
    font-size: 13px;
}

.hero-dashboard__metric strong {
    display: block;
    margin-top: 12px;
    font-size: 76px;
    line-height: 1;
    letter-spacing: -0.06em;
}

.hero-dashboard__metric small {
    margin-top: 12px;
    color: var(--mersad-lime);
    font-size: 13px;
    font-weight: 800;
}

.hero-dashboard__bars {
    height: 155px;
    display: flex;
    align-items: flex-end;
    gap: 11px;
    margin-top: 38px;
}

.hero-dashboard__bars span {
    flex: 1;
    height: var(--height);
    border-radius: 8px 8px 2px 2px;
    background:
        linear-gradient(
            180deg,
            var(--mersad-lime),
            rgba(219, 247, 5, 0.15)
        );
    box-shadow:
        0 0 18px
        rgba(219, 247, 5, 0.05);
    transform-origin: bottom;
    animation:
        barGrow 1.1s ease both;
}

.hero-dashboard__bars span:nth-child(2) {
    animation-delay: 0.08s;
}

.hero-dashboard__bars span:nth-child(3) {
    animation-delay: 0.16s;
}

.hero-dashboard__bars span:nth-child(4) {
    animation-delay: 0.24s;
}

.hero-dashboard__bars span:nth-child(5) {
    animation-delay: 0.32s;
}

.hero-dashboard__bars span:nth-child(6) {
    animation-delay: 0.4s;
}

.hero-dashboard__bars span:nth-child(7) {
    animation-delay: 0.48s;
}

.hero-dashboard__footer {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 34px;
    padding-top: 22px;
    border-top:
        1px solid rgba(255, 255, 255, 0.08);
}

.hero-dashboard__footer span,
.hero-dashboard__footer strong {
    display: block;
}

.hero-dashboard__footer span {
    color: rgba(255, 255, 255, 0.36);
    font-size: 10px;
}

.hero-dashboard__footer strong {
    margin-top: 8px;
    font-size: 15px;
}

/* ==================================================
   Floating Cards
================================================== */

.hero-floating-card {
    position: absolute;
    z-index: 4;
    border:
        1px solid rgba(255, 255, 255, 0.09);
    background:
        rgba(20, 20, 20, 0.78);
    box-shadow:
        0 24px 55px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.hero-floating-card span,
.hero-floating-card strong,
.hero-floating-card small {
    display: block;
}

.hero-floating-card span {
    color: rgba(255, 255, 255, 0.42);
    font-size: 11px;
}

.hero-floating-card strong {
    margin-top: 7px;
    font-size: 24px;
}

.hero-floating-card small {
    margin-top: 5px;
    color: var(--mersad-lime);
    font-size: 10px;
}

.hero-floating-card--traffic {
    top: 8%;
    left: 5%;
    padding: 17px 20px;
    border-radius: 18px;
    animation:
        cardFloatOne 4.5s ease-in-out infinite;
}

.hero-floating-card--revenue {
    right: -2%;
    bottom: 16%;
    padding: 18px 22px;
    border-radius: 18px;
    animation:
        cardFloatTwo 5s ease-in-out infinite;
}

.hero-floating-card--journey {
    left: 4%;
    bottom: 5%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 13px 15px;
    border-radius: 999px;
    animation:
        cardFloatOne 5.5s ease-in-out
        infinite reverse;
}

.hero-floating-card--journey span {
    color: rgba(255, 255, 255, 0.65);
    font-size: 10px;
    font-weight: 700;
}

.hero-floating-card--journey i {
    width: 18px;
    height: 1px;
    background: var(--mersad-lime);
}

/* Orbits */

.hero-orbit {
    position: absolute;
    border:
        1px solid rgba(219, 247, 5, 0.12);
    border-radius: 50%;
}

.hero-orbit--one {
    width: 490px;
    height: 490px;
    animation:
        orbitRotate 18s linear infinite;
}

.hero-orbit--two {
    width: 590px;
    height: 590px;
    border-color:
        rgba(255, 255, 255, 0.045);
    animation:
        orbitRotate 25s linear infinite reverse;
}

/* Scroll indicator */

.home-hero__scroll {
    position: absolute;
    bottom: 28px;
    left: 50%;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.28);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transform: translateX(-50%);
}

.home-hero__scroll i {
    width: 42px;
    height: 1px;
    overflow: hidden;
    background:
        rgba(255, 255, 255, 0.16);
}

.home-hero__scroll i::after {
    content: "";
    display: block;
    width: 50%;
    height: 100%;
    background: var(--mersad-lime);
    animation:
        scrollLine 1.8s ease-in-out infinite;
}

/* ==================================================
   Animations
================================================== */

@keyframes heroPulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.45;
        transform: scale(0.75);
    }
}

@keyframes dashboardFloat {
    0%,
    100% {
        translate: 0 0;
    }

    50% {
        translate: 0 -10px;
    }
}

@keyframes cardFloatOne {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes cardFloatTwo {
    0%,
    100% {
        transform:
            translateY(0)
            rotate(1deg);
    }

    50% {
        transform:
            translateY(11px)
            rotate(-1deg);
    }
}

@keyframes barGrow {
    from {
        opacity: 0;
        transform: scaleY(0);
    }

    to {
        opacity: 1;
        transform: scaleY(1);
    }
}

@keyframes orbitRotate {
    to {
        transform: rotate(360deg);
    }
}

@keyframes scrollLine {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(220%);
    }
}

@keyframes trustProgress {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

/* ==================================================
   Medium Desktop / Laptop
================================================== */

@media (max-width: 1240px) and (min-width: 1061px) {
    .home-hero__inner {
        grid-template-columns:
            minmax(0, 560px)
            minmax(430px, 1fr);
        gap: 42px;
    }

    .home-hero__content {
        max-width: 560px;
    }

    .home-hero__title {
        max-width: 560px;
        font-size:
            clamp(48px, 4.7vw, 66px);
    }

    .hero-dashboard {
        max-width: 300px;
    }

    .hero-floating-card--traffic {
        left: 7%;
    }

    .desktop-nav {
        gap: 21px;
    }

    .desktop-nav a {
        font-size: 13px;
    }

    .header-cta {
        padding-inline: 17px;
    }
}

/* ==================================================
   Tablet
================================================== */

@media (max-width: 1060px) {
    .home-hero {
        min-height: auto;
        padding: 120px 0 80px;
    }

    .home-hero__inner {
        grid-template-columns: 1fr;
        gap: 52px;
    }

    .home-hero__content {
        width: min(100%, 800px);
        max-width: 800px;
    }

    .home-hero__title {
        max-width: 760px;
        font-size:
            clamp(57px, 8.5vw, 86px);
    }

    .home-hero__visual {
        width: min(100%, 680px);
        min-height: 560px;
        margin-inline: auto;
    }

    .hero-trust {
        width: min(100%, 540px);
    }
}

/* ==================================================
   Mobile Header
================================================== */

@media (max-width: 900px) {
    .desktop-nav,
    .header-cta {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .site-header__inner {
        min-height: 78px;
    }

    .site-logo img {
        width: 102px;
    }
}

/* ==================================================
   Mobile
================================================== */

@media (max-width: 700px) {
    .container {
        width: min(100% - 28px, 1240px);
    }

    .site-logo img {
        width: 94px;
    }

    .mobile-menu-toggle {
        width: 44px;
        height: 44px;
    }

    .home-hero {
        min-height: auto;
        display: block;
        padding: 104px 0 58px;
    }

    /*
     نفتح عناصر المحتوى داخل نفس Flex Container
     عشان نقدر نحط الجراف بعد الزرارين وقبل التراست.
    */

    .home-hero__inner {
    display: block;
}

.home-hero__content {
    display: block;
    width: 100%;
    max-width: 100%;
}

.home-hero__visual {
    width: 100%;
    min-height: 315px;
    margin: 30px 0 0;
    padding: 8px 0 34px;
    perspective: none;
}

.hero-trust {
    width: 100%;
    min-height: 116px;
    margin-top: 24px;
    border-radius: 20px;
}

    /* Smaller mobile dashboard */

    .hero-dashboard {
        width: min(78%, 278px);
        max-width: 278px;
        margin-inline: auto;
        padding: 12px;
        border-radius: 17px;
        transform: none;
        animation-duration: 6s;
    }

    .home-hero__visual:hover .hero-dashboard {
        transform: none;
    }

    .hero-dashboard__header {
        gap: 8px;
    }

    .hero-dashboard__header strong {
        margin-top: 2px;
        font-size: 9px;
    }

    .hero-dashboard__label {
        font-size: 6px;
    }

    .hero-dashboard__live {
        padding: 3px 6px;
        font-size: 6px;
    }

    .hero-dashboard__live i {
        width: 4px;
        height: 4px;
    }

    .hero-dashboard__main {
        margin-top: 11px;
    }

    .hero-dashboard__metric span {
        font-size: 6px;
    }

    .hero-dashboard__metric strong {
        margin-top: 4px;
        font-size: 27px;
    }

    .hero-dashboard__metric small {
        margin-top: 4px;
        font-size: 6px;
    }

    .hero-dashboard__bars {
        height: 43px;
        gap: 4px;
        margin-top: 10px;
    }

    .hero-dashboard__bars span {
        border-radius: 4px 4px 1px 1px;
    }

    .hero-dashboard__footer {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
        gap: 4px;
        margin-top: 9px;
        padding-top: 8px;
    }

    .hero-dashboard__footer div:last-child {
        grid-column: auto;
    }

    .hero-dashboard__footer span {
        font-size: 4.5px;
        line-height: 1.2;
    }

    .hero-dashboard__footer strong {
        margin-top: 2px;
        font-size: 6px;
        white-space: nowrap;
    }

    /* Floating cards */

    .hero-floating-card {
        display: block;
        z-index: 6;
        border-radius: 12px;
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }

    .hero-floating-card span {
        font-size: 6px;
    }

    .hero-floating-card strong {
        margin-top: 3px;
        font-size: 13px;
    }

    .hero-floating-card small {
        margin-top: 2px;
        font-size: 5px;
    }

    .hero-floating-card--traffic {
        top: 0;
        left: 3%;
        padding: 8px 10px;
    }

    .hero-floating-card--revenue {
        right: 3%;
        bottom: 24px;
        padding: 8px 10px;
    }

    .hero-floating-card--journey {
        bottom: 0;
        left: 50%;
        display: flex;
        width: max-content;
        gap: 6px;
        padding: 8px 10px;
        transform: translateX(-50%);
        animation: none;
    }

    .hero-floating-card--journey span {
        font-size: 6px;
    }

    .hero-floating-card--journey i {
        width: 12px;
    }

    .hero-orbit--one {
        display: block;
        width: 270px;
        height: 270px;
    }

    .hero-orbit--two,
    .home-hero__scroll {
        display: none;
    }

    /* Mobile content */

    .home-hero__badge {
        margin-bottom: 18px;
        padding: 8px 12px;
        font-size: 10px;
    }

    .home-hero__title {
        max-width: 100%;
        font-size:
            clamp(40px, 11.2vw, 53px);
        line-height: 0.98;
        letter-spacing: -0.052em;
    }

    .home-hero__title-line {
        white-space: normal;
    }

    .home-hero__dynamic-line {
        display: flex;
        min-height: 1.06em;
        white-space: nowrap;
    }

    .home-hero__dynamic-prefix {
        display: inline-block;
        margin-right: 0.18em;
    }

    .home-hero__dynamic-word {
        width: 9.2ch;
        flex: 0 0 9.2ch;
        white-space: nowrap;
    }

    .home-hero__description {
        margin-top: 20px;
        font-size: 15px;
        line-height: 1.65;
    }

    .home-hero__actions {
        flex-direction: column;
        margin-top: 25px;
    }

    .hero-button {
        width: 100%;
        min-height: 52px;
    }

    /* Trust card details */

    .hero-trust__slide {
        gap: 14px;
        padding: 18px 16px 27px;
    }

    .hero-trust__people {
        padding-left: 13px;
    }

    .hero-trust__people span {
        width: 35px;
        height: 35px;
        margin-left: -13px;
    }

    .hero-trust__people span:first-child {
        margin-left: 0;
    }

    .hero-trust__people svg {
        width: 16px;
        height: 16px;
    }

    .hero-trust__stars {
        font-size: 10px;
    }

    .hero-trust__content strong {
        font-size: 13px;
    }

    .hero-trust__content > span {
        font-size: 9px;
    }

    .hero-trust__progress {
        right: 16px;
        bottom: 11px;
        left: 16px;
    }
}

/* ==================================================
   Small Phones
================================================== */

@media (max-width: 390px) {
    .container {
        width: min(100% - 22px, 1240px);
    }

    .home-hero__title {
        font-size: 38px;
    }

    .home-hero__visual {
        min-height: 300px;
    }

    .hero-dashboard {
        max-width: 254px;
    }

    .hero-trust__slide {
        gap: 10px;
        padding-inline: 13px;
    }

    .hero-trust__people span {
        width: 32px;
        height: 32px;
    }

    .hero-trust__content strong {
        font-size: 12px;
    }
}

/* ==================================================
   Large Screens
================================================== */

@media (min-width: 1440px) {
    .container {
        width: min(100% - 64px, 1340px);
    }

    .home-hero__inner {
        grid-template-columns:
            minmax(0, 660px)
            minmax(350px, 1fr);
        gap: 86px;
    }

    .home-hero__content {
        max-width: 660px;
    }

    .home-hero__title {
        max-width: 660px;
        font-size:
            clamp(66px, 5.1vw, 84px);
    }

    .hero-dashboard {
        max-width: 540px;
    }
}

/* ==================================================
   Reduced Motion
================================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}



/* تصغير الـHero visual كله على الديسكتوب فقط */
@media (min-width: 1061px) {
    .home-hero__visual {
        transform: scale(0.70);
        transform-origin: center center;
    }
}

/* الشاشات الكبيرة */
@media (min-width: 1440px) {
    .home-hero__visual {
        transform: scale(0.7);
    }
}



/* ==================================================
   Desktop Hero Motion
================================================== */

@media (min-width: 1061px) {

    /*
     تحريك الجراف كاملًا:
     Dashboard + Floating Cards + Orbits
     استخدام translate منفصل عشان ميكسرش scale الحالي.
    */

    .home-hero__visual {
        animation:
            desktopVisualFloat 6.5s
            cubic-bezier(0.45, 0, 0.55, 1)
            infinite;
        will-change: translate;
    }

    /*
     نوقف حركة الـDashboard المنفصلة على Desktop
     عشان العناصر كلها تتحرك كوحدة واحدة.
    */

    .hero-dashboard {
        animation: none;
    }

    /*
     تحسين حركة الكلمة المتغيرة على Desktop فقط
    */

    .home-hero__dynamic-word {
        transform-origin: left center;
        will-change: opacity, transform, filter;
        transition:
            opacity 0.52s
            cubic-bezier(0.22, 1, 0.36, 1),
            transform 0.52s
            cubic-bezier(0.22, 1, 0.36, 1),
            filter 0.42s ease;
    }

    .home-hero__dynamic-word.is-changing {
        opacity: 0;
        transform:
            translateY(-0.18em)
            scale(0.97);
        filter: blur(5px);
    }
}

/* حركة الجراف بالكامل */

@keyframes desktopVisualFloat {
    0%,
    100% {
        translate: 0 0;
    }

    50% {
        translate: 0 -13px;
    }
}