:root {
  --bg-color: #030303; /* Deeper pure dark */
  --text-color: #f8fafc; /* Clearer white */
  --text-muted: #94a3b8; /* Cleaner cool slate gray */
  --accent-cyan: #06b6d4; /* Vibrant Cyan */
  --accent-blue: #3b82f6; /* Premium Blue */
  --accent-purple: #a855f7; /* Royal Purple */
  --accent-pink: #ec4899; /* Hot Pink */
  
  --accent-purple-glow: rgba(168, 85, 247, 0.12);
  --accent-pink-glow: rgba(236, 72, 153, 0.25);
  --shadow-purple-glow: rgba(192, 132, 252, 0.3);
  --shadow-pink-glow: rgba(236, 72, 153, 0.3);
  --shadow-purple-glow-hover: rgba(192, 132, 252, 0.5);

  --cursor-glow-color-1: rgba(6, 182, 212, 0.07);
  --cursor-glow-color-2: rgba(59, 130, 246, 0.02);

  --glass-bg: rgba(255, 255, 255, 0.02);
  --glass-border: rgba(255, 255, 255, 0.05);
  --glass-hover: rgba(255, 255, 255, 0.07);
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Dynamic Grid Background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: center center;
  pointer-events: none;
  z-index: -3;
  opacity: 0.85;
  mask-image: radial-gradient(circle at 50% 50%, black 20%, rgba(0,0,0,0.3) 70%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 20%, rgba(0,0,0,0.3) 70%, transparent 100%);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  border: 2px solid var(--bg-color);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #ffffff;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-alt {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glassmorphic Navigation Capsule */
.navbar {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1100px;
  z-index: 1000;
  padding: 10px 24px;
  border-radius: 9999px;
  background: rgba(3, 3, 5, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 
    0 10px 35px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled {
  top: 12px;
  padding: 8px 24px;
  background: rgba(3, 3, 5, 0.7);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(6, 182, 212, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  max-height: 32px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(255, 255, 255, 0.15));
  transition: transform 0.3s ease;
}
.logo:hover img {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  gap: var(--spacing-lg);
  list-style: none;
  align-items: center;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-color);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 1.3rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}
.mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero {
  min-height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  z-index: 10;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-color);
  margin-bottom: var(--spacing-lg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 
    0 4px 15px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}
.badge:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}
.badge i {
  color: var(--accent-cyan);
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: var(--spacing-md);
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-muted);
  margin-bottom: var(--spacing-xl);
  font-weight: 400;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn-group {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  gap: 8px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-primary {
  background: #ffffff;
  color: #030303;
  border: 1px solid #ffffff;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 
    0 8px 25px rgba(255, 255, 255, 0.1),
    0 0 15px rgba(6, 182, 212, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-color);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 
    0 10px 20px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-alt {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    0 4px 15px var(--shadow-purple-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-alt:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 8px 25px var(--shadow-purple-glow-hover),
    0 0 15px var(--shadow-pink-glow);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Premium Glass Cards & Hover system */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.glass-card, .assistant-card, .profile-section, .stat-card, .testimonial-card, .use-case-card {
  position: relative;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
}

/* Glowing Dynamic Border Layer */
.glass-card::before, .assistant-card::before, .profile-section::before, .stat-card::before, .testimonial-card::before, .use-case-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: radial-gradient(
    300px circle at var(--mouse-x, -999px) var(--mouse-y, -999px),
    rgba(255, 255, 255, 0.22),
    rgba(255, 255, 255, 0.04) 40%,
    transparent 100%
  );
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* Glow accent customizations */
.glass-card:nth-child(even)::before, .use-case-card.alt::before, .stat-card:nth-child(even)::before {
  background: radial-gradient(
    300px circle at var(--mouse-x, -999px) var(--mouse-y, -999px),
    var(--accent-pink-glow) 0%,
    var(--accent-purple-glow) 50%,
    transparent 100%
  );
}

.glass-card:nth-child(odd)::before, .use-case-card:not(.alt)::before, .stat-card:nth-child(odd)::before {
  background: radial-gradient(
    300px circle at var(--mouse-x, -999px) var(--mouse-y, -999px),
    rgba(6, 182, 212, 0.25) 0%,
    rgba(59, 130, 246, 0.12) 50%,
    transparent 100%
  );
}

.glass-card:hover::before, .assistant-card:hover::before, .profile-section:hover::before, .stat-card:hover::before, .testimonial-card:hover::before, .use-case-card:hover::before {
  opacity: 1;
}

.glass-card {
  background: rgba(13, 13, 20, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 40px 30px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.glass-card:hover {
  background: rgba(18, 18, 28, 0.6);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--spacing-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}
.glass-card:hover .card-icon {
  transform: scale(1.05) translateZ(10px);
}

.card-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.card-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  flex-grow: 1;
  margin-bottom: var(--spacing-lg);
}

/* IA Assistant & Cursos Tools Grid */
.assistant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  margin-top: 2rem;
}

.assistant-card {
  background: rgba(13, 13, 20, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.assistant-card:hover {
  background: rgba(18, 18, 28, 0.6);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.assistant-img-wrapper {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #0d0d14;
  position: relative;
}

.assistant-img-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 13, 20, 0.8) 0%, transparent 40%);
  pointer-events: none;
}

.assistant-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

#cursos .assistant-img-wrapper {
  aspect-ratio: 16/10;
}

.assistant-card:hover .assistant-img-wrapper img {
  transform: scale(1.06);
}

.assistant-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.assistant-info h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.assistant-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Profile Section */
.profile-section {
  display: flex;
  align-items: center;
  gap: 40px;
  background: rgba(13, 13, 20, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 32px;
  padding: 40px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.profile-img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%;
  border: 3px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(6, 182, 212, 0.15);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.profile-section:hover .profile-img {
  transform: scale(1.04) rotate(2deg);
  border-color: var(--accent-cyan);
  box-shadow: 
    0 20px 45px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(6, 182, 212, 0.35);
}

.profile-content {
  flex: 1;
}

.profile-content h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.profile-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 1.1rem;
}

.social-icon:hover {
  background: #ffffff;
  color: #030303;
  border-color: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15);
}

/* Drifting Auroras */
.blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -2;
  opacity: 0.35;
  pointer-events: none;
  mix-blend-mode: screen;
}

.blob-1 {
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.3) 0%, rgba(59, 130, 246, 0.05) 70%, transparent 100%);
  animation: aurora-drift-1 30s infinite alternate ease-in-out;
}

.blob-2 {
  bottom: -10%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.25) 0%, rgba(236, 72, 153, 0.05) 70%, transparent 100%);
  animation: aurora-drift-2 35s infinite alternate ease-in-out;
  animation-delay: -5s;
}

@keyframes aurora-drift-1 {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  50% {
    transform: translate(8%, 10%) scale(1.15) rotate(120deg);
  }
  100% {
    transform: translate(-5%, 15%) scale(0.9) rotate(240deg);
  }
}

@keyframes aurora-drift-2 {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  50% {
    transform: translate(-10%, -8%) scale(1.2) rotate(-120deg);
  }
  100% {
    transform: translate(5%, -15%) scale(0.95) rotate(-240deg);
  }
}

/* Section styling */
.section {
  padding: var(--spacing-xl) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: var(--spacing-sm);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Footer styling */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: var(--spacing-xl) 0 var(--spacing-lg);
  margin-top: var(--spacing-xl);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-expanded {
  text-align: left;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-lg);
}

.footer-col h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
}

.footer-col p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  color: var(--text-muted);
}

.footer-contact-list i {
  font-size: 1.1rem;
  color: var(--accent-cyan);
  margin-top: 4px;
}

.footer-contact-list strong {
  display: block;
  color: #ffffff;
  font-weight: 600;
  font-family: var(--font-heading);
  margin-bottom: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: var(--spacing-lg);
  text-align: center;
  font-size: 0.85rem;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-md);
  margin-top: 3.5rem;
  text-align: center;
}

.stat-card {
  background: rgba(13, 13, 20, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 30px 20px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 5px;
  letter-spacing: -0.03em;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

/* Testimonials Section */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.testimonial-card {
  background: rgba(13, 13, 20, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 32px;
  position: relative;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.testimonial-card:hover {
  background: rgba(18, 18, 28, 0.55);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.testimonial-icon {
  position: absolute;
  top: 25px;
  right: 25px;
  color: rgba(255, 255, 255, 0.03);
  font-size: 2.2rem;
}

.testimonial-text {
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  color: var(--text-color);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
}

.testimonial-author-info h4 {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.testimonial-author-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Lead Magnet Banner */
.lead-magnet-banner {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.06), rgba(168, 85, 247, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 32px;
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: var(--spacing-xl);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.lead-magnet-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(59, 130, 246, 0.08) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
}

.lead-magnet-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.lead-magnet-icon {
  font-size: 2.8rem;
  color: var(--accent-cyan);
  margin-bottom: 24px;
  filter: drop-shadow(0 0 15px rgba(6, 182, 212, 0.3));
}

.lead-magnet-content h2 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

/* Use Cases / Examples Section */
.use-case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.use-case-card {
  background: rgba(13, 13, 20, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 32px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.use-case-card h3 {
  color: var(--accent-cyan);
  margin-bottom: 15px;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.use-case-card.alt h3 {
  color: var(--accent-purple);
}

.use-case-card p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-color);
  margin-bottom: 20px;
}

.use-case-example {
  background: rgba(0, 0, 0, 0.45);
  border-radius: 12px;
  padding: 16px;
  border-left: 3px solid var(--accent-blue);
  font-size: 0.88rem;
  color: var(--text-muted);
  font-family: 'Fira Code', monospace, Consolas;
  line-height: 1.5;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.2);
}

.use-case-example.alt {
  border-left-color: var(--accent-purple);
}

/* Modal Contact Form */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 3, 5, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  background: rgba(10, 10, 15, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 40px;
  width: 90%;
  max-width: 500px;
  position: relative;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.6),
    0 0 100px rgba(6, 182, 212, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
}

.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-color);
}

.modal-title {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  color: #ffffff;
}

.modal-subtitle {
  color: var(--text-muted);
  margin-bottom: 28px;
  font-size: 0.92rem;
  line-height: 1.5;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.form-group input, .form-group textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--text-color);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 
    0 0 0 3px rgba(59, 130, 246, 0.15),
    inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.btn-submit {
  width: 100%;
  margin-top: 10px;
}

/* Scroll Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Interactive Cursor Glow */
.cursor-glow {
  position: fixed;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--cursor-glow-color-1) 0%, var(--cursor-glow-color-2) 50%, transparent 100%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: -1;
  transition: width 0.3s ease, height 0.3s ease;
}

/* Responsive design */
@media (max-width: 900px) {
  .profile-section {
    flex-direction: column;
    text-align: center;
    padding: 35px 24px;
    gap: 30px;
  }
  .social-links {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .navbar {
    width: 92%;
    top: 12px;
    padding: 10px 18px;
  }
  .navbar.scrolled {
    top: 8px;
    padding: 8px 18px;
  }
  .mobile-toggle {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 280px;
    height: auto;
    max-height: calc(100vh - 100px);
    background: rgba(8, 8, 12, 0.9);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    flex-direction: column;
    padding: 30px;
    gap: 20px;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    box-shadow: 
      0 20px 50px rgba(0, 0, 0, 0.6),
      inset 0 1px 0 rgba(255, 255, 255, 0.05);
    align-items: stretch;
    opacity: 0;
  }
  
  .nav-links.active {
    right: 4%;
    opacity: 1;
  }
  
  .nav-links li {
    width: 100%;
    text-align: center;
  }
  
  .nav-link {
    display: block;
    padding: 10px 0;
    font-size: 1rem;
  }
  
  .btn-group {
    flex-direction: column;
    width: 100%;
  }
  
  .btn {
    width: 100%;
  }
}

/* Green Theme for Impulso Creador (Black & Green) */
.theme-creativos, .page-creativos {
  --accent-purple: #00cc47; /* Neon Green from community logo */
  --accent-pink: #0088ff;   /* Electric Blue from community logo */
  
  --accent-purple-glow: rgba(0, 204, 71, 0.15);
  --accent-pink-glow: rgba(0, 136, 255, 0.25);
  
  --shadow-purple-glow: rgba(0, 204, 71, 0.3);
  --shadow-pink-glow: rgba(0, 136, 255, 0.3);
  --shadow-purple-glow-hover: rgba(0, 204, 71, 0.5);

  --cursor-glow-color-1: rgba(0, 204, 71, 0.08);
  --cursor-glow-color-2: rgba(0, 136, 255, 0.02);
}

.page-creativos .blob-1 {
  background: radial-gradient(circle, rgba(0, 204, 71, 0.25) 0%, rgba(0, 136, 255, 0.05) 70%, transparent 100%);
}

.page-creativos .blob-2 {
  background: radial-gradient(circle, rgba(0, 136, 255, 0.2) 0%, rgba(0, 204, 71, 0.05) 70%, transparent 100%);
}

/* 3D Book Mockup */
.book-container {
  perspective: 1000px;
  width: 170px;
  height: 240px;
  position: relative;
  margin: 0 auto;
}
.book {
  width: 100%;
  height: 100%;
  position: absolute;
  transform-style: preserve-3d;
  transform: rotateY(-24deg) rotateX(12deg) translateZ(0px);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 8px 12px 25px rgba(0,0,0,0.6);
  border-radius: 4px 12px 12px 4px;
}
.book-container:hover .book {
  transform: rotateY(-8deg) rotateX(6deg) translateY(-12px);
  box-shadow: 12px 20px 35px rgba(0,0,0,0.7);
}
.book-cover {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0b0f19 0%, #030303 100%);
  border: 1.5px solid rgba(255,255,255,0.08);
  border-radius: 4px 12px 12px 4px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 16px;
  box-sizing: border-box;
  z-index: 2;
  transform: translateZ(8px);
  box-shadow: inset -4px 0 10px rgba(0,0,0,0.6);
}
.book-cover::before {
  content: '';
  position: absolute;
  top: 0;
  left: 6px;
  width: 2px;
  height: 100%;
  background: rgba(255,255,255,0.08);
  box-shadow: 1px 0 3px rgba(0,0,0,0.3);
}
.book-badge {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid rgba(6, 182, 212, 0.2);
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(6, 182, 212, 0.05);
  align-self: center;
}
.book-cover-title {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #ffffff;
  text-align: center;
  line-height: 1.3;
  margin: 15px 0 8px;
  font-family: var(--font-heading);
}
.book-cover-subtitle {
  font-size: 0.6rem;
  color: var(--text-muted);
  text-align: center;
  font-weight: 500;
}
.book-author {
  font-size: 0.58rem;
  color: var(--accent-cyan);
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.book-spine {
  position: absolute;
  width: 16px;
  height: 100%;
  background: #05070b;
  transform: rotateY(-90deg) translateZ(8px);
  left: -8px;
  border-radius: 3px 0 0 3px;
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: inset 1px 0 3px rgba(255,255,255,0.1);
}
.book-pages {
  position: absolute;
  width: 100%;
  height: calc(100% - 4px);
  background: #e2e8f0;
  transform: translateZ(4px);
  left: 3px;
  top: 2px;
  border-radius: 0 8px 8px 0;
  box-shadow: inset -3px 0 5px rgba(0,0,0,0.1);
}

/* Copy Prompt Button */
.use-case-example {
  position: relative;
  padding-right: 50px !important;
}
.btn-copy-prompt {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 0.85rem;
  z-index: 10;
}
.btn-copy-prompt:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text-color);
  transform: scale(1.05);
}
.btn-copy-prompt.copied {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.25);
  color: #4ade80;
}

/* Tooltip simple */
.btn-copy-prompt::after {
  content: 'Copiar Prompt';
  position: absolute;
  bottom: 115%;
  right: 50%;
  transform: translateX(50%) translateY(4px);
  background: #0b0f19;
  border: 1px solid rgba(255,255,255,0.08);
  color: #f8fafc;
  padding: 4px 10px;
  font-size: 0.65rem;
  font-weight: 500;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.btn-copy-prompt:hover::after {
  opacity: 1;
  transform: translateX(50%) translateY(0);
}
.btn-copy-prompt.copied::after {
  content: '¡Copiado!';
}

/* FAQ Accordion */
.faq-grid {
  max-width: 800px;
  margin: 2.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: rgba(13, 13, 20, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-item:hover {
  background: rgba(18, 18, 28, 0.5);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 
    0 10px 25px rgba(0,0,0,0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.faq-question {
  width: 100%;
  padding: 22px 28px;
  background: none;
  border: none;
  text-align: left;
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.faq-icon {
  font-size: 0.82rem;
  color: var(--accent-cyan);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
}
.faq-item.active {
  border-color: rgba(6, 182, 212, 0.25);
  box-shadow: 
    0 15px 30px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(6, 182, 212, 0.05);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-answer-inner {
  padding: 0 28px 24px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}


