/* =========================================================
   Sponge VPN — shared sub-page styles (loaded after styles.css)
   ========================================================= */

/* sub-page nav (simpler than home) */
.subnav__back {
  display: inline-flex; align-items: center; gap: 7px;
  color: #eaf8ff; font-weight: 800; font-family: var(--font-body);
  padding: 8px 14px; border-radius: 999px; transition: background .15s;
}
.subnav__back:hover { background: rgba(255,255,255,0.16); }

/* page hero / header band */
.page-hero { padding: 40px 0 24px; text-align: center; }
.page-hero .eyebrow { color: var(--yellow); }
.page-hero h1 {
  color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem);
  text-shadow: 0 4px 0 rgba(7,48,71,0.18), 0 14px 30px rgba(4,40,70,0.35);
}
.page-hero p {
  color: var(--foam); font-weight: 600; font-size: 1.15rem;
  max-width: 620px; margin: 14px auto 0;
  text-shadow: 0 2px 12px rgba(4,40,70,0.55), 0 1px 0 rgba(4,40,70,0.35);
}

.page-body { padding: 20px 0 70px; }

/* generic card */
.card {
  background: var(--bubble-card);
  border-radius: var(--r-lg);
  padding: 26px 24px;
  box-shadow: var(--shadow-card);
}
.card h3 { color: var(--ink); font-size: 1.3rem; }
.card p { color: var(--ink-soft); font-weight: 600; margin-top: 8px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 860px){ .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px){ .grid-3, .grid-2 { grid-template-columns: 1fr; } }

/* ---------- Servers ---------- */
.region-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 30px; }
.region-tabs button {
  border: none; cursor: pointer; font-family: var(--font-head); font-weight: 700;
  background: rgba(255,255,255,0.18); color: #fff; font-size: .95rem;
  padding: 9px 18px; border-radius: 999px; transition: all .15s;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.3);
  backdrop-filter: blur(7px);
}
.region-tabs button:hover { background: rgba(255,255,255,0.3); }
.region-tabs button.active { background: var(--yellow); color: var(--ink); box-shadow: 0 4px 0 var(--yellow-d); }

.server-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.server {
  background: var(--bubble-card); border-radius: var(--r-md); padding: 16px 18px;
  box-shadow: var(--shadow-soft); display: flex; align-items: center; gap: 14px;
  transition: transform .15s;
}
.server:hover { transform: translateY(-4px); }
.server__flag { font-size: 2rem; flex: none; }
.server__name { font-family: var(--font-head); font-weight: 800; color: var(--ink); font-size: 1.05rem; }
.server__meta { font-weight: 700; color: var(--ink-soft); font-size: .82rem; margin-top: 2px; display: flex; align-items: center; gap: 6px; }
.server__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 3px rgba(46,196,182,0.3); }
.server__ping { margin-left: 8px; font-family: var(--font-head); font-weight: 800; color: var(--teal-d); font-size: .95rem; flex: none; }
.server > div { flex: 1 1 auto; min-width: 0; }
.server__name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.stat-row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-bottom: 36px; }
.stat {
  background: rgba(255,255,255,0.16); border-radius: var(--r-md); padding: 16px 26px;
  text-align: center; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.25); min-width: 140px;
  backdrop-filter: blur(7px);
}
.stat__n { font-family: var(--font-head); font-weight: 800; color: #fff; font-size: 2.2rem; line-height: 1; white-space: nowrap; }
.stat__l { color: var(--foam); font-weight: 700; font-size: .9rem; margin-top: 6px; }

/* ---------- About ---------- */
.lead-block { max-width: 760px; margin: 0 auto; }
.lead-block p { color: var(--foam); font-weight: 600; font-size: 1.15rem; line-height: 1.6; }
.lead-block p + p { margin-top: 18px; }
.values { margin-top: 44px; }
.value__icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  font-size: 1.6rem; margin-bottom: 14px; box-shadow: 0 7px 0 var(--ic-shadow, var(--teal-d)); background: var(--ic, var(--teal));
}
.team { margin-top: 44px; }
.member { text-align: center; }
.member__av {
  width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 12px;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 800;
  color: #fff; font-size: 2rem; box-shadow: var(--shadow-card);
}
.member__name { font-family: var(--font-head); font-weight: 800; color: #fff; font-size: 1.15rem; }
.member__role { color: var(--foam); font-weight: 700; font-size: .9rem; margin-top: 2px; }

/* ---------- Blog ---------- */
.post {
  background: var(--bubble-card); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-card); display: flex; flex-direction: column; transition: transform .16s;
}
.post:hover { transform: translateY(-6px); }
.post__cover { height: 150px; display: grid; place-items: center; font-size: 3.4rem; }
.post__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post__tag { font-family: var(--font-head); font-weight: 800; font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-d); }
.post__title { color: var(--ink); font-size: 1.25rem; margin-top: 8px; }
.post__excerpt { color: var(--ink-soft); font-weight: 600; margin-top: 8px; flex: 1; }
.post__meta { color: var(--ink-soft); font-weight: 700; font-size: .82rem; margin-top: 16px; }

.post--feat { grid-column: 1 / -1; flex-direction: row; }
.post--feat .post__cover { width: 42%; height: auto; min-height: 230px; font-size: 5rem; }
.post--feat .post__title { font-size: 1.8rem; }
@media (max-width: 680px){ .post--feat { flex-direction: column; } .post--feat .post__cover { width: 100%; height: 150px; min-height: 0; } }

/* ---------- Careers ---------- */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 10px 0 44px; }
@media (max-width: 860px){ .perks { grid-template-columns: 1fr 1fr; } }
.perk { background: rgba(255,255,255,0.14); border-radius: var(--r-md); padding: 20px; text-align: center; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.25); }
.perk__i { font-size: 2rem; }
.perk__t { color: #fff; font-family: var(--font-head); font-weight: 800; margin-top: 8px; }
.perk__d { color: var(--foam); font-weight: 600; font-size: .85rem; margin-top: 4px; }

.job {
  background: var(--bubble-card); border-radius: var(--r-md); padding: 20px 24px;
  box-shadow: var(--shadow-soft); display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  transition: transform .15s;
}
.job:hover { transform: translateX(4px); }
.job + .job { margin-top: 14px; }
.job__title { font-family: var(--font-head); font-weight: 800; color: var(--ink); font-size: 1.2rem; }
.job__meta { color: var(--ink-soft); font-weight: 700; font-size: .88rem; margin-top: 3px; }
.job__tags { display: flex; gap: 8px; margin-left: auto; flex-wrap: wrap; }
.tagpill { background: var(--foam); color: var(--ink-soft); font-weight: 800; font-size: .78rem; padding: 6px 12px; border-radius: 999px; }

/* ---------- Help / FAQ ---------- */
.help-cats { margin-bottom: 44px; }
.help-cat { text-align: center; cursor: default; }
.help-cat .value__icon { margin-inline: auto; }

.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }

/* FAQ search */
.faq-search {
  max-width: 760px; margin: 0 auto 18px; position: relative;
  display: flex; align-items: center;
}
.faq-search__icon { position: absolute; left: 18px; font-size: 1.1rem; pointer-events: none; opacity: .7; }
.faq-search input {
  width: 100%; border: none; border-radius: 999px;
  padding: 15px 20px 15px 46px;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; color: var(--ink);
  background: var(--bubble-card); box-shadow: var(--shadow-card);
}
.faq-search input::placeholder { color: var(--ink-soft); font-weight: 600; opacity: .8; }
.faq-search input:focus { outline: none; box-shadow: var(--shadow-card), 0 0 0 3px var(--teal); }

/* no-result → support */
.faq-noresult {
  max-width: 760px; margin: 16px auto 0; text-align: center;
  background: var(--bubble-card); border-radius: var(--r-lg);
  box-shadow: var(--shadow-card); padding: 30px 24px;
}
.faq-noresult p { color: var(--ink); font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; margin-bottom: 16px; }
.faq__item { background: var(--bubble-card); border-radius: var(--r-md); box-shadow: var(--shadow-soft); overflow: hidden; }
.faq__q {
  width: 100%; text-align: left; border: none; background: transparent; cursor: pointer;
  padding: 20px 22px; font-family: var(--font-head); font-weight: 800; color: var(--ink); font-size: 1.1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.faq__q .chev { flex: none; color: var(--teal-d); font-size: 1.2rem; }
.faq__item.open .chev { transform: rotate(180deg); }
.faq__a { display: none; }
.faq__a p { padding: 0 22px 20px; color: var(--ink-soft); font-weight: 600; line-height: 1.55; }
.faq__item.open .faq__a { display: block; animation: faqReveal .25s ease; }
@keyframes faqReveal { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Status ---------- */
.status-banner {
  background: linear-gradient(160deg, var(--teal), #5fe0c4); color: #053b33;
  border-radius: var(--r-lg); padding: 28px 30px; text-align: center; box-shadow: var(--shadow-card);
  margin-bottom: 30px;
}
.status-banner h2 { color: #053b33; font-size: 1.8rem; display: flex; align-items: center; justify-content: center; gap: 12px; }
.status-banner p { font-weight: 700; margin-top: 6px; opacity: .8; }

.svc-list { background: var(--bubble-card); border-radius: var(--r-lg); box-shadow: var(--shadow-card); overflow: hidden; max-width: 820px; margin: 0 auto; }
.svc { display: flex; align-items: center; gap: 16px; padding: 18px 24px; }
.svc + .svc { border-top: 1.5px solid #e7f3f8; }
.svc__name { font-family: var(--font-head); font-weight: 800; color: var(--ink); font-size: 1.05rem; }
.svc__bars { display: flex; gap: 3px; margin-left: auto; }
.svc__bars i { width: 6px; height: 22px; border-radius: 2px; background: var(--teal); }
.svc__bars i.down { background: var(--coral); }
.svc__bars i.warn { background: var(--yellow-d); }
.svc__state { font-weight: 800; font-size: .85rem; color: var(--teal-d); min-width: 92px; text-align: right; }
.svc__state.warn { color: var(--orange-d); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
@media (max-width: 760px){ .contact-grid { grid-template-columns: 1fr; } }
.contact-card { display: flex; gap: 16px; align-items: flex-start; }
.contact-card + .contact-card { margin-top: 16px; }
.contact-card__i { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem; flex: none; box-shadow: 0 6px 0 var(--ic-shadow, var(--teal-d)); background: var(--ic, var(--teal)); }
.contact-card__t { font-family: var(--font-head); font-weight: 800; color: var(--ink); font-size: 1.1rem; }
.contact-card__v { color: var(--ink-soft); font-weight: 700; margin-top: 2px; }

.form { display: flex; flex-direction: column; gap: 14px; }
.form label { font-family: var(--font-head); font-weight: 800; color: var(--ink); font-size: .92rem; display: block; margin-bottom: 6px; }
.form input, .form textarea, .form select {
  width: 100%; border: 2px solid #d7eaf2; border-radius: 14px; padding: 13px 15px;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; color: var(--ink);
  background: #fff; transition: border-color .15s; box-sizing: border-box;
}
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--teal); }
.form textarea { min-height: 120px; resize: vertical; }
.form__sent { display: none; color: var(--teal-d); font-weight: 800; font-family: var(--font-head); margin-top: 6px; }
.form__sent.show { display: block; }

/* breadcrumb-ish chips */
.mini-cta {
  background: linear-gradient(160deg, var(--ocean-deep), var(--ocean-abyss));
  border-radius: var(--r-lg); padding: 36px 30px; text-align: center; box-shadow: var(--shadow-card);
  margin-top: 50px;
}
.mini-cta h3 { color: #fff; font-size: 1.7rem; }
.mini-cta p { color: var(--foam); font-weight: 600; margin-top: 8px; }
.mini-cta .btn { margin-top: 20px; }

/* ---------- Privacy policy ---------- */
.policy {
  max-width: 820px; margin: 0 auto;
  background: var(--bubble-card); border-radius: var(--r-lg);
  box-shadow: var(--shadow-card); padding: 40px 44px;
}
.policy .updated { color: var(--ink-soft); font-weight: 700; font-size: .88rem; opacity: .7; }
.policy .tldr {
  background: var(--foam); border-radius: var(--r-md);
  padding: 18px 20px; margin: 18px 0 8px;
  font-weight: 700; color: var(--ink); line-height: 1.55;
}
.policy h2 {
  font-family: var(--font-head); color: var(--ink);
  font-size: 1.35rem; margin-top: 30px;
}
.policy p { color: var(--ink-soft); font-weight: 600; line-height: 1.62; margin-top: 10px; }
.policy ul { margin: 10px 0 0; padding-left: 4px; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.policy li { color: var(--ink-soft); font-weight: 600; line-height: 1.55; display: flex; gap: 10px; align-items: flex-start; }
.policy li::before { content: "🫧"; flex: none; font-size: .95rem; line-height: 1.5; }
.policy a { color: var(--teal-d); font-weight: 800; }
@media (max-width: 560px) { .policy { padding: 28px 22px; } }
