/*
AuthX Modern Theme - Clean, Responsive, Consistent
*/
:root {
  --primary: #4361ee;
  --primary-dark: #3a56d4;
  --dark: #181a20;
  --light: #f8f9fa;
  --gray: #6c757d;
  --radius: 1rem;
  --shadow: 0 4px 24px rgba(67,97,238,0.08), 0 1.5px 6px rgba(24,26,32,0.06);
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: #23272f;
  background: var(--light);
}

/* Navbar */
.navbar {
  box-shadow: var(--shadow);
  background: var(--dark) !important;
}
.navbar-brand h3 {
  font-weight: 800;
  letter-spacing: 1px;
}
.nav-link {
  color: #fff !important;
  font-weight: 500;
  margin-left: 1rem;
  transition: color 0.2s;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary) !important;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  margin-top: -72px;
  padding: calc(96px + 72px) 0 32px 0; /* Increased top padding */
  min-height: 60vh;
  display: flex;
  align-items: center;
}
.hero-section .container {
  align-items: center;
}
.hero-section h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}
.hero-section p.lead {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}
.hero-section .btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-section img {
  max-width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Buttons */
.btn-main, .btn-outline-main {
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 2rem;
  padding: 0.7rem 2.2rem;
  box-shadow: 0 2px 8px rgba(67,97,238,0.10);
  transition: all 0.2s;
}
.btn-main {
  background: #fff;
  color: var(--primary);
  border: 2px solid #fff;
}
.btn-main:hover, .btn-main:focus {
  background: var(--primary);
  color: #fff;
  border-color: #fff;
}
.btn-outline-main {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline-main:hover, .btn-outline-main:focus {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Section Titles */
.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.section-desc {
  color: var(--gray);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

/* Cards */
.card {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 8px 32px rgba(67,97,238,0.13);
}
.card .icon {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

/* Features */
#features .card {
  text-align: center;
  padding: 2rem 1.2rem;
  background: #fff;
}

/* Solutions */
#solutions {
  background: var(--light);
  padding: 64px 0;
}
#solutions .icon {
  color: var(--primary-dark);
  margin-right: 1rem;
}

/* Pricing */
#pricing {
  background: #fff;
  padding: 64px 0;
}
.pricing-card {
  border: 1.5px solid #e3e6ee;
  background: #fafdff;
  text-align: center;
  padding: 2rem 1.2rem 1.5rem 1.2rem;
  margin-bottom: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(67,97,238,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
  color: #23272f;
}
.pricing-card .card-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.pricing-card .price {
  font-size: 2.2rem;
  font-weight: 800;
  margin: 1rem 0 0.7rem 0;
}
.pricing-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1.2rem;
}
.pricing-card li {
  margin-bottom: 0.5rem;
  color: var(--gray);
  font-size: 1.05rem;
}
.pricing-card .btn {
  margin-top: 0.7rem;
}
.pricing-card.featured {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border: none;
  box-shadow: 0 8px 32px rgba(67,97,238,0.18);
  transform: scale(1.04);
  z-index: 1;
  position: relative;
}
.pricing-card.featured .btn {
  background: #fff;
  color: var(--primary);
  border: 2px solid #fff;
}
.pricing-card.featured li {
  color: #fff;
}

/* Testimonials */
.testimonial-section {
  background: var(--dark);
  color: #fff;
  padding: 64px 0;
}
.testimonial-section .card {
  background: #23272f;
  color: #fff;
  border: none;
}
.testimonial-section .star {
  color: #ffc107;
  font-size: 1.1rem;
}

/* Contact */
#contact {
  background: var(--light);
  padding: 64px 0;
}
#contact .card {
  background: #fff;
  border: 1.5px solid #e3e6ee;
}
#contact .form-control, #contact .form-select {
  border-radius: 0.7rem;
  border: 1.5px solid #d1d5db;
  font-size: 1rem;
}
#contact .form-control:focus, #contact .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(67,97,238,0.08);
}

/* Footer */
footer {
  background: var(--dark);
  color: #fff;
  padding: 2.5rem 0 1.2rem 0;
}
footer .social a {
  color: #fff;
  margin-left: 1.2rem;
  font-size: 1.3rem;
  transition: color 0.2s;
}
footer .social a:hover {
  color: var(--primary);
}
footer .footer-links a {
  color: #b0b3b8;
  margin-left: 1.2rem;
  font-size: 1rem;
  text-decoration: none;
}
footer .footer-links a:hover {
  color: #fff;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(67,97,238,0.13);
  z-index: 100;
  display: none;
  transition: background 0.2s;
}
.back-to-top:hover {
  background: var(--primary-dark);
}

/* Responsive */
@media (max-width: 991px) {
  .hero-section {
    flex-direction: column;
    text-align: center;
    padding: 48px 0 24px 0;
  }
  .hero-section .btn-group {
    justify-content: center;
  }
  .hero-section {
    padding-top: calc(120px + 32px); /* Extra top padding for mobile nav */
  }
  .pricing-card {
    margin-bottom: 1.5rem;
  }
}
@media (max-width: 767px) {
  .section-title {
    font-size: 1.5rem;
  }
  .hero-section h1 {
    font-size: 2rem;
  }
  .hero-section {
    padding: 32px 0 12px 0;
  }
  #features, #solutions, #pricing, #contact, .testimonial-section {
    padding: 32px 0;
  }
}
