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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  min-height: 100vh;
  color: #1a1a2e;
  overflow-x: hidden;
}

.app-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
  position: relative;
}

/* Floating Berries */
.floating-berries {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 0;
}

.floating-berry {
  position: absolute;
  font-size: 2rem;
  animation: float 6s ease-in-out infinite;
  pointer-events: auto;
  cursor: pointer;
  transition: transform 0.2s;
  opacity: 0.3;
}

.floating-berry:hover {
  transform: scale(1.2);
  opacity: 0.6;
}

.floating-berry:nth-child(1) { left: 10%; top: 20%; }
.floating-berry:nth-child(2) { right: 15%; top: 40%; }
.floating-berry:nth-child(3) { left: 20%; bottom: 30%; }
.floating-berry:nth-child(4) { right: 10%; bottom: 20%; }

.berry-pop {
  animation: pop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.5) rotate(15deg); }
  100% { transform: scale(1); }
}

/* Confetti */
.confetti {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1000;
}

.confetti-piece {
  position: absolute;
  width: 10px;
  height: 10px;
  background: #ff4081;
  top: -10px;
  left: 50%;
  animation: confetti-fall 3s ease-out forwards;
}

.confetti-piece:nth-child(odd) { background: #00e5ff; }
.confetti-piece:nth-child(3n) { background: #7b1fa2; }
.confetti-piece:nth-child(5n) { background: #ff1744; }

@keyframes confetti-fall {
  to {
    transform: translateY(100vh) rotate(720deg) translateX(calc(var(--random) * 200px - 100px));
    opacity: 0;
  }
}

/* Header */
.header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.95);
  padding: 3rem 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.main-title {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ff1744, #f093fb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.subtitle {
  font-size: 1.5rem;
  color: #666;
  margin-bottom: 1rem;
}

.hours-saved {
  display: inline-block;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 1.1rem;
  margin-top: 1rem;
  animation: pulse 2s ease-in-out infinite;
}

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

/* Comparison Section */
.comparison-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.comparison-column {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  animation: fadeIn 0.8s ease-out;
  animation-fill-mode: both;
}

.comparison-column.traditional {
  animation-delay: 0.2s;
}

.comparison-column.berrry {
  animation-delay: 0.4s;
  background: linear-gradient(135deg, #fff 0%, #fff5f8 100%);
  border: 3px solid #ff4081;
}

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

.column-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.column-icon {
  font-size: 3rem;
}

.column-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
}

.steps-list {
  margin-bottom: 2rem;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  margin-bottom: 0.5rem;
  background: #f8f9fa;
  border-radius: 10px;
  animation: slideIn 0.5s ease-out;
  animation-fill-mode: both;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #e0e0e0;
  border-radius: 50%;
  font-weight: 700;
  color: #666;
  flex-shrink: 0;
}

.step-number.berry {
  background: linear-gradient(135deg, #ff1744, #ff4081);
  color: white;
}

.step-text {
  flex: 1;
  font-size: 1rem;
  color: #333;
}

/* Metrics */
.metrics {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.metric-label {
  font-weight: 600;
  color: #666;
  font-size: 0.9rem;
}

.metric-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a2e;
}

.berry-highlight {
  color: #ff1744;
}

.cost-high {
  color: #d32f2f;
}

.cost-low {
  color: #00c853;
}

/* Complexity Meter */
.complexity-meter {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.complexity-meter-bg {
  width: 100%;
  height: 24px;
  background: #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
}

.complexity-meter-fill {
  height: 100%;
  transition: width 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border-radius: 12px;
}

.complexity-meter-fill.high {
  background: linear-gradient(90deg, #ff1744, #d32f2f);
}

.complexity-meter-fill.low {
  background: linear-gradient(90deg, #00c853, #00e676);
}

.complexity-label {
  font-weight: 700;
  font-size: 1.1rem;
}

/* Scenario Generator */
.scenario-generator {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  margin-bottom: 3rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  color: #1a1a2e;
}

.input-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.idea-input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: 2px solid #e0e0e0;
  border-radius: 50px;
  font-size: 1.1rem;
  outline: none;
  transition: border-color 0.3s;
}

.idea-input:focus {
  border-color: #ff4081;
}

.generate-button {
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #ff1744, #ff4081);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.generate-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(255, 23, 68, 0.4);
}

.generate-button:active {
  transform: translateY(0);
}

.generated-comparison {
  margin-top: 2rem;
  padding: 2rem;
  background: #f8f9fa;
  border-radius: 15px;
}

.comparison-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #1a1a2e;
}

.comparison-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.result-column h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #666;
}

.result-column ul {
  list-style: none;
  padding: 0;
}

.result-column li {
  padding: 0.5rem 0;
  color: #333;
}

.result-column li:before {
  content: "• ";
  color: #ff4081;
  font-weight: bold;
  margin-right: 0.5rem;
}

.result-time {
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background: white;
  border-radius: 10px;
  font-weight: 700;
  text-align: center;
}

.berry-time {
  background: linear-gradient(135deg, #ff1744, #ff4081);
  color: white;
}

.time-saved {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: #00c853;
  padding: 1rem;
  background: white;
  border-radius: 10px;
}

/* Features Section */
.features-section {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  margin-bottom: 3rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  padding: 2rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 2px solid transparent;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: #ff4081;
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #1a1a2e;
}

.feature-description {
  color: #666;
  line-height: 1.6;
}

/* Meta Card */
.meta-card {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border-radius: 20px;
  padding: 3rem;
  margin-bottom: 3rem;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.meta-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.meta-description {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.meta-timeline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.timeline-step {
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.timeline-arrow {
  font-size: 1.5rem;
  font-weight: 700;
}

/* CTA Section */
.cta-section {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  margin-bottom: 3rem;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
}

.cta-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #1a1a2e;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.cta-button {
  padding: 1.25rem 2.5rem;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-block;
}

.cta-button.primary {
  background: linear-gradient(135deg, #ff1744, #ff4081);
  color: white;
}

.cta-button.secondary {
  background: white;
  color: #ff1744;
  border: 3px solid #ff1744;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 23, 68, 0.3);
}

.cta-subtitle {
  color: #666;
  font-size: 1.1rem;
  margin-top: 1rem;
}

/* Footer */
.footer {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
}

.footer-content p {
  margin-bottom: 0.5rem;
  color: #666;
}

.footer-content a {
  color: #ff1744;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.footer-content a:hover {
  color: #ff4081;
}

.footer-links {
  margin: 1rem 0;
}

.footer-disclaimer {
  font-size: 0.9rem;
  font-style: italic;
  color: #999;
  margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .app-container {
    padding: 1rem;
  }

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

  .subtitle {
    font-size: 1.2rem;
  }

  .comparison-container {
    grid-template-columns: 1fr;
  }

  .comparison-column.berrry {
    order: -1;
  }

  .input-group {
    flex-direction: column;
  }

  .comparison-results {
    grid-template-columns: 1fr;
  }

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

  .cta-buttons {
    flex-direction: column;
  }

  .cta-button {
    width: 100%;
  }

  .meta-timeline {
    flex-direction: column;
  }

  .timeline-arrow {
    transform: rotate(90deg);
  }
}