/* ===== CSS Variables ===== */
:root {
  /* Dark theme (default) */
  --background: 240 10% 4%;
  --foreground: 0 0% 98%;
  --card: 240 10% 6%;
  --card-foreground: 0 0% 98%;
  --primary: 271 91% 65%;
  --primary-foreground: 0 0% 100%;
  --secondary: 240 4% 16%;
  --secondary-foreground: 0 0% 98%;
  --muted: 240 4% 16%;
  --muted-foreground: 240 5% 65%;
  --accent: 271 91% 65%;
  --accent-foreground: 0 0% 100%;
  --success: 142 76% 36%;
  --success-foreground: 0 0% 100%;
  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 100%;
  --border: 240 4% 16%;
  --ring: 271 91% 65%;
  --radius: 12px;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, hsl(271, 91%, 65%), hsl(280, 100%, 70%));
  --gradient-glow: linear-gradient(135deg, hsla(271, 91%, 65%, 0.3), hsla(280, 100%, 70%, 0.1));
  --gradient-card: linear-gradient(145deg, hsla(240, 10%, 10%, 0.8), hsla(240, 10%, 6%, 0.9));
  
  /* Shadows */
  --shadow-glow: 0 0 30px hsla(271, 91%, 65%, 0.3);
  --shadow-card: 0 8px 32px hsla(0, 0%, 0%, 0.3);
}
/* Light theme */
[data-theme="light"] {
  --background: 0 0% 100%;
  --foreground: 240 10% 4%;
  --card: 0 0% 98%;
  --card-foreground: 240 10% 4%;
  --primary: 271 91% 55%;
  --primary-foreground: 0 0% 100%;
  --secondary: 240 5% 92%;
  --secondary-foreground: 240 10% 4%;
  --muted: 240 5% 92%;
  --muted-foreground: 240 4% 46%;
  --accent: 271 91% 55%;
  --accent-foreground: 0 0% 100%;
  --success: 142 76% 36%;
  --success-foreground: 0 0% 100%;
  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 100%;
  --border: 240 6% 90%;
  --ring: 271 91% 55%;
  
  --gradient-card: linear-gradient(145deg, hsla(0, 0%, 100%, 0.9), hsla(0, 0%, 98%, 0.95));
  --shadow-card: 0 8px 32px hsla(0, 0%, 0%, 0.1);
}
/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
/* ===== App Container ===== */
.app-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
/* ===== Header ===== */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  border-bottom: 1px solid hsl(var(--border));
  background: hsla(var(--background), 0.8);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.logo-icon {
  border-radius: 10px;
  overflow: hidden;
}
.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--secondary));
  color: hsl(var(--foreground));
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.theme-toggle:hover {
  background: hsl(var(--muted));
  border-color: hsl(var(--primary));
}
.theme-toggle .sun-icon {
  display: none;
}
[data-theme="light"] .theme-toggle .sun-icon {
  display: block;
}
[data-theme="light"] .theme-toggle .moon-icon {
  display: none;
}
/* ===== Main Content ===== */
.main-content {
  flex: 1;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
/* ===== Chat Container ===== */
.chat-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.chat-message {
  display: flex;
  gap: 1rem;
  animation: fadeInUp 0.3s ease;
}
.chat-message.user {
  flex-direction: row-reverse;
}
.message-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.chat-message.bot .message-avatar {
  background: var(--gradient-primary);
  color: hsl(var(--primary-foreground));
  box-shadow: var(--shadow-glow);
}
.chat-message.user .message-avatar {
  background: hsl(var(--secondary));
  color: hsl(var(--muted-foreground));
}
.message-content {
  max-width: 70%;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
}
.chat-message.bot .message-content {
  background: var(--gradient-card);
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-card);
}
.chat-message.user .message-content {
  background: var(--gradient-primary);
  color: hsl(var(--primary-foreground));
}
/* ===== Options Container ===== */
.options-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: fadeInUp 0.3s ease;
}
.option-btn {
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--secondary));
  color: hsl(var(--foreground));
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.option-btn:hover {
  border-color: hsl(var(--primary));
  background: hsla(var(--primary), 0.1);
  transform: translateY(-2px);
}
.option-btn.selected {
  background: var(--gradient-primary);
  border-color: transparent;
  color: hsl(var(--primary-foreground));
  box-shadow: var(--shadow-glow);
}
.option-btn svg {
  width: 18px;
  height: 18px;
}
/* ===== Input Container ===== */
.input-container {
  display: flex;
  gap: 0.75rem;
  animation: fadeInUp 0.3s ease;
}
.text-input {
  flex: 1;
  padding: 0.875rem 1rem;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--secondary));
  color: hsl(var(--foreground));
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: all 0.2s ease;
}
.file-input {
  flex: 1;
  padding: 0.875rem 1rem;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--secondary));
  color: hsl(var(--foreground));
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: all 0.2s ease;
  cursor: pointer;
}
.file-input:focus {
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px hsla(var(--primary), 0.2);
}
.text-input::placeholder {
  color: hsl(var(--muted-foreground));
}
.text-input:focus {
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px hsla(var(--primary), 0.2);
}
.submit-btn {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  border: none;
  background: var(--gradient-primary);
  color: hsl(var(--primary-foreground));
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-glow);
}
.submit-btn:hover {
  transform: scale(1.05);
}
.submit-btn:active {
  transform: scale(0.95);
}
/* ===== Custom Input Container ===== */
.custom-input-container {
  animation: fadeInUp 0.3s ease;
}
.custom-input-header {
  margin-bottom: 1rem;
}
.custom-input-header p {
  color: hsl(var(--foreground));
  font-size: 0.95rem;
  font-weight: 500;
  margin: 0;
}
.custom-input-field {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.custom-input-field input {
  flex: 1;
  padding: 0.875rem 1rem;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--secondary));
  color: hsl(var(--foreground));
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: all 0.2s ease;
}
.custom-input-field input::placeholder {
  color: hsl(var(--muted-foreground));
}
.custom-input-field input:focus {
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px hsla(var(--primary), 0.2);
}
.custom-submit-btn {
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius);
  border: none;
  background: var(--gradient-primary);
  color: hsl(var(--primary-foreground));
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-glow);
  white-space: nowrap;
}
.custom-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px hsla(271, 91%, 65%, 0.4);
}
.custom-submit-btn:active {
  transform: translateY(0);
}
/* ===== Analyze Button ===== */
.analyze-btn {
  padding: 1rem 2rem;
  border-radius: var(--radius);
  border: none;
  background: var(--gradient-primary);
  color: hsl(var(--primary-foreground));
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-glow);
  animation: fadeInUp 0.3s ease;
}
.analyze-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px hsla(271, 91%, 65%, 0.4);
}
.analyze-btn:active {
  transform: translateY(0);
}
/* ===== Loader ===== */
.loader-container {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--gradient-card);
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-card);
  animation: fadeInUp 0.3s ease;
}
.loader-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  font-weight: 500;
}
.loader-spinner {
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
  position: relative;
}
.loader-spinner::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--gradient-primary);
  opacity: 0.3;
  animation: ping 1.5s ease-out infinite;
}
.spinner {
  animation: spin 1s linear infinite;
  color: hsl(var(--primary-foreground));
}
.loader-steps {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.loader-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 1rem;
  border-radius: 8px;
  border: 1px solid transparent;
  background: hsla(var(--secondary), 0.3);
  transition: all 0.3s ease;
}
.loader-step.active {
  background: hsla(var(--primary), 0.1);
  border-color: hsla(var(--primary), 0.3);
}
.loader-step.complete {
  background: hsla(var(--success), 0.1);
  border-color: hsla(var(--success), 0.3);
}
.loader-step svg {
  width: 16px;
  height: 16px;
  color: hsl(var(--muted-foreground));
  transition: all 0.3s ease;
}
.loader-step.active svg {
  color: hsl(var(--primary));
  animation: pulse 1s ease infinite;
}
.loader-step.complete svg {
  color: hsl(var(--success));
}
.loader-step span {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  transition: all 0.3s ease;
}
.loader-step.active span {
  color: hsl(var(--foreground));
}
.loader-step.complete span {
  color: hsl(var(--success));
}
/* ===== Results Container ===== */
.results-container {
  animation: fadeInUp 0.3s ease;
}
.results-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.results-icon {
  width: 56px;
  height: 56px;
  background: var(--gradient-primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary-foreground));
  box-shadow: var(--shadow-glow);
}
.results-title h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.results-title p {
  font-size: 0.9rem;
  color: hsl(var(--muted-foreground));
}
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.result-card {
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--gradient-card);
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-card);
}
.result-card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.result-card-header svg {
  width: 16px;
  height: 16px;
}
.result-card-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}
.recommendations-section {
  margin-bottom: 1.5rem;
}
.recommendations-section h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.recommendations-section h3 svg {
  width: 20px;
  height: 20px;
  color: hsl(var(--primary));
}
.recommendations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}
.recommendation-item {
  padding: 1rem;
  border-radius: 10px;
  background: hsla(var(--primary), 0.05);
  border: 1px solid hsla(var(--primary), 0.2);
}
.recommendation-label {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.375rem;
}
.recommendation-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: hsl(var(--primary));
}
.cost-estimate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  background: var(--gradient-glow);
  border: 1px solid hsla(var(--primary), 0.3);
  margin-bottom: 1.5rem;
}
.cost-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: hsl(var(--muted-foreground));
}
.cost-label svg {
  width: 20px;
  height: 20px;
  color: hsl(var(--primary));
}
.cost-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--primary));
}
.next-steps-section h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.next-steps-section h3 svg {
  width: 20px;
  height: 20px;
  color: hsl(var(--success));
}
.next-steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.next-steps-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border-radius: 10px;
  background: hsla(var(--success), 0.05);
  border: 1px solid hsla(var(--success), 0.2);
  font-size: 0.9rem;
}
.next-steps-list li svg {
  width: 18px;
  height: 18px;
  color: hsl(var(--success));
  flex-shrink: 0;
  margin-top: 2px;
}
.restart-btn {
  width: 100%;
  padding: 0.875rem;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--secondary));
  color: hsl(var(--foreground));
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  margin-top: 1.5rem;
}
.restart-btn:hover {
  background: hsl(var(--muted));
  border-color: hsl(var(--primary));
}
/* ===== Error Container ===== */
.error-container {
  text-align: center;
  padding: 3rem 2rem;
  border-radius: var(--radius);
  background: var(--gradient-card);
  border: 1px solid hsla(var(--destructive), 0.3);
  box-shadow: var(--shadow-card);
  animation: fadeInUp 0.3s ease;
}
.error-icon {
  width: 80px;
  height: 80px;
  background: hsla(var(--destructive), 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: hsl(var(--destructive));
}
.error-container h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.error-container p {
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
}
.retry-btn {
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  border: none;
  background: hsl(var(--destructive));
  color: hsl(var(--destructive-foreground));
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}
.retry-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}
/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes ping {
  0% {
    transform: scale(1);
    opacity: 0.3;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
/* ===== Deploy Section ===== */
.deploy-section {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--gradient-card);
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-card);
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.3s ease;
}

.deploy-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  text-align: center;
}

.deploy-emoji {
  font-size: 2rem;
}

.deploy-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin: 0;
}

.deploy-header p {
  font-size: 0.95rem;
  color: hsl(var(--muted-foreground));
  margin: 0;
}

.deploy-now-btn {
  width: 100%;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  border: none;
  background: var(--gradient-primary);
  color: hsl(var(--primary-foreground));
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-glow);
  margin-bottom: 1rem;
}

.deploy-now-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 0 40px hsla(271, 91%, 65%, 0.4);
}

.deploy-now-btn:active:not(:disabled) {
  transform: translateY(0);
}

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

.deploy-status {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius);
  background: hsla(var(--secondary), 0.5);
  text-align: center;
}

.deploy-spinner {
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
  position: relative;
}

.deploy-spinner::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--gradient-primary);
  opacity: 0.3;
  animation: ping 1.5s ease-out infinite;
}

.spinner {
  animation: spin 1s linear infinite;
  color: hsl(var(--primary-foreground));
}

.deploy-status p {
  font-size: 0.95rem;
  color: hsl(var(--foreground));
  font-weight: 500;
}

.deploy-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.deploy-success svg {
  width: 48px;
  height: 48px;
}

.deploy-success p:first-of-type {
  font-size: 1.1rem;
  font-weight: 600;
}

.deploy-success p:last-of-type {
  font-size: 0.9rem;
  color: hsl(var(--muted-foreground));
  margin: 0;
}
/* ===== Analysis Results ===== */
.analysis-results {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 1.5rem;
}

.result-section {
  background: var(--gradient-card);
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

.result-section h3 {
  color: hsl(var(--foreground));
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.result-item {
  background: hsl(var(--secondary));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1rem;
  transition: all 0.2s ease;
}

.result-item:hover {
  border-color: hsl(var(--primary));
  transform: translateY(-2px);
}

.result-label {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.result-value {
  color: hsl(var(--foreground));
  font-size: 1rem;
  font-weight: 600;
}

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

.recommendation-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: hsl(var(--secondary));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1rem;
  transition: all 0.2s ease;
}

.recommendation-item:hover {
  border-color: hsl(var(--primary));
  transform: translateY(-2px);
}

.rec-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary-foreground));
}

.rec-content {
  flex: 1;
}

.rec-label {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.rec-value {
  color: hsl(var(--foreground));
  font-size: 1rem;
  font-weight: 600;
}

.cost-display {
  text-align: center;
  background: var(--gradient-primary);
  border-radius: var(--radius);
  padding: 2rem;
  color: hsl(var(--primary-foreground));
}

.cost-amount {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.cost-note {
  font-size: 0.9rem;
  opacity: 0.9;
}

.next-steps {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.next-step-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: hsl(var(--secondary));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1rem;
  transition: all 0.2s ease;
}

.next-step-item:hover {
  border-color: hsl(var(--success));
  background: hsla(var(--success), 0.05);
}

.step-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: hsl(var(--success));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--success-foreground));
}

.step-text {
  color: hsl(var(--foreground));
  font-size: 0.95rem;
  font-weight: 500;
}

.deploy-section {
  background: var(--gradient-card);
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  margin-top: 1rem;
}

.deploy-prompt h3 {
  color: hsl(var(--foreground));
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
}

.deploy-prompt p {
  color: hsl(var(--muted-foreground));
  font-size: 1rem;
  margin: 0 0 2rem 0;
}

.deploy-now-btn {
  background: var(--gradient-primary);
  color: hsl(var(--primary-foreground));
  border: none;
  border-radius: var(--radius);
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-glow);
  margin: 0 auto;
}

.deploy-now-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px hsla(271, 91%, 65%, 0.4);
}

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

.deploy-status {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.deploy-spinner {
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
}

.deploy-status p {
  color: hsl(var(--foreground));
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0;
}
/* ===== Email Signup Section ===== */
.email-signup-section {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--gradient-card);
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  text-align: center;
}

.email-signup-header h4 {
  color: hsl(var(--foreground));
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
}

.email-signup-header p {
  color: hsl(var(--muted-foreground));
  font-size: 0.95rem;
  margin: 0 0 1.5rem 0;
}

.email-signup-form {
  display: flex;
  gap: 0.75rem;
  max-width: 400px;
  margin: 0 auto;
}

.email-input {
  flex: 1;
  padding: 0.875rem 1rem;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--secondary));
  color: hsl(var(--foreground));
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: all 0.2s ease;
}

.email-input::placeholder {
  color: hsl(var(--muted-foreground));
}

.email-input:focus {
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px hsla(var(--primary), 0.2);
}

.email-submit-btn {
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius);
  border: none;
  background: var(--gradient-primary);
  color: hsl(var(--primary-foreground));
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-glow);
  white-space: nowrap;
}

.email-submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 0 40px hsla(271, 91%, 65%, 0.4);
}

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

.signup-message {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
}

.signup-message.success {
  background: hsla(142, 76%, 36%, 0.1);
  border: 1px solid hsla(142, 76%, 36%, 0.3);
  color: hsl(142, 76%, 36%);
}

.signup-message.error {
  background: hsla(0, 84%, 60%, 0.1);
  border: 1px solid hsla(0, 84%, 60%, 0.3);
  color: hsl(0, 84%, 60%);
}
/* ===== Responsive ===== */
@media (max-width: 640px) {
  .header {
    padding: 1rem;
  }
  
  .main-content {
    padding: 1rem;
  }
  
  .message-content {
    max-width: 85%;
  }
  
  .result-grid {
    grid-template-columns: 1fr;
  }
  
  .recommendations-grid {
    grid-template-columns: 1fr;
  }
  
  .recommendation-item {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  
  .rec-icon {
    align-self: center;
  }
  
  .cost-amount {
    font-size: 2rem;
  }
  
  .deploy-section {
    padding: 1.5rem;
  }
  
  .deploy-prompt h3 {
    font-size: 1.25rem;
  }
  
  .email-signup-section {
    padding: 1.25rem;
  }
  
  .email-signup-form {
    flex-direction: column;
  }
  
  .email-submit-btn {
    align-self: stretch;
  }
}