:root {
  --accent: #bf2dd4;
  /* purple */
  --primary: #2dd4bf;
  /* teal */
  --primary-light: #9ef6e8;
  --dark-900: #020617;
  --glass: rgba(255, 255, 255, 0.04);
}

/* ===== Base helpers ===== */
.bg-accent {
  background: var(--accent);
}

.text-accent {
  color: var(--accent);
}

.bg-primary {
  background: var(--primary);
}

.text-primary {
  color: var(--primary);
}

/* ===== Header + blobs ===== */
#site-header {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 60;
  width: 100%;
}

#site-header .inner {
  backdrop-filter: blur(6px);
}

.logo-badge {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.header-blob {
  position: absolute;
  border-radius: 999px;
  filter: blur(36px);
  opacity: 0.26;
  transform: translateZ(0);
}

.blob-a {
  width: 220px;
  height: 220px;
  left: -40px;
  top: -36px;
  background: linear-gradient(135deg, var(--accent), rgba(45, 212, 191, 0.22));
  animation: blobA 9s ease-in-out infinite;
}

.blob-b {
  width: 320px;
  height: 320px;
  right: -56px;
  top: -40px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  animation: blobB 12s ease-in-out infinite;
}

@keyframes blobA {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-14px) scale(1.05);
  }
}

@keyframes blobB {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-22px) scale(1.06);
  }
}

/* ===== Navigation underline ===== */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  height: 3px;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  transition: width 0.32s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.nav-link:hover::after {
  width: 100%;
}

/* ===== Glass + hero text ===== */
.glass {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.01)
  );
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 8px 40px rgba(2, 6, 23, 0.6);
  backdrop-filter: blur(8px);
}

.hero-reveal {
  opacity: 0;
  transform: translateY(18px) scale(0.99);
}

.hero-reveal.show {
  opacity: 1;
  transform: none;
  transition: all 820ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.accent-underline {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  width: 100px;
  transform-origin: left center;
  animation: grow 0.9s ease-out both;
}

@keyframes grow {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

/* ===== Responsive hero ===== */
@media (max-width: 768px) {
  .hero-slide {
    min-height: 62vh;
    padding-top: 64px;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .hero-sub {
    font-size: 0.86rem;
  }

  .header-cta .btn {
    padding: 0.66rem 1rem;
  }
}

/* ===== Swiper + drawer ===== */
.swiper-button-prev,
.swiper-button-next {
  color: #fff;
  opacity: 0.9;
}

.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.4);
}

.swiper-pagination-bullet-active {
  background: var(--accent);
  transform: scale(1.05);
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: linear-gradient(
    180deg,
    rgba(2, 6, 23, 0.88),
    rgba(2, 6, 23, 0.96)
  );
  backdrop-filter: blur(6px);
  transform: translateX(100%);
  transition: transform 0.36s ease;
}

.mobile-drawer.show {
  transform: translateX(0);
}

/* ===== Cinematic animations ===== */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-25px);
  }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-float-slow {
  animation: float 10s ease-in-out infinite;
}

@keyframes slide {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.animate-slide {
  display: flex;
  width: max-content;
  animation: slide 25s linear infinite;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeIn {
  animation: fadeIn 1s ease forwards;
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeInDown {
  animation: fadeInDown 1s ease forwards;
}

@keyframes slideUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-slideUp {
  animation: slideUp 0.8s ease forwards;
}

.glow-text {
  text-shadow: 0 0 8px rgba(191, 45, 212, 0.7), 0 0 16px rgba(45, 212, 191, 0.7);
}

/* ===== Testimonials cinematic ===== */
.testimonial-card {
  position: relative;
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  backdrop-filter: blur(12px);
  transition: all 0.7s ease;
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.02),
    0 0 25px rgba(0, 0, 0, 0.4);
}

.testimonial-card:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 0 35px var(--primary);
}

.testimonial-card:hover::before {
  left: 125%;
  transition: all 0.8s ease;
}

/* ======================
   FLOATING TAGS SECTION
====================== */
.floating-tags {
  position: relative;
  overflow: hidden;
  background: var(--dark-900);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 0;
}

.floating-tags__wrap {
  display: flex;
  white-space: nowrap;
}

.floating-tags__list {
  display: flex;
  gap: 80px;
  animation: floatAcross 40s linear infinite;
}

.floating-tags--reverse .floating-tags__list {
  animation-direction: reverse;
}

.floating-tags__list li span {
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-light);
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
  transition: all 0.3s ease;
  text-shadow: 0 0 10px var(--accent), 0 0 20px var(--primary);
}

.floating-tags__list li span:hover {
  color: var(--accent);
  text-shadow: 0 0 15px var(--accent), 0 0 30px var(--primary);
  transform: scale(1.1);
}

@keyframes floatAcross {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* ======================
   CINEMATIC VIDEO SECTION
====================== */
.video-bg {
  position: relative;
  height: 80vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-bg__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5) saturate(1.4);
  transition: all 1s ease;
}

.video-bg__video:hover {
  filter: brightness(0.7) saturate(1.6);
  transform: scale(1.02);
}

.video-bg__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.7), rgba(2, 6, 23, 0.9));
  backdrop-filter: blur(4px);
  z-index: 1;
}

.video-bg__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--primary-light);
  animation: fadeIn 1.5s ease-in forwards;
}

.video-bg__content h2 {
  font-size: 3rem;
  font-weight: 800;
  text-transform: uppercase;
  text-shadow: 0 0 15px rgba(191, 45, 212, 0.6),
    0 0 30px rgba(45, 212, 191, 0.6);
}

.video-bg__content p {
  font-size: 1.2rem;
  margin-top: 15px;
  color: #e6f8f6;
  letter-spacing: 1px;
}

/* Floating glow blobs for extra cinematic feel */
.video-bg::before,
.video-bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  filter: blur(100px);
  animation: floatBlob 12s ease-in-out infinite alternate;
}

.video-bg::before {
  width: 300px;
  height: 300px;
  background: var(--accent);
  top: 10%;
  left: 20%;
}

.video-bg::after {
  width: 400px;
  height: 400px;
  background: var(--primary);
  bottom: 10%;
  right: 15%;
}

@keyframes floatBlob {
  0% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-20px) scale(1.05);
  }

  100% {
    transform: translateY(0) scale(1);
  }
}

/* Fade in for text */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =============================
   NEWS & BLOGS SECTION
============================= */
.news-section {
  background: linear-gradient(to bottom, var(--dark-900), #050b1a);
  padding: 6rem 1rem;
  position: relative;
  overflow: hidden;
}

.news-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-light);
  text-shadow: 0 0 15px rgba(45, 212, 191, 0.5);
  letter-spacing: 1px;
}

.section-subtitle {
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.5rem;
  font-size: 1.1rem;
}

/* =============================
   GRID & CARD DESIGN
============================= */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.news-card {
  background: var(--glass);
  border-radius: 1.5rem;
  overflow: hidden;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
  transition: transform 0.5s ease, box-shadow 0.5s ease, background 0.5s ease;
  cursor: pointer;
}

.news-card:hover {
  transform: translateY(-10px) scale(1.03) rotateX(2deg) rotateY(-2deg);
  box-shadow: 0 0 35px rgba(45, 212, 191, 0.4), 0 0 60px rgba(191, 45, 212, 0.2);
  background: rgba(255, 255, 255, 0.07);
}

/* Image */
.news-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.1);
}

/* Content */
.news-content {
  padding: 1.5rem;
}

.news-date {
  font-size: 0.9rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.news-title {
  font-size: 1.4rem;
  color: #fff;
  margin: 0.5rem 0 0.8rem;
  font-weight: 700;
}

.news-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.6;
}

.news-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.5px;
  position: relative;
  transition: color 0.3s ease;
}

.news-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.news-link:hover {
  color: var(--primary-light);
}

.news-link:hover::after {
  width: 100%;
}
