/* =====================================================
   RESET
===================================================== */

#icv4-hero,
#icv4-hero *,
#icv4-hero *::before,
#icv4-hero *::after {
    box-sizing: border-box;
}

#icv4-hero {
    --icv4-red: #ad202b;
    --icv4-red-dark: #741018;
    --icv4-red-light: #e34853;
    --icv4-dark: #17191d;
    --icv4-gray: #686b72;
    --icv4-image: url("https://irancatalyst.ir/wp-content/uploads/2026/07/top.png");

    position: relative;
    isolation: isolate;

    display: block;
    width: min(1600px, calc(100% - 24px));
    min-height: 760px;

    margin: 20px auto;
    padding: 55px 65px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 77% 20%,
            rgba(173, 32, 43, 0.13),
            transparent 29%
        ),
        radial-gradient(
            circle at 10% 85%,
            rgba(23, 25, 29, 0.07),
            transparent 31%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f8f8f6 52%,
            #efefec 100%
        );

    border: 1px solid rgba(23, 25, 29, 0.07);
    border-radius: 40px;

    box-shadow:
        0 35px 100px rgba(20, 22, 27, 0.11),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

#icv4-hero::before {
    content: "";

    position: absolute;
    z-index: -2;

    top: -280px;
    left: 25%;

    width: 610px;
    height: 610px;

    border: 110px solid rgba(173, 32, 43, 0.026);
    border-radius: 50%;
}

#icv4-hero::after {
    content: "CATALYST";

    position: absolute;
    z-index: -2;

    left: 20px;
    bottom: -30px;

    color: rgba(23, 25, 29, 0.026);

    font-family: Montserrat, Poppins, Arial, sans-serif;
    font-size: clamp(85px, 11vw, 190px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -8px;

    white-space: nowrap;
    pointer-events: none;
}

/* =====================================================
   LAYOUT
===================================================== */

#icv4-hero .icv4-inner {
    position: relative;
    z-index: 5;

    display: grid;
    grid-template-columns:
        minmax(420px, 0.87fr)
        minmax(570px, 1.13fr);

    align-items: center;
    gap: 25px;

    width: 100%;
    max-width: 1460px;
    min-height: 650px;

    margin: 0 auto;
}

/* =====================================================
   BACKGROUND
===================================================== */

#icv4-hero .icv4-grid {
    position: absolute;
    inset: 0;
    z-index: -1;

    opacity: 0.28;
    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(23, 25, 29, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(23, 25, 29, 0.035) 1px,
            transparent 1px
        );

    background-size: 70px 70px;

    -webkit-mask-image:
        linear-gradient(
            90deg,
            transparent,
            #000 20%,
            #000 82%,
            transparent
        );

    mask-image:
        linear-gradient(
            90deg,
            transparent,
            #000 20%,
            #000 82%,
            transparent
        );
}

#icv4-hero .icv4-glow {
    position: absolute;
    z-index: -1;

    border-radius: 50%;
    pointer-events: none;
}

#icv4-hero .icv4-glow-1 {
    top: 7%;
    right: -130px;

    width: 370px;
    height: 370px;

    background: rgba(173, 32, 43, 0.075);
}

#icv4-hero .icv4-glow-2 {
    left: -180px;
    bottom: -200px;

    width: 460px;
    height: 460px;

    background: rgba(23, 25, 29, 0.045);
}

/* =====================================================
   CONTENT
===================================================== */

#icv4-hero .icv4-content {
    position: relative;
    z-index: 20;

    display: block;
    max-width: 610px;

    opacity: 1;

    -webkit-animation:
        icv4-content-loop 12s
        cubic-bezier(.16, 1, .3, 1)
        infinite both !important;

    animation:
        icv4-content-loop 12s
        cubic-bezier(.16, 1, .3, 1)
        infinite both !important;

    -webkit-animation-play-state: running !important;
    animation-play-state: running !important;
}

/* Brand */

#icv4-hero .icv4-brand {
    display: inline-flex;
    align-items: center;

    direction: ltr;
    gap: 13px;

    margin-bottom: 23px;

    color: var(--icv4-dark);

    font-family: Montserrat, Poppins, Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 5px;
}

#icv4-hero .icv4-brand-line {
    display: block;

    width: 55px;
    height: 3px;

    background:
        linear-gradient(
            90deg,
            var(--icv4-red-dark),
            var(--icv4-red-light)
        );

    border-radius: 30px;
    transform-origin: left center;

    -webkit-animation:
        icv4-brand-loop 12s ease infinite both !important;

    animation:
        icv4-brand-loop 12s ease infinite both !important;

    -webkit-animation-play-state: running !important;
    animation-play-state: running !important;
}

/* =====================================================
   ENGLISH SLOGAN
===================================================== */

#icv4-hero .icv4-title {
    direction: ltr;

    margin: 0;

    text-align: left;

    font-family: Montserrat, Poppins, Arial, sans-serif;
    font-size: clamp(50px, 5.2vw, 85px);
    font-weight: 900;
    line-height: 0.94;
    letter-spacing: -5px;
}

#icv4-hero .icv4-title-line {
    display: block;
    width: fit-content;
}

#icv4-hero .icv4-title-1 {
    color: var(--icv4-dark);

    -webkit-animation:
        icv4-title-one-loop 12s
        cubic-bezier(.16, 1, .3, 1)
        infinite both !important;

    animation:
        icv4-title-one-loop 12s
        cubic-bezier(.16, 1, .3, 1)
        infinite both !important;

    -webkit-animation-play-state: running !important;
    animation-play-state: running !important;
}

#icv4-hero .icv4-title-2 {
    margin-top: 10px;

    color: transparent;

    background:
        linear-gradient(
            105deg,
            var(--icv4-red-dark) 0%,
            var(--icv4-red) 37%,
            #eb626b 51%,
            var(--icv4-red) 67%,
            var(--icv4-red-dark) 100%
        );

    background-size: 240% auto;
    background-position: 100% center;

    background-clip: text;
    -webkit-background-clip: text;

    -webkit-animation:
        icv4-title-two-loop 12s
        cubic-bezier(.16, 1, .3, 1)
        infinite both !important;

    animation:
        icv4-title-two-loop 12s
        cubic-bezier(.16, 1, .3, 1)
        infinite both !important;

    -webkit-animation-play-state: running !important;
    animation-play-state: running !important;
}

/* =====================================================
   PERSIAN SLOGAN
===================================================== */

#icv4-hero .icv4-persian-title {
    position: relative;

    display: block;
    width: fit-content;

    margin-top: 28px;
    padding-right: 18px;

    color: var(--icv4-dark);

    font-family:
        Vazirmatn,
        IRANSansX,
        IRANSans,
        Tahoma,
        sans-serif;

    font-size: clamp(21px, 2vw, 29px);
    font-weight: 800;
    line-height: 1.6;

    -webkit-animation:
        icv4-persian-loop 12s
        cubic-bezier(.16, 1, .3, 1)
        infinite both !important;

    animation:
        icv4-persian-loop 12s
        cubic-bezier(.16, 1, .3, 1)
        infinite both !important;

    -webkit-animation-play-state: running !important;
    animation-play-state: running !important;
}

#icv4-hero .icv4-persian-title::before {
    content: "";

    position: absolute;

    top: 8%;
    right: 0;

    width: 5px;
    height: 84%;

    background:
        linear-gradient(
            180deg,
            var(--icv4-red-light),
            var(--icv4-red-dark)
        );

    border-radius: 30px;
    transform-origin: center top;

    -webkit-animation:
        icv4-persian-border-loop 12s ease infinite both !important;

    animation:
        icv4-persian-border-loop 12s ease infinite both !important;

    -webkit-animation-play-state: running !important;
    animation-play-state: running !important;
}

/* =====================================================
   ACTIVITY TEXT
===================================================== */

#icv4-hero .icv4-activities {
    position: relative;

    display: block;
    width: 100%;
    height: 48px;

    margin-top: 27px;
    overflow: hidden;

    font-family:
        Vazirmatn,
        IRANSansX,
        IRANSans,
        Tahoma,
        sans-serif;
}

#icv4-hero .icv4-activity {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;

    color: var(--icv4-gray);

    font-size: clamp(14px, 1.2vw, 17px);
    font-weight: 600;
    line-height: 1.8;

    opacity: 0;
}

#icv4-hero .icv4-activity span {
    display: block;
    flex: 0 0 auto;

    width: 7px;
    height: 7px;

    margin-left: 13px;

    background: var(--icv4-red);
    border-radius: 50%;

    box-shadow:
        0 0 0 6px rgba(173, 32, 43, 0.08),
        0 0 17px rgba(173, 32, 43, 0.28);
}

#icv4-hero .icv4-activity-1 {
    -webkit-animation:
        icv4-activity-loop 12s ease 0s infinite both !important;

    animation:
        icv4-activity-loop 12s ease 0s infinite both !important;
}

#icv4-hero .icv4-activity-2 {
    -webkit-animation:
        icv4-activity-loop 12s ease 3s infinite both !important;

    animation:
        icv4-activity-loop 12s ease 3s infinite both !important;
}

#icv4-hero .icv4-activity-3 {
    -webkit-animation:
        icv4-activity-loop 12s ease 6s infinite both !important;

    animation:
        icv4-activity-loop 12s ease 6s infinite both !important;
}

#icv4-hero .icv4-activity-4 {
    -webkit-animation:
        icv4-activity-loop 12s ease 9s infinite both !important;

    animation:
        icv4-activity-loop 12s ease 9s infinite both !important;
}

#icv4-hero .icv4-activity {
    -webkit-animation-play-state: running !important;
    animation-play-state: running !important;
}

/* Progress */

#icv4-hero .icv4-progress {
    display: block;

    width: min(100%, 440px);
    height: 2px;

    margin-top: 7px;
    overflow: hidden;

    background: rgba(23, 25, 29, 0.08);
    border-radius: 20px;
}

#icv4-hero .icv4-progress span {
    display: block;

    width: 100%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            var(--icv4-red-dark),
            var(--icv4-red-light)
        );

    border-radius: inherit;
    transform-origin: right center;

    -webkit-animation:
        icv4-progress-loop 3s linear infinite both !important;

    animation:
        icv4-progress-loop 3s linear infinite both !important;

    -webkit-animation-play-state: running !important;
    animation-play-state: running !important;
}

/* =====================================================
   IMAGE STAGE
===================================================== */

#icv4-hero .icv4-visual {
    position: relative;
    min-width: 0;
}

#icv4-hero .icv4-stage {
    position: relative;

    display: block;

    width: min(100%, 805px);
    aspect-ratio: 1600 / 1430;

    margin: 0 auto;

    perspective: 1500px;
    transform-style: preserve-3d;
}

/* Orbits */

#icv4-hero .icv4-orbit {
    position: absolute;
    z-index: -1;

    border: 1px solid rgba(173, 32, 43, 0.13);
    border-radius: 50%;

    pointer-events: none;
}

#icv4-hero .icv4-orbit-1 {
    top: 7%;
    right: 8%;

    width: 77%;
    height: 77%;

    -webkit-animation:
        icv4-orbit-one 18s linear infinite !important;

    animation:
        icv4-orbit-one 18s linear infinite !important;
}

#icv4-hero .icv4-orbit-2 {
    top: 18%;
    right: 18%;

    width: 58%;
    height: 58%;

    border-color: rgba(23, 25, 29, 0.10);

    -webkit-animation:
        icv4-orbit-two 23s linear infinite !important;

    animation:
        icv4-orbit-two 23s linear infinite !important;
}

#icv4-hero .icv4-orbit {
    -webkit-animation-play-state: running !important;
    animation-play-state: running !important;
}

/* =====================================================
   IMAGE PIECES
===================================================== */

#icv4-hero .icv4-piece {
    position: absolute;
    inset: 0;
    z-index: 4;

    display: block;

    opacity: 0;

    background-image: var(--icv4-image);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;

    filter:
        drop-shadow(0 24px 32px rgba(20, 22, 27, 0.14));

    will-change: transform, opacity;

    -webkit-animation:
        icv4-piece-loop 12s
        cubic-bezier(.16, 1, .3, 1)
        infinite both !important;

    animation:
        icv4-piece-loop 12s
        cubic-bezier(.16, 1, .3, 1)
        infinite both !important;

    -webkit-animation-play-state: running !important;
    animation-play-state: running !important;
}

/* Piece 1 */

#icv4-hero .icv4-piece-1 {
    --icv4-x: -220px;
    --icv4-y: -155px;
    --icv4-r: -11deg;
    --icv4-s: 0.86;

    clip-path:
        polygon(
            0 0,
            34% 0,
            30% 34%,
            0 42%
        );

    -webkit-animation-delay: 0s !important;
    animation-delay: 0s !important;
}

/* Piece 2 */

#icv4-hero .icv4-piece-2 {
    --icv4-x: 0px;
    --icv4-y: -225px;
    --icv4-r: 8deg;
    --icv4-s: 0.88;

    clip-path:
        polygon(
            34% 0,
            68% 0,
            64% 36%,
            30% 34%
        );

    -webkit-animation-delay: 0.12s !important;
    animation-delay: 0.12s !important;
}

/* Piece 3 */

#icv4-hero .icv4-piece-3 {
    --icv4-x: 225px;
    --icv4-y: -135px;
    --icv4-r: 12deg;
    --icv4-s: 0.85;

    clip-path:
        polygon(
            68% 0,
            100% 0,
            100% 42%,
            64% 36%
        );

    -webkit-animation-delay: 0.24s !important;
    animation-delay: 0.24s !important;
}

/* Piece 4 */

#icv4-hero .icv4-piece-4 {
    --icv4-x: -240px;
    --icv4-y: 15px;
    --icv4-r: 9deg;
    --icv4-s: 0.87;

    clip-path:
        polygon(
            0 42%,
            30% 34%,
            36% 70%,
            0 78%
        );

    -webkit-animation-delay: 0.36s !important;
    animation-delay: 0.36s !important;
}

/* Piece 5 */

#icv4-hero .icv4-piece-5 {
    --icv4-x: 0px;
    --icv4-y: 55px;
    --icv4-r: -8deg;
    --icv4-s: 0.68;

    clip-path:
        polygon(
            30% 34%,
            64% 36%,
            69% 72%,
            36% 70%
        );

    -webkit-animation-delay: 0.48s !important;
    animation-delay: 0.48s !important;
}

/* Piece 6 */

#icv4-hero .icv4-piece-6 {
    --icv4-x: 235px;
    --icv4-y: 30px;
    --icv4-r: -10deg;
    --icv4-s: 0.87;

    clip-path:
        polygon(
            64% 36%,
            100% 42%,
            100% 78%,
            69% 72%
        );

    -webkit-animation-delay: 0.60s !important;
    animation-delay: 0.60s !important;
}

/* Piece 7 */

#icv4-hero .icv4-piece-7 {
    --icv4-x: 20px;
    --icv4-y: 235px;
    --icv4-r: 7deg;
    --icv4-s: 0.87;

    clip-path:
        polygon(
            0 78%,
            36% 70%,
            69% 72%,
            100% 78%,
            100% 100%,
            0 100%
        );

    -webkit-animation-delay: 0.72s !important;
    animation-delay: 0.72s !important;
}

/* =====================================================
   FINAL IMAGE
===================================================== */

#icv4-hero .icv4-final-image {
    position: absolute;
    inset: 0;
    z-index: 6;

    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    /*
    در صورت غیرفعال شدن انیمیشن توسط هر افزونه،
    تصویر کامل همچنان نمایش داده می‌شود.
    */
    opacity: 1;

    pointer-events: none;

    filter:
        drop-shadow(0 30px 38px rgba(20, 22, 27, 0.16));

    will-change: transform, opacity;

    -webkit-animation:
        icv4-final-loop 12s
        cubic-bezier(.16, 1, .3, 1)
        infinite both !important;

    animation:
        icv4-final-loop 12s
        cubic-bezier(.16, 1, .3, 1)
        infinite both !important;

    -webkit-animation-play-state: running !important;
    animation-play-state: running !important;
}

/* =====================================================
   SHINE
===================================================== */

#icv4-hero .icv4-shine {
    position: absolute;
    z-index: 9;

    top: -30%;
    left: -45%;

    display: block;

    width: 25%;
    height: 160%;

    opacity: 0;
    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.64),
            transparent
        );

    filter: blur(10px);
    transform: rotate(18deg);

    -webkit-animation:
        icv4-shine-loop 12s ease-in-out infinite both !important;

    animation:
        icv4-shine-loop 12s ease-in-out infinite both !important;

    -webkit-animation-play-state: running !important;
    animation-play-state: running !important;
}

/* =====================================================
   SPARKS
===================================================== */

#icv4-hero .icv4-spark {
    position: absolute;
    z-index: 10;

    display: block;

    width: 7px;
    height: 7px;

    opacity: 0;

    background: var(--icv4-red);
    border-radius: 50%;

    box-shadow:
        0 0 0 5px rgba(173, 32, 43, 0.09),
        0 0 20px rgba(173, 32, 43, 0.65);

    pointer-events: none;

    -webkit-animation:
        icv4-spark-loop 12s ease-in-out infinite both !important;

    animation:
        icv4-spark-loop 12s ease-in-out infinite both !important;

    -webkit-animation-play-state: running !important;
    animation-play-state: running !important;
}

#icv4-hero .icv4-spark-1 {
    top: 14%;
    left: 24%;

    -webkit-animation-delay: 0.2s !important;
    animation-delay: 0.2s !important;
}

#icv4-hero .icv4-spark-2 {
    top: 29%;
    right: 12%;

    -webkit-animation-delay: 0.45s !important;
    animation-delay: 0.45s !important;
}

#icv4-hero .icv4-spark-3 {
    left: 12%;
    bottom: 27%;

    -webkit-animation-delay: 0.7s !important;
    animation-delay: 0.7s !important;
}

#icv4-hero .icv4-spark-4 {
    right: 25%;
    bottom: 13%;

    -webkit-animation-delay: 0.95s !important;
    animation-delay: 0.95s !important;
}

/* =====================================================
   KEYFRAMES — IMAGE PIECES
===================================================== */

@-webkit-keyframes icv4-piece-loop {
    0%,
    4% {
        opacity: 0;

        transform:
            translate3d(
                var(--icv4-x),
                var(--icv4-y),
                180px
            )
            rotate(var(--icv4-r))
            scale(var(--icv4-s));
    }

    18%,
    74% {
        opacity: 1;

        transform:
            translate3d(0, 0, 0)
            rotate(0deg)
            scale(1);
    }

    81% {
        opacity: 0;

        transform:
            translate3d(0, 0, 0)
            rotate(0deg)
            scale(1);
    }

    90%,
    100% {
        opacity: 0;

        transform:
            translate3d(
                var(--icv4-x),
                var(--icv4-y),
                180px
            )
            rotate(var(--icv4-r))
            scale(var(--icv4-s));
    }
}

@keyframes icv4-piece-loop {
    0%,
    4% {
        opacity: 0;

        transform:
            translate3d(
                var(--icv4-x),
                var(--icv4-y),
                180px
            )
            rotate(var(--icv4-r))
            scale(var(--icv4-s));
    }

    18%,
    74% {
        opacity: 1;

        transform:
            translate3d(0, 0, 0)
            rotate(0deg)
            scale(1);
    }

    81% {
        opacity: 0;

        transform:
            translate3d(0, 0, 0)
            rotate(0deg)
            scale(1);
    }

    90%,
    100% {
        opacity: 0;

        transform:
            translate3d(
                var(--icv4-x),
                var(--icv4-y),
                180px
            )
            rotate(var(--icv4-r))
            scale(var(--icv4-s));
    }
}

/* Final image */

@-webkit-keyframes icv4-final-loop {
    0%,
    20% {
        opacity: 0;
        transform: scale(0.985);
    }

    27%,
    78% {
        opacity: 1;
        transform: scale(1);
    }

    86%,
    100% {
        opacity: 0;
        transform: scale(0.985);
    }
}

@keyframes icv4-final-loop {
    0%,
    20% {
        opacity: 0;
        transform: scale(0.985);
    }

    27%,
    78% {
        opacity: 1;
        transform: scale(1);
    }

    86%,
    100% {
        opacity: 0;
        transform: scale(0.985);
    }
}

/* Content */

@-webkit-keyframes icv4-content-loop {
    0%,
    5% {
        opacity: 0;
        transform: translateX(42px);
    }

    15%,
    78% {
        opacity: 1;
        transform: translateX(0);
    }

    87%,
    100% {
        opacity: 0;
        transform: translateX(24px);
    }
}

@keyframes icv4-content-loop {
    0%,
    5% {
        opacity: 0;
        transform: translateX(42px);
    }

    15%,
    78% {
        opacity: 1;
        transform: translateX(0);
    }

    87%,
    100% {
        opacity: 0;
        transform: translateX(24px);
    }
}

/* Brand line */

@-webkit-keyframes icv4-brand-loop {
    0%,
    8% {
        opacity: 0;
        transform: scaleX(0);
    }

    18%,
    78% {
        opacity: 1;
        transform: scaleX(1);
    }

    87%,
    100% {
        opacity: 0;
        transform: scaleX(0);
    }
}

@keyframes icv4-brand-loop {
    0%,
    8% {
        opacity: 0;
        transform: scaleX(0);
    }

    18%,
    78% {
        opacity: 1;
        transform: scaleX(1);
    }

    87%,
    100% {
        opacity: 0;
        transform: scaleX(0);
    }
}

/* English line 1 */

@-webkit-keyframes icv4-title-one-loop {
    0%,
    10% {
        opacity: 0;
        clip-path: inset(0 100% 0 0);
        transform: translateY(30px);
    }

    22%,
    78% {
        opacity: 1;
        clip-path: inset(0 0 0 0);
        transform: translateY(0);
    }

    87%,
    100% {
        opacity: 0;
        clip-path: inset(0 0 0 100%);
        transform: translateY(-14px);
    }
}

@keyframes icv4-title-one-loop {
    0%,
    10% {
        opacity: 0;
        clip-path: inset(0 100% 0 0);
        transform: translateY(30px);
    }

    22%,
    78% {
        opacity: 1;
        clip-path: inset(0 0 0 0);
        transform: translateY(0);
    }

    87%,
    100% {
        opacity: 0;
        clip-path: inset(0 0 0 100%);
        transform: translateY(-14px);
    }
}

/* English line 2 */

@-webkit-keyframes icv4-title-two-loop {
    0%,
    14% {
        opacity: 0;
        clip-path: inset(0 100% 0 0);
        transform: translateY(32px);
        background-position: 100% center;
    }

    27% {
        opacity: 1;
        clip-path: inset(0 0 0 0);
        transform: translateY(0);
        background-position: 100% center;
    }

    48% {
        opacity: 1;
        clip-path: inset(0 0 0 0);
        transform: translateY(0);
        background-position: 0 center;
    }

    78% {
        opacity: 1;
        clip-path: inset(0 0 0 0);
        transform: translateY(0);
        background-position: 100% center;
    }

    87%,
    100% {
        opacity: 0;
        clip-path: inset(0 0 0 100%);
        transform: translateY(-14px);
    }
}

@keyframes icv4-title-two-loop {
    0%,
    14% {
        opacity: 0;
        clip-path: inset(0 100% 0 0);
        transform: translateY(32px);
        background-position: 100% center;
    }

    27% {
        opacity: 1;
        clip-path: inset(0 0 0 0);
        transform: translateY(0);
        background-position: 100% center;
    }

    48% {
        opacity: 1;
        clip-path: inset(0 0 0 0);
        transform: translateY(0);
        background-position: 0 center;
    }

    78% {
        opacity: 1;
        clip-path: inset(0 0 0 0);
        transform: translateY(0);
        background-position: 100% center;
    }

    87%,
    100% {
        opacity: 0;
        clip-path: inset(0 0 0 100%);
        transform: translateY(-14px);
    }
}

/* Persian text */

@-webkit-keyframes icv4-persian-loop {
    0%,
    20% {
        opacity: 0;
        transform: translateY(20px);
    }

    31%,
    78% {
        opacity: 1;
        transform: translateY(0);
    }

    87%,
    100% {
        opacity: 0;
        transform: translateY(-12px);
    }
}

@keyframes icv4-persian-loop {
    0%,
    20% {
        opacity: 0;
        transform: translateY(20px);
    }

    31%,
    78% {
        opacity: 1;
        transform: translateY(0);
    }

    87%,
    100% {
        opacity: 0;
        transform: translateY(-12px);
    }
}

@-webkit-keyframes icv4-persian-border-loop {
    0%,
    21% {
        opacity: 0;
        transform: scaleY(0);
    }

    32%,
    78% {
        opacity: 1;
        transform: scaleY(1);
    }

    87%,
    100% {
        opacity: 0;
        transform: scaleY(0);
    }
}

@keyframes icv4-persian-border-loop {
    0%,
    21% {
        opacity: 0;
        transform: scaleY(0);
    }

    32%,
    78% {
        opacity: 1;
        transform: scaleY(1);
    }

    87%,
    100% {
        opacity: 0;
        transform: scaleY(0);
    }
}

/* Activities */

@-webkit-keyframes icv4-activity-loop {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    6%,
    18% {
        opacity: 1;
        transform: translateY(0);
    }

    24%,
    100% {
        opacity: 0;
        transform: translateY(-18px);
    }
}

@keyframes icv4-activity-loop {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    6%,
    18% {
        opacity: 1;
        transform: translateY(0);
    }

    24%,
    100% {
        opacity: 0;
        transform: translateY(-18px);
    }
}

/* Progress */

@-webkit-keyframes icv4-progress-loop {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

@keyframes icv4-progress-loop {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

/* Shine */

@-webkit-keyframes icv4-shine-loop {
    0%,
    17% {
        left: -45%;
        opacity: 0;
    }

    21% {
        opacity: 0.8;
    }

    35% {
        left: 125%;
        opacity: 0;
    }

    100% {
        left: 125%;
        opacity: 0;
    }
}

@keyframes icv4-shine-loop {
    0%,
    17% {
        left: -45%;
        opacity: 0;
    }

    21% {
        opacity: 0.8;
    }

    35% {
        left: 125%;
        opacity: 0;
    }

    100% {
        left: 125%;
        opacity: 0;
    }
}

/* Sparks */

@-webkit-keyframes icv4-spark-loop {
    0%,
    7% {
        opacity: 0;
        transform: scale(0.2);
    }

    14% {
        opacity: 1;
        transform: scale(1.3);
    }

    22% {
        opacity: 0.7;
        transform: scale(0.8);
    }

    30%,
    100% {
        opacity: 0;
        transform: scale(0.2);
    }
}

@keyframes icv4-spark-loop {
    0%,
    7% {
        opacity: 0;
        transform: scale(0.2);
    }

    14% {
        opacity: 1;
        transform: scale(1.3);
    }

    22% {
        opacity: 0.7;
        transform: scale(0.8);
    }

    30%,
    100% {
        opacity: 0;
        transform: scale(0.2);
    }
}

/* Orbits */

@-webkit-keyframes icv4-orbit-one {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes icv4-orbit-one {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes icv4-orbit-two {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

@keyframes icv4-orbit-two {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1150px) {

    #icv4-hero {
        min-height: 680px;
        padding: 45px 35px;
    }

    #icv4-hero .icv4-inner {
        grid-template-columns:
            minmax(350px, 0.9fr)
            minmax(470px, 1.1fr);

        min-height: 590px;
        gap: 10px;
    }

    #icv4-hero .icv4-title {
        font-size: clamp(44px, 5vw, 66px);
        letter-spacing: -4px;
    }
}

/* =====================================================
   MOBILE / VERTICAL TABLET
===================================================== */

@media (max-width: 850px) {

    #icv4-hero {
        width: calc(100% - 16px);
        min-height: auto;

        margin: 10px auto;
        padding: 34px 22px 45px;

        border-radius: 28px;
    }

    #icv4-hero .icv4-inner {
        display: flex;
        flex-direction: column-reverse;

        min-height: auto;
        gap: 5px;
    }

    #icv4-hero .icv4-visual {
        width: 100%;
    }

    #icv4-hero .icv4-stage {
        width: min(100%, 620px);
    }

    #icv4-hero .icv4-content {
        width: 100%;
        max-width: 650px;

        margin-top: -10px;
        text-align: center;

        -webkit-animation-name:
            icv4-content-mobile-loop !important;

        animation-name:
            icv4-content-mobile-loop !important;
    }

    #icv4-hero .icv4-brand {
        justify-content: center;
    }

    #icv4-hero .icv4-title {
        text-align: center;

        font-size: clamp(47px, 10vw, 76px);
        letter-spacing: -4px;
    }

    #icv4-hero .icv4-title-line {
        margin-right: auto;
        margin-left: auto;
    }

    #icv4-hero .icv4-persian-title {
        margin-right: auto;
        margin-left: auto;

        padding-right: 17px;
        padding-left: 17px;
    }

    #icv4-hero .icv4-persian-title::after {
        content: "";

        position: absolute;

        top: 8%;
        left: 0;

        width: 5px;
        height: 84%;

        background:
            linear-gradient(
                180deg,
                var(--icv4-red-light),
                var(--icv4-red-dark)
            );

        border-radius: 30px;

        -webkit-animation:
            icv4-persian-border-loop 12s
            ease infinite both !important;

        animation:
            icv4-persian-border-loop 12s
            ease infinite both !important;
    }

    #icv4-hero .icv4-activity {
        justify-content: center;
        padding: 0 10px;
    }

    #icv4-hero .icv4-progress {
        margin-right: auto;
        margin-left: auto;
    }

    #icv4-hero::after {
        font-size: 110px;
    }

    @-webkit-keyframes icv4-content-mobile-loop {
        0%,
        5% {
            opacity: 0;
            transform: translateY(28px);
        }

        15%,
        78% {
            opacity: 1;
            transform: translateY(0);
        }

        87%,
        100% {
            opacity: 0;
            transform: translateY(18px);
        }
    }

    @keyframes icv4-content-mobile-loop {
        0%,
        5% {
            opacity: 0;
            transform: translateY(28px);
        }

        15%,
        78% {
            opacity: 1;
            transform: translateY(0);
        }

        87%,
        100% {
            opacity: 0;
            transform: translateY(18px);
        }
    }
}

/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 520px) {

    #icv4-hero {
        width: calc(100% - 12px);

        margin: 6px auto;
        padding: 22px 12px 34px;

        border-radius: 21px;
    }

    #icv4-hero .icv4-stage {
        width: 110%;
        margin-right: -5%;
    }

    #icv4-hero .icv4-content {
        margin-top: -4px;
    }

    #icv4-hero .icv4-brand {
        margin-bottom: 14px;

        font-size: 10px;
        letter-spacing: 3px;
    }

    #icv4-hero .icv4-brand-line {
        width: 38px;
    }

    #icv4-hero .icv4-title {
        font-size: clamp(37px, 12vw, 57px);
        line-height: 0.97;
        letter-spacing: -3px;
    }

    #icv4-hero .icv4-persian-title {
        margin-top: 19px;

        font-size: 18px;
        line-height: 1.7;
    }

    #icv4-hero .icv4-activities {
        height: 62px;
        margin-top: 18px;
    }

    #icv4-hero .icv4-activity {
        padding: 0 8px;

        font-size: 13px;
        line-height: 1.8;
    }

    #icv4-hero .icv4-activity span {
        width: 6px;
        height: 6px;
        margin-left: 10px;
    }

    #icv4-hero .icv4-progress {
        width: calc(100% - 30px);
    }

    #icv4-hero .icv4-orbit {
        display: none;
    }

    #icv4-hero::after {
        display: none;
    }

    #icv4-hero .icv4-piece-1 {
        --icv4-x: -130px;
        --icv4-y: -90px;
    }

    #icv4-hero .icv4-piece-2 {
        --icv4-x: 0px;
        --icv4-y: -130px;
    }

    #icv4-hero .icv4-piece-3 {
        --icv4-x: 130px;
        --icv4-y: -85px;
    }

    #icv4-hero .icv4-piece-4 {
        --icv4-x: -145px;
        --icv4-y: 10px;
    }

    #icv4-hero .icv4-piece-5 {
        --icv4-x: 0px;
        --icv4-y: 35px;
    }

    #icv4-hero .icv4-piece-6 {
        --icv4-x: 145px;
        --icv4-y: 20px;
    }

    #icv4-hero .icv4-piece-7 {
        --icv4-x: 10px;
        --icv4-y: 135px;
    }
}

/* v2.0 localization overrides */
.ic-lang-en #icv4-hero,.ic-lang-ru #icv4-hero{direction:ltr}
.ic-lang-ar #icv4-hero{direction:rtl}
#icv4-hero .icv4-local-title{font-family:inherit}
.ic-lang-en #icv4-hero .icv4-persian-title,
.ic-lang-ru #icv4-hero .icv4-persian-title{direction:ltr;text-align:left;padding-right:0;padding-left:18px}
.ic-lang-en #icv4-hero .icv4-persian-title::before,
.ic-lang-ru #icv4-hero .icv4-persian-title::before{right:auto;left:0}
.ic-lang-ar #icv4-hero .icv4-content{direction:rtl;text-align:right}
.ic-lang-ar #icv4-hero .icv4-title{direction:ltr;text-align:right}
.ic-lang-ar #icv4-hero .icv4-brand{direction:ltr}
.ic-lang-ar #icv4-hero .icv4-activity{direction:rtl}
.ic-lang-ar #icv4-hero .icv4-activity span{margin-left:13px;margin-right:0}
@media(max-width:850px){
  .ic-lang-en #icv4-hero .icv4-persian-title,
  .ic-lang-ru #icv4-hero .icv4-persian-title{padding-left:17px;padding-right:17px}
}
.ic-lang-ar #icv4-hero .icv4-title{direction:rtl;text-align:right;font-family:"Noto Sans Arabic",Tahoma,Arial,sans-serif;font-size:clamp(48px,5vw,78px);letter-spacing:0;line-height:1.12}
.ic-lang-ar #icv4-hero .icv4-title-line{margin-left:auto}
.ic-lang-ru #icv4-hero .icv4-title{font-size:clamp(39px,4.2vw,68px);letter-spacing:-2.5px;line-height:1.02}
@media(max-width:850px){.ic-lang-ar #icv4-hero .icv4-title,.ic-lang-ru #icv4-hero .icv4-title{text-align:center}.ic-lang-ar #icv4-hero .icv4-title-line{margin-left:auto;margin-right:auto}}
