:root {
  --bg-dark: #050516;
  --bg-card: #0f1024;
  --accent: #7b5cff;
  --accent2: #2ac4ff;
  --text: #f5f5ff;
  --muted: #b3b3d1;
  --danger: #ff4d6a;
  --success: #29e88f;
}

/* RESET BÁSICO */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  background: radial-gradient(circle at top, #15163b 0%, #020214 55%, #000 100%);
  color: var(--text);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

/* CONTAINER */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* HEADER / NAVBAR */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5, 5, 22, 0.95);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(123, 92, 255, 0.25);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.logo-dot {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
}

.logo-text {
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
}

.nav-link {
  position: relative;
  padding-bottom: 0.15rem;
  color: var(--muted);
}

.nav-link.active,
.nav-link:hover {
  color: var(--text);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transition: width 0.2s ease-out;
}

.nav-link.active::after,
.nav-link:hover::after {
  width: 100%;
}

.nav-logout {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 0.9rem;
  cursor: pointer;
}

/* LAYOUT GERAL */
.main-content {
  padding: 2.5rem 1.5rem 3.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 900px) {
  .grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .nav-links {
    gap: 1rem;
    font-size: 0.8rem;
  }
}

/* PILL */
.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(123, 92, 255, 0.08);
  color: var(--accent2);
  border: 1px solid rgba(123, 92, 255, 0.5);
  margin-bottom: 0.7rem;
}

/* HERO */
.hero-text h1 {
  font-size: clamp(2.1rem, 3vw + 1rem, 2.9rem);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.hero-sub {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 520px;
}

.hero-tags {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.7rem;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tag strong {
  margin-right: 0.2rem;
  color: var(--accent2);
}

.hero-buttons {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* BOTÕES */
.btn {
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  transition: transform 0.08s ease-out, box-shadow 0.12s ease-out, background 0.12s ease-out;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  box-shadow: 0 14px 35px rgba(18, 0, 255, 0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(18, 0, 255, 0.55);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.04);
}

.btn-full {
  width: 100%;
}

/* CARD UPLOAD */
.card {
  background: radial-gradient(circle at top left, #262553 0%, #050518 55%);
  border-radius: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 1.5rem 1.6rem;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.8);
}

.upload-card h2 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.card-sub {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

/* FORM */
.form-group {
  margin-bottom: 0.9rem;
}

label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  display: block;
  margin-bottom: 0.3rem;
}

input[type="file"],
input[type="email"],
input[type="password"],
select {
  width: 100%;
  font-size: 0.9rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 8, 30, 0.9);
  color: var(--text);
}

input[type="file"]::file-selector-button {
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  padding: 0.3rem 0.7rem;
  border-radius: 0.45rem;
  margin-right: 0.6rem;
  cursor: pointer;
}

.help {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

/* STATUS / LINKS DE CLIPES */
.status {
  font-size: 0.8rem;
  margin-top: 0.6rem;
}

.status.success {
  color: var(--success);
}

.status.error {
  color: var(--danger);
}

.clips-list {
  margin-top: 0.6rem;
  font-size: 0.83rem;
  color: var(--muted);
}

.clips-list a {
  color: var(--accent2);
  word-break: break-all;
}

/* SEÇÕES */
.section {
  margin-top: 4rem;
}

.section-title {
  font-size: 1.6rem;
  margin: 0.6rem 0 0.3rem;
}

.section-sub {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 540px;
}

/* PLANOS */
.plans-grid {
  margin-top: 1.7rem;
  display: grid;
  gap: 1.4rem;
}

@media (min-width: 900px) {
  .plans-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.plan-card {
  position: relative;
  background: radial-gradient(circle at top, #25245a 0%, #05051c 55%);
  border-radius: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.35rem 1.3rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.plan-name {
  font-weight: 600;
  font-size: 1.05rem;
}

.plan-pill {
  font-size: 0.75rem;
  color: var(--accent2);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.plan-desc {
  font-size: 0.9rem;
  color: var(--muted);
}

.plan-features {
  list-style: none;
  padding-left: 0;
  margin: 0.3rem 0 0.4rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.plan-features li::before {
  content: "• ";
  color: var(--accent2);
}

.plan-badge {
  position: absolute;
  top: 0.9rem;
  right: 1rem;
  font-size: 0.7rem;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  background: rgba(42, 196, 255, 0.16);
  color: var(--accent2);
  border: 1px solid rgba(42, 196, 255, 0.4);
}

.plan-highlight {
  transform: translateY(-4px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.9);
}

/* SUPORTE */
.support-grid {
  margin-top: 1.7rem;
  display: grid;
  gap: 1.4rem;
}

@media (min-width: 900px) {
  .support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.card-soft {
  background: rgba(9, 11, 34, 0.9);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.03);
  padding: 1.25rem 1.3rem;
}

.support-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.support-text,
.support-contact,
.faq-item {
  font-size: 0.9rem;
  color: var(--muted);
}

.faq-item + .faq-item {
  margin-top: 0.6rem;
}

/* FOOTER */
.site-footer {
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
  padding: 1.8rem 1.5rem 2.4rem;
}

/* ANIMAÇÃO SUAVE SCROLL-IN */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==== PÁGINA DE LOGIN ==== */
.auth-body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.auth-container {
  width: 100%;
  max-width: 420px;
  padding: 0 1.5rem;
}

.auth-card {
  background: radial-gradient(circle at top left, #262553 0%, #050518 55%);
  border-radius: 1.1rem;
  padding: 1.8rem 1.7rem 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.9);
}

.auth-header {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.8rem;
}

.auth-title {
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
}

.auth-sub {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.auth-back {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--accent2);
}
/* ===== ANIMAÇÃO DE TRANSIÇÃO ENTRE PÁGINAS ===== */
.fade-out {
  animation: fadeOut .35s ease forwards;
}

@keyframes fadeOut {
  from { opacity: 1; transform: scale(1); }
  to { opacity: 0; transform: scale(1.03); }
}

/* Efeito hover da logo */
.logo, .nav-left {
  cursor: pointer;
  transition: transform .18s ease, opacity .18s ease;
}

.logo:hover, .nav-left:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}
/* ==== NOVO CSS PARA PLANO JÁ POSSUÍDO ==== */
.plan-card.owned {
    position: relative;
    opacity: 0.5; /* Deixa o card cinza */
    pointer-events: none; /* Impede cliques */
    transform: none !important; /* Remove o hover effect */
    box-shadow: none !important;
}

.plan-card.owned::after {
    content: "PLANO ATUAL";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7); /* Sobreposição escura */
    color: #fff;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.1rem;
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    z-index: 10;
}
/* ======================================== */
