:root {
  --primary: #0D6EFD;
  --primary-dark: #0a58ca;
  --primary-light: rgba(13, 110, 253, 0.1);
  --dark: #0A0A0F;
  --gray-900: #1A1A24;
  --gray-700: #3A3A4A;
  --gray-500: #6C6C80;
  --gray-300: #B8B8C8;
  --gray-100: #F0F0F5;
  --white: #FFFFFF;
  --shadow-sm: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 40px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
  --radius: 20px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Playfair Display', serif;
}


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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  color: var(--dark);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 80px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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


.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, #7C3AED 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

.display-2 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.display-4 {
  font-weight: 700;
  letter-spacing: -0.015em;
}

.display-5 {
  font-weight: 700;
  letter-spacing: -0.01em;
}

.lead {
  font-weight: 400;
  color: var(--gray-500);
  font-size: 1.2rem;
}


.glass-nav {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
}

.glass-nav .navbar-brand {
  color: var(--dark);
  letter-spacing: -0.02em;
}

.glass-nav .navbar-brand i {
  color: var(--primary);
}

.glass-nav .nav-link {
  color: var(--gray-700);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  transition: var(--transition);
  font-size: 0.95rem;
}

.glass-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
  border-radius: 2px;
}

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

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

.glass-nav .nav-link.active {
  color: var(--primary);
}

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

.navbar-toggler {
  padding: 0.5rem 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--gray-300);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.25);
}


.hero-section {
  min-height: 90vh;
  padding: 4rem 0;
  position: relative;
  background: radial-gradient(ellipse at 20% 50%, rgba(13, 110, 253, 0.05) 0%, transparent 60%);
}

.hero-img {
  transform: perspective(1200px) rotateY(-8deg) rotateX(4deg);
  transition: var(--transition);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
  border-radius: var(--radius);
}

.hero-img:hover {
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg) scale(1.01);
}

.badge.bg-primary.bg-opacity-10 {
  background: rgba(13, 110, 253, 0.1) !important;
  color: var(--primary) !important;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}


.premium-card {
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.04) !important;
  position: relative;
}

.premium-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(13, 110, 253, 0.12) !important;
}

.premium-card .card-img-top {
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.premium-card .card-body {
  padding: 1.5rem !important;
}

.premium-card .card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.premium-card .card-text {
  font-size: 0.95rem;
  color: var(--gray-500);
  margin-bottom: 1rem;
}

.premium-card .badge {
  font-size: 0.7rem;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.premium-card .badge.bg-primary-subtle {
  background: rgba(13, 110, 253, 0.1) !important;
  color: var(--primary) !important;
}

.premium-card .badge.bg-secondary-subtle {
  background: rgba(108, 117, 125, 0.1) !important;
  color: var(--gray-500) !important;
}

.premium-card .badge.bg-warning-subtle {
  background: rgba(255, 193, 7, 0.12) !important;
  color: #b8860b !important;
}


.bg-light {
  background: var(--gray-100) !important;
}

.feature-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.04);
  cursor: default;
}

.feature-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(13, 110, 253, 0.08);
}

.feature-item i {
  font-size: 2rem;
  color: var(--primary);
  min-width: 48px;
}


#testimonials .card {
  border-radius: var(--radius);
  transition: var(--transition);
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.04) !important;
}

#testimonials .card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

#testimonials .card img {
  width: 48px;
  height: 48px;
  object-fit: cover;
}


.bg-primary.bg-opacity-10 {
  background: rgba(13, 110, 253, 0.06) !important;
}


#backToTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 52px;
  height: 52px;
  padding: 0;
  display: none;
  align-items: center;
  justify-content: center;
  border: none;
  background: var(--primary);
  color: var(--white);
  border-radius: 50% !important;
  box-shadow: 0 8px 30px rgba(13, 110, 253, 0.35);
  transition: var(--transition);
  z-index: 1050;
  font-size: 1.5rem;
  line-height: 1;
}

#backToTop:hover {
  transform: translateY(-4px) scale(1.04);
  background: var(--primary-dark);
  box-shadow: 0 12px 40px rgba(13, 110, 253, 0.45);
}

#backToTop.show {
  display: flex;
}


.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}


.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}


@media (max-width: 992px) {
  body {
    padding-top: 70px;
  }

  .hero-section {
    min-height: auto;
    padding: 2rem 0 3rem;
  }

  .display-2 {
    font-size: 2.8rem;
  }

  .display-4 {
    font-size: 2.2rem;
  }

  .display-5 {
    font-size: 1.8rem;
  }

  .hero-img {
    transform: none;
    max-height: 380px;
    object-fit: cover;
  }

  .hero-img:hover {
    transform: none;
  }

  .glass-nav .nav-link {
    padding: 0.6rem 0;
  }

  .glass-nav .nav-link::after {
    display: none;
  }

  .premium-card .card-img-top {
    height: 180px;
  }
}

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

  .display-4 {
    font-size: 1.8rem;
  }

  .lead {
    font-size: 1rem;
  }

  .hero-section {
    text-align: center;
  }

  .hero-section .d-flex {
    justify-content: center;
  }

  .premium-card .card-img-top {
    height: 160px;
  }

  .feature-item {
    padding: 1rem;
  }

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

@media (max-width: 576px) {
  body {
    padding-top: 64px;
  }

  .display-2 {
    font-size: 1.8rem;
  }

  .display-4 {
    font-size: 1.5rem;
  }

  .display-5 {
    font-size: 1.4rem;
  }

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

  .premium-card .card-body {
    padding: 1.2rem !important;
  }

  .premium-card .card-img-top {
    height: 140px;
  }

  #testimonials .card {
    padding: 1.2rem !important;
  }
}