/* Hero Section */
.hero {
  padding: 250px 0 250px;
  overflow: hidden;
  position: relative;
}

/* Gradient overlay to hide the bottom line of grid */

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to bottom, transparent, #fff);
  z-index: 2;
  pointer-events: none;
}
html.dark-mode .hero::after {
  background: linear-gradient(to bottom, transparent, var(--black));
}

.hero-grid-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(10, minmax(0px, 1fr));
  grid-template-rows: repeat(5, minmax(182px, 1fr));
  gap: 6px;
  padding: 12px;
  opacity: 0.2;
  pointer-events: none;
  overflow: hidden;
}

.grid-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.6);
  aspect-ratio: 1 / 1;
  will-change: opacity, transform;
  transform-origin: center center;
  transition: all 2.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.grid-item img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  transition: all 2.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 0px;
}

.grid-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 1;
}

.grid-item.show {
  opacity: 1;
  transform: scale(1.05);
}

.grid-item.hide {
  opacity: 0.1;
  transform: scale(0.95);
}

/* Additional organic movement for all items */

.grid-item {
  animation: organicFloat 6s ease-in-out infinite;
}

@keyframes organicFloat {
  0%,
  100% {
    transform: translateY(0px);
  }

  25% {
    transform: translateY(-2px);
  }

  50% {
    transform: translateY(-4px);
  }

  75% {
    transform: translateY(-2px);
  }
}

/* Performance optimizations */

.hero-grid-background {
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.grid-item {
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Responsive adjustments */

@media (max-width: 768px) {
  .hero-grid-background {
    grid-template-columns: repeat(7, minmax(0px, 1fr));
    grid-template-rows: repeat(4, minmax(0px, 1fr));
    gap: 4px;
    padding: 8px;
  }

  .hero::after {
    height: 80px;
  }
}

@media (max-width: 480px) {
  .hero-grid-background {
    grid-template-columns: repeat(5, minmax(0px, 1fr));
    grid-template-rows: repeat(3, minmax(0px, 1fr));
    gap: 3px;
    padding: 6px;
  }

  .hero::after {
    height: 60px;
  }
}

.banner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  position: relative;
  z-index: 3;
}

.hero-title {
  margin-bottom: 25px;
  line-height: 1.1;
  color: var(--secondary-color);
  position: relative;
  font-family: "Luciole-Bold";
  max-width: 690px;
  flex: 1;
  position: relative;
  text-align: center;
}

html.dark-mode .hero-title {
  color: var(--white);
}

.hero-subtitle {
  font-size: 18px;
  color: var(--Charcoal);
  font-weight: 400;
  margin-bottom: 2.5rem;
  line-height: 1.6;
  position: relative;
  max-width: 500px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  justify-content: center;
}

.hero-apps {
  display: flex;
  align-items: center;
  gap: 25px;
  position: relative;
}

.hero-apps::after {
  content: "";
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 30px;
  height: 30px;
  background: var(--primary-color);
  border-radius: 50%;
  opacity: 0.2;
}

.apps-text {
  font-size: 0.9rem;
  color: #eeeeee;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

.app-buttons {
  display: flex;
  gap: 20px;
  align-items: center;
}

.app-button {
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 12px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.app-button:hover {
  transform: translateY(-5px) scale(1.05);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.app-icon {
  height: 28px;
  width: auto;
  transition: all 0.3s ease;
  filter: brightness(0) invert(1);
}

.app-icon.gray {
  opacity: 1;
}

.app-icon.primary {
  opacity: 0;
  position: absolute;
  top: 12px;
  left: 12px;
  filter: brightness(0) invert(1);
}

.app-button:hover .app-icon.gray {
  opacity: 0;
}

.app-button:hover .app-icon.primary {
  opacity: 1;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-image::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  background: linear-gradient(45deg, #f27721, #ffca2b);
  border-radius: 50%;
  opacity: 0.1;
  z-index: -1;
}

.hero-img {
  max-width: 500px;
  height: auto;
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  transform: perspective(1000px) rotateY(-8deg) rotateX(5deg);
  transition: all 0.5s ease;
  position: relative;
  z-index: 2;
}

.hero-image:hover .hero-img {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

/* why-us-section-start */
.why-us-section {
  position: relative;
  overflow: visible;
}

.why-us-card .btn-primary {
  margin-top: 20px;
  display: inline-block;
}

.why-us-section-container {
  display: flex;
  gap: 50px;
}

.why-us-section-container .why-us-title {
  position: sticky;
  top: 40%;
  max-height: fit-content;
  z-index: 10;
  margin-bottom: 0px;
  min-width: 390px;
}

/* Grid */
.why-us-section .why-us-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .why-us-section .why-us-grid {
    margin-top: 0px;
  }
}

/* Grid */
.why-us-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.benefit-item {
  background: var(--gray);
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  transition: all 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-5px);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.benefit-icon .icon {
  font-size: 24px;
}

.benefit-content {
  flex: 1;
}

.benefit-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
}

.benefit-text {
  font-size: 0.9rem;
  color: rgba(0, 0, 0, 0.7);
  line-height: 1.5;
}

/* Feature Showcase */
.feature-showcase {
  margin-top: 50px;
}

.feature-showcase-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
  margin-bottom: 4rem;
  padding: 2rem;
  background: var(--gray);
  border-radius: 1rem;
}

.feature-showcase-content {
  max-width: 500px;
  order: 1;
}

.feature-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  opacity: 0.3;
  margin-bottom: 1rem;
}

.feature-showcase-image {
  order: 2;
}

.showcase-img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.feature-showcase-item .feature-title {
  padding: 10px 0px;
}

@media (min-width: 1024px) {
  .feature-showcase-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    text-align: left;
    gap: 4rem;
    padding: 3rem;
  }

  /* Dynamic alternating: every odd item (1st, 3rd, 5th, etc.) = content left, image right */
  .feature-showcase-item:nth-child(odd) .title-box {
    order: 1;
  }

  .feature-showcase-item:nth-child(odd) .feature-showcase-image {
    order: 2;
  }

  /* Dynamic alternating: every even item (2nd, 4th, 6th, etc.) = content right, image left */
  .feature-showcase-item:nth-child(even) .title-box {
    order: 2;
  }

  .feature-showcase-item:nth-child(even) .feature-showcase-image {
    order: 1;
  }

  .feature-showcase {
    margin-top: 80px;
  }
}

/* Industry Showcase Section start*/
.industry-showcase {
  background: var(--white);
  overflow: hidden;
  position: relative;
}

html.dark-mode .industry-showcase {
  background: var(--black);
}

html.dark-mode .industry-showcase::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--black));
  z-index: 2;
  pointer-events: none;
}

.industry-showcase .title-box {
  text-align: unset;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.industry-showcase .title-box p {
  max-width: 100%;
}

/* Swiper Styles */
.industry-swiper {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: auto;
}

.industry-swiper .swiper-wrapper {
  display: flex;
  width: 100%;
  height: auto;
}

.industry-swiper .swiper-slide {
  width: 90vw;
  height: auto;
  flex-shrink: 0;
}

/* Swiper Navigation Buttons */
.industry-swiper-next,
.industry-swiper-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  background: #f3f4f6;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  color: #6b7280;
}

.industry-swiper-next:hover,
.industry-swiper-prev:hover {
  background: #e5e7eb;
  color: #374151;
}

.industry-swiper-next:disabled,
.industry-swiper-prev:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.industry-swiper-next {
  right: 1rem;
}

.industry-swiper-prev {
  left: 1rem;
}

.industry-swiper-next::after,
.industry-swiper-prev::after {
  font-size: 1rem;
  font-weight: bold;
}

/* Swiper Pagination */
.industry-swiper-pagination {
  position: relative;
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.industry-swiper-pagination .swiper-pagination-bullet {
  width: 0.5rem;
  height: 0.5rem;
  background: #d1d5db;
  border-radius: 50%;
  opacity: 1;
  transition: all 0.2s ease;
  cursor: pointer;
}

.industry-swiper-pagination .swiper-pagination-bullet-active {
  background: #374151;
  width: 1.5rem;
  border-radius: 0.25rem;
}

/* Desktop Styles for Swiper */
@media (min-width: 768px) {
  .industry-swiper .swiper-slide {
    width: 37.5rem;
  }

  .industry-swiper-next {
    right: 2rem;
  }

  .industry-swiper-prev {
    left: 2rem;
  }
}

.industry-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.industry-header-content {
  padding: 1.5rem;
}

html.dark-mode .industry-header h2 {
  color: var(--white);
}

html.dark-mode .industry-header p {
  line-height: 1.6;
}

.industry-controls {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.industry-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #6b7280;
}

html.dark-mode .industry-btn {
  background: var(--secondary-color);
}

.industry-btn:hover {
  background: #e5e7eb;
}

.industry-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.industry-pagination {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #f3f4f6;
  padding: 1rem;
  border-radius: 50px;
}

html.dark-mode .industry-pagination {
  background: var(--secondary-color);
}

.pagination-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 5px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  background: #d1d5db;
}

.pagination-dot.active {
  background: #374151;
  width: 1rem;
}

html.dark-mode .pagination-dot.active {
  background: var(--primary-color);
}

.pagination-dot:hover:not(.active) {
  background: #6b7280;
}

.industry-slider {
  position: relative;
}

.industry-slider-container {
  display: flex;
  transition: transform 0.3s ease;
  gap: 1.5rem;
}

.industry-slider-container::-webkit-scrollbar {
  display: none;
}

.industry-slider-container {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.industry-slide {
  flex-shrink: 0;
  width: 90vw;
  min-width: 90vw;
  padding-left: 1.5rem;
}

/* Action Wrapper Section */

.action-title span {
  color: var(--primary-color);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  display: block;
}

.action-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.action-title p {
  font-size: 1.125rem;
  color: #6b7280;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.action-wrapper .hero-buttons {
  margin: 0px;
  margin-top: 60px;
}

/* Video Section */
.video-section {
  max-width: 1200px;
  margin: 0 auto;
}

.video-container {
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: 0 0px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.video-container::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.05) 0%,
    transparent 70%
  );
  pointer-events: none;
}

/* Decorative Elements */
.video-decorations {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-template-rows: 1fr 1fr;
  gap: 1.5rem;
  height: 400px;
  position: relative;
  z-index: 1;
}

.video-item {
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Video Placeholder Styles */
.video-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  position: relative;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-placeholder .play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--secondary-color);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 3px solid rgba(255, 255, 255, 0.2);
  z-index: 9;
}

html.dark-mode .video-placeholder .play-button {
  background: rgba(0, 0, 0, 0.8);
  color: white;
}

.video-placeholder .play-button.main-play {
  width: 80px;
  height: 80px;
  background: var(--primary-color);
}

html.dark-mode .video-placeholder .play-button.main-play {
  background: #10c3bd;
}

.video-placeholder:hover .play-button {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--secondary-color);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

html.dark-mode .video-placeholder:hover .play-button {
  background: rgba(0, 0, 0, 0.9);
}

.video-placeholder:hover .play-button.main-play {
  background: var(--primary-color);
}

html.dark-mode .video-placeholder:hover .play-button.main-play {
  background: #10c3bd;
}

.video-item.small {
  grid-row: 1;
  grid-column: 1;
  min-height: 180px;
}

.video-item.large {
  grid-row: 1 / 3;
  grid-column: 2;
  min-height: 400px;
}

.video-item.wide {
  grid-row: 2;
  grid-column: 1;
  min-height: 180px;
}

/* Video Labels and Badges */
.video-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--secondary-color);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  z-index: 2;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

html.dark-mode .video-label {
  background: rgba(0, 0, 0, 0.7);
  color: white;
}

/* Video Modal Styles */
.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  animation: fadeIn 0.3s ease;
}

/* CTA Video Section */
.cta-video-section {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

html.dark-mode .cta-video-section {
  background: var(--black);
}

.cta-video-wrapper {
  max-width: 1400px;
  margin: 0 auto;
}

.cta-video-wrapper .btn-primary {
  background-color: var(--secondary-color) !important;
}

.cta-video-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 600px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.1);
}

/* Left Side - CTA Panel */
.cta-panel {
  position: relative;
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px;
}

html.dark-mode .cta-panel {
  background: var(--secondary-color);
}

.cta-background {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-decorations {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.decoration-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.circle-1 {
  width: 120px;
  height: 120px;
  top: -60px;
  left: -60px;
  background: rgba(255, 255, 255, 0.15);
}

.circle-2 {
  width: 80px;
  height: 80px;
  top: 20%;
  right: -40px;
  background: rgba(255, 255, 255, 0.1);
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
}

html.dark-mode .cta-content {
  color: white;
}

html.dark-mode .cta-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-video-section .cta-content p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.cta-button {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: var(--white);
  border: none;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
  position: relative;
  overflow: hidden;
}

html.dark-mode .cta-button {
  color: white;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(245, 158, 11, 0.4);
}

/* Right Side - Video Panel */
.video-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-demo-container {
  position: relative;
  width: 100%;
  max-width: 100%;
}

.video-player {
  position: relative;
  cursor: pointer;
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  overflow: hidden;
}

.video-thumbnail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.video-player:hover .video-thumbnail img {
  transform: scale(1.05);
}

.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.video-player:hover .play-overlay {
  background: rgba(0, 0, 0, 0.5);
}

.play-button {
  width: 120px;
  height: 120px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

html.dark-mode .play-button {
  background: white;
  color: #1a1a1a;
}

.pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: pulse-ring 2s infinite;
}

.pulse-ring.delay-1 {
  animation-delay: 0.5s;
}

.pulse-ring.delay-2 {
  animation-delay: 1s;
}

@keyframes pulse-ring {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}

.video-player:hover .play-button {
  transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .cta-video-content {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .cta-panel {
    padding: 3rem 2rem;
  }

  .cta-content h2 {
    font-size: 2rem;
  }

  html.dark-mode .decoration-text {
    font-size: 6rem;
  }
}

@media (max-width: 768px) {
  .cta-content h2 {
    font-size: 1.8rem;
  }

  .cta-content p {
    font-size: 14px;
  }

  .cta-button {
    padding: 0.875rem 1.5rem;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .cta-panel {
    padding: 2rem 1.5rem;
  }

  .cta-content h2 {
    font-size: 1.5rem;
  }

  .play-button {
    width: 80px;
    height: 80px;
  }

  .pulse-ring {
    width: 80px;
    height: 80px;
  }

  html.dark-mode .decoration-text {
    font-size: 4rem;
  }
}

/* Who It's For Section */
.who-its-for-section {
  background: var(--gray);
}

.who-its-for-section .title-box h2 {
  text-align: start;
}

.who-its-for-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 0 auto;
}

.who-its-for-card {
  background: var(--white);
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

html.dark-mode .who-its-for-card {
  background: var(--secondary-color);
  border: var(--border);
  backdrop-filter: var(--blur);
}

.who-its-for-card:hover {
  transform: translateY(-5px);
}

.who-its-for-card h3 {
  color: var(--secondary-color);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

html.dark-mode .who-its-for-card h3 {
  color: var(--white);
}

.who-its-for-card p {
  color: var(--light-text);
  font-size: 16px;
  margin: 0;
}

.who-its-for-section .title-box {
  max-width: 100%;
}

/* Teams/Testimonials Section */

.testimonials-title .title-box h2 {
  color: #333333;
  font-size: 2.5rem;
  font-weight: 700;
  text-align: left;
  margin-bottom: 60px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 0 auto;
}

.testimonial-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

html.dark-mode .testimonial-card {
  background: var(--secondary-color);
  border: var(--border);
  backdrop-filter: var(--blur);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
}

.testimonial-card:nth-child(3n + 1) .testimonial-avatar {
  background: var(--primary-color);
}

.testimonial-card:nth-child(3n + 2) .testimonial-avatar {
  background: var(--orange);
}

.testimonial-card:nth-child(3n + 3) .testimonial-avatar {
  background: #8b5cf6;
}

html.dark-mode .avatar-a {
  background: #10c3bd;
}

html.dark-mode .avatar-b {
  background: #ff8c00;
}

html.dark-mode .avatar-c {
  background: #8b5cf6;
}

.testimonial-content {
  flex: 1;
}

.testimonial-quote {
  color: var(--secondary-color);
  font-size: 18px;
  margin-bottom: 15px;
}

html.dark-mode .testimonial-quote {
  color: var(--white);
}

.testimonial-author {
  color: var(--light-text);
  font-size: 14px;
  font-style: italic;
  margin: 0;
}

/* Responsive Design for Testimonials */
@media (max-width: 768px) {
  .testimonials-title .title-box h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 20px;
  }

  .testimonial-card {
    padding: 25px 20px;
  }

  .testimonial-quote {
    font-size: 1rem;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .who-its-for-section .title-box h2 {
    font-size: 2rem;
    margin-bottom: 40px;
  }

  .who-its-for-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  .who-its-for-card {
    padding: 30px 20px;
  }

  .who-its-for-card h3 {
    font-size: 1.3rem;
  }
}

body.modal-open {
  overflow: hidden !important;
  touch-action: none !important;
}

html.modal-open {
  overflow: hidden !important;
  touch-action: none !important;
}

.video-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 900px;
  max-height: 90%;
  background: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.3s ease;
}

html.dark-mode .modal-content {
  background: white;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.7);
  color: var(--white);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

html.dark-mode .modal-close {
  color: white;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}

.video-container-modal {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  /* 16:9 aspect ratio */
  background: #000;
}

.video-container-modal iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(-50px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .action-title h2 {
    font-size: 2rem;
  }

  .action-title p {
    font-size: 1rem;
  }

  .video-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 200px 250px 200px;
    height: auto;
    gap: 1rem;
  }

  .video-item.small {
    grid-row: 1;
    grid-column: 1;
    min-height: 200px;
  }

  .video-item.large {
    grid-row: 2;
    grid-column: 1;
    min-height: 250px;
  }

  .video-item.wide {
    grid-row: 3;
    grid-column: 1;
    min-height: 200px;
  }

  .video-container {
    padding: 1.5rem;
  }
}

.industry-slide-content {
  padding-bottom: 24px;
  min-height: 160px;
}

.industry-slide h5 {
  padding-bottom: 0.75rem;
  color: var(--secondary-color);
  font-size: 1.6rem;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

html.dark-mode .industry-slide h5 {
  color: var(--white);
}

.industry-slide p {
  color: var(--light-text);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.industry-slide-image {
  position: relative;
}

.industry-image-bg {
  height: 200px;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: unset !important;
  background-color: var(--gray) !important;
}

html.dark-mode .industry-image-bg {
  background-color: var(--secondary-color) !important;
  position: relative;
}

html.dark-mode .industry-image-bg::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--black));
  z-index: 0;
  pointer-events: none;
}

.industry-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(30px);
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.industry-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
}

.industry-logo img {
  height: 3rem;
  object-fit: contain;
  padding: 0.625rem 0;
  max-width: 9.375rem;
  mix-blend-mode: multiply;
}

.industry-logo p {
  font-size: 14px;
  font-weight: 500;
  color: var(--secondary-color);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.industry-description p {
  font-size: 0.82rem;
  color: #6b7280;
  line-height: 1.16;
  text-align: center;
}

.industry-mockup {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 2rem;
  width: 16.25rem;
}

.industry-mockup-container {
  background: var(--white);
  border-radius: 0.375rem;
  overflow: hidden;
  height: 16.25rem;
  border-radius: 0.5rem;
}

html.dark-mode .industry-mockup-container {
  background: var(--secondary-color);
}

.industry-mockup img {
  width: 100%;
  height: 100%;
  padding: 0px 70px;
  background-color: var(--secondary-color);
}

.industry-spacer {
  height: 154px;
}

/* Desktop Styles */
@media (min-width: 768px) {
  .industry-showcase {
    margin-bottom: 0;
  }

  html.dark-mode .industry-showcase::after {
    height: 100px;
  }

  .industry-header-content {
    padding: 0;
  }

  .industry-slide {
    width: 350px;
    min-width: 350px;
    padding-left: 0;
  }

  .industry-image-overlay {
    flex-direction: row;
    padding: 0.75rem;
  }

  .industry-description p {
    text-align: left;
  }

  .industry-mockup {
    top: 5.875rem;
    width: 200px;
  }

  .industry-mockup-container {
    height: 200px;
    border-radius: 1rem;
  }

  html.dark-mode .industry-image-bg::after {
    height: 70px;
  }

  .industry-spacer {
    display: block;
  }
}

/* Mobile Styles */
@media (max-width: 767px) {
  html.dark-mode .industry-showcase::after {
    height: 60px;
  }

  html.dark-mode .industry-image-bg::after {
    height: 50px;
  }

  .industry-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 40px;
  }

  .industry-controls {
    align-self: center;
  }

  .industry-slide {
    width: unset;
    min-width: unset;
  }

  .industry-showcase .title-box {
    text-align: center;
    max-width: 530px;
    margin: auto;
  }

  html.dark-mode .industry-showcase .title-box p {
    max-width: 380px;
    margin: auto;
  }

  .why-us-section-container {
    flex-direction: column;
  }

  .why-us-section-container .why-us-title {
    position: relative;
    min-width: unset;
  }

  .why-us-section {
    padding-top: 0px !important;
  }

  .why-us-grid {
    margin-top: 0px;
  }

  .action-wrapper .hero-buttons {
    margin-top: 40px;
  }
}

/* Card */
.why-us-card {
  background: var(--gray);
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  justify-content: space-between;
  position: relative;
}
.why-us-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

html.dark-mode .why-us-card {
  background: var(--secondary-color);
  border: var(--border);
  backdrop-filter: var(--blur);
}

.why-us-card .title-box {
  margin: 0;
  position: absolute;
  top: 50px;
  z-index: 99;
  padding: 0 24px;
  padding: 0px 12px;
}
.why-us-card .title-box h3, .why-us-card .title-box p {
    color: var(--white) !important;
}
.card-content {
  max-width: 350px;
  margin-bottom: 1rem;
}

.card-subtitle {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.card-text {
  font-size: 1rem;
  color: var(--light-text);
}

/* Card image */
.card-image {
  max-width: 100%;
  height: auto;
}

.card-floating-img {
  position: absolute;
  top: 0;
  left: 20px;
  transform: translateY(-100%);
  height: 48px;
  width: auto;
}

/* features-section-start */
.features-section {
  overflow: hidden;
}

.features-header {
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
}

.features-header .subtitle {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary-color);
}

html.dark-mode .features-header .subtitle {
  color: #10c3bd;
}

.features-header .title {
  font-size: 3rem;
  line-height: 1.2;
  font-weight: 700;
  margin: 1rem 0;
}

.features-header .description {
  font-size: 1.125rem;
  color: var(--light-text);
}

html.dark-mode .features-header .description {
  color: #555;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 4rem;
}

@media (max-width: 1199px) {
  html.dark-mode .hero-grid-background {
    grid-template-columns: repeat(7, minmax(0px, 1fr));
    grid-template-rows: repeat(6, minmax(182px, 1fr));
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
    margin-top: 6rem;
  }
}

.feature-box {
  background: rgba(0, 0, 0, 0.03);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
  gap: 2rem;
}

.feature-box .icon {
  position: absolute;
  top: -40px;
  left: 20px;
  width: 68px;
  height: 75px;
}

.feature-content {
  max-width: 500px;
  order: 2;
}

.feature-content .tag {
  font-size: 0.875rem;
  font-weight: 500;
  color: #0f766e;
  margin-bottom: 0.25rem;
}

.feature-content .feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.feature-content .feature-text {
  font-size: 1rem;
  color: rgba(0, 0, 0, 0.55);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.feature-image {
  order: 1;
}

.feature-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Desktop layout for alternating image positions */
@media (min-width: 1024px) {
  .feature-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    text-align: left;
    gap: 3rem;
    padding: 3rem;
  }

  .feature-box.image-left .feature-image {
    order: 1;
  }

  .feature-box.image-left .feature-content {
    order: 2;
  }

  .feature-box.image-right .feature-image {
    order: 2;
  }

  .feature-box.image-right .feature-content {
    order: 1;
  }
}

@media (max-width: 1440px) {
  .why-us-section-container .why-us-title {
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .tab-interface {
    flex-direction: column;
    gap: 40px;
  }

  .tab-navigation {
    flex: none;
    width: 100%;
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 20px;
    gap: 12px;
  }

  .tab-button.active {
    width: max-content;
  }

  .tab-button:not(.active) .tab-text {
    transform: unset;
    max-width: unset;
    overflow: unset;
    white-space: unset;
    transition: unset;
    visibility: unset;
    opacity: unset;
  }

  .content-panel {
    width: 100%;
    height: 100%;
  }

  .feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }

  .tab-button::before {
    content: unset;
  }

  .tab-button.active,
  .tab-button:hover {
    transform: unset;
  }

  .content-panel {
    min-height: 410px;
  }

  .why-wrapper .trusted-box .trusted-item {
    width: 100%;
  }

  html.dark-mode .hero-grid-background {
    grid-template-columns: repeat(6, minmax(0px, 1fr));
    grid-template-rows: repeat(6, minmax(182px, 1fr));
  }
}

@media (max-width: 768px) {
  .tab-button {
    flex-shrink: 0;
    padding: 16px 20px;
  }

  .content-header {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .content-title {
    font-size: 28px;
  }

  .content-subtitle {
    font-size: 15px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .tab-content,
  .content-panel {
    min-height: unset;
  }

  /* Disable complex animations on mobile for tab content */
  .tab-content {
    position: relative !important;
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
    perspective: none !important;
    transform-style: flat !important;
    animation: none !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform-origin: initial !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    z-index: auto !important;
    display: none !important;
  }

  .tab-content.active {
    transform: none !important;
    opacity: 1 !important;
    display: block !important;
    z-index: 1 !important;
  }

  .tab-content.behind,
  .tab-content.further-behind {
    display: none !important;
    visibility: hidden !important;
  }

  /* Force active tab content to be visible on mobile */
  .peoplo-overview-wrapper .tab-content.active {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* Simplify content panel on mobile */
  .content-panel {
    perspective: none !important;
    transform-style: flat !important;
    overflow: visible !important;
    position: relative !important;
  }

  /* Ensure tab buttons work normally on mobile */
  .tab-button {
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
  }

  /* Ensure tab interface works properly on mobile */
  .tab-interface {
    display: flex !important;
    flex-direction: column !important;
    gap: 30px !important;
  }

  .tab-navigation {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    gap: 12px !important;
    padding-bottom: 20px !important;
  }

  .content-panel {
    position: relative !important;
    overflow: visible !important;
  }

  html.dark-mode .hero {
    padding: 200px 0 200px;
    overflow: hidden;
    position: relative;
  }

  html.dark-mode .hero-grid-background {
    grid-template-columns: repeat(4, minmax(0px, 1fr));
    grid-template-rows: repeat(6, minmax(182px, 1fr));
  }
}

@media (max-width: 575px) {
  #sliderTrack {
    grid-column-gap: 30px;
  }

  .why-wrapper .trusted-box .trusted-item {
    padding: 20px;
  }

  .why-wrapper .trusted-box span {
    font-size: 18px;
  }

  .tab-content {
    padding: 20px;
  }

  .content-header {
    margin-bottom: unset;
  }

  .content-header .header-section h2 {
    font-size: 28px;
  }

  .industry-slide {
    width: 100vw !important;
    min-width: 100vw !important;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .industry-slider-container {
    gap: 0;
  }

  .hero {
    padding: 100px 0 100px;
  }
}

@media (max-width: 480px) {
  .tab-interface {
    gap: 30px;
    margin-top: 50px;
  }

  .tab-button {
    padding: 14px 16px;
  }

  .tab-icon {
    width: 32px;
    height: 32px;
  }

  .content-title {
    font-size: 24px;
  }

  .feature-card {
    padding: 24px 20px;
  }

  .feature-header {
    gap: 12px;
  }

  .feature-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .hero-buttons {
    margin-bottom: unset;
  }

  .trusted-features .features-item {
    max-width: 100%;
  }

  .why-wrapper .trusted-features {
    margin-top: 50px;
    padding: 30px 20px;
  }
}

@media (max-width: 375px) {
  .industry-slide {
    padding-left: unset;
  }

  .industry-slide {
    width: 100%;
  }
}

.slider-wrapper .slider-container {
  position: relative;
}

.slider-wrapper .slider-box-main {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 294px;
  min-width: 294px;
  width: 100%;
}

.slider-wrapper .slider-wrapper-gradient {
  position: absolute;
  bottom: 0%;
  left: 0;
  right: 0;
  z-index: 10;
  background: linear-gradient(
    rgba(255, 255, 255, 0) 0%,
    rgb(255, 255, 255) 82.4%
  );
  height: 100px;
}

/* upcoming-wrapper-start */

.upcoming-wrapper {
  background-color: var(--gray);
  color: var(--light-text);
  position: relative;
}

.upcoming-wrapper .feature {
  background-color: var(--white);
  display: flex;
  align-items: center;
  margin-bottom: 50px;
  border-radius: 1rem;
  overflow: hidden;
}

html.dark-mode .upcoming-wrapper .feature {
  background-color: var(--secondary-color);
  border: var(--border);
}

.upcoming-wrapper .feature:nth-child(even) {
  flex-direction: row-reverse;
}

.upcoming-wrapper .image {
  width: 48%;
}

.upcoming-wrapper .image img {
  max-width: 100%;
  object-fit: cover;
}

.upcoming-wrapper .feature .content {
  padding: 0px 50px 0px 50px;
  width: 52%;
}

.upcoming-wrapper .content h2 {
  margin: 0 0 25px 0;
}

.upcoming-wrapper .content p {
  line-height: 2em;
}

.upcoming-wrapper .content a {
  margin-top: 25px;
  display: inline-block;
}

html.dark-mode .upcoming-wrapper .content button {
  margin-top: 25px;
}

.upcoming-wrapper .feature:last-child {
  margin-bottom: 0px;
}

@media (max-width: 768px) {
  .upcoming-wrapper .feature {
    display: flex;
    flex-direction: column !important;
    gap: 25px;
  }

  .upcoming-wrapper .feature {
    padding-bottom: 50px;
  }

  .upcoming-wrapper .feature .content {
    width: 100%;
  }

  .upcoming-wrapper .image {
    width: 100%;
  }

  .upcoming-wrapper .image img {
    width: 100%;
    object-fit: cover;
  }
}

@media (max-width: 575px) {
  .upcoming-wrapper .feature .content {
    padding: 0px 12px;
  }

  .upcoming-wrapper .feature {
    padding-bottom: 20px;
  }

  .upcoming-wrapper .feature {
    margin-bottom: 25px;
  }
}
