/* Reset e configurações base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #333;
  line-height: 1.6;
  min-height: 100vh;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header moderno */
header {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  color: #fff;
  padding: 2rem 0;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  position: relative;
  overflow: hidden;
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

header h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  position: relative;
  z-index: 1;
}

header h1 i {
  margin-right: 15px;
  color: #667eea;
}

header p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

header nav {
  position: relative;
  z-index: 1;
}

header nav a {
  margin: 0 15px;
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 25px;
  transition: all 0.3s ease;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  display: inline-block;
}

header nav a i {
  margin-right: 8px;
}

header nav a:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Main content */
main {
  padding: 0;
  max-width: 1200px;
  margin: 0 auto;
}

/* Seção Hero */
.hero-section {
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.9) 100%);
  margin: 3rem 2rem 4rem 2rem;
  border-radius: 20px;
  padding: 4rem 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
}

.hero-content h2 {
  font-size: 3rem;
  color: #1e3c72;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.hero-content p {
  font-size: 1.3rem;
  color: #666;
  margin-bottom: 2.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Seções */
section {
  margin: 0 2rem 4rem 2rem;
  background: rgba(255,255,255,0.95);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

section h2 {
  font-size: 2.5rem;
  color: #1e3c72;
  margin-bottom: 1.5rem;
  text-align: center;
  position: relative;
}

section h2 i {
  margin-right: 15px;
  color: #667eea;
}

section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  border-radius: 2px;
}

/* Grid de aplicativos */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* Carrossel de aplicativos */
.apps-carousel {
  max-width: 1200px;
  margin: 2rem auto;
}

.apps-carousel .carousel-inner {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.apps-carousel .carousel-item {
  padding: 2rem;
  background: transparent;
  min-height: auto;
  text-align: center;
}

.apps-carousel .carousel-item .app-card {
  margin: 0 auto;
  max-width: 500px;
  width: 100%;
  position: relative;
}

.apps-carousel .carousel-control-prev,
.apps-carousel .carousel-control-next {
  background: rgba(102, 126, 234, 0.8);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  margin: auto 20px;
  top: 50%;
  transform: translateY(-50%);
}

.apps-carousel .carousel-control-prev-icon,
.apps-carousel .carousel-control-next-icon {
  width: 25px;
  height: 25px;
}

.apps-carousel .carousel-indicators {
  bottom: 20px;
}

.apps-carousel .carousel-indicators button {
  background-color: rgba(102, 126, 234, 0.5);
  border-radius: 50%;
  width: 12px;
  height: 12px;
  margin: 0 5px;
}

.apps-carousel .carousel-indicators button.active {
  background-color: #667eea;
}

/* Cards de aplicativos */
.app-card {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.3);
  position: relative;
  overflow: hidden;
}

.app-card.featured {
  border: 2px solid #667eea;
}

.app-card.coming-soon {
  opacity: 0.8;
}

.app-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 5px 15px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

.app-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left 0.5s ease;
}

.app-card:hover::before {
  left: 100%;
}

.app-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.app-card img {
  width: 120px;
  height: 120px;
  margin-bottom: 1.5rem;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.placeholder-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem auto;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
}

.app-card:hover img {
  transform: scale(1.1) rotate(5deg);
}

.app-card h3 {
  font-size: 1.8rem;
  color: #1e3c72;
  margin-bottom: 1rem;
  font-weight: 600;
}

.app-description {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.app-features {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.feature-tag {
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.9rem;
  font-weight: 500;
}

.feature-tag i {
  margin-right: 5px;
}

.app-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Botões modernos */
.btn {
  display: inline-block;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
  background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
  color: white;
  box-shadow: 0 5px 15px rgba(108, 117, 125, 0.4);
}

.btn-download {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
}

.btn-disabled {
  background: #6c757d;
  color: white;
  cursor: not-allowed;
  opacity: 0.7;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.6);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #5a6268 0%, #343a40 100%);
}

.btn-download:hover {
  background: linear-gradient(135deg, #218838 0%, #1ea085 100%);
}

/* Seção sobre */
.about-content {
  text-align: center;
}

.about-text p {
  font-size: 1.2rem;
  color: #555;
  max-width: 800px;
  margin: 0 auto 1.5rem auto;
  line-height: 1.8;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 15px;
  border: 1px solid rgba(102, 126, 234, 0.1);
}

.stat-item i {
  font-size: 2.5rem;
  color: #667eea;
  margin-bottom: 1rem;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e3c72;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  color: #666;
  font-weight: 500;
}

/* Seção habilidades */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.skill-category {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(102, 126, 234, 0.1);
  text-align: center;
}

.skill-category h3 {
  color: #1e3c72;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.skill-category h3 i {
  margin-right: 10px;
  color: #667eea;
}

.skill-items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.skill-item {
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(102, 126, 234, 0.2);
}

/* Seção contato */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 15px;
  border: 1px solid rgba(102, 126, 234, 0.1);
}

.contact-item i {
  font-size: 2rem;
  color: #667eea;
  width: 50px;
  text-align: center;
}

.contact-item h4 {
  color: #1e3c72;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.contact-item a {
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #764ba2;
}

.contact-message {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 15px;
  border: 1px solid rgba(102, 126, 234, 0.1);
}

.contact-message p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Footer moderno */
footer {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: white;
  margin-top: 3rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 3rem 2rem 2rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section h4 {
  color: #667eea;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-section p {
  color: #bdc3c7;
  line-height: 1.6;
}

.footer-section a {
  color: #bdc3c7;
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #667eea;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: rgba(102, 126, 234, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: rgba(102, 126, 234, 0.4);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 2rem;
  text-align: center;
}

.footer-bottom p {
  color: #95a5a6;
  font-size: 0.9rem;
}

/* Animações */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section {
  animation: fadeInUp 0.6s ease-out;
}

/* Responsividade */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  header h1 {
    font-size: 2.5rem;
  }
  
  header nav a {
    display: block;
    margin: 10px auto;
    max-width: 200px;
  }
  
  .hero-section {
    margin: 2rem 1rem 3rem 1rem;
    padding: 3rem 1.5rem;
  }
  
  .hero-content h2 {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  section {
    margin: 0 1rem 3rem 1rem;
    padding: 2rem 1.5rem;
  }
  
  .apps-grid {
    grid-template-columns: 1fr;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2rem 1rem 1rem 1rem;
  }
  
  .app-card {
    padding: 1.5rem;
  }
  
  .app-card img {
    width: 100px;
    height: 100px;
  }
  
  .apps-carousel .carousel-item {
    padding: 1.5rem;
  }
  
  .apps-carousel .carousel-item .app-card {
    max-width: 100%;
  }
  
  .apps-carousel .carousel-control-prev,
  .apps-carousel .carousel-control-next {
    width: 40px;
    height: 40px;
    margin: auto 10px;
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 2rem;
  }
  
  .hero-content h2 {
    font-size: 2rem;
  }
  
  section h2 {
    font-size: 2rem;
  }
  
  .app-card {
    padding: 1rem;
  }
  
  .hero-section {
    padding: 2rem 1rem;
  }
}
