/* ============================================
   Aplicativo Page Styles
   ============================================ */

/* Hero Section */
.app-hero {
  position: relative;
  padding: var(--spacing-4xl) 0 var(--spacing-3xl);
  background: var(--gradient-hero);
  border-bottom: 1px solid var(--color-border-light);
  text-align: left;
  overflow: hidden;
}

.app-hero-blobs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.app-hero-blobs .blob {
  z-index: 0;
  opacity: 0.35;
}

.app-hero-blobs .blob--coral {
  width: 380px;
  height: 380px;
  top: -100px;
  right: -60px;
}

.app-hero-blobs .blob--magenta {
  width: 320px;
  height: 320px;
  bottom: -120px;
  left: -80px;
}

.app-hero-blobs .blob--purple {
  width: 240px;
  height: 240px;
  top: 35%;
  left: 42%;
  opacity: 0.2;
}

.app-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--spacing-3xl);
  align-items: center;
}

.app-hero-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3xl);
  max-width: 520px;
}

.app-hero-text {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.app-hero-eyebrow {
  display: inline-block;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0;
}

.app-hero-title {
  font-size: var(--font-size-5xl);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
  color: var(--color-text-primary);
  margin: 0;
}

.app-hero-title .highlight {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.app-hero-text .app-hero-description {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-secondary);
  margin: 0;
  max-width: 46ch;
}

.app-hero__visual {
  display: flex;
  justify-content: center;
}

.app-hero-mockup {
  position: relative;
  width: 100%;
  max-width: 340px;
}

.app-hero-mockup::before {
  content: '';
  position: absolute;
  inset: 10% 8%;
  background: var(--gradient-primary);
  filter: blur(60px);
  opacity: 0.35;
  z-index: 0;
}

.app-hero__img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  filter: drop-shadow(0 22px 38px rgba(75, 17, 142, 0.18));
}

.app-hero-content .app-badges {
  display: flex;
  gap: var(--spacing-md);
  justify-content: flex-start;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.app-badge {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: 0.625rem 1.125rem;
  background: var(--color-text-primary);
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  color: var(--color-text-inverse);
  text-decoration: none;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  box-shadow: var(--shadow-md);
}

.app-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.app-badge .material-icons-round {
  font-size: 28px;
  flex-shrink: 0;
}

.app-badge div {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.badge-label {
  font-size: var(--font-size-sm);
  opacity: 0.9;
}

.badge-name {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
}

/* Features Section */
.features-section {
  background: var(--color-bg-primary);
  padding: var(--spacing-4xl) 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-2xl);
}

.feature-card {
  background: var(--color-bg-secondary);
  padding: var(--spacing-2xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-lg);
}

.feature-icon .material-icons-round {
  font-size: 40px;
  color: var(--color-text-inverse);
}

.feature-card h3 {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-md);
  color: var(--color-text-primary);
}

.feature-card p {
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
  font-size: var(--font-size-base);
}

/* CTA Section */
.cta-section {
  background: var(--gradient-hero);
  color: var(--color-text-inverse);
  padding: var(--spacing-4xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-black);
  margin-bottom: var(--spacing-lg);
  color: #FFFFFF;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.cta-description {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
  color: #FFFFFF;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  opacity: 0.95;
  margin-bottom: var(--spacing-2xl);
}

.cta-buttons {
  display: flex;
  gap: var(--spacing-lg);
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 1024px) {
  .app-hero__grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    text-align: center;
  }

  .app-hero-content {
    max-width: none;
    align-items: center;
  }

  .app-hero-text .app-hero-description {
    max-width: 52ch;
  }

  .app-hero-content .app-badges {
    justify-content: center;
  }

  .app-hero__visual {
    order: -1;
  }

  .app-hero-mockup {
    max-width: 280px;
  }

  .app-hero__img {
    max-height: 380px;
  }
}

@media (max-width: 768px) {
  .app-hero {
    padding: var(--spacing-3xl) 0 var(--spacing-2xl);
  }

  .app-hero-title {
    font-size: var(--font-size-4xl);
  }

  .app-hero-content {
    gap: var(--spacing-xl);
  }
  
  .app-hero-text .app-hero-description {
    font-size: var(--font-size-base);
  }

  .app-hero-content .app-badges {
    gap: var(--spacing-sm);
    width: 100%;
  }

  .app-badge {
    flex: 1 1 calc(50% - var(--spacing-sm));
    min-width: 148px;
    justify-content: center;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-title {
    font-size: var(--font-size-3xl);
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .cta-buttons .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .app-hero-title {
    font-size: var(--font-size-3xl);
  }
  
  .app-hero-text .app-hero-description {
    font-size: var(--font-size-sm);
  }

  .app-hero-content {
    gap: var(--spacing-lg);
  }

  .app-hero-content .app-badges {
    flex-direction: column;
    align-items: stretch;
  }

  .app-badge {
    flex: none;
    width: 100%;
    min-width: 0;
  }
  
  .feature-card {
    padding: var(--spacing-lg);
  }
  
  .app-store-badges {
    flex-direction: column;
    align-items: center;
  }
  
  .app-store-badge {
    width: 100%;
    max-width: 200px;
  }
  
  .cta-title {
    font-size: var(--font-size-2xl);
  }
}

