:root {
  --primary-gradient: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
  --secondary-gradient: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
  --accent-gradient: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
  --dark-bg: #0a0a0a;
  --darker-bg: #050505;
  --card-bg: rgba(20, 20, 20, 0.8);
  --text-gradient: linear-gradient(135deg, #4e73df 0%, #ff6b35 100%);
  --transition-speed: 0.3s;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--dark-bg);
  color: #fff;
  overflow-x: hidden;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all var(--transition-speed);
}

.navbar {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  transition: all var(--transition-speed);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
  background: rgba(5, 5, 5, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar-brand img {
  transition: transform var(--transition-speed);
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

.nav-link {
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: all var(--transition-speed);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #fff !important;
  transform: translateY(-2px);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: 2px;
}

.btn-outline-light {
  border-width: 2px;
  font-weight: 500;
  padding: 0.5rem 1.5rem;
  transition: all var(--transition-speed);
}

.btn-outline-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.navbar .btn-gradient {
  padding: 0.5rem 1.5rem;
}

@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(44, 62, 80, 0.98);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
  }

  .nav-item {
    margin: 0.5rem 0;
  }

  .btn-outline-light,
  .btn-gradient {
    width: 100%;
    margin: 0.5rem 0;
  }
}

/* Hero Section */
.hero-section {
  min-height: 5vh;
  background: var(--darker-bg);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at center,
    rgba(78, 115, 223, 0.1) 0%,
    transparent 70%
  );
  animation: pulse 4s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 0;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: var(--text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInUp 1s ease-out;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  text-decoration: none;
}

.hero-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--text-gradient);
  transform: scaleX(0);
  transform-origin: left;
  animation: lineReveal 1s ease-out 0.5s forwards;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.3s forwards;
}

.hero-cta {
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.6s forwards;
}

.btn-gradient {
  background: var(--accent-gradient);
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  border: none;
  font-weight: 600;
  transition: all var(--transition-speed);
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-gradient::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: 0.5s;
}

.btn-gradient:hover::before {
  left: 100%;
}

.btn-gradient:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
  color: white;
}

/* Features Section */
.features-section {
  padding: 100px 0;
  background: var(--dark-bg);
  position: relative;
}

.feature-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  transition: all var(--transition-speed);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 107, 53, 0.3);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: var(--accent-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}

.feature-icon::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: rotate(45deg);
  animation: shine 3s infinite;
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  background: var(--text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Stats Section */
.stats-section {
  padding: 80px 0;
  background: var(--darker-bg);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at center,
    rgba(255, 107, 53, 0.1) 0%,
    transparent 70%
  );
  animation: pulse 4s ease-in-out infinite;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  position: relative;
  z-index: 1;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: var(--text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Process Section */
.process-section {
  padding: 100px 0;
  background: var(--dark-bg);
  position: relative;
}

.process-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at center,
    rgba(78, 115, 223, 0.1) 0%,
    transparent 70%
  );
  animation: pulse 4s ease-in-out infinite;
}

.process-step {
  position: relative;
  padding: 2rem;
  text-align: center;
  background: var(--card-bg);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all var(--transition-speed);
}

.process-step:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 107, 53, 0.3);
}

.process-step::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -50%;
  width: 100%;
  height: 2px;
  background: var(--accent-gradient);
  z-index: 1;
}

.process-step:last-child::after {
  display: none;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--accent-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-weight: 600;
  font-size: 1.5rem;
  position: relative;
  overflow: hidden;
}

.step-number::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: rotate(45deg);
  animation: shine 3s infinite;
}

.process-step h3 {
  color: #fff;
  font-weight: 600;
  margin-bottom: 1rem;
  background: var(--text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.process-step p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .process-step::after {
    display: none;
  }
}

/* Testimonials Section */
.testimonials-section {
  padding: 100px 0;
  background: var(--dark-bg);
  position: relative;
}

.testimonials-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at center,
    rgba(255, 107, 53, 0.1) 0%,
    transparent 70%
  );
  animation: pulse 4s ease-in-out infinite;
}

.testimonial-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 2rem;
  margin: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all var(--transition-speed);
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 107, 53, 0.3);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  padding-left: 1.5rem;
}

.testimonial-text::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 2rem;
  color: var(--accent-gradient);
  opacity: 0.5;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 1rem;
  border: 2px solid var(--accent-gradient);
  padding: 2px;
}

.author-info h5 {
  margin: 0;
  font-weight: 600;
  color: #fff;
  background: var(--text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.author-info p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

/* CTA Section */
.cta-section {
  padding: 100px 0;
  background: var(--darker-bg);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 20%,
      rgba(78, 115, 223, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(255, 107, 53, 0.1) 0%,
      transparent 50%
    );
  animation: pulse 4s ease-in-out infinite;
}

.cta-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: var(--text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.cta-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background: var(--text-gradient);
  border-radius: 2px;
}

.cta-text {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Contact Section */
.contact-section {
  padding: 100px 0;
  background: var(--dark-bg);
  position: relative;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at center,
    rgba(78, 115, 223, 0.1) 0%,
    transparent 70%
  );
  animation: pulse 4s ease-in-out infinite;
}

.contact-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.contact-info h3 {
  color: #fff;
  font-weight: 600;
  margin-bottom: 2rem;
  background: var(--text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
}

.contact-list li i {
  width: 40px;
  height: 40px;
  background: var(--accent-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  color: white;
}

.form-control {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 0.8rem 1rem;
  border-radius: 10px;
}

.form-control:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--accent-gradient);
  color: #fff;
  box-shadow: none;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* Footer Styles */
.footer {
  background: var(--darker-bg);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 30px;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
}

.footer h5 {
  color: #fff;
  font-weight: 600;
  margin-bottom: 1.5rem;
  background: var(--text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all var(--transition-speed);
  display: inline-block;
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(5px);
}

.newsletter-form .form-control {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 50px 0 0 50px;
  padding: 0.8rem 1.5rem;
}

.newsletter-form .btn {
  border-radius: 0 50px 50px 0;
  padding: 0.8rem 1.5rem;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 40px 0 30px;
}

.copyright {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: all var(--transition-speed);
}

.footer-bottom-links a:hover {
  color: #fff;
}

@media (max-width: 768px) {
  .footer-bottom-links {
    justify-content: center;
    margin-top: 1rem;
  }

  .copyright {
    text-align: center;
  }
}

/* Scroll to top button */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--accent-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-speed);
  z-index: 1000;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

/* Animations */
@keyframes pulse {
  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }
}

@keyframes shine {
  0% {
    transform: translateX(-100%) rotate(45deg);
  }

  100% {
    transform: translateX(100%) rotate(45deg);
  }
}

@keyframes lineReveal {
  to {
    transform: scaleX(1);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.floating {
  animation: float 6s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .process-step::after {
    display: none;
  }

  .stat-number {
    font-size: 2.5rem;
  }
}

/* Guardian Styles */
.guardian {
  position: absolute;
  top: 50%;
  right: 10%;
  transform: translateY(-50%);
  z-index: 1;
  width: 200px;
  height: 200px;
}

.guardian-body {
  position: relative;
  width: 100%;
  height: 100%;
  animation: float 6s ease-in-out infinite;
}

.guardian-head {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
  background: var(--primary-gradient);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(78, 115, 223, 0.5);
  transition: all 0.5s ease;
}

.guardian-eye {
  position: absolute;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  top: 30px;
  transition: all 0.3s ease;
}

.guardian-eye.left {
  left: 20px;
}

.guardian-eye.right {
  right: 20px;
}

.guardian-wings {
  position: absolute;
  top: 40px;
  width: 100%;
  height: 120px;
}

.wing {
  position: absolute;
  width: 80px;
  height: 120px;
  background: var(--primary-gradient);
  border-radius: 40px;
  transition: all 0.5s ease;
}

.wing.left {
  left: 0;
  transform-origin: right center;
  animation: flapLeft 3s ease-in-out infinite;
}

.wing.right {
  right: 0;
  transform-origin: left center;
  animation: flapRight 3s ease-in-out infinite;
}

@keyframes flapLeft {
  0%,
  100% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(-20deg);
  }
}

@keyframes flapRight {
  0%,
  100% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(20deg);
  }
}

@media (max-width: 1200px) {
  .guardian {
    right: 5%;
    width: 150px;
    height: 150px;
  }

  .guardian-head {
    width: 60px;
    height: 60px;
  }

  .guardian-eye {
    width: 15px;
    height: 15px;
    top: 22px;
  }

  .guardian-eye.left {
    left: 15px;
  }

  .guardian-eye.right {
    right: 15px;
  }

  .wing {
    width: 60px;
    height: 90px;
  }
}

@media (max-width: 768px) {
  .guardian {
    display: none;
  }
}

.display-4 {
  background: var(--text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  position: relative;
  margin-bottom: 1rem;
}

.display-4::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background: var(--text-gradient);
  border-radius: 2px;
}

.lead.text-muted {
  color: rgba(255, 255, 255, 0.7) !important;
}

.partners-section {
  background: var(--darker-bg);
  position: relative;
  overflow: hidden;
}

.partners-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 20%,
      rgba(78, 115, 223, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(255, 107, 53, 0.1) 0%,
      transparent 50%
    );
  animation: pulse 4s ease-in-out infinite;
}

.partner-logo {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  transition: all var(--transition-speed);
  border: 1px solid rgba(255, 255, 255, 0.1);
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  border-color: var(--accent-gradient);
}

.partner-logo img {
  max-height: 80px;
  filter: grayscale(100%) brightness(200%);
  transition: all var(--transition-speed);
}

.partner-logo:hover img {
  filter: grayscale(0%) brightness(100%);
}

@media (max-width: 768px) {
  .partner-logo {
    height: 120px;
    padding: 1.5rem;
  }

  .partner-logo img {
    max-height: 60px;
  }
}

.faq-section {
  padding: 100px 0;
  background: var(--darker-bg);
  position: relative;
  overflow: hidden;
}

.faq-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at center,
    rgba(78, 115, 223, 0.1) 0%,
    transparent 70%
  );
  animation: pulse 4s ease-in-out infinite;
}

.accordion-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-button {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-weight: 600;
  padding: 1.5rem;
  border: none;
  text-align: left;
  position: relative;
}

.accordion-button:not(.collapsed) {
  background: var(--accent-gradient);
  color: #fff;
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
  background: rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.8);
  padding: 1.5rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .faq-section {
    padding: 60px 0;
  }

  .accordion-button {
    padding: 1rem;
    font-size: 0.9rem;
  }

  .accordion-body {
    padding: 1rem;
    font-size: 0.9rem;
  }
}
