feat: rediseño UI completo + infra email + stats

This commit is contained in:
hacklab 2026-04-20 00:46:00 +02:00
parent 93d75ddafe
commit 24401c0ee5
37 changed files with 2162 additions and 412 deletions

View file

@ -36,8 +36,8 @@
--caoba-mid: #a0522d; /* siena */
--caoba-lt: #f0e6df; /* caoba muy claro */
--sage: #4a7c59; /* verde salvia */
--sage-lt: #e8f2eb; /* verde salvia muy claro */
--sage: #1a7a4a; /* verde irlandés */
--sage-lt: #e0f4ea; /* verde irlandés muy claro */
--lime: #96c21a; /* verde lima */
--lime-lt: #f4fae0; /* verde lima muy claro */
@ -379,14 +379,199 @@ a:hover { color: var(--caoba-mid); text-decoration: underline; }
PANEL (checklist grid)
*/
.panel {
padding: 4rem 0;
padding: 3.5rem 0 4rem;
background: var(--bg);
border-top: 1px solid var(--border);
}
.panel-title {
font-size: clamp(1.3rem, 3vw, 1.9rem);
margin-bottom: 0.4rem;
}
.section-desc {
color: var(--muted);
margin-bottom: 2rem;
font-size: 0.95rem;
margin-bottom: 0;
font-size: 0.93rem;
max-width: 72ch;
line-height: 1.5;
}
/* Barra de progreso compacta */
.progress-track {
display: flex;
align-items: center;
gap: 1rem;
margin: 1.2rem 0 1.8rem;
}
.progress-track .progress-bar { flex: 1; margin: 0; }
.progress-track .progress-label { white-space: nowrap; }
/* ── Secciones del panel ── */
.panel-global-header {
margin-bottom: 0.5rem;
}
.panel-title {
font-size: clamp(1.3rem, 3vw, 1.9rem);
margin-bottom: 0.4rem;
}
.panel-section {
background: var(--surface);
border: 1.5px solid var(--border);
border-radius: 18px;
padding: 1.6rem 1.8rem 1.4rem;
box-shadow: var(--shadow-sm);
margin-bottom: 1.4rem;
}
.panel-section:last-child { margin-bottom: 0; }
.panel-section-header {
display: flex;
align-items: center;
gap: 0.9rem;
margin-bottom: 1.2rem;
flex-wrap: wrap;
}
.panel-section-badge {
display: inline-flex;
align-items: center;
gap: 0.35rem;
padding: 0.4rem 1.2rem;
border-radius: 20px;
background: var(--caoba);
color: #fff;
font-family: 'Recion', 'Georgia', serif;
font-size: 1.05rem;
font-weight: 400;
letter-spacing: 0.04em;
flex-shrink: 0;
}
.btn-mark-section {
font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
font-size: 0.78rem;
font-weight: 600;
padding: 0.3rem 0.85rem;
border-radius: 20px;
border: 1.5px solid var(--sage);
background: var(--sage-lt);
color: var(--sage);
cursor: pointer;
transition: background 150ms ease, color 150ms ease;
white-space: nowrap;
margin-left: auto;
}
.btn-mark-section:hover {
background: var(--sage);
color: #fff;
}
.panel-section-footer {
margin-top: 1.1rem;
display: flex;
justify-content: flex-end;
}
.btn--section-send {
font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
font-size: 0.88rem;
font-weight: 600;
padding: 0.55rem 1.4rem;
}
/* ── Grid de cards ── */
.pitem-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
gap: 0.9rem;
}
/* ── Card individual ── */
.pitem-card {
background: var(--surface);
border: 1.5px solid var(--border);
border-radius: 14px;
padding: 1.1rem 1.1rem 0.9rem;
box-shadow: 0 2px 0 0 var(--border-dark);
display: flex;
flex-direction: column;
gap: 0.75rem;
transition:
border-color 150ms ease,
background 150ms ease,
box-shadow 150ms ease;
}
.pitem-card:hover {
border-color: #a8d4bc;
box-shadow: 0 3px 0 0 #a8d4bc;
}
/* Checked state — verde irlandés */
.pitem-card:has(.progress-cb:checked) {
background: var(--sage-lt);
border-color: var(--sage);
box-shadow: 0 2px 0 0 #0f5c34;
}
/* Label del checkbox */
.pitem-label {
display: flex;
align-items: flex-start;
gap: 0.55rem;
cursor: pointer;
line-height: 1.3;
}
.pitem-label input[type="checkbox"] {
accent-color: var(--sage);
width: 17px;
height: 17px;
flex-shrink: 0;
margin-top: 0.1rem;
cursor: pointer;
}
.pitem-icon {
width: 18px;
height: 18px;
object-fit: contain;
flex-shrink: 0;
vertical-align: middle;
display: inline-block;
}
.pitem-card:has(.progress-cb:checked) .pitem-icon { filter: brightness(0) saturate(100%) invert(30%) sepia(80%) saturate(400%) hue-rotate(110deg); }
.pitem-name {
font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
font-size: 0.97rem;
font-weight: 600;
color: var(--text);
transition: color 150ms ease;
display: flex;
align-items: center;
gap: 0.45rem;
}
.pitem-card:has(.progress-cb:checked) .pitem-name {
text-decoration: line-through;
color: var(--sage);
}
/* ── Action links dentro de card ── */
.pitem-card .actions {
margin: 0;
display: flex;
flex-wrap: wrap;
gap: 0.35rem;
}
/* ── Responsive del panel ── */
@media (max-width: 900px) {
.pitem-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
}
@media (max-width: 600px) {
.pitem-grid { grid-template-columns: 1fr 1fr; }
.progress-track { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
.progress-track .progress-bar { width: 100%; }
}
.grid {
@ -452,14 +637,14 @@ a:hover { color: var(--caoba-mid); text-decoration: underline; }
.actions a {
display: inline-block;
padding: 0.18rem 0.55rem;
font-size: 0.72rem;
padding: 0.35rem 0.85rem;
font-size: 0.82rem;
font-weight: 600;
letter-spacing: 0.03em;
border-radius: 5px;
letter-spacing: 0.02em;
border-radius: 8px;
background: var(--surface2);
color: var(--caoba);
border: 1px solid var(--border);
border: 1.5px solid var(--border);
transition: background 120ms ease, border-color 120ms ease, transform 100ms ease, box-shadow 100ms ease;
text-decoration: none;
box-shadow: 0 2px 0 0 var(--border-dark);
@ -488,8 +673,8 @@ a:hover { color: var(--caoba-mid); text-decoration: underline; }
.actions a[href*="privacy.apple"] {
background: var(--sage-lt);
color: var(--sage);
border-color: #c0d9c8;
box-shadow: 0 2px 0 0 #c0d9c8;
border-color: #a8d4bc;
box-shadow: 0 2px 0 0 #a8d4bc;
}
.actions a[href*="download"]:hover,
.actions a[href*="data-and-privacy"]:hover,
@ -619,12 +804,64 @@ a:hover { color: var(--caoba-mid); text-decoration: underline; }
.main-tagline {
font-family: 'Recion', 'Georgia', serif;
font-size: clamp(1.1rem, 2.8vw, 1.7rem);
font-size: clamp(1.05rem, 2.6vw, 1.6rem);
color: var(--acid);
letter-spacing: 0.06em;
letter-spacing: 0.05em;
font-weight: normal;
margin-bottom: 2.2rem;
margin-bottom: 1.4rem;
text-shadow: 0 0 20px rgba(200,255,0,0.25);
line-height: 1.4;
}
/* ── Carrusel de citas ── */
.quotes-strip {
width: 100%;
max-width: 680px;
margin: 0 auto 2rem;
min-height: 4.5rem;
display: flex;
align-items: center;
justify-content: center;
}
.quote-carousel {
position: relative;
width: 100%;
text-align: center;
}
.hero-quote {
display: none;
flex-direction: column;
gap: 0.35rem;
font-size: clamp(0.78rem, 1.6vw, 0.92rem);
color: var(--muted);
font-style: italic;
line-height: 1.55;
padding: 0 0.5rem;
animation: quoteIn 600ms ease;
}
.hero-quote.active { display: flex; }
@keyframes quoteIn {
from { opacity: 0; transform: translateY(6px); }
to { opacity: 1; transform: translateY(0); }
}
.q-mark {
font-family: 'Recion', Georgia, serif;
font-size: 1.1em;
color: var(--sage);
font-style: normal;
line-height: 1;
}
.hero-quote cite {
font-size: 0.75rem;
font-style: normal;
font-weight: 600;
color: var(--subtle);
letter-spacing: 0.03em;
}
.landing-nav {
@ -698,37 +935,80 @@ a:hover { color: var(--caoba-mid); text-decoration: underline; }
}
.erase-form-wrap {
max-width: 780px;
max-width: 1100px;
margin: 0 auto;
}
.form-header {
text-align: center;
margin-bottom: 1.8rem;
/* ── Layout dos columnas ── */
.form-two-col {
display: grid;
grid-template-columns: 340px 1fr;
gap: 2.5rem;
align-items: start;
}
.form-header h2 { margin-bottom: 0.4rem; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.form-header p { color: var(--muted); font-size: 1.05rem; }
.email-row {
display: flex;
.form-col-email {
background: var(--surface);
border: 1.5px solid var(--border);
border-radius: 18px;
padding: 2rem 1.8rem;
box-shadow: var(--shadow-sm);
position: sticky;
top: 1.5rem;
}
.form-col-networks {
background: var(--surface);
border: 1.5px solid var(--border);
border-radius: 18px;
padding: 2rem 1.8rem;
box-shadow: var(--shadow-sm);
}
/* ── Step badge ── */
.form-step-badge {
display: inline-flex;
align-items: center;
justify-content: center;
margin-bottom: 2rem;
width: 2rem;
height: 2rem;
border-radius: 50%;
background: var(--caoba);
color: #fff;
font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
font-size: 0.95rem;
font-weight: 700;
margin-bottom: 0.75rem;
}
.form-col-title {
font-size: clamp(1.2rem, 2.5vw, 1.55rem);
margin-bottom: 0.5rem;
line-height: 1.2;
}
.form-col-sub {
font-size: 0.9rem;
color: var(--muted);
margin-bottom: 1.2rem;
line-height: 1.5;
}
/* ── Email input ── */
.email-input {
width: 100%;
max-width: 500px;
padding: 0.9rem 1.2rem;
font-size: 1.1rem;
padding: 0.9rem 1.1rem;
font-size: 1.05rem;
border: 2px solid var(--border);
border-radius: 12px;
background: var(--surface);
background: var(--surface2);
color: var(--text);
outline: none;
box-shadow: var(--shadow-sm);
transition: border-color 150ms ease, box-shadow 150ms ease;
font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
letter-spacing: 0.01em;
box-sizing: border-box;
}
.email-input:focus {
border-color: var(--caoba);
@ -736,134 +1016,229 @@ a:hover { color: var(--caoba-mid); text-decoration: underline; }
}
.email-input::placeholder { color: var(--subtle); }
.networks-label {
font-family: 'Recion', 'Georgia', serif;
font-size: 1.5rem;
color: var(--text);
margin-bottom: 1.2rem;
letter-spacing: 0.03em;
text-align: center;
}
.networks-section { margin-bottom: 2rem; }
.networks-sublabel {
font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
font-size: 0.78rem;
font-weight: 600;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--muted);
margin-bottom: 0.7rem;
margin-top: 1.4rem;
text-align: center;
}
.networks-sublabel:first-child { margin-top: 0; }
.networks-sublabel--manual { color: var(--text); }
.networks-grid {
.form-privacy-list {
list-style: none;
padding: 0;
margin: 1.1rem 0 0;
display: flex;
flex-wrap: wrap;
gap: 0.55rem;
margin-bottom: 0.25rem;
justify-content: center;
flex-direction: column;
gap: 0.4rem;
}
.form-privacy-list li {
font-size: 0.82rem;
color: var(--muted);
line-height: 1.4;
}
/* Chip base — fuente de título, grande */
.net-chip {
font-family: 'Recion', 'Georgia', serif;
font-size: 1.1rem;
letter-spacing: 0.04em;
padding: 0.7rem 1.45rem;
border-radius: 12px;
/* ── Networks header ── */
.form-col-networks-header {
display: flex;
align-items: center;
gap: 0.8rem;
flex-wrap: wrap;
margin-bottom: 1.2rem;
}
.form-col-networks-header .form-col-title { margin-bottom: 0; flex: 1; }
.form-col-networks-header .form-step-badge { margin-bottom: 0; flex-shrink: 0; }
.btn-select-all {
font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
font-size: 0.8rem;
font-weight: 600;
padding: 0.35rem 0.9rem;
border-radius: 20px;
border: 1.5px solid var(--sage);
background: var(--sage-lt);
color: var(--sage);
cursor: pointer;
background: var(--surface);
transition: background 150ms ease, color 150ms ease;
white-space: nowrap;
flex-shrink: 0;
}
.btn-select-all:hover {
background: var(--sage);
color: #fff;
}
/* ── Group labels ── */
.networks-group-label {
font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
font-size: 0.75rem;
font-weight: 700;
letter-spacing: 0.07em;
text-transform: uppercase;
color: var(--sage);
margin: 0 0 0.6rem;
}
.networks-group-label--manual {
color: var(--muted);
margin-top: 1.4rem;
}
/* ── Grid de botones ── */
.networks-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
gap: 0.5rem;
margin-bottom: 0.2rem;
}
/* ── Logos oficiales dentro de chips ── */
.chip-icon {
width: 17px;
height: 17px;
object-fit: contain;
flex-shrink: 0;
vertical-align: middle;
display: inline-block;
}
.net-chip.selected .chip-icon { filter: brightness(0) invert(1); }
/* ── Botones de red — grandes, legibles ── */
.net-chip {
font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
font-size: 0.97rem;
font-weight: 500;
padding: 0.7rem 0.6rem;
border-radius: 10px;
cursor: pointer;
background: var(--surface2);
color: var(--text);
border: 1.5px solid var(--border);
box-shadow: 0 3px 0 0 var(--border-dark), 0 4px 10px rgba(26,23,20,0.07);
box-shadow: 0 2px 0 0 var(--border-dark);
transition:
transform 130ms cubic-bezier(.2,.8,.4,1),
box-shadow 130ms ease,
background 130ms ease,
border-color 130ms ease,
color 130ms ease;
transform 120ms cubic-bezier(.2,.8,.4,1),
box-shadow 120ms ease,
background 120ms ease,
border-color 120ms ease,
color 120ms ease;
user-select: none;
line-height: 1.2;
-webkit-font-smoothing: subpixel-antialiased;
line-height: 1.3;
text-align: center;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
gap: 0.4rem;
}
.net-chip:hover {
border-color: var(--acid);
color: var(--acid-dark);
background: var(--acid-lt);
transform: translateY(-3px);
box-shadow: 0 6px 0 0 #9dcc00, 0 8px 20px rgba(200,255,0,0.20);
color: var(--acid-dark);
transform: translateY(-2px);
box-shadow: 0 4px 0 0 #9dcc00, 0 6px 16px rgba(200,255,0,0.18);
}
.net-chip:hover .chip-icon { filter: brightness(0) saturate(100%) invert(40%) sepia(90%) saturate(600%) hue-rotate(40deg); }
.net-chip:active {
transform: translateY(1px);
box-shadow: 0 1px 0 0 var(--border-dark);
}
/* Auto-GDPR seleccionado — verde irlandés */
.net-chip.selected {
background: var(--caoba);
background: var(--sage);
color: #fff;
border-color: #5c2d1e;
box-shadow: 0 3px 0 0 #5c2d1e, 0 4px 12px rgba(123,63,46,0.25);
border-color: #0f5c34;
box-shadow: 0 3px 0 0 #0f5c34, 0 4px 12px rgba(26,122,74,0.28);
}
.net-chip.selected:hover {
background: var(--caoba-mid);
background: #168a52;
color: #fff;
border-color: var(--acid);
box-shadow: 0 6px 0 0 #9dcc00, 0 8px 20px rgba(200,255,0,0.25);
transform: translateY(-3px);
box-shadow: 0 5px 0 0 #9dcc00, 0 7px 18px rgba(200,255,0,0.22);
transform: translateY(-2px);
}
/* Chips manuales — texto negro, hover ácido */
/* Chips manuales — acción directa, no seleccionables */
.net-chip--manual {
background: var(--surface);
color: var(--text);
color: var(--muted);
border-color: var(--border);
box-shadow: 0 3px 0 0 var(--border-dark), 0 4px 10px rgba(26,23,20,0.06);
border-style: dashed;
}
.net-chip--manual:hover {
background: var(--acid-lt);
border-color: var(--acid);
color: var(--acid-dark);
box-shadow: 0 6px 0 0 #9dcc00, 0 8px 20px rgba(200,255,0,0.20);
transform: translateY(-3px);
background: var(--surface2);
border-color: var(--sage);
border-style: solid;
color: var(--sage);
transform: translateY(-2px);
box-shadow: 0 3px 0 0 #0f5c34;
}
.net-chip--manual.selected {
background: var(--text);
color: var(--acid);
border-color: var(--text);
box-shadow: 0 3px 0 0 #000, 0 4px 12px rgba(26,23,20,0.25);
.net-chip--manual:hover .chip-icon { filter: brightness(0) saturate(100%) invert(30%) sepia(80%) saturate(400%) hue-rotate(110deg); }
.net-chip--manual:active { transform: translateY(0); }
/* Flash al abrir enlace manual */
@keyframes chipFlash {
0% { background: var(--sage-lt); border-color: var(--sage); }
100% { background: var(--surface); border-color: var(--border); }
}
.net-chip--manual.selected:hover {
border-color: var(--acid);
box-shadow: 0 6px 0 0 #9dcc00, 0 8px 20px rgba(200,255,0,0.25);
transform: translateY(-3px);
.chip--opened { animation: chipFlash 1.2s ease forwards; }
.chip-arrow {
font-size: 0.75rem;
opacity: 0.5;
flex-shrink: 0;
}
/* Footer del form */
.form-footer-row {
/* Nota explicativa sección manual */
.networks-manual-note {
font-size: 0.78rem;
color: var(--subtle);
margin: -0.2rem 0 0.6rem;
font-style: italic;
line-height: 1.4;
}
/* ── Contador ── */
.form-counter {
margin-top: 1.1rem;
font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
font-size: 0.88rem;
font-weight: 600;
color: var(--sage);
text-align: right;
letter-spacing: 0.01em;
}
/* ── Fila de envío ── */
.form-send-row {
margin-top: 2rem;
display: flex;
flex-direction: column;
align-items: center;
gap: 0.8rem;
gap: 0.9rem;
}
.btn--lg {
padding: 0.85rem 2rem;
font-size: 1rem;
.btn--send-main {
font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
font-size: 1.15rem;
font-weight: 700;
padding: 1rem 2.8rem;
border-radius: 14px;
letter-spacing: 0.01em;
min-width: 280px;
justify-content: center;
}
.form-note {
font-size: 0.77rem;
color: var(--subtle);
text-align: center;
max-width: 48ch;
max-width: 52ch;
line-height: 1.55;
}
/* ── Responsive: una columna en móvil ── */
@media (max-width: 720px) {
.form-two-col {
grid-template-columns: 1fr;
gap: 1.2rem;
}
.form-col-email { position: static; }
.networks-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
.btn--send-main { width: 100%; min-width: 0; }
}
/* Resultados */
.results-wrap {
margin-top: 1.5rem;
@ -886,7 +1261,7 @@ a:hover { color: var(--caoba-mid); text-decoration: underline; }
border-radius: 3px;
}
.result-ok { background: var(--sage-lt); color: var(--sage); border: 1px solid #c0d9c8; }
.result-ok { background: var(--sage-lt); color: var(--sage); border: 1px solid #a8d4bc; }
.result-form,
.result-manual { background: var(--caoba-lt); color: var(--caoba); border: 1px solid #e0c4b8; }
.result-error { background: #fef2f2; color: #c0392b; border: 1px solid #f5c6c6; }