* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', system-ui, sans-serif;
  background: linear-gradient(135deg, #f5f7ff 0%, #e0e7ff 100%);
  color: #0f172a;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Hero / Cabeçalho */
.hero {
  text-align: center;
  padding: 4rem 1rem 3rem;
}

.hero h1 {
  font-size: clamp(2.8rem, 8vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 1rem;
}

.hero h1 span {
  color: #6366f1;
  font-weight: 800;
}

.subtitle {
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  color: #475569;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Planos */
.pricing {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 1rem 1.5rem 4rem;
}

.plans-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 420px));
  gap: 2.5rem;
  width: 100%;
  max-width: 1100px;
}

/* Cartão genérico */
.card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
  padding: 2.5rem 2rem;
  text-align: center;
}

.card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.14);
}

/* Faixa "Mais Popular" */
.popular .ribbon {
  position: absolute;
  top: 18px;
  right: -38px;
  background: #6366f1;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.35rem 3.8rem;
  transform: rotate(45deg);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Cabeçalho do plano */
.plan-header {
  margin-bottom: 2rem;
}

.plan-header h2 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.plan-header .price {
  font-size: 2.1rem;
  font-weight: 700;
  color: #0f172a;
}

.plan-header .price .period {
  font-size: 1rem;
  font-weight: 500;
  color: #64748b;
}

/* Lista de funcionalidades */
.features {
  list-style: none;
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
  color: #475569;
  line-height: 2.1;
}

.features li {
  margin-bottom: 0.8rem;
}

.features li::before {
  content: "✓";
  color: #10b981;
  margin-right: 12px;
  font-weight: bold;
}

/* Botões */
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 1rem 2.4rem;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background: #6366f1;
  color: white;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  background: #4f46e5;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.45);
}

.btn-secondary {
  background: #6b7280;
  color: white;
  box-shadow: 0 6px 20px rgba(107, 114, 128, 0.25);
}

.btn-secondary:hover {
  background: #4b5563;
  transform: translateY(-3px);
}

/* Ajustes mobile */
@media (max-width: 680px) {
  .hero { padding: 3.5rem 1rem 2.5rem; }
  .pricing { padding-bottom: 5rem; }
  .plans-container { gap: 2rem; }
  .card { padding: 2rem 1.5rem; }
}