:root {
  --primary: #6c5ce7;
  --primary-dark: #5a4bd1;
  --primary-light: #a29bfe;
  --secondary: #2d3436;
  --light-bg: #f8f9fa;
  --gradient-start: #6c5ce7;
  --gradient-end: #00b894;
  --shadow-sm: 0 4px 20px rgba(108, 92, 231, 0.15);
  --shadow-lg: 0 15px 50px rgba(108, 92, 231, 0.2);
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --border-radius: 20px;
}


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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--secondary);
  overflow-x: hidden;
  padding-top: 76px;
  background: #ffffff;
}


.text-gradient {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
}


.header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(108, 92, 231, 0.08);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

.navbar-brand {
  font-size: 1.5rem;
  letter-spacing: -0.5px;
}

.navbar-brand i {
  font-size: 2rem;
}

.nav-link {
  font-weight: 500;
  color: var(--secondary) !important;
  position: relative;
  padding: 0.5rem 0 !important;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--primary) !important;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  border: none;
  padding: 0.6rem 2rem;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(108, 92, 231, 0.4);
}

.btn-outline-primary {
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 600;
  transition: var(--transition);
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}


.hero {
  min-height: 90vh;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(108, 92, 231, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-img {
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
}

.hero-img:hover {
  transform: scale(1.02) rotate(-2deg);
}


.section {
  padding: 5rem 0;
}

.section.bg-light {
  background: var(--light-bg);
}


.card {
  border-radius: var(--border-radius);
  transition: var(--transition);
  background: white;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.icon-box {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(108, 92, 231, 0.08);
  border-radius: 16px;
  transition: var(--transition);
}

.card:hover .icon-box {
  background: var(--primary);
}

.card:hover .icon-box i {
  color: white !important;
}


.badge {
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.bg-primary-subtle {
  background: rgba(108, 92, 231, 0.1);
}

.text-primary {
  color: var(--primary) !important;
}


.cta {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-top: 1px solid rgba(108, 92, 231, 0.08);
  border-bottom: 1px solid rgba(108, 92, 231, 0.08);
  padding: 5rem 0;
}


#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  border: none;
  color: white;
  font-size: 1.5rem;
  border-radius: 50%;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(108, 92, 231, 0.4);

  display: flex;
  justify-content: center;
  align-items: center;
}

#backToTop.visible {
  opacity: 1;
  visibility: visible;
}

#backToTop:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 30px rgba(108, 92, 231, 0.5);
}


.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}


.animate-on-scroll:nth-child(1) {
  transition-delay: 0.1s;
}

.animate-on-scroll:nth-child(2) {
  transition-delay: 0.2s;
}

.animate-on-scroll:nth-child(3) {
  transition-delay: 0.3s;
}

.animate-on-scroll:nth-child(4) {
  transition-delay: 0.4s;
}

.animate-on-scroll:nth-child(5) {
  transition-delay: 0.5s;
}


@media (max-width: 992px) {
  .hero {
    min-height: auto;
    padding: 3rem 0;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .section {
    padding: 3rem 0;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 60px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero .lead {
    font-size: 1rem;
  }

  .navbar-brand {
    font-size: 1.2rem;
  }

  .navbar-brand i {
    font-size: 1.5rem;
  }

  .btn-lg {
    font-size: 0.95rem;
    padding: 0.6rem 1.5rem;
  }

  #backToTop {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
    bottom: 20px;
    right: 20px;
  }

  .card {
    padding: 1.5rem !important;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 1.75rem;
  }

  .display-5 {
    font-size: 1.75rem !important;
  }

  .section {
    padding: 2rem 0;
  }

  .cta {
    padding: 3rem 0;
  }

  .gap-3 {
    gap: 0.75rem !important;
  }
}


footer a:hover {
  color: white !important;
  transition: var(--transition);
}

footer hr {
  opacity: 0.1;
}


::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}