/* Hero Title Styles */
.tool-hero {
  text-align: center;
  margin-bottom: 40px;
  padding: 20px;
  position: relative;
}

.tool-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  color: #ffffff;
  border-radius: 20px;
  margin-bottom: 24px;
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
  font-size: 28px;
}

.tool-hero .page-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 15px;
  letter-spacing: -1px;
  line-height: 1.2;
}

.tool-hero .gradient-text {
  background: linear-gradient(135deg, #6366f1, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tool-hero .page-subtitle {
  color: var(--text-secondary);
  font-size: 1.2rem;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
}

/* SEO Article Styles */
.seo-article { max-width: 800px; margin-top: 40px; margin-left: auto; margin-right: auto; }
.article-section { 
  background: var(--bg-card); 
  backdrop-filter: blur(12px); 
  border: 1px solid var(--border-color); 
  border-radius: 16px; 
  padding: 32px; 
  margin-bottom: 24px; 
}
.article-section h2 { 
  font-size: 24px; 
  margin-bottom: 20px; 
  display: flex; 
  align-items: center; 
  gap: 12px; 
  color: var(--text-primary); 
}
.article-section h2 i { 
  color: #a855f7; 
  background: rgba(168, 85, 247, 0.15); 
  padding: 12px; 
  border-radius: 12px; 
  font-size: 20px; 
}
.article-section p { 
  color: var(--text-secondary); 
  line-height: 1.8; 
  margin-bottom: 16px; 
  font-size: 15px; 
}

.pdf-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}

.pdf-modes {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
}

.mode-btn {
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mode-btn:hover { background: rgba(255,255,255,0.1); }

.mode-btn.active {
  background: var(--accent-gradient);
  color: white;
  border: none;
}

.drop-zone {
  border: 2px dashed var(--accent-primary);
  border-radius: 16px;
  padding: 50px 20px;
  text-align: center;
  background: rgba(59, 130, 246, 0.05);
  transition: all 0.3s;
  cursor: pointer;
}

.drop-zone.dragover {
  background: rgba(59, 130, 246, 0.15);
  border-color: #10B981;
}

.cloud-icon {
  font-size: 60px;
  color: #EF4444; /* PDF Red */
  margin-bottom: 20px;
}

.drop-zone h3 {
  color: var(--text-primary);
  margin-bottom: 10px;
}

.drop-zone p {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.btn-primary {
  background: var(--accent-gradient);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}
.btn-primary:hover { box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3); }
.btn-primary:active { transform: scale(0.95); }

.editor-area.hidden { display: none; }

.file-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.file-item {
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.file-item-info {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--text-primary);
  font-weight: 500;
}

.file-item-info i {
  color: #EF4444;
  font-size: 20px;
}

.btn-remove {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 18px;
  transition: color 0.2s;
}

.btn-remove:hover { color: #EF4444; }

.split-options {
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--border-color);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.split-options.hidden { display: none; }

.page-input {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 10px;
  border-radius: 6px;
  width: 100px;
  font-size: 16px;
  margin-left: 10px;
}

.page-input:focus {
  outline: none;
  border-color: var(--accent-primary);
}

.action-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-danger {
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  transition: transform 0.1s, opacity 0.2s;
  justify-content: center;
  background: rgba(239, 68, 68, 0.1); 
  color: #EF4444; 
  border: 1px solid rgba(239, 68, 68, 0.3);
}
.btn-danger:hover { background: rgba(239, 68, 68, 0.2); }
.btn-danger:active { transform: scale(0.95); }
