/* IQSSI responsive and motion pass — lightweight, GPU-friendly effects only. */

:root {
    --iqssi-page-gutter: clamp(20px, 4vw, 72px);
    --iqssi-content: 1440px;
    --iqssi-panel: #161b2e;
    --iqssi-sky: #87c6ed;
}

html {
    overflow-x: clip;
}

body {
    min-width: 0;
}

header {
    z-index: 6;
    width: min(calc(100% - (var(--iqssi-page-gutter) * 2)), var(--iqssi-content));
    max-width: none;
    padding: 22px 0;
}

main {
    position: relative;
    isolation: isolate;
    max-width: none;
    min-width: 0;
    padding-top: clamp(112px, 8vw, 154px);
}

/* Sparse, composited code rain: eight text layers and no canvas/JS loop. */
.code-rain {
    position: absolute;
    z-index: -1;
    inset: 0 0 auto;
    height: min(1500px, 125vh);
    overflow: hidden;
    pointer-events: none;
    opacity: .56;
    mix-blend-mode: screen;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 72%, transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 72%, transparent);
}

.code-rain span {
    position: absolute;
    top: -310px;
    left: var(--rain-x);
    color: rgba(105, 203, 255, .22);
    font: 500 9px/2.15 ui-monospace, SFMono-Regular, Consolas, monospace;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
    text-shadow: 0 0 10px rgba(83, 188, 246, .24);
    animation: iqssi-code-rain var(--rain-speed) linear infinite;
    animation-delay: var(--rain-delay);
    will-change: transform, opacity;
}

.code-rain span:nth-child(1) { --rain-x: 7%; --rain-speed: 24s; --rain-delay: -13s; }
.code-rain span:nth-child(2) { --rain-x: 19%; --rain-speed: 31s; --rain-delay: -4s; }
.code-rain span:nth-child(3) { --rain-x: 34%; --rain-speed: 27s; --rain-delay: -22s; }
.code-rain span:nth-child(4) { --rain-x: 48%; --rain-speed: 35s; --rain-delay: -9s; }
.code-rain span:nth-child(5) { --rain-x: 61%; --rain-speed: 29s; --rain-delay: -17s; }
.code-rain span:nth-child(6) { --rain-x: 73%; --rain-speed: 33s; --rain-delay: -26s; }
.code-rain span:nth-child(7) { --rain-x: 85%; --rain-speed: 26s; --rain-delay: -7s; }
.code-rain span:nth-child(8) { --rain-x: 94%; --rain-speed: 37s; --rain-delay: -30s; }

.frame1 {
    display: grid;
    grid-template-columns: minmax(350px, 430px) clamp(150px, 11vw, 185px) minmax(0, 1fr);
    align-items: center;
    gap: clamp(12px, 1.25vw, 20px);
    box-sizing: border-box;
    width: min(calc(100% - (var(--iqssi-page-gutter) * 2)), var(--iqssi-content));
    max-width: none;
    min-height: clamp(590px, 43vw, 760px);
    padding: 24px 0 84px;
}

.frame1 .textBlock {
    grid-column: 1;
    grid-row: 1;
    width: auto;
    min-width: 0;
}

.frame1 .textBlock .header {
    max-width: 11ch;
    font-size: clamp(46px, 3.7vw, 68px);
    line-height: .98;
    letter-spacing: -.035em;
    text-wrap: balance;
}

.frame1 .textBlock .description {
    width: min(100%, 390px);
    height: auto;
    min-height: 64px;
    line-height: 1.35;
}

.frame1 .button-class {
    width: fit-content;
}

.frame1 .slider {
    grid-column: 3;
    grid-row: 1;
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    min-width: 0;
    margin: 0;
}

.frame1 .slider .cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: clamp(8px, 1.1vw, 18px);
    width: 100%;
}

.frame1 .slider .card,
.card-wrapper,
.card-service {
    color: inherit;
    text-decoration: none;
}

.frame1 .slider .card:focus-visible,
.card-wrapper:focus-visible,
.card-service:focus-visible {
    outline: 2px solid rgba(135, 198, 237, .86);
    outline-offset: 7px;
    border-radius: 24px;
}

.frame1 .slider .card {
    width: 100% !important;
    height: clamp(350px, 29vw, 470px) !important;
    min-width: 0;
    border-radius: clamp(28px, 2.5vw, 48px);
    transform: scale(.88) !important;
    opacity: .76;
    transition: transform .45s ease, opacity .45s ease, border-color .45s ease;
}

.frame1 .slider .card.focused_card {
    z-index: 3;
    transform: scale(1) !important;
    opacity: 1;
}

.frame1 .slider .card .image {
    width: min(78%, 220px) !important;
    height: clamp(145px, 15vw, 220px) !important;
    margin: clamp(20px, 2.2vw, 32px) auto clamp(12px, 1.8vw, 28px);
    background-size: contain;
}

.frame1 .slider .header,
.frame1 .slider .category,
.frame1 .slider .description {
    width: min(86%, 235px);
}

.frame1 .slider .header {
    font-size: clamp(18px, 1.7vw, 30px);
}

.frame1 .slider .category {
    margin-bottom: clamp(10px, 1.2vw, 18px);
    font-size: clamp(12px, 1.05vw, 18px);
}

.frame1 .slider .description {
    font-size: clamp(10px, .72vw, 12px);
    line-height: 1.35;
}

.frame1 .circles-pc {
    width: 100%;
    height: 60%;
    background-size: contain;
}

.frame1 .blur-block {
    right: -34%;
    bottom: 16%;
}

.frame1 .blur-image {
    width: min(34vw, 425px);
    height: min(34vw, 425px);
}

.frame1 .sliderController {
    margin: 26px 0 0;
}

/* Interactive planet: one composited texture moved only while the user drags. */
.planet-stage {
    position: relative;
    z-index: 2;
    grid-column: 2;
    grid-row: 1;
    top: auto;
    left: auto;
    width: 100%;
    max-width: 185px;
    aspect-ratio: 1;
    transform: none;
    user-select: none;
}

.interactive-planet {
    position: absolute;
    inset: 8%;
    overflow: hidden;
    border: 1px solid rgba(160, 220, 255, .58);
    border-radius: 50%;
    cursor: grab;
    touch-action: pan-y;
    outline: none;
    background:
        radial-gradient(circle at 32% 25%, rgba(155, 226, 255, .26), transparent 20%),
        radial-gradient(circle at 52% 58%, #183e65 0, #0a2342 52%, #041123 78%);
    box-shadow:
        inset -34px -24px 45px rgba(0, 0, 0, .68),
        inset 12px 8px 24px rgba(138, 214, 255, .13),
        0 0 28px rgba(70, 171, 231, .24),
        0 0 70px rgba(70, 171, 231, .11);
}

.interactive-planet:focus-visible {
    box-shadow:
        inset -34px -24px 45px rgba(0, 0, 0, .68),
        0 0 0 3px rgba(135, 198, 237, .45),
        0 0 55px rgba(70, 171, 231, .25);
}

.interactive-planet.is-dragging {
    cursor: grabbing;
}

.planet-texture {
    position: absolute;
    z-index: 1;
    top: -4%;
    left: -220%;
    width: 660%;
    height: 108%;
    opacity: .9;
    background: url("../images/planet-map.svg") repeat-x center / 33.333333% 100%;
    transform: translate3d(var(--planet-x, 0px), var(--planet-y, 0px), 0);
    will-change: transform;
}

.planet-atmosphere,
.planet-shade {
    position: absolute;
    z-index: 2;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
}

.planet-atmosphere {
    background:
        repeating-radial-gradient(ellipse at 50% 50%, transparent 0 25px, rgba(132, 212, 255, .07) 26px 27px);
    mix-blend-mode: screen;
    animation: iqssi-atmosphere 8s ease-in-out infinite;
}

.planet-shade {
    background:
        radial-gradient(circle at 29% 23%, rgba(255, 255, 255, .2), transparent 13%),
        linear-gradient(90deg, rgba(3, 9, 22, .65), transparent 23% 61%, rgba(2, 7, 17, .82));
}

.planet-orbit {
    position: absolute;
    inset: 1%;
    border: 1px solid rgba(135, 198, 237, .19);
    border-radius: 50%;
    transform: rotate(62deg) scaleY(.35);
    animation: iqssi-orbit 12s linear infinite;
}

.planet-orbit::after {
    content: "";
    position: absolute;
    top: 45%;
    left: -4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #a8e7ff;
    box-shadow: 0 0 12px #87c6ed;
}

.planet-orbit--two {
    inset: -7%;
    opacity: .5;
    animation-duration: 18s;
    animation-direction: reverse;
}

.planet-hint {
    position: absolute;
    left: 50%;
    bottom: -8px;
    transform: translateX(-50%);
    color: rgba(182, 225, 250, .55);
    font: 600 9px/1.2 "Bai Jamjuree", sans-serif;
    letter-spacing: .2em;
    white-space: nowrap;
}

/* Clean digital horizon replacing both raster wire landscapes. */
.bg {
    position: relative;
    isolation: isolate;
    width: 100%;
    max-width: none;
    height: clamp(150px, 13vw, 240px);
    overflow: hidden;
    background: none !important;
}

.bg::before {
    content: "";
    position: absolute;
    inset: 4% -8% -44%;
    background-image:
        linear-gradient(rgba(82, 181, 234, .22) 1px, transparent 1px),
        linear-gradient(90deg, rgba(103, 215, 255, .2) 1px, transparent 1px);
    background-size: 54px 30px;
    opacity: .76;
    transform: perspective(480px) rotateX(58deg) translate3d(0, 0, 0) scale(1.12);
    transform-origin: center bottom;
    animation: iqssi-horizon-drift 13s ease-in-out infinite alternate;
    -webkit-mask-image:
        linear-gradient(to bottom, transparent 0, #000 26%, #000 86%, transparent 100%),
        linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    mask-image:
        linear-gradient(to bottom, transparent 0, #000 26%, #000 86%, transparent 100%),
        linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
}

.bg::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 12% -8% 0;
    background:
        radial-gradient(ellipse at 18% 106%, transparent 0 45%, rgba(90, 205, 255, .55) 45.5% 46.2%, transparent 47%),
        radial-gradient(ellipse at 73% 112%, transparent 0 55%, rgba(114, 102, 224, .42) 55.5% 56.2%, transparent 57%),
        radial-gradient(ellipse at 50% 100%, rgba(57, 153, 219, .18), transparent 58%);
    opacity: .78;
    filter: drop-shadow(0 0 14px rgba(73, 185, 240, .2));
    animation: iqssi-horizon-glow 8s ease-in-out infinite alternate;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 35%, #000 92%, transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 35%, #000 92%, transparent);
}

.bg2::before {
    animation-direction: alternate-reverse;
}

.bg2::after {
    background:
        radial-gradient(ellipse at 82% 106%, transparent 0 45%, rgba(90, 205, 255, .55) 45.5% 46.2%, transparent 47%),
        radial-gradient(ellipse at 27% 112%, transparent 0 55%, rgba(114, 102, 224, .42) 55.5% 56.2%, transparent 57%),
        radial-gradient(ellipse at 50% 100%, rgba(57, 153, 219, .18), transparent 58%);
}

/* Main section widths and illustration motion. */
.frame2,
.frame3,
.frame4,
.frame7,
.frame9 {
    box-sizing: border-box;
    width: min(calc(100% - (var(--iqssi-page-gutter) * 2)), 1180px);
    max-width: none;
}

.frame2 {
    justify-content: space-between;
}

.frame3 .list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(24px, 4vw, 56px);
    padding: 82px 0 0;
}

.frame3 .item {
    width: auto;
    min-width: 0;
}

.frame3 .img,
.points-class {
    width: clamp(108px, 10vw, 150px);
    height: clamp(108px, 10vw, 150px);
}

.frame4 .content {
    max-width: 1180px;
    height: auto;
    min-height: 650px;
    padding: clamp(52px, 7vw, 100px);
}

.frame4 .textBlock {
    min-width: 0;
}

.frame4 .img img,
.frame5 .img_frame5 img,
.frame6 .img img,
.frame2 .phone img {
    will-change: transform;
    animation: iqssi-illustration-float 8s ease-in-out infinite;
}

.frame5 .img_frame5 img {
    animation-delay: -2.3s;
}

.frame6 .item2 .img img {
    animation-delay: -4.1s;
}

.frame6 .item3 .img img {
    animation-delay: -6s;
}

.frame6 {
    max-width: none;
}

.frame6 .list {
    box-sizing: border-box;
    width: min(calc(100% - (var(--iqssi-page-gutter) * 2)), 1120px);
    max-width: none;
}

/* Card motion hierarchy: quiet idle icons, stronger hover feedback. */
.frame1 .slider .card,
.card-wrapper,
.card-service,
.frame3 .item {
    backface-visibility: hidden;
}

.card-wrapper,
.card-service {
    content-visibility: auto;
    contain-intrinsic-size: 300px 390px;
    transition:
        transform .38s cubic-bezier(.2, .8, .2, 1),
        border-color .38s ease,
        box-shadow .38s ease;
}

.card-wrapper:hover,
.card-service:hover {
    transform: translate3d(0, -8px, 0);
    border-color: rgba(139, 211, 250, .7);
    box-shadow: 0 22px 55px rgba(2, 12, 30, .38), 0 0 30px rgba(80, 180, 238, .12);
}

.frame1 .slider .card .image,
.image-mobile,
.card-service [class*="imaging"],
.frame3 .points-class {
    transform-origin: center;
    animation: iqssi-icon-float 5.8s ease-in-out infinite;
    will-change: transform;
}

.frame1 .slider .card:nth-child(2) .image,
.card-wrapper:nth-child(3n + 2) .image-mobile,
.card-service:nth-child(3n + 2) [class*="imaging"],
.frame3 .item:nth-child(2) .points-class {
    animation-delay: -2s;
}

.frame1 .slider .card:nth-child(3) .image,
.card-wrapper:nth-child(3n) .image-mobile,
.card-service:nth-child(3n) [class*="imaging"],
.frame3 .item:nth-child(3) .points-class {
    animation-delay: -4s;
}

.frame1 .circles-pc,
.card-overlay,
.circles-services {
    transform-origin: center;
    animation: iqssi-ring-breathe 4.8s ease-in-out infinite;
    will-change: transform, opacity;
}

.card-service:nth-child(even) .circles-services {
    animation-delay: -2.4s;
}

.frame9 .header2 {
    font-size: clamp(18px, 1.45vw, 23px);
    line-height: 1.08;
}

.slider-services .card-service.card21 .imaging18 {
    background-image: url("../images/cybersecurity.svg");
}

.frame7 #crypto .row:not(.title_cont) {
    transition: background-color .25s ease, transform .25s ease;
}

.frame7 #crypto .row:not(.title_cont):hover {
    background-color: rgba(104, 192, 239, .055);
    transform: translate3d(4px, 0, 0);
}

/* Crisp CSS Bitcoin: replaces the fixed-resolution bitmap and animates on the GPU. */
.bg_frame8.bitcoin-visual {
    display: block;
    position: absolute;
    z-index: -1;
    left: -48%;
    bottom: -92px;
    width: clamp(330px, 36vw, 470px);
    height: clamp(410px, 47vw, 600px);
    pointer-events: none;
    perspective: 700px;
    opacity: .92;
}

.bitcoin-coin {
    position: absolute;
    z-index: 3;
    top: 47%;
    left: 50%;
    width: 68%;
    aspect-ratio: 1.9;
    transform-style: preserve-3d;
    animation: iqssi-bitcoin-float 5.4s ease-in-out infinite;
    will-change: transform;
}

.bitcoin-edge,
.bitcoin-face {
    position: absolute;
    inset: 0;
    border-radius: 50%;
}

.bitcoin-edge {
    top: 17%;
    background:
        repeating-linear-gradient(90deg, #235778 0 5px, #85d5ff 5px 8px, #183b5d 8px 12px);
    box-shadow: 0 18px 24px rgba(0, 0, 0, .38), 0 0 28px rgba(87, 197, 255, .32);
}

.bitcoin-face {
    display: grid;
    place-items: center;
    border: 2px solid rgba(174, 229, 255, .82);
    color: #ecf9ff;
    background:
        linear-gradient(145deg, rgba(185, 229, 255, .34), transparent 32%),
        conic-gradient(from 215deg, #102c4c, #284e72, #263058, #145277, #102c4c);
    box-shadow:
        inset 0 0 0 8px rgba(6, 21, 44, .45),
        inset 0 0 28px rgba(120, 215, 255, .28),
        0 0 2px #d9f5ff,
        0 0 34px rgba(91, 204, 255, .58);
    font: 700 clamp(68px, 7vw, 102px)/1 "Bai Jamjuree", sans-serif;
    text-shadow: 0 3px 0 #386383, 0 0 20px rgba(222, 248, 255, .72);
}

.bitcoin-halo {
    position: absolute;
    z-index: 1;
    left: 50%;
    border: 2px solid rgba(116, 211, 255, .6);
    border-radius: 50%;
    transform: translateX(-50%) scale(1);
    box-shadow: 0 0 20px rgba(88, 196, 255, .25), inset 0 0 20px rgba(88, 196, 255, .12);
    animation: iqssi-bitcoin-halo 3.8s ease-out infinite;
}

.bitcoin-halo--one {
    top: 59%;
    width: 60%;
    height: 12%;
}

.bitcoin-halo--two {
    top: 66%;
    width: 78%;
    height: 16%;
    animation-delay: -1.9s;
}

.bitcoin-beam {
    position: absolute;
    z-index: 0;
    top: 2%;
    bottom: 38%;
    width: 53%;
    opacity: .36;
    filter: blur(2px);
}

.bitcoin-beam--left {
    left: 0;
    clip-path: polygon(0 0, 76% 0, 100% 100%, 62% 100%);
    background: linear-gradient(135deg, rgba(82, 159, 230, .03), rgba(115, 188, 255, .34));
}

.bitcoin-beam--right {
    right: 0;
    clip-path: polygon(24% 0, 100% 0, 38% 100%, 0 100%);
    background: linear-gradient(225deg, rgba(94, 103, 220, .03), rgba(116, 154, 248, .28));
}

.telegram-fixed {
    position: fixed;
    z-index: 8;
    right: clamp(14px, 2vw, 32px);
    bottom: clamp(14px, 2vw, 30px);
}

.telegram-fixed a {
    display: flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    border: 1px solid rgba(141, 218, 255, .58);
    border-radius: 999px;
    color: #fff;
    background: rgba(11, 35, 63, .9);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .32), 0 0 20px rgba(42, 171, 238, .18);
    backdrop-filter: blur(10px);
    transition: width .28s ease, transform .28s ease, box-shadow .28s ease;
}

.telegram-fixed svg {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
}

.telegram-fixed circle {
    fill: #2aabee;
}

.telegram-fixed path {
    fill: #fff;
}

.telegram-fixed span {
    padding: 0 16px 0 6px;
    opacity: 0;
    font: 600 13px/1 "Bai Jamjuree", sans-serif;
    white-space: nowrap;
    transition: opacity .2s ease;
}

.telegram-fixed a:hover,
.telegram-fixed a:focus-visible {
    width: 142px;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 15px 36px rgba(0, 0, 0, .38), 0 0 24px rgba(42, 171, 238, .3);
}

.telegram-fixed a:hover span,
.telegram-fixed a:focus-visible span {
    opacity: 1;
}

@keyframes iqssi-atmosphere {
    0%, 100% { opacity: .52; transform: rotate(0deg) scale(1); }
    50% { opacity: .9; transform: rotate(8deg) scale(1.02); }
}

@keyframes iqssi-orbit {
    to { transform: rotate(422deg) scaleY(.35); }
}

@keyframes iqssi-code-rain {
    0% { opacity: 0; transform: translate3d(0, -12%, 0); }
    10%, 78% { opacity: 1; }
    100% { opacity: 0; transform: translate3d(0, 1450px, 0); }
}

@keyframes iqssi-horizon-drift {
    from { transform: perspective(480px) rotateX(58deg) translate3d(-1.2%, 0, 0) scale(1.12); }
    to { transform: perspective(480px) rotateX(58deg) translate3d(1.2%, -2%, 0) scale(1.15); }
}

@keyframes iqssi-horizon-glow {
    from { opacity: .48; transform: translate3d(-.5%, 0, 0) scale(1); }
    to { opacity: .82; transform: translate3d(.5%, -2%, 0) scale(1.025); }
}

@keyframes iqssi-illustration-float {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -10px, 0); }
}

@keyframes iqssi-icon-float {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
    50% { transform: translate3d(0, -7px, 0) rotate(.8deg); }
}

@keyframes iqssi-ring-breathe {
    0%, 100% { opacity: .72; transform: scale(.985); }
    50% { opacity: 1; transform: scale(1.025); }
}

@keyframes iqssi-bitcoin-float {
    0%, 100% { transform: translate3d(-50%, -50%, 0) rotateX(54deg) rotateZ(-2deg); }
    50% { transform: translate3d(-50%, calc(-50% - 12px), 0) rotateX(54deg) rotateZ(2deg); }
}

@keyframes iqssi-bitcoin-halo {
    0% { opacity: .08; transform: translateX(-50%) scale(.72); }
    42% { opacity: .72; }
    100% { opacity: 0; transform: translateX(-50%) scale(1.25); }
}

@media (max-width: 1280px) {
    :root {
        --iqssi-page-gutter: clamp(24px, 3vw, 40px);
    }

    main {
        padding-top: 122px;
    }

    .frame1 {
        grid-template-columns: minmax(300px, 340px) 145px minmax(0, 1fr);
        gap: 14px;
        min-height: 610px;
    }

    .frame1 .textBlock .header {
        font-size: clamp(42px, 4vw, 52px);
    }

    .planet-stage {
        width: 145px;
    }
}

@media (max-width: 1180px) {
    .frame1 {
        display: block;
        min-height: 520px;
        padding-bottom: 48px;
    }

    .frame1 .textBlock {
        width: 57%;
        max-width: 560px;
    }

    .frame1 .slider {
        display: none !important;
    }

    .planet-stage {
        position: absolute;
        grid-column: auto;
        grid-row: auto;
        top: 14px;
        right: 7%;
        left: auto;
        width: clamp(165px, 21vw, 205px);
        transform: none;
    }

    .mobile-slider {
        display: block !important;
        box-sizing: border-box;
        width: 100%;
        height: auto;
        padding: 10px var(--iqssi-page-gutter) 54px;
        overflow-x: clip;
        scroll-snap-type: none;
    }

    .mobile-card {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: min(100%, 900px);
        height: auto;
        margin: 0 auto;
        gap: 22px;
    }

    .card-wrapper {
        width: 100%;
        max-width: none;
        height: 400px;
        margin: 0;
        scroll-snap-align: none;
    }

    .card-overlay {
        width: 100%;
        height: 245px;
        background-size: contain;
    }

    .image-mobile {
        display: block;
        width: 135px;
        height: 110px;
        margin: 76px auto 28px;
        padding: 0;
    }

    .mobile-slider .mobile-header {
        padding: 0 16px;
        font-size: 18px;
    }

    .mobile-description {
        font-size: 13px;
        line-height: 1.45;
    }

    .frame6 {
        padding-bottom: 90px;
    }

    .frame6 .item,
    .frame6 .item1,
    .frame6 .item2,
    .frame6 .item3 {
        box-sizing: border-box;
        height: auto !important;
        min-height: 0;
        padding: 55px 0;
    }

    .frame6 .item .img,
    .frame6 .item1 .img,
    .frame6 .item2 .img,
    .frame6 .item3 .img {
        position: relative;
        inset: auto;
        display: flex;
        width: 100% !important;
        height: auto !important;
        justify-content: center;
        transform: none;
    }

    .frame6 .item .img img {
        width: min(82vw, 640px);
        height: auto;
    }

    .frame6 .item .item_content,
    .frame6 .item1 .item_content,
    .frame6 .item2 .item_content,
    .frame6 .item3 .item_content {
        position: relative;
        inset: auto;
        box-sizing: border-box;
        width: min(100%, 680px);
        margin: 20px auto 0;
        padding: 30px;
    }
}

@media (max-width: 900px) {
    header {
        width: calc(100% - 40px);
    }

    .frame2 {
        flex-direction: column;
        align-items: center;
        padding: 70px 0 120px;
    }

    .frame2 .textBlock {
        width: 100%;
        max-width: 650px;
        padding: 32px;
    }

    .frame2 .phone {
        position: relative;
        z-index: 0;
        top: auto;
        right: auto;
        display: flex !important;
        justify-content: center;
        width: 100%;
        margin-top: 34px;
    }

    .frame2 .phone img {
        width: min(72vw, 350px);
        height: auto;
    }

    .frame3 .list {
        display: flex;
        justify-content: flex-start;
        width: 100%;
        margin-bottom: 90px;
        padding: 60px 0 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }

    .frame3 .item {
        flex: 0 0 min(72vw, 300px);
        scroll-snap-align: center;
    }

    .frame4 {
        padding-bottom: 110px;
    }

    .frame4 .content {
        display: flex;
        height: auto;
        min-height: 0;
        flex-direction: column;
        gap: 24px;
        padding: 40px;
        border-radius: 34px;
    }

    .frame4 .img,
    .frame5 .img_frame5 {
        position: relative;
        inset: auto;
        display: flex !important;
        width: 100%;
        justify-content: center;
        order: 0;
    }

    .frame4 .img img,
    .frame5 .img_frame5 img {
        width: min(86vw, 520px);
        height: auto;
    }

    .frame4 .textBlock {
        width: 100%;
        max-width: 650px;
        padding: 0;
        background: transparent;
        order: 1;
    }

    .frame4 .textBlock .header,
    .frame4 .description-fantasy {
        justify-content: flex-start;
        text-align: left;
    }

    .frame4 .description-fantasy {
        padding-right: 0;
        padding-left: 20px;
        border-right: 0;
        border-left: 2px solid var(--iqssi-sky);
    }

    .frame6 {
        padding-bottom: 90px;
    }

    .frame6 .item,
    .frame6 .item1,
    .frame6 .item2,
    .frame6 .item3 {
        box-sizing: border-box;
        height: auto !important;
        min-height: 0;
        align-items: center;
        padding: 55px 0;
    }

    .frame6 .item .img,
    .frame6 .item1 .img,
    .frame6 .item2 .img,
    .frame6 .item3 .img {
        position: relative;
        inset: auto;
        display: flex;
        width: 100% !important;
        height: auto !important;
        justify-content: center;
        transform: none;
    }

    .frame6 .item .img img {
        width: min(88vw, 580px);
        height: auto;
    }

    .frame6 .item .item_content,
    .frame6 .item1 .item_content,
    .frame6 .item2 .item_content,
    .frame6 .item3 .item_content {
        position: relative;
        inset: auto;
        box-sizing: border-box;
        width: min(100%, 680px);
        margin: 20px auto 0;
        padding: 30px;
    }

    .frame7 {
        padding-inline: 0;
    }

    .frame7 .content {
        width: 100%;
        margin: 0;
        overflow-x: auto;
    }

    .frame8 .contacts {
        display: flex;
        flex-direction: column;
    }

    .frame8 .bg_frame8.bitcoin-visual {
        position: relative;
        z-index: 0;
        left: auto;
        bottom: auto;
        width: min(76vw, 360px);
        height: min(90vw, 420px);
        margin: 26px auto 0;
        opacity: .82;
    }
}

@media (max-width: 720px) {
    :root {
        --iqssi-page-gutter: 20px;
    }

    header {
        width: calc(100% - 32px);
        padding: 20px 0;
    }

    .logo-class {
        width: 88px;
        height: 44px;
    }

    .basket-class,
    .link-class {
        width: 24px;
        height: 28px;
    }

    header .right_menu {
        column-gap: 14px;
    }

    main {
        padding-top: 92px;
    }

    .code-rain {
        opacity: .38;
    }

    .code-rain span:nth-child(n+5) {
        display: none;
    }

    .frame1 {
        display: flex;
        min-height: 0;
        flex-direction: column;
        align-items: stretch;
        width: calc(100% - 40px);
        padding: 30px 0 42px;
    }

    .frame1 .textBlock {
        z-index: 2;
        order: 1;
        width: 100%;
        max-width: none;
        padding: 0;
        background: transparent;
    }

    .frame1 .textBlock .header {
        max-width: 12ch;
        font-size: clamp(36px, 11vw, 52px);
        line-height: 1.02;
    }

    .frame1 .textBlock .description {
        max-width: 330px;
        font-size: 14px;
    }

    .planet-stage {
        position: relative;
        inset: auto;
        order: 2;
        width: min(58vw, 210px);
        margin: 32px auto 0;
        transform: none;
    }

    .planet-hint {
        bottom: -2px;
    }

    .innovation-cosmos {
        inset: -70px -26vw -50px;
    }

    .mobile-slider {
        padding: 10px 20px 46px;
        overflow-x: clip;
        scroll-snap-type: none;
    }

    .mobile-card {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        max-width: 390px;
        margin: 0 auto;
        gap: 20px;
    }

    .card-wrapper {
        width: min(100%, 340px);
        max-width: 340px;
        height: 370px;
        margin: 0 auto;
        scroll-snap-align: none;
    }

    .bg {
        height: clamp(118px, 28vw, 165px);
    }

    .frame2,
    .frame3,
    .frame4,
    .frame7,
    .frame9 {
        width: calc(100% - 40px);
    }

    .frame2 .textBlock {
        padding: 26px 20px;
    }

    .frame2 .header,
    .frame3 > .header,
    .frame4 .header-special,
    .frame4 > .header,
    .frame7 > .header {
        font-size: clamp(30px, 9vw, 40px);
    }

    .frame3 .list {
        gap: 20px;
    }

    .frame4 .content {
        padding: 28px 20px 38px;
        border-radius: 26px;
    }

    .frame4 .textBlock .description {
        height: auto;
        min-height: 50px;
        font-size: 24px;
    }

    .frame4 .text {
        padding-left: 0;
        font-size: 14px;
        line-height: 1.7;
    }

    .frame6 .list {
        width: calc(100% - 40px);
    }

    .frame6 .item .item_content {
        padding: 20px 0;
        background: transparent;
    }

    .telegram-fixed a,
    .telegram-fixed a:hover,
    .telegram-fixed a:focus-visible {
        width: 46px;
        height: 46px;
        transform: none;
    }

    .telegram-fixed svg {
        flex-basis: 46px;
        width: 46px;
        height: 46px;
    }

    .telegram-fixed span {
        display: none;
    }

    .frame8 .bg_frame8.bitcoin-visual {
        width: min(82vw, 300px);
        height: min(96vw, 340px);
        margin-top: 18px;
    }
}

@media (max-width: 420px) {
    .frame1 .textBlock .header {
        font-size: clamp(34px, 10.5vw, 44px);
    }

    html[lang="ru"] .frame1 .textBlock .header {
        max-width: 100%;
        font-size: clamp(28px, 7.7vw, 32px);
        letter-spacing: -.04em;
        overflow-wrap: normal;
        word-break: normal;
    }

    .frame1 .textBlock .description br {
        display: none;
    }

    .card-wrapper {
        flex-basis: min(82vw, 288px);
        width: min(82vw, 288px);
    }

    .loginWindow {
        box-sizing: border-box;
        width: calc(100% - 28px);
        padding: 64px 18px;
    }

    .loginWindow .inputFrame {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .code-rain span,
    .planet-atmosphere,
    .planet-orbit,
    .bg::before,
    .bg::after,
    .card-wrapper .imaging,
    .card-service [class^="imaging"],
    .frame3 .item .img,
    .mobile-card .imaging,
    .circles,
    .circles-services,
    .bitcoin-coin,
    .bitcoin-halo,
    .frame4 .img img,
    .frame5 .img_frame5 img,
    .frame6 .img img,
    .frame2 .phone img {
        animation: none !important;
    }

    .planet-texture {
        transition: none;
    }
}
