/* Base styles */
:root {
  --primary: #4361ee;
  --primary-dark: #3a56d4;
  --secondary: #4cc9f0;
  --accent: #f72585;
  --light: #f8f9fa;
  --dark: #212529;
  --success: #2ecc71;
  --warning: #f39c12;
  --danger: #e74c3c;
  --info: #3498db;
  --border-radius: 0.5rem;
  --box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--dark);
  line-height: 1.6;
  background-color: #f8f9fa;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #4361ee, #4cc9f0);
  padding: 5rem 0;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='white' fill-opacity='0.05' d='M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,149.3C960,160,1056,160,1152,138.7C1248,117,1344,75,1392,53.3L1440,32L1440,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'%3E%3C/path%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  opacity: 0.1;
}

/* Buttons */
.btn {
  border-radius: var(--border-radius);
  padding: 0.6rem 1.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
  text-transform: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background: linear-gradient(45deg, #4361ee, #3a56d4);
  border: none;
}

.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(45deg, #3a56d4, #4361ee);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  background: linear-gradient(45deg, #4cc9f0, #3498db);
  border: none;
}

.btn-secondary:hover, .btn-secondary:focus {
  background: linear-gradient(45deg, #3498db, #4cc9f0);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-get-started {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(67, 97, 238, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(67, 97, 238, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(67, 97, 238, 0);
  }
}

/* Cards */
.card {
  border: none;
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
}

.card-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  background-color: white;
  padding: 1.25rem;
}

.card-body {
  padding: 1.5rem;
}

/* Form Controls */
.form-control, .form-select {
  border-radius: var(--border-radius);
  padding: 0.6rem 1rem;
  border: 1px solid #dee2e6;
  transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
  border-color: #4361ee;
  box-shadow: 0 0 0 0.25rem rgba(67, 97, 238, 0.15);
}

.input-group-text {
  background-color: #f8f9fa;
  border-color: #dee2e6;
  color: #6c757d;
}

/* Navigation */
.navbar {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
  font-weight: 700;
  color: #4361ee;
}

.nav-link {
  font-weight: 500;
  color: #212529;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: #4361ee;
}

.nav-link.active {
  color: #4361ee;
  position: relative;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 1rem;
  right: 1rem;
  height: 3px;
  background: linear-gradient(90deg, #4361ee, #4cc9f0);
  border-radius: 3px;
}

/* Progress Bars */
.progress {
  height: 0.6rem;
  border-radius: 1rem;
  background-color: #e9ecef;
  overflow: hidden;
}

.progress-bar {
  background: linear-gradient(45deg, #4361ee, #4cc9f0);
  border-radius: 1rem;
}

.progress-bar.bg-warning {
  background: linear-gradient(45deg, #f39c12, #ffbb33);
}

.progress-bar.bg-danger {
  background: linear-gradient(45deg, #e74c3c, #ff6b6b);
}

/* Feature Icons */
.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #4361ee, #4cc9f0);
  color: white;
  font-size: 1.25rem;
}

/* Alerts */
.alert {
  border: none;
  border-radius: var(--border-radius);
  padding: 1.25rem;
}

.alert-primary {
  background-color: rgba(67, 97, 238, 0.1);
  color: #3a56d4;
}

.alert-success {
  background-color: rgba(46, 204, 113, 0.1);
  color: #2ecc71;
}

.alert-warning {
  background-color: rgba(243, 156, 18, 0.1);
  color: #f39c12;
}

.alert-danger {
  background-color: rgba(231, 76, 60, 0.1);
  color: #e74c3c;
}

.alert-info {
  background-color: rgba(52, 152, 219, 0.1);
  color: #3498db;
}

/* Footer */
footer {
  background-color: #212529;
  color: white;
}

footer a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

footer a:hover {
  color: white;
  text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero {
    padding: 3rem 0;
  }
  
  .card {
    margin-bottom: 1.5rem;
  }
}
