/* Main Styles */
:root {
  --primary-color: #4361ee;
  --secondary-color: #3f37c9;
  --accent-color: #4895ef;
  --light-color: #f8f9fa;
  --dark-color: #212529;
  --success-color: #4caf50;
  --warning-color: #ff9800;
  --danger-color: #f44336;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Text Gradient */
.text-gradient {
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

/* Background Gradient */
.bg-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

/* Hero Section */
.hero-section {
  padding: 100px 0 120px;
  background-color: #fff;
  position: relative;
}

/* .hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-color: rgba(67, 97, 238, 0.05);
  border-radius: 0 0 0 100px;
  z-index: 0;
} */

.min-vh-75 {
  min-height: 75vh;
}

.hero-image-container {
  position: relative;
  padding: 20px;
}

.floating-card {
  position: absolute;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 15px;
  z-index: 2;
  animation: float 3s ease-in-out infinite;
}

.card-1 {
  top: 10%;
  left: -10%;
  animation-delay: 0s;
}

.card-2 {
  bottom: 15%;
  right: -5%;
  animation-delay: 1.5s;
}

.mini-card {
  display: flex;
  align-items: center;
}

.mini-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
}

.mini-card-text {
  font-size: 14px;
  font-weight: 500;
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Feature Icons */
.feature-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

/* Step Circles */
.step-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  margin: 0 auto;
  position: relative;
}

.how-it-works-item {
  position: relative;
  z-index: 1;
}

.how-it-works-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 30px;
  right: -50%;
  width: 100%;
  height: 2px;
  background-color: rgba(67, 97, 238, 0.2);
  z-index: -1;
}

@media (max-width: 768px) {
  .how-it-works-item:not(:last-child)::after {
    display: none;
  }
}

/* Showcase Section */
.showcase-image {
  position: relative;
}

.phone-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
  border-radius: 12px;
  pointer-events: none;
}

.icon-box {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Testimonials */
.testimonial-card {
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* Pricing Cards */
.pricing-card {
  border-radius: 12px;
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.pricing-card:hover {
  transform: translateY(-5px);
}

.pricing-card.popular {
  transform: scale(1.05);
  z-index: 1;
}

.pricing-card.popular:hover {
  transform: scale(1.05) translateY(-5px);
}

.popular-badge {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--primary-color);
  color: white;
  padding: 5px 15px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 0 12px 0 12px;
}

.pricing-value {
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  margin: 15px 0 5px;
}

.currency {
  font-size: 24px;
  vertical-align: super;
}

/* Contact Icons */
.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(67, 97, 238, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon i {
  font-size: 18px;
}

/* Brand Logos */
.brand-logo {
  padding: 15px;
  transition: transform 0.3s ease;
}

.brand-logo:hover {
  transform: translateY(-5px);
}

/* Accordion */
.accordion-item {
  border-radius: 8px !important;
  overflow: hidden;
}

.accordion-button {
  font-weight: 600;
  padding: 1.25rem;
}

.accordion-button:not(.collapsed) {
  color: var(--primary-color);
  background-color: rgba(67, 97, 238, 0.05);
}

.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(67, 97, 238, 0.1);
}

.accordion-button::after {
  background-size: 1rem;
}

/* Dashboard Styles */
.sidebar {
  min-height: 100vh;
  background-color: #343a40;
}

.sidebar .nav-link {
  color: rgba(255, 255, 255, 0.8);
  padding: 0.75rem 1rem;
  border-radius: 0.25rem;
  margin-bottom: 0.25rem;
}

.sidebar .nav-link:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
}

.sidebar .nav-link.active {
  color: #fff;
  background-color: var(--primary-color);
}

.sidebar .nav-link i {
  margin-right: 0.5rem;
}

/* Responsive Sidebar */
@media (max-width: 767.98px) {
  .sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    padding: 0;
    width: 100%;
    max-width: 280px;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
  }

  .sidebar.show {
    transform: translateX(0);
  }

  .sidebar-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
  }

  .sidebar-backdrop.show {
    display: block;
  }

  .navbar-toggler-sidebar {
    display: block;
    margin-right: 1rem;
  }
}

/* Card Preview */
.card-preview {
  width: 100%;  
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-preview-header {
  padding: 30px 20px;
  background-color: var(--primary-color);
  color: white;
  text-align: center;
}

.card-preview-body {
  padding: 20px;
  background-color: white;
}

.profile-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid white;
  margin: 0 auto;
  display: block;
  margin-top: -60px;
  position: relative;
  z-index: 2;
  background-color: #f8f9fa;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.contact-item i {
  width: 30px;
  color: var(--primary-color);
}

/* Login/Register Forms */
.auth-form {
  max-width: 400px;
  margin: 0 auto;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  background-color: white;
}

.auth-logo {
  text-align: center;
  margin-bottom: 30px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-section {
    padding: 50px 0;
  }

  .step-circle {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  /* Add padding to main content when sidebar is fixed */
  .main-content {
    padding-top: 60px;
  }

  /* Mobile navbar for dashboard */
  .dashboard-navbar {
    background-color: var(--primary-color);
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
  }

  .dashboard-navbar .navbar-brand {
    color: white;
    font-weight: bold;
  }

  .dashboard-navbar .navbar-toggler {
    border: none;
    color: white;
    padding: 0.25rem 0.5rem;
    font-size: 1.25rem;
  }

  .pricing-card.popular {
    transform: scale(1);
  }

  .pricing-card.popular:hover {
    transform: translateY(-5px);
  }
}

/* Button Styles */
.btn {
  border-radius: 6px;
  padding: 0.5rem 1.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
}

.btn-lg {
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
}

/* Form Controls */
.form-control:focus {
  border-color: rgba(67, 97, 238, 0.5);
  box-shadow: 0 0 0 0.25rem rgba(67, 97, 238, 0.25);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeIn {
  animation: fadeIn 0.5s ease forwards;
}
