/* ==========================================================================
   Hero Start Screen Stylesheet - Signature NoCodeVista Gradient Theme
   ========================================================================== */

.hero-start-screen {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 1.5rem 65px;
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
  /* Signature NCV smooth gradient */
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(67, 56, 202, 0.08) 0%, transparent 100%),
    linear-gradient(180deg, #C7D2FE 0%, #EEF2FF 22%, #FFFFFF 50%, #FAFAFA 100%);
}

/* Content Container */
.start-screen-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Header Group */
.start-header-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1100px;
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 1.75rem;
}

.start-header-group.hidden {
  opacity: 0;
  transform: translateY(-15px);
  pointer-events: none;
  height: 0;
  margin: 0;
  overflow: hidden;
}

/* Badge - Signature Gradient Premium */
.start-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs, 0.5rem);
  padding: 6px 18px;
  background: linear-gradient(135deg, #4338CA 0%, #6366F1 100%);
  border: none;
  border-radius: 50px;
  margin-bottom: 1.15rem;
  box-shadow: 0 4px 14px rgba(67, 56, 202, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 600;
}

.start-badge i {
  color: #FFFFFF;
  font-size: 1rem;
}

.start-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(67, 56, 202, 0.4);
}

/* Hero Title */
.start-title {
  font-size: clamp(2.35rem, 4.2vw, 3.85rem);
  font-weight: var(--fw-extrabold, 800);
  color: var(--text-primary, #111827);
  letter-spacing: var(--tracking-tight, -0.035em);
  line-height: 1.16;
  margin: 0 0 1rem;
  max-width: 1080px;
}

.start-title .gradient-text {
  background: linear-gradient(135deg, #4338CA 0%, #6366F1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: var(--fw-extrabold, 800);
}

/* Subtitle */
.start-subtitle {
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  font-weight: var(--fw-normal, 400);
  color: var(--text-secondary, #4B5563);
  line-height: 1.6;
  max-width: 1020px;
  margin: 0 auto;
}

/* Interaction Area */
.start-interaction-area {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  position: relative;
}

/* 4-Line Prompt Box */
.start-prompt-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1.5px solid rgba(67, 56, 202, 0.16);
  border-radius: 24px;
  padding: 1rem 1.25rem;
  box-shadow: 0 20px 45px -8px rgba(67, 56, 202, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: left;
}

.start-prompt-wrapper:focus-within {
  border-color: #6366F1;
  box-shadow: 0 24px 50px -8px rgba(99, 102, 241, 0.22), 0 0 0 4px rgba(99, 102, 241, 0.14);
  background: #FFFFFF;
}

.start-prompt-wrapper.prompt-wrapper-generating {
  border-color: #4338CA;
  box-shadow: 0 0 0 4px rgba(67, 56, 202, 0.16), 0 16px 36px rgba(67, 56, 202, 0.15);
  pointer-events: none;
}

/* Prompt Header */
.start-prompt-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(229, 231, 235, 0.7);
}

.start-input-prefix {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #4338CA;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.start-input-prefix i {
  font-size: 1.1rem;
  color: #6366F1;
}

/* 4-Line Prompt Textarea */
.start-prompt-textarea,
.start-prompt-textarea:focus,
.start-prompt-textarea:focus-visible {
  width: 100%;
  min-height: 105px;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  font-size: 1.05rem;
  font-weight: 500;
  color: #111827;
  font-family: inherit;
  line-height: 1.6;
  resize: none;
  box-sizing: border-box;
  padding: 0.25rem 0;
}

.start-prompt-textarea::placeholder {
  color: #9CA3AF;
  font-weight: 400;
  line-height: 1.5;
}

.start-prompt-textarea:disabled {
  color: #6B7280;
  cursor: not-allowed;
}

/* Prompt Footer */
.start-prompt-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(229, 231, 235, 0.7);
  gap: 1rem;
  flex-wrap: wrap;
}

.start-prompt-hints {
  display: flex;
  align-items: center;
  color: #6B7280;
  font-size: 0.825rem;
  font-weight: 500;
}

.start-prompt-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.start-prompt-hint i {
  color: #6366F1;
  font-size: 0.95rem;
}

/* Generate Button - Signature Gradient */
.start-generate-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: linear-gradient(135deg, #4338CA 0%, #6366F1 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 14px;
  padding: 0.8rem 1.75rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(67, 56, 202, 0.3);
  flex-shrink: 0;
}

.start-generate-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(67, 56, 202, 0.45);
}

.start-generate-btn:disabled {
  background: #CBD5E1;
  color: #94A3B8;
  opacity: 0.75;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.start-generate-btn i {
  font-size: 1.1rem;
}

.start-generate-btn .spinner {
  animation: startSpin 1s linear infinite;
}

@keyframes startSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Surprise Me Button */
.start-shuffle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(238, 242, 255, 0.8);
  border: 1px solid rgba(67, 56, 202, 0.18);
  color: #4338CA;
  font-size: 0.825rem;
  font-weight: 650;
  padding: 0.5rem 0.95rem;
  min-height: 38px;
  box-sizing: border-box;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.start-shuffle-btn:hover {
  background: #FFFFFF;
  color: #3730A3;
  border-color: #6366F1;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(67, 56, 202, 0.18);
}

.start-shuffle-btn i {
  font-size: 0.9rem;
}

/* Generation Processing Steps - Subtle Minimal Timeline */
.start-processing-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.65rem;
  margin: 0 auto 1.75rem;
  width: auto;
  max-width: 440px;
  animation: startFadeIn 0.35s ease-out;
  padding: 0;
  background: transparent;
  border: none;
}

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

.start-process-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.15rem 0;
  background: transparent;
  border: none;
  box-shadow: none;
  transition: all 0.3s ease;
  text-align: left;
}

.start-process-step.step-active {
  background: transparent;
  border: none;
  box-shadow: none;
}

.start-process-step.step-completed {
  background: transparent;
  border: none;
}

.start-process-step.step-pending {
  opacity: 0.35;
}

.start-step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.start-step-icon .spinner {
  animation: startSpin 1s linear infinite;
}

.start-pending-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #CBD5E1;
  margin: 0 auto;
}

.start-step-text {
  font-size: 0.95rem;
  font-weight: 500;
  color: #4B5563;
  transition: color 0.3s ease, font-weight 0.3s ease;
}

.start-process-step.step-completed .start-step-text {
  color: #6B7280;
  font-weight: 450;
}

.start-process-step.step-active .start-step-text {
  color: #4338CA;
  font-weight: 650;
}

.start-process-step.step-pending .start-step-text {
  color: #9CA3AF;
  font-weight: 400;
}

/* Inline Post Generation Actions Strip with Celebration */
.start-post-gen-actions {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.5rem;
  width: 100%;
  max-width: 580px;
  animation: successCardPop 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.start-celebration-canvas {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 650px;
  height: 240px;
  pointer-events: none;
  z-index: 10;
}

.start-post-gen-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1.5px solid rgba(99, 102, 241, 0.28);
  border-radius: 24px;
  padding: 1.35rem 1.75rem;
  box-shadow: 0 16px 40px rgba(67, 56, 202, 0.14), 0 0 0 1px rgba(99, 102, 241, 0.15);
  animation: cardGlowPulse 3s ease-in-out infinite;
  gap: 1.15rem;
  box-sizing: border-box;
  z-index: 2;
}

.start-success-banner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, rgba(238, 242, 255, 0.95) 0%, rgba(240, 253, 244, 0.95) 100%);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 999px;
  padding: 0.45rem 1.25rem;
}

.start-party-icon {
  font-size: 1.25rem;
  display: inline-block;
  animation: partySway 3.2s ease-in-out infinite;
  transform-origin: bottom center;
}

.start-party-icon.right {
  animation: partySwayRight 3.2s ease-in-out infinite;
  animation-delay: 1.6s;
}

.start-success-text {
  font-size: 1.02rem;
  font-weight: 750;
  color: #059669;
  letter-spacing: -0.01em;
}

@keyframes successCardPop {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.92);
  }
  60% {
    transform: translateY(-4px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes partySway {
  0%, 100% {
    transform: rotate(0deg) scale(1);
  }
  25% {
    transform: rotate(-10deg) scale(1.12);
  }
  75% {
    transform: rotate(10deg) scale(1.12);
  }
}

@keyframes partySwayRight {
  0%, 100% {
    transform: scaleX(-1) rotate(0deg) scale(1);
  }
  25% {
    transform: scaleX(-1) rotate(-10deg) scale(1.12);
  }
  75% {
    transform: scaleX(-1) rotate(10deg) scale(1.12);
  }
}

@keyframes cardGlowPulse {
  0%, 100% {
    box-shadow: 0 16px 40px rgba(67, 56, 202, 0.14), 0 0 0 1px rgba(99, 102, 241, 0.2);
  }
  50% {
    box-shadow: 0 20px 48px rgba(99, 102, 241, 0.24), 0 0 0 3px rgba(99, 102, 241, 0.35);
  }
}

.start-post-gen-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  width: 100%;
  flex-wrap: wrap;
}

.start-preview-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #FFFFFF;
  border: 1.5px solid rgba(67, 56, 202, 0.25);
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  font-size: 0.925rem;
  font-weight: 650;
  color: #4338CA;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.start-preview-btn:hover {
  background: #EEF2FF;
  border-color: #6366F1;
  color: #3730A3;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(67, 56, 202, 0.15);
}

.start-visual-builder-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: linear-gradient(135deg, #4338CA 0%, #6366F1 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 999px;
  padding: 0.75rem 1.65rem;
  font-size: 0.925rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(67, 56, 202, 0.35);
  transition: all 0.25s ease;
  overflow: hidden;
  white-space: nowrap;
}

.start-visual-builder-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(67, 56, 202, 0.45);
}

.start-reset-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: none;
  color: #6B7280;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.35rem 0.65rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.start-reset-btn:hover {
  color: #4338CA;
  transform: translateY(-1px);
}

/* Suggestions Group - Clean 3 Examples */
.start-suggestions-group {
  width: 100%;
  max-width: 820px;
  margin-top: 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.start-suggestions-group.hidden {
  opacity: 0;
  transform: translateY(15px);
  pointer-events: none;
  height: 0;
  margin: 0;
  overflow: hidden;
}

.start-suggestions-header {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 0.85rem;
}

/* Suggestions Group - 2 on Line 1, 1 on Line 2 centered */
.start-suggestions-group {
  width: 100%;
  max-width: 1100px;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.start-suggestions-group.hidden {
  opacity: 0;
  transform: translateY(15px);
  pointer-events: none;
  height: 0;
  margin: 0;
  overflow: hidden;
}

.start-suggestions-header {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 0.85rem;
}

.start-suggestions-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6B7280;
}

.start-pills-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

.start-pills-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  width: 100%;
}

.start-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(67, 56, 202, 0.16);
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  font-size: 0.86rem;
  color: #374151;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(67, 56, 202, 0.04);
  text-align: left;
  white-space: nowrap;
}

.start-pill:hover {
  background: #FFFFFF;
  border-color: #6366F1;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(67, 56, 202, 0.14);
  color: #111827;
}

.start-pill-icon {
  display: inline-flex;
  align-items: center;
  color: #6366F1;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.start-pill-text {
  font-weight: 450;
  color: #374151;
  letter-spacing: 0;
}

/* Features Trust Bar */
.start-features-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(229, 231, 235, 0.6);
  width: 100%;
  max-width: 720px;
  transition: opacity 0.35s ease;
}

.start-features-bar.hidden {
  opacity: 0;
  pointer-events: none;
  height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: none;
}

.start-feature-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #374151;
}

.start-feature-item i {
  font-size: 1.15rem;
  color: #10B981;
}

/* Responsive Rules */
@media (max-width: 968px) {
  .hero-start-screen {
    padding: 100px 1.25rem 70px;
  }

  .start-title {
    font-size: clamp(2.25rem, 8vw, 3.5rem);
  }
}

@media (max-width: 640px) {
  .hero-start-screen {
    padding: 90px 1rem 50px;
  }

  .start-header-group {
    margin-bottom: 1.5rem;
  }

  .start-prompt-wrapper {
    padding: 0.85rem 1rem;
    border-radius: 18px;
  }

  .start-prompt-textarea {
    min-height: 85px;
    font-size: 0.95rem;
  }

  .start-prompt-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .start-post-gen-card {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    padding: 1rem;
  }

  .start-post-gen-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .start-subdomain-pill {
    justify-content: center;
  }

  .start-post-gen-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .start-preview-btn,
  .start-visual-builder-btn {
    width: 100%;
    justify-content: center;
  }

  .start-pills-line {
    flex-direction: column;
    gap: 0.65rem;
  }

  .start-pill {
    white-space: normal;
    text-align: center;
  }

  .start-features-bar {
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    margin-top: 2rem;
  }
}
