:root {
  --dark-900: #0f172a;
  --dark-800: #1e293b;
  --dark-700: #334155;
  --dark-600: #475569;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --yellow-500: #f59e0b;
  --yellow-600: #d97706;
  --green-500: #10b981;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --black: #000000;
  --white: #ffffff;
}

/* ==================================================
   UTILITÁRIAS (substitui o que o Tailwind fazia)
================================================== */
.hidden { display: none !important; }

.text-center { text-align: center; }
.text-white { color: #fff; }
.text-gray-400 { color: rgba(229,231,235,.75); }
.text-gray-500 { color: rgba(156,163,175,.75); }

.font-bold { font-weight: 700; }

.text-lg { font-size: 1.125rem; }
.text-sm { font-size: .875rem; }
.text-2xl { font-size: 1.5rem; }
.text-4xl { font-size: 2.25rem; }

.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-16 { margin-bottom: 4rem; }

.p-6 { padding: 1.5rem; }
.rounded-xl { border-radius: 0.75rem; }

.relative { position: relative; }
.max-w-2xl { max-width: 42rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ==================================================
   FUNDO / CONTAINER
================================================== */
body {
  font-family: 'Poppins', sans-serif;

  color: #fff;
  min-height: 100vh;
  margin: 0;
  padding: 0;

  /* se você NÃO quiser esse wallpaper nessa página inteira,
     comente as 3 linhas abaixo */
  background-image: url('/assets/img/wallpaper/degrade2.png');
  background-position: 0%;
  background-size: cover;
  background-repeat: no-repeat;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 0;
}

/* ==================================================
   CARDS / PLANOS
================================================== */
.plan-card {
  background-color: rgba(0, 0, 0, 0.13);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 320px;
}

.plan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 2px 15px 5px rgba(255, 115, 0, 0.11);
}

/* Layout da fileira de planos */
@media (min-width: 768px) {
  .plan-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
  }

  .plan-card {
    width: calc(33.333% - 2rem);
  }
}

@media (max-width: 767px) {
  .plan-row {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .plan-card {
    width: calc(100% - 2rem);
    max-width: 1000px;
    margin: 0 auto 2rem;
  }
}

/* ==================================================
   BADGES
================================================== */
.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(45deg, rgb(252, 116, 25), #be6805);
  width: 120px;
  text-align: center;
  color: var(--white);
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.premium-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(45deg, rgb(15, 15, 15), rgb(42, 53, 66));
  width: 150px;
  text-align: center;
  color: var(--white);
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.popular-border {
  border: 2px solid rgb(255, 117, 25);
}

.premium-border {
  border: 2px solid rgb(22, 22, 22);
}

/* ==================================================
   PREÇO (aqui resolve o /mês e o “tudo junto”)
================================================== */
.price {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.price span {
  line-height: 1;
  white-space: nowrap;
}

/* o /mês */
.price p.text-gray-500 {
  margin: 0;
  font-size: 1rem;
  opacity: .85;
}

/* textos de economia */
.price p.text-sm {
  margin: 0;
  opacity: .85;
}

/* ==================================================
   LISTA DE FEATURES + TOGGLE
================================================== */
.feature-list {
  max-height: 240px;
  overflow: hidden;
  transition: max-height 0.5s ease;
  padding-left: 0;
  list-style-type: none;
  margin: 0;
}

.feature-list.expanded {
  max-height: 1200px;
}

.feature-list li {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.feature-list i {
  color: #10b981;
  margin-right: 0.5rem;
}

.toggle-btn {
  width: 100%;
  color: #ff7222;
  font-weight: 500;
  margin-bottom: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  text-align: center;
}

.toggle-btn::after {
  content: '+';
  display: inline-block;
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.toggle-btn.expanded::after {
  content: '-';
}

/* ==================================================
   DURATION TABS
================================================== */
.duration-tabs {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  margin-bottom: 3rem;
}

.duration-btn {
  padding: 0.5rem 1.5rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.47);
  background: none;
  color: rgba(229, 231, 235, 0.836);
  cursor: pointer;
  transition: all 0.3s ease;
}

.duration-btn:first-child {
  border-top-left-radius: 0.5rem;
  border-bottom-left-radius: 0.5rem;
}

.duration-btn:last-child {
  border-top-right-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
}

.duration-btn:not(:first-child) {
  border-left: none;
}

.duration-btn.active {
  background-color: rgba(255, 117, 25, 0.83);
  backdrop-filter: blur(8px);
  color: #ffffff;
}

/* ==================================================
   BOTÕES
================================================== */
.btn {
  width: 100%;
  color: rgb(255, 255, 255);
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-primary {
  background-image: linear-gradient(45deg, rgb(255, 117, 25), rgb(212, 56, 9));
}

.btn-primary:hover {
  background-image: linear-gradient(45deg, rgb(255, 117, 25), rgb(168, 52, 7));
}

.btn-secondary {
  background-color: var(--gray-700);
}

.btn-secondary:hover {
  background-color: var(--dark-600);
}

.btn-black {
  background-image: linear-gradient(-150deg, rgb(31, 31, 31), rgb(8, 8, 8));
}

.btn-black:hover {
  background-image: linear-gradient(50deg, rgb(31, 31, 31), rgb(8, 8, 8));
}

/* ==================================================
   PREMIUM PLAN (BLACK HOLE)
================================================== */
.premium-plan {
  background-color: rgba(0, 0, 0, 0.13);
  backdrop-filter: blur(5px);
  width: 100%;
  max-width: 1050px;
  position: relative;
  border-radius: 0.75rem;
}

.premium-plan-content {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  height: 100%;
}

.premium-plan-info {
  margin-bottom: 1.5rem;
}

.premium-plan-features {
  width: 100%;
}

@media (min-width: 768px) {
  .premium-plan {
    max-width: 1050px;
    margin: 0 auto 2rem;
  }

  .premium-plan-content {
    flex-direction: row;
    gap: 2rem;
  }

  .premium-plan-info {
    width: 40%;
    margin-bottom: 0;
  }
}

@media (max-width: 767px) {
  .premium-plan {
    margin-bottom: 2rem;
  }

  .premium-plan-content {
    padding: 1.5rem;
  }
}
