:root {
  --primary: #8b5cf6;
  --secondary: #ec4899;
  --dark: #1e1e2e;
  --light: #f8f9fa;
  --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
}

/* Navbar */
.navbar {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 10px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-brand img {
  height: 70px;
  margin-right: 10px;
}

.nav-link {
  color: #333 !important;
  font-weight: 600;
  padding: 10px 20px !important;
  margin: 0 5px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.nav-link:hover {
  background: var(--gradient);
  color: white !important;
  transform: translateY(-2px);
}

.btn-primary-gradient {
  background: var(--gradient);
  border: none;
  color: white;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary-gradient:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(139, 92, 246, 0.4);
}

/* User Dropdown Menu */
.user-dropdown {
  position: relative;
}

.user-dropdown .dropdown-toggle {
  background: var(--gradient);
  border: none;
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.user-dropdown .dropdown-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
}

.user-dropdown .dropdown-toggle::after {
  margin-left: 5px;
}

.user-dropdown .dropdown-menu {
  border: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border-radius: 15px;
  padding: 15px;
  min-width: 280px;
  margin-top: 10px;
}

.user-dropdown .dropdown-header {
  font-weight: 700;
  color: #333;
  font-size: 1rem;
  padding: 10px 15px;
  border-bottom: 2px solid #f0f0f0;
  margin-bottom: 10px;
}

.user-dropdown .dropdown-item {
  padding: 12px 15px;
  border-radius: 10px;
  transition: all 0.3s ease;
  color: #666;
  font-weight: 500;
}

.user-dropdown .dropdown-item:hover {
  background: var(--gradient);
  color: white;
  transform: translateX(5px);
}

.user-dropdown .dropdown-item i {
  width: 25px;
  text-align: center;
  margin-right: 10px;
}

.user-info-item {
  display: flex;
  align-items: center;
  padding: 8px 15px;
  font-size: 0.9rem;
  color: #666;
  border-left: 3px solid transparent;
}

.user-info-item i {
  width: 25px;
  text-align: center;
  margin-right: 10px;
  color: var(--primary);
}

.user-info-item strong {
  color: #333;
  margin-left: 5px;
}

.dropdown-divider {
  margin: 10px 0;
  border-top: 2px solid #f0f0f0;
}

.logout-item {
  background: #fee;
  color: #c33 !important;
  font-weight: 600;
}

.logout-item:hover {
  background: #c33 !important;
  color: white !important;
}

/* Hero Section */
.hero-section {
  background: var(--gradient);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>')
    no-repeat bottom;
  background-size: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: white;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  opacity: 0.95;
}

.hero-image {
  position: relative;
  z-index: 1;
}

.hero-image img {
  max-width: 100%;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }
}

/* Features Section */
.features-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.feature-card {
  background: white;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 2.5rem;
  color: white;
}

.feature-icon.purple {
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.feature-icon.pink {
  background: linear-gradient(135deg, #f093fb, #f5576c);
}

.feature-icon.blue {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.feature-icon.green {
  background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.feature-card h3 {
  font-weight: 700;
  margin-bottom: 15px;
  color: #1e1e2e;
}

.feature-card p {
  color: #6c757d;
  margin: 0;
}

/* Professionals Section */
.professionals-section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.8rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 15px;
}

.section-title p {
  font-size: 1.2rem;
  color: #6c757d;
}

.professional-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: none;
}

.professional-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.professional-image {
  width: 100%;
  height: 250px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: white;
  font-weight: bold;
}

.professional-info {
  padding: 25px;
}

.professional-name {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1e1e2e;
}

.professional-rating {
  color: #ffc107;
  margin-bottom: 15px;
}

.professional-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.specialty-badge {
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.1),
    rgba(236, 72, 153, 0.1)
  );
  color: var(--primary);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: white;
  padding: 60px 0 30px;
}

.footer h5 {
  font-weight: 700;
  margin-bottom: 20px;
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer a:hover {
  color: white;
  padding-left: 5px;
}

.social-links a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--gradient);
  transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .btn-carrinho {
    padding: 10px 14px !important;
    font-size: 1.1rem !important;
  }

  .btn-carrinho i {
    font-size: 1.2rem !important;
  }
}
