/* CSS Custom Properties for Theme Management */
:root {
  /* Light Theme Colors */
  --primary-color: #007AFF;
  --secondary-color: #5856D6;
  --accent-color: #FF9500;
  --success-color: #34C759;
  --warning-color: #FF9500;
  --error-color: #FF3B30;

  /* Glassmorphism Colors */
  --glass-bg: rgba(255, 255, 255, 0.25);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-shadow: rgba(0, 0, 0, 0.1);

  /* Text Colors */
  --text-primary: #1D1D1F;
  --text-secondary: #6E6E73;
  --text-tertiary: #8E8E93;

  /* Background Colors */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8F9FA;
  --bg-card: rgba(255, 255, 255, 0.9);

  /* Financial Colors (matching app) */
  --income-color: #34C759;
  --expense-color: #FF3B30;
  --investment-color: #5856D6;
  --housing-color: #007AFF;
  --transport-color: #34C759;
  --food-color: #FF9500;
  --entertainment-color: #5856D6;
  --health-color: #FF3B30;
  --shopping-color: #FF2D92;

  /* Spacing */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 48px;
  --spacing-3xl: 64px;

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

  /* Typography */
  --font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
}

/* Dark Theme Colors */
[data-theme="dark"], .dark-theme {
  --glass-bg: rgba(0, 0, 0, 0.25);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: rgba(0, 0, 0, 0.3);

  --text-primary: #F5F5F7;
  --text-secondary: #A1A1A6;
  --text-tertiary: #6E6E73;

  --bg-primary: #1C1C1E;
  --bg-secondary: #2C2C2E;
  --bg-card: rgba(28, 28, 30, 0.8);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  transition: all 0.3s ease;
  overflow-x: hidden;
}

/* Glass Morphism Effect */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 32px var(--glass-shadow);
  transition: all 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px var(--glass-shadow);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

/* Navigation */
.nav-glass {
  position: fixed;
  top: 40px; /* Account for coming soon banner */
  width: 100%;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--spacing-md) var(--spacing-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.app-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
}

.brand-text {
  font-weight: var(--font-weight-semibold);
  font-size: 18px;
  color: var(--text-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.theme-toggle {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  cursor: pointer;
  padding: 4px;
  border-radius: 20px;
  transition: all 0.3s ease;
  position: relative;
  width: 60px;
  height: 32px;
  display: flex;
  align-items: center;
  backdrop-filter: blur(10px);
}

.light-theme .theme-toggle {
  background: #F8F9FA;
  border: 1px solid #E5E7EB;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.dark-theme .theme-toggle {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
}

.light-theme .theme-toggle:hover {
  background: #E5E7EB;
  transform: translateY(-1px);
}

.theme-icon {
  position: absolute;
  transition: all 0.3s ease;
  font-size: 16px;
  width: 24px;
  height: 24px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.light-theme .theme-icon {
  background: white;
  border: 1px solid #E5E7EB;
  color: #374151;
}

.dark-theme .theme-icon {
  background: #2a2a2a;
  color: white;
  border: none;
}

.light-theme .sun-icon {
  opacity: 1;
  transform: translateX(0px);
  left: 4px;
}

.light-theme .moon-icon {
  opacity: 0;
  transform: translateX(32px);
  left: 4px;
}

.dark-theme .sun-icon {
  opacity: 0;
  transform: translateX(-32px);
  left: 32px;
}

.dark-theme .moon-icon {
  opacity: 1;
  transform: translateX(0px);
  left: 32px;
}

.nav-cta {
  background: var(--primary-color);
  color: white;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  transition: all 0.3s ease;
}

.nav-cta:hover {
  background: #0056b3;
  transform: translateY(-1px);
}

/* Hero Section */
.hero {
  margin-top: 120px; /* Account for coming soon banner + nav */
  padding: var(--spacing-3xl) 0;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: var(--font-weight-bold);
  line-height: 1.1;
  margin-bottom: var(--spacing-lg);
  color: var(--text-primary);
}

.gradient-text {
  background: linear-gradient(135deg, #007AFF, #5AC8FA, #007AFF);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  50% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xl);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
}

.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 122, 255, 0.3);
}

.btn-appstore {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  background: #000000;
  color: white;
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: var(--radius-lg);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  transition: all 0.3s ease;
  border: 1px solid #333333;
  min-height: 60px;
}

.btn-appstore:hover {
  background: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.appstore-logo {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.appstore-logo::before {
  content: "🍎";
  filter: grayscale(1) brightness(0) invert(1);
}

.appstore-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.appstore-subtitle {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: var(--font-weight-normal);
}

.appstore-title {
  font-size: 1.1rem;
  color: white;
  font-weight: var(--font-weight-semibold);
}

.btn-secondary {
  background: var(--glass-bg);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--bg-card);
  transform: translateY(-2px);
}

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-lg);
}

.privacy-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  background: var(--glass-bg);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-xl);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Dashboard Preview - Removed */

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-md);
  border-bottom: 1px solid var(--glass-border);
}

.window-controls {
  display: flex;
  gap: var(--spacing-xs);
}

.control {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.control:hover {
  transform: scale(1.2);
}

.control.red { background: #FF5F57; }
.control.yellow { background: #FFBD2E; }
.control.green { background: #28CA42; }

.preview-title {
  font-weight: var(--font-weight-medium);
  color: var(--text-secondary);
  font-size: 0.9rem;
  flex: 1;
  text-align: center;
}

.preview-period {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  background: var(--primary-color);
  color: white;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: var(--font-weight-medium);
}

/* Dashboard Content */
.dashboard-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.dashboard-title {
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  margin-bottom: var(--spacing-xs);
}

.dashboard-subtitle {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Metrics Grid */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
}

.metric-widget {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  transition: all 0.3s ease;
  cursor: pointer;
}

.metric-widget:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--glass-shadow);
}

.metric-icon {
  font-size: 2rem;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
}

.income-widget .metric-icon {
  background: rgba(52, 199, 89, 0.1);
}

.expense-widget .metric-icon {
  background: rgba(255, 59, 48, 0.1);
}

.net-widget .metric-icon {
  background: rgba(0, 122, 255, 0.1);
}

.metric-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.metric-value {
  font-size: 1.3rem;
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
}

.metric-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: var(--font-weight-medium);
}

.metric-change {
  font-size: 0.7rem;
  font-weight: var(--font-weight-semibold);
  padding: 2px 6px;
  border-radius: 4px;
  width: fit-content;
}

.metric-change.positive {
  background: rgba(52, 199, 89, 0.1);
  color: var(--success-color);
}

.metric-change.negative {
  background: rgba(255, 59, 48, 0.1);
  color: var(--error-color);
}

/* Charts Section */
.charts-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
}

.chart-widget {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  transition: all 0.3s ease;
}

.chart-widget:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--glass-shadow);
}

.chart-header {
  margin-bottom: var(--spacing-md);
}

.chart-title-section {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.chart-icon {
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
}

.chart-titles {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.chart-title {
  font-size: 0.9rem;
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  margin: 0;
}

.chart-subtitle {
  font-size: 0.7rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Interactive Pie Chart */
.pie-chart-container {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.interactive-pie-chart {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.interactive-pie-chart:hover {
  transform: scale(1.05);
}

.pie-slice {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  transition: all 0.3s ease;
  cursor: pointer;
}

.pie-slice:hover {
  transform: scale(1.1);
  z-index: 10;
}

.slice-1 {
  background: conic-gradient(from 0deg, var(--housing-color) 0deg 130deg, transparent 130deg);
}

.slice-2 {
  background: conic-gradient(from 130deg, var(--food-color) 0deg 75deg, transparent 75deg);
}

.slice-3 {
  background: conic-gradient(from 205deg, var(--transport-color) 0deg 47deg, transparent 47deg);
}

.slice-4 {
  background: conic-gradient(from 252deg, var(--shopping-color) 0deg 42deg, transparent 42deg);
}

.slice-5 {
  background: conic-gradient(from 294deg, var(--text-tertiary) 0deg 66deg, transparent 66deg);
}

.chart-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg-card);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  justify-content: center;
  border: 1px solid var(--glass-border);
  font-size: 0.6rem;
}

.chart-total {
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  font-size: 0.6rem;
  line-height: 1;
}

.chart-total-label {
  color: var(--text-secondary);
  font-size: 0.5rem;
  line-height: 1;
}

/* Chart Legend */
.chart-legend {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  flex: 1;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-xs);
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 0.7rem;
}

.legend-item:hover {
  background: var(--glass-bg);
  transform: translateX(2px);
}

.legend-color {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.housing-color { background: var(--housing-color); }
.food-color { background: var(--food-color); }
.transport-color { background: var(--transport-color); }
.shopping-color { background: var(--shopping-color); }
.others-color { background: var(--text-tertiary); }

.legend-text {
  flex: 1;
  color: var(--text-secondary);
  font-size: 0.65rem;
}

.legend-amount {
  color: var(--text-primary);
  font-weight: var(--font-weight-semibold);
  font-size: 0.65rem;
}

/* Interactive Line Chart */
.line-chart-container {
  position: relative;
  margin-bottom: var(--spacing-sm);
}

.interactive-line-chart {
  width: 100%;
  height: 80px;
  border-radius: var(--radius-sm);
  background: var(--glass-bg);
}

.chart-line {
  filter: drop-shadow(0 2px 4px rgba(0, 212, 170, 0.3));
}

.chart-point {
  fill: #00D4AA;
  stroke: white;
  stroke-width: 2;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
}

.chart-point:hover {
  r: 5;
  opacity: 1;
}

.interactive-line-chart:hover .chart-point {
  opacity: 0.7;
}

.chart-tooltip {
  position: absolute;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: var(--spacing-xs);
  font-size: 0.7rem;
  pointer-events: none;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.tooltip-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: center;
}

.tooltip-day {
  color: var(--text-secondary);
  font-size: 0.6rem;
}

.tooltip-amount {
  color: var(--text-primary);
  font-weight: var(--font-weight-bold);
  font-size: 0.7rem;
}

.chart-axis {
  display: flex;
  justify-content: space-between;
  margin-top: var(--spacing-xs);
}

.axis-label {
  font-size: 0.6rem;
  color: var(--text-secondary);
}

/* =================================
   COMING SOON ELEMENTS - DELETE THIS ENTIRE SECTION WHEN APP IS LIVE
   Also revert:
   - .nav-glass top: 40px -> top: 0
   - .hero margin-top: 120px -> margin-top: 80px
   ================================= */
.coming-soon-banner {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  color: white;
  text-align: center;
  padding: var(--spacing-sm) 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001; /* Above navigation */
  animation: comingSoonGlow 3s ease-in-out infinite alternate;
}

.banner-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.banner-text {
  font-weight: var(--font-weight-medium);
  font-size: 0.9rem;
}

.coming-soon-badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  padding: var(--spacing-sm) var(--spacing-md);
  backdrop-filter: blur(10px);
  color: var(--text-primary);
  font-weight: var(--font-weight-medium);
  font-size: 0.9rem;
  margin-top: var(--spacing-md);
  display: inline-block;
  animation: comingSoonPulse 2s ease-in-out infinite;
}

.coming-soon-badge.small {
  padding: var(--spacing-xs) var(--spacing-sm);
  font-size: 0.8rem;
  margin-top: var(--spacing-sm);
}

@keyframes comingSoonGlow {
  0% { box-shadow: 0 0 5px rgba(0, 122, 255, 0.5); }
  100% { box-shadow: 0 0 20px rgba(0, 122, 255, 0.8); }
}

@keyframes comingSoonPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

/* Sections */
section {
  padding: var(--spacing-3xl) 0;
}

/* App Demo Video Section */
.app-demo-section {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  padding: var(--spacing-3xl) 0;
  position: relative;
  overflow: hidden;
}


.demo-video-container {
  display: flex;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: var(--spacing-3xl) 0;
}


/* Theme-based video visibility */
.dark-theme .demo-video.dark-video {
  opacity: 1;
}

.light-theme .demo-video.light-video {
  opacity: 1;
}

.demo-video-wrapper {
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  width: 100%;
  /* Set exact aspect ratio of your video content */
  aspect-ratio: 539 / 360;
}

.demo-video {
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  display: block;
  position: absolute;
  top: -2px;
  left: -2px;
  opacity: 0;
  transition: opacity 0.3s ease;
  /* Center video and crop black bars */
  object-fit: cover;
  /* Add subtle corner radius */
  border-radius: var(--radius-md);
}

.demo-features {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.demo-feature {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-md);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.demo-feature:hover {
  transform: translateX(5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.demo-feature-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.demo-feature-text {
  color: var(--text-primary);
  font-weight: var(--font-weight-medium);
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
}

.section-title {
  font-size: 2.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
}

.section-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.subsection-title {
  font-size: 1.8rem;
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  margin: var(--spacing-3xl) 0 var(--spacing-lg) 0;
  text-align: center;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-2xl);
}

.feature-card {
  padding: var(--spacing-xl);
  text-align: center;
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
  display: block;
}

.feature-title {
  font-size: 1.3rem;
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
}

.feature-description {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Capabilities Grid */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.capability-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  background: var(--bg-card);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.capability-icon {
  font-size: 1.5rem;
  width: 40px;
  text-align: center;
}

.capability-text {
  font-weight: var(--font-weight-medium);
  color: var(--text-primary);
}

/* CSV Section */
.csv-section {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.csv-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  padding: var(--spacing-3xl);
  align-items: center;
}

.csv-title {
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
}

.csv-description {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-lg);
  font-size: 1.1rem;
  line-height: 1.6;
}

.csv-features {
  margin-bottom: var(--spacing-xl);
}

.csv-feature {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
}

.csv-icon {
  font-size: 1.2rem;
  color: var(--success-color);
}

.csv-preview {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  font-family: 'SF Mono', Consolas, monospace;
  font-size: 0.9rem;
}

.csv-header {
  background: var(--text-tertiary);
  color: white;
  padding: var(--spacing-sm) var(--spacing-md);
  font-weight: var(--font-weight-medium);
}

.csv-content-preview {
  padding: var(--spacing-md);
}

.csv-row {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: var(--spacing-md);
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid var(--glass-border);
}

.csv-row.header {
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  border-bottom: 2px solid var(--glass-border);
}

.csv-row:not(.header) {
  color: var(--text-secondary);
}

/* Download Section */
.download-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: var(--spacing-3xl) 0;
}

.download-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.download-title {
  font-size: 2.5rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-lg);
}

.download-description {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-2xl);
  opacity: 0.9;
}

/* New Clean Download Section */
.download-content-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-2xl);
  margin: 0 auto;
  max-width: 600px;
}

.app-store-button-large {
  display: inline-block;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.app-store-button-large:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.app-store-badge-large {
  height: 60px;
  width: auto;
}

.pricing-options-three {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0;
}

.price-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  min-width: 140px;
  position: relative;
}

.price-option.recommended {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border: 2px solid var(--primary-color);
  color: white;
}

.price-option.free-trial {
  background: linear-gradient(135deg, var(--success-color), #2ECC71);
  border: 2px solid var(--success-color);
  color: white;
  position: relative;
}

.trial-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 1.5rem;
}

.price-option.recommended .price-period,
.price-option.free-trial .price-period {
  color: rgba(255, 255, 255, 0.9);
}

.price-amount {
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
}

.price-option.recommended .price-amount,
.price-option.free-trial .price-amount {
  color: white;
}

.price-period {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.price-savings {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--success-color);
  color: white;
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: var(--font-weight-semibold);
}


.tile-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tile-icon {
  font-size: 1.5rem;
}

.tile-title {
  color: white;
  margin: 0;
  font-size: 1.2rem;
  font-weight: var(--font-weight-semibold);
}

.tile-content {
  flex: 1;
}

.app-store-section {
  display: flex;
  justify-content: center;
  margin-bottom: var(--spacing-lg);
}

.pricing-section {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-header {
  text-align: center;
  margin-bottom: var(--spacing-md);
}

.pricing-badge {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: var(--font-weight-medium);
}

.pricing-options {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.pricing-row {
  display: flex;
  justify-content: center;
  align-items: baseline;
  padding: var(--spacing-xs) 0;
  gap: var(--spacing-xs);
}

.pricing-row.free-trial {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-sm);
  font-weight: var(--font-weight-medium);
}

.pricing-duration {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.pricing-value {
  color: white;
  font-weight: var(--font-weight-bold);
  font-size: 1.5rem;
}

.pricing-period {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.pricing-separator {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  padding: var(--spacing-xs) 0;
  font-style: italic;
}

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

.requirements-list li {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-sm);
  padding-left: var(--spacing-md);
  position: relative;
}

.requirements-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success-color);
  font-weight: bold;
}

.download-requirements h3 {
  font-size: 1.3rem;
  margin-bottom: var(--spacing-md);
}

.download-requirements ul {
  list-style: none;
}

.download-requirements li {
  margin-bottom: var(--spacing-sm);
  opacity: 0.9;
}

.download-requirements li::before {
  content: '✓ ';
  color: var(--success-color);
  font-weight: bold;
  margin-right: var(--spacing-sm);
}

.download-action {
  text-align: center;
}

.app-store-button {
  display: inline-block;
  margin-bottom: var(--spacing-md);
  transition: transform 0.3s ease;
}

.app-store-button:hover {
  transform: scale(1.05);
}

.app-store-badge {
  height: 60px;
  filter: brightness(1.1);
}

.pricing-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.pricing-options {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.pricing-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: var(--font-weight-medium);
}

.price {
  font-size: 1rem;
  font-weight: var(--font-weight-bold);
  color: white;
}

.price-description {
  opacity: 0.8;
  font-size: 0.9rem;
}

.privacy-reminder {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  background: rgba(255, 255, 255, 0.1);
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(10px);
  font-size: 0.9rem;
  opacity: 0.9;
  margin-top: var(--spacing-2xl);
}

/* Feature Voting Section */
.voting-section {
  background: var(--bg-secondary);
}

.voting-header {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
}

.voting-title {
  font-size: 2.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
}

.voting-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.voting-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
}

.form-title {
  font-size: 1.5rem;
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  margin-bottom: var(--spacing-lg);
}

.submit-feature, .popular-features {
  padding: var(--spacing-xl);
}

.feature-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.form-group label {
  font-weight: var(--font-weight-medium);
  color: var(--text-primary);
}

.form-group input,
.form-group textarea {
  padding: var(--spacing-md);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  color: var(--text-primary);
  font-family: var(--font-family);
  font-size: 1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.feature-request {
  display: flex;
  gap: var(--spacing-md);
  background: var(--bg-card);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
}

.votes-remaining {
  text-align: center;
  padding: var(--spacing-sm) 0;
  margin-bottom: var(--spacing-md);
  border-bottom: 1px solid var(--glass-border);
}

.votes-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

#votesLeft {
  color: var(--primary-color);
  font-weight: var(--font-weight-semibold);
  font-size: 1.1rem;
}

.vote-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xs);
  min-width: 60px;
}

.vote-btn {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  min-width: 44px;
  height: 44px;
  padding: 0 var(--spacing-sm);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-secondary);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  white-space: nowrap;
}

.vote-btn:hover {
  background: rgba(0, 122, 255, 0.1);
  color: var(--primary-color);
  transform: scale(1.05);
}

.vote-btn.voted {
  background: rgba(0, 122, 255, 0.15);
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: scale(1.05);
}

.vote-btn.voted:hover {
  background: rgba(0, 122, 255, 0.2);
  transform: scale(1.1);
}

.vote-count {
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
}

.request-content {
  flex: 1;
}

.request-title {
  font-size: 1.1rem;
  font-weight: var(--font-weight-semibold);
  color: var(--text-primary);
  margin-bottom: var(--spacing-xs);
}

.request-description {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-sm);
  line-height: 1.5;
}

.request-status {
  display: inline-block;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.request-status.pending {
  background: rgba(255, 149, 0, 0.1);
  color: var(--warning-color);
  border: 1px solid rgba(255, 149, 0, 0.2);
}

.request-status.planned {
  background: rgba(0, 122, 255, 0.1);
  color: var(--primary-color);
  border: 1px solid rgba(0, 122, 255, 0.2);
}

.request-status.in-progress {
  background: rgba(52, 199, 89, 0.1);
  color: var(--success-color);
  border: 1px solid rgba(52, 199, 89, 0.2);
}

/* Footer */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
  padding: var(--spacing-3xl) 0 var(--spacing-lg) 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: var(--spacing-xl);
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.footer-copyright {
  color: var(--text-tertiary);
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    text-align: center;
  }

  /* Hide hero images on mobile - users will see video directly */
  .hero-visual {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .csv-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }

  .download-content-center {
    padding: 0 var(--spacing-lg);
  }

  .pricing-options-three {
    flex-direction: column;
    gap: var(--spacing-lg);
  }

  .price-option {
    width: 100%;
    max-width: 280px;
  }

  .tile-title {
    font-size: 1.1rem;
  }

  .download-info {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    text-align: center;
  }

  .voting-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .demo-video-container {
    max-width: 100%;
    padding: var(--spacing-xl) var(--spacing-md);
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .demo-video-wrapper {
    width: 100%;
    max-width: 90vw;
    margin: 0 auto;
  }

  .capabilities-grid {
    grid-template-columns: 1fr;
  }

  .metrics-row {
    grid-template-columns: 1fr;
  }

  .charts-row {
    grid-template-columns: 1fr;
  }

  .nav-container {
    padding: var(--spacing-sm) var(--spacing-md);
  }

  .brand-text {
    display: none;
  }

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

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

@media (max-width: 480px) {
  .container {
    padding: 0 var(--spacing-md);
  }

  .csv-row {
    grid-template-columns: 1fr;
    gap: var(--spacing-xs);
    font-size: 0.8rem;
  }

  .feature-request {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  .vote-section {
    flex-direction: row;
    justify-content: center;
  }
}

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

.feature-card,
.capability-item,
.feature-request {
  animation: fadeInUp 0.6s ease-out;
}

/* Dashboard Image Styles */

.dashboard-image {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
  cursor: pointer;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  position: absolute;
  top: 0;
  left: 0;
}

.dashboard-image:hover {
  transform: scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

/* Theme-based image switching */
.light-theme .light-image {
  opacity: 1;
  position: relative;
}

.light-theme .dark-image {
  opacity: 0;
  position: absolute;
}

.dark-theme .light-image {
  opacity: 0;
  position: absolute;
}

.dark-theme .dark-image {
  opacity: 1;
  position: relative;
}

.app-layout {
  display: flex;
  height: 500px;
  background: linear-gradient(135deg, #2d1b69, #1a0b3d);
  border-radius: var(--radius-md);
  overflow: hidden;
}

/* Sidebar */
.app-sidebar {
  width: 200px;
  background: rgba(255, 255, 255, 0.05);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--spacing-md);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm);
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sidebar-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.sidebar-item.active {
  background: var(--primary-color);
  color: white;
}

.sidebar-icon {
  font-size: 0.9rem;
}

.sidebar-text {
  font-weight: var(--font-weight-medium);
}

/* Main Content */
.app-main {
  flex: 1;
  padding: var(--spacing-md);
  overflow-y: auto;
  background: linear-gradient(135deg, #2d1b69, #1a0b3d);
}

/* Header */
.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-lg);
}

.app-title {
  font-size: 1.2rem;
  font-weight: var(--font-weight-bold);
  color: white;
  margin: 0;
}

.app-subtitle {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.change-period-btn {
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: var(--spacing-xs) var(--spacing-sm);
  font-size: 0.7rem;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.change-period-btn:hover {
  opacity: 0.8;
}

/* Metrics Row */
.app-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.metric-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  backdrop-filter: blur(10px);
}

.metric-icon {
  font-size: 1.2rem;
  opacity: 0.8;
}

.metric-content {
  display: flex;
  flex-direction: column;
}

.metric-label {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2px;
}

.metric-value {
  font-size: 1rem;
  font-weight: var(--font-weight-bold);
  color: white;
}

.metric-value.green {
  color: var(--success-color);
}

/* Charts Grid */
.app-charts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
}

.chart-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  backdrop-filter: blur(10px);
}

.chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--spacing-md);
}

.chart-icon {
  font-size: 0.9rem;
  margin-right: var(--spacing-xs);
}

.chart-title-group {
  flex: 1;
}

.chart-title {
  font-size: 0.9rem;
  font-weight: var(--font-weight-semibold);
  color: white;
  margin: 0 0 2px 0;
}

.chart-subtitle {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.edit-btn {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: 4px 8px;
  font-size: 0.6rem;
  cursor: pointer;
}

/* Budget Status */
.budget-content {
  text-align: center;
}

.budget-amount {
  font-size: 1.2rem;
  font-weight: var(--font-weight-bold);
  color: white;
  margin-bottom: 4px;
}

.budget-info {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--spacing-sm);
}

.budget-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: var(--spacing-sm);
}

.budget-progress {
  height: 100%;
  background: linear-gradient(90deg, #ff3b30, #ff9500);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.budget-status {
  display: flex;
  justify-content: space-between;
  font-size: 0.6rem;
}

.status-text.red {
  color: #ff3b30;
}

.status-text.green {
  color: var(--success-color);
}

/* Income vs Expenses */
.income-expenses-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.bar-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bar-label {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.8);
}

.bar-amount {
  font-size: 0.8rem;
  font-weight: var(--font-weight-semibold);
  color: white;
  text-align: right;
}

.bar-amount.red {
  color: #ff3b30;
}

.bar-container {
  width: 100%;
  height: 12px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  overflow: hidden;
}

.bar {
  height: 100%;
  border-radius: 6px;
  transition: width 0.3s ease;
}

.income-bar {
  background: var(--success-color);
}

.expense-bar {
  background: #ff3b30;
}

/* Category Spending */
.category-content {
  display: flex;
  gap: var(--spacing-md);
}

.pie-chart-section {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.pie-chart-container {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-sm);
}

.pie-chart {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.pie-slice {
  cursor: pointer;
  transition: all 0.3s ease;
  stroke: #2d1b69;
  stroke-width: 1;
}

.pie-slice:hover {
  filter: brightness(1.2);
  transform: scale(1.05);
}

.education-slice {
  fill: #ff9500;
}

.insurance-slice {
  fill: #007aff;
}

.travel-slice {
  fill: #5856d6;
}

.tech-slice {
  fill: #34c759;
}

.health-slice {
  fill: #ff3b30;
}

.legend {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.6rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.legend-item:hover {
  opacity: 0.8;
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.education-color {
  background: #ff9500;
}

.insurance-color {
  background: #007aff;
}

.travel-color {
  background: #5856d6;
}

.tech-color {
  background: #34c759;
}

.health-color {
  background: #ff3b30;
}

.legend-text {
  flex: 1;
  color: rgba(255, 255, 255, 0.9);
}

.legend-amount {
  color: rgba(255, 255, 255, 0.7);
  font-weight: var(--font-weight-medium);
}

/* Daily Spending */
.daily-content {
  height: 80px;
}

.line-chart {
  width: 100%;
  height: 100%;
}

.chart-area {
  opacity: 0.3;
}

.chart-line {
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chart-dot {
  fill: #00D4AA;
  stroke: #2d1b69;
  stroke-width: 1;
  cursor: pointer;
  opacity: 0;
  transition: all 0.3s ease;
}

.chart-dot:hover {
  opacity: 1;
  r: 4;
}

/* Print Styles */
@media print {
  .nav-glass,
  .theme-toggle,
  .hero-actions,
  .voting-section {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  .glass-card {
    background: white;
    border: 1px solid #ccc;
    box-shadow: none;
  }
}