/* Fonts via bunny.net — CDN europeo, GDPR-compliant, no Google tracking */
@import url('https://fonts.bunny.net/css?family=inter:400,500,600,700|orbitron:700,900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:        #C8001A;
  --red-light:  #FFF0F2;
  --red-mid:    #FFDDE1;
  --green:      #1A7A3C;
  --green-light:#EDF7F1;
  --blue:       #1A5FA8;
  --blue-light: #EEF4FB;
  --text:       #1A1A2E;
  --text-mid:   #444460;
  --text-muted: #767690;
  --bg:         #F7F7FA;
  --surface:    #FFFFFF;
  --border:     #E2E2EC;
  --border-mid: #CACAD8;
  --yellow:     #F0A500;
  --yellow-light:#FFF8E8;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.7;
  font-size: 16px;
}

.scanlines { display: none; }

.container { max-width: 900px; margin: 0 auto; padding: 0 20px 80px; }
.container-narrow { max-width: 740px; margin: 0 auto; padding: 0 20px 80px; }

/* NAV */
nav {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 0 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.nav-inner {
  max-width: 900px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 56px; gap: 20px;
}
.nav-logo {
  font-family: 'Orbitron', monospace; font-size: 15px; font-weight: 900;
  color: var(--text); text-decoration: none; letter-spacing: 1px; white-space: nowrap;
}
.nav-logo .accent { color: var(--red); }
.nav-links { display: flex; gap: 2px; flex-wrap: wrap; }
.nav-links a {
  font-size: 13px; font-weight: 500; color: var(--text-mid);
  text-decoration: none; padding: 5px 11px; border-radius: 6px;
  transition: all 0.15s; white-space: nowrap;
}
.nav-links a:hover { color: var(--red); background: var(--red-light); }
.nav-links a.active { color: var(--red); font-weight: 600; background: var(--red-light); }

/* HEADER */
.page-header {
  text-align: center; padding: 52px 0 40px;
  border-bottom: 1px solid var(--border); margin-bottom: 48px;
}
.page-label {
  font-size: 11px; font-weight: 600; letter-spacing: 3px;
  color: var(--red); text-transform: uppercase; margin-bottom: 14px;
}
.page-title {
  font-family: 'Orbitron', monospace;
  font-size: clamp(20px, 4vw, 32px); font-weight: 900;
  color: var(--text); line-height: 1.2; margin-bottom: 14px; letter-spacing: 0.5px;
}
.page-title .accent { color: var(--red); }
.page-subtitle {
  font-size: 17px; color: var(--text-muted);
  max-width: 560px; margin: 0 auto; line-height: 1.7;
}
.speed-bar {
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--red), #FF6B6B, var(--red), transparent);
  margin-top: 28px; border-radius: 2px; opacity: 0.5;
}

/* TYPOGRAPHY */
h2 {
  font-size: 13px; font-weight: 700; letter-spacing: 2px;
  color: var(--text-muted); text-transform: uppercase;
  margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid var(--border);
}
h3 { font-size: 17px; font-weight: 600; color: var(--text); margin: 24px 0 10px; }
p { color: var(--text-mid); margin-bottom: 16px; line-height: 1.8; }
p strong { color: var(--text); }
p a { color: var(--blue); text-decoration: none; border-bottom: 1px solid rgba(26,95,168,0.25); transition: border-color 0.15s; }
p a:hover { border-color: var(--blue); }
section { margin-bottom: 52px; }

/* CARDS */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 22px 26px; margin-bottom: 14px; }
.card-yellow { border-left: 3px solid var(--yellow); }
.card-red    { border-left: 3px solid var(--red); }
.card-green  { border-left: 3px solid var(--green); }

/* STEPS */
.steps { display: flex; flex-direction: column; gap: 10px; }
.step {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 18px 20px; transition: box-shadow 0.15s;
}
.step:hover { box-shadow: 0 2px 10px rgba(0,0,0,0.06); }
.step-num { font-family: 'Orbitron', monospace; font-size: 20px; font-weight: 900; color: var(--red); min-width: 32px; line-height: 1; margin-top: 2px; }
.step-title { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.step-desc { font-size: 14px; color: var(--text-mid); line-height: 1.7; }
.step-desc strong { color: var(--text); }
.step-desc a { color: var(--blue); text-decoration: none; }

/* BADGES */
.badge { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.3px; padding: 3px 9px; border-radius: 20px; }
.badge-free { background: var(--green-light); color: var(--green); }
.badge-paid { background: var(--red-light);   color: var(--red); }
.badge-warn { background: var(--yellow-light); color: #9A6800; }

/* GRID */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-bottom: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-bottom: 20px; }

/* TABLE */
.table-wrap { overflow-x: auto; margin-bottom: 20px; border: 1px solid var(--border); border-radius: 10px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
thead th {
  font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  color: var(--text-muted); text-align: left; padding: 11px 14px;
  background: var(--bg); border-bottom: 1px solid var(--border); white-space: nowrap;
}
tbody tr { border-bottom: 1px solid var(--border); transition: background 0.1s; }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: var(--bg); }
td { padding: 12px 14px; vertical-align: middle; color: var(--text-mid); font-size: 14px; }
td strong { color: var(--text); }

/* ALERT / TIP */
.alert {
  border: 1px solid #FCCCD0; border-left: 3px solid var(--red);
  border-radius: 8px; background: var(--red-light);
  padding: 16px 20px; margin-bottom: 24px; font-size: 15px; color: var(--text-mid); line-height: 1.7;
}
.alert strong { color: var(--text); }
.alert-label { font-size: 10px; font-weight: 700; letter-spacing: 2px; color: var(--red); margin-bottom: 6px; text-transform: uppercase; }

.tip {
  border: 1px solid #FFE8A0; border-left: 3px solid var(--yellow);
  border-radius: 8px; background: var(--yellow-light);
  padding: 16px 20px; margin-bottom: 24px; font-size: 15px; color: var(--text-mid); line-height: 1.7;
}
.tip strong { color: var(--text); }
.tip-label { font-size: 10px; font-weight: 700; letter-spacing: 2px; color: #9A6800; margin-bottom: 6px; text-transform: uppercase; }

/* VPN BOX */
.vpn-box {
  background: var(--surface); border: 1px solid var(--border);
  border-top: 3px solid var(--red); border-radius: 12px;
  padding: 28px; margin: 32px 0; box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.vpn-label { font-size: 10px; font-weight: 700; letter-spacing: 3px; color: var(--red); text-transform: uppercase; margin-bottom: 10px; }
.vpn-title { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.vpn-text { font-size: 15px; color: var(--text-mid); line-height: 1.8; margin-bottom: 20px; }
.vpn-text strong { color: var(--text); }

.vpn-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 20px; }
.vpn-c { background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 16px; transition: box-shadow 0.15s, border-color 0.15s; }
.vpn-c:hover { box-shadow: 0 3px 12px rgba(0,0,0,0.08); border-color: var(--border-mid); }
.vpn-c-name { font-weight: 700; font-size: 16px; color: var(--text); margin-bottom: 6px; }
.vpn-c-desc { font-size: 13px; color: var(--text-muted); line-height: 1.5; margin-bottom: 10px; }
.vpn-c-price { font-size: 13px; color: var(--green); font-weight: 600; margin-bottom: 12px; }
.vpn-c a { display: block; text-align: center; padding: 9px 12px; background: var(--red); color: #fff; border-radius: 6px; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-decoration: none; text-transform: uppercase; transition: background 0.15s, transform 0.1s; }
.vpn-c a:hover { background: #A8001A; transform: translateY(-1px); }

/* BUTTONS */
.btn-red { display: inline-block; background: var(--red); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: 1px; padding: 13px 28px; border-radius: 7px; text-decoration: none; text-transform: uppercase; transition: background 0.15s, transform 0.1s; }
.btn-red:hover { background: #A8001A; transform: translateY(-2px); }
.btn-outline { display: inline-block; background: transparent; color: var(--blue); font-size: 13px; font-weight: 700; letter-spacing: 1px; padding: 11px 24px; border-radius: 7px; border: 1.5px solid var(--blue); text-decoration: none; text-transform: uppercase; transition: all 0.15s; }
.btn-outline:hover { background: var(--blue-light); transform: translateY(-2px); }

/* BREADCRUMB */
.breadcrumb { font-size: 13px; color: var(--text-muted); padding: 16px 0 0; margin-bottom: 0; }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span { margin: 0 6px; }

/* FOOTER */
footer { border-top: 1px solid var(--border); background: var(--surface); margin-top: 60px; padding: 32px 20px; text-align: center; font-size: 13px; color: var(--text-muted); line-height: 2; }
footer a { color: var(--text-muted); text-decoration: none; }
footer a:hover { color: var(--blue); }
footer .footer-logo { font-family: 'Orbitron', monospace; font-size: 13px; font-weight: 900; color: var(--text); margin-bottom: 6px; letter-spacing: 1px; }
footer .footer-logo .accent { color: var(--red); }

/* PROVIDER TABLE */
.rec-star { color: var(--yellow); font-size: 13px; }
.filter-btn { font-family: inherit; font-size: 13px; font-weight: 600; padding: 5px 14px; border-radius: 20px; border: 1px solid var(--border); background: var(--surface); color: var(--text-mid); cursor: pointer; transition: all 0.15s; }
.filter-btn:hover { border-color: var(--red); color: var(--red); }
.filter-btn.active { background: var(--red); border-color: var(--red); color: #fff; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { font-size: 15px; font-weight: 600; color: var(--text); padding: 16px 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; user-select: none; }
.faq-q:hover { color: var(--blue); }
.faq-q .faq-icon { color: var(--red); font-size: 20px; transition: transform 0.2s; flex-shrink: 0; line-height: 1; }
.faq-a { font-size: 15px; color: var(--text-mid); line-height: 1.8; padding: 0 0 16px; display: none; }
.faq-a strong { color: var(--text); }
.faq-a a { color: var(--blue); text-decoration: none; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* QUIZ */
.answer-btn { display: block; width: 100%; text-align: left; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 15px 20px; font-family: inherit; font-size: 15px; font-weight: 500; color: var(--text); cursor: pointer; transition: all 0.15s; position: relative; overflow: hidden; margin-bottom: 8px; }
.answer-btn::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--red); transform: scaleY(0); transition: transform 0.15s; }
.answer-btn:hover { background: var(--red-light); border-color: #FCCCD0; color: var(--red); transform: translateX(4px); }
.answer-btn:hover::before { transform: scaleY(1); }
.answer-key { font-family: 'Orbitron', monospace; font-size: 10px; font-weight: 700; color: var(--red); margin-right: 12px; opacity: 0.7; }

.result-card { display: none; animation: fadeIn 0.3s ease; }
.result-card.visible { display: block; }
@keyframes fadeIn { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:translateY(0)} }

.back-btn { background: transparent; border: 1px solid var(--border); color: var(--text-muted); font-family: inherit; font-size: 14px; padding: 8px 16px; border-radius: 6px; cursor: pointer; margin-top: 16px; transition: all 0.15s; }
.back-btn:hover { border-color: var(--red); color: var(--red); }

/* RELATED LINKS */
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin-top: 16px; }
.related-card { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 14px 16px; text-decoration: none; transition: all 0.15s; display: block; }
.related-card:hover { border-color: var(--border-mid); box-shadow: 0 2px 8px rgba(0,0,0,0.07); transform: translateY(-2px); }
.related-card .rc-label { font-size: 10px; font-weight: 700; letter-spacing: 2px; color: var(--red); text-transform: uppercase; margin-bottom: 4px; }
.related-card .rc-title { font-size: 14px; font-weight: 600; color: var(--text); }

/* PROVIDER CARD (homepage) */
.provider-card { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 14px; text-align: center; }
.provider-name { font-weight: 700; font-size: 15px; color: var(--text); margin-bottom: 4px; }
.provider-tag { font-size: 12px; color: var(--text-muted); margin-bottom: 6px; }

/* MISC */
.provider-link { color: var(--text); text-decoration: none; font-weight: 600; }
.provider-link:hover { color: var(--red); }
.hidden-row { display: none; }

/* MOBILE */
@media (max-width: 620px) {
  .nav-links { display: none; }
  .page-title { font-size: 20px; }
}
