/* Standalone Ultra-Clean Modern SaaS Layout */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Noto Sans Sinhala', 'Inter', -apple-system, sans-serif;
  background-color: #f8fafc;
  color: #334155;
  line-height: 1.6;
  padding: 50px 20px;
  position: relative;
}

#cursor-glow {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 999;
}

.container {
  max-width: 960px;
  margin: 0 auto;
}

/* Header Styles */
.income-header {
  text-align: center;
  margin-bottom: 40px;
}

.badge-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  color: #4f46e5;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 6px 16px;
  border-radius: 10px;
  border: 1px solid rgba(79, 70, 229, 0.2);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.gradient-text {
  font-size: 2.3rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
}

.subtitle {
  font-size: 1.05rem;
  color: #64748b;
  max-width: 620px;
  margin: 0 auto 28px auto;
}

/* Search Box */
.search-box-wrapper {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 16px;
  color: #64748b;
}

.search-box-wrapper input {
  width: 100%;
  padding: 14px 110px 14px 48px;
  font-size: 0.98rem;
  border-radius: 14px;
  border: 1.5px solid rgba(15, 23, 42, 0.12);
  background: #ffffff;
  outline: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
  font-family: inherit;
}

.search-box-wrapper input:focus {
  border-color: #4f46e5;
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
}

.count-badge {
  position: absolute;
  right: 12px;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
}

/* Grid Layout */
.income-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

/* Income Card Design */
.income-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.interactive-hover:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.08);
  border-color: rgba(79, 70, 229, 0.3);
}

.card-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.item-num {
  font-size: 0.82rem;
  font-weight: 800;
  color: #4f46e5;
  background: #eff6ff;
  padding: 3px 8px;
  border-radius: 6px;
}

.tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.tag-blue { background: #eff6ff; color: #1d4ed8; }
.tag-emerald { background: #ecfdf5; color: #047857; }
.tag-purple { background: #f5f3ff; color: #6d28d9; }

.income-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.income-card p {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 16px;
}

/* Card Bottom Info Badges */
.card-footer-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  font-size: 0.75rem;
}

.effort-badge {
  font-weight: 600;
  color: #64748b;
}

.yield-badge {
  font-weight: 700;
  color: #059669;
}

/* Mobile Responsiveness */
@media (max-width: 640px) {
  body { padding: 30px 14px; }
  .gradient-text { font-size: 1.8rem; }
  .search-box-wrapper input { font-size: 0.9rem; padding-right: 90px; }
}



.footer-wrapper {
  margin-top: 60px;
  background-color: transparent;
}

/* Home Button - Pill Style with Soft Shadow */
.back-home-container {
  text-align: center;
  margin-bottom: 40px;
}

.btn-home-modern {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  background: #ffffff;
  color: #0284c7;
  border: 1.5px solid #e0f2fe;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.08);
  transition: all 0.3s ease;
}

.btn-home-modern:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.25);
}

/* Footer Container */
.clean-footer {
  background-color: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 40px 5% 25px;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 25px;
  border-bottom: 1px solid #f1f5f9;
}

.brand-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #0f172a;
}

.brand-name span {
  color: #0284c7;
}

.footer-brand p {
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 4px;
}

.footer-nav {
  display: flex;
  gap: 24px;
}

.footer-nav a {
  color: #475569;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: #0284c7;
}

.footer-bottom {
  max-width: 1100px;
  margin: 20px auto 0;
  text-align: center;
  font-size: 0.85rem;
  color: #94a3b8;
}

/* Mobile Responsive */
@media (max-width: 640px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
}