.strategy-builder-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
}

.builder-header {
  text-align: center;
  color: white;
  margin-bottom: 30px;
}

.builder-header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.builder-header p {
  font-size: 1.2rem;
  opacity: 0.9;
}

.builder-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  min-height: 800px;
}

/* Form Section - Left Side */
.form-section {
  padding: 40px;
  background: #f8fafc;
  border-right: 1px solid #e2e8f0;
}

.form-header {
  margin-bottom: 30px;
}

.form-header h2 {
  font-size: 1.8rem;
  color: #1f2937;
  margin-bottom: 20px;
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 10px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  width: 0%;
  transition: width 0.5s ease;
  border-radius: 3px;
}

.progress-text {
  font-size: 0.9rem;
  color: #6b7280;
  font-weight: 500;
}

.strategy-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  display: flex;
  align-items: center;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
  font-size: 1rem;
}

.label-icon {
  margin-right: 8px;
  font-size: 1.2rem;
}

.form-group select,
.form-group input[type="text"],
.form-group input[type="email"] {
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

.form-group select:focus,
.form-group input:focus {
  outline: none;
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-group select:valid,
.form-group input:valid {
  border-color: #10b981;
}

.checkbox-group .checkbox-label {
  margin-bottom: 15px;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.checkbox-item:hover {
  border-color: #4f46e5;
  background: #f8fafc;
}

.checkbox-item input[type="checkbox"] {
  display: none;
}

.checkmark {
  min-width: 18px;
  height: 18px;
  border: 2px solid #d1d5db;
  border-radius: 4px;
  margin-right: 10px;
  position: relative;
  transition: all 0.3s ease;
}

.checkbox-item input[type="checkbox"]:checked + .checkmark {
  background: #4f46e5;
  border-color: #4f46e5;
}

.checkbox-item input[type="checkbox"]:checked + .checkmark::after {
  content: "✓";
  position: absolute;
  top: -6px;
  left: 2px;
  color: white;
  font-size: 12px;
  font-weight: bold;
}

.checkbox-item input[type="checkbox"]:checked ~ span {
  color: #4f46e5;
}

.generate-btn {
  background: linear-gradient(135deg, #49C3D7 0%, #7c3aed 100%);
  border: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  margin-top: 10px;
}

.generate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.3);
}

.generate-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-loading {
  display: none;
  align-items: center;
  justify-content: center;
}

.generate-btn.loading .btn-text {
  display: none;
}

.generate-btn.loading .btn-loading {
  display: flex;
}

.loading-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s linear infinite;
  margin-right: 8px;
}

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

/* Results Section - Right Side */
.results-section {
    padding: 20px 20px 20px 0;
  background: white;
  position: relative;
}

.results-placeholder {
  text-align: center;
  padding: 60px 20px;
  color: #6b7280;
}

.placeholder-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  opacity: 0.5;
}

.results-placeholder h3 {
  font-size: 1.5rem;
  color: #374151;
  margin-bottom: 15px;
}

.results-placeholder p {
  font-size: 1rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

.preview-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.feature-item {
  padding: 8px 16px;
  background: #f3f4f6;
  border-radius: 20px;
  font-size: 0.9rem;
  color: #4b5563;
}

.results-content {
  display: none;
  animation: fadeIn 0.8s ease;
}
.step-content small{
    color: #000;
}
.results-content.active {
  display: block;
}

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

.strategy-header {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f3f4f6;
}

.strategy-score {
  margin-right: 20px;
}

.score-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  animation: pulse 2s infinite;
}

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

.score-number {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.score-label {
  font-size: 0.7rem;
  opacity: 0.9;
}

.strategy-title h3 {
  font-size: 1.4rem;
  color: #1f2937;
  margin-bottom: 5px;
}

.strategy-title p {
  color: #6b7280;
  font-size: 0.9rem;
}

.strategy-recommendation,
.quick-wins,
.chart-container,
.next-steps {
  margin-bottom: 20px;
  padding: 20px;
  background: #f8fafc;
  border-radius: 12px;
  border-left: 4px solid #49C3D7;
}

.strategy-recommendation h4,
.quick-wins h4,
.chart-container h4,
.next-steps h4 {
  font-size: 1.1rem;
  color: #1f2937;
  margin-bottom: 15px;
  font-weight: 600;
}

.strategy-recommendation p {
  font-size: 1rem;
  color: #374151;
  line-height: 1.6;
  margin-bottom: 20px;
}

.impact-metrics {
  display: flex;
  gap: 20px;
  justify-content: space-around;
}

.metric {
  text-align: center;
}

.metric-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #10b981;
  line-height: 1;
}

.metric-label {
  font-size: 0.8rem;
  color: #6b7280;
  margin-top: 5px;
}

#quickWinsList {
  list-style: none;
  padding: 0;
}

#quickWinsList li {
  padding: 10px 0;
  border-bottom: 1px solid #e5e7eb;
  position: relative;
  padding-left: 25px;
  color: #374151;
}

#quickWinsList li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: bold;
}

#quickWinsList li:last-child {
  border-bottom: none;
}

.chart-container canvas {
  max-height: 200px;
  width: 100%;
}

.steps-timeline {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.timeline-step {
  display: flex;
  align-items: center;
  padding: 12px;
  background: white;
  border-radius: 8px;
  border-left: 3px solid #4f46e5;
}

.step-number {
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 50%;
  background: #4f46e5;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
  margin-right: 15px;
}

.step-content h5 {
  font-size: 1rem;
  color: #1f2937;
  margin-bottom: 5px;
}

.step-content p {
  font-size: 0.9rem;
  color: #6b7280;
}

.cta-section {
  text-align: center;
  padding: 30px;
  background: linear-gradient(135deg, #49C3D7 0%, #7c3aed 100%);
  border-radius: 12px;
  color: white;
}

.cta-section h4 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.cta-section p {
  margin-bottom: 20px;
  opacity: 0.9;
}

.cta-button {
  background: #f59e0b;
  border: none;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: #d97706;
  transform: translateY(-1px);
}

.secondary-button {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  margin-top: 10px;
}

.secondary-button:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .builder-container {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-section {
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
  }

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

  .impact-metrics {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .strategy-builder-wrapper {
    padding: 10px;
  }

  .builder-header h1 {
    font-size: 2rem;
  }

  .form-section,
  .results-section {
    padding: 20px 20px 20px 0;
  }

  .strategy-header {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .strategy-score {
    margin-right: 0;
  }

  .cta-button,
  .secondary-button {
    display: block;
    margin: 10px auto;
    width: 100%;
    max-width: 250px;
  }
}

/* Form Validation Styles */
.form-group.error select,
.form-group.error input {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.error-message {
  color: #ef4444;
  font-size: 0.8rem;
  margin-top: 5px;
  display: none;
}

.form-group.error .error-message {
  display: block;
}