/* ===== Landing Page Styles ===== */

.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0f2028 0%, #2c5364 50%, #2c5364 100%);
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: url('/static/images/landing_hero.png') no-repeat center center/cover;
  opacity: 0.18;
  z-index: 0;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-section .hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(120deg, rgba(0,0,0,0.65) 0%, rgba(15,32,40,0.55) 55%, rgba(44,83,100,0.3) 100%);
  z-index: 1;
}

.hero-content {
  max-width: 720px;
  color: #fff;
  position: relative;
  z-index: 3;
}

.hero-content .display-4 {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.hero-content .lead {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-top: 1rem;
  line-height: 1.6;
}

.hero-badge {
  display: inline-block;
  background: #0d6efd;
  color: #fff;
  padding: 0.4rem 1rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-badge i {
  margin-right: 0.4rem;
}

.hero-ctas {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: linear-gradient(135deg, #0d6efd, #0a58ca);
  border: none;
  padding: 0.8rem 2rem;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 110, 253, 0.35);
}

.btn-hero-secondary {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.7);
  padding: 0.7rem 2rem;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 8px;
  color: #fff;
  transition: all 0.2s ease;
}

.btn-hero-secondary:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.9);
  transform: translateY(-2px);
}

/* ===== Features Section ===== */

.features-section {
  padding: 5rem 0;
  background: #f8f9fa;
}

.feature-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: all 0.25s ease;
  height: 100%;
  border: 1px solid rgba(0,0,0,0.04);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 1.6rem;
  color: #fff;
}

.feature-icon.blue { background: linear-gradient(135deg, #0d6efd, #0a58ca); }
.feature-icon.teal { background: linear-gradient(135deg, #17a2b8, #1170ca); }
.feature-icon.amber { background: linear-gradient(135deg, #ffc107, #d39e00); }
.feature-icon.indigo { background: linear-gradient(135deg, #6610f2, #4b0089); }

.feature-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
  color: #212529;
}

.feature-card p {
  color: #6c757d;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== Workflow Section ===== */

.workflow-section {
  padding: 5rem 0;
  background: #fff;
}

.workflow-steps {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
}

.workflow-step {
  text-align: center;
  flex: 1;
  position: relative;
}

.workflow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 24px;
  left: 50%;
  width: calc(100% - 60px);
  height: 2px;
  background: #dee2e6;
  z-index: 0;
}

.workflow-step .step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0d6efd, #0a58ca);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 auto 0.8rem;
  z-index: 2;
  position: relative;
}

.workflow-step h5 {
  font-size: 1rem;
  color: #212529;
  margin-bottom: 0.4rem;
}

.workflow-step p {
  font-size: 0.85rem;
  color: #6c757d;
  line-height: 1.5;
}

/* ===== Stats Section ===== */

.stats-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #0f2028 0%, #2c5364 100%);
  color: #fff;
  text-align: center;
}

.stats-section .stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.stats-section .stat-label {
  font-size: 0.95rem;
  opacity: 0.8;
  margin-top: 0.3rem;
}

.stats-row {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

/* ===== Footer ===== */

.landing-footer {
  background: #212529;
  color: #adb5ad;
  padding: 2rem 0;
  font-size: 0.9rem;
}

.landing-footer a {
  color: #0d6efd;
  text-decoration: none;
}

.landing-footer a:hover {
  text-decoration: underline;
}

/* ===== Login Modal ===== */

.login-modal .modal-content {
  border: none;
  border-radius: 14px;
  overflow: hidden;
}

.login-modal .modal-header {
  background: linear-gradient(135deg, #0f2028, #2c5364);
  color: #fff;
  border: none;
  padding: 1.5rem;
}

.login-modal .modal-body {
  padding: 2rem;
}

.login-modal .input-group-text {
  background: #f8f9fa;
  border: 1px solid #ced4da;
}

.login-modal .form-control:focus {
  box-shadow: none;
  border-color: #0d6efd;
}

/* ===== Responsive ===== */

@media (max-width: 768px) {
  .hero-content .display-4 {
    font-size: 2.2rem;
  }

  .hero-ctas {
    display: block;
  }

  .workflow-steps {
    display: block;
  }

  .workflow-step:not(:last-child)::after {
    display: none;
  }

  .stats-row {
    gap: 1.5rem;
  }
}
