:root {
  --bg-primary: #07060b;
  --bg-secondary: #0e0c16;
  --bg-tertiary: #161325;
  
  --accent: #8b5cf6;
  --accent-hover: #a78bfa;
  --accent-glow: rgba(139, 92, 246, 0.12);
  
  --success: #10b981;
  --success-hover: #059669;
  --success-glow: rgba(16, 185, 129, 0.12);
  
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --border-color: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  
  --glass-bg: rgba(255, 255, 255, 0.02);
  --glass-border: rgba(255, 255, 255, 0.04);
  --glass-blur: 16px;
  
  --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-main: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
}

/* Base resets */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-family);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* Global Layout & Containers */
.navbar, .hero-section, .stats-bar, .features-section, .how-section, .pricing-section, .faq-section, .cta-final-section, .footer {
  padding: 2.5rem 1.5rem;
  width: 100%;
}

.nav-container, .hero-container, .stats-container, .features-grid, .steps-container, .pricing-grid, .faq-grid, .cta-final-container, .footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Typography & Visual Accents */
h2 {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 40%, var(--accent-hover) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.purple {
  color: var(--accent);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-tagline {
  color: var(--accent-hover);
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  padding: 0.75rem 1.5rem;
}

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

.btn-large {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
}

.btn-full {
  width: 100%;
  padding: 0.85rem 1.5rem;
}

/* Header Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(7, 6, 11, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 1.25rem 1.5rem;
}

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

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-actions {
  display: flex;
  gap: 1rem;
}

/* Hero Section */
.hero-section {
  padding-top: 10rem;
  padding-bottom: 6rem;
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4rem;
}

.hero-content {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  background: var(--accent-glow);
  color: var(--accent-hover);
  border: 1px solid rgba(139, 92, 246, 0.25);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
  animation: pulseGlow 2s infinite alternate;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 10px rgba(139, 92, 246, 0.1); }
  100% { box-shadow: 0 0 20px rgba(139, 92, 246, 0.25); }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 680px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-trust {
  display: flex;
  gap: 2rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
}

/* Mockup */
.hero-mockup-wrapper {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin-top: 1rem;
  perspective: 1000px;
  animation: slideUpFade 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-mockup-glow {
  position: absolute;
  top: 10%;
  left: 10%;
  right: 10%;
  bottom: 10%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(40px);
  z-index: 1;
  pointer-events: none;
}

.hero-mockup-img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
  z-index: 2;
  position: relative;
  transform: rotateX(2deg);
  animation: floatAnimation 6s ease-in-out infinite;
}

@keyframes floatAnimation {
  0% { transform: translateY(0px) rotateX(2deg); }
  50% { transform: translateY(-10px) rotateX(3deg); }
  100% { transform: translateY(0px) rotateX(2deg); }
}

@keyframes slideUpFade {
  from { opacity: 0; transform: translateY(40px) rotateX(5deg); }
  to { opacity: 1; transform: translateY(0) rotateX(2deg); }
}

/* Stats Bar */
.stats-bar {
  background: var(--bg-secondary);
  border-y: 1px solid var(--border-color);
  padding: 4rem 1.5rem;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  gap: 2rem;
}

.stat-item h3 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  background: linear-gradient(135deg, #ffffff, var(--accent-hover));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
}

/* Features Section */
.features-section {
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.feature-card:hover::before {
  transform: translateX(100%);
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: var(--shadow-main);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-glow);
  color: var(--accent-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* How It Works Section */
.how-section {
  background: var(--bg-secondary);
  padding-top: 8rem;
  padding-bottom: 8rem;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  position: relative;
}

.step-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

.step-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Pricing Section */
.pricing-section {
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 0.35rem;
  border-radius: 100px;
  margin-top: 2rem;
}

.billing-toggle span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0 0.5rem;
  transition: var(--transition);
}

.billing-toggle span.active {
  color: var(--text-primary);
}

.switch-btn {
  width: 50px;
  height: 26px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 100px;
  cursor: pointer;
  position: relative;
  outline: none;
  transition: var(--transition);
}

.switch-btn.active {
  background: var(--accent);
}

.switch-knob {
  width: 18px;
  height: 18px;
  background: #ffffff;
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 3px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.switch-btn.active .switch-knob {
  transform: translateX(24px);
}

.discount-badge {
  background: var(--success-glow);
  color: var(--success);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  max-width: 900px;
  margin-top: 4rem;
}

.price-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.price-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.price-card.popular {
  border-color: var(--accent);
  background: rgba(139, 92, 246, 0.02);
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.05);
}

.popular-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
}

.price-header {
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 2rem;
}

.price-header p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.price-value {
  margin-top: 1.5rem;
  display: flex;
  align-items: baseline;
}

.price-value .currency {
  font-size: 1.5rem;
  font-weight: 700;
  margin-right: 0.25rem;
}

.price-value .amount {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
}

.price-value .period {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-left: 0.25rem;
}

.yearly-announcement {
  display: block;
  font-size: 0.75rem;
  color: var(--success);
  font-weight: 600;
  margin-top: 0.5rem;
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex: 1;
}

.price-features li {
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  color: var(--text-primary);
}

.price-features li.disabled {
  color: var(--text-muted);
  text-decoration: line-through;
}

/* FAQ Section */
.faq-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.faq-item:hover {
  border-color: var(--border-hover);
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-question h4 {
  font-size: 1.05rem;
  font-weight: 600;
}

.faq-icon {
  font-size: 1.25rem;
  color: var(--accent);
  font-weight: bold;
  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 1.5rem;
}

.faq-answer p {
  padding-bottom: 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-item.active .faq-answer {
  max-height: 500px; /* valor seguro */
  transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

/* CTA Final Section */
.cta-final-section {
  padding-top: 10rem;
  padding-bottom: 10rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-final-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, rgba(0,0,0,0) 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 1;
}

.cta-final-container {
  position: relative;
  z-index: 2;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.cta-final-container h2 {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
}

.cta-final-container p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

/* Footer */
.footer {
  background: #040307;
  border-top: 1px solid var(--border-color);
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  max-width: 300px;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.75rem;
  }
  
  .stats-container {
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn-secondary {
    display: none;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .stats-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .steps-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .price-card {
    padding: 2.5rem 1.5rem;
  }
  
  .cta-final-container h2 {
    font-size: 2rem;
  }
}
