/* ==========================================================================
   Project SmartSpend - Advanced UI Design System & Core Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Design Tokens & Colors */
  --bg-primary: #090a0f;
  --bg-secondary: #0d1017;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(16, 185, 129, 0.4);
  
  /* Financial States / Visual Accents */
  --accent-emerald: #10b981; /* Savings / Assets */
  --accent-emerald-glow: rgba(16, 185, 129, 0.25);
  
  --accent-blue: #3b82f6; /* Needs / Safe */
  --accent-blue-glow: rgba(59, 130, 246, 0.25);
  
  --accent-gold: #fbbf24; /* Wants / Discretionary */
  --accent-gold-glow: rgba(251, 191, 36, 0.25);
  
  --accent-rose: #f43f5e; /* Debt / High Risk */
  --accent-rose-glow: rgba(244, 63, 94, 0.25);
  
  --glass-bg: rgba(13, 16, 23, 0.7);
  --glass-blur: blur(16px);
  --glass-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.6);
  
  --font-family: 'Plus Jakarta Sans', sans-serif;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
}

/* Base resets & layouts */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background-image: radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.03) 0%, transparent 40%), 
                    radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.03) 0%, transparent 40%);
  background-attachment: fixed;
}

a {
  color: var(--accent-emerald);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  text-shadow: 0 0 10px var(--accent-emerald-glow);
}

/* Premium Top Header bar */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background: rgba(9, 10, 15, 0.8);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-color);
}

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-main);
  cursor: pointer;
}

.logo i {
  color: var(--accent-emerald);
  filter: drop-shadow(0 0 8px var(--accent-emerald-glow));
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
  border-bottom-color: var(--accent-emerald);
}

/* Dropdown Menu structures */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0;
  transition: var(--transition-fast);
}

.nav-dropdown-btn:hover {
  color: var(--text-main);
}

.nav-dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.5rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  min-width: 260px;
  box-shadow: var(--glass-shadow);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 100;
}

.nav-dropdown-content a {
  padding: 0.8rem 1.2rem;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border-left: 3px solid transparent;
  transition: var(--transition-fast);
}

.nav-dropdown-content a:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.02);
  border-left-color: var(--accent-emerald);
}

.nav-dropdown:hover .nav-dropdown-content,
.nav-dropdown.active .nav-dropdown-content {
  display: flex;
}

/* Mega Dropdown Structure */
.nav-dropdown.mega-dropdown {
  position: static;
}

.mega-dropdown-content {
  position: absolute;
  top: 100%;
  left: 5%;
  right: 5%;
  margin-top: 0.5rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: var(--glass-shadow);
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 2rem;
  z-index: 1000;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.nav-dropdown:hover .mega-dropdown-content,
.nav-dropdown.active .mega-dropdown-content {
  display: grid !important;
}

.mega-dropdown-column {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mega-dropdown-column h4 {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.8rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mega-dropdown-column a {
  padding: 0.5rem 0.8rem !important;
  color: var(--text-muted) !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  border-radius: 8px !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  transition: var(--transition-fast) !important;
  border-left: none !important;
}

.mega-dropdown-column a i {
  font-size: 0.85rem;
  width: 16px;
  text-align: center;
}

.mega-dropdown-column a:hover {
  color: var(--text-main) !important;
  background: rgba(255, 255, 255, 0.03) !important;
}

.mega-dropdown-column a.active {
  color: var(--accent-emerald) !important;
  background: rgba(16, 185, 129, 0.05) !important;
  border-left: none !important;
}

/* Responsiveness for Mega Menu on smaller screens */
@media (max-width: 1024px) {
  .mega-dropdown-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1.2rem;
  }
}

@media (max-width: 768px) {
  .mega-dropdown-content {
    position: static;
    transform: none;
    min-width: 100%;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1rem;
    box-shadow: none;
    border: none;
    background: transparent;
  }
}

.premium-badge {
  background: linear-gradient(135deg, var(--accent-emerald), var(--accent-blue));
  color: #000;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Main layouts */
main {
  max-width: 1250px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 1.8rem;
  box-shadow: var(--glass-shadow);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

/* Hero Section */
.hero-section {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 4rem;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.hero-text h1 span {
  background: linear-gradient(135deg, var(--accent-emerald), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(16, 185, 129, 0.15));
}

.hero-text p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Custom interactive finance graphic (SVG) */
.hero-svg-canvas {
  width: 100%;
  max-width: 380px;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.4));
}

.hero-visual-badge {
  position: absolute;
  bottom: 10%;
  right: 5%;
  background: rgba(13, 16, 23, 0.85);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-color);
  padding: 0.6rem 1rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: var(--glass-shadow);
}

.hero-visual-badge i {
  color: var(--accent-emerald);
}

/* Section headers */
.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 650px;
  margin: 0 auto;
}

/* Search engine widgets */
.search-container {
  margin-bottom: 2rem;
}

.search-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 0.3rem 0.8rem;
  transition: var(--transition-smooth);
}

.search-wrapper:focus-within {
  border-color: var(--accent-emerald);
  box-shadow: 0 0 12px var(--accent-emerald-glow);
  background: rgba(255, 255, 255, 0.05);
}

.search-icon {
  color: var(--text-muted);
  margin-right: 0.8rem;
}

.search-wrapper input {
  background: none;
  border: none;
  outline: none;
  color: var(--text-main);
  font-family: var(--font-family);
  font-size: 1rem;
  width: 100%;
  padding: 0.6rem 0;
}

.search-clear-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  padding: 0.5rem;
  border-radius: 50%;
  transition: var(--transition-fast);
}

.search-clear-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.08);
}

.search-results-dropdown {
  position: absolute;
  top: 105%;
  left: 0;
  right: 0;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  max-height: 280px;
  overflow-y: auto;
  box-shadow: var(--glass-shadow);
  z-index: 1010;
}

.search-result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1.2rem;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition-fast);
}

.search-result-item:hover {
  background: rgba(255,255,255,0.02);
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item span mark {
  background: rgba(16, 185, 129, 0.2);
  color: var(--accent-emerald);
  padding: 0.1rem 0.2rem;
  border-radius: 3px;
}

.search-quick-add-btn {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-emerald);
  border-radius: 6px;
  padding: 0.3rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}

.search-quick-add-btn:hover {
  background: var(--accent-emerald);
  color: #000;
}

.hidden {
  display: none !important;
}

/* Main Grid Layout for tools */
.tools-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

.tools-left-col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.tools-right-col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Tool Widget structures */
.control-group {
  margin-bottom: 1.5rem;
}

.control-group:last-child {
  margin-bottom: 0;
}

.control-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text-main);
}

.premium-select {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-main);
  padding: 0.8rem 1rem;
  outline: none;
  font-family: var(--font-family);
  font-size: 0.95rem;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.25rem;
  transition: var(--transition-smooth);
}

.premium-select:focus {
  border-color: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald-glow);
}

/* Custom range inputs */
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-emerald);
  cursor: pointer;
  box-shadow: 0 0 10px var(--accent-emerald-glow);
  transition: var(--transition-fast);
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.weight-value {
  color: var(--accent-emerald);
  font-weight: 800;
  font-size: 1.1rem;
}

/* Quick presets buttons */
.presets-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.btn-preset {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  border-radius: 10px;
  padding: 0.6rem 0.4rem;
  cursor: pointer;
  font-family: var(--font-family);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  transition: var(--transition-smooth);
}

.btn-preset i {
  font-size: 1rem;
}

.btn-preset span {
  font-size: 0.75rem;
  font-weight: 600;
}

.btn-preset span.desc {
  font-size: 0.65rem;
  opacity: 0.7;
}

.btn-preset:hover, .btn-preset.active {
  background: rgba(16, 185, 129, 0.08);
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
}

/* General Button designs */
.btn-variety {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  border-radius: 10px;
  padding: 0.6rem 1.2rem;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  font-family: var(--font-family);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-smooth);
}

.btn-variety:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Macronutrients rings layout */
.macro-gauges {
  display: flex;
  justify-content: space-around;
  gap: 1rem;
  margin-top: 1rem;
}

.macro-ring {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 90px;
  position: relative;
}

.circle-svg {
  width: 70px;
  height: 70px;
  transform: rotate(-90deg);
}

.circle-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.04);
  stroke-width: 6px;
}

.circle-fill {
  fill: none;
  stroke-width: 6px;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.ring-carbs .circle-fill {
  stroke: var(--accent-blue);
  filter: drop-shadow(0 0 3px var(--accent-blue-glow));
}

.ring-protein .circle-fill {
  stroke: var(--accent-emerald);
  filter: drop-shadow(0 0 3px var(--accent-emerald-glow));
}

.ring-fat .circle-fill {
  stroke: var(--accent-gold);
  filter: drop-shadow(0 0 3px var(--accent-gold-glow));
}

.macro-ring-text {
  position: absolute;
  top: 22px;
  left: 0;
  right: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.macro-val {
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
}

.macro-unit {
  font-size: 0.6rem;
  color: var(--text-muted);
}

.macro-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

/* Detailed Dashboard panels */
.summary-banner {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.2rem;
  margin-bottom: 1.2rem;
}

.cal-count {
  display: flex;
  flex-direction: column;
}

.cal-count .num {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent-emerald);
  text-shadow: 0 0 15px var(--accent-emerald-glow);
}

.cal-count .lbl {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.4rem;
}

/* Progress bar lists */
.detail-nutrients-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
  margin-top: 1rem;
}

.nutrient-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  padding: 0.4rem 0;
}

.nutrient-row.flex-column {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
}

.nutrient-name {
  color: var(--text-muted);
  font-weight: 600;
  display: flex;
  align-items: center;
}

.nutrient-value {
  font-weight: 700;
}

.nutrient-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
  overflow: hidden;
}

.nutrient-progress-fill {
  height: 100%;
  border-radius: 4px;
  width: 0;
  transition: width 0.6s ease;
}

/* Checklist items (clean transitions) */
.sub-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1rem;
}

.sub-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 0.8rem 1rem;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.sub-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.15);
}

.sub-item.active {
  border-color: var(--accent-rose);
  background: rgba(244, 63, 94, 0.04);
}

.sub-item-left {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.sub-checkbox {
  width: 18px;
  height: 18px;
  border: 2px solid var(--text-muted);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.sub-checkbox i {
  font-size: 0.65rem;
  color: #000;
  display: none;
}

.sub-item.active .sub-checkbox {
  background: var(--accent-rose);
  border-color: var(--accent-rose);
  box-shadow: 0 0 8px var(--accent-rose-glow);
}

.sub-item.active .sub-checkbox i {
  display: block;
}

.sub-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.sub-price {
  font-weight: 800;
  font-size: 0.95rem;
}

/* Side hustle goals calculator input */
.goal-input-box {
  display: flex;
  gap: 0.8rem;
  margin-top: 0.5rem;
}

.goal-input-box input {
  flex-grow: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-main);
  padding: 0.8rem 1rem;
  font-family: var(--font-family);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.goal-input-box input:focus {
  border-color: var(--accent-emerald);
}

.hustle-results {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1rem;
}

.hustle-row {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 0.9rem 1.2rem;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hustle-info {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.hustle-icon {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.hustle-name {
  font-weight: 700;
  font-size: 0.9rem;
}

.hustle-rate {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.hustle-hours {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--accent-emerald);
}

/* Debt Simulator */
.debt-table-container {
  overflow-x: auto;
  margin-top: 1rem;
}

.debt-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.debt-table th {
  color: var(--text-muted);
  font-weight: 700;
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid var(--border-color);
}

.debt-table td {
  padding: 0.8rem;
  border-bottom: 1px solid var(--border-color);
  font-weight: 600;
}

.debt-table tr:last-child td {
  border-bottom: none;
}

.debt-input-field {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--text-main);
  padding: 0.4rem 0.6rem;
  font-family: var(--font-family);
  font-size: 0.85rem;
  outline: none;
}

.debt-input-field:focus {
  border-color: var(--accent-rose);
}

.btn-add-debt {
  background: none;
  border: 1px dashed var(--border-color);
  color: var(--text-muted);
  width: 100%;
  padding: 0.6rem;
  border-radius: 10px;
  cursor: pointer;
  font-family: var(--font-family);
  font-weight: 600;
  margin-top: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: var(--transition-fast);
}

.btn-add-debt:hover {
  border-color: var(--text-muted);
  color: var(--text-main);
}

.debt-btn-delete {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.95rem;
  padding: 0.3rem;
  transition: var(--transition-fast);
}

.debt-btn-delete:hover {
  color: var(--accent-rose);
}

/* Editorial Silos Hub */
.editorial-section {
  margin-bottom: 4rem;
}

.editorial-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.editorial-tab-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  border-radius: 30px;
  padding: 0.7rem 1.6rem;
  font-family: var(--font-family);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.editorial-tab-btn:hover {
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.2);
}

.editorial-tab-btn.active {
  background: var(--accent-emerald);
  color: #000;
  border-color: var(--accent-emerald);
  box-shadow: 0 0 15px var(--accent-emerald-glow);
}

.editorial-content {
  display: none;
}

.editorial-content.active {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.article-card {
  background: var(--glass-bg);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.article-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,0.15);
}

.article-img {
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.article-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9, 10, 15, 0.9), transparent);
}

.article-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(9, 10, 15, 0.75);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 0.3rem 0.6rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
}

.article-info {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-info h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  line-height: 1.35;
  color: var(--text-main);
}

.article-info p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1.2rem;
  line-height: 1.5;
  flex-grow: 1;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  padding-top: 0.8rem;
  font-weight: 600;
}

/* Compare Duel matrix widgets */
.compare-rows-container {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.compare-row-stat {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 0.8rem 1rem;
  border-radius: 10px;
}

.compare-stat-val {
  text-align: center;
  font-weight: 800;
}

.compare-stat-lbl {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
}

.compare-stat-val.winner-a {
  color: var(--accent-emerald);
  text-shadow: 0 0 10px var(--accent-emerald-glow);
}

.compare-stat-val.winner-b {
  color: var(--accent-emerald);
  text-shadow: 0 0 10px var(--accent-emerald-glow);
}

/* Ad slots templates styling */
.native-ad-section {
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  margin-bottom: 3rem;
}

.ad-tag {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  text-align: center;
}

.ad-card {
  background: rgba(255, 255, 255, 0.01);
  border: 1px dashed var(--border-color);
  border-radius: 12px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.floating-ad-panel {
  position: fixed;
  bottom: 20px;
  right: -360px;
  width: 320px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  box-shadow: var(--glass-shadow);
  z-index: 1100;
  overflow: hidden;
  transition: right 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-ad-panel.show {
  right: 20px;
}

.floating-ad-header {
  background: rgba(0, 0, 0, 0.2);
  padding: 0.5rem 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}

.floating-ad-label {
  font-size: 0.6rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.floating-ad-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.1rem;
}

.floating-ad-body {
  padding: 0.8rem;
  display: flex;
  justify-content: center;
}

/* Top sliding ad unit */
.top-ad-panel {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  padding: 0.5rem 2rem;
  display: block;
}

.top-ad-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.top-ad-label {
  font-size: 0.6rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.top-ad-body {
  flex-grow: 1;
  display: flex;
  justify-content: center;
}

.top-ad-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.2rem;
  padding: 0.2rem 0.5rem;
}

/* CCPA Opt-Out Banner structure */
.ccpa-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(9, 10, 15, 0.95);
  backdrop-filter: var(--glass-blur);
  border-top: 1px solid var(--border-color);
  padding: 1.2rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2000;
  box-shadow: 0 -8px 32px rgba(0,0,0,0.5);
  animation: slideUp 0.5s ease-out;
}

.ccpa-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 70%;
}

.ccpa-text strong {
  color: var(--text-main);
}

.ccpa-actions {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.btn-ccpa-opt {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  font-family: var(--font-family);
  transition: var(--transition-fast);
}

.btn-ccpa-opt:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-ccpa-opt.primary {
  background: var(--accent-emerald);
  color: #000;
  border: none;
}

.btn-ccpa-opt.primary:hover {
  box-shadow: 0 0 10px var(--accent-emerald-glow);
}

/* CCPA details modal */
.ccpa-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.ccpa-modal.active {
  display: flex;
}

.ccpa-modal-card {
  max-width: 500px;
  width: 100%;
}

.ccpa-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.8rem;
}

.ccpa-modal-header h3 {
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ccpa-modal-header h3 i {
  color: var(--accent-emerald);
}

.ccpa-modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.5rem;
}

.ccpa-modal-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.ccpa-toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 1rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.ccpa-toggle-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.ccpa-toggle-info p {
  font-size: 0.75rem;
  margin-bottom: 0;
}

/* Custom switch designs */
.switch-control {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 24px;
}

.switch-control input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: rgba(255,255,255,0.08);
  border: 1px solid var(--border-color);
  border-radius: 34px;
  transition: .3s;
}

.switch-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: var(--text-muted);
  border-radius: 50%;
  transition: .3s;
}

.switch-control input:checked + .switch-slider {
  background-color: var(--accent-emerald-glow);
  border-color: var(--accent-emerald);
}

.switch-control input:checked + .switch-slider:before {
  transform: translateX(24px);
  background-color: var(--accent-emerald);
}

/* Footer layout */
footer {
  border-top: 1px solid var(--border-color);
  padding: 3rem 0;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-widget h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.footer-widget p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.newsletter-form input {
  width: 100%;
  padding: 0.7rem 1rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-main);
  outline: none;
  font-family: var(--font-family);
  font-size: 0.9rem;
}

.newsletter-form input:focus {
  border-color: var(--accent-emerald);
}

.newsletter-form button {
  padding: 0.7rem;
  background: var(--accent-emerald);
  color: #000;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}

.newsletter-form button:hover {
  box-shadow: 0 0 10px var(--accent-emerald-glow);
}

.footer-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  list-style: none;
}

.footer-links-grid a {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.footer-links-grid a:hover {
  color: var(--text-main);
}

.footer-copy {
  text-align: center;
  margin-top: 3rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
}

/* Back to top button styling */
.back-to-top {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 44px;
  height: 44px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--text-main);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--glass-shadow);
  z-index: 900;
  transition: var(--transition-fast);
}

.back-to-top:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-3px);
  color: var(--accent-emerald);
  border-color: var(--accent-emerald);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Animations */
@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

/* Responsive queries */
@media (max-width: 992px) {
  .hero-section {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-text p {
    margin: 0 auto 2rem auto;
  }
  .tools-grid {
    grid-template-columns: 1fr;
  }
  .editorial-content.active {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  .editorial-content.active {
    grid-template-columns: 1fr;
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .ccpa-banner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .ccpa-text {
    max-width: 100%;
  }
}

/* ==========================================================================
   Project SmartSpend - Dashboard Layout Styles
   ========================================================================== */
.dashboard-frame {
  display: grid;
  grid-template-columns: 285px 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
  margin-bottom: 4rem;
  align-items: start;
}

.dashboard-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  position: sticky;
  top: 90px;
  z-index: 10;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 1.2rem;
  box-shadow: var(--glass-shadow);
}

.db-tab-btn {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0.9rem 1.2rem;
  color: var(--text-muted);
  cursor: pointer;
  font-family: var(--font-family);
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
  transition: var(--transition-smooth);
  width: 100%;
}

.db-tab-btn i {
  font-size: 1.3rem;
  width: 24px;
  text-align: center;
  transition: var(--transition-fast);
}

.db-tab-info {
  display: flex;
  flex-direction: column;
}

.db-tab-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
  transition: var(--transition-fast);
}

.db-tab-desc {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.db-tab-btn:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
}

.db-tab-btn.active {
  background: rgba(16, 185, 129, 0.06);
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.1);
}

.db-tab-btn.active i {
  color: var(--accent-emerald);
  filter: drop-shadow(0 0 5px var(--accent-emerald-glow));
}

.db-tab-btn.active .db-tab-title {
  color: var(--accent-emerald);
}

.db-tab-btn.active .db-tab-desc {
  color: rgba(16, 185, 129, 0.7);
}

.dashboard-content {
  min-width: 0; /* Prevents layout breakouts */
}

.db-tab-content {
  display: none;
  animation: fadeIn 0.4s ease;
}

.db-tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Dashboard Queries */
@media (max-width: 992px) {
  .dashboard-frame {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .dashboard-sidebar {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    padding: 0.8rem;
    gap: 0.6rem;
    border-radius: 15px;
    scrollbar-width: none; /* Hide scrollbar Firefox */
  }
  
  .dashboard-sidebar::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome/Safari */
  }
  
  .db-tab-btn {
    padding: 0.65rem 1.1rem;
    white-space: nowrap;
    width: auto;
    flex-shrink: 0;
  }
  
  .db-tab-desc {
    display: none;
  }
}

/* Floating Ad Banner */
.floating-ad-banner {
  position: fixed;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 760px;
  background: rgba(13, 16, 23, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 16px;
  padding: 1rem 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(16, 185, 129, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  transition: top 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-ad-banner.show {
  top: 20px;
}

.floating-ad-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
}

.floating-ad-content i.ad-icon {
  color: var(--accent-emerald);
  font-size: 1.2rem;
  filter: drop-shadow(0 0 5px var(--accent-emerald-glow));
}

.floating-ad-btn {
  background: linear-gradient(135deg, var(--accent-emerald), var(--accent-blue));
  border: none;
  color: #000;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.45rem 1rem;
  border-radius: 20px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.2);
  transition: var(--transition-fast);
  margin-left: 1rem;
  display: inline-block;
  text-shadow: none;
}

.floating-ad-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 15px rgba(16, 185, 129, 0.3);
  color: #000 !important;
}

.floating-ad-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 0.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.floating-ad-close:hover {
  color: var(--accent-rose);
}

/* Premium Glassmorphic Pull Quotes */
blockquote.premium-quote {
  position: relative;
  margin: 2.5rem 0;
  padding: 2rem 2.5rem 2rem 3.5rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-left: 4px solid var(--accent-emerald);
  border-radius: 0 16px 16px 0;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

blockquote.premium-quote::before {
  content: "\201C"; /* opening curly double quote */
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  font-size: 5rem;
  font-family: Georgia, serif;
  color: rgba(16, 185, 129, 0.15);
  line-height: 1;
}

blockquote.premium-quote p {
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--text-main);
  margin-bottom: 0.8rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

blockquote.premium-quote cite {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-blue);
  font-style: normal;
}

blockquote.premium-quote cite span {
  color: var(--text-muted);
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
}

/* GEO / AI SEO Direct Answer Snippet */
.geo-direct-answer {
  background: rgba(59, 130, 246, 0.05);
  border: 1px dashed rgba(59, 130, 246, 0.3);
  border-radius: 12px;
  padding: 1.2rem;
  margin-bottom: 2rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-main);
}
.geo-direct-answer strong {
  color: var(--accent-blue);
  display: block;
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
}

/* Organic narrative paragraph styling */
.organic-narrative {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-main);
  margin: 1.5rem 0;
  padding: 0 0.5rem;
  border-left: 3px solid rgba(59, 130, 246, 0.2);
}

/* World-class UI/UX Editorial insights & hero tag updates */
.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--accent-emerald);
  padding: 0.4rem 0.9rem;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.2rem;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.05);
}

.hero-subtitle-lead {
  color: var(--text-muted);
  font-size: 1.15rem !important;
  line-height: 1.6;
  margin-bottom: 1.8rem;
  max-width: 620px;
}

.editorial-insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
  margin-bottom: 3.5rem;
}

.insight-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 1.5rem;
  min-height: 160px;
  background: var(--glass-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: var(--glass-shadow);
  transition: var(--transition-smooth);
}

.insight-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.insight-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent-emerald);
  margin-bottom: 0.8rem;
  letter-spacing: 0.05em;
}

.culture-insight .insight-badge {
  color: var(--accent-blue);
}

.guidance-insight .insight-badge {
  color: var(--accent-gold);
}

.quote-insight {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 992px) {
  .editorial-insights-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    margin-bottom: 2.5rem;
  }
  .insight-card {
    min-height: auto;
  }
}

