/* ===== font ===== */
@import url("https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

* {
  font-family: inter;
}

/* ===== header menu ===== */
.hover-underline-animation {
  position: relative;
  padding-bottom: 5px;
}

.hover-underline-animation:after {
  content: "";
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #000000;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.headermenu:hover .hover-underline-animation:after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

@keyframes demobtnglow {
  0% {
    box-shadow: none;
  }
  50% {
    box-shadow: 0 0 5px 1px #ff2759;
  }
}

.animate-glow {
  animation: demobtnglow 1s linear infinite;
}

#borderanimate {
  padding: 7px 12px !important;
  color: #d5263c !important;
  place-content: center;
  --border-angle: 0turn;
  --main-bg: conic-gradient(from var(--border-angle), rgb(255, 255, 255), rgb(255, 255, 255) 5%, rgb(255, 255, 255) 60%, rgb(255, 255, 255) 95%);
  border: solid 2px transparent;
  border-radius: 5px;
  --gradient-border: conic-gradient(from var(--border-angle), transparent 25%, #ef5410, #49a8ff 99%, transparent);
  background: var(--main-bg) padding-box, var(--gradient-border) border-box, var(--main-bg) border-box;
  background-position: center center;
  -webkit-animation: bg-spin 3s linear infinite;
  animation: bg-spin 3s linear infinite;
  margin-top: 8px;
}

@keyframes bg-spin {
  100% {
    --border-angle: 1turn;
  }
}

@property --border-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

/* ===== banner section movements ===== */
@keyframes moveTranslate {
  from {
    transform: translateY(0rem);
  }
  to {
    transform: translateY(0.5rem);
  }
}

.animate-moveTranslate {
  animation: moveTranslate 1s ease-in-out infinite alternate;
}

.bannercta {
  animation: glow 2s linear infinite;
}
.bannercta:hover {
	transform: scale(1.05);
  box-shadow: 0 0 20px 2px #1F96CD !important;
}

@keyframes glow {
  0% {
    box-shadow: none;
  }
  50% {
    box-shadow: 0 0 20px 2px #1F96CD;
  }
  100% {
    box-shadow: none;
  }
}

.brands.swiper-wrapper {
  transition-timing-function: linear !important;
}

/* ===== testimonials ===== */
/* Center the whole section */
.testimonial-section {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px; /* Space between arrows and carousel */
  padding: 60px 0;
}

/* Limit carousel width and center it */
.testimonial-swiper {
  width: 80%;
  position: relative;
  padding: 10px;
}
/* Testimonial card styling */
.testimonial-card {
  flex: 1; /* fill available space */
  width: 100%; /* make card fill slide */
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column; /* stack text neatly */
  justify-content: center; /* vertically center content */
  /* aspect-ratio: 9/10; */
  color: #364153;
}

.testimonial-card p {
  color: #333;
}

.testimonial-card h4 {
  margin-top: 10px;
  font-weight: bold;
  color: #555;
}

/* Navigation arrows outside carousel */
.custom-button-prev,
.custom-button-next {
  position: static; /* Prevent absolute positioning */
  color: #333;
  cursor: pointer;
  z-index: 10;
}

/* Pagination dots below carousel */
.swiper-pagination {
  position: relative !important; /* Override default absolute positioning */
  margin-top: 20px; /* Add spacing below carousel */
  text-align: center;
}

.swiper-slide {
  display: flex; /* allows centering card inside */
  justify-content: center;
  align-items: stretch; /* stretch cards to same height */
}

/* ===== verticals ===== */
.floater-wrapper {
  /* position: relative; */
  width: 100px;
  height: 115px;
}

.floater {
  position: absolute;
  width: 100%;
  height: 100%;
  cursor: pointer;
  transition: transform 0.3s ease;
  background-color: white;
  border-radius: 0.375rem;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

.floater:hover {
  transform: scale(1.1);
}

.floater-name {
  position: relative;
  width: 100%;
  text-align: center;
  bottom: -110px;
  left: 0;
  margin-top: 5px;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: opacity 0.3s ease;
  /* text-shadow: 0 0 5px currentColor; */
  opacity: 1;
  font-size: 0.75rem;
}

.floater:hover + .floater-name {
  opacity: 1;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.floater-wrapper {
  animation: float 4s ease-in-out infinite;
}
.floater-wrapper:nth-child(2) {
  animation-delay: -0.5s;
}
.floater-wrapper:nth-child(3) {
  animation-delay: -1s;
}
.floater-wrapper:nth-child(4) {
  animation-delay: -1.5s;
}
.floater-wrapper:nth-child(5) {
  animation-delay: -2s;
}
.floater-wrapper:nth-child(6) {
  animation-delay: -2.5s;
}

.scaleanimate {
  animation: scale 2s ease-in-out infinite alternate;
  --scale: 1.1;
}

@keyframes scale {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(var(--scale, 1.1));
  }
}

/* ===== addons ===== */
.glass-radio-group {
  --bg: rgba(255, 255, 255, 0.06);
  --text: #000;

  display: flex;
  position: relative;
  background: var(--bg);
  border-radius: 1rem;
  backdrop-filter: blur(12px);
  box-shadow: inset 1px 1px 4px rgba(255, 255, 255, 0.2), inset -1px -1px 6px rgba(0, 0, 0, 0.3), 0 4px 12px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  width: fit-content;
  border: 2px solid #494949;
}

.glass-radio-group input {
  display: none;
}

.glass-radio-group label {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  padding: 0.8rem 1.6rem;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--text);
  position: relative;
  z-index: 2;
  transition: color 0.3s ease-in-out;
}

.glass-radio-group label:hover {
  color: #000;
}

.glass-radio-group input:checked + label {
  color: #000;
}

.glass-glider {
  position: absolute;
  top: 0;
  bottom: 0;
  width: calc(100% / 2);
  border-radius: 1rem;
  z-index: 1;
  transition: transform 0.5s cubic-bezier(0.37, 1.95, 0.66, 0.56), background 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
}

#glass-retail:checked ~ .glass-glider {
  transform: translateX(0%);
  background: #a0d8ff;
  box-shadow: 0 0 18px rgba(192, 192, 192, 0.5), 0 0 10px rgba(255, 255, 255, 0.4) inset;
}

#glass-distributor:checked ~ .glass-glider {
  transform: translateX(100%);
  background: #a0d8ff;
  box-shadow: 0 0 18px rgba(192, 192, 192, 0.5), 0 0 10px rgba(255, 255, 255, 0.4) inset;
}

/* Timer animation */
.timer-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background-color: #3b82f6; /* Tailwind blue-500 */
  animation: timer 5s linear forwards;
}
@keyframes timer {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

.vertical_icons {
  margin-bottom: 25px;
  cursor: pointer;
  word-break: break-word;
}

.vertical_icons div {
  width: 60%;
  aspect-ratio: 1/1;
  box-shadow: 0px 0px 5px 5px #eef1f5;
  border-radius: 5px;
  background-position: center center;
  background-repeat: no-repeat;
  margin: 0px auto;
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
  --scale: 1.2;
  animation: scale 2s ease-in-out infinite alternate;
  display: flex;
}

.vertical_icons img {
  width: 50%;
  margin: auto;
}

.vertical_icons div::before,
.vertical_icons div::after {
  content: "";
  width: 0px;
  height: 0px;
  background-color: transparent;
  display: block;
  transition: 0.5s;
  position: absolute;
}

.vertical_icons div::before {
  border-top: 2px solid transparent;
  border-left: 2px solid transparent;
}

.vertical_icons div::after {
  border-bottom: 2px solid transparent;
  border-right: 2px solid transparent;
  bottom: 0px;
  right: 0px;
}

.vertical_icons:hover div::before,
.vertical_icons:hover div::after {
  width: 100%;
  height: 100%;
  border-color: #1e70b9;
  border-radius: 5px;
}

.vertical_icons:hover div {
  transition: 1.5s;
  box-shadow: none;
  background-color: #eef1f5;
  animation-play-state: paused;
}

.vertical_icons span {
  font-weight: 600;
  color: #000;
  width: 140px;
  display: block;
  margin: 0px auto;
}

path.draw {
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  animation: draw 5s linear alternate infinite;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

/* =============== Feature section ================= */

.features-wrapper .card {
  position: sticky;
  top: calc(var(--i) * 20px + 90px);
  background: linear-gradient(180deg, #f7fcff 0%, #ffffff 29.81%, #f5fbff 100%);
}

.features-wrapper .card h3 {
  position: sticky;
  top: 20px;
  z-index: 10;
  transition: all 0.2s ease;
}

/* When overlapped by next card, switch to absolute */
.features-wrapper .card h3.pinned {
  position: absolute;
  top: 2px;
  font-size: 0.8rem !important;
  line-height: 0.8rem;
  padding: 1px 5px;
}

/* =========Experimental============== */

.slant-shimmer {
  position: relative;
  display: inline-block;
  /* background: linear-gradient(120deg, #0170ff 0%, #000000 50%, #3267ab 100%); */
  background: var(--background);
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  animation: shimmer-diagonal 5s linear infinite;
}

@keyframes shimmer-diagonal {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}


/* ============= Retail Page ================ */

/* ========= Trust section =========== */

.retailtrust-card{
  /* background-color: #d3ebff;
  background-image: radial-gradient(rgba(255, 255, 255, 0.51) 2px, transparent 0);
  background-size: 27px 25px;
  background-position: -5px -5px; */
  background:linear-gradient( to bottom,  #d3ebff 0%, white 60% );
}


/* ========== verticals section ============= */
#horizontaltabs .tab-list {
	display: flex;
	position: relative;
	border-bottom: 2px solid #ddd;
  }
  
  #horizontaltabs .tab-btn {
	flex: 1;
	padding: 12px 16px;
	border: none;
	background: none;
	font: 600 14px/1.2 system-ui, sans-serif;
	color: #444;
	cursor: pointer;
	transition: background 0.3s ease, color 0.3s ease;
  }
  
  #horizontaltabs .tab-btn:hover {
	background: #f3f4f6;
  }
  
  #horizontaltabs .tab-btn.active {
	color: #1F96CD;
	font-weight: 700;
  }
  
  /* Timer bar sits under active tab */
  #horizontaltabs .vtimer-bar {
	position: absolute;
	bottom: 0;
	height: 3px;
	background: #1F96CD;
	transition: left 0.3s ease, width 0.3s ease;
  }
  
  #horizontaltabs .tab-panel{
	  display:none;
	  padding:20px;
  }
  

  .image-container {
	position: relative;
	overflow: hidden;
	min-height: 250px;
	min-width: 250px;
	aspect-ratio: 1/1;
	cursor: pointer;
  }
  
  .image-container img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: fill;
  }
  
  /* Overlay wrapper */
  .cloud-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 25%;
	transition: height 0.8s ease;
	overflow: hidden;
  }
  
  /* Smokey background layer */
  .cloud-bg {
	position: absolute;
	inset: 0;
	/* background: radial-gradient(circle at 30% 100%, rgba(255,255,255,0.8) 0%, transparent 70%),
				radial-gradient(circle at 70% 100%, rgba(255,255,255,0.8) 0%, transparent 70%),
				radial-gradient(circle at 50% 90%, rgba(255,255,255,0.7) 0%, transparent 80%); */
				background:	linear-gradient(to top, rgb(255 255 255) 0%,
	 /* solid white at bottom */ rgba(255, 255, 255, 0.99) 20%,
	  /* still dense */ rgba(255, 255, 255, 0.9) 50%,
	   /* fading */ rgba(255, 255, 255, 0.9) 90%,
	    /* almost gone */ rgba(255, 255, 255, 0.8) 100%);
	filter: blur(25px); /* blur only background */
	transition: all 0.8s ease;
	z-index: 1;
  }
  
  /* Text content sits above */
  .cloud-content {
	position: relative;
	z-index: 2; /* ensures text is above blur */
	text-align: center;
	color: #222;
  }
  
  .cloud-content h3 {
	margin: 0;
	font-size: 1.2rem;
	opacity: 1; /* always visible */
	padding-top:15px;
  }
  
  .cloud-content p {
	margin: 10px 0 0;
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.6s ease, transform 0.6s ease;
  }
  
  /* Hover effect */
  .image-container:hover .cloud-overlay {
	height: 95%;
  }
  
  .image-container:hover .cloud-bg {
	/* background: radial-gradient(circle at 20% 70%, rgba(255,255,255,0.9) 0%, transparent 70%),
				radial-gradient(circle at 80% 60%, rgba(255,255,255,0.9) 0%, transparent 70%),
				radial-gradient(circle at 50% 50%, rgba(255,255,255,0.8) 0%, transparent 80%); */

	/* background:radial-gradient(circle at 20% 70%, rgba(255, 255, 255, 0.98) 0%, transparent 70%),
				radial-gradient(circle at 80% 60%, rgba(255, 255, 255, 0.98) 0%, transparent 70%),
				 radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.95) 0%, transparent 80%); */

	background: linear-gradient(to top, rgb(255 255 255) 0%,
	 /* solid white at bottom */ rgba(255, 255, 255, 0.99) 20%,
	  /* still dense */ rgba(255, 255, 255, 0.8) 50%,
	   /* fading */ rgba(255, 255, 255, 0.8) 90%,
	    /* almost gone */ transparent 100%);
   
  }
  
  .image-container:hover .cloud-content p {
	opacity: 1;
	transform: translateY(0);
  }
  
  .image-container:hover .cloud-content h3 {
	transition: all 0.6s ease;
	padding-top:30px;
  }
  
  
  .cloud-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 25%;
	transition: height 0.8s ease;
	overflow: hidden;
  
	/* Add a gradient fade at the top edge */
	mask-image: linear-gradient(to top, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 100%);
	-webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 100%);
	mask-repeat: no-repeat;
	mask-size: cover;
  }

  /* =========== Read more para ============ */
.readmorebtn{
  text-decoration: underline;
  color:#E40F0F;
  cursor: pointer;
  margin-top:0px !important;
}

  .more {
      display: none;
  }

  .more.show{
    display: inline !important;
  }

  .more.show.para{
    display: block !important;
  }


  /* ========== Integration svg============= */

  .trace-bg {
    stroke: #333;
    stroke-width: 1.8;
    fill: none;
  }
  
  .trace-flow {
    stroke-width: 1.8;
    fill: none;
    stroke-dasharray: 40 400;
    stroke-dashoffset: 438;
    filter: drop-shadow(0 0 6px currentColor);
    animation: flow 3s cubic-bezier(0.5, 0, 0.9, 1) infinite;
  }
  
  .yellow {
    stroke: #ffea00;
    color: #ffea00;
  }
  .blue {
    stroke: #00ccff;
    color: #00ccff;
  }
  .green {
    stroke: #00ff15;
    color: #00ff15;
  }
  .purple {
    stroke: #9900ff;
    color: #9900ff;
  }
  .red {
    stroke: #ff3300;
    color: #ff3300;
  }
  
  @keyframes flow {
    to {
      stroke-dashoffset: 0;
    }
  }
  
  /* Čip */
  .chip-body {
    rx: 20;
    ry: 20;
  }
  
  /* Text uvnitř čipu */
  .chip-text {
    font-weight: bold;
    letter-spacing: 1px;
  }
  
  /* Piny */
  .chip-pin {
    stroke: #444;
    stroke-width: 0.5;
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.6));
  }

  .dottedbgpattern{
      height: 100%;
      /* Add your background pattern here */
      background-color: #121212;
      background-image: radial-gradient(rgba(255, 255, 255, 0.171) 2px, transparent 0);
      background-size: 30px 30px;
      background-position: -5px -5px
  }