* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
  color: #c9d1d9;
  line-height: 1.6;
  min-height: 100vh;
}

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

header {
  background: rgba(22, 27, 34, 0.9);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #30363d;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #58a6ff;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: #c9d1d9;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #58a6ff;
}

.hero {
  padding: 8rem 0 4rem;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #58a6ff, #238636);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section {
  text-align: center;
  margin: 3rem 0;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(45deg, #238636, #2ea043);
  color: #fff;
  padding: 1rem 2.5rem;
  font-size: 1.2rem;
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(35, 134, 54, 0.3);
  margin: 0.5rem;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(35, 134, 54, 0.4);
  background: linear-gradient(45deg, #2ea043, #238636);
}

.cta-button.secondary {
  background: linear-gradient(45deg, #6e7681, #8b949e);
  box-shadow: 0 4px 15px rgba(110, 118, 129, 0.3);
  color: #fff;
}

.cta-button.secondary:hover {
  background: linear-gradient(45deg, #8b949e, #6e7681);
  box-shadow: 0 6px 20px rgba(110, 118, 129, 0.4);
}

.features {
  padding: 4rem 0;
}

.features h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #58a6ff;
}

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

.feature-card {
  background: rgba(22, 27, 34, 0.8);
  padding: 2rem;
  border-radius: 10px;
  border: 1px solid #30363d;
  transition: transform 0.3s, box-shadow 0.3s;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #58a6ff;
}

.stats {
  background: rgba(22, 27, 34, 0.6);
  padding: 3rem 0;
  margin: 4rem 0;
  border-radius: 10px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  color: #238636;
  margin-bottom: 0.5rem;
}

.about {
  padding: 4rem 0;
  text-align: center;
}

.about h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #58a6ff;
}

.about p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

footer {
  background: #0d1117;
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid #30363d;
  margin-top: 4rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

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

.social-links a {
  color: #6e7681;
  font-size: 1.5rem;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #58a6ff;
}

/* Estilos do Modal e Login */
.login-btn {
  background: #238636;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.3s;
}

.login-btn:hover {
  background: #2ea043;
}

.modal {
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal.hidden {
  display: none !important;
}

.modal-content {
  background: #21262d;
  padding: 2rem;
  border-radius: 15px;
  width: 90%;
  max-width: 400px;
  border: 1px solid #30363d;
  position: relative;
}

.modal h2 {
  color: #58a6ff;
  margin-bottom: 1.5rem;
  text-align: center;
}

.modal input {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 5px;
  color: #c9d1d9;
  font-size: 1rem;
}

.modal input:focus {
  outline: none;
  border-color: #58a6ff;
}

.modal button {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  background: #238636;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s;
}

.modal button:hover {
  background: #2ea043;
}

/* Estilo específico para o modal de aviso do projeto */
.project-notice-modal {
  margin: auto;
  transform: translateY(-5%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 2px solid #30363d;
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  color: #8b949e;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #c9d1d9;
}

.hidden {
  display: none !important;
}

/* Auth Tabs */
.auth-tab {
  margin-bottom: 1rem;
}

.auth-tab.hidden {
  display: none;
}

.auth-tab h3 {
  color: #7c3aed;
  margin-bottom: 1rem;
  text-align: center;
  font-size: 1.2rem;
}

.auth-tab input {
  width: 100%;
  padding: 0.75rem;
  margin: 0.5rem 0;
  border: 1px solid #30363d;
  border-radius: 8px;
  background: rgba(22, 27, 34, 0.8);
  color: #c9d1d9;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  box-sizing: border-box;
}

.auth-tab input:focus {
  outline: none;
  border-color: #58a6ff;
  box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.1);
}

.auth-tab input::placeholder {
  color: #8b949e;
}

.auth-tab button {
  width: 100%;
  padding: 0.75rem;
  margin: 1rem 0 0.5rem 0;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: white;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.auth-tab button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(124, 58, 237, 0.4);
}

.switch-tab {
  text-align: center;
  margin: 1rem 0;
  color: #8b949e;
  font-size: 0.9rem;
}

.switch-tab a {
  color: #58a6ff;
  text-decoration: none;
  font-weight: 500;
}

.switch-tab a:hover {
  text-decoration: underline;
}

.auth-info {
  text-align: center;
  font-size: 0.8rem;
  color: #8b949e;
  margin-top: 1rem;
  padding: 0.5rem;
  background: rgba(88, 166, 255, 0.1);
  border-radius: 5px;
  border: 1px solid rgba(88, 166, 255, 0.2);
}

/* User Info Styles */
#userInfo {
  text-align: center;
}

.user-welcome {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(88, 166, 255, 0.1);
  border-radius: 10px;
  border: 1px solid rgba(88, 166, 255, 0.2);
}

.user-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.user-details {
  text-align: left;
  flex: 1;
}

.user-details h3 {
  color: #58a6ff;
  margin: 0 0 0.25rem 0;
  font-size: 1.1rem;
}

.user-details p {
  color: #8b949e;
  margin: 0;
  font-size: 0.9rem;
}

.user-actions {
  display: flex;
  gap: 0.5rem;
  flex-direction: column;
}

.profile-btn, .logout-btn {
  padding: 0.75rem 1rem;
  border: 1px solid;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.profile-btn {
  background: transparent;
  border-color: #58a6ff;
  color: #58a6ff;
}

.profile-btn:hover {
  background: #58a6ff;
  color: #0d1117;
}

.logout-btn {
  background: transparent;
  border-color: #f85149;
  color: #f85149;
}

.logout-btn:hover {
  background: #f85149;
  color: white;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero p {
    font-size: 1.1rem;
  }
  .nav-links {
    display: none;
  }
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}