@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --primary: #0A1628;
  --accent: #00D4FF;
  --accent2: #0099FF;
  --accent-glow: rgba(0, 212, 255, 0.3);
  --text-primary: #FFFFFF;
  --text-secondary: #94A3B8;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-hover: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(to bottom, #0A1628, #0D1B2E, #0A1628);
  color: var(--text-primary);
  min-height: 100vh;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #fff;
  transition: transform 0.3s ease;
}
.nav-logo:hover {
  transform: scale(1.05);
}
.nav-logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-logo-icon svg {
  width: 22px;
  height: 22px;
  color: white;
}
.nav-logo-text {
  font-size: 1.25rem;
  font-weight: 700;
}

/* Navegación */
.nav-links {
  display: flex;
  gap: 1.5rem;
}
.nav-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}
.nav-links a:hover {
  color: #fff;
}
.nav-links a.active {
  color: var(--accent);
}

.btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(to right, var(--accent), var(--accent2));
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
  transition: all 0.3s ease;
}
.btn:hover {
  background: linear-gradient(to right, #00b8e6, #0088e6);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.4rem;
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: rgba(10, 22, 40, 0.95);
    position: absolute;
    top: 80px;
    right: 0;
    width: 100%;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .nav-links.open {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
}

main {
  padding-top: 100px;
}

.glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

footer {
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 4rem;
}
footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}
footer h3 {
  color: white;
  font-size: 1rem;
  margin-bottom: 1rem;
}
footer a {
  color: #94A3B8;
  text-decoration: none;
  font-size: 0.9rem;
}
footer a:hover {
  color: var(--accent);
}
footer p {
  color: #94A3B8;
  font-size: 0.9rem;
}

.text-center { text-align: center; }
.text-gray { color: var(--text-secondary); }
.text-white { color: white; }
.rounded { border-radius: 10px; }
.mt-20 { margin-top: 5rem; }
.pt-20 { padding-top: 5rem; }

.faq-item {
  border-radius: 1rem;
  overflow: hidden;
  transition: background 0.3s ease;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: white;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 1.1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.05);
}

.faq-toggle {
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  display: none; /* Oculto por defecto */
  padding: 0 1.5rem 1rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* Animación suave */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

form label {
  color: white;
  font-weight: 600;
  display: block;
  margin-bottom: 0.4rem;
}

form input,
form select,
form textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: none;
  border-radius: 0.6rem;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-size: 1rem;
  margin-bottom: 1.2rem;
}

form input:focus,
form select:focus,
form textarea:focus {
  outline: 2px solid var(--accent);
  background: rgba(255, 255, 255, 0.1);
}

form textarea {
  resize: vertical;
}

select {
  background-color: rgba(255, 255, 255, 0.08);
  color: white;
  border: none;
  border-radius: 0.6rem;
  padding: 0.7rem 1rem;
  font-size: 1rem;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

select option {
  background-color: #0f172a;
  color: white;
}

select option:hover,
select option:checked,
select option:focus {
  background-color: var(--accent);
  color: white;
}

select:focus {
  outline: 2px solid var(--accent);
  background-color: rgba(255, 255, 255, 0.12);
}

select::-ms-expand {
  display: none;
}