:root {
  /* Color Palette - Refined Dark Amber/Fire Theme */
  --primary-color: #ff6b35;
  --primary-dark: #e85d2c;
  --primary-light: #ff8c61;
  
  --secondary-color: #ffa726;
  --secondary-dark: #fb8c00;
  
  --accent-color: #ffb74d;
  --accent-dark: #f57c00;
  
  --purple: #ff7043;
  --purple-dark: #f4511e;
  
  --blue: #ff6b35;
  --green: #ffa726;
  --orange: #ffb74d;
  
  --bg-primary: #0d0d0d;
  --bg-secondary: #1a1a1a;
  --bg-card: #1f1f1f;
  --bg-card-hover: #2a2a2a;
  
  --text-primary: #ffffff;
  --text-secondary: #e0e0e0;
  --text-muted: #999999;
  
  --border-color: #2d2d2d;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.6);
  
  --success: #ffa726;
  --success-bg: rgba(255, 167, 38, 0.1);
  --error: #ff6b35;
  --error-bg: rgba(255, 107, 53, 0.1);
  
  --radius: 16px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 100%);
  background-attachment: fixed;
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Header */
.header {
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-primary);
}

.logo svg {
  color: var(--primary-color);
  filter: drop-shadow(0 0 15px rgba(255, 107, 53, 0.8));
}

.logo h1 {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ff6b35, #ffa726, #ffb74d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Main Content */
.main-content {
  flex: 1;
  padding: 3rem 0;
}

/* Cards */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  margin-bottom: 2rem;
  transition: var(--transition);
  overflow: hidden;
}

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

.card-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-color);
}

.card-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.card-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
}

.subtitle {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin: 0;
}

.card-body {
  padding: 2rem;
}

.clickable {
  cursor: pointer;
  user-select: none;
}

/* Configuration Card */
.config-card {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.08) 0%, rgba(31, 31, 31, 1) 100%);
  border: 1px solid rgba(255, 107, 53, 0.2);
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-group label svg {
  color: var(--primary-color);
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

input[type="number"],
input[type="date"] {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--bg-secondary);
  border: 2px solid var(--border-color);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 1rem;
  transition: var(--transition);
  outline: none;
}

input[type="number"]:focus,
input[type="date"]:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
  background: rgba(255, 107, 53, 0.03);
}

input[type="number"]:hover,
input[type="date"]:hover {
  border-color: var(--primary-light);
}

.input-wrapper input {
  padding-right: 2.5rem;
}

.input-suffix {
  position: absolute;
  right: 1rem;
  color: var(--text-muted);
  font-weight: 600;
  pointer-events: none;
}

/* Input validation colors */
input.valid {
  border-color: var(--success);
  background: var(--success-bg);
}

input.invalid {
  border-color: var(--error);
  background: var(--error-bg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, #ff6b35 0%, #ffa726 100%);
  color: white;
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
  width: 100%;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(255, 107, 53, 0.6);
  background: linear-gradient(135deg, #e85d2c 0%, #fb8c00 100%);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-icon {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 0.5rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-icon:hover {
  background: var(--error);
  border-color: var(--error);
  color: white;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff6b35, #ffa726, #ffb74d);
}

.stat-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon.blue {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.15), rgba(255, 107, 53, 0.05));
  color: #ff6b35;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.2);
}

.stat-icon.green {
  background: linear-gradient(135deg, rgba(255, 167, 38, 0.15), rgba(255, 167, 38, 0.05));
  color: #ffa726;
  box-shadow: 0 4px 15px rgba(255, 167, 38, 0.2);
}

.stat-icon.purple {
  background: linear-gradient(135deg, rgba(255, 112, 67, 0.15), rgba(255, 112, 67, 0.05));
  color: #ff7043;
  box-shadow: 0 4px 15px rgba(255, 112, 67, 0.2);
}

.stat-icon.orange {
  background: linear-gradient(135deg, rgba(255, 183, 77, 0.15), rgba(255, 183, 77, 0.05));
  color: #ffb74d;
  box-shadow: 0 4px 15px rgba(255, 183, 77, 0.2);
}

.stat-content {
  flex: 1;
}

.stat-content h3 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  display: block;
}

/* Live Counter */
.live-card {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(31, 31, 31, 1) 100%);
  border: 1px solid rgba(255, 107, 53, 0.3);
  animation: pulse-border 3s ease-in-out infinite;
  box-shadow: 0 10px 40px rgba(255, 107, 53, 0.2);
}

@keyframes pulse-border {
  0%, 100% {
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow: 0 10px 40px rgba(255, 107, 53, 0.2);
  }
  50% {
    border-color: rgba(255, 167, 38, 0.5);
    box-shadow: 0 15px 50px rgba(255, 167, 38, 0.3);
  }
}

.live-card .card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ff6b35;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 1px;
}

.pulse {
  width: 10px;
  height: 10px;
  background: #ff6b35;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(255, 107, 53, 0.8);
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.8);
  }
  50% {
    transform: scale(1.3);
    opacity: 0.8;
    box-shadow: 0 0 20px rgba(255, 167, 38, 1);
  }
}

.live-stats {
  display: grid;
  gap: 1.5rem;
}

.live-stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius);
  border-left: 4px solid transparent;
  background-image: 
    linear-gradient(rgba(31, 31, 31, 1), rgba(31, 31, 31, 1)),
    linear-gradient(135deg, #ff6b35, #ffa726);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.live-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.live-value {
  font-size: 2.5rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  animation: count-up 0.3s ease-out;
}

.live-value.primary {
  color: #ff6b35;
  text-shadow: 0 0 30px rgba(255, 107, 53, 0.6);
}

.live-value.secondary {
  color: #ffa726;
  text-shadow: 0 0 25px rgba(255, 167, 38, 0.5);
}

.live-value.tertiary {
  color: #ffb74d;
  text-shadow: 0 0 25px rgba(255, 183, 77, 0.5);
}

.live-value.quaternary {
  color: #ff7043;
  text-shadow: 0 0 25px rgba(255, 112, 67, 0.5);
}

@keyframes count-up {
  from {
    opacity: 0.5;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Breakdown Section */
.breakdown-card .card-header {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.breakdown-card .card-header:hover {
  background: var(--bg-card-hover);
}

.chevron {
  transition: transform 0.3s ease;
  color: var(--text-muted);
}

.chevron.open {
  transform: rotate(180deg);
}

.breakdown-content {
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.breakdown-grid {
  display: grid;
  gap: 1rem;
}

.breakdown-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius);
  border-left: 4px solid #ff6b35;
  transition: var(--transition);
}

.breakdown-item:hover {
  background: rgba(255, 107, 53, 0.05);
  border-left-color: #ffa726;
  transform: translateX(5px);
}

.breakdown-item span:first-child {
  color: var(--text-secondary);
  font-weight: 600;
}

.breakdown-item span:last-child {
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.1rem;
}

/* Money Rain Animation */
.money-rain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}

.money-symbol {
  position: absolute;
  font-size: 24px;
  animation: fall linear infinite;
  opacity: 0;
}

@keyframes fall {
  0% {
    opacity: 0;
    transform: translateY(-50px) rotate(0deg);
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(100vh) rotate(360deg);
  }
}

/* Wealth Dashboard */
.wealth-dashboard {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.12) 0%, rgba(31, 31, 31, 1) 100%);
  border: 1px solid rgba(255, 167, 38, 0.3);
}

.dashboard-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dashboard-title svg {
  color: var(--primary-color);
  filter: drop-shadow(0 0 10px rgba(255, 107, 53, 0.5));
}

.dashboard-title h2 {
  margin: 0;
}

/* Chart Container */
.chart-container {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 107, 53, 0.1);
}

.chart-container h4 {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.chart-container canvas {
  max-height: 300px;
}

/* Projection Grid */
.projection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.projection-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 107, 53, 0.15);
  transition: var(--transition);
}

.projection-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
  background: rgba(255, 107, 53, 0.05);
}

.projection-icon {
  font-size: 2.5rem;
  filter: drop-shadow(0 0 10px rgba(255, 167, 38, 0.5));
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.projection-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.projection-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.projection-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  background: linear-gradient(135deg, #ff6b35, #ffa726);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Afford Section */
.afford-card {
  background: linear-gradient(135deg, rgba(255, 183, 77, 0.1) 0%, rgba(31, 31, 31, 1) 100%);
  border: 1px solid rgba(255, 183, 77, 0.3);
}

.afford-grid {
  display: grid;
  gap: 1rem;
}

.afford-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius);
  border-left: 4px solid var(--accent-color);
  transition: var(--transition);
}

.afford-item:hover {
  transform: translateX(10px);
  background: rgba(255, 183, 77, 0.05);
  border-left-color: var(--primary-color);
}

.afford-item-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.afford-item-icon {
  font-size: 2rem;
  filter: drop-shadow(0 0 8px rgba(255, 183, 77, 0.4));
}

.afford-item-details h5 {
  margin: 0 0 0.25rem 0;
  color: var(--text-primary);
  font-size: 1.1rem;
}

.afford-item-details p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.afford-time {
  text-align: right;
}

.afford-time-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}

.afford-time-value {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-color);
}

/* Milestones */
.milestones-card {
  background: linear-gradient(135deg, rgba(255, 167, 38, 0.1) 0%, rgba(31, 31, 31, 1) 100%);
  border: 1px solid rgba(255, 167, 38, 0.3);
}

.milestones-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.milestone-item {
  position: relative;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 167, 38, 0.15);
  overflow: hidden;
}

.milestone-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--secondary-color), transparent);
  transition: width 0.5s ease;
}

.milestone-item.completed::before {
  width: 100%;
}

.milestone-item.in-progress::before {
  animation: progress-glow 2s ease-in-out infinite;
}

@keyframes progress-glow {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.6;
  }
}

.milestone-content {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.milestone-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.milestone-icon {
  font-size: 2rem;
  filter: drop-shadow(0 0 8px rgba(255, 167, 38, 0.5));
}

.milestone-details h5 {
  margin: 0 0 0.5rem 0;
  color: var(--text-primary);
  font-size: 1.1rem;
}

.milestone-progress-bar {
  width: 150px;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.milestone-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff6b35, #ffa726);
  border-radius: 10px;
  transition: width 1s ease;
  box-shadow: 0 0 10px rgba(255, 167, 38, 0.8);
}

.milestone-stats {
  text-align: right;
}

.milestone-amount {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 0.25rem;
}

.milestone-time {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Comparison Card */
.comparison-card {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.08) 0%, rgba(31, 31, 31, 1) 100%);
  border: 1px solid rgba(255, 107, 53, 0.2);
}

.comparison-container {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 107, 53, 0.1);
}

.comparison-container canvas {
  max-height: 400px;
}

/* Savings Card */
.savings-card {
  background: linear-gradient(135deg, rgba(255, 167, 38, 0.08) 0%, rgba(31, 31, 31, 1) 100%);
  border: 1px solid rgba(255, 167, 38, 0.2);
}

.savings-input-section {
  margin-bottom: 2rem;
}

.savings-result {
  margin-top: 2rem;
  padding: 2rem;
  background: rgba(255, 167, 38, 0.05);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 167, 38, 0.2);
}

.savings-result-header h4 {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.savings-result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.savings-result-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.savings-result-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 600;
}

.savings-result-value {
  font-size: 1.5rem;
  font-weight: 700;
}

.savings-result-value.primary {
  color: #ff6b35;
}

.savings-result-value.secondary {
  color: #ffa726;
}

.savings-result-value.tertiary {
  color: #ffb74d;
}

.savings-result-value.quaternary {
  color: #ff7043;
}

.savings-progress-bar {
  height: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.savings-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff6b35, #ffa726, #ffb74d);
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255, 167, 38, 0.8);
}

@keyframes fillProgress {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

.savings-tips {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius);
  border-left: 4px solid var(--secondary-color);
}

.savings-tips h5 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.savings-tips ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.savings-tips li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  padding-left: 1.5rem;
  position: relative;
}

.savings-tips li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
}

/* Time Value Card */
.time-value-card {
  background: linear-gradient(135deg, rgba(255, 183, 77, 0.08) 0%, rgba(31, 31, 31, 1) 100%);
  border: 1px solid rgba(255, 183, 77, 0.2);
}

.time-value-grid {
  display: grid;
  gap: 1rem;
}

.time-value-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius);
  border-left: 4px solid var(--accent-color);
  transition: var(--transition);
}

.time-value-item:hover {
  transform: translateX(10px);
  background: rgba(255, 183, 77, 0.05);
  border-left-color: var(--primary-color);
}

.time-value-icon {
  font-size: 2.5rem;
  margin-right: 1rem;
  filter: drop-shadow(0 0 8px rgba(255, 183, 77, 0.4));
}

.time-value-info {
  flex: 1;
}

.time-value-info h5 {
  margin: 0 0 0.25rem 0;
  color: var(--text-primary);
  font-size: 1.1rem;
}

.time-value-duration {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.time-value-cost {
  text-align: right;
}

.time-value-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}

.time-value-amount {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-color);
}

/* Tutorial Card */
.tutorial-card {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(31, 31, 31, 1) 100%);
  border: 1px solid rgba(255, 107, 53, 0.15);
}

.tutorial-content {
  overflow: hidden;
}

.tutorial-section {
  margin-bottom: 3rem;
}

.tutorial-section:last-child {
  margin-bottom: 0;
}

.tutorial-section h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-primary);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(255, 107, 53, 0.2);
}

.tutorial-section h3 svg {
  color: var(--primary-color);
  filter: drop-shadow(0 0 8px rgba(255, 107, 53, 0.5));
}

.tutorial-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius);
  border-left: 4px solid var(--primary-color);
  transition: var(--transition);
}

.tutorial-item:hover {
  background: rgba(255, 107, 53, 0.05);
  transform: translateX(5px);
}

.tutorial-step {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b35, #ffa726);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.tutorial-text h4 {
  color: var(--text-primary);
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
}

.tutorial-text p {
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* FAQ Styles */
.faq-item {
  margin-bottom: 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 107, 53, 0.15);
  background: rgba(255, 255, 255, 0.02);
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--primary-color);
  background: rgba(255, 107, 53, 0.03);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  user-select: none;
  gap: 1rem;
  transition: var(--transition);
}

.faq-question:hover {
  background: rgba(255, 107, 53, 0.05);
}

.faq-question span {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.05rem;
  flex: 1;
}

.faq-chevron {
  color: var(--text-muted);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-chevron.open {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: var(--text-secondary);
  line-height: 1.8;
  animation: fadeIn 0.3s ease-out;
}

.faq-answer p {
  margin: 0 0 1rem 0;
}

.faq-answer strong {
  color: var(--primary-color);
}

.faq-answer em {
  color: var(--secondary-color);
}

.faq-answer ul {
  margin: 1rem 0;
  padding-left: 2rem;
}

.faq-answer li {
  margin-bottom: 0.5rem;
}

/* Tips Grid */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.tip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 107, 53, 0.15);
  transition: var(--transition);
}

.tip-item:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  background: rgba(255, 107, 53, 0.05);
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
}

.tip-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 10px rgba(255, 167, 38, 0.5));
  animation: float 3s ease-in-out infinite;
}

.tip-content h4 {
  color: var(--text-primary);
  margin: 0 0 0.75rem 0;
  font-size: 1.1rem;
}

.tip-content p {
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* Footer */
.footer {
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-color);
  padding: 2rem 0;
  margin-top: auto;
  text-align: center;
}

.footer p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Success Celebration */
.celebration {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 5rem;
  z-index: 10000;
  animation: celebrate 1s ease-out;
  pointer-events: none;
}

@keyframes celebrate {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  animation: fadeIn 0.5s ease-out;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }

/* Responsive Design */
@media (max-width: 768px) {
  .main-content {
    padding: 2rem 0;
  }

  .card-header {
    padding: 1.25rem 1.5rem;
  }

  .card-body {
    padding: 1.5rem;
  }

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

  .stat-value {
    font-size: 1.5rem;
  }

  .live-value {
    font-size: 2rem;
  }

  .logo h1 {
    font-size: 1.25rem;
  }
  
  .projection-grid {
    grid-template-columns: 1fr;
  }

  .milestone-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .milestone-stats {
    text-align: left;
  }

  .afford-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .afford-time {
    text-align: left;
  }
  
  .tips-grid {
    grid-template-columns: 1fr;
  }
  
  .tutorial-item {
    flex-direction: column;
    text-align: center;
  }
  
  .tutorial-step {
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .card-header h2 {
    font-size: 1.25rem;
  }

  .stat-icon {
    width: 48px;
    height: 48px;
  }

  .live-value {
    font-size: 1.75rem;
  }
}

/* Loading State */
.loading {
  pointer-events: none;
  opacity: 0.6;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--primary-color);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Smooth transitions for all interactive elements */
button, input, .card, .stat-card, .live-stat-item {
  transition: var(--transition);
}
