/* Page styles for caracteres.html */

.page-header {
  text-align: center;
  margin-bottom: 32px;
  padding: 40px 0 20px;
}
.page-header h1 {
  font-size: 2.8rem;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #111827 0%, #4f46e5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@media (max-width: 480px) {
  .page-header h1 { font-size: 2rem; }
}
.page-header p {
  color: #6b7280;
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}
.hero-caracteres {
  --card-bg: linear-gradient(0deg, rgba(255,255,255,.95), rgba(255,255,255,.95)), url('https://images.unsplash.com/photo-1515378791036-0648a3ef77b2?auto=format&fit=crop&q=70&w=1600');
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}
.hero-caracteres:hover {
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}
textarea {
  width: 100%;
  height: 280px;
  padding: 20px;
  border-radius: 16px;
  border: 2px solid #e5e7eb;
  font-size: 16px;
  resize: vertical;
  outline: none;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
  line-height: 1.6;
}
textarea:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}
textarea::placeholder {
  color: #9ca3af;
}
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.stat {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.stat::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.5s ease;
}
.stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(102, 126, 234, 0.4);
}
.stat:hover::before {
  top: -20%;
  right: -20%;
}
.stat span {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: white;
  position: relative;
  z-index: 1;
}
.stat label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  position: relative;
  z-index: 1;
  display: block;
}
.info-bar {
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
  padding: 16px 24px;
  border-radius: 12px;
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #c7d2fe;
}
.info-bar .icon {
  font-size: 1.5rem;
}
.info-bar p {
  margin: 0;
  color: #4338ca;
  font-size: 0.95rem;
  font-weight: 500;
}
