/* --- Configurações de Variáveis --- */
:root {
  --bg-deep: #020617;
  --bg-surface: #0f172a;
  --primary: #3b82f6;
  --accent: #60a5fa;
  --text-white: #f8fafc;
  --text-dim: #94a3b8;
  --glass-border: rgba(255, 255, 255, 0.08);
  --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-deep);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* --- Header Estilo Glass --- */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 8%;
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--glass-border);
}

header h1 {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -1px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

header a {
  text-decoration: none;
  color: var(--text-white);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.6rem 1.4rem;
  border-radius: 8px;
  border: 1px solid var(--primary);
  transition: var(--transition);
}

header a:hover {
  background: var(--primary);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

/* --- Hero Section Impactante --- */
.hero {
  padding: 120px 8% 80px;
  text-align: center;
  background: radial-gradient(circle at center top, #193b70 0%, #020617 70%);
}

.hero-content h2 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -2px;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-dim);
  max-width: 700px;
  margin: 0 auto 3rem;
}

.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 1.1rem 2.8rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: var(--transition);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  background: var(--accent);
  box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4);
}

/* --- Grid de Cards (Features) --- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 60px 8%;
  max-width: 1300px;
  margin: 0 auto;
}

.feature-card {
  background: var(--bg-surface);
  padding: 2.5rem;
  border-radius: 24px;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--glass-border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  background: #1e293b;
  border-color: var(--primary);
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(6, 77, 105, 0.4);
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.feature-card p {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.5;
}



/* --- Footer --- */
footer {
  text-align: center;
  padding: 60px 8%;
  color: #475569;
  font-size: 0.85rem;
  border-top: 1px solid var(--glass-border);
}

/* --- Responsividade --- */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 1.2rem;
    padding: 1.5rem;
  }
  
  .hero {
    padding-top: 60px;
  }
}