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

:root {
  --teal: #00c4aa;
  --blue: #0c79f3;
  --black: #0a0a0a;
  --white: #ffffff;
  --gray-100: #f4f4f5;
  --gray-200: #e4e4e7;
  --gray-400: #a1a1aa;
  --gray-600: #52525b;
  --gray-800: #27272a;
  --glow-teal: 0 0 10px rgba(0,196,170,0.3), 0 0 40px rgba(0,196,170,0.1);
  --glow-blue: 0 0 10px rgba(12,121,243,0.3), 0 0 40px rgba(12,121,243,0.1);
}

html {
  height: 100%;
  width: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--black);
  color: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

#confettiCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 100;
}

.bg-blobs {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: var(--teal);
  top: -100px;
  right: -100px;
  animation: float1 12s ease-in-out infinite;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: var(--blue);
  bottom: -50px;
  left: -100px;
  animation: float2 15s ease-in-out infinite;
}

.blob-3 {
  width: 300px;
  height: 300px;
  background: var(--teal);
  top: 50%;
  left: 50%;
  animation: float3 10s ease-in-out infinite;
}

@keyframes float1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-60px, 40px) scale(1.1); }
}

@keyframes float2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, -30px) scale(1.15); }
}

@keyframes float3 {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-40%, -60%) scale(0.9); }
}

.calculating-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(10, 10, 10, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: overlayIn 0.3s ease-out;
}

.calculating-overlay.fade-out {
  animation: overlayOut 0.5s ease-in forwards;
}

@keyframes overlayIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes overlayOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

.calc-content {
  text-align: center;
  padding: 40px;
}

.calc-glitch {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--teal);
  text-shadow: 0 0 20px rgba(0,196,170,0.5), 0 0 60px rgba(0,196,170,0.2);
  position: relative;
  animation: glitch 0.3s infinite;
}

@keyframes glitch {
  0% { text-shadow: 0 0 20px rgba(0,196,170,0.5), 2px 0 rgba(12,121,243,0.7), -2px 0 rgba(0,196,170,0.7); }
  25% { text-shadow: 0 0 20px rgba(0,196,170,0.5), -1px 2px rgba(12,121,243,0.7), 1px -1px rgba(0,196,170,0.7); }
  50% { text-shadow: 0 0 20px rgba(0,196,170,0.5), 1px -1px rgba(12,121,243,0.7), -1px 2px rgba(0,196,170,0.7); }
  75% { text-shadow: 0 0 20px rgba(0,196,170,0.5), -2px 1px rgba(12,121,243,0.7), 2px -2px rgba(0,196,170,0.7); }
  100% { text-shadow: 0 0 20px rgba(0,196,170,0.5), 2px 0 rgba(12,121,243,0.7), -2px 0 rgba(0,196,170,0.7); }
}

.calc-bar-track {
  width: 280px;
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  margin: 24px auto;
  overflow: hidden;
}

.calc-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--teal), var(--blue));
  border-radius: 3px;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px var(--teal);
}

.calc-sub {
  color: var(--gray-400);
  font-size: 0.9rem;
  animation: calcPulse 1s ease-in-out infinite;
}

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

.container {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.header {
  text-align: center;
  margin-bottom: 32px;
}

.header-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
}

.header-spacer {
  width: 44px;
  flex-shrink: 0;
}

.header-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header-actions {
  width: 44px;
  flex-shrink: 0;
  display: flex;
  justify-content: flex-end;
  padding-top: 4px;
}

.mute-btn {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  width: 38px;
  height: 38px;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.mute-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--teal);
}

.logo {
  width: 80px;
  height: 80px;
  margin-bottom: 12px;
  border-radius: 16px;
  animation: logoPulse 3s ease-in-out infinite;
}

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

.title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 8px;
}

.glow-text {
  text-shadow: 0 0 20px rgba(0,196,170,0.3), 0 0 60px rgba(0,196,170,0.1);
}

.glow-text-sm {
  text-shadow: 0 0 12px rgba(0,196,170,0.25);
}

.highlight {
  background: linear-gradient(135deg, var(--teal), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tagline {
  color: var(--gray-400);
  font-size: 1.05rem;
  font-weight: 400;
}

.neon-border {
  border: 1px solid rgba(0, 196, 170, 0.15) !important;
  box-shadow: var(--glow-teal), inset 0 0 30px rgba(0,196,170,0.02);
}

.neon-border-blue {
  border: 1px solid rgba(12, 121, 243, 0.2) !important;
  box-shadow: var(--glow-blue), inset 0 0 30px rgba(12,121,243,0.02);
}

.neon-box {
  border: 1px solid rgba(0, 196, 170, 0.1) !important;
  box-shadow: 0 0 8px rgba(0,196,170,0.08);
  transition: box-shadow 0.3s, border-color 0.3s;
}

.neon-box:hover {
  border-color: rgba(0, 196, 170, 0.25) !important;
  box-shadow: 0 0 16px rgba(0,196,170,0.15);
}

.card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 32px 28px;
  backdrop-filter: blur(20px);
}

.input-card {
  animation: slideUp 0.6s ease-out;
}

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

.card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 28px;
  text-align: center;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 4px;
}

.input-group {
  margin-bottom: 24px;
}

.input-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-400);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.input-wrapper input[type="number"] {
  width: 100%;
  padding: 14px 80px 14px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--white);
  font-size: 1.2rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.input-wrapper input[type="number"]:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 196, 170, 0.15), 0 0 20px rgba(0,196,170,0.1);
}

.input-wrapper input[type="number"]::placeholder {
  color: var(--gray-600);
  font-weight: 400;
}

.input-suffix {
  position: absolute;
  right: 16px;
  color: var(--gray-400);
  font-size: 0.85rem;
  font-weight: 500;
  pointer-events: none;
}

.slider-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.slider-row input[type="range"] {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--teal), var(--blue));
  outline: none;
  cursor: pointer;
}

.slider-row input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--teal);
  cursor: pointer;
  transition: transform 0.2s;
  box-shadow: 0 0 8px rgba(0,196,170,0.3);
}

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

.slider-row input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--teal);
  cursor: pointer;
}

.slider-value {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--teal);
  min-width: 32px;
  text-align: center;
  text-shadow: 0 0 8px rgba(0,196,170,0.3);
}

.neon-btn {
  box-shadow: 0 4px 20px rgba(0, 196, 170, 0.25), 0 0 15px rgba(0,196,170,0.1);
}

.neon-btn:hover {
  box-shadow: 0 6px 30px rgba(0, 196, 170, 0.4), 0 0 25px rgba(0,196,170,0.2) !important;
}

.neon-btn-blue {
  box-shadow: 0 4px 16px rgba(12, 121, 243, 0.25), 0 0 15px rgba(12,121,243,0.1);
}

.neon-btn-blue:hover {
  box-shadow: 0 6px 24px rgba(12, 121, 243, 0.4), 0 0 25px rgba(12,121,243,0.2) !important;
}

.btn-calculate {
  width: 100%;
  padding: 16px;
  margin-top: 8px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  color: var(--white);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.2s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.btn-calculate::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: translateX(-100%);
  animation: btnShimmer 3s ease-in-out infinite;
}

@keyframes btnShimmer {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}

.btn-calculate:hover {
  transform: translateY(-2px);
}

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

.btn-icon {
  font-size: 1.3rem;
}

.hidden {
  display: none !important;
}

.results-card {
  animation: resultsReveal 0.8s ease-out;
}

@keyframes resultsReveal {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.results-header {
  text-align: center;
  margin-bottom: 8px;
}

.results-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
}

.big-number-container {
  text-align: center;
  padding: 24px 0;
}

.big-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  animation: numberPop 0.6s ease-out;
}

.glow-number {
  filter: drop-shadow(0 0 20px rgba(0,196,170,0.4)) drop-shadow(0 0 50px rgba(12,121,243,0.2));
  animation: numberPop 0.6s ease-out, glowPulse 2s ease-in-out infinite 0.6s;
}

@keyframes numberPop {
  0% { transform: scale(0.3); opacity: 0; }
  60% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes glowPulse {
  0%, 100% { filter: drop-shadow(0 0 20px rgba(0,196,170,0.4)) drop-shadow(0 0 50px rgba(12,121,243,0.2)); }
  50% { filter: drop-shadow(0 0 30px rgba(0,196,170,0.6)) drop-shadow(0 0 70px rgba(12,121,243,0.3)); }
}

.big-number-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-top: 4px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0;
}

.stat-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
}

.stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--teal);
  text-shadow: 0 0 10px rgba(0,196,170,0.2);
}

.stat-label {
  font-size: 0.78rem;
  color: var(--gray-400);
  margin-top: 4px;
  line-height: 1.3;
}

.timeline-section {
  margin: 28px 0 8px;
}

.life-timeline {
  margin-top: 14px;
}

.timeline-bar {
  display: flex;
  height: 36px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  box-shadow: inset 0 0 10px rgba(0,0,0,0.3);
}

.timeline-lived {
  height: 100%;
  background: var(--gray-600);
  width: 0%;
  transition: width 1.2s ease-out;
  position: relative;
}

.timeline-screen {
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--blue));
  width: 0%;
  transition: width 1.2s ease-out 0.3s;
  box-shadow: 0 0 15px rgba(0,196,170,0.3);
  animation: screenGlow 2s ease-in-out infinite;
}

@keyframes screenGlow {
  0%, 100% { box-shadow: 0 0 15px rgba(0,196,170,0.3); }
  50% { box-shadow: 0 0 25px rgba(0,196,170,0.5); }
}

.timeline-free {
  height: 100%;
  background: rgba(255,255,255,0.08);
  flex: 1;
}

.timeline-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 0.72rem;
  color: var(--gray-400);
}

.timeline-age-marker {
  color: var(--teal);
  font-weight: 700;
}

.timeline-legend {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.tl-legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  color: var(--gray-400);
}

.tl-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.tl-dot-lived { background: var(--gray-600); }
.tl-dot-screen { background: var(--teal); box-shadow: 0 0 6px var(--teal); }
.tl-dot-free { background: rgba(255,255,255,0.2); }

.progress-section {
  margin: 24px 0;
}

.progress-label {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-bottom: 10px;
  text-align: center;
}

.stacked-bar {
  display: flex;
  height: 32px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.bar-segment {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 0%;
  transition: width 1.2s ease-out;
  overflow: hidden;
  position: relative;
}

.bar-seg-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  opacity: 0.9;
}

.bar-sleep { background: #6366f1; }
.bar-work { background: #f59e0b; }
.bar-screen { background: linear-gradient(90deg, var(--teal), var(--blue)); }
.bar-free { background: rgba(255, 255, 255, 0.12); }
.bar-free .bar-seg-label { color: var(--gray-400); }

.progress-legend-multi {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: var(--gray-400);
}

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

.dot-sleep { background: #6366f1; }
.dot-work { background: #f59e0b; }
.dot-screen { background: var(--teal); }
.dot-free { background: rgba(255, 255, 255, 0.3); }

.comparisons-section {
  margin: 28px 0;
}

.comparisons-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.comp-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, rgba(0,196,170,0.05), rgba(12,121,243,0.05));
  border: 1px solid rgba(0,196,170,0.12);
  border-radius: 14px;
  padding: 14px 16px;
  opacity: 0;
  transform: scale(0.9);
  animation: compPop 0.4s ease-out forwards;
}

.comp-card:nth-child(1) { animation-delay: 0.1s; }
.comp-card:nth-child(2) { animation-delay: 0.25s; }
.comp-card:nth-child(3) { animation-delay: 0.4s; }
.comp-card:nth-child(4) { animation-delay: 0.55s; }

@keyframes compPop {
  to { opacity: 1; transform: scale(1); }
}

.comp-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.comp-text {
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--gray-200);
}

.comp-text strong {
  color: var(--teal);
  font-family: 'Space Grotesk', sans-serif;
  text-shadow: 0 0 8px rgba(0,196,170,0.2);
}

.opportunity-section {
  margin: 24px 0;
}

.opportunity-subtitle {
  text-align: center;
  color: var(--gray-400);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.opportunity-subtitle span {
  color: var(--teal);
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
}

.opportunity-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.opp-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 14px 16px;
  opacity: 0;
  transform: translateX(-20px);
  animation: oppSlideIn 0.4s ease-out forwards;
}

.opp-item:nth-child(1) { animation-delay: 0.2s; }
.opp-item:nth-child(2) { animation-delay: 0.35s; }
.opp-item:nth-child(3) { animation-delay: 0.5s; }
.opp-item:nth-child(4) { animation-delay: 0.65s; }
.opp-item:nth-child(5) { animation-delay: 0.8s; }
.opp-item:nth-child(6) { animation-delay: 0.95s; }

@keyframes oppSlideIn {
  to { opacity: 1; transform: translateX(0); }
}

.opp-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 196, 170, 0.1);
  border-radius: 10px;
}

.opp-text { flex: 1; }

.opp-text strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
}

.opp-text span {
  font-size: 0.8rem;
  color: var(--gray-400);
  line-height: 1.3;
}

.opp-count {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--teal);
  flex-shrink: 0;
  min-width: 36px;
  text-align: right;
  text-shadow: 0 0 8px rgba(0,196,170,0.3);
}

.takeback-section {
  margin: 28px 0;
  background: linear-gradient(135deg, rgba(12, 121, 243, 0.06), rgba(0, 196, 170, 0.06));
  border: 1px solid rgba(0, 196, 170, 0.15);
  border-radius: 18px;
  padding: 24px 20px;
}

.takeback-desc {
  text-align: center;
  color: var(--gray-400);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.takeback-input-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.takeback-wrapper { flex: 1; }

.takeback-wrapper input[type="number"] {
  width: 100%;
  padding: 12px 70px 12px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--white);
  font-size: 1.1rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.takeback-wrapper input[type="number"]:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(12, 121, 243, 0.15);
}

.takeback-wrapper input[type="number"]::placeholder {
  color: var(--gray-600);
  font-weight: 400;
}

.btn-takeback {
  padding: 12px 18px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: var(--white);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.3s;
}

.btn-takeback:hover {
  transform: translateY(-2px);
}

.takeback-result {
  margin-top: 20px;
  animation: resultsReveal 0.6s ease-out;
}

.takeback-gained {
  text-align: center;
  margin-bottom: 16px;
}

.takeback-big {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  animation: numberPop 0.6s ease-out;
}

.takeback-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 4px;
}

.takeback-details {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}

.takeback-detail {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}

.takeback-detail-val {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--blue);
}

.takeback-detail-lbl {
  display: block;
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-top: 2px;
}

.takeback-message {
  text-align: center;
  font-size: 0.95rem;
  color: var(--gray-200);
  line-height: 1.5;
  padding: 12px;
  background: rgba(12, 121, 243, 0.06);
  border-radius: 10px;
}

.insights-section {
  margin: 24px 0;
}

.insights-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}

.insight-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 14px 16px;
  opacity: 0;
  transform: translateY(12px);
  animation: insightFadeIn 0.4s ease-out forwards;
}

.insight-card:nth-child(1) { animation-delay: 0.1s; }
.insight-card:nth-child(2) { animation-delay: 0.25s; }
.insight-card:nth-child(3) { animation-delay: 0.4s; }
.insight-card:nth-child(4) { animation-delay: 0.55s; }
.insight-card:nth-child(5) { animation-delay: 0.7s; }
.insight-card:nth-child(6) { animation-delay: 0.85s; }

@keyframes insightFadeIn {
  to { opacity: 1; transform: translateY(0); }
}

.insight-category {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--teal);
  margin-bottom: 8px;
}

.insight-body {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.insight-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.insight-content { flex: 1; }

.insight-text {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--gray-200);
  margin-bottom: 4px;
}

.insight-source {
  font-size: 0.72rem;
  color: var(--gray-600);
  font-style: italic;
}

.cta-section {
  text-align: center;
  margin-top: 24px;
}

.cta-message {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-share {
  padding: 12px 24px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  color: var(--white);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s, box-shadow 0.3s;
}

.btn-share:hover {
  transform: translateY(-2px);
}

.btn-reset {
  padding: 12px 32px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  background: transparent;
  color: var(--white);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-reset:hover {
  border-color: var(--teal);
  background: rgba(0, 196, 170, 0.08);
}

.positive-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, rgba(0,196,170,0.12), rgba(12,121,243,0.08));
  border: 1px solid rgba(0,196,170,0.3);
  border-radius: 14px;
  padding: 14px 16px;
  margin: 4px 0 20px;
  box-shadow: 0 0 20px rgba(0,196,170,0.15);
  animation: resultsReveal 0.6s ease-out;
}

.pb-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.pb-text {
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--gray-200);
}

.pb-text strong {
  display: block;
  color: var(--teal);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  margin-bottom: 2px;
  text-shadow: 0 0 8px rgba(0,196,170,0.3);
}

.commit-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: overlayIn 0.25s ease-out;
  backdrop-filter: blur(6px);
}

.commit-modal-inner {
  background: #121212;
  border: 1px solid rgba(0,196,170,0.25);
  border-radius: 20px;
  padding: 28px 24px;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 0 40px rgba(0,196,170,0.15);
  animation: resultsReveal 0.3s ease-out;
}

.commit-modal-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.commit-modal-desc {
  text-align: center;
  color: var(--gray-400);
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.commit-input-row { display: flex; }

.commit-wrapper { flex: 1; }

.commit-wrapper input[type="number"] {
  width: 100%;
  padding: 12px 70px 12px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--white);
  font-size: 1.1rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.commit-wrapper input[type="number"]:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,196,170,0.15);
}

.commit-activities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 20px;
}

.activity-chip {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--gray-200);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
}

.activity-chip:hover {
  border-color: rgba(0,196,170,0.4);
  background: rgba(0,196,170,0.08);
}

.activity-chip.selected {
  background: linear-gradient(135deg, rgba(0,196,170,0.25), rgba(12,121,243,0.2));
  border-color: var(--teal);
  color: var(--white);
  box-shadow: 0 0 12px rgba(0,196,170,0.3);
}

.commit-modal-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.commit-modal-buttons .btn-reset,
.commit-modal-buttons .btn-share {
  padding: 12px 20px;
  font-size: 0.95rem;
}

.share-card {
  position: fixed;
  top: -9999px;
  left: -9999px;
}

.share-card-inner {
  width: 600px;
  height: 400px;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.share-card-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a0a0a 0%, #0d1b2a 50%, #0a0a0a 100%);
}

.share-card-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.share-card-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.share-card-pledge {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  color: var(--gray-200);
  margin-bottom: 4px;
}

.share-card-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 4.5rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
}

.share-card-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-top: 4px;
}

.share-card-for {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  color: var(--white);
  margin-top: 10px;
  font-weight: 500;
}

.share-card-for span {
  color: var(--blue);
  font-weight: 700;
}

.share-card-stats {
  display: flex;
  gap: 40px;
  margin-top: 20px;
}

.share-stat {
  text-align: center;
}

.share-stat-val {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue);
}

.share-stat-lbl {
  display: block;
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-top: 2px;
}

.share-card-footer {
  margin-top: 20px;
  font-size: 0.75rem;
  color: var(--gray-600);
  text-align: center;
}

.footer {
  text-align: center;
  margin-top: auto;
  padding-top: 40px;
  padding-bottom: 20px;
  color: var(--gray-600);
  font-size: 0.85rem;
}

.footer strong {
  color: var(--teal);
  font-weight: 600;
}

.shake {
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-6px); }
  80% { transform: translateX(6px); }
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 480px) {
  .title { font-size: 2.2rem; }
  .big-number { font-size: 3.5rem; }
  .card { padding: 24px 20px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .stat-value { font-size: 1.3rem; }
  .calc-glitch { font-size: 1.6rem; }
  .share-card-inner { width: 400px; height: 300px; }
  .share-card-number { font-size: 3.5rem; }
  .cta-buttons { flex-direction: column; align-items: center; }
}