/* ===== mapforvpn.com — Blog Style ===== */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@400;500;600&display=swap');

:root {
  --bg:       #f7f4ef;
  --bg-card:  #ffffff;
  --text:     #1c1917;
  --text-sub: #57534e;
  --text-light: #a8a29e;
  --border:   #e7e2d9;
  --accent:   #b45309;
  --accent-light: #fef3c7;
  --link:     #1d4ed8;
  --green:    #15803d;
  --red:      #b91c1c;
  --radius:   6px;
  --shadow:   0 1px 4px rgba(0,0,0,0.08);
  --max-w:    860px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
}

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== NAVBAR ===== */
.navbar {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
  position: sticky; top: 0; z-index: 100;
}
.logo {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 1.8rem; list-style: none; }
.nav-links a {
  font-size: 0.88rem;
  color: var(--text-sub);
  font-weight: 500;
  letter-spacing: 0.01em;
}
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-cta {
  background: var(--text);
  color: var(--bg) !important;
  padding: 6px 16px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
}
.nav-cta:hover { background: #3c3730 !important; color: var(--bg) !important; text-decoration: none !important; }

/* ===== PAGE WRAPPER ===== */
.page-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HERO ===== */
.hero {
  padding: 72px 5% 56px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
}
.hero-inner { max-width: var(--max-w); margin: 0 auto; }
.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.hero h1 {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.hero p {
  font-size: 1.05rem;
  color: var(--text-sub);
  max-width: 560px;
  margin-bottom: 2rem;
}
.hero-meta {
  font-size: 0.82rem;
  color: var(--text-light);
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-top: 1rem;
}
.btn-dark {
  display: inline-block;
  background: var(--text);
  color: var(--bg);
  padding: 11px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background .15s;
}
.btn-dark:hover { background: #3c3730; color: var(--bg); text-decoration: none; }
.btn-outline {
  display: inline-block;
  border: 1px solid var(--border);
  color: var(--text-sub);
  padding: 11px 26px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.9rem;
  transition: border-color .15s, color .15s;
  margin-left: 10px;
}
.btn-outline:hover { border-color: var(--text); color: var(--text); text-decoration: none; }

/* ===== SECTION ===== */
section { padding: 60px 5%; }
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.4rem;
}
.section-title {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}
.section-desc { color: var(--text-sub); margin-bottom: 2.5rem; font-size: 0.95rem; }

/* ===== RANKING CARDS ===== */
.ranking-list { display: flex; flex-direction: column; gap: 1px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.vpn-card {
  background: var(--bg-card);
  padding: 1.4rem 1.6rem;
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 1.2rem;
  align-items: center;
  transition: background .15s;
  border-bottom: 1px solid var(--border);
}
.vpn-card:last-child { border-bottom: none; }
.vpn-card:hover { background: #fdfcfa; }
.vpn-card.top1 { background: #fffbeb; }
.vpn-card.top1:hover { background: #fef9d5; }
.card-rank {
  font-family: 'Lora', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-light);
  text-align: center;
}
.card-rank.gold { color: var(--accent); }
.card-body { }
.card-name { font-weight: 600; font-size: 1rem; margin-bottom: 0.2rem; }
.card-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 0.5rem; }
.tag {
  font-size: 0.72rem; font-weight: 600;
  padding: 2px 7px; border-radius: 3px;
  background: var(--accent-light); color: var(--accent);
  letter-spacing: 0.02em;
}
.tag.green { background: #dcfce7; color: var(--green); }
.tag.gray { background: #f1f0ee; color: var(--text-sub); }
.card-desc { font-size: 0.85rem; color: var(--text-sub); }
.card-right { text-align: right; min-width: 110px; }
.card-price {
  font-size: 1.1rem; font-weight: 700;
  color: var(--text); margin-bottom: 0.5rem;
}
.card-price small { font-size: 0.78rem; color: var(--text-light); font-weight: 400; }
.card-btn {
  display: inline-block;
  background: var(--text); color: var(--bg);
  padding: 7px 16px; border-radius: var(--radius);
  font-size: 0.82rem; font-weight: 600;
  white-space: nowrap; transition: background .15s;
}
.card-btn:hover { background: #3c3730; color: var(--bg); text-decoration: none; }
.card-badge {
  display: inline-block;
  background: var(--accent); color: #fff;
  font-size: 0.68rem; font-weight: 700;
  padding: 2px 7px; border-radius: 3px;
  letter-spacing: 0.05em; text-transform: uppercase;
  margin-bottom: 6px;
}

/* ===== DIVIDER ===== */
.divider {
  border: none; border-top: 1px solid var(--border);
  margin: 0;
}

/* ===== COMPARE TABLE ===== */
.table-section { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
th {
  padding: 12px 16px;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
  background: #fdfcfa;
}
td { padding: 13px 16px; border-bottom: 1px solid var(--border); color: var(--text-sub); }
tr:last-child td { border-bottom: none; }
tr:hover td { background: #fdfcfa; }
td:first-child { color: var(--text); font-weight: 600; }
.good { color: var(--green); font-weight: 600; }
.bad { color: var(--red); }
.table-link { font-size: 0.82rem; font-weight: 600; color: var(--link); }

/* ===== FOOTER ===== */
footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 2.5rem 5%;
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-links { display: flex; gap: 2rem; flex-wrap: wrap; margin-bottom: 1rem; }
.footer-links a { font-size: 0.85rem; color: var(--text-sub); }
.footer-links a:hover { color: var(--text); text-decoration: none; }
.footer-copy { font-size: 0.8rem; color: var(--text-light); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .vpn-card { grid-template-columns: 28px 1fr; }
  .card-right { display: none; }
  .hero { padding: 48px 5% 40px; }
}
