/* Hero Section Styling */
.hero-section {
  background: linear-gradient(135deg, rgba(101, 113, 255, 0.1) 0%, rgba(102, 209, 209, 0.05) 100%);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(101, 113, 255, 0.2);
}

.hero-section h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #6571ff 0%, #66d1d1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-section .subtitle {
  color: #7987a1;
  font-size: 1rem;
  margin-bottom: 0;
}

/* Prompt Mode Tabs - Secondary color scheme */
.prompt-mode-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 1.75rem;
  background: #0c1427;
  border-radius: 8px;
  padding: 4px;
  border: 1px solid #172340;
}

.prompt-mode-tab {
  flex: 1;
  padding: 10px 20px;
  border: none;
  background: transparent;
  color: #7987a1;
  font-weight: 500;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.prompt-mode-tab:hover {
  color: #d0d6e1;
  background: rgba(121, 135, 161, 0.15);
}

.prompt-mode-tab.active {
  background: linear-gradient(135deg, #8a9bb5 0%, #7987a1 100%);
  color: #fff;
}

.prompt-mode-tab svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Prompt Content Areas */
.prompt-content {
  display: none;
}

.prompt-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

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

/* Simple mode prompt spacing */
.simple-prompt-field {
  margin-bottom: 1.75rem;
}

/* Advanced Prompt Fields - Inverted colors */
.advanced-prompt-group {
  background: #070d19;
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  border: 1px solid #172340;
}

.advanced-prompt-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: #d0d6e1;
  margin-bottom: 0.75rem;
}

.advanced-prompt-group label .badge {
  font-size: 0.7rem;
  padding: 3px 8px;
}

.advanced-prompt-group label svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.advanced-prompt-group textarea {
  background: #0f1a2e;
  border-color: #243866;
}

.advanced-prompt-group textarea:focus {
  border-color: #6571ff;
  box-shadow: 0 0 0 3px rgba(101, 113, 255, 0.15);
}

/* Improve Checkbox Styling */
.improve-prompt-wrapper {
  background: linear-gradient(135deg, rgba(5, 163, 74, 0.1) 0%, rgba(5, 163, 74, 0.05) 100%);
  border: 1px solid rgba(5, 163, 74, 0.3);
  border-radius: 8px;
  padding: 1.25rem;
  margin-top: 1.75rem;
}

.improve-prompt-wrapper .form-check-label {
  color: #d0d6e1;
}

/* Consent section spacing */
.consent-section {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #172340;
}

.credit-info-wrapper {
  display: flex;
  justify-content: flex-start;
}

.credit-info {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 6px;
  background: rgba(101, 113, 255, 0.1);
  border: 1px solid rgba(101, 113, 255, 0.3);
  border-radius: 12px;
  padding: 8px 14px;
  font-size: 0.85rem;
  color: #d0d6e1;
}

.credit-info svg {
  width: 16px;
  height: 16px;
  stroke: #6571ff;
  flex-shrink: 0;
}

.credit-info .credit-main {
  white-space: nowrap;
}

.credit-info .credit-amount {
  color: #6571ff;
  font-weight: 600;
}

.credit-info .discount-note {
  color: #05a34a;
  font-size: 0.8rem;
}

@media (max-width: 576px) {
  .credit-info {
    font-size: 0.78rem;
    padding: 10px 12px;
    gap: 4px;
  }
  
  .credit-info .credit-main {
    white-space: normal;
  }
  
  .credit-info .discount-note {
    width: 100%;
    text-align: center;
    font-size: 0.72rem;
  }
}

/* Generate Button */
.btn-generate {
  background: linear-gradient(135deg, #6571ff 0%, #515acc 100%);
  border: none;
  color: white;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-generate:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(101, 113, 255, 0.35);
  background: linear-gradient(135deg, #7a84ff 0%, #6571ff 100%);
  color: white;
}

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

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

.btn-generate svg {
  width: 20px;
  height: 20px;
}

/* Info Sections */
.info-section {
  background: #0c1427;
  border: 1px solid #172340;
  border-radius: 12px;
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}

.info-section h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-section h3 svg {
  width: 24px;
  height: 24px;
  stroke: #6571ff;
}

.info-section p {
  color: #7987a1;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

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

/* Feature List */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(23, 35, 64, 0.5);
}

.feature-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.feature-list li:first-child {
  padding-top: 0;
}

.feature-list .feature-icon {
  width: 20px;
  height: 20px;
  stroke: #05a34a;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-list .feature-text {
  color: #d0d6e1;
}

.feature-list .feature-text strong {
  color: #fff;
}

/* Tips section with more spacing */
.tips-row {
  margin-top: 0.5rem;
}

.pro-tips-section {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #172340;
}

/* Tips Cards */
.tip-card {
  background: rgba(23, 35, 64, 0.5);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
  height: calc(100% - 1rem);
}

.tip-card.tip-good {
  border-left: 3px solid #05a34a;
}

.tip-card.tip-warning {
  border-left: 3px solid #fbbc06;
}

.tip-card.tip-bad {
  border-left: 3px solid #ff3366;
}

.tip-card h5 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tip-card p {
  font-size: 0.875rem;
  margin-bottom: 0;
}

.tip-card .example {
  background: #0c1427;
  padding: 8px 12px;
  border-radius: 4px;
  font-style: italic;
  color: #d0d6e1;
  margin-top: 0.5rem;
  font-size: 0.85rem;
}

/* Sidebar styling */
.sidebar-card {
  position: sticky;
  top: 20px;
}

/* Custom step number circle */
.step-number {
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: #6571ff;
  border-radius: 50%;
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  display: grid;
  place-items: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-section {
    padding: 1.5rem;
  }
  
  .hero-section h1 {
    font-size: 1.5rem;
  }
  
  .prompt-mode-tab {
    padding: 8px 12px;
    font-size: 0.9rem;
  }
  
  .tip-card {
    height: auto;
    margin-bottom: 1rem;
  }
}