/* PDF Converter - Specific Styles */

.convert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  align-items: end;
}

.card-sub {
  padding: 16px;
  border: 1px dashed var(--border);
  border-radius: 12px;
  background: var(--secondary-bg);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* File Upload Label */
.file-upload-label {
  position: relative;
  display: block;
  cursor: pointer;
  width: 100%;
}

.file-input-hidden {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 10;
  top: 0;
  left: 0;
}

.file-upload-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 32px 20px;
  border: 2px dashed var(--border);
  border-radius: 12px;
  background: var(--bg);
  transition: all 0.2s ease;
  min-height: 120px;
}

.file-upload-label:hover .file-upload-content {
  border-color: var(--accent);
  background: rgba(124, 58, 237, 0.05);
}

.file-upload-label:has(.file-input-hidden:focus) .file-upload-content {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

.file-upload-icon {
  font-size: 32px;
  opacity: 0.6;
}

.file-upload-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.file-upload-hint {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

.convert-grid .button {
  width: 100%;
}

@media (min-width: 720px) {
  .convert-grid .button {
    width: auto;
    justify-self: end;
    min-width: 160px;
  }
}

/* Info Section and Features Section Styles */
.info-section {
  margin-top: 64px;
  padding: 48px 0;
}

.info-section h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 32px;
  color: var(--text);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.info-card {
  padding: 32px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.info-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.info-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--text);
}

.info-card p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.features-section {
  margin-top: 48px;
  padding: 48px 0;
}

.features-section h2 {
  text-align: center;
  margin-bottom: 32px;
  font-size: 32px;
  color: var(--text);
}

.features-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto;
}

.features-list li {
  padding: 16px 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

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

.features-list li strong {
  color: var(--accent);
}

@media (max-width: 720px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
  
  .info-section h2,
  .features-section h2 {
    font-size: 24px;
  }

  .file-upload-content {
    padding: 24px 16px;
    min-height: 100px;
  }

  .file-upload-icon {
    font-size: 28px;
  }

  .file-upload-text {
    font-size: 14px;
  }
}

