* {
    box-sizing: border-box;
}

body {
    /* font-family: 'Inter', sans-serif; */
    background: #141414;
    color: #fff;
    overflow-x: hidden;
}

.font-cyber {
    /* font-family: 'Orbitron', monospace; */
      font-family: "Montserrat", sans-serif;
        font-optical-sizing: auto;
        font-weight: 400;
        font-style: normal;
}

h1 {
    
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.montserrat {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.mb-16 {
    margin-bottom: 2rem !important;
}

.bg-gradient-cyber {
     background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%); 
}

.text-neon-blue {
    color: #f4f4f4;
    text-shadow: 0 0 1px #00ffff, 0 0 2px #00ffff, 0 0 10px #00ffff;
    
}

.text-green {
    color: #39ff14;
    text-shadow: 0 0 10px #39ff14, 0 0 20px #39ff14;
}

.text-neon-purple {
    color: #bf00ff;
    text-shadow: 0 0 10px #bf00ff, 0 0 20px #bf00ff;
}

.text-neon-red {
    color: #ff0015;
    text-shadow: 0 0 10px #ff0000, 0 0 20px #ff0044;
}

.border-neon {
    border-color: #00ffff;
    box-shadow: 0 0 1px rgba(23, 23, 23, 0.5);
}

.glitch {
    position: relative;
    animation: glitch-main 2s infinite linear alternate-reverse;
}

.glitch2 {
    position: relative;
    animation: glitch-main 3s infinite ease-in-out alternate-reverse;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitch-1 5s infinite linear alternate-reverse;
    color: #efefef;
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 3s infinite linear alternate-reverse;
    color: #1b1b1b;
    z-index: -2;
}

@keyframes glitch-main {
    0% { transform: translate(0); }
    20% { transform: translate(-0.4px, 0.4px); animation-timing-function: ease-in-out; } /* Пример: замедление к концу */
    40% { transform: translate(-0.4px, -0.4px); animation-timing-function: ease-in-out; } /* Пример: замедление в начале и конце */
    60% { transform: translate(0.8px, 0.4px); animation-timing-function: ease-in-out; } /* Пример: ускорение к концу */
    80% { transform: translate(0.8px, -0.4px); animation-timing-function: ease-in-out; }
    100% { transform: translate(0); }
}

@keyframes glitch-1 {
    0% { clip-path: inset(40% 0 61% 0); }
    20% { clip-path: inset(92% 0 1% 0); }
    40% { clip-path: inset(43% 0 1% 0); }
    60% { clip-path: inset(25% 0 58% 0); }
    80% { clip-path: inset(54% 0 7% 0); }
    100% { clip-path: inset(58% 0 43% 0); }
}

@keyframes glitch-2 {
    0% { clip-path: inset(25% 0 58% 0); }
    20% { clip-path: inset(54% 0 7% 0); }
    40% { clip-path: inset(58% 0 43% 0); }
    60% { clip-path: inset(40% 0 61% 0); }
    80% { clip-path: inset(92% 0 1% 0); }
    100% { clip-path: inset(43% 0 1% 0); }
}

.hover-glitch:hover {
    animation: glitch-hover 0.3s infinite;
}

@keyframes glitch-hover {
    0% { transform: translate(0); }
    25% { transform: translate(-1px, 1px); }
    50% { transform: translate(1px, -1px); }
    75% { transform: translate(-1px, -1px); }
    100% { transform: translate(0); }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeIn 0.8s ease-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.max-w-60 {
    max-width: 60%;
}

.page {
    display: none;
    min-height: 100vh;
}

.page.active {
    display: block;
    animation: pageSlide 0.5s ease-out;
}

@keyframes pageSlide {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.cyber-button {
    position: relative;
    background: transparent;
    border: 2px solid #00ffff;
    color: #00ffff;
    padding: 12px 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.cyber-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cyber-button:hover::before {
    left: 100%;
}

.cyber-button:hover {
    background: rgba(0, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.art {
    width: 48%;
    margin-bottom: 1em;
}

.artifact-card {
    background: rgb(14, 14, 14);
    border: 1px solid #333;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.artifact-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.3s ease;
    opacity: 0;
}

.artifact-card:hover::before {
    opacity: 1;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.artifact-card:hover {
    border-color: #f5f5f5;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.3);
}

/* #bcgr */
.artifact-cardq {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.artifact-cardq::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.5s ease-in-out;
    background-color: #141414;
    opacity: 0.1;
}

.artifact-cardq:hover::before {
    opacity: 0.1;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.artifact-cardq:hover {
    background-color: #0e0e0e;
    transform: translateY(-5px);
}

.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 130%;
    height: 130%;
    pointer-events: none;
    z-index: 1;
    opacity: 1;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="130" height="130"><defs><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.3"/></filter></defs><rect width="130%" height="130%" filter="url(%23noise)" opacity="0.1"/></svg>');
    animation: noise 6s infinite ease-in-out;
}

@keyframes noise {
    0% { transform: translate(0, 0); }
    10% { transform: translate(-5%, -5%); }
    20% { transform: translate(-5%, 5%); }
    30% { transform: translate(5%, -5%); }
    40% { transform: translate(-5%, 5%); }
    50% { transform: translate(-5%, 5%); }
}

.form-input {
    background: rgb(251 251 251);
    border: 1px solid #333;
    color: #121212;
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: #00ffff;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
    outline: none;
}

.symptom-item {
    position: relative;
    padding: 20px;
    background: rgba(26, 26, 0.6);
    border-left: 3px solid #ff0040;
    margin: 15px 0;
    transition: all 0.3s ease;
}

.symptom-item:hover {
    background: rgba(255, 0, 64, 0.1);
    transform: translateX(10px);
}

.solution-item {
    position: relative;
    padding: 20px;
    background: rgba(26, 0.6);
    border-left: 3px solid #39ff14;
    margin: 15px 0;
    transition: all 0.3s ease;
    background-color: #44ff230d;
}

.solution-item:hover {
    background: rgba(57, 255, 20, 0.1);
    transform: translateX(10px);
}

.nav-item {
    position: relative;
    padding: 15px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.nav-item:hover,
.nav-item.active {
    color: #00ffff;
    border-bottom-color: #00ffff;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #00ffff;
    transition: width 0.3s ease;
}

.nav-item:hover::after {
    width: 100%;
}

.loader {
    max-width: 15rem;
    stroke-linecap: round;
    height: auto;
    width: 253px;
    position: absolute;
    top: -72px;
    left: 345px;
    z-index: -1;
}

@media (max-width: 768px) {
    .loader {
        max-width: 15rem;
        stroke-linecap: square;
        height: auto;
        width: 354px;
        position: absolute;
        top: -84px;
        left: 169px;
        z-index: -1;
}
    .text-center {
       margin-top: 0rem;
    }
    h1 {
    font-size: 3.725rem !important;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.animation-example {
    top: 12em;
}
}

@media (max-width: 600px) {
        h1 {
        font-size: 3rem !important;
        font-weight: 700;
        margin-bottom: 1rem;
        line-height: 1.2;
    }
    .loader {
        display: none;
    }
    .nav-item {
    font-size: 0.658em;
}    
.animation-example {
    top: 10em !important;
}
}

circle {
  fill: none;
  stroke-width: 3.5;
  transform-origin: 170px 170px;
  will-change: transform;

  &:nth-of-type(1) {
    stroke-dasharray: 120px;
    animation-name: preloader-1;
    animation-duration: 12s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-delay: 0s;
  }

  &:nth-of-type(2) {
    stroke-dasharray: 50px;
    animation-name: preloader-2;
    animation-duration: 18s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-delay: -1.5s;
  }

  &:nth-of-type(3) {
    stroke-dasharray: 45px;
    animation-name: preloader-3;
    animation-duration: 10s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in;
    animation-delay: -3s;
  }

  &:nth-of-type(4) {
    stroke-dasharray: 3px;
    animation-name: preloader-4;
    animation-duration: 20s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-out;
    animation-delay: -4.5s;
  }

  &:nth-of-type(5) {
    stroke-dasharray: 5px;
    animation-name: preloader-5;
    animation-duration: 14s;
    animation-iteration-count: infinite;
    animation-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    animation-delay: -6s;
  }
}



@keyframes preloader-1 {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(360deg);
  }
  100% {
    transform: rotate(720deg);
  }
}

@keyframes preloader-2 {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(180deg);
  }
  50% {
    transform: rotate(360deg);
  }
  75% {
    transform: rotate(540deg);
  }
  100% {
    transform: rotate(720deg);
  }
}

@keyframes preloader-3 {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(540deg);
  }
  100% {
    transform: rotate(1080deg);
  }
}

@keyframes preloader-4 {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(720deg);
  }
  50% {
    transform: rotate(1440deg);
  }
  75% {
    transform: rotate(2160deg);
  }
  100% {
    transform: rotate(2880deg);
  }
}

@keyframes preloader-5 {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(180deg);
  }
  100% {
    transform: rotate(540deg);
  }
}

.at-rotate {
    width: 50px;
    margin: 0px auto;
}

@keyframes rotate {
		100% {
			transform:rotate(360deg);
		}
	}

.p-6 {
    padding-top: 1em !important;
}

* {
  box-sizing: border-box;
}
@keyframes move-dot1 {
  0% {
    transform: translateX(-50%) translateY(-50%);
  }
  20% {
    transform: translateX(-50%) translateY(30%);
  }
  100% {
    transform: translateX(-50%) translateY(30%);
  }
}
@keyframes move-dot2 {
  0% {
    transform: translateX(-50%) translateY(-50%);
  }
  15% {
    transform: translateX(-50%) translateY(-10%);
  }
  30% {
    transform: translateX(-10%) translateY(-10%);
  }
  100% {
    transform: translateX(-10%) translateY(-10%);
  }
}

.animation-example {
    position: relative;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    height: 50vmin;
    width: 50vmin;
    display: block;
    top: 16em;
}
.animation-example > .item {
  position: absolute;
  top: 0;
  left: 50%;
  height: 50%;
  width: 50%;
  transform: translateX(-50%);
  transform-origin: 50% 100%;
  pointer-events: none;
}

.box-neon-purple {
    color: #bf00ff;
    box-shadow: 0 0 10px #bf00ff, 0 0 20px #bf00ff;
    background: rgb(255, 255, 255);
}

.box-neon-purple {
    color: #bf00ff;
    box-shadow: 0 0 10px #bf00ff, 0 0 20px #bf00ff;
    background: rgb(255, 255, 255);
}

.animation-example > .item:nth-child(2) {
  transform: translateX(-50%) rotate(90deg);
}
.animation-example > .item:nth-child(3) {
  transform: translateX(-50%) rotate(180deg);
}
.animation-example > .item:nth-child(4) {
  transform: translateX(-50%) rotate(270deg);
}
.animation-example > .item > .line {
    height: 100%;
    width: calc(50% + 1px);
    border-right: 4px dashed #893838;
}
.animation-example > .item > .dot {
  position: absolute;
  left: 50%;
  top: 10%;
  transform: translateX(-50%) translateY(-50%);
  height: 100%;
  width: 100%;
  animation: move-dot1 5.5s linear infinite;
}
.animation-example > .item > .dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  height: 5%;
  width: 5%;
  background: #fff;
  border: 2px solid #5bc0eb;
  border-radius: 50%;
}
.animation-example > .item > .circle {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 20%;
  width: 20%;
  border-radius: 50%;
  background: #f8f8f8;
}
.animation-example > .item.-type2 {
  top: 0;
  left: 0;
  transform: none;
  transform-origin: 100% 100%;
}
.animation-example > .item.-type2:nth-child(5) {
  transform: scaleX(-100%);
}
.animation-example > .item.-type2:nth-child(6) {
  transform: scaleX(-100%) scaleY(-100%);
}
.animation-example > .item.-type2:nth-child(7) {
  transform: scaleY(-100%);
}
.animation-example > .item.-type2 > .line {
  position: absolute;
  top: 30%;
  left: calc(30% - 1px);
  width: 70%;
  height: 40%;
  border-right: none;
  border-left: 2px dashed #5bc0eb;
  border-bottom: 2px dashed #5bc0eb;
}
.animation-example > .item.-type2 > .dot {
  top: 30%;
  left: 30%;
  animation: move-dot2 4s linear infinite;
}
.animation-example > .item.-type2 > .circle {
  top: 30%;
  left: 30%;
  transform: translateX(-50%) translateY(-50%);
}
.animation-example > .item:nth-of-type(1) > .dot {
  animation-delay: 0;
}
.animation-example > .item:nth-of-type(7) > .dot {
  animation-delay: .5s;
}
.animation-example > .item:nth-of-type(2) > .dot {
  animation-delay: 1s;
}
.animation-example > .item:nth-of-type(6) > .dot {
  animation-delay: 1.5s;
}
.animation-example > .item:nth-of-type(3) > .dot {
  animation-delay: 2s;
}
.animation-example > .item:nth-of-type(5) > .dot {
  animation-delay: 2.5s;
}
.animation-example > .item:nth-of-type(4) > .dot {
  animation-delay: 3s;
}
.animation-example > .item:nth-of-type(8) > .dot {
  animation-delay: 3.5s;
}
.animation-example > .center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  height: 50%;
  width: 50%;
}
.animation-example > .center > .circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  border-radius: 50%;
}
.animation-example > .center > .circle:nth-child(1) {
    height: 70%;
    width: 129%;
    background: #fff;
    box-shadow: 0 0 3vmin rgba(0, 0, 0, 0.1);
}
.animation-example > .center > .circle:nth-child(2) {
    height: 72%;
    width: 130%;
    border: 8px solid #262626;
}
.animation-example > .center > .circle:nth-child(3) {
  height: 50%;
  width: 50%;
  background: #1c1c1c;
}

.animation-example > .center > .circle:nth-child(4) {
  height: 30%;
  width: 30%;
  background: #00bfff;
}
.circle-centre {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    border-radius: 50%;
    height: 50%;
    width: 50%;
    background: #242424;
    animation: shadow-drop-center 1s linear 0s infinite alternate none;
}

@keyframes shadow-drop-center {
			
		0% {
			box-shadow:0 0 20px 0 transparent;
		}
		100% {
			box-shadow:0 0 50px 10px rgb(247, 3, 3);
		}
	}