/* Hero Section */
.hero-wrapper {
  background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
  position: relative;
  overflow: hidden;
}

.hero-wrapper::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(8, 145, 178, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

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

.integration-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  background: rgba(8, 145, 178, 0.1);
  border: 1px solid rgba(8, 145, 178, 0.2);
  border-radius: 50px;
  color: #0891B2;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: #1e293b;
  letter-spacing: -1px;
}

.hero-description {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #64748b;
  max-width: 600px;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: #0891B2;
  display: block;
}

.stat-label {
  font-size: 0.875rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-actions .btn {
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.hero-actions .btn-primary {
  background: #0891B2;
  border: none;
  box-shadow: 0 4px 16px rgba(8, 145, 178, 0.25);
}

.hero-actions .btn-primary:hover {
  background: #0c7a94;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(8, 145, 178, 0.35);
}

.hero-actions .btn-outline-secondary {
  border: 2px solid #e2e8f0;
  color: #475569;
  background: white;
}

.hero-actions .btn-outline-secondary:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

/* Integration Flow Visual */
.hero-visual {
  position: relative;
}

.integration-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem;
}

.flow-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 2;
  flex: 1;
  max-width: 180px;
  text-align: center;
  transition: all 0.3s ease;
}

.flow-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(8, 145, 178, 0.15);
}

.flow-card-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #0891B2, #06b6d4);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: white;
}

.flow-card-title {
  font-weight: 700;
  font-size: 1rem;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.flow-card-status {
  font-size: 0.75rem;
  color: #10b981;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.flow-pulse {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.3);
  }
}

.flow-connector {
  flex: 0 0 80px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-line {
  position: absolute;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #0891B2 0%, #06b6d4 100%);
}

.flow-icon {
  position: relative;
  z-index: 2;
  width: 32px;
  height: 32px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0891B2;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(8, 145, 178, 0.2);
}

.flow-dots {
  position: absolute;
  display: flex;
  gap: 4px;
  top: -20px;
}

.flow-dots span {
  width: 4px;
  height: 4px;
  background: #0891B2;
  border-radius: 50%;
  animation: flowDots 1.5s infinite;
}

.flow-dots span:nth-child(2) {
  animation-delay: 0.3s;
}

.flow-dots span:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes flowDots {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}

/* Section Spacing */
.section-spacing {
  padding: 5rem 0;
}

/* Section Headers */
.section-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(8, 145, 178, 0.1);
  color: #0891B2;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1e293b;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: #64748b;
}

/* Process Cards */
.process-card {
  position: relative;
  padding: 2rem 1.5rem;
  background: white;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  height: 100%;
}

.process-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  border-color: #0891B2;
}

.process-number {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  font-weight: 800;
  color: #f1f5f9;
}

.process-icon-wrapper {
  margin-bottom: 1.5rem;
}

.process-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  transition: all 0.3s ease;
}

.process-card:hover .process-icon {
  transform: scale(1.1) rotate(5deg);
}

.bg-primary-soft {
  background: rgba(8, 145, 178, 0.1);
}

.bg-success-soft {
  background: rgba(16, 185, 129, 0.1);
}

.bg-warning-soft {
  background: rgba(245, 158, 11, 0.1);
}

.bg-info-soft {
  background: rgba(6, 182, 212, 0.1);
}

.bg-danger-soft {
  background: rgba(220, 38, 38, 0.1);
}

.process-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.75rem;
}

.process-description {
  font-size: 0.9375rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* Benefits Section */
.benefits-section {
  background: linear-gradient(180deg, transparent 0%, #f8fafc 50%, transparent 100%);
}

.benefit-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid #e2e8f0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0891B2, #06b6d4);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(8, 145, 178, 0.12);
  border-color: #0891B2;
}

.benefit-card:hover::before {
  transform: scaleX(1);
}

.benefit-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #0891B2, #06b6d4);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
  transform: scale(1.1) rotate(-5deg);
}

.benefit-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
}

.benefit-description {
  font-size: 0.9375rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.benefit-metric {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}

.metric-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0891B2;
}

.metric-label {
  font-size: 0.8125rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Module Cards */
.modules-section {
  background: white;
}

.module-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
}

.module-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

.module-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.module-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.module-card:hover .module-icon {
  transform: scale(1.1);
}

.module-badge {
  background: #f1f5f9;
  color: #64748b;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.module-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.75rem;
}

.module-description {
  font-size: 0.9375rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.module-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.module-features li {
  font-size: 0.875rem;
  color: #475569;
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.module-features li i {
  color: #10b981;
  font-size: 1rem;
  flex-shrink: 0;
}

/* CTA Section */
.cta-section {
  margin-top: 5rem;
  margin-bottom: 3rem;
}

.cta-content {
  background: linear-gradient(135deg, #0891B2 0%, #0c7a94 100%);
  border-radius: 24px;
  padding: 4rem 3rem;
  position: relative;
  overflow: hidden;
}

.cta-content::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.5px;
}

.cta-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
}

.cta-content .btn-light {
  background: white;
  color: #0891B2;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.cta-content .btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  background: #f8fafc;
}

.cta-note {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
}

/* Modal Styling */
.modal-content {
  border: 1px solid rgba(8, 145, 178, 0.1);
}

.modal-header {
  border-bottom: 1px solid rgba(8, 145, 178, 0.05);
}

.modal-body p {
  line-height: 1.6;
  font-size: 0.95rem;
}

.modal-body .form-label {
  color: var(--bs-dark);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.modal-body .form-control {
  border: 1px solid rgba(8, 145, 178, 0.2);
  border-radius: 8px;
  padding: 0.7rem 1rem;
  transition: all 0.3s ease;
}

.modal-body .form-control:focus {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.1);
}

.modal-footer {
  border-top: 1px solid rgba(8, 145, 178, 0.05);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  letter-spacing: -0.3px;
}

.display-4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--bs-dark);
}

.lead {
  font-weight: 400;
  line-height: 1.6;
}

/* Spacing Improvements */
section {
  scroll-margin-top: 100px;
}

/* SVG Styling */
svg {
  max-width: 100%;
  height: auto;
}

/* Rounded Container */
.rounded-circle {
  transition: all 0.3s ease;
}

.card:hover .rounded-circle {
  background-color: rgba(8, 145, 178, 0.15) !important;
}

/* Text Color Consistency */
.text-muted {
  color: #6B7280 !important;
}

.text-dark {
  color: var(--bs-dark) !important;
}

/* Icon Styling */
i.bi {
  transition: all 0.3s ease;
}

.card:hover i.bi {
  color: var(--bs-primary) !important;
}

/* Modal Styling */
.modal-content {
  border: none;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modal-header {
  border-bottom: 1px solid #e2e8f0;
  padding: 1.5rem 2rem;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
}

.modal-body {
  padding: 2rem;
}

.modal-body p {
  line-height: 1.6;
  color: #64748b;
}

.modal-body .form-label {
  color: #1e293b;
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.modal-body .form-control {
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  transition: all 0.3s ease;
}

.modal-body .form-control:focus {
  border-color: #0891B2;
  box-shadow: 0 0 0 4px rgba(8, 145, 178, 0.1);
  outline: none;
}

.modal-footer {
  border-top: 1px solid #e2e8f0;
  padding: 1.5rem 2rem;
}

.modal-footer .btn {
  padding: 0.75rem 2rem;
  border-radius: 10px;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1199px) {
  .hero-title {
    font-size: 3rem;
  }

  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 991px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-stats {
    gap: 2rem;
  }

  .section-spacing {
    padding: 3rem 0;
  }

  .integration-flow {
    flex-direction: column;
    gap: 1.5rem;
  }

  .flow-connector {
    transform: rotate(90deg);
    flex: 0 0 60px;
  }

  .flow-card {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .stat-value {
    font-size: 1.5rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .section-spacing {
    padding: 2rem 0;
  }

  .process-card {
    padding: 1.5rem 1rem;
  }

  .process-number {
    font-size: 1.5rem;
  }

  .cta-content {
    padding: 2.5rem 1.5rem;
  }

  .cta-title {
    font-size: 1.75rem;
  }

  .cta-description {
    font-size: 1rem;
  }

  .cta-content .btn-light {
    width: 100%;
  }

  .modal-body,
  .modal-header,
  .modal-footer {
    padding: 1.5rem;
  }
}

@media (max-width: 575px) {
  .hero-wrapper {
    padding-top: 2rem;
  }

  .integration-badge {
    font-size: 0.75rem;
    padding: 6px 16px;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .stat-item {
    flex: 1 1 calc(50% - 0.75rem);
  }

  .process-icon {
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
  }

  .benefit-card,
  .module-card {
    padding: 1.5rem;
  }
}
