/* ====== GENERAL STYLES ====== */
:root {
  --primary-color: #a259ff;
  --secondary-color: #c084fc;
  --dark-bg: #0d0d16;
  --dark-accent: #141420;
  --card-bg: rgba(30, 30, 46, 0.6);
  --text-color: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --border-radius: 12px;
  --transition: all 0.3s ease;
  --box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
  --glass-effect: rgba(255, 255, 255, 0.05);
  --glass-border: 1px solid rgba(255, 255, 255, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-color);
  overflow-x: hidden;
  background-image: radial-gradient(
      circle at 10% 20%,
      rgba(162, 89, 255, 0.1) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(192, 132, 252, 0.1) 0%,
      transparent 40%
    );
  background-attachment: fixed;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.btn {
  border-radius: 8px;
  font-weight: 600;
  transition: var(--transition);
  padding: 10px 20px;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  box-shadow: 0 4px 20px rgba(162, 89, 255, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 6px 25px rgba(162, 89, 255, 0.5);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: var(--text-color);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline-light:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: var(--primary-color);
  color: #000;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: center;
  background: linear-gradient(to right, #ffffff, var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 0 10px rgba(162, 89, 255, 0.4),
    0 0 20px rgba(162, 89, 255, 0.2), 0 0 30px rgba(162, 89, 255, 0.1);
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 3px;
}

/* ====== HEADER ====== */
.header {
  padding: 15px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(13, 13, 22, 0.8);
  border-bottom: var(--glass-border);
}

.navbar {
  padding: 0;
}

.navbar-brand {
  padding: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-weight: 700;
  font-size: 22px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-toggler {
  border: none;
  color: var(--text-color);
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  padding: 10px 15px;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--text-color);
}

.navbar-nav .nav-link.active {
  color: #a259ff !important;
  font-weight: 600;
}

.btn-login {
  background: transparent;
  color: var(--text-color);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-login:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

.btn-demo {
  font-weight: 600;
}

/* ====== HERO SECTION ====== */
.hero,
.services-hero,
.contact-hero,
.about-hero {
  padding: 150px 0 100px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-title,
.services-hero-title,
.contact-hero-title,
.about-hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #ffffff, var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3),
    0 0 20px rgba(255, 255, 255, 0.2), 0 0 30px rgba(162, 89, 255, 0.4),
    0 0 40px rgba(162, 89, 255, 0.3);
}

.hero-subtitle,
.services-hero-subtitle,
.contact-hero-subtitle,
.about-hero-subtitle {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.hero-text,
.services-hero-description,
.contact-hero-description,
.about-hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-image-container {
  position: relative;
  z-index: 1;
}

.image-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: radial-gradient(
    circle at center,
    rgba(108, 99, 255, 0.3) 0%,
    transparent 70%
  );
  filter: blur(25px);
  z-index: -1;
  opacity: 0.8;
}

.hero-cta {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.hero-cta .btn {
  padding: 12px 24px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.hero-cta .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 991px) {
  .hero,
  .services-hero,
  .contact-hero,
  .about-hero {
    padding: 120px 0 80px;
    min-height: 80vh;
  }

  .hero-title,
  .services-hero-title,
  .contact-hero-title,
  .about-hero-title {
    font-size: 3rem;
  }

  .hero-subtitle,
  .services-hero-subtitle,
  .contact-hero-subtitle,
  .about-hero-subtitle {
    font-size: 1.8rem;
  }
}

@media (max-width: 767px) {
  .hero-title,
  .services-hero-title,
  .contact-hero-title,
  .about-hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle,
  .services-hero-subtitle,
  .contact-hero-subtitle,
  .about-hero-subtitle {
    font-size: 1.5rem;
  }
}

.hero-badge-wrapper {
  margin-bottom: 1.5rem;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50px;
  padding: 8px 16px;
  font-size: 14px;
  border: var(--glass-border);
}

.hero-badge span {
  color: var(--primary-color);
  margin-right: 5px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3rem;
}

.dashboard-showcase {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  z-index: 2;
}

.dashboard-mockup {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  filter: drop-shadow(0 0 30px rgba(162, 89, 255, 0.3));
}

.dashboard-mockup img {
  border-radius: 12px;
  transition: var(--transition);
  width: 100%;
}

.dashboard-mockup::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    45deg,
    rgba(162, 89, 255, 0.2),
    rgba(192, 132, 252, 0.1)
  );
  z-index: 1;
  pointer-events: none;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  z-index: 3;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(162, 89, 255, 0.5);
  transition: var(--transition);
}

.play-button:hover {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 8px 25px rgba(162, 89, 255, 0.7);
}

.hero-shapes .shape {
  position: absolute;
  z-index: 1;
  opacity: 0.3;
}

.hero-shapes .shape-1 {
  bottom: -150px;
  left: -150px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  filter: blur(80px);
}

.hero-shapes .shape-2 {
  top: -100px;
  right: -100px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--primary-color);
  filter: blur(60px);
}

.hero-shapes .shape-3 {
  top: 40%;
  left: 60%;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--secondary-color);
  filter: blur(40px);
}

/* ====== TRUSTED BY SECTION ====== */
.trusted-by {
  padding: 80px 0;
}

.logos-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.logo-item {
  flex: 0 0 calc(16.66% - 20px);
  min-width: 120px;
  text-align: center;
  opacity: 0.6;
  transition: var(--transition);
}

.logo-item:hover {
  opacity: 0.9;
}

/* ====== FEATURES SECTION ====== */
.features {
  padding: 100px 0;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(13, 13, 22, 0.9),
    transparent
  );
}

.feature-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  text-align: center;
  backdrop-filter: blur(10px);
  border: var(--glass-border);
  transition: var(--transition);
  height: 100%;
  box-shadow: var(--box-shadow);
  overflow: hidden;
  position: relative;
}

.feature-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(162, 89, 255, 0.1), transparent);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

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

.feature-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(162, 89, 255, 0.15),
    rgba(192, 132, 252, 0.15)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 1.8rem;
  color: var(--primary-color);
  position: relative;
}

.feature-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: white;
}

.feature-text {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ====== VALUE SECTION ====== */
.value-section {
  padding: 100px 0;
  position: relative;
}

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

.value-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 30px;
  text-align: center;
  backdrop-filter: blur(10px);
  border: var(--glass-border);
  transition: var(--transition);
  box-shadow: var(--box-shadow);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(162, 89, 255, 0.1), transparent);
  opacity: 0;
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-5px);
}

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

.value-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(162, 89, 255, 0.15),
    rgba(192, 132, 252, 0.15)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  color: var(--primary-color);
  position: relative;
}

.value-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.value-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
}

/* ====== TESTIMONIALS SECTION ====== */
.testimonials {
  padding: 100px 0;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(13, 13, 22, 0.9),
    transparent
  );
}

.testimonial-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.testimonial-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 40px;
  backdrop-filter: blur(10px);
  border: var(--glass-border);
  transition: var(--transition);
  box-shadow: var(--box-shadow);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    var(--primary-color),
    var(--secondary-color)
  );
}

.testimonial-content p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 15px;
  font-style: italic;
  color: var(--text-color);
}

.testimonial-author {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-color);
}

.testimonial-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ====== CTA SECTION ====== */
.cta-section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.cta-container {
  background: rgba(30, 30, 46, 0.6);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: var(--glass-border);
  padding: 60px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  max-width: 900px;
  margin: 0 auto;
}

.cta-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(162, 89, 255, 0.1), transparent);
  z-index: 0;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 40px;
  background: linear-gradient(to right, #ffffff, var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3),
    0 0 20px rgba(255, 255, 255, 0.2), 0 0 30px rgba(162, 89, 255, 0.4),
    0 0 40px rgba(162, 89, 255, 0.3);
}

.cta-shapes .cta-shape {
  position: absolute;
  z-index: 1;
  opacity: 0.3;
}

.cta-shapes .shape-1 {
  bottom: -100px;
  right: -100px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  filter: blur(60px);
}

.cta-shapes .shape-2 {
  top: -50px;
  left: -50px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--primary-color);
  filter: blur(40px);
}

/* ====== FOOTER ====== */
.footer {
  background: rgba(13, 13, 22, 0.95);
  padding: 80px 0 20px;
  position: relative;
  border-top: var(--glass-border);
}

.footer-brand {
  margin-bottom: 30px;
}

.footer-brand .logo-img {
  height: 50px;
  width: auto;
}

.footer-desc {
  color: var(--text-secondary);
  margin: 20px 0;
  line-height: 1.6;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-color);
  transition: var(--transition);
  border: var(--glass-border);
}

.social-icon:hover {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  transform: translateY(-3px);
}

.footer-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: white;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-secondary);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-color);
}

.footer-text {
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.newsletter-form .input-group {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  overflow: hidden;
  border: var(--glass-border);
}

.newsletter-form .form-control {
  background: transparent;
  border: none;
  color: var(--text-color);
  padding: 12px 15px;
}

.newsletter-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form .btn {
  border-radius: 0;
  padding: 12px 20px;
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.copyright {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.bottom-links {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
}

.bottom-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: var(--transition);
}

.bottom-links a:hover {
  color: var(--primary-color);
}

/* ====== RESPONSIVE STYLES ====== */
@media (max-width: 991px) {
  .hero {
    padding: 130px 0 80px;
  }

  .hero-title {
    font-size: 3.2rem;
  }

  .cta-title {
    font-size: 2.5rem;
  }

  .footer-brand,
  .footer-links,
  .newsletter-form {
    margin-bottom: 40px;
  }
}

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

  .feature-card,
  .value-card,
  .testimonial-card {
    margin-bottom: 20px;
  }

  .section-title {
    font-size: 2rem;
  }

  .cta-title {
    font-size: 2rem;
  }

  .bottom-links {
    justify-content: center;
    margin-top: 20px;
  }

  .copyright {
    text-align: center;
  }
}

/* ====== ANIMATIONS ====== */
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(162, 89, 255, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(162, 89, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(162, 89, 255, 0);
  }
}

@keyframes glow {
  0% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.2);
  }
  100% {
    filter: brightness(1);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    transform: translateX(-50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Apply animations to elements */

.hero-title {
  animation: fadeInUp 0.8s ease forwards;
}

.hero-text {
  /* No animation for hero text */
}

.hero-buttons {
  animation: fadeInUp 0.8s ease 0.4s forwards;
  opacity: 0;
}

.dashboard-mockup {
  animation: scaleIn 1s ease 0.6s forwards;
  opacity: 0;
}

.hero-badge-wrapper {
  animation: fadeIn 0.8s ease 0.3s forwards;
  opacity: 0;
}

.feature-card {
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}

.feature-card:nth-child(1) {
  animation-delay: 0.1s;
}

.value-card {
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}

.value-card:nth-child(1) {
  animation-delay: 0.1s;
}

.value-card:nth-child(2) {
  animation-delay: 0.2s;
}

.value-card:nth-child(3) {
  animation-delay: 0.3s;
}

.value-card:nth-child(4) {
  animation-delay: 0.4s;
}

.feature-icon {
  animation: pulse 2s infinite;
}

.value-icon {
  animation: pulse 2s infinite;
}

.hero-shapes .shape {
  animation: float 6s ease-in-out infinite;
}

.dashboard-mockup img {
  transition: transform 0.5s ease;
}

.dashboard-mockup:hover img {
  transform: scale(1.02);
}

.section-title {
  animation: fadeInUp 0.8s ease forwards;
}

.testimonial-card {
  animation: fadeIn 1s ease forwards;
  opacity: 0;
}

.testimonial-card:nth-child(1) {
  animation-delay: 0.1s;
}

.testimonial-card:nth-child(2) {
  animation-delay: 0.3s;
}

.cta-container {
  animation: scaleIn 0.8s ease forwards;
}

.social-icon {
  transition: transform 0.3s ease, background 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-3px) scale(1.1);
}

/* Animate navigation items */
.navbar-nav .nav-item {
  opacity: 0;
  animation: slideInRight 0.5s ease forwards;
}

.navbar-nav .nav-item:nth-child(1) {
  animation-delay: 0.1s;
}

.navbar-nav .nav-item:nth-child(2) {
  animation-delay: 0.2s;
}

.navbar-nav .nav-item:nth-child(3) {
  animation-delay: 0.3s;
}

.navbar-nav .nav-item:nth-child(4) {
  animation-delay: 0.4s;
}

.navbar-nav .nav-item:nth-child(5) {
  animation-delay: 0.5s;
}

.navbar-brand {
  animation: slideInLeft 0.5s ease forwards;
}

/* Add scroll reveal animations */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
  }

  .reveal.active {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ====== ADVANCED FEATURES SECTION ====== */
.advanced-features {
  padding: 120px 0;
  background: linear-gradient(
    180deg,
    var(--dark-bg),
    rgba(13, 13, 22, 0.95),
    var(--dark-bg)
  );
  position: relative;
  overflow: hidden;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 50px;
  text-align: center;
}

.advanced-features::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: radial-gradient(
      circle at 20% 30%,
      rgba(162, 89, 255, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(162, 89, 255, 0.15) 0%,
      transparent 50%
    );
  z-index: 0;
}

.advanced-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 1;
}

.advanced-feature-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  backdrop-filter: blur(10px);
  border: var(--glass-border);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  height: 100%;
  transform: translateY(30px);
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.advanced-feature-card:nth-child(1) {
  animation-delay: 0.1s;
}

.advanced-feature-card:nth-child(2) {
  animation-delay: 0.3s;
}

.advanced-feature-card:nth-child(3) {
  animation-delay: 0.5s;
}

.advanced-feature-card:nth-child(4) {
  animation-delay: 0.7s;
}

.advanced-feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent);
  z-index: -1;
}

.advanced-feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.advanced-feature-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  font-size: 2rem;
  position: relative;
  background: rgba(255, 255, 255, 0.05);
}

.advanced-feature-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: rotate 8s linear infinite;
}

.purple-glow {
  color: #a259ff;
  box-shadow: 0 0 20px rgba(162, 89, 255, 0.3);
}

.blue-glow {
  color: #5b8def;
  box-shadow: 0 0 20px rgba(91, 141, 239, 0.3);
}

.red-glow {
  color: #ff5a5f;
  box-shadow: 0 0 20px rgba(255, 90, 95, 0.3);
}

.teal-glow {
  color: #20c997;
  box-shadow: 0 0 20px rgba(32, 201, 151, 0.3);
}

.green-glow {
  color: #36e4da;
  box-shadow: 0 0 20px rgba(54, 228, 218, 0.3);
}

.orange-glow {
  color: #ff8a65;
  box-shadow: 0 0 20px rgba(255, 138, 101, 0.3);
}

.advanced-feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-color);
}

.advanced-feature-text {
  color: var(--text-secondary);
  line-height: 1.6;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* ====== PRICING SECTION ====== */
.pricing-section {
  padding: 120px 0;
  position: relative;
  background: linear-gradient(
    180deg,
    rgba(13, 13, 22, 0.95),
    var(--dark-bg),
    rgba(13, 13, 22, 0.95)
  );
  overflow: hidden;
}

.pricing-section::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: radial-gradient(
      circle at 10% 90%,
      rgba(162, 89, 255, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 90% 10%,
      rgba(162, 89, 255, 0.15) 0%,
      transparent 50%
    );
  z-index: 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 60px;
  position: relative;
  z-index: 1;
}

.pricing-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: var(--glass-border);
  transition: all 0.4s ease;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transform: translateY(30px);
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.pricing-card.basic {
  animation-delay: 0.1s;
  background: linear-gradient(
    135deg,
    rgba(30, 30, 46, 0.8),
    rgba(20, 20, 30, 0.9)
  );
}

.pricing-card.business {
  animation-delay: 0.3s;
  background: linear-gradient(
    135deg,
    rgba(162, 89, 255, 0.2),
    rgba(30, 30, 46, 0.8)
  );
  border: 1px solid rgba(162, 89, 255, 0.3);
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(162, 89, 255, 0.3);
  z-index: 2;
}

.pricing-card.enterprise {
  animation-delay: 0.5s;
  background: linear-gradient(
    135deg,
    rgba(30, 30, 46, 0.8),
    rgba(20, 20, 30, 0.9)
  );
}

.pricing-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.pricing-card.business:hover {
  transform: translateY(-10px) scale(1.08);
  box-shadow: 0 20px 40px rgba(162, 89, 255, 0.4);
}

.pricing-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(162, 89, 255, 0.4);
}

.pricing-header {
  padding: 30px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-tier {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: white;
}

.pricing-amount {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: 15px;
}

.pricing-currency {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 5px;
}

.pricing-price {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(to right, #ffffff, var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-period {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-top: 10px;
  margin-left: 5px;
}

.pricing-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.pricing-features {
  padding: 30px;
}

.pricing-features-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-color);
}

.pricing-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-features-list li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  color: var(--text-secondary);
}

.pricing-features-list li i {
  margin-right: 10px;
  color: var(--primary-color);
  font-size: 1rem;
}

.pricing-action {
  padding: 0 30px 30px;
}

.btn-block {
  display: block;
  width: 100%;
}

@media (max-width: 992px) {
  .pricing-card.business {
    transform: scale(1);
  }

  .pricing-card.business:hover {
    transform: translateY(-10px) scale(1.03);
  }

  .pricing-grid {
    gap: 20px;
  }
}

/* Add typing text animation */
@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blink-caret {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: var(--primary-color);
  }
}

.typing-animation {
  overflow: hidden;
  white-space: nowrap;
  animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
  display: inline-block;
  border-right: 3px solid var(--primary-color);
}
