/* Welcome.css - Modern, látványos welcome oldal stílusok */

/* ===== GLOBAL RESET ===== */
body {
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden;
}

/* ===== NAVIGATION ===== */
.navbar {
  background: transparent;
  backdrop-filter: blur(20px);
  border-bottom: none;
  padding: 1rem 0;
  min-height: 70px;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  z-index: 1030;
}

.navbar .container {
  margin-top: 0;
  margin-bottom: 0;
  max-width: 1600px;
  padding-left: 1rem;
  padding-right: 1rem;
}

.navbar.scrolled {
  background: #1e293b;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: white !important;
  text-decoration: none;
  padding: 0;
  display: flex;
  align-items: center;
}

.navbar-brand img {
  height: 60px;
  width: auto;
  transition: opacity 0.3s ease;
}

.navbar-brand:hover img {
  opacity: 0.8;
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link:hover {
  color: #ffd700 !important;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: #ffd700;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}

.navbar-nav .nav-link.active {
  color: #ffd700 !important;
}

.dropdown-menu {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  margin-top: 0.5rem;
}

.dropdown-item {
  color: #333;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
}

.dropdown-item:hover {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.navbar-nav .btn {
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.navbar-nav .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.3);
}

.navbar-nav .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.navbar-nav .btn-primary {
  background: var(--gradient-primary-button);
  border: none;
}

.navbar-nav .btn-primary:hover {
  background: var(--gradient-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

.navbar-collapse {
  z-index: 1031;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    margin-top: 1rem;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }
}

/* ===== HERO SECTION ===== */
.hero-section {
  background: var(--gradient-primary);
  color: white;
  position: relative;
  overflow: hidden;
  min-height: auto;
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 100px 0 60px 0;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.badge-container {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.hero-badge:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.hero-badge-yellow {
  background: rgba(255, 215, 0, 0.9);
  border: 1px solid rgba(255, 215, 0, 1);
  color: #1e293b;
  font-weight: 600;
}

.hero-badge-yellow:hover {
  background: rgba(255, 215, 0, 1);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease-out;
}

.text-gradient {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.5;
  margin: 0 auto 2rem auto;
  opacity: 0.9;
  animation: fadeInUp 1s ease-out 0.2s both;
  max-width: 500px;
  text-align: center;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.stat-item {
  text-align: center;
  flex: 1;
  min-width: 80px;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #ffd700;
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 0.25rem;
}

.hero-actions {
  animation: fadeInUp 1s ease-out 0.6s both;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

/* ===== HERO VISUAL ===== */
.hero-visual {
  position: relative;
  height: auto;
  min-height: 450px;
  animation: fadeInRight 1s ease-out 0.8s both;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 0;
}

@media (max-width: 991px) {
  .hero-visual {
    position: relative;
    height: auto;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }
}

.main-dashboard {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 420px;
  color: #333;
  z-index: 3;
  position: relative;
  transition: transform 0.3s ease;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.dashboard-title {
  font-weight: 600;
  font-size: 0.9rem;
}

.dashboard-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #059669;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #059669;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.metric-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.metric {
  flex: 1;
  text-align: center;
}

.metric-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: #2563eb;
}

.metric-label {
  font-size: 0.7rem;
  color: #666;
  margin-top: 0.25rem;
}

.chart-container {
  height: 120px;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* ===== DASHBOARD COMPONENTS ===== */
.filter-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.filter-item {
  display: flex;
  align-items: center;
  font-size: 0.8rem;
  color: #64748b;
}

.filter-dropdown {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #1e293b;
  font-weight: 500;
  cursor: pointer;
}

.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.metric-card {
  background: #f8fafc;
  border-radius: 8px;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-left: 4px solid;
  position: relative;
  z-index: 1;
}

.metric-card.incoming {
  border-left-color: #f97316;
}

.metric-card.outgoing {
  border-left-color: #10b981;
}

.metric-card.balance {
  border-left-color: #f97316;
}

.metric-card.profit {
  border-left-color: #3b82f6;
}

.metric-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: white;
  flex-shrink: 0;
}

.metric-card.incoming .metric-icon {
  background: #f97316;
}

.metric-card.outgoing .metric-icon {
  background: #10b981;
}

.metric-card.balance .metric-icon {
  background: #f97316;
}

.metric-card.profit .metric-icon {
  background: #3b82f6;
}

.metric-content {
  flex: 1;
  min-width: 0;
}

.metric-content .metric-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.metric-content .metric-label {
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.metric-content .metric-subtitle {
  font-size: 0.7rem;
  color: #94a3b8;
  line-height: 1.2;
}

.charts-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.chart-card {
  background: #f8fafc;
  border-radius: 8px;
  padding: 0.75rem;
  border: 1px solid #e2e8f0;
}

.chart-card h6 {
  font-size: 0.8rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.5rem;
  text-align: center;
}

/* ===== CATEGORY CHART OVERLAY ===== */
.category-chart-overlay {
  position: absolute;
  bottom: 0;
  right: 140px;
  z-index: 1;
}

.category-chart-card {
  background: white;
  border-radius: 12px;
  padding: 1.2rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border: 1px solid #e2e8f0;
  text-align: center;
  width: 280px;
  backdrop-filter: blur(3px);
  transition: transform 0.3s ease;
  filter: blur(1px);
  opacity: 0.8;
}

@media (max-width: 991px) {
  .category-chart-card {
    filter: none;
    opacity: 1;
    backdrop-filter: none;
  }
}

.chart-header h6 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1rem;
}

.chart-container-overlay {
  height: 200px;
  position: relative;
  margin: 0 auto;
}

@media (max-width: 991px) {
  .category-chart-overlay {
    position: static !important;
    top: auto !important;
    right: auto !important;
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .category-chart-card {
    width: 100%;
    max-width: 300px;
  }

  .chart-container-overlay {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .category-chart-card {
    padding: 0.75rem;
  }

  .chart-container-overlay {
    height: 180px;
  }

  .chart-header h6 {
    font-size: 0.8rem;
  }
}

@media (max-width: 576px) {
  .category-chart-card {
    padding: 0.5rem;
  }

  .chart-container-overlay {
    height: 160px;
  }

  .chart-header h6 {
    font-size: 0.75rem;
  }
}

/* ===== FEATURES SECTION ===== */
.features-section {
  padding: 5rem 0;
  background: #f8fafc;
}

.section-header {
  margin-bottom: 4rem;
}

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

.section-subtitle {
  font-size: 1.1rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
}

.feature-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid #e2e8f0;
}

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

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  margin-bottom: 1.5rem;
}

.feature-card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1rem;
}

.feature-card p {
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.feature-benefits {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #059669;
}

.benefit-item i {
  font-size: 0.8rem;
}

/* ===== DEMO SECTION ===== */
.demo-section {
  padding: 5rem 0;
  background: white;
}

.demo-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
}

.demo-content p {
  font-size: 1.1rem;
  color: #64748b;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.demo-steps {
  margin-bottom: 2rem;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  flex-shrink: 0;
}

.step-content h5 {
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.25rem;
}

.step-content p {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0;
}

.demo-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.demo-dashboard {
  background: #1e293b;
  border-radius: 16px;
  padding: 1.5rem;
  width: 100%;
  max-width: 400px;
  color: white;
}

.demo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.demo-title {
  font-weight: 600;
  font-size: 0.9rem;
}

.demo-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #10b981;
}

.status-indicator {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.demo-content-area {
  background: #334155;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
}

.upload-area {
  border: 2px dashed #64748b;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.upload-area:hover {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.1);
}

.upload-area i {
  font-size: 2rem;
  color: #64748b;
  margin-bottom: 0.5rem;
}

.upload-area p {
  margin: 0;
  color: #94a3b8;
  font-size: 0.9rem;
}

.processing-animation {
  margin-top: 1.5rem;
}

.processing-bar {
  height: 4px;
  background: #475569;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.processing-fill {
  height: 100%;
  background: var(--gradient-processing);
  width: 0%;
  animation: processing 3s ease-in-out infinite;
}

.processing-steps {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
}

.processing-steps .step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.processing-steps .step.active {
  opacity: 1;
  color: #10b981;
}

.processing-steps .step i {
  font-size: 1rem;
}

/* ===== ANALYTICS SHOWCASE SECTION ===== */
.analytics-showcase-section {
  padding: 5rem 0;
  background: var(--gradient-primary);
  color: white;
  position: relative;
  overflow: hidden;
}

.analytics-showcase-section .section-title,
.analytics-showcase-section .section-subtitle {
  color: white;
}

.analytics-showcase-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.analytics-row {
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.analytics-row:last-child {
  margin-bottom: 0;
}

.analytics-content {
  padding: 2rem;
}

.analytics-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: white;
}

.analytics-badge.business {
  background: rgba(16, 185, 129, 0.3);
  border-color: rgba(16, 185, 129, 0.5);
}

.analytics-badge.subscription {
  background: rgba(245, 158, 11, 0.3);
  border-color: rgba(245, 158, 11, 0.5);
}

.analytics-content h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.analytics-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.analytics-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.feature-item i {
  width: 20px;
  color: #ffd700;
  font-size: 1.1rem;
}

.analytics-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.chart-card-large {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  width: 100%;
  max-width: 500px;
  color: #333;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.chart-card-large h5 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1rem;
  text-align: center;
}

.chart-container-large {
  height: 200px;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Animation classes */
.analytics-row {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.analytics-row.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 5rem 0;
  background: var(--gradient-primary);
  color: white;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-content .lead {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.cta-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  opacity: 0.9;
}

.cta-feature i {
  color: #ffd700;
}

.cta-actions {
  margin-bottom: 1.5rem;
}

.cta-note {
  opacity: 0.8;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes processing {
  0% {
    width: 0%;
  }
  50% {
    width: 100%;
  }
  100% {
    width: 0%;
  }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    max-width: 100%;
  }

  .analytics-content h3 {
    font-size: 1.5rem;
  }

  .analytics-content p {
    font-size: 1rem;
  }

  .chart-card-large {
    max-width: 100%;
  }

  .analytics-row {
    margin-bottom: 3rem;
  }

  .hero-stats {
    flex-direction: row;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-visual {
    height: 400px;
    margin-top: 2rem;
  }

  .main-dashboard {
    position: relative;
    transform: none;
    width: 100%;
    margin-top: 2rem;
    max-width: 100%;
    padding: 1rem;
    z-index: 1;
    margin-bottom: 1rem;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .charts-section {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

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

  .cta-features {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  /* Hero section mobile fixes */
  .hero-section {
    padding: 100px 0 40px 0;
    min-height: auto;
    position: relative;
    z-index: 1;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
    padding-top: 20px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    margin-top: 2rem;
    position: relative;
    z-index: 2;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    padding: 0.75rem 1rem;
    position: relative;
    z-index: 2;
  }

  /* Dashboard mobile fixes */
  .dashboard-header {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }

  .filter-section {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }

  .metric-card {
    padding: 1rem;
    position: relative;
    z-index: 1;
  }

  .metric-content .metric-value {
    font-size: 1.1rem;
  }

  .metric-content .metric-label {
    font-size: 0.8rem;
  }

  .metric-content .metric-subtitle {
    font-size: 0.7rem;
  }

  /* Ensure proper stacking context */
  .hero-section .row {
    position: relative;
    z-index: 1;
  }

  .hero-section .col-lg-6 {
    position: relative;
    z-index: 1;
  }

  .hero-visual {
    position: relative;
    z-index: 1;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.8rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.4;
  }

  .badge-container {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 20px;
  }

  .hero-badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  .hero-stats {
    flex-direction: row;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
    flex-wrap: wrap;
  }

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

  .stat-label {
    font-size: 0.8rem;
  }

  .stat-item {
    flex: 1;
    min-width: 70px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    padding: 0.75rem 1rem;
  }

  /* Navbar responsive */
  .navbar-nav {
    text-align: center;
  }

  .navbar-nav .nav-link {
    margin: 0.5rem 0;
  }

  .navbar-nav .btn {
    margin: 0.5rem 0;
    width: 100%;
    justify-content: center;
  }

  /* Dashboard mobile fixes */
  .main-dashboard {
    padding: 1rem;
    margin: 1rem 0;
    width: 100%;
    max-width: 100%;
    z-index: 1;
    overflow: hidden;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .metric-card {
    padding: 1rem;
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .metric-icon {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }

  .metric-content .metric-value {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
  }

  .metric-content .metric-label {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
  }

  .metric-content .metric-subtitle {
    font-size: 0.8rem;
  }

  .charts-section {
    grid-template-columns: 1fr;
    gap: 1rem;
    width: 100%;
    overflow: hidden;
  }

  .chart-card {
    padding: 1rem;
    width: 100%;
    overflow: hidden;
  }

  .chart-card h6 {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
  }

  .chart-container {
    height: 100px;
    width: 100%;
    overflow: hidden;
    position: relative;
  }

  /* Fix chart canvas overflow */
  .chart-container canvas {
    max-width: 100% !important;
    height: auto !important;
    width: 100% !important;
  }

  /* Ensure charts are responsive */
  .chart-container {
    position: relative;
    width: 100%;
    height: 120px;
  }

  .chart-container canvas {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }

  /* Category Distribution specific fixes */
  .chart-container canvas[id='categoryChart'] {
    height: 100px !important;
    max-height: 100px !important;
  }

  /* Adjust chart container height for different chart types */
  .chart-card .chart-container {
    height: auto;
    min-height: 120px;
    padding-bottom: 1rem;
  }

  .chart-card .chart-container canvas[id='spendingChart'] {
    height: 80px !important;
    max-height: 80px !important;
  }

  /* Hero visual mobile fixes */
  .hero-visual {
    height: auto;
    margin-top: 1rem;
    padding: 0 1rem;
    width: 100%;
    overflow: hidden;
  }

  /* Additional chart responsive fixes */
  .chart-card-large {
    width: 100%;
    overflow: hidden;
    padding: 1rem;
  }

  .chart-container-large {
    width: 100%;
    overflow: hidden;
    position: relative;
  }

  .chart-container-large canvas {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Fix any chart legend overflow */
  .chart-card .chart-container {
    padding: 0.5rem;
  }

  /* Ensure dashboard doesn't overflow */
  .main-dashboard {
    box-sizing: border-box;
    width: 100%;
    max-width: 100vw;
    margin: 1rem auto;
    padding: 1rem;
  }

  /* Additional mobile chart fixes */
  @media (max-width: 576px) {
    .chart-container {
      width: 100% !important;
      max-width: 100% !important;
      overflow: hidden !important;
      padding: 0.5rem !important;
    }

    .chart-container canvas {
      width: 100% !important;
      max-width: 100% !important;
      height: auto !important;
    }

    .chart-card {
      width: 100% !important;
      max-width: 100% !important;
      overflow: hidden !important;
      padding: 0.75rem !important;
    }

    .charts-section {
      width: 100% !important;
      max-width: 100% !important;
      overflow: hidden !important;
    }

    /* Force chart legend to wrap properly */
    .chart-container canvas {
      max-height: 80px !important;
    }

    /* Category Distribution legend mobile fixes */
    .chart-card .chart-container {
      position: relative;
    }

    .chart-card .chart-container canvas {
      margin-bottom: 0.5rem;
    }

    /* Custom legend styling for mobile */
    .chart-card .chart-container::after {
      content: '';
      display: block;
      height: 0.5rem;
    }

    /* Ensure legend items don't overflow */
    .chart-container canvas {
      max-width: 100% !important;
    }

    /* Additional spacing for chart cards on mobile */
    .chart-card {
      margin-bottom: 1rem;
    }

    /* Fix legend alignment and spacing */
    .chart-container {
      display: flex;
      flex-direction: column;
      align-items: center;
    }
  }

  /* Ensure proper spacing */
  .hero-section .container {
    padding: 0 1rem;
  }

  .hero-section .row {
    margin: 0;
  }

  .hero-section .col-lg-6 {
    padding: 0;
  }

  /* Bootstrap grid overrides for mobile */
  .hero-section .row > [class*='col-'] {
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 1rem;
  }

  /* Force single column layout on mobile */
  .hero-section .row {
    flex-direction: column;
  }

  .hero-section .col-lg-6:first-child {
    order: 1;
    margin-bottom: 2rem;
  }

  .hero-section .col-lg-6:last-child {
    order: 2;
  }

  /* Ensure content doesn't overflow */
  .hero-content,
  .hero-visual {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  /* Fix any remaining z-index issues */
  .hero-section * {
    position: relative;
    z-index: auto;
  }

  .hero-content,
  .hero-actions,
  .hero-stats {
    z-index: 2;
  }

  .main-dashboard {
    z-index: 1;
  }
}

/* ===== FOOTER ===== */
.footer {
  background: #1e293b;
  color: white;
  padding: 2rem 0;
  margin-top: 0;
}

.footer h6 {
  color: #f8fafc;
  font-weight: 600;
}

.footer p {
  color: #94a3b8;
  margin-bottom: 0;
}

.footer small {
  color: #64748b;
}

/* Footer background color matching sidebar */
footer.bg-dark {
  background-color: #1e293b !important;
}

/* ===== NEW SECTIONS STYLES ===== */

/* Feature CTA Section */
.feature-cta-section {
  padding: 80px 0;
  background: linear-gradient(-45deg, #0593ff 0%, #250448 100%);
  color: white;
}

.feature-cta-card {
  background: transparent;
  color: white;
  padding: 0;
  border-radius: 0;
  margin-top: 0;
  box-shadow: none;
  transition: none;
}

.feature-cta-card:hover {
  transform: none;
  box-shadow: none;
}

.feature-cta-card h3 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: white;
}

.feature-cta-card p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  color: white;
}

/* How It Works Section */
.how-it-works-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, #3b82f6, #8b5cf6);
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-icon {
  width: 80px;
  height: 80px;
  min-width: 80px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  font-weight: bold;
  z-index: 2;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
  animation: pulse 3s infinite;
}

@keyframes pulse {
  0%, 100% { 
    transform: scale(1);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
  }
  50% { 
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.5);
  }
}

.timeline-content {
  flex: 1;
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.timeline-content h4 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: #1e293b;
  font-weight: 700;
}

.timeline-content p {
  color: #64748b;
  margin-bottom: 0.5rem;
}

.timeline-link {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.timeline-link:hover {
  color: #2563eb;
  text-decoration: underline;
}

/* Use Cases Section */
.use-cases-section {
  padding: 80px 0;
  background: #f8fafc;
}

.use-case-card {
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  height: 100%;
}

.use-case-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.use-case-card.featured {
  border: 3px solid #3b82f6;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
}

.badge-popular {
  position: absolute;
  top: -15px;
  right: 20px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.use-case-icon {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, #e0e7ff, #ddd6fe);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #3b82f6;
  margin-bottom: 1.5rem;
}

.use-case-card h4 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #1e293b;
  font-weight: 700;
}

.use-case-card p {
  color: #64748b;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.use-case-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
}

.use-case-benefits li {
  padding: 0.75rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #475569;
  border-top: 1px solid #e2e8f0;
}

.use-case-benefits li:first-child {
  border-top: none;
}

.use-case-benefits li i {
  color: #10b981;
  font-size: 1.1rem;
}

/* Pricing Teaser Section */
.pricing-teaser-section {
  padding: 80px 0;
  background: linear-gradient(-45deg, #0593ff 0%, #250448 100%);
  color: white;
}

.pricing-teaser-content .section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: white;
}

.pricing-teaser-content .section-subtitle {
  font-size: 1.25rem;
  margin-bottom: 0;
  opacity: 0.95;
  color: white;
}

.pricing-preview-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2.5rem;
  border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
}

.pricing-preview-card:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.pricing-preview-card.featured {
  background: white;
  color: #1e293b;
  border-color: white;
  position: relative;
}

.pricing-preview-card h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.price {
  font-size: 3.5rem;
  font-weight: bold;
  margin: 1rem 0;
  line-height: 1;
}

.pricing-preview-card.featured .price {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price span {
  font-size: 1.2rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.pricing-preview-card.featured .price span {
  color: #94a3b8;
}

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

.pricing-features li {
  padding: 0.75rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pricing-features li i {
  color: #10b981;
}

.pricing-preview-card.featured .pricing-features li i {
  color: #10b981;
}

/* Blog Preview Section */
.blog-preview-section {
  padding: 80px 0;
  background: white;
}

.blog-preview-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-preview-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.blog-image {
  width: 100%;
  height: 220px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(59, 130, 246, 0.8);
  z-index: 1;
}

.blog-image i {
  color: white;
  font-size: 3rem;
  z-index: 2;
  position: relative;
}

.blog-content {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-meta {
  color: #64748b;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.blog-meta i {
  margin-right: 0.25rem;
}

.blog-content h5 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #1e293b;
  font-weight: 700;
  line-height: 1.4;
}

.blog-content p {
  color: #64748b;
  margin-bottom: 1rem;
  flex: 1;
  line-height: 1.6;
}

.blog-link {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
  display: inline-block;
}

.blog-link:hover {
  color: #2563eb;
  text-decoration: underline;
}

/* Contact CTA Section */
.contact-cta-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
}

.contact-cta-section h3 {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
  color: #1e293b;
  font-weight: 700;
}

.contact-cta-section p {
  font-size: 1.15rem;
  color: #64748b;
  margin: 0;
}

/* Enhanced Footer */
.footer {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: white;
  padding: 60px 0 30px;
}

.footer h6 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: #f8fafc;
}

.footer p {
  color: #cbd5e1;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s, padding-left 0.3s;
  display: inline-block;
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.1);
  opacity: 1;
}

/* ===== RESPONSIVE STYLES ===== */

/* Mobile (<768px) */
@media (max-width: 767.98px) {
  /* Timeline adjustments for mobile */
  .timeline::before {
    left: 40px;
  }
  
  .timeline-item {
    flex-direction: row !important;
    padding-left: 100px;
    gap: 1rem;
  }
  
  .timeline-icon {
    position: absolute;
    left: 0;
    width: 70px;
    height: 70px;
    min-width: 70px;
    font-size: 1.75rem;
  }
  
  .timeline-content {
    flex: 1;
  }
  
  /* Use case cards */
  .use-case-card {
    margin-bottom: 2rem;
  }
  
  /* Pricing cards */
  .pricing-preview-card {
    margin-bottom: 2rem;
  }
  
  /* Blog cards */
  .blog-preview-card {
    margin-bottom: 2rem;
  }
  
  /* Contact CTA */
  .contact-cta-section .text-lg-end {
    text-align: center !important;
    margin-top: 1rem;
  }
  
  .contact-cta-section h3 {
    font-size: 1.75rem;
    text-align: center;
  }
  
  .contact-cta-section p {
    text-align: center;
  }
  
  /* Feature CTA Card */
  .feature-cta-card {
    padding: 2rem;
  }
  
  .feature-cta-card h3 {
    font-size: 1.5rem;
  }
  
  /* Footer */
  .footer {
    padding: 40px 0 20px;
  }
  
  .footer .col-lg-2,
  .footer .col-lg-4 {
    margin-bottom: 1.5rem;
  }
}

/* Tablet (768px-991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .timeline-item {
    gap: 1.5rem;
  }
  
  .timeline-icon {
    width: 70px;
    height: 70px;
    min-width: 70px;
    font-size: 1.75rem;
  }
  
  .use-case-card {
    margin-bottom: 1.5rem;
  }
  
  .pricing-preview-card {
    margin-bottom: 1.5rem;
  }
}

/* Large screens (1200px+) */
@media (min-width: 1200px) {
  .timeline {
    max-width: 1000px;
  }
}

/* Additional mobile optimizations */
@media (max-width: 575.98px) {
  /* Section padding adjustments */
  .how-it-works-section,
  .use-cases-section,
  .pricing-teaser-section,
  .blog-preview-section {
    padding: 50px 0;
  }
  
  /* Section headers */
  .section-title {
    font-size: 1.75rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  /* Timeline mobile optimizations */
  .timeline {
    padding: 1rem 0;
  }
  
  .timeline-item {
    padding-left: 90px;
    margin-bottom: 2rem;
  }
  
  .timeline-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    font-size: 1.5rem;
  }
  
  .timeline-content {
    padding: 1.5rem;
  }
  
  .timeline-content h4 {
    font-size: 1.25rem;
  }
  
  /* Use case cards mobile */
  .use-case-card {
    padding: 2rem;
  }
  
  .use-case-icon {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }
  
  .use-case-card h4 {
    font-size: 1.2rem;
  }
  
  /* Pricing cards mobile */
  .pricing-preview-card {
    padding: 2rem;
  }
  
  .price {
    font-size: 2.75rem;
  }
  
  /* Blog cards mobile */
  .blog-image {
    height: 180px;
  }
  
  .blog-content {
    padding: 1.5rem;
  }
  
  .blog-content h5 {
    font-size: 1.1rem;
  }
  
  /* Contact CTA mobile */
  .contact-cta-section {
    padding: 40px 0;
  }
  
  .contact-cta-section h3 {
    font-size: 1.5rem;
  }
  
  .contact-cta-section p {
    font-size: 1rem;
  }
  
  /* Hero actions mobile */
  .hero-actions .btn {
    width: 100%;
    margin-bottom: 0.75rem;
  }
  
  .hero-actions .btn:last-child {
    margin-bottom: 0;
  }
  
  /* CTA section mobile */
  .cta-section {
    padding: 50px 0;
  }
  
  .cta-actions {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .cta-actions .btn {
    width: 100%;
    margin: 0 !important;
  }
}
