/* ========================================
   KYOMI APIS - Home Page (Tema Roxo)
   ======================================== */

/* ========================================
   Hero Section
   ======================================== */

.hero-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  position: relative;
  z-index: 1;
}

.hero-image-container {
  position: relative;
  margin-bottom: 30px;
  transition: var(--transition-normal);
}

.hero-image-container:hover {
  transform: scale(1.05);
}

.hero-image {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  border: 4px solid var(--accent-purple);
  box-shadow: 0 0 40px var(--accent-glow), 0 0 80px rgba(139, 0, 255, 0.3);
  object-fit: cover;
  animation: float 3s ease-in-out infinite, glow 2s infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  margin: 20px 0 10px;
  background: linear-gradient(135deg, var(--accent-light), var(--accent), var(--accent-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px var(--accent-glow);
  animation: fadeIn 1s ease;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  text-align: center;
  margin: 0;
  animation: fadeIn 1.5s ease;
}

/* ========================================
   Content Section
   ======================================== */

.content-section {
  flex: 1.5;
  display: flex;
  flex-direction: column;
  padding: 40px;
  position: relative;
  z-index: 1;
}

/* ========================================
   Navbar
   ======================================== */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-link a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: var(--transition-fast);
  position: relative;
  padding: 5px 0;
}

.nav-link a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-light), var(--accent));
  transition: var(--transition-normal);
}

.nav-link a:hover {
  color: var(--accent-light);
}

.nav-link a:hover::after {
  width: 100%;
}

.social-links {
  display: flex;
  list-style: none;
  gap: 15px;
}

.social-link a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-muted);
  font-size: 1.25rem;
  transition: var(--transition-normal);
}

.social-link a:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent-purple));
  border-color: var(--accent-light);
  color: var(--text);
  transform: translateY(-3px);
  box-shadow: var(--shadow-purple);
}

/* ========================================
   Welcome Content
   ======================================== */

.welcome-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: fadeIn 2s ease;
}

.welcome-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--accent-light);
  line-height: 1.2;
}

.welcome-description {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 30px;
  max-width: 600px;
}

/* ========================================
   CTA Buttons
   ======================================== */

.cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 1.125rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--accent), var(--accent-purple));
  color: var(--text);
  text-decoration: none;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(139, 0, 255, 0.4);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
  width: 400px;
  height: 400px;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 30px rgba(139, 0, 255, 0.6);
}

.cta-button i {
  font-size: 1.25rem;
}

/* ========================================
   Floating Elements
   ======================================== */

.floating-element {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  animation: float-random 6s ease-in-out infinite;
}

@keyframes float-random {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(20px, -20px) rotate(90deg);
  }
  50% {
    transform: translate(-20px, 20px) rotate(180deg);
  }
  75% {
    transform: translate(20px, 20px) rotate(270deg);
  }
}

.floating-element svg {
  filter: drop-shadow(0 0 10px var(--accent-glow));
}

/* ========================================
   Features Section
   ======================================== */

.features-section {
  padding: 60px 20px;
  margin-top: 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  transition: var(--transition-normal);
  backdrop-filter: blur(10px);
}

.feature-card:hover {
  border-color: var(--accent-purple);
  box-shadow: var(--shadow-purple);
  transform: translateY(-5px);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-purple));
  border-radius: 50%;
  font-size: 2rem;
  color: var(--text);
  box-shadow: 0 0 20px var(--accent-glow);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent-light);
  margin-bottom: 15px;
}

.feature-description {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ========================================
   Stats Section
   ======================================== */

.stats-section {
  padding: 60px 20px;
  text-align: center;
}

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

.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px 20px;
  backdrop-filter: blur(10px);
  transition: var(--transition-normal);
}

.stat-card:hover {
  border-color: var(--accent-purple);
  box-shadow: var(--shadow-purple);
  transform: scale(1.05);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ========================================
   Responsividade
   ======================================== */

@media (max-width: 992px) {
  .main-content {
    flex-direction: column;
  }
  
  .hero-section,
  .content-section {
    padding: 30px 20px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .welcome-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-image {
    width: 200px;
    height: 200px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .navbar {
    flex-direction: column;
    gap: 20px;
  }
  
  .nav-links {
    gap: 20px;
  }
  
  .welcome-title {
    font-size: 1.75rem;
  }
  
  .welcome-description {
    font-size: 1rem;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .cta-button {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .hero-image {
    width: 150px;
    height: 150px;
  }
  
  .hero-title {
    font-size: 1.75rem;
  }
  
  .nav-links {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .welcome-title {
    font-size: 1.5rem;
  }
  
  .cta-button {
    padding: 14px 24px;
    font-size: 1rem;
  }
}
