/* ArcadiaB Page-Specific Styles */
/* Homepage sections, hero, footer, etc. */

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
}

.hero-grid {
  align-items: center;
  gap: var(--space-3xl);
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
}

.hero-subtitle {
  max-width: 520px;
  margin-bottom: var(--space-xl);
}

.hero-ctas {
  margin-bottom: var(--space-xl);
}

.trust-pills {
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
}

/* ========================================
   PRODUCTS GRID
   ======================================== */

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.products-grid .card-product.featured {
  grid-column: 1 / -1;
}

@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-3xl) 0 var(--space-xl) 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand {
  max-width: 320px;
}

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

.footer-title {
  font-family: var(--font-text);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-bright);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-subtle);
}

.footer-legal {
  display: flex;
  gap: var(--space-lg);
}

.footer-legal a {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-legal a:hover {
  color: var(--gold);
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
}

/* ========================================
   MAXI CHAT WIDGET
   ======================================== */

.maxi-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: var(--bg-primary);
  font-size: 2rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-gold);
  transition: all var(--transition-base);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.maxi-widget:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 12px 40px rgba(212, 168, 67, 0.3);
}

.maxi-widget::before {
  content: 'Pregúntale a Maxi 🤖';
  position: absolute;
  bottom: 100%;
  right: 0;
  margin-bottom: 0.75rem;
  padding: 0.5rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-base);
  pointer-events: none;
}

.maxi-widget:hover::before {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .maxi-widget {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
    font-size: 1.75rem;
  }
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */

@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  
  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }
  
  .trust-pills {
    flex-direction: column;
    gap: var(--space-sm);
  }
}

/* ========================================
   PRODUCT PAGES
   ======================================== */

.product-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.product-hero-content {
  max-width: 540px;
}

.product-hero-visual {
  display: flex;
  justify-content: center;
}

.steps-horizontal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  max-width: 1000px;
  margin: 0 auto;
}

.step-item {
  flex: 1;
  text-align: center;
}

.step-number {
  width: 80px;
  height: 80px;
  background: var(--gold-gradient);
  color: var(--bg-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 auto var(--space-md);
  box-shadow: var(--shadow-gold);
}

.step-arrow {
  color: var(--gold);
  font-size: 2rem;
  flex-shrink: 0;
}

.content-bridge {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  margin-top: var(--space-3xl);
  padding: var(--space-2xl);
}

.content-bridge-icon {
  font-size: 4rem;
  margin-bottom: var(--space-lg);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  overflow: hidden;
}

.faq-question {
  padding: var(--space-lg);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition-fast);
}

.faq-question:hover {
  background: rgba(212, 168, 67, 0.05);
}

.faq-question::after {
  content: '+';
  color: var(--gold);
  font-size: 1.5rem;
  font-weight: 700;
  transition: transform var(--transition-base);
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 var(--space-lg) var(--space-lg);
  color: var(--text-secondary);
  line-height: 1.7;
}

.cta-section {
  background: linear-gradient(135deg, #0B0B1A 0%, #1a1a2e 100%);
}

.cta-card {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .product-hero {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .steps-horizontal {
    flex-direction: column;
    gap: var(--space-lg);
  }
  
  .step-arrow {
    transform: rotate(90deg);
  }
}
