/* Astro Clips: la web (mismos colores que el programa: azul noche, degradado celeste) */
:root {
  --bg: #05080f;
  --panel: #0a101c;
  --panel2: #0f1828;
  --line: #1b2840;
  --line2: #263a5c;
  --text: #e6eeff;
  --muted: #95a4c2;
  --accent: #3d8bff;
  --accent-hi: #6cb4ff;
  --accent2: #56d6ff;
  --ok: #3ecf8e;
  --warn: #ffcf7a;
  --err: #ff7387;
  --grad: linear-gradient(135deg, #2f7bff 0%, #4aa3ff 55%, #6fd0ff 100%);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--text); font: 16px/1.6 "Segoe UI", system-ui, -apple-system, sans-serif;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(61, 139, 255, .18), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(140, 80, 255, .12), transparent 60%),
    var(--bg);
  min-height: 100vh;
}
body::before { /* estrellas */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1; opacity: .5;
  background-image:
    radial-gradient(1px 1px at 20px 30px, #fff, transparent), radial-gradient(1px 1px at 120px 80px, #9fe6ff, transparent),
    radial-gradient(1px 1px at 200px 150px, #fff, transparent), radial-gradient(1.5px 1.5px at 260px 40px, #cfe3ff, transparent),
    radial-gradient(1px 1px at 330px 190px, #fff, transparent);
  background-size: 360px 220px;
}
a { color: var(--accent-hi); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(32px, 5vw, 52px); letter-spacing: -.5px; }
h2 { font-size: clamp(26px, 3.4vw, 36px); }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.wrap { width: min(1120px, 100% - 32px); margin: 0 auto; }
.narrow { width: min(780px, 100% - 32px); margin: 0 auto; }

/* encabezado */
.top { position: sticky; top: 0; z-index: 10; background: rgba(5, 8, 15, .78); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(38, 58, 92, .6); }
.top .wrap { display: flex; align-items: center; gap: 20px; min-height: 64px; flex-wrap: wrap; }
.marca img { height: 34px; width: auto; }
.top nav { display: flex; align-items: center; gap: 6px 18px; margin-left: auto; flex-wrap: wrap; }
.top nav a { color: #cfdcf5; font-size: 15px; }
.top nav a[aria-current="page"] { color: #fff; font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 6px; text-decoration-thickness: 2px; }

/* botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 12px; font: inherit; font-weight: 600;
  cursor: pointer; border: 1px solid var(--line2); background: var(--panel2); color: #fff; text-decoration: none !important; transition: transform .15s, box-shadow .2s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0, 0, 0, .35); }
.btn.primary { background: var(--grad); border-color: rgba(160, 215, 255, .35); text-shadow: 0 1px 2px rgba(0, 30, 90, .45); box-shadow: 0 6px 24px rgba(61, 139, 255, .35); }
.btn.big { padding: 15px 28px; font-size: 18px; border-radius: 14px; }
.btn.sm { padding: 7px 14px; font-size: 14px; border-radius: 10px; }
.btn[disabled] { opacity: .5; cursor: default; transform: none; box-shadow: none; }
.top .btn { padding: 8px 16px; font-size: 15px; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--accent-hi); font: inherit; cursor: pointer; }
.linkbtn:hover { text-decoration: underline; }

/* portada */
.hero { padding: 64px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero .bajada { font-size: 19px; color: #c6d3ee; }
.hero .acciones { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 12px; }
.marco { border-radius: 20px; overflow: hidden; border: 1px solid rgba(108, 180, 255, .35); box-shadow: 0 20px 60px rgba(0, 0, 0, .55), 0 0 60px rgba(61, 139, 255, .25); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

section { padding: 56px 0; }
.titulo-sec { text-align: center; max-width: 760px; margin: 0 auto 36px; }

/* tarjetas de herramientas y funciones */
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: linear-gradient(180deg, rgba(20, 38, 72, .78), rgba(9, 17, 34, .78)); border: 1px solid rgba(80, 130, 220, .28); border-radius: 18px; padding: 20px; }
.card img { border-radius: 12px; margin-bottom: 14px; }
.card h3 { margin-bottom: 6px; }
.card p { color: #b9c7e3; font-size: 15px; margin: 0; }
.func { display: flex; gap: 14px; align-items: flex-start; }
.func i { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-style: normal; font-size: 20px;
  background: rgba(61, 139, 255, .14); border: 1px solid rgba(108, 180, 255, .35); }
.func h3 { font-size: 17px; margin-bottom: 4px; }

.banda { background: linear-gradient(90deg, rgba(31, 95, 214, .22), rgba(10, 20, 40, .6) 50%, rgba(86, 214, 255, .12)); border-block: 1px solid #1f3560; }
.banda .wrap { display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }

/* precios */
.precios { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); gap: 22px; justify-content: center; }
.precio { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 18px; background: var(--panel2); border: 1px solid var(--line2); }
.precio.destacado { border-color: rgba(108, 180, 255, .7); box-shadow: 0 0 40px rgba(61, 139, 255, .25); background: linear-gradient(180deg, rgba(31, 95, 214, .22), var(--panel2)); }
.precio .nombre { font-size: 13px; letter-spacing: .6px; text-transform: uppercase; color: var(--accent-hi); font-weight: 700; }
.precio .monto { font-size: 44px; font-weight: 800; line-height: 1; }
.precio .monto span { font-size: 16px; font-weight: 400; color: var(--muted); }
.precio .btn { margin-top: auto; }
.cinta { position: absolute; top: -12px; right: 18px; padding: 3px 12px; border-radius: 999px; background: var(--grad); font-size: 13px; font-weight: 700; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checks li { padding-left: 28px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 4px; color: var(--ok); font-weight: 800; }

/* preguntas */
details { background: var(--panel); border: 1px solid var(--line2); border-radius: 14px; padding: 4px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; padding: 12px 0; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--accent-hi); font-weight: 700; }
details[open] summary::after { content: "−"; }
details > div { padding: 0 0 14px; color: #c6d3ee; }

/* pasos (descargar) */
.pasos { counter-reset: paso; list-style: none; padding: 0; display: grid; gap: 14px; }
.pasos li { counter-increment: paso; position: relative; padding: 16px 18px 16px 64px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line2); }
.pasos li::before { content: counter(paso); position: absolute; left: 18px; top: 16px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad); font-weight: 800; }

/* avisos y formularios (comprar, Mi cuenta) */
.aviso { padding: 12px 16px; border-radius: 12px; border: 1px solid; margin: 12px 0; }
.aviso.ok { color: #c6f5df; border-color: rgba(80, 200, 150, .4); background: rgba(40, 160, 110, .1); }
.aviso.warn { color: #ffe6b3; border-color: rgba(255, 200, 100, .45); background: rgba(255, 180, 60, .09); }
.aviso.err { color: #ffd0d7; border-color: rgba(255, 120, 140, .5); background: rgba(255, 93, 115, .1); }
.caja { background: linear-gradient(180deg, rgba(15, 26, 46, .95), rgba(9, 16, 30, .95)); border: 1px solid #223a62; border-radius: 18px; padding: 24px; }
.form { display: grid; gap: 10px; max-width: 440px; }
.form label { font-weight: 600; font-size: 15px; }
.fila { display: flex; gap: 10px; flex-wrap: wrap; }
input[type=email], input[type=text] { flex: 1; min-width: 220px; background: #08101e; color: var(--text); border: 1px solid var(--line2); border-radius: 10px;
  padding: 11px 13px; font: inherit; }
input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
input.codigo { letter-spacing: 8px; font-size: 22px; max-width: 220px; font-variant-numeric: tabular-nums; }
.sus { border: 1px solid var(--line2); border-radius: 14px; padding: 16px 18px; margin: 14px 0; background: var(--panel); }
.sus h3 { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.etq { font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; border: 1px solid; }
.etq.ok { color: #c6f5df; border-color: rgba(80, 200, 150, .5); }
.etq.no { color: #ffd0d7; border-color: rgba(255, 120, 140, .5); }
.etq.warn { color: #ffe6b3; border-color: rgba(255, 200, 100, .5); }
.pc { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.spin { display: inline-block; width: 18px; height: 18px; border-radius: 50%; border: 3px solid rgba(108, 180, 255, .25); border-top-color: var(--accent-hi);
  animation: gira .8s linear infinite; vertical-align: -3px; }
@keyframes gira { to { transform: rotate(360deg); } }
[hidden] { display: none !important; }

/* textos largos (legales, ayuda) */
.texto h2 { font-size: 24px; margin-top: 1.6em; }
.texto h3 { font-size: 18px; margin-top: 1.2em; }
.texto li { margin-bottom: .4em; }
.completar { background: rgba(255, 207, 122, .16); color: var(--warn); padding: 0 4px; border-radius: 4px; }

/* pie */
.pie { border-top: 1px solid var(--line); margin-top: 40px; padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
.pie .wrap { display: flex; gap: 18px 28px; flex-wrap: wrap; justify-content: space-between; }
.pie nav { display: flex; gap: 8px 18px; flex-wrap: wrap; }
.pie a { color: #aebcd9; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .grid4 { grid-template-columns: repeat(2, 1fr); }
  .grid3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 15px; }
  .top { position: static; }
  .top .wrap { gap: 6px 14px; min-height: 56px; padding: 8px 0; }
  .top nav { margin-left: 0; width: 100%; gap: 8px 16px; padding-bottom: 4px; }
  .top nav .btn { padding: 7px 14px; font-size: 14px; border-radius: 10px; }
  .grid4, .grid3, .precios { grid-template-columns: 1fr; }
  .hero { padding-top: 36px; }
  section { padding: 40px 0; }
}

/* entre grupos de preguntas */
details + h2 { margin-top: 38px; }
