/* --- NOVO --- Importando uma fonte mais moderna do Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
  --bg-dark: #12141E;
  --card-bg: #1E2230;
  --text-light: #E0E8F0;
  --text-muted: #A0A8C0;
  --accent-blue: #00CFFF;
  --accent-yellow: #FFD33D;
  --card-shadow: rgba(0, 0, 0, 0.25);
  --card-hover-shadow: rgba(0, 0, 0, 0.4);
}

/* reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-family: 'Poppins', sans-serif;
  text-align: center;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

/* ============================================= */
/* ESTILOS GERAIS (HEADER, FOOTER, ETC.)         */
/* ============================================= */

.header {
  background-color: var(--card-bg);
  padding: 15px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #2a3042;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Logo + nome lado a lado */
.logo-title {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo-title img {
  height: 80px;
}

.site-title {
  font-family: 'Swis721 WGL4 BT', 'Poppins', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 40px;
}

.nav a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color .3s ease;
  position: relative;
  padding-bottom: 5px;
}
.nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--accent-blue);
  transition: width .3s ease;
}
.nav a:hover {
  color: var(--accent-blue);
}
.nav a:hover::after {
  width: 100%;
}

.footer {
  background-color: var(--card-bg);
  color: var(--text-muted);
  padding: 25px 0;
  margin-top: 60px;
  font-size: .9rem;
  border-top: 1px solid #2a3042;
}

/* ============================================= */
/* PÁGINA PRINCIPAL (HOME COM CARDS)             */
/* ============================================= */

.main {
  padding: 50px 20px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}
.card {
  background: var(--card-bg);
  border: 1px solid #2a3042;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 5px 15px var(--card-shadow);
  cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease;
  text-align: left;
  display: flex;
  flex-direction: column;
  opacity: 0;
  animation: fadeInUp 0.5s ease forwards;
}
.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }
.card:nth-child(6) { animation-delay: 0.6s; }
.card:nth-child(7) { animation-delay: 0.7s; }
.card:nth-child(8) { animation-delay: 0.8s; }

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px var(--card-hover-shadow);
}
.card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  aspect-ratio: 16/9;
  object-fit: contain;
  background-color: #1E2230;
}
.card h3 {
  color: var(--accent-blue);
  margin-bottom: 8px;
  font-size: 1.2rem;
}
.card p {
  color: var(--text-muted);
  font-size: .9rem;
  flex-grow: 1;
}

/* ============================================= */
/* CLASSES UTILITÁRIAS                           */
/* ============================================= */

.card.hidden {
  display: none;
}

/* Se quiser uma versão com transição suave */
.card.hidden-fade {
  opacity: 0;
  height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* ============================================= */
/* PÁGINAS DE CONTEÚDO (APP PAGE)                */
/* ============================================= */

.app-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  text-align: left;
}

.app-hero {
  text-align: center;
  margin-bottom: 60px;
}
.app-hero img {
  width: 150px;
  height: 150px;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  margin-bottom: 25px;
}
.app-hero h1 {
  font-size: 3rem;
  color: var(--text-light);
  font-weight: 700;
  margin-bottom: 10px;
}
.app-hero p.tagline {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 30px auto;
}

.button {
  display: inline-block;
  padding: 14px 32px;
  background-color: var(--accent-blue);
  color: var(--bg-dark);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform .2s ease, background-color .2s ease;
  box-shadow: 0 4px 15px rgba(0, 207, 255, 0.3);
}
.button:hover {
  transform: translateY(-3px);
  background-color: var(--accent-yellow);
  box-shadow: 0 6px 20px rgba(255, 211, 61, 0.4);
}

.features, .privacy {
  margin-bottom: 50px;
  padding: 30px;
  background-color: var(--card-bg);
  border-radius: 12px;
  border: 1px solid #2a3042;
}

.features h2, .privacy h2 {
  font-size: 2rem;
  color: var(--accent-blue);
  margin-bottom: 20px;
  border-bottom: 2px solid var(--accent-blue);
  padding-bottom: 10px;
}

.features h3 {
  font-size: 1.3rem;
  color: var(--text-light);
  margin-top: 30px;
  margin-bottom: 15px;
}

.features p, .privacy p {
  color: var(--text-muted);
  margin-bottom: 15px;
}

.features ul, .privacy ul {
  list-style: none;
  padding-left: 0;
}

.features li, .privacy li {
  color: var(--text-light);
  margin-bottom: 15px;
  padding-left: 35px;
  position: relative;
}

.features li::before {
  content: '✓';
  color: var(--accent-yellow);
  font-weight: bold;
  font-size: 1.2rem;
  position: absolute;
  left: 5px;
  top: 0px;
}

.privacy strong {
  color: var(--accent-yellow);
  font-weight: 600;
}

.privacy p em {
  display: block;
  text-align: right;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ============================================= */
/* ANIMAÇÕES E MEDIA QUERIES                     */
/* ============================================= */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .header {
    flex-direction: column;
    gap: 15px;
    position: static;
  }

  .logo-title {
    flex-direction: column;
  }

  .site-title {
    font-size: 1.8rem;
    text-align: center;
  }

  .app-hero h1 {
    font-size: 2.5rem;
  }

  .features, .privacy {
    padding: 20px;
  }
  
  .cards {
    gap: 20px;
  }
}