:root {
  --primary-dark: #0b1120;
  --accent: #5d7aff;
  --accent-hover: #4a67e0;
  --glass-bg: rgba(11, 17, 32, 0.7);
  --text-light: #f0f4ff;
  --card-bg: #ffffff;
  --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

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

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  background-color: #f8faff;
  color: #1a202c;
  scroll-behavior: smooth;
  padding-top: 70px;
}


.text-accent {
  color: var(--accent);
}

.bg-accent {
  background-color: var(--accent);
  color: #fff;
}

.btn-accent {
  background-color: var(--accent);
  color: #fff;
  border: none;
  transition: all 0.25s ease;
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 20px 30px -10px rgba(93, 122, 255, 0.4);
}

.bg-accent-gradient {
  background: linear-gradient(135deg, #1a2a6c, #5d7aff);
}


.glass-nav {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.glass-nav .navbar-brand {
  color: #fff;
  font-size: 1.5rem;
}

.glass-nav .navbar-brand span {
  color: var(--accent);
}

.glass-nav .nav-link {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  margin: 0 8px;
  transition: 0.2s;
}

.glass-nav .nav-link:hover {
  color: #fff;
  text-shadow: 0 0 12px rgba(93, 122, 255, 0.5);
}

.navbar-toggler {
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 12px;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


.hero-section {
  min-height: 90vh;
  padding: 5rem 0;
  background: linear-gradient(145deg, #0b1120 0%, #1a2639 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero-section::after {
  content: '';
  position: absolute;
  right: -10%;
  top: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(93, 122, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-text .badge {
  background: var(--accent);
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.hero-img {
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.6s ease;
}

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


.feature-card,
.testimonial-card {
  background: var(--card-bg);
  border-radius: 24px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.feature-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 35px 60px -15px rgba(93, 122, 255, 0.25);
}

.testimonial-card {
  background: #fff;
  transition: 0.3s;
}

.testimonial-card:hover {
  transform: scale(1.01);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.icon-box {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(93, 122, 255, 0.1);
  border-radius: 20px;
  font-size: 2.2rem;
  color: var(--accent);
}

.section-padding {
  padding: 5rem 0;
}


.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 54px;
  height: 54px;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  border: none;
  box-shadow: 0 8px 20px rgba(93, 122, 255, 0.4);
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top:hover {
  background: var(--accent-hover);
  transform: translateY(-5px);
  color: #fff;
}

.back-to-top.show {
  display: flex;
}


[data-animate] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.9, 0.3, 1), transform 0.7s cubic-bezier(0.2, 0.9, 0.3, 1);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="fade-left"] {
  transform: translateX(-40px);
}

[data-animate="fade-left"].is-visible {
  transform: translateX(0);
}

[data-animate="fade-right"] {
  transform: translateX(40px);
}

[data-animate="fade-right"].is-visible {
  transform: translateX(0);
}

[data-animate="fade-up"] {
  transform: translateY(40px);
}

[data-animate="fade-up"].is-visible {
  transform: translateY(0);
}


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

  .hero-section h1 {
    font-size: 2.4rem;
  }

  .section-padding {
    padding: 3rem 0;
  }

  .back-to-top {
    width: 44px;
    height: 44px;
    bottom: 1.2rem;
    right: 1.2rem;
  }
}

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

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