/* ================================
   DownloaderVideo — Dark "WOW" UI
   ================================ */

/* RESET */
* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* THEME TOKENS */
:root{
  --bg0:#070A12;
  --bg1:#0B1020;

  --card:rgba(255,255,255,.06);
  --card2:rgba(255,255,255,.085);
  --border:rgba(255,255,255,.12);

  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.68);

  --primary:#8B5CF6; /* violet */
  --accent:#22D3EE;  /* cyan */

  --radius:16px;
  --radius-lg:22px;

  --shadow: 0 14px 50px rgba(0,0,0,.55);
  --shadow2: 0 10px 30px rgba(0,0,0,.35);

  --max: 1120px;
}

/* TYPOGRAPHY */
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 10% -10%, rgba(139,92,246,.25), transparent 55%),
    radial-gradient(900px 600px at 90% 10%, rgba(34,211,238,.18), transparent 55%),
    radial-gradient(1200px 700px at 50% 110%, rgba(139,92,246,.14), transparent 55%),
    linear-gradient(180deg, var(--bg0), #050711 60%, #040612);
  line-height: 1.55;
}

h1,h2,h3{ line-height: 1.15; margin: 0 0 .6rem; letter-spacing: -0.02em; }
p{ margin: 0 0 1rem; color: var(--muted); }
a:hover{ opacity: .95; }

.small{ font-size: 13px; color: rgba(255,255,255,.62); }
.muted{ color: var(--muted); }

/* LAYOUT */
.container{
  width: min(100%, calc(var(--max) + 32px));
  margin: 0 auto;
  padding: 0 16px;
}
.section{ padding: 48px 0; }
@media (min-width: 900px){ .section{ padding: 72px 0; } }

/* GLASS CARD */
.card{
  background: linear-gradient(180deg, var(--card2), var(--card));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card.pad{ padding: 18px; }
@media (min-width: 900px){ .card.pad{ padding: 22px; } }
.card:hover{
  border-color: rgba(255,255,255,.18);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* NAV */
.navbar{
  position: sticky;
  top: 0;
  z-index: 50;

  background: rgba(7,10,18,.55);
  border-bottom: 1px solid rgba(255,255,255,.08);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.navbar .row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
}

.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.badge{
  font-size: 12px;
  color: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.16);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
}

.brand__text{
  opacity: .9;
}

/* links */
.navlinks{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.navlinks a{
  font-size: 14px;
  color: rgba(255,255,255,.82);
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
  text-decoration: none;
}

.navlinks a:hover{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.10);
}

/* active page */
.navlinks a[aria-current="page"]{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.16);
  color: rgba(255,255,255,.95);
}

/* mobile */
@media (max-width: 720px){
  .navbar .row{
    align-items: flex-start;
  }
  .navlinks{
    justify-content: flex-start;
    gap: 8px;
  }
}


/* BUTTONS */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  height: 44px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.btn:hover{ transform: translateY(-1px); background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.20); }
.btn:active{ transform: translateY(0px); }

.btn-primary{
  border: 1px solid rgba(139,92,246,.45);
  background:
    radial-gradient(120% 120% at 20% 0%, rgba(34,211,238,.22), transparent 40%),
    linear-gradient(135deg, rgba(139,92,246,.95), rgba(34,211,238,.75));
  box-shadow: 0 18px 50px rgba(139,92,246,.24);
}
.btn-primary:hover{ box-shadow: 0 22px 60px rgba(139,92,246,.32); }

.btn-ghost{
  background: transparent;
  border-color: rgba(255,255,255,.16);
}

/* HERO */
.hero{ padding: 54px 0 10px; }
.hero-grid{
  display:grid;
  gap: 18px;
  align-items: center;
}
@media (min-width: 900px){
  .hero{ padding: 84px 0 18px; }
  .hero-grid{ grid-template-columns: 1.2fr .8fr; gap: 22px; }
}
.kicker{
  display:inline-flex; align-items:center; gap:10px;
  font-size: 13px;
  color: rgba(255,255,255,.80);
  border: 1px solid rgba(255,255,255,.14);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
}
h1{ font-size: clamp(28px, 4vw, 48px); }
.lead{
  font-size: clamp(15px, 1.7vw, 18px);
  color: rgba(255,255,255,.72);
  max-width: 60ch;
}
.actions{ display:flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; }

.orb{
  border-radius: var(--radius-lg);
  padding: 18px;
  background:
    radial-gradient(700px 260px at 30% 10%, rgba(139,92,246,.35), transparent 60%),
    radial-gradient(600px 240px at 80% 40%, rgba(34,211,238,.22), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow);
}

/* GRIDS */
.grid3{ display:grid; gap: 14px; }
@media (min-width: 900px){ .grid3{ grid-template-columns: repeat(3, 1fr); gap: 16px; } }

.pricing{ display:grid; gap: 14px; }
@media (min-width: 900px){ .pricing{ grid-template-columns: repeat(3, 1fr); gap: 16px; } }

.plan-top{ display:flex; align-items:center; justify-content:space-between; gap:10px; }
.pill{
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.80);
}
.pill.hot{
  border-color: rgba(34,211,238,.35);
  background: rgba(34,211,238,.12);
}

.price{
  font-size: 34px;
  letter-spacing: -0.03em;
  margin: 6px 0 10px;
  color: rgba(255,255,255,.92);
}

/* CHECK LIST */
.ul{ margin: 12px 0 0; padding: 0; list-style: none; }
.ul li{
  display:flex; gap:10px; align-items:flex-start;
  margin: 10px 0;
  color: rgba(255,255,255,.72);
}
.check{
  width: 18px; height: 18px; margin-top: 2px; flex: 0 0 18px;
  border-radius: 6px;
  background: rgba(52,211,153,.14);
  border: 1px solid rgba(52,211,153,.28);
  display: inline-grid;
  place-items: center;
}
.check::before{
  content: "✓";
  color: rgba(52,211,153,.95);
  font-weight: 800;
  font-size: 13px;
  line-height: 1;
}


/* DOC PAGES (Oferta/Privacy) */
.doc{ padding: 22px; }
.doc h1{ font-size: clamp(24px, 3vw, 36px); }
.doc h2{ margin-top: 22px; font-size: 18px; }
.doc p, .doc li{ color: rgba(255,255,255,.72); }
.doc code{
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  padding: 2px 6px;
  border-radius: 8px;
  color: rgba(255,255,255,.86);
}
.doc a{ color: rgba(34,211,238,.92); text-decoration: underline; text-underline-offset: 3px; }
.doc .toc{ display:flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 18px; }
.doc .toc a{
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  text-decoration: none;
}

/* Lists (global) */
ul, ol{ padding-left: 1.2rem; margin: 0 0 1rem; }
li{ margin: .45rem 0; }

/* Compatibility: .box */
.box{
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(255,255,255,.04);
}
.divider{
  height: 1px;
  background: rgba(255,255,255,.10);
  border: 0;
  margin: 18px 0;
}

/* FOOTER */
.footer{
  padding: 30px 0 46px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.62);
}

/* ACCESSIBILITY */
:focus-visible{
  outline: 2px solid rgba(34,211,238,.85);
  outline-offset: 3px;
  border-radius: 10px;
}
