/* ===================================
   GLOBAL STYLES
   =================================== */

* {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  padding: 0;
}

/* ===================================
   SCROLL TO TOP BUTTON
   =================================== */

.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.scroll-to-top:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 64, 175, 0.4);
}

.scroll-to-top:active {
  transform: scale(0.95);
}

.scroll-to-top svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
  
  .scroll-to-top svg {
    width: 20px;
    height: 20px;
  }
}

/* ===================================
   PREMIUM ANIMATIONS
   =================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hover-lift {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-12px);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.fade-in-left {
  animation: fadeInLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.fade-in-right {
  animation: fadeInRight 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.scale-in {
  animation: scaleIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ===================================
   CARDS & BUTTONS
   =================================== */

.premium-btn {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.premium-btn:hover {
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.3);
  transform: translateY(-2px);
}

.premium-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.5s ease;
}

.premium-btn:hover::before {
  left: 100%;
}

.outline-btn {
  border: 2px solid #2563eb;
  color: #2563eb;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.outline-btn:hover {
  background: #eff6ff;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.1);
}

.image-card {
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.15);
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===================================
   FEATURE CARDS
   =================================== */

.feature-card {
  background: white;
  border-radius: 1.25rem;
  padding: 2rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid #f0f0f0;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
  border-color: #e0e7ff;
}

/* ===================================
   PRICING CARDS
   =================================== */

.pricing-card {
  background: white;
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  border: 2px solid #e5e7eb;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.popular {
  border-color: #3b82f6;
  transform: scale(1.05);
  box-shadow: 0 20px 50px rgba(59, 130, 246, 0.2);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
  border-color: #3b82f6;
}

.pricing-card.popular:hover {
  transform: scale(1.08) translateY(-4px);
}

.popular-badge {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  padding: 0.65rem 1.25rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  margin: -3.7rem -2rem 1.5rem -2rem;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.pricing-plan-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.pricing-plan-desc {
  font-size: 0.95rem;
  color: #6b7280;
  margin-bottom: 1.5rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  margin-bottom: 0.5rem;
}

.pricing-price .dollar {
  font-size: 2rem;
  font-weight: 700;
  color: #111827;
}

.pricing-price .amount {
  font-size: 3.25rem;
  font-weight: 800;
  color: #111827;
  line-height: 1;
}

.pricing-price .period {
  font-size: 1rem;
  color: #6b7280;
  margin-left: 0.25rem;
}

.pricing-onetime {
  font-size: 0.875rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.5rem;
}

.pricing-included {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.pricing-features {
  list-style: none;
  margin: 0 0 2rem 0;
  padding: 0;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.875rem;
  font-size: 0.9rem;
}

.pricing-features li .check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #3b82f6;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem;
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: bold;
}

.pricing-features li .cross-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e5e7eb;
  color: #9ca3af;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem;
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: bold;
}

.pricing-features li.included {
  color: #374151;
}

.pricing-features li.excluded {
  color: #9ca3af;
}

.pricing-btn {
  width: 100%;
  padding: 0.875rem 1.5rem;
  border-radius: 3rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 2px solid #3b82f6;
  cursor: pointer;
}

.pricing-btn.btn-outline {
  background: white;
  color: #3b82f6;
}

.pricing-btn.btn-outline:hover {
  background: #eff6ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.pricing-btn.btn-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.pricing-btn.btn-primary:hover {
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.5);
  transform: translateY(-2px);
}

/* ===================================
   TESTIMONIAL CARDS
   =================================== */

.testimonial-card {
  background: white;
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.1);
}

/* ===================================
   ACCORDION
   =================================== */

.accordion-btn {
  width: 100%;
  padding: 1.25rem;
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  text-align: left;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-btn:hover {
  border-color: #2563eb;
  background: #f0f9ff;
}

.accordion-btn.open {
  border-color: #2563eb;
  background: #eff6ff;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  background: #f0f9ff;
  border-radius: 0 0 0.75rem 0.75rem;
}

.accordion-content.open {
  max-height: 400px;
  padding: 1.25rem;
}

.accordion-icon {
  transition: transform 0.3s ease;
  font-size: 1.25rem;
}

.accordion-btn.open .accordion-icon {
  transform: rotate(180deg);
}

/* ===================================
   VIDEO MODAL
   =================================== */

.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  animation: fadeInUp 0.3s ease;
}

.video-modal.open {
  display: flex;
}

.video-container {
  width: 100%;
  max-width: 900px;
  background: white;
  /* border-radius: 1.5rem; */
  overflow: hidden;
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.4);
  animation: scaleIn 0.3s ease;
}

/* ===================================
   NAVIGATION
   =================================== */

nav {
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

nav .nav-bg-pattern {
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
}

nav.sticky-active {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(20px);
}

nav.sticky-active .nav-bg-pattern {
  opacity: 0;
  pointer-events: none;
}

nav.sticky-active .nav-container {
  background: white;
  border-radius: 2rem;
  padding: 0.5rem 2rem;
  margin: 0.5rem auto;
  max-width: 1280px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-container {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================================
   MOBILE SIDEBAR MENU
   =================================== */

.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 280px;
  height: 100vh;
  background: white;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem 1.5rem;
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
  transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-menu.open {
  left: 0;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  /* z-index: 99; */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e5e7eb;
  margin-bottom: 1rem;
}

.mobile-menu a {
  padding: 0rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}

.mobile-menu a:hover {
  background: #eff6ff;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 0.375rem;
  cursor: pointer;
  width: 1.5rem;
  z-index: 101;
}

.hamburger span {
  width: 100%;
  height: 0.25rem;
  background: #1f2937;
  border-radius: 0.125rem;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(0.5rem, 0.5rem);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(0.5rem, -0.5rem);
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .desktop-menu {
    display: none;
  }
}

/* ===================================
   SECTION BACKGROUNDS
   =================================== */

.section-light {
  background: linear-gradient(135deg, #f0f9ff 0%, #f9fafb 100%);
}

.section-white {
  background: white;
}

.gradient-section {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
}

/* ===================================
   STATS COUNTER
   =================================== */

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2563eb;
}

/* ===================================
   HIDDEN FOR ANIMATION TRIGGER
   =================================== */

.scroll-hidden {
  opacity: 0;
}

.scroll-visible {
  opacity: 1;
}

/* ===================================
   LOGO STYLES
   =================================== */

.logo-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-blob {
  position: relative;
  width: 45px;
  height: 45px;
}

.blob-gradient {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50% 40% 60% 50%;
  background: linear-gradient(135deg, #e0c3fc 0%, #f3e7e9 50%, #e9f3d5 100%);
  animation: blob-morph 8s ease-in-out infinite;
}

.blob-gradient-2 {
  position: absolute;
  width: 85%;
  height: 85%;
  top: 7.5%;
  left: 7.5%;
  border-radius: 60% 50% 50% 60%;
  background: linear-gradient(225deg, #d4b5f7 0%, #f0dce6 50%, #f3eacb 100%);
  animation: blob-morph 8s ease-in-out infinite reverse;
  opacity: 0.8;
}

@keyframes blob-morph {
  0%,
  100% {
    border-radius: 50% 40% 60% 50%;
    transform: rotate(0deg);
  }
  25% {
    border-radius: 40% 60% 50% 60%;
    transform: rotate(90deg);
  }
  50% {
    border-radius: 60% 50% 40% 50%;
    transform: rotate(180deg);
  }
  75% {
    border-radius: 50% 60% 60% 40%;
    transform: rotate(270deg);
  }
}

.logo-text-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 16px;
  font-weight: 800;
  color: #1f2937;
  z-index: 2;
}

.sparkle {
  position: absolute;
  color: #1f2937;
  font-size: 12px;
  animation: sparkle-twinkle 2s ease-in-out infinite;
}

.sparkle-1 {
  top: -2px;
  right: -2px;
  animation-delay: 0s;
}

.sparkle-2 {
  bottom: 2px;
  left: -2px;
  animation-delay: 1s;
}

@keyframes sparkle-twinkle {
  0%,
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.8) rotate(180deg);
  }
}

.logo-brand-text {
  font-size: 1.125rem;
  font-weight: 700;
  background: linear-gradient(135deg, #1f2937 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
