/* ============================================
   Warehouse & Fulfillment SaaS Theme
   Professional B2B SaaS Design System
   ============================================ */

:root {
  /* Brand Colors */
  --saas-primary: #2563EB;
  --saas-primary-dark: #1E40AF;
  --saas-primary-light: #3B82F6;
  --saas-secondary: #10B981;
  --saas-accent: #F59E0B;
  --saas-danger: #EF4444;

  /* Neutral Colors */
  --saas-dark: #0F172A;
  --saas-gray-900: #1E293B;
  --saas-gray-800: #334155;
  --saas-gray-700: #475569;
  --saas-gray-600: #64748B;
  --saas-gray-500: #94A3B8;
  --saas-gray-400: #CBD5E1;
  --saas-gray-300: #E2E8F0;
  --saas-gray-200: #F1F5F9;
  --saas-gray-100: #F8FAFC;

  /* Spacing */
  --section-spacing: 100px;
  --section-spacing-sm: 60px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Shadows */
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
  padding: 100px 0 80px;
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(37,99,235,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

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

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--saas-dark);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--saas-gray-700);
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

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

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--saas-primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--saas-gray-600);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-trust {
  font-size: 0.875rem;
  color: var(--saas-gray-600);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-image {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.1));
}

/* ============================================
   Section Styles
   ============================================ */
.section-spacing {
  padding: var(--section-spacing) 0;
}

.section-header {
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--saas-dark);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--saas-gray-600);
  max-width: 700px;
  margin: 0 auto;
}

/* ============================================
   Feature Cards
   ============================================ */
.feature-card {
  padding: 40px 32px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid var(--saas-gray-200);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--saas-primary-light);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--saas-primary) 0%, var(--saas-primary-dark) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 28px;
  color: white;
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--saas-dark);
  margin-bottom: 12px;
}

.feature-description {
  font-size: 1rem;
  color: var(--saas-gray-600);
  line-height: 1.6;
  margin: 0;
}

/* ============================================
   How It Works Steps
   ============================================ */
.step-card {
  text-align: center;
  padding: 32px;
  position: relative;
}

.step-number {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--saas-primary) 0%, var(--saas-primary-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  color: white;
  margin: 0 auto 24px;
  box-shadow: var(--shadow-lg);
}

.step-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--saas-dark);
  margin-bottom: 16px;
}

.step-description {
  font-size: 1rem;
  color: var(--saas-gray-600);
  line-height: 1.6;
}

/* ============================================
   Pricing Cards
   ============================================ */
.pricing-card {
  background: white;
  border: 2px solid var(--saas-gray-200);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  position: relative;
  transition: all 0.3s ease;
  height: 100%;
}

.pricing-card:hover {
  border-color: var(--saas-primary);
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
}

.pricing-card.featured {
  border-color: var(--saas-primary);
  background: linear-gradient(135deg, #EFF6FF 0%, white 100%);
  box-shadow: var(--shadow-xl);
}

.pricing-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--saas-secondary) 0%, #059669 100%);
  color: white;
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
}

.pricing-header {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 2px solid var(--saas-gray-200);
}

.pricing-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--saas-dark);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
}

.price-amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--saas-primary);
}

.price-unit {
  font-size: 1rem;
  color: var(--saas-gray-600);
}

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

.pricing-features li {
  padding: 12px 0;
  font-size: 1rem;
  color: var(--saas-gray-700);
  display: flex;
  align-items: center;
  gap: 12px;
}

.pricing-features i {
  color: var(--saas-secondary);
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* ============================================
   Testimonials
   ============================================ */
.testimonials-section {
  background: linear-gradient(135deg, var(--saas-dark) 0%, var(--saas-gray-900) 100%);
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}

.testimonial-rating {
  color: #FDB022;
  margin-bottom: 16px;
  font-size: 1.25rem;
}

.testimonial-text {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.testimonial-author strong {
  color: white;
  font-weight: 700;
}

.testimonial-author span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-card {
  background: linear-gradient(135deg, var(--saas-primary) 0%, var(--saas-primary-dark) 100%);
  border-radius: var(--radius-xl);
  padding: 60px 48px;
  box-shadow: var(--shadow-2xl);
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin: 0;
}

.cta-card .btn-primary {
  background: white;
  color: var(--saas-primary);
  border: none;
}

.cta-card .btn-primary:hover {
  background: var(--saas-gray-100);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ============================================
   Button Overrides
   ============================================ */
.btn-primary {
  background: linear-gradient(135deg, var(--saas-primary) 0%, var(--saas-primary-dark) 100%);
  border: none;
  color: white;
  padding: 14px 32px;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn-outline-primary {
  border: 2px solid var(--saas-primary);
  color: var(--saas-primary);
  background: transparent;
  padding: 14px 32px;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background: var(--saas-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.125rem;
}

/* ============================================
   Gradient Text
   ============================================ */
.gradient-text {
  background: linear-gradient(135deg, var(--saas-primary) 0%, var(--saas-primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 992px) {
  :root {
    --section-spacing: 60px;
  }

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

  .hero-section {
    padding: 60px 0 40px;
  }

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

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

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

  .hero-stats {
    gap: 24px;
  }

  .stat-number {
    font-size: 2rem;
  }

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

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

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

  .cta-card {
    padding: 40px 24px;
  }

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

/* ============================================
   Dashboard & Account Styles
   ============================================ */
.dashboard-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--saas-gray-200);
  margin-bottom: 24px;
}

.dashboard-stat {
  text-align: center;
  padding: 24px;
}

.dashboard-stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--saas-primary);
  line-height: 1;
  margin-bottom: 8px;
}

.dashboard-stat-label {
  font-size: 0.875rem;
  color: var(--saas-gray-600);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.wallet-balance {
  background: linear-gradient(135deg, var(--saas-secondary) 0%, #059669 100%);
  color: white;
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.wallet-balance-amount {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.wallet-balance-label {
  font-size: 1rem;
  opacity: 0.9;
}

.btn-recharge {
  background: white;
  color: var(--saas-secondary);
  border: none;
  padding: 12px 32px;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  margin-top: 16px;
}

.btn-recharge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
