/* Company AI Detector - 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;
}

.video-thumbnail {
  position: relative;
  margin: 30px auto 0;
  max-width: 600px;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  box-shadow:
    0 0 0 1px rgba(120, 38, 227, 0.1),
    0 4px 20px rgba(120, 38, 227, 0.3),
    0 0 40px rgba(120, 38, 227, 0.2);
  transition: all 0.3s ease;
}

.video-thumbnail:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 0 1px rgba(120, 38, 227, 0.2),
    0 8px 30px rgba(120, 38, 227, 0.4),
    0 0 60px rgba(120, 38, 227, 0.35);
}

.video-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
}

.video-thumbnail:hover .play-button {
  transform: translate(-50%, -50%) scale(1.1);
}

.play-button svg {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

/* Inline Video Section (below results) */
.video-section-inline {
  margin-top: 40px;
  text-align: center;
}

.video-section-inline h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1d1b27;
  margin-bottom: 20px;
}

.video-section-inline .video-thumbnail {
  max-width: 500px;
}

/* Video Modal */
.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.video-modal.active {
  display: flex;
}

.video-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  cursor: pointer;
}

.video-modal-content {
  position: relative;
  width: 95%;
  max-width: 1200px;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  z-index: 10000;
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.video-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
  padding: 8px;
  z-index: 10001;
  transition: transform 0.2s ease;
}

.video-modal-close:hover {
  transform: scale(1.1);
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* 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;
}

/* Tool Wrapper - Full Width Layout */
.tool-wrapper-full {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Input Bar Card */
.input-bar-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.input-bar-group {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin-bottom: 12px;
  align-items: center;
}

.form-control-large {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  font-size: 1rem;
  border: 2px solid #d1d5db;
  border-radius: 8px;
  transition: all 0.2s ease;
  font-family: inherit;
  box-sizing: border-box;
  line-height: 44px;
  margin: 0;
  vertical-align: top;
}

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

.form-control-large::placeholder {
  color: #9ca3af;
}

.btn-primary-large {
  height: 48px;
  padding: 0 32px;
  background: #7826e3;
  color: white;
  border: 2px solid transparent;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  margin: 0;
  vertical-align: top;
}

.btn-primary-large:hover:not(:disabled) {
  background: #6821c7;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(120, 38, 227, 0.3);
}

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

.input-error {
  color: #dc2626;
  font-size: 0.875rem;
  margin-top: 8px;
  margin-bottom: 4px;
  padding: 8px 12px;
  background: #fee2e2;
  border-left: 3px solid #dc2626;
  border-radius: 4px;
}

.info-note-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font-size: 0.875rem;
  color: #6b7280;
}

.info-note-inline svg {
  flex-shrink: 0;
  color: #9ca3af;
}

/* Results Area */
.results-area {
  width: 100%;
}

/* 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;
}

.form-text {
  display: block;
  margin-top: 6px;
  font-size: 0.85rem;
  color: #98a2b3;
}

.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);
  }
}

.info-note {
  margin-top: 20px;
  padding: 12px 16px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: #6b7280;
}

.info-note svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #7826e3;
}

/* 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-humanize {
  background: linear-gradient(90deg, #7826e3 0%, #9c60e8 100%);
  color: white;
  border: none;
  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-humanize:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(120, 38, 227, 0.3);
}

.output-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

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

.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;
}

/* Results Display */
.results-container {
  text-align: left;
}

.results-summary {
  background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
  border: 2px solid #ede1ff;
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.results-summary::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(120, 38, 227, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.score-display {
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.score-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.score-circle::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
}

.score-circle.high {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  box-shadow:
    0 8px 24px rgba(16, 185, 129, 0.3),
    0 0 40px rgba(16, 185, 129, 0.2);
}

.score-circle.medium {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  box-shadow:
    0 8px 24px rgba(245, 158, 11, 0.3),
    0 0 40px rgba(245, 158, 11, 0.2);
}

.score-circle.low {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  box-shadow:
    0 8px 24px rgba(239, 68, 68, 0.3),
    0 0 40px rgba(239, 68, 68, 0.2);
}

.score-label {
  font-size: 1.1rem;
  color: #1d1b27;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.summary-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin-top: 24px;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  padding: 16px;
  background: #ffffff;
  border-radius: 10px;
  border: 2px solid #ede1ff;
  transition: all 0.2s ease;
}

.stat-item:hover {
  border-color: #7826e3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(120, 38, 227, 0.15);
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  background: linear-gradient(90deg, #7826e3 0%, #9c60e8 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.85rem;
  color: #667085;
  font-weight: 600;
}

.blog-url {
  margin-top: 16px;
  padding: 12px;
  background: #f3eaff;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #667085;
  word-break: break-all;
}

.blog-url strong {
  color: #2c2a35;
}

.blog-url a {
  color: #7826e3;
  text-decoration: none;
  font-weight: 600;
}

.blog-url a:hover {
  text-decoration: underline;
}

.warning-message {
  margin-top: 16px;
  padding: 12px 16px;
  background: #fef3c7;
  border: 1px solid #fbbf24;
  border-radius: 8px;
  color: #92400e;
  font-size: 0.9rem;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.warning-message svg {
  flex-shrink: 0;
  margin-top: 2px;
}

/* Articles List */
.articles-list {
  margin-top: 24px;
}

.articles-header {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1d1b27;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #ede1ff;
}

.article-card {
  background: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.article-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #7826e3, #9c60e8);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.article-card:hover {
  border-color: #7826e3;
  box-shadow: 0 8px 24px rgba(120, 38, 227, 0.15);
  transform: translateY(-2px);
}

.article-card:hover::before {
  opacity: 1;
}

.article-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 14px;
}

.article-title {
  flex: 1;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1d1b27;
  margin: 0;
  line-height: 1.5;
}

.article-score {
  flex-shrink: 0;
  min-width: 80px;
  padding: 10px 18px;
  border-radius: 8px;
  text-align: center;
  font-weight: 800;
  font-size: 1.25rem;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.article-score.high {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  color: #065f46;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

.article-score.medium {
  background: linear-gradient(135deg, #fed7aa, #fbbf24);
  color: #92400e;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2);
}

.article-score.low {
  background: linear-gradient(135deg, #fee2e2, #fca5a5);
  color: #991b1b;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.2);
}

.article-score-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.article-score-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.article-score-label.high {
  color: #065f46;
}

.article-score-label.medium {
  color: #92400e;
}

.article-score-label.low {
  color: #991b1b;
}

.article-url {
  font-size: 0.85rem;
  color: #7826e3;
  text-decoration: none;
  display: block;
  margin-bottom: 12px;
  word-break: break-all;
}

.article-url:hover {
  text-decoration: underline;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: #667085;
}

.meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: #f3f4f6;
  border-radius: 4px;
}

.meta-badge.success {
  background: #d1fae5;
  color: #065f46;
}

.meta-badge.error {
  background: #fee2e2;
  color: #991b1b;
}

.meta-badge svg {
  width: 14px;
  height: 14px;
}

/* Enhanced Metrics Display */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 16px 0;
  padding: 16px;
  background: #f9fafb;
  border-radius: 8px;
}

.metric-box {
  text-align: center;
  padding: 12px;
  background: #ffffff;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  transition: all 0.2s ease;
}

.metric-box:hover {
  border-color: #7826e3;
  box-shadow: 0 2px 8px rgba(120, 38, 227, 0.1);
}

.metric-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6b7280;
  margin-bottom: 6px;
}

.metric-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1f2937;
  line-height: 1.2;
  margin-bottom: 4px;
}

.metric-value.score-high {
  color: #059669;
}

.metric-value.score-medium {
  color: #d97706;
}

.metric-value.score-low {
  color: #dc2626;
}

.metric-sub {
  font-size: 0.75rem;
  color: #9ca3af;
}

.expand-details {
  width: 100%;
  margin-top: 12px;
  padding: 10px 16px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #4b5563;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.expand-details:hover {
  background: #7826e3;
  color: white;
  border-color: #7826e3;
}

.expand-details svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.expand-details.expanded svg {
  transform: rotate(180deg);
}

.detailed-metrics {
  margin-top: 16px;
  padding: 20px;
  background: #f9fafb;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.metrics-sections {
  display: grid;
  gap: 20px;
}

.metric-section {
  background: #ffffff;
  padding: 16px;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
}

.metric-section h5 {
  font-size: 1rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 12px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.metric-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.metric-list li {
  padding: 8px 0;
  border-bottom: 1px solid #f3f4f6;
  font-size: 0.9rem;
  color: #4b5563;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.metric-list li:last-child {
  border-bottom: none;
}

.metric-list li strong {
  color: #1f2937;
  font-weight: 600;
}

.issues-list,
.recommendations-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.issues-list li,
.recommendations-list li {
  padding: 8px 0 8px 24px;
  position: relative;
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.5;
}

.issues-list li::before {
  content: "⚠️";
  position: absolute;
  left: 0;
  font-size: 0.9rem;
}

.recommendations-list li::before {
  content: "💡";
  position: absolute;
  left: 0;
  font-size: 0.9rem;
}

.issues-list li {
  color: #92400e;
}

.recommendations-list li {
  color: #065f46;
}

/* Status badges for metrics */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

.status-badge.good {
  background: #d1fae5;
  color: #065f46;
}

.status-badge.warning {
  background: #fed7aa;
  color: #92400e;
}

.status-badge.poor {
  background: #fee2e2;
  color: #991b1b;
}

/* Overall Summary Card */
.overall-summary {
  background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
  border: 2px solid #ede1ff;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.summary-header {
  text-align: center;
  margin-bottom: 20px;
}

.overall-score-display {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(90deg, #7826e3 0%, #9c60e8 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 8px;
}

.score-description {
  font-size: 1.1rem;
  color: #667085;
  font-weight: 600;
}

.quality-metrics-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.quality-metric {
  text-align: center;
  padding: 16px 12px;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.quality-metric-label {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 8px;
  font-weight: 600;
}

.quality-metric-value {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 6px;
  line-height: 1;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quality-metric-status {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.key-findings {
  margin-top: 20px;
  padding: 16px;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.key-findings h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 12px 0;
}

.key-findings ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.key-findings li {
  padding: 6px 0 6px 20px;
  position: relative;
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.5;
}

.key-findings li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #7826e3;
  font-weight: 700;
  font-size: 1.2rem;
}

/* 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;
  }

  .input-bar-group {
    grid-template-columns: 1fr;
  }

  .btn-primary-large {
    width: 100%;
    justify-content: center;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quality-metrics-grid {
    grid-template-columns: repeat(3, 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;
  }

  .summary-stats {
    grid-template-columns: 1fr;
  }

  .article-header {
    flex-direction: column;
  }

  .article-score {
    align-self: flex-start;
  }

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

  .quality-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .quality-metrics-grid {
    grid-template-columns: 1fr;
  }
  .hero-section {
    padding: 40px 16px 32px;
  }

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

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

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

  .score-circle {
    width: 100px;
    height: 100px;
    font-size: 2rem;
  }
}
