@font-face {
  font-family: "GlitchGoblin";
  src: url("/wp-content/themes/gphome/assets/fonts/GlitchGoblin.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "ZenDots-Regular";
  src: url("/wp-content/themes/gphome/assets/fonts/ZenDots-Regular.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "ZenDotsKir";
  src: url("/wp-content/themes/gphome/assets/fonts/ZenDotsKir.ttf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}


video::-webkit-media-controls {
  display: none !important;
}

video::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none;
}

video::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none;
}

/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
@supports (background-color: #ffffff) {
  body {
    background-color: #ffffff !important;
  }
}
html, body {
  height: 100%;
  overflow: hidden; 
  font-family: ZenDots-Regular, sans-serif;
  background-color: #ffffff !important;
  color: #000000;
  cursor: none;
}
/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100dvh; 
  overflow: hidden;
}
/* ===== HEADER ===== */
.hero-header {
  position: absolute;
  top: env(safe-area-inset-top, 30px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  margin-top: 20px; 
}
.hero-header img {
  width: 73px;
}
/* ===== SLIDES ===== */
.slides {
  display: flex;
  height: 100%;
  transition: transform 1.8s cubic-bezier(.4,0,.2,1);
}
.slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
      padding: env(safe-area-inset-top, 60px) 5px 60px 5px;
  box-sizing: border-box;
}
/*.slide-1 { background: linear-gradient(120deg,#0e2a47,#1e5fa3); }
.slide-2 { background: linear-gradient(120deg,#1a3d2f,#3fa37c); }
.slide-3 { background: linear-gradient(120deg,#3d1a1a,#a33f3f); }
.slide-4 { background: linear-gradient(120deg,#2a1a3d,#6b3fa3); }*/
.slide-1, .slide-2, .slide-3, .slide-4 { background: #fff; }
.slide-content {
  text-align: center;
  /*max-width: 720px;*/
}
/* ===== FOOTER ===== */
.hero-footer {
  position: absolute;
  bottom: env(safe-area-inset-bottom, 28px);
  width: 100%;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
      margin-bottom: 20px;
}
.footer-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgb(0 0 0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  text-decoration: none;
}
/* ===== SLIDER NAV ===== */
.slider-nav {
  position: relative;
  background: rgb(216 216 216 / 77%);
  padding: 16px 27px;
  border-radius: 999px;
      z-index: 11;
}
.slider-dots {
  display: flex;
  gap: 50px;
  list-style: none;
}
.slider-dots li {
  width: 10px;
  height: 10px;
  background: #000;
  border-radius: 50%;
  opacity: 1;
  cursor: pointer;
  position: relative;
}
.slider-dots li {
  position: relative;
}
/* кольцо пульсации */
.slider-dots li::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgb(255 0 1);
  opacity: 0;
  transform: scale(0.6);
  pointer-events: none;
}
/* при наведении */
.slider-dots li:hover::after {
  animation: dot-pulse 1.6s ease-out infinite;
}
/* активная точка — всегда слегка подсвечена */
/*.slider-dots li.active::after {
  opacity: 0.6;
  transform: scale(1);
  border-color: rgba(255,255,255,0.8);
}*/
/* ===== ANIMATION ===== */
@keyframes dot-pulse {
  0% {
    transform: scale(0.6);
    opacity: 0.7;
  }
  70% {
    transform: scale(1.6);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
.slider-dots li.active {
  opacity: 1;
}
/* ===== TOOLTIP ===== */
.slider-dots li span{
  position:absolute;
  bottom:350%;
  left:50%;
  transform:translate(-50%,10px);
  background:#000;
 /* padding:6px 16px;*/
  border-radius:20px;
  font-size:12px;
  white-space:nowrap;
  opacity:0;
  pointer-events:none;
  transition:.35s ease;
  color: #fff;
  padding: 13px 27px;
    width: 250px;
    text-align: center;
}

/*.slider-label {
    position: absolute;
    bottom: 130%;
    background: #000;
    border-radius: 20px;
    font-size: 16px;
    pointer-events: none;
    color: #fff;
    padding: 10px 27px;
    width: 243px;
    text-align: center;
    right: 0px;
}*/
.slider-dots li:hover span,
.slider-dots li.show span{
  opacity:1;
  transform:translate(-50%,0);
}
/* ===== HANDLER ===== */
.slider-handler {
  position: absolute;
  top: 5.5px;
  width: 54px;
  height: 30px;
  border-radius: 999px;
  background: #000000 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: all-scroll;
  z-index: 2;
  left: 0px;
}
.slider-handler:active {
  cursor: grabbing;
}
.slider-handler svg {
  width: 6px;
  height: 9px;
}
.slider-handler path {
  stroke: #ffffff;
  stroke-width: 1.5;
  fill: none;
}
/* ===== PULSE HOVER EFFECT ===== */
.footer-icon {
  position: relative;
  transition: transform 0.35s ease;
}
/* пульсирующее кольцо */
.footer-icon::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgb(255 0 1);
  opacity: 0;
  transform: scale(0.85);
}
/* при наведении */
.footer-icon:hover::after {
  animation: pulse-ring 1.8s ease-out infinite;
}
.footer-icon:hover {
  transform: scale(1.05);
}
/* ===== ANIMATION ===== */
@keyframes pulse-ring {
  0% {
    transform: scale(0.85);
    opacity: 0.7;
  }
  60% {
    transform: scale(1.25);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media(max-width:768px){
  .slide-content h1 { font-size: 36px; }
  .slide-content p { font-size: 16px; }
 
  .slider-dots {
    gap: 35px;
}
.hero-header img {
    width: 48px;
}
.feature-image {
    width: 90px;    
}
.slider-label {
    width: 198px;
}
}
/*Слайд 1*/
.feature-description .feadescription {
  font-weight: 700;
}
.features-video-section {
  padding: 60px 20px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
/* Левая часть - список фич */
.features-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
/* ==== Feature Item Animation ==== */
.info-block {
  opacity: 0;
  transform: translateY(30px);
  transition: transform 0.7s ease, opacity 0.7s ease;
}

.info-block.show {
  opacity: 1;
  transform: translateY(0);
}
.feature-item {
  opacity: 0;
  transform: translateY(30px);
  transition: transform 0.7s ease, opacity 0.7s ease;
}
.feature-item.show {
  opacity: 1;
  transform: translateY(0);
}
.feature-image {
  width: 64px;
 /* height: 64px;
  object-fit: cover;*/
  border-radius: 8px;
  flex-shrink: 0;
}
.feature-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.feature-title {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
}
.feature-description {
  /*font-size: 14px;*/
  font-size: 12px;
  color: #000;
  line-height: 1.5;
}
/* Правая часть - видео */
.video-block {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
}
.video-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background: #ffffff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}
.play-button:hover {
  transform: translate(-50%, -50%) scale(1.1);
}
.play-button svg {
  width: 24px;
  height: 24px;
  color: #333;
  margin-left: 3px;
}
/* Планшеты */
@media (min-width: 768px) {
  .feature-image {
    width: 80px;
   /* height: 80px;*/
  }
  .feature-title {
    font-size: 18px;
  }
  .play-button {
    width: 64px;
    height: 64px;
  }
  .play-button svg {
    width: 32px;
    height: 32px;
  } 
}
/* Десктоп - горизонтальная раскладка */
@media (min-width: 1024px) {
  .container {
    flex-direction: row;
    gap: 40px;
  }
  .features-list {
   /* width: 50%;*/
   width: 60%;
    gap: 24px;
  }
  .feature-image {
    width: 96px;
   /* height: 96px;*/
  }
  .video-block {
    width: 50%;
  }
  .play-button {
    width: 80px;
    height: 80px;
  }
  .play-button svg {
    width: 40px;
    height: 40px;
  }
}

/* ===== NEW: SCROLLABLE CONTENT FIX FOR MOBILE ===== */
.slide-scroll {
  width: 100%;
  max-height: 100%;
  overflow-y: hidden; /* default no scroll */
}


@media (max-width: 960px) {
  .slide {
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: calc(env(safe-area-inset-top, 60px) + 130px); 
    padding-bottom: calc(60px + 80px);
    overflow-y: hidden;
  }
  .slide-scroll {
    overflow-y: auto;
    max-height: calc(100dvh - 180px);
    padding-bottom: 80px;
  }
  .features-video-section {
    min-height: auto; 
    padding: 20px 20px 0;
    align-items: flex-start;
  }
  .container {
    gap: 40px;
  }
  
}


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

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: visible;
  border-radius: 16px;
 /* background: #000;*/
}

.video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
 /* border-radius: 25px;*/
}

/*.video-text-create {
  position: absolute;
  right: 50px;
  bottom: -0.50em;
  font-size: clamp(80px, 18vw, 50px);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);           
  
  pointer-events: none;
  user-select: none;
  z-index: 5;
  line-height: 1;
  font-family: "GlitchGoblin", sans-serif;

  background: linear-gradient(to bottom, 
    rgba(255,255,255,0.42) 50%,        
    #ff2f2f 50%                         
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;


  isolation: isolate;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}*/
.video-text-create {
  position: absolute;
  right: 50px;
 top: -0.50em;
  font-size: clamp(80px, 18vw, 50px);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;

  pointer-events: none;
  user-select: none;
  z-index: 5;
  line-height: 1;
  font-family: "GlitchGoblin", sans-serif; 
  background: linear-gradient(
    to bottom,
    #ff2f2f 50%,
    rgba(255, 255, 255, 0.42) 50%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  isolation: isolate;
  transform: translateZ(0);
}

.video-text-create::after {
  display: none;   
}

.video-text-create {
  font-family: "GlitchGoblin", sans-serif;
}
@media (max-width: 768px) {
  .video-text-create {   
    font-size: 50px;   
}
  .slide {
    padding-top: calc(env(safe-area-inset-top, 60px) + 100px);    
  }
}

/* Кнопка кружок */
.video-control-circle {
  position: absolute;
  width: 80px;
  height: 80px;
  background: rgba(0,0,0,0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  pointer-events: none; 
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.1s ease;
}

.video-wrapper:hover .video-control-circle {
  opacity: 1;
}
@media (max-width: 375px) {
.hero-footer {
    padding: 0 25px;
}
}
@media (max-width: 360px) {
.hero-footer {
    padding: 0 5px;
}
}

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: white;
  opacity: 1;
  pointer-events: none;
  z-index: 9999999;
  transform: translate(-50%, -50%);
  transition: transform 0.08s ease-out;
  mix-blend-mode: difference;
}
.custom-cursor.is-hidden {
  opacity: 0;
  display: none;
}
@media (max-width: 1200px) {
.custom-cursor {
  display: none;
}}

.slider-label {
  position: absolute;
  bottom: 130%;
  right: 0;
  width: 243px;
  height: 40px;
  background: #000;
  border-radius: 20px;
  overflow: hidden;
  pointer-events: none;
}

.label-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #fff;
  white-space: nowrap;
  will-change: transform;
}

@media (max-width: 768px) {
  .slider-label {
    width: 198px;
  }
}
@media (min-width: 1024px) {
  /*.mobcopy {
    display: none;
  }*/
  .slide-1 .mobcopy { 
  bottom: 145px;
  position: relative;
  text-align: center;
	color: #00000052;
    font-size: 12px;
    }
	.slide-4 .mobcopy { 
  bottom: 145px;
  position: relative;
  text-align: center;
	color: #00000052;
    font-size: 12px;
    }
	.slide-4 .mobcopy { 
display: none;  
    }
	.slide-4 .mobcopyrict {
        display: block;
        text-align: center;
        color: #00000052;
        font-size: 12px;
        display: flex;
        align-items: flex-end;
        bottom: 20px;
        position: relative;
    }
}
@media (max-width: 1023px) {
	.slide-1 .mobcopy {
    display: block;
	padding: 40px 20px 0px 20px;
	text-align: center;
	color: #00000052;
    font-size: 12px;
  }
  .slide-4 .mobcopy {
    display: block;
	padding: 20px 20px 65px 20px;
	text-align: center;
	color: #00000052;
    font-size: 12px;
  }
  .slide-4 .mobcopyrict {
	display: none;  
   }	  
}