/* 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, #10b981, #059669); /* Verde esmeralda para el cambiador de voz */
  color: #ffffff;
  border-radius: 20px;
  margin-bottom: 24px;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 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, #10b981, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

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

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

.record-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
}

.record-btn {
  background: linear-gradient(135deg, #ef4444, #b91c1c); /* Rojo vibrante */
  color: #ffffff;
  border: none;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 25px rgba(239, 68, 68, 0.4), inset 0 4px 10px rgba(255, 255, 255, 0.2);
}

.record-btn i {
  font-size: 48px;
  margin-bottom: 5px;
}

.record-btn:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 15px 35px rgba(239, 68, 68, 0.6), inset 0 4px 15px rgba(255, 255, 255, 0.3);
}

.record-btn.recording {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border: 4px solid #EF4444;
  color: #EF4444;
  animation: pulse-red 1.5s infinite;
  box-shadow: 0 0 30px rgba(239, 68, 68, 0.5);
}

@keyframes pulse-red {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { box-shadow: 0 0 0 20px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.recording-status {
  margin-top: 20px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.recording-status.hidden {
  display: none;
}

.pulse-dot {
  width: 12px;
  height: 12px;
  background-color: #EF4444;
  border-radius: 50%;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.effects-section {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}

.effects-section.hidden {
  display: none;
}

.effects-section h3 {
  margin-bottom: 20px;
  color: var(--text-primary);
}

.effects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}

@media(max-width: 600px) {
  .effects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.effect-btn i {
  font-size: 24px;
  color: var(--accent-primary);
}

.effect-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--accent-primary);
}

.effect-btn.active {
  background: var(--accent-primary);
  color: white;
  border-color: var(--accent-primary);
}

.effect-btn.active i {
  color: white;
}

.playback-controls {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.btn-primary, .btn-success, .btn-danger {
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  border: none;
  transition: transform 0.1s, opacity 0.2s;
}

.btn-primary { background: var(--accent-gradient); color: white; }
.btn-success { background: #10B981; color: white; }
.btn-danger { background: rgba(239, 68, 68, 0.1); color: #EF4444; border: 1px solid rgba(239, 68, 68, 0.3); }

.btn-primary:hover, .btn-success:hover { opacity: 0.9; }
.btn-danger:hover { background: rgba(239, 68, 68, 0.2); }
.btn-primary:active, .btn-success:active, .btn-danger:active { transform: scale(0.95); }

/* 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: #10b981; 
  background: rgba(16, 185, 129, 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; 
}
.article-section ul {
  list-style: none;
  padding-left: 0;
}
.article-section ul li {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
  font-size: 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.article-section ul li i {
  color: #10b981;
  margin-top: 5px;
}
