/* support_style.css - Sistema de diseño premium para el Centro de Soporte de AREM-POS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --bg-dark: #090d16;
  --bg-surface: rgba(18, 26, 47, 0.7);
  --bg-surface-solid: #121a2f;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-focus: #3b82f6;
  
  --primary: #2563eb;
  --primary-glow: rgba(37, 99, 235, 0.4);
  --accent: #8b5cf6;
  --accent-glow: rgba(139, 92, 246, 0.4);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-premium: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 25px rgba(37, 99, 235, 0.25);
  
  --font-sans: 'Inter', sans-serif;
  --font-title: 'Outfit', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  background-image: linear-gradient(180deg, #090d16 0%, #05070c 100%);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-top: 100px; /* Separación de la navbar */
}

/* Efectos de fondo */
.bg-glow-1 {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  top: 5%;
  left: -100px;
  z-index: -1;
  pointer-events: none;
}

.bg-glow-2 {
  position: absolute;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  top: 40%;
  right: -100px;
  z-index: -1;
  pointer-events: none;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: rgba(9, 13, 22, 0.8);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-color);
}

.logo {
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 800;
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.logo i {
  color: #3b82f6;
  -webkit-text-fill-color: initial;
}

.btn-back {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.btn-back:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateX(-2px);
}

/* Support Hero */
.support-hero {
  max-width: 800px;
  margin: 60px auto 40px;
  text-align: center;
  padding: 0 20px;
}

.support-hero h1 {
  font-family: var(--font-title);
  font-size: 44px;
  font-weight: 800;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.support-hero p {
  color: var(--text-secondary);
  font-size: 17px;
  margin-bottom: 30px;
}

/* Search Bar */
.search-wrapper {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.search-wrapper i {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--text-muted);
}

.search-input {
  width: 100%;
  padding: 16px 20px 16px 52px;
  background: rgba(18, 26, 47, 0.5);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: #fff;
  font-size: 16px;
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
}

.search-input:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

/* Support Categories */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
}

.category-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  transition: var(--transition-smooth);
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-premium);
}

.category-icon {
  font-size: 32px;
  color: #3b82f6;
  margin-bottom: 15px;
}

.category-card h3 {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.category-card p {
  font-size: 13px;
  color: var(--text-secondary);
}

/* FAQ Accordion Section */
.faq-section {
  max-width: 800px;
  margin: 80px auto;
  padding: 0 20px;
}

.section-title {
  font-family: var(--font-title);
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 30px;
  text-align: center;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text-primary);
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-title);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question i {
  font-size: 18px;
  color: var(--text-secondary);
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 24px;
}

.faq-answer p {
  padding-bottom: 20px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* Active FAQ Item */
.faq-item.active {
  border-color: rgba(255, 255, 255, 0.15);
}

.faq-item.active .faq-question {
  color: #3b82f6;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
  color: #3b82f6;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Valor suficiente para expandir */
  transition: max-height 0.3s ease-in-out;
}

/* Support Form Section */
.contact-section {
  max-width: 650px;
  margin: 80px auto;
  padding: 40px 30px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-premium);
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-control {
  background: rgba(9, 13, 22, 0.5);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px 14px;
  color: #fff;
  font-size: 14px;
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #8b5cf6 100%);
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--primary-glow);
  opacity: 0.95;
}

/* Channels Section */
.channels-wrapper {
  max-width: 800px;
  margin: 60px auto 80px;
  text-align: center;
  padding: 0 20px;
}

.channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.channel-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: 12px;
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.channel-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-focus);
  transform: translateY(-2px);
}

.channel-btn i {
  font-size: 28px;
}

.channel-btn.whatsapp i { color: #25d366; }
.channel-btn.phone i { color: #3b82f6; }
.channel-btn.email i { color: #ef4444; }

.channel-btn span {
  font-size: 14px;
  font-weight: 600;
}

.channel-btn small {
  font-size: 11px;
  color: var(--text-secondary);
}

/* Footer */
footer {
  background: #05070c;
  border-top: 1px solid var(--border-color);
  padding: 40px 20px;
  text-align: center;
}

footer p {
  color: var(--text-muted);
  font-size: 13px;
}

/* Responsividad */
@media (max-width: 768px) {
  body {
    padding-top: 80px;
  }
  
  .navbar {
    padding: 16px 20px;
  }

  .support-hero h1 {
    font-size: 32px;
  }
}
