/* ============================================
   PROFESSIONAL LANDING PAGE - MOBILE FIRST
   Optimized for mobile devices with clean design
   ============================================ */

/* ===== ROOT VARIABLES ===== */
:root {
  /* Colors */
  --primary-color: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --secondary-color: #10b981;
  --secondary-dark: #059669;
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-accent: #f0f9ff;
  
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  
  /* Spacing */
  --section-padding: 60px 0;
  --container-padding: 20px;
  
  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ===== BASE STYLES ===== */
.page-landing {
  font-family: var(--font-family);
  background: var(--bg-secondary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== NAVIGATION ===== */
.navbar-landing {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  padding: 16px 0;
  transition: all 0.3s ease;
}

.navbar-landing.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
  text-decoration: none;
}

.navbar-brand:hover {
  color: var(--primary-color);
}

.brand-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
}

.brand-text {
  font-weight: 700;
  color: var(--text-primary) !important;
}

/* Fix for Bootstrap navbar-brand overrides */
.page-landing .navbar-brand {
  color: var(--text-primary) !important;
}

.page-landing .navbar-brand:hover {
  color: var(--primary-color) !important;
}

.page-landing .navbar-brand .brand-text {
  color: #0f172a !important;
}

.navbar-landing .nav-link {
  color: var(--text-secondary) !important;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.navbar-landing .nav-link:hover {
  color: var(--primary-color) !important;
  background: var(--bg-accent);
}

/* Fix for Bootstrap navbar overrides */
.page-landing .navbar-landing .navbar-nav .nav-link {
  color: #475569 !important;
}

.page-landing .navbar-landing .navbar-nav .nav-link:hover,
.page-landing .navbar-landing .navbar-nav .nav-link:focus {
  color: #2563eb !important;
}

.btn-login {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn-login:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ===== HERO SECTION ===== */
.hero-section {
  padding: 80px 0 60px;
  background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 50px;
  color: var(--primary-color);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 600px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.btn-primary-custom {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-primary-custom:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-outline-custom {
  background: white;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn-outline-custom:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: white;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.stat-icon {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(16, 185, 129, 0.1));
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.5rem;
}

.stat-content {
  flex: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 4px;
}

.stat-value {
  font-size: 1rem;
  color: var(--text-primary);
  font-weight: 700;
}

/* Hero Visual */
.hero-visual {
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
}

.visual-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.visual-title {
  font-weight: 700;
  color: var(--text-primary);
}

.visual-image {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
  aspect-ratio: 16/9;
  background: var(--bg-secondary);
  position: relative;
}

.visual-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Image Slider/Carousel Styles */
.image-slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Navigation Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(37, 99, 235, 0.2);
  color: var(--primary-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.slider-arrow:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.slider-prev {
  left: 12px;
}

.slider-next {
  right: 12px;
}

.slider-arrow i {
  font-size: 1rem;
}

/* Dots Indicator */
.slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
  background: rgba(255, 255, 255, 0.9);
  padding: 8px 12px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot:hover {
  background: rgba(37, 99, 235, 0.6);
  transform: scale(1.2);
}

.dot.active {
  background: var(--primary-color);
  width: 24px;
  border-radius: 4px;
}

.visual-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.feature-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--bg-accent);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.feature-pill i {
  color: var(--secondary-color);
  font-size: 1rem;
}

/* Trust Bar */
.trust-bar {
  margin-top: 60px;
  padding: 24px;
  background: white;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.trust-content {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.trust-title {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 1.125rem;
  flex: 0 0 auto;
}

.trust-description {
  color: var(--text-secondary);
  flex: 1;
  min-width: 250px;
}

/* ===== SECTION STYLES ===== */
.how-section,
.features-section,
.demo-section {
  padding: var(--section-padding);
}

.how-section {
  background: white;
}

.features-section {
  background: var(--bg-secondary);
}

.demo-section {
  background: white;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

/* ===== WORKFLOW SECTION ===== */
.workflow-container {
  display: flex;
  align-items: stretch;
  gap: 20px;
  margin-bottom: 32px;
  padding: 32px;
  background: var(--bg-accent);
  border-radius: 16px;
  border: 1px solid rgba(37, 99, 235, 0.1);
}

.workflow-step {
  flex: 1;
  background: white;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.step-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: white;
}

.step-icon-1 {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.step-icon-2 {
  background: linear-gradient(135deg, #10b981, #059669);
}

.step-icon-3 {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.step-number {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 8px;
}

.step-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.step-description {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.workflow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.5rem;
  flex: 0 0 auto;
}

.workflow-note {
  text-align: center;
  padding: 16px 24px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 10px;
  color: var(--secondary-dark);
  font-weight: 600;
  font-size: 0.9375rem;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Status Badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.status-pending {
  background: rgba(245, 158, 11, 0.15);
  color: #92400e;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-scheduled {
  background: rgba(37, 99, 235, 0.15);
  color: #1e40af;
  border: 1px solid rgba(37, 99, 235, 0.3);
}

.status-berthed {
  background: rgba(16, 185, 129, 0.15);
  color: #065f46;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-departed {
  background: rgba(100, 116, 139, 0.15);
  color: #334155;
  border: 1px solid rgba(100, 116, 139, 0.3);
}

/* Role Cards */
.role-card {
  background: white;
  padding: 32px 24px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: all 0.3s ease;
}

.role-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.role-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 20px;
  color: white;
}

.role-icon-shipping {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.role-icon-terminal {
  background: linear-gradient(135deg, #10b981, #059669);
}

.role-icon-admin {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.role-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.role-description {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ===== FEATURES SECTION ===== */
.feature-card {
  background: white;
  padding: 32px 24px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(16, 185, 129, 0.1));
  border: 1px solid rgba(37, 99, 235, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.feature-description {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ===== DEMO SECTION ===== */
.demo-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.demo-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

.demo-benefits {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.benefit-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--bg-accent);
  border-radius: 12px;
  border: 1px solid rgba(37, 99, 235, 0.1);
}

.benefit-icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary-color);
  border-radius: 10px;
  color: white;
  font-size: 1.25rem;
}

.benefit-content {
  flex: 1;
}

.benefit-title {
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.benefit-text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Demo Form */
.demo-form-card {
  background: white;
  padding: 32px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-xl);
}

.demo-form-card .form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.demo-form-card .form-control,
.demo-form-card .form-select {
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.demo-form-card .form-control:focus,
.demo-form-card .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  outline: none;
}

.form-disclaimer {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
  margin: 0;
}

/* ===== FOOTER ===== */
.footer-section {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  padding: 40px 0;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.footer-brand .brand-icon {
  width: 36px;
  height: 36px;
  font-size: 1rem;
}

.footer-brand .brand-text {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-copyright {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0;
  text-align: right;
}

/* ===== MOBILE RESPONSIVE ===== */

/* Tablets and below (992px) */
@media (max-width: 991.98px) {
  :root {
    --section-padding: 48px 0;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.875rem;
  }

  .workflow-container {
    flex-direction: column;
    padding: 24px;
  }

  .workflow-arrow {
    display: none;
  }

  .trust-content {
    flex-direction: column;
    text-align: center;
  }

  .trust-title {
    flex: 1 1 100%;
  }

  .footer-tagline {
    text-align: left;
  }
}

/* Mobile devices (768px and below) */
@media (max-width: 767.98px) {
  .navbar-landing {
    padding: 12px 0;
  }

  /* Slider mobile adjustments */
  .slider-arrow {
    width: 36px;
    height: 36px;
  }

  .slider-arrow i {
    font-size: 0.875rem;
  }

  .slider-prev {
    left: 8px;
  }

  .slider-next {
    right: 8px;
  }

  .slider-dots {
    padding: 6px 10px;
    bottom: 8px;
  }

  .dot {
    width: 6px;
    height: 6px;
  }

  .dot.active {
    width: 18px;
  }

  .hero-section {
    padding: 60px 0 40px;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    padding: 16px 20px;
  }

  .stat-icon {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }

  .visual-features {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.625rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .demo-form-card {
    padding: 24px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-tagline {
    text-align: center;
  }
}

/* Small mobile devices (576px and below) */
@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.5rem;
  }

  .btn-primary-custom,
  .btn-outline-custom {
    padding: 12px 24px;
    font-size: 0.9375rem;
  }

  .workflow-container {
    padding: 16px;
  }

  .workflow-step {
    padding: 20px;
  }

  .step-icon {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }

  .role-card,
  .feature-card {
    padding: 24px 20px;
  }

  .demo-form-card {
    padding: 20px;
  }
}

/* ===== UTILITY CLASSES ===== */
.text-muted {
  color: var(--text-muted) !important;
}

.bg-light {
  background-color: var(--bg-secondary) !important;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-section > .container > .row {
  animation: fadeInUp 0.6s ease-out;
}

/* Smooth transitions */
* {
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

a, button {
  transition: all 0.3s ease;
}


/* ===== PROFESSIONAL WORKFLOW TIMELINE ===== */

.workflow-timeline {
  max-width: 800px;
  margin: 0 auto 32px;
  padding: 0;
}

.timeline-item {
  display: flex;
  gap: 24px;
  position: relative;
  padding-bottom: 48px;
}

.timeline-item-last {
  padding-bottom: 0;
}

/* Timeline Marker Column */
.timeline-marker {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.marker-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.marker-circle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.marker-blue {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.marker-green {
  background: linear-gradient(135deg, #10b981, #059669);
}

.marker-purple {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.marker-line {
  width: 3px;
  flex: 1;
  background: linear-gradient(180deg, 
    rgba(37, 99, 235, 0.3) 0%, 
    rgba(16, 185, 129, 0.3) 50%, 
    rgba(139, 92, 246, 0.3) 100%
  );
  margin-top: 8px;
  position: relative;
  z-index: 1;
}

/* Timeline Content Column */
.timeline-content {
  flex: 1;
  background: white;
  padding: 24px 28px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
}

.timeline-content::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 28px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 8px solid var(--border-color);
}

.timeline-content::after {
  content: '';
  position: absolute;
  left: -7px;
  top: 28px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 8px solid white;
}

.timeline-item:hover .timeline-content {
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}

.timeline-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.timeline-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.timeline-description {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Mobile Responsive */
@media (max-width: 767.98px) {
  .workflow-timeline {
    padding: 0 8px;
  }

  .timeline-item {
    gap: 16px;
    padding-bottom: 40px;
  }

  .marker-circle {
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
  }

  .marker-line {
    width: 2px;
    margin-top: 6px;
  }

  .timeline-content {
    padding: 20px 20px;
  }

  .timeline-content::before,
  .timeline-content::after {
    left: -6px;
    top: 24px;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
  }

  .timeline-content::before {
    border-right: 6px solid var(--border-color);
  }

  .timeline-content::after {
    border-right: 6px solid white;
    left: -5px;
  }

  .timeline-title {
    font-size: 1.125rem;
  }

  .timeline-description {
    font-size: 0.875rem;
  }
}

@media (max-width: 575.98px) {
  .timeline-item {
    gap: 12px;
  }

  .marker-circle {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }

  .timeline-content {
    padding: 16px 18px;
  }

  .timeline-title {
    font-size: 1rem;
  }
}


/* ===== PROFESSIONAL CIRCULAR ROLE CARDS ===== */

.roles-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 48px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.role-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 24px;
  background: white;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.role-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.role-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  border-color: var(--primary-color);
}

.role-item:hover::before {
  opacity: 1;
}

/* Circular Icon Container */
.role-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.role-item:hover .role-circle {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.role-circle-blue {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.role-circle-green {
  background: linear-gradient(135deg, #10b981, #059669);
}

.role-circle-purple {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.role-icon-wrapper {
  font-size: 2.5rem;
  color: white;
  z-index: 2;
  position: relative;
}

/* Pulse Animation Ring */
.role-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  opacity: 0;
  z-index: 1;
}

.role-item:hover .role-pulse {
  animation: pulse-ring 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.role-pulse-blue {
  border: 3px solid #3b82f6;
}

.role-pulse-green {
  border: 3px solid #10b981;
}

.role-pulse-purple {
  border: 3px solid #8b5cf6;
}

@keyframes pulse-ring {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.4);
    opacity: 0;
  }
}

/* Role Information */
.role-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.role-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.role-item:hover .role-name {
  color: var(--primary-color);
}

.role-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  max-width: 280px;
}

/* Tablet Responsive */
@media (max-width: 991.98px) {
  .roles-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .role-circle {
    width: 100px;
    height: 100px;
  }

  .role-icon-wrapper {
    font-size: 2rem;
  }

  .role-item {
    padding: 28px 20px;
  }
}

/* Mobile Responsive */
@media (max-width: 767.98px) {
  .roles-container {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 32px;
  }

  .role-item {
    padding: 32px 24px;
  }

  .role-circle {
    width: 110px;
    height: 110px;
  }

  .role-icon-wrapper {
    font-size: 2.25rem;
  }

  .role-name {
    font-size: 1.125rem;
  }

  .role-desc {
    font-size: 0.875rem;
    max-width: 100%;
  }
}

@media (max-width: 575.98px) {
  .role-circle {
    width: 100px;
    height: 100px;
  }

  .role-icon-wrapper {
    font-size: 2rem;
  }

  .role-item {
    padding: 28px 20px;
  }
}


/* ===== PROFESSIONAL FEATURES SECTION ===== */

.features-section {
  padding: var(--section-padding);
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.features-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.features-section::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
  position: relative;
  z-index: 1;
}

.feature-item {
  background: white;
  padding: 40px 28px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, 
    var(--primary-color) 0%, 
    var(--secondary-color) 100%
  );
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item:hover::before {
  transform: scaleX(1);
}

.feature-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  border-color: rgba(37, 99, 235, 0.3);
}

/* Circular Icon with Glow Effect */
.feature-icon-circle {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, 
    rgba(37, 99, 235, 0.1) 0%, 
    rgba(16, 185, 129, 0.1) 100%
  );
  border: 2px solid rgba(37, 99, 235, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary-color);
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item:hover .feature-icon-circle {
  transform: scale(1.1) rotate(-5deg);
  background: linear-gradient(135deg, 
    var(--primary-color) 0%, 
    var(--secondary-color) 100%
  );
  border-color: transparent;
  color: white;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

/* Glow Effect */
.icon-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, 
    rgba(37, 99, 235, 0.4) 0%, 
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-item:hover .icon-glow {
  opacity: 1;
  animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.3;
  }
}

/* Feature Text */
.feature-heading {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.feature-item:hover .feature-heading {
  color: var(--primary-color);
}

.feature-text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Tablet Responsive */
@media (max-width: 991.98px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .feature-item {
    padding: 36px 24px;
  }

  .feature-icon-circle {
    width: 72px;
    height: 72px;
    font-size: 1.75rem;
  }
}

/* Mobile Responsive */
@media (max-width: 767.98px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 32px;
  }

  .feature-item {
    padding: 32px 24px;
  }

  .feature-icon-circle {
    width: 76px;
    height: 76px;
    font-size: 1.875rem;
  }

  .feature-heading {
    font-size: 1.0625rem;
  }

  .feature-text {
    font-size: 0.875rem;
  }

  .features-section::before,
  .features-section::after {
    width: 300px;
    height: 300px;
  }
}

@media (max-width: 575.98px) {
  .feature-item {
    padding: 28px 20px;
  }

  .feature-icon-circle {
    width: 70px;
    height: 70px;
    font-size: 1.625rem;
  }

  .feature-heading {
    font-size: 1rem;
  }
}


/* Logo Image Styles */
.brand-logo {
  height: 70px;
  width: auto;
  object-fit: contain;
  display: block;
}

.brand-logo-footer {
  height: 70px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Keep old brand-icon for backward compatibility if needed */
.brand-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
}
