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

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #ffffff;
  color: #1a1a1a;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 20px;
  padding-top: 40px;
}

.container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

/* Header */
.header {
  text-align: center;
  margin-bottom: 40px;
}

.logo-img {
  height: 250px;
  width: auto;
  margin-bottom: 16px;
  object-fit: contain;
}

.tagline {
  font-size: 0.9rem;
  color: #666;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Content */
.content {
  background: #fff;
  border-radius: 12px;
  border: 2px solid #e5e5e5;
  padding: 40px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* Input Section */
.input-section {
  animation: fadeIn 0.3s ease;
}

.question {
  font-size: 1.8rem;
  font-weight: 700;
  color: #233890;
  margin-bottom: 12px;
  font-family: 'Poppins', sans-serif;
  text-align: center;
}

.tagline-description {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 24px;
  line-height: 1.6;
  font-family: 'Poppins', sans-serif;
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hint {
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 20px;
  line-height: 1.5;
  font-family: 'Poppins', sans-serif;
  font-style: italic;
}

/* Mode Selection */
.mode-selection {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.mode-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: #fafafa;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Poppins', sans-serif;
}

.mode-btn:hover {
  border-color: #fa591e;
  background: #fff5f5;
}

.mode-btn.active {
  border-color: #233890;
  background: #233890;
  color: #fff;
}

.mode-btn i {
  font-size: 1.5rem;
  color: #fa591e;
}

.mode-btn.active i {
  color: #fff;
}

.mode-btn .mode-title {
  color: #fa591e;
}

.mode-btn.active .mode-title {
  color: #fff;
}

.mode-info {
  text-align: left;
  flex: 1;
}

.mode-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.mode-desc {
  font-size: 0.75rem;
  opacity: 0.8;
}

.idea-input {
  width: 100%;
  padding: 16px;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  resize: vertical;
  min-height: 120px;
  transition: border-color 0.2s;
  color: #1a1a1a;
  background: #fafafa;
}

.idea-input:focus {
  outline: none;
  border-color: #233890;
  background: #fff;
}

.idea-input::placeholder {
  color: #999;
}

.evaluate-btn {
  width: 100%;
  padding: 16px;
  margin-top: 16px;
  background: #233890;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  font-family: 'Poppins', sans-serif;
}

.evaluate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(35, 56, 144, 0.3);
}

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

.evaluate-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Score Guide */
.score-guide {
  margin-top: 24px;
  padding: 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border: 2px solid #e5e5e5;
  border-radius: 10px;
}

.guide-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
  font-family: 'Poppins', sans-serif;
  text-align: center;
}

.guide-item {
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e8eaed;
  padding: 16px;
}

.guide-scores-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.guide-score-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.guide-score {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: 'Poppins', sans-serif;
  white-space: nowrap;
  min-width: 110px;
  text-align: center;
}

.guide-desc {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
  font-family: 'Poppins', sans-serif;
}

.guide-score.keep {
  background: #d1fae5;
  color: #059669;
}

.guide-score.pivot {
  background: #fef3c7;
  color: #d97706;
}

.guide-score.kill {
  background: #fee2e2;
  color: #dc2626;
}

.guide-score.pause {
  background: #f3f4f6;
  color: #6b7280;
}

/* Loading Section */
.loading-section {
  text-align: center;
  padding: 60px 20px;
  animation: fadeIn 0.3s ease;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  margin: 0 auto 24px;
  border: 4px solid #e5e5e5;
  border-top: 4px solid #233890;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-text {
  font-size: 0.95rem;
  color: #666;
  font-weight: 500;
}

/* Result Section */
.result-section {
  animation: fadeIn 0.4s ease;
}

.result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: #fafafa;
  border-radius: 8px;
  margin-bottom: 24px;
}

.judgment {
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.judgment.keep { color: #10b981; }
.judgment.pivot { color: #f59e0b; }
.judgment.kill { color: #ef4444; }
.judgment.pause { color: #6b7280; }

.score {
  font-size: 3rem;
  font-weight: 800;
  color: #1a1a1a;
}

.score-suffix {
  font-size: 1.5rem;
  color: #999;
  font-weight: 400;
}

.verdict {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 16px;
  line-height: 1.6;
}

.summary {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 28px;
  border-radius: 12px;
  border: 2px solid #e8eaed;
  box-shadow: 0 2px 8px rgba(35, 56, 144, 0.08);
  margin-bottom: 24px;
}

.summary-text {
  font-size: 0.93rem;
  color: #2a2a2a;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.summary-text .verdict-text {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 24px;
  color: #1a1a1a;
  line-height: 1.7;
  padding: 18px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 10px;
  border-left: 5px solid #233890;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.summary-text .issues-box {
  background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
  border-left: 5px solid #fa591e;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(250, 89, 30, 0.12);
}

.summary-text .feasibility-box {
  background: linear-gradient(135deg, #f0f4ff 0%, #e3ebff 100%);
  border-left: 5px solid #233890;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(35, 56, 144, 0.12);
}

.summary-text .section-title {
  font-weight: 700;
  margin-bottom: 14px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.summary-text .section-title i {
  font-size: 1.2rem;
}

.summary-text .issues-box .section-title {
  color: #fa591e;
}

.summary-text .feasibility-box .section-title {
  color: #233890;
}

.summary-text ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.summary-text ul li {
  margin-bottom: 10px;
  line-height: 1.7;
  padding-left: 32px;
  position: relative;
  font-size: 0.95rem;
}

.summary-text ul li:before {
  content: "▸";
  position: absolute;
  left: 8px;
  color: #fa591e;
  font-weight: bold;
  font-size: 1.1rem;
}

.summary-text .feasibility-box ul li:before {
  color: #233890;
}

.summary-text .report-cta {
  border-top: 3px solid #e8eaed;
  padding-top: 24px;
  margin-top: 24px;
}

.summary-text .cta-title {
  font-weight: 700;
  color: #233890;
  margin-bottom: 18px;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.summary-text .cta-title i {
  font-size: 1.3rem;
}

.summary-text .cta-list {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
  padding-left: 0;
}

.summary-text .cta-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #2a2a2a;
  margin-bottom: 0;
  padding-left: 0;
  font-size: 0.95rem;
}

.summary-text .cta-list li:before {
  display: none;
}

.summary-text .cta-list li i {
  width: 24px;
  font-size: 1.1rem;
  text-align: center;
}

.summary-text .cta-list li i.fa-dollar-sign,
.summary-text .cta-list li i.fa-check-circle {
  color: #10b981;
}

.summary-text .cta-list li i.fa-chart-line {
  color: #3b82f6;
}

.summary-text .cta-list li i.fa-robot {
  color: #8b5cf6;
}

.summary-text .cta-list li i.fa-bullseye {
  color: #fa591e;
}

.summary-text .cta-message {
  font-weight: 600;
  color: #1a1a1a;
  margin-top: 18px;
  padding: 16px;
  background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
  border-radius: 8px;
  line-height: 1.7;
  border-left: 4px solid #fa591e;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.summary-text .cta-message i {
  color: #fa591e;
  margin-right: 8px;
  font-size: 1.1rem;
}

.summary-text .verdict-text {
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: #1a1a1a;
  line-height: 1.6;
}

.summary-text .issues-box {
  background: #fff5f5;
  border-left: 3px solid #fa591e;
  padding: 16px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.summary-text .feasibility-box {
  background: #f0f4ff;
  border-left: 3px solid #233890;
  padding: 16px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.summary-text .section-title {
  font-weight: 700;
  margin-bottom: 12px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.summary-text .issues-box .section-title {
  color: #fa591e;
}

.summary-text .feasibility-box .section-title {
  color: #233890;
}

.summary-text ul {
  margin: 0;
  padding-left: 28px;
  list-style: none;
}

.summary-text ul li {
  margin-bottom: 8px;
  line-height: 1.6;
  position: relative;
}

.summary-text ul li:before {
  content: "•";
  position: absolute;
  left: -16px;
}

.summary-text .report-cta {
  border-top: 2px solid #e8eaed;
  padding-top: 20px;
  margin-top: 20px;
}

.summary-text .cta-title {
  font-weight: 700;
  color: #233890;
  margin-bottom: 16px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.summary-text .cta-list {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
  padding-left: 0;
}

.summary-text .cta-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #2a2a2a;
  margin-bottom: 0;
}

.summary-text .cta-list li:before {
  display: none;
}

.summary-text .cta-list li i {
  width: 20px;
  font-size: 0.9rem;
}

.summary-text .cta-list li i.fa-dollar-sign,
.summary-text .cta-list li i.fa-check-circle {
  color: #10b981;
}

.summary-text .cta-list li i.fa-chart-line {
  color: #3b82f6;
}

.summary-text .cta-list li i.fa-robot {
  color: #8b5cf6;
}

.summary-text .cta-list li i.fa-bullseye {
  color: #fa591e;
}

.summary-text .cta-message {
  font-weight: 600;
  color: #1a1a1a;
  margin-top: 16px;
  padding: 12px;
  background: #fafafa;
  border-radius: 6px;
  line-height: 1.6;
}

.summary-text .cta-message i {
  color: #fa591e;
  margin-right: 8px;
}

.email-section {
  background: #233890;
  padding: 24px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.email-title {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.email-form {
  display: flex;
  gap: 8px;
}

.email-input {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-family: inherit;
  background: rgba(255,255,255,0.95);
  color: #1a1a1a;
}

.email-input:focus {
  outline: none;
  background: #fff;
}

.email-input::placeholder {
  color: #999;
}

.send-email-btn {
  padding: 12px 20px;
  background: #fff;
  color: #233890;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s;
}

.send-email-btn:hover {
  transform: scale(1.02);
}

.send-email-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.restart-btn {
  width: 100%;
  padding: 14px;
  background: transparent;
  color: #233890;
  border: 2px solid #233890;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: lowercase;
}

.restart-btn:hover {
  background: #233890;
  color: #fff;
}

/* Utilities */
.hidden {
  display: none !important;
}

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

/* Footer */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding: 16px 0;
  border-top: 1px solid #e5e5e5;
}

.footer-left {
  font-size: 0.9rem;
  color: #1a1a1a;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #999;
  font-family: 'Poppins', sans-serif;
}

.footer-logo {
  height: 24px;
  width: auto;
  opacity: 0.8;
}

/* Mobile */
@media (max-width: 768px) {
  .content {
    padding: 24px;
  }

  .logo {
    font-size: 2.5rem;
  }

  .question {
    font-size: 1.3rem;
  }

  .mode-selection {
    grid-template-columns: 1fr;
  }

  .score-guide {
    padding: 16px;
  }

  .guide-title {
    font-size: 0.9rem;
  }

  .guide-score-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .guide-score {
    min-width: 100px;
  }

  .guide-desc {
    font-size: 0.8rem;
  }

  .result-header {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .email-form {
    flex-direction: column;
  }

  .send-email-btn {
    width: 100%;
  }
}
