:root {
  --primary: #0562eb;
  --secondary: #1d4ed8;
  --dark-bg: #fff;
  --card-bg: #ffffff;
  --text-main: #111827;
  --text-muted: #6b7280;
}

html,
body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE/Edge */
}

/* Hide scrollbar for Chrome, Safari and Opera */
::-webkit-scrollbar {
  display: none;
}

body {
  font-family: "Outfit", "Cairo", sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-main);
}

/* Abstract Background Gradients */
.bg-glow {
  position: absolute;
  width: 100%;
  max-width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(5, 98, 235, 0.1) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  top: -100px;
  left: -10%;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

.bg-glow-2 {
  position: absolute;
  width: 100%;
  max-width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(29, 78, 216, 0.08) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  bottom: 0;
  right: -10%;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

/* Navbar */

.navbar-brand {
  font-weight: 800;
  font-size: 28px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  padding-top: 100px;
  background-image:
  radial-gradient(circle at 50% 34%, rgba(49, 110, 255, 0.22) 0%, rgba(49, 110, 255, 0) 48%), 
  linear-gradient(0.06deg, #111111 0.05%, rgba(6, 33, 135, 0.92) 89.14%)
, 
  url('../images/landing-page/hero-background-image.webp');
  background-size: auto, cover, cover;
  background-position: center, center, center 35%;
  background-repeat: no-repeat;
  background-blend-mode: screen, normal, soft-light;
  display: flex;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.2rem, 4.8vw, 4rem);
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.35;
  color: #ffffff;
  text-shadow: 0 8px 24px rgba(3, 8, 30, 0.45);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  max-width: 600px;
  line-height: 1.75;
  text-shadow: 0 4px 18px rgba(2, 6, 20, 0.35);
}

.hero-carousel-text {
  max-width: 100%;
}

.hero-carousel-inner {
  min-height: 120px;
}

.hero-main-image {
  max-height: 450px;
  object-fit: contain;
}

.custom-indicators {
  position: static;
  margin: 0;
}

.hero-carousel-controls {
  flex-wrap: wrap;
}

.hero-nav-btn {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.hero-nav-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.55);
}

.custom-indicators [data-bs-slide-to] {
  width: 6px;
  height: 6px;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.3);
  opacity: 1;
  transition: all 0.3s ease;
}

.custom-indicators .active {
  width: 24px;
  background-color: #ffffff;
}

/* Buttons */
.btn-gradient {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
  color: #fff;
  padding: 14px 32px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px -10px var(--primary);
}

.btn-gradient:hover {
  /* transform: translateY(-3px); */
  box-shadow: 0 15px 25px -10px var(--secondary);
  color: #fff;
}

.btn-outline-glass {
  background: rgba(5, 98, 235, 0.05);
  border: 1px solid rgba(5, 98, 235, 0.2);
  color: var(--primary);
  padding: 14px 32px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.btn-outline-glass:hover {
  background: rgba(5, 98, 235, 0.1);
  color: var(--primary);
  /* transform: translateY(-3px); */
  border-color: rgba(5, 98, 235, 0.5);
}

.btn-outline-hero {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  padding: 14px 32px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.btn-outline-hero:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
}

/* Features Section */
.features-section {
  position: relative;
}

.feature-card {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  /* changed for light theme */
  border-radius: 24px;
  padding: 40px;
  height: 100%;
  transition:
    transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  /* Added slight shadow */
}

.dir-rtl {
  direction: rtl;
}

.dir-ltr {
  direction: ltr;
}

.feature-card:hover {
  /* transform: translateY(-10px); */
  box-shadow: 0 20px 40px rgba(5, 98, 235, 0.15);
  /* light theme hover */
  border-color: rgba(5, 98, 235, 0.3);
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin-bottom: 24px;
  background: rgba(5, 98, 235, 0.1);
  color: var(--primary);
}

.feature-card:nth-child(2) .feature-icon-wrapper {
  background: rgba(37, 211, 102, 0.1);
  color: #25d366;
  /* WhatsApp Green */
}

.feature-card:nth-child(2):hover::before {
  background: linear-gradient(to right, #25d366, #128c7e);
}

.feature-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}

.feature-desc {
  color: var(--text-muted);
  line-height: 1.7;
}

/* Floating App Mockups */
.mockup-container {
  position: relative;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 60px;
}

.mockup {
  width: 250px;
  height: 500px;
  background: #fff;
  /* updated to white body */
  border: 8px solid #f3f4f6;
  /* updated to light border */
  border-radius: 40px;
  position: absolute;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  /* lighter shadow */
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s;
}

.mockup-1 {
  transform: perspective(1000px) rotateY(15deg) translateZ(0px)
    translateX(-100px);
  z-index: 10;
  animation: float 6s ease-in-out infinite;
}

.mockup-2 {
  transform: perspective(1000px) rotateY(-15deg) translateZ(0px)
    translateX(100px);
  z-index: 5;
  border-color: #e5e7eb;
  animation: float 6s ease-in-out infinite 1s;
}

.mockup-screen {
  flex: 1;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 20px;
  position: relative;
}

.mockup-2 .mockup-screen {
  background: #f0f2f5;
  /* WA light */
}

.chat-bubble {
  background: #fff;
  padding: 10px 15px;
  border-radius: 12px;
  border-top-left-radius: 0;
  color: #111827;
  font-size: 12px;
  margin-bottom: 10px;
  max-width: 80%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  /* add small shadow for light theme */
}

.chat-bubble-user {
  background: #d9fdd3;
  /* user whatsapp chat bubble color light theme */
  margin-left: auto;
  border-radius: 12px;
  border-top-right-radius: 0;
  border-top-left-radius: 12px;
}

@keyframes float {
  0% {
    transform: perspective(1000px) rotateY(15deg) translateY(0px)
      translateX(-100px);
  }

  50% {
    transform: perspective(1000px) rotateY(15deg) translateY(-20px)
      translateX(-100px);
  }

  100% {
    transform: perspective(1000px) rotateY(15deg) translateY(0px)
      translateX(-100px);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-section {
    padding: 120px 0 60px;
  }

  .hero-carousel-inner {
    min-height: 170px;
  }

  .hero-main-image {
    max-height: 320px;
  }

  .mockup-container {
    display: none;
  }
}

@media (min-width: 769px) and (max-width: 991px) {
  .hero-carousel-inner {
    min-height: 150px;
  }
}

@media (max-width: 576px) {
  .hero-carousel-inner {
    min-height: 190px;
  }

  .hero-nav-btn {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
}

/* Pricing Area fixes for Light Theme */
.pricing-card {
  border: 1px solid #d9d9d9 !important;
  /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04); */
  background: white !important;
  backdrop-filter: none !important;
  /* border-radius: 32px !important; */
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.pricing-card:hover {
  /* transform: translateY(-12px); */
  /* box-shadow: 0 25px 50px rgba(5, 98, 235, 0.12) !important; */
  border-color: rgba(5, 98, 235, 0.2) !important;
}

.plan-header {
  padding: 30px 30px 10px;
  position: relative;
}

.plan-image-wrapper {
  max-height: 370px;
  margin: 0 auto 20px;
  border-radius: 24px;
  background: linear-gradient(
    135deg,
    rgba(5, 98, 235, 0.05),
    rgba(29, 78, 216, 0.05)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(5, 98, 235, 0.1);
}

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

.plan-image-wrapper i {
  font-size: 32px;
  color: var(--primary);
}

.plan-price-tag {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 5px;
}

.plan-price-tag span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.plan-details-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.plan-details-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}

.plan-details-content ul {
  list-style: none;
  padding: 0 !important;
  margin: 0;
}

.plan-details-content ul li {
  position: relative;
  margin-bottom: 12px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}

/* Default LTR / dir-ltr */
.dir-ltr .plan-details-content ul {
  text-align: left;
}

.dir-ltr .plan-details-content ul li {
  padding-left: 28px;
  padding-right: 0;
}

.dir-ltr .plan-details-content ul li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--primary);
}

/* RTL / dir-rtl */
.dir-rtl .plan-details-content ul {
  text-align: right;
}

.dir-rtl .plan-details-content ul li {
  padding-right: 28px;
  padding-left: 0;
}

.dir-rtl .plan-details-content ul li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 0;
  color: var(--primary);
}

.plan-details-content > li::marker {
  content: "✓";
  color: var(--primary);
}

.plans-container {
  background: linear-gradient(to bottom, #f5f9fc 20%, #fff 20%);
}
