/* ==========================================================================
   AXONWEBS - PREMIUM AGENCY LANDING PAGE
   CSS COMPATIBLE PARA WORDPRESS
   ========================================================================== */

/* Variables y Resets limitados a la clase contenedora para no romper el Theme de WP */
.aw-landing {
  --aw-bg: #050508;
  --aw-surface: #10111A;
  --aw-surface-hover: #161824;
  --aw-primary: #00E5FF; /* Cyan */
  --aw-secondary: #9D4EDD; /* Purple */
  --aw-tertiary: #1954FF; /* Blue */
  
  --aw-text: #FFFFFF;
  --aw-text-muted: #A1A1B5;
  --aw-border: rgba(255, 255, 255, 0.08);
  --aw-glow: rgba(157, 78, 221, 0.25);
  --aw-glow-strong: rgba(0, 229, 255, 0.4);
  
  font-family: 'Outfit', system-ui, -apple-system, sans-serif;
  color: var(--aw-text);
  background-color: var(--aw-bg);
  line-height: 1.6;
  overflow-x: hidden;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.aw-landing *, .aw-landing *::before, .aw-landing *::after {
  box-sizing: inherit;
}

.aw-landing img {
  max-width: 100%;
  height: auto;
  display: block;
}

.aw-landing a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.aw-landing ul, .aw-landing ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

.aw-landing h1, .aw-landing h2, .aw-landing h3, .aw-landing h4, .aw-landing p {
  margin: 0;
}

.aw-landing button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Base Container */
.aw-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Text Utilities */
.aw-text-gradient {
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  background-image: linear-gradient(135deg, var(--aw-primary), var(--aw-secondary), var(--aw-tertiary));
  display: inline-block;
}

.aw-h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.aw-h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.aw-h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.aw-h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.aw-text-center { text-align: center; }
.aw-mb-lg { margin-bottom: 64px; }
.aw-mb-md { margin-bottom: 32px; }

/* Buttons */
.aw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}

.aw-btn-primary {
  background: linear-gradient(135deg, var(--aw-tertiary), var(--aw-secondary));
  color: #fff;
  box-shadow: 0 4px 15px var(--aw-glow);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.aw-btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, var(--aw-secondary), var(--aw-tertiary));
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}

.aw-btn-primary:hover::before {
  opacity: 1;
}

.aw-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--aw-glow);
}

.aw-btn-outline {
  background: transparent;
  color: var(--aw-text);
  border: 1px solid var(--aw-border);
}

.aw-btn-outline:hover {
  background: var(--aw-surface-hover);
  border-color: rgba(255,255,255,0.2);
}

.aw-btn-whatsapp {
  background: #10111A;
  color: #25D366;
  border: 1px solid rgba(37, 211, 102, 0.3);
}

.aw-btn-whatsapp:hover {
  background: rgba(37, 211, 102, 0.1);
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.2);
}

/* Glassmorphism Cards */
.aw-glass-card {
  background: rgba(16, 17, 26, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--aw-border);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.aw-glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

.aw-glass-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,0.15);
  box-shadow: 0 15px 35px rgba(0,0,0,0.5), 0 0 20px rgba(157, 78, 221, 0.1);
}

/* Navbar */
.aw-header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 100;
  background: rgba(5, 5, 8, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--aw-border);
}

.aw-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.aw-nav-list {
  display: flex;
  gap: 32px;
  align-items: center;
}

.aw-nav-list a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--aw-text-muted);
}

.aw-nav-list a:hover {
  color: var(--aw-primary);
}

.aw-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  z-index: 101;
}

.aw-mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--aw-text);
  transition: 0.3s;
}

.aw-mobile-toggle.aw-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.aw-mobile-toggle.aw-active span:nth-child(2) { opacity: 0; }
.aw-mobile-toggle.aw-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Hero Section */
.aw-hero {
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}

.aw-hero::before {
  content: '';
  position: absolute;
  top: -20%; left: 50%;
  width: 60vw; height: 60vw;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(157,78,221,0.15) 0%, rgba(0,229,255,0.05) 40%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.aw-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.aw-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.aw-badge {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--aw-primary);
  display: inline-flex;
  align-items: center;
}

.aw-hero-subtitle {
  font-size: 1.15rem;
  color: var(--aw-text-muted);
  margin-bottom: 40px;
  max-width: 500px;
}

.aw-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.aw-hero-graphic {
  position: relative;
}

.aw-hero-img {
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.aw-floating-card {
  position: absolute;
  bottom: -30px;
  left: -40px;
  background: rgba(16, 17, 26, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid var(--aw-border);
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.05);
  animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.aw-feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--aw-text-muted);
}
.aw-feature-list li:last-child { margin-bottom: 0; }

/* Sections Global */
.aw-section {
  padding: 100px 0;
  position: relative;
}

/* Grids */
.aw-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.aw-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

/* Services */
.aw-service-icon {
  width: 56px; height: 56px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--aw-primary);
  transition: all 0.3s ease;
}

.aw-glass-card:hover .aw-service-icon {
  background: var(--aw-primary);
  color: #000;
  transform: scale(1.1);
  box-shadow: 0 0 20px var(--aw-glow-strong);
}

.aw-service-card p {
  color: var(--aw-text-muted);
  font-size: 0.95rem;
}

/* Templates */
.aw-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}

.aw-tab-btn {
  padding: 10px 24px;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--aw-text-muted);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s ease;
}

.aw-tab-btn:hover {
  background: rgba(255,255,255,0.08);
  color: var(--aw-text);
}

.aw-tab-btn.aw-active {
  background: var(--aw-text);
  color: var(--aw-bg);
  border-color: var(--aw-text);
}

.aw-tpl-card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--aw-surface);
  border: 1px solid var(--aw-border);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.aw-tpl-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,255,255,0.15);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.aw-tpl-img-wrap {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.aw-tpl-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.aw-tpl-card:hover .aw-tpl-img-wrap img {
  transform: scale(1.05);
}

.aw-tpl-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(5,5,8,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.aw-tpl-card:hover .aw-tpl-overlay {
  opacity: 1;
}

.aw-tpl-content {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.aw-tpl-category {
  font-size: 0.8rem;
  color: var(--aw-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 8px;
}

/* Process */
.aw-process-card {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.aw-process-num {
  position: absolute;
  top: -20px;
  right: -10px;
  font-size: 140px;
  font-weight: 800;
  color: rgba(255,255,255,0.03);
  z-index: -1;
  line-height: 1;
  transition: all 0.3s ease;
}

.aw-process-card:hover .aw-process-num {
  color: rgba(157, 78, 221, 0.08);
  transform: scale(1.1);
}

/* Testimonials */
.aw-stars {
  color: #FFA534;
  margin-bottom: 16px;
  display: flex;
  gap: 4px;
}

.aw-test-text {
  font-size: 1.05rem;
  color: var(--aw-text-muted);
  font-style: italic;
  margin-bottom: 24px;
  flex-grow: 1;
}

.aw-test-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.aw-test-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--aw-surface-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--aw-primary);
}

.aw-test-role {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* FAQ */
.aw-faq-wrap {
  max-width: 800px;
  margin: 0 auto;
}

.aw-faq-item {
  border: 1px solid var(--aw-border);
  border-radius: 12px;
  margin-bottom: 16px;
  background: rgba(16, 17, 26, 0.4);
  overflow: hidden;
  transition: all 0.3s ease;
}

.aw-faq-header {
  width: 100%;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  color: var(--aw-text);
  font-weight: 600;
  font-size: 1.1rem;
}

.aw-faq-icon {
  transition: transform 0.3s ease;
  color: var(--aw-primary);
}

.aw-faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

.aw-faq-body {
  padding: 0 24px 24px;
  color: var(--aw-text-muted);
  font-size: 0.95rem;
}

.aw-faq-item.aw-active {
  border-color: rgba(255,255,255,0.15);
  background: rgba(16, 17, 26, 0.8);
}
.aw-faq-item.aw-active .aw-faq-content {
  transition: max-height 0.4s ease-in-out;
}

/* Footer */
.aw-footer {
  border-top: 1px solid var(--aw-border);
  padding: 64px 0 32px;
  margin-top: 64px;
  background: #030305;
}

.aw-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.aw-footer-desc {
  color: var(--aw-text-muted);
  margin-top: 16px;
  max-width: 300px;
}

.aw-footer-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.aw-footer-links li {
  margin-bottom: 12px;
}
.aw-footer-links a {
  color: var(--aw-text-muted);
  font-size: 0.95rem;
}
.aw-footer-links a:hover {
  color: var(--aw-primary);
}

.aw-footer-bottom {
  border-top: 1px solid var(--aw-border);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}

/* Floating WhatsApp */
.aw-floating-wa {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 99;
  transition: all 0.3s ease;
}

.aw-floating-wa:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Scroll Animations */
.aw-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.aw-fade-up.aw-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
  .aw-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .aw-hero-badges, .aw-hero-actions {
    justify-content: center;
  }
  
  .aw-floating-card {
    display: none; /* Hide on mobile to simplify layout */
  }
  
  .aw-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .aw-mobile-toggle {
    display: flex;
  }
  
  .aw-nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: 0;
    overflow: hidden;
    background: rgba(5, 5, 8, 0.98);
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    padding: 0 24px;
    opacity: 0;
  }
  
  .aw-nav.aw-active {
    height: calc(100vh - 80px);
    padding: 32px 24px;
    opacity: 1;
  }
  
  .aw-nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 32px;
    width: 100%;
  }
  
  .aw-nav-list a {
    font-size: 1.25rem;
    display: block;
    width: 100%;
  }
  
  .aw-footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .aw-footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .aw-section { padding: 64px 0; }
  .aw-hero { padding: 120px 0 60px; }
}
