/* Upwork Proposal Generator - Tool Specific Styles */

/* Reset main padding/margin that may be added by shared CSS */
.main {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.hero-section {
  background: linear-gradient(135deg, #f5f5f5 0%, #fafafa 100%);
  padding: 60px 24px 40px;
  text-align: center;
}

.hero-section__inner {
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1d1b27;
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero-content h1 span {
  background: linear-gradient(90deg, #7826e3 2.81%, #9c60e8 94.67%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.1rem;
  color: #667085;
  line-height: 1.6;
  margin-bottom: 20px;
}

.star-icon {
  margin-top: 10px;
}

/* Tool Section */
.tool-section {
  padding: 60px 24px;
  background: #fcfcfc;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
}

.tool-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Input Card */
.input-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #ede1ff;
  padding: 32px;
  box-shadow: 0 4px 8px -2px rgba(16, 24, 40, 0.1);
}

.input-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1d1b27;
  margin-bottom: 8px;
}

.input-description {
  font-size: 0.95rem;
  color: #667085;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: #2c2a35;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Nunito', sans-serif;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: #7826e3;
  box-shadow: 0 0 0 3px rgba(120, 38, 227, 0.1);
}

.form-control::placeholder {
  color: #98a2b3;
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.form-actions {
  margin-top: 24px;
}

.btn {
  border: none;
  border-radius: 8px;
  padding: 14px 28px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(90deg, #7826e3 0%, #9c60e8 100%);
  color: white;
  width: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(120, 38, 227, 0.3);
}

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

.spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

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

/* Output Card */
.output-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #ede1ff;
  padding: 32px;
  box-shadow: 0 4px 8px -2px rgba(16, 24, 40, 0.1);
  min-height: 500px;
  display: flex;
  flex-direction: column;
}

.output-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
}

.output-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1d1b27;
  margin: 0;
}

.output-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn-copy,
.btn-humanize {
  border: 1px solid #e0c8ff;
  border-radius: 6px;
  padding: 8px 16px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-copy {
  background: #f3eaff;
  color: #7826e3;
}

.btn-copy:hover {
  background: #e0c8ff;
  transform: translateY(-1px);
}

.btn-copy.copied {
  background: #d4f4dd;
  color: #067647;
  border-color: #a6ebb7;
}

.btn-humanize {
  background: linear-gradient(90deg, #7826e3 0%, #9c60e8 100%);
  color: white;
  border-color: #7826e3;
}

.btn-humanize:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(120, 38, 227, 0.3);
}

.output-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.empty-state {
  text-align: center;
  color: #98a2b3;
}

.empty-state svg {
  margin-bottom: 16px;
}

.empty-state p {
  font-size: 1.1rem;
  font-weight: 600;
  color: #667085;
  margin-bottom: 8px;
}

.small-text {
  font-size: 0.9rem;
  color: #98a2b3;
}

.proposal-text {
  text-align: left;
  font-size: 1rem;
  line-height: 1.8;
  color: #2c2a35;
  white-space: pre-wrap;
  word-wrap: break-word;
}

/* Features Section */
.features-section {
  padding: 80px 24px;
  background: #ffffff;
}

.features-section h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #1d1b27;
  margin-bottom: 48px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  text-align: center;
  padding: 24px;
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1d1b27;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 1rem;
  color: #667085;
  line-height: 1.6;
}

/* AI Humanizer CTA Section */
.humanizer-cta-section {
  padding: 80px 24px;
  background: linear-gradient(135deg, #f5f5f5 0%, #fafafa 100%);
}

.humanizer-cta-card {
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(135deg, #7826e3 0%, #9c60e8 100%);
  border-radius: 24px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  box-shadow: 0 20px 40px rgba(120, 38, 227, 0.2);
}

.humanizer-cta-content {
  color: #ffffff;
}

.humanizer-cta-eyebrow {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.humanizer-cta-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

.humanizer-cta-body {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 28px;
  opacity: 0.95;
}

.humanizer-cta-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
}

.humanizer-cta-list li {
  padding: 12px 0 12px 28px;
  position: relative;
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.95;
}

.humanizer-cta-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 700;
  font-size: 1.2rem;
}

.humanizer-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: #7826e3;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.humanizer-cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  color: #7826e3;
  text-decoration: none;
}

.humanizer-cta-button svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.humanizer-cta-button:hover svg {
  transform: translate(3px, -3px);
}

.humanizer-cta-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.humanizer-cta-image img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 1024px) {
  .tool-wrapper {
    grid-template-columns: 1fr;
  }

  .humanizer-cta-card {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 40px;
  }

  .humanizer-cta-title {
    font-size: 1.85rem;
  }

  .humanizer-cta-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .input-card,
  .output-card {
    padding: 24px;
  }

  .features-section h2 {
    font-size: 1.75rem;
  }

  .humanizer-cta-section {
    padding: 60px 16px;
  }

  .humanizer-cta-card {
    padding: 32px 24px;
  }

  .humanizer-cta-title {
    font-size: 1.5rem;
  }

  .humanizer-cta-body {
    font-size: 1rem;
  }

  .humanizer-cta-list li {
    font-size: 0.95rem;
  }
}

@media (max-width: 600px) {
  .hero-section {
    padding: 40px 16px 32px;
  }

  .tool-section {
    padding: 40px 16px;
  }

  .features-section {
    padding: 60px 16px;
  }

  .hero-content h1 {
    font-size: 1.75rem;
  }
}
