
:root{
  --container: 1120px;
  --text: #111827;
  --muted: #6b7280;
  --bg: #ffffff;
  --card: #ffffff;
  --border: rgba(17,24,39,.08);
  --shadow: 0 10px 30px rgba(17,24,39,.08);
  --primary: #1d4ed8;
  --primary2:#2563eb;
  --dark: #111827;
}

*{ box-sizing:border-box; }
body{
  margin:0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  color:var(--text);
  background:#f3f4f6;
}

.container{
  width: min(var(--container), calc(100% - 48px));
  margin-inline:auto;
}

a{ color:inherit; text-decoration:none; }
a:hover{ opacity:.9; }

.topnav{
  position:absolute;
  left:0; right:0; top:0;
  z-index:10;
}
.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 0;
}
.brand-logo{ height:31px; width:auto; display:block; }
.navlinks{
  display:flex; gap:18px;
  font-weight:600;
  color:#fff;
  font-size:14px;
}
.navlinks a{ opacity:.9; }
.navlinks a.active{ opacity:1; text-decoration:underline; text-underline-offset:6px; }

.hero{
  position:relative;
  min-height: 360px;
  padding-top:78px;
  background-size:cover;
  background-position:center;
  color:#fff;
  overflow:hidden;
}
.hero-overlay{
  position:absolute; inset:0;
  background: linear-gradient(90deg, rgba(17,24,39,.85), rgba(17,24,39,.45));
}
.hero-inner{
  position:relative;
  padding:70px 0 80px;
  text-align:center;
}
.hero h1{
  margin:0 0 12px;
  font-size:34px;
  font-weight:800;
  letter-spacing:.2px;
}
.hero-sub{
  margin:0 auto 22px;
  max-width: 820px;
  font-size:14px;
  opacity:.9;
  line-height:1.5;
}

.search-wrap{
  max-width: 640px;
  margin: 0 auto;
}
.search-pill{
  display:flex;
  align-items:center;
  background:rgba(255,255,255,.95);
  border-radius:999px;
  padding:6px 6px 6px 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
.search-pill input{
  border:none;
  outline:none;
  flex:1;
  font-size:14px;
  background:transparent;
  color:#111827;
  padding:10px 8px;
}
.go-btn{
  width:42px; height:42px;
  border:none;
  background: var(--primary2);
  color:#fff;
  border-radius:999px;
  cursor:pointer;
  display:grid;
  place-items:center;
  box-shadow: 0 12px 18px rgba(37,99,235,.25);
  transition: filter .15s ease, opacity .15s ease, transform .05s ease;
}
.go-btn:hover{ filter: brightness(1.12); }
.go-btn:active{ transform: translateY(1px); }
.search-pill.loading .go-btn{ opacity:.7; cursor:wait; }
.arrow{ font-size:18px; line-height:1; }
.public-ip{
  margin-top:10px;
  font-size:12px;
  opacity:.9;
}
.form-error{
  margin-top:10px;
  color:#fecaca;
  font-size:12px;
}

.hero-wave{
  position:absolute;
  left:0; right:0; bottom:-1px;
  width:100%;
  height:74px;
  display:block;
  /* Keep SVG background transparent so only the wave is white */
  background:transparent;
}

/* Wave itself stays white */
.hero-wave path{ fill:#ffffff; }

.content{
  /* Keep the page background consistent (no white slab behind the cards) */
  background:transparent;
  padding: 60px 0 30px;
}
.two-col{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:34px;
  align-items:start;
}
.richtext h2{
  margin:0 0 10px;
  font-size:22px;
}
.richtext h3{
  margin:18px 0 8px;
  font-size:16px;
}
.richtext p{
  margin:0 0 12px;
  color:#374151;
  line-height:1.7;
  font-size:13px;
}

.card{
  background:var(--card);
  border: 1px solid var(--border);
  border-radius:12px;
  box-shadow: var(--shadow);
}
.card-title{
  font-weight:800;
  margin:0 0 10px;
  font-size:14px;
  color:#111827;
}
.info-card{
  padding:16px 16px 10px;
}

.left-card{
  padding:18px;
}
.kv{
  width:100%;
  border-collapse:collapse;
  font-size:12px;
}
.kv td{
  padding:10px 0;
  border-top: 1px solid rgba(17,24,39,.06);
}
.kv tr:first-child td{ border-top:none; }
.kv .k{ color:#6b7280; width:40%; }
.kv .v{ color:#111827; text-align:right; font-weight:600; }

.results{
  padding: 0 0 30px;
}
.results-card{
  padding:18px;
}
.results-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:12px;
}
.mini-actions{ display:flex; gap:10px; }
.results-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px;
}
.kvbox{
  border: 1px solid rgba(17,24,39,.06);
  border-radius:10px;
  overflow:hidden;
}
.kvrow{
  display:flex;
  justify-content:space-between;
  padding:10px 12px;
  font-size:12px;
  border-top: 1px solid rgba(17,24,39,.06);
  background:#fff;
}
.kvrow:first-child{ border-top:none; }
.kvrow .k{ color:#6b7280; }
.kvrow .v{ font-weight:700; color:#111827; text-align:right; max-width:55%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

.mapbox{
  border: 1px solid rgba(17,24,39,.06);
  border-radius:10px;
  overflow:hidden;
  background:#fff;
  display:flex;
  flex-direction:column;
}
.map-title{
  padding:10px 12px;
  font-size:12px;
  font-weight:800;
  border-bottom: 1px solid rgba(17,24,39,.06);
}
.map-embed{
  height:220px;
  background:#f9fafb;
}
.map-embed iframe{
  width:100%;
  height:100%;
  border:0;
}
.map-placeholder{
  height:100%;
  display:grid;
  place-items:center;
  color:#6b7280;
  font-size:12px;
}
.map-hint{
  padding:10px 12px;
  font-size:11px;
  color:#6b7280;
  border-top: 1px solid rgba(17,24,39,.06);
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border-radius:10px;
  padding:10px 12px;
  font-size:12px;
  font-weight:800;
  border:1px solid transparent;
  cursor:pointer;
  text-decoration:none;
}
.btn.primary{ background: var(--primary2); color:#fff; }
.btn.primary:hover{ filter: brightness(.98); }
.btn.secondary{ background:#fff; color:#111827; border-color: rgba(17,24,39,.12); }
.btn.full{ width:100%; }

.faq{
  padding: 40px 0;
}
.faq-card{
  padding:18px;
  background:#fff;
}
.muted{ color:#6b7280; font-size:12px; margin-bottom:12px; }
.faq-list{
  border-top: 1px solid rgba(17,24,39,.08);
  margin-top:12px;
}
.faq-item{
  border-bottom: 1px solid rgba(17,24,39,.08);
  padding: 10px 0;
}
.faq-item summary{
  list-style:none;
  cursor:pointer;
  font-weight:700;
  font-size:12px;
  color:#111827;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-answer{
  margin-top:10px;
  color:#4b5563;
  font-size:12px;
  line-height:1.6;
}

.vpn{
  padding: 8px 0 40px;
}
.vpn-title{
  text-align:center;
  margin:0;
  font-size:15px;
  color: var(--primary2);
  font-weight:900;
}
.vpn-sub{
  text-align:center;
  margin:10px auto 22px;
  color:#6b7280;
  font-size:12px;
  max-width:620px;
}
.vpn-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:16px;
}
.vpn-card{
  background:#fff;
  border-radius:12px;
  border:1px solid rgba(17,24,39,.08);
  box-shadow: var(--shadow);
  padding:14px;
  display:flex;
  flex-direction:column;
}
.vpn-logo{
  border-radius:10px;
  overflow:hidden;
  border:1px solid rgba(17,24,39,.06);
  background:#fff;
}
.vpn-logo img{ width:100%; height:110px; object-fit:cover; display:block; }
.vpn-name{
  text-align:center;
  font-weight:900;
  margin-top:10px;
  font-size:12px;
}
.vpn-stars{
  text-align:center;
  color:#f59e0b;
  font-size:14px;
  margin-top:6px;
}
.vpn-reviews{
  text-align:center;
  font-size:11px;
  color:#6b7280;
  margin-top:4px;
}
.vpn-bullets{
  margin:12px 0 14px;
  padding-left:18px;
  color:#374151;
  font-size:11px;
  line-height:1.5;
}
.vpn-bullets li{ margin:6px 0; }
.vpn-bullets li::marker{ color:#22c55e; }

.site-footer{
  background:#374151;
  color:#e5e7eb;
  padding: 22px 0;
  margin-top: 10px;
}
.footer-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  font-size:11px;
}
.footer-links a{ color:#e5e7eb; opacity:.9; }
.footer-links a:hover{ opacity:1; }
.sep{ margin:0 8px; opacity:.5; }

.simple-page{
  padding: 120px 0 60px;
  background:#f3f4f6;
  min-height: calc(100vh - 120px);
}
.simple-page h1{
  margin:0 0 14px;
  font-size:26px;
}
.page-two-col{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:20px;
  align-items:start;
}
.contact-card{ padding:16px; }
.contact-form label{ display:block; font-size:12px; font-weight:700; margin:10px 0 6px; color:#374151; }
.contact-form input, .contact-form textarea{
  width:100%;
  padding:10px 12px;
  border-radius:10px;
  border:1px solid rgba(17,24,39,.12);
  outline:none;
  background:#fff;
}
.contact-form input:focus, .contact-form textarea:focus{ border-color: rgba(37,99,235,.7); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }

.alert{
  padding:10px 12px;
  border-radius:10px;
  font-size:12px;
  margin:10px 0;
}
.alert.success{ background:#ecfdf5; border:1px solid #86efac; color:#14532d; }
.alert.error{ background:#fef2f2; border:1px solid #fecaca; color:#7f1d1d; }

.toast{
  position:fixed;
  left:50%;
  bottom:20px;
  transform: translateX(-50%) translateY(8px);
  background:#111827;
  color:#fff;
  padding:10px 14px;
  border-radius:999px;
  font-size:12px;
  opacity:0;
  transition: opacity .2s ease, transform .2s ease;
  z-index:1000;
}
.toast.show{
  opacity:1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 980px){
  .two-col, .page-two-col, .results-grid{ grid-template-columns: 1fr; }
  .navlinks{ gap:14px; }
  .hero-inner{ padding:58px 0 76px; }
  .vpn-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .container{ width: calc(100% - 32px); }
  .hero h1{ font-size:28px; }
  .search-pill{ padding:6px; }
  .vpn-grid{ grid-template-columns: 1fr; }
  .footer-inner{ flex-direction:column; text-align:center; }
}

/* (intentionally left blank) */

/* === Tools cards: add real inner padding (top/left) so content isn't stuck to borders === */
.tool-card .card-body{
  padding: 22px 22px !important;
}
.tool-card .card-title{
  margin-top: 2px !important;
  margin-bottom: 12px !important;
}
.tool-notes{
  padding-left: 2px;
}
.tool-notes ul, .tool-card ul.list, .tool-card ul{
  padding-left: 26px !important;
  margin-top: 12px !important;
}
.tool-card .kv{
  margin-top: 10px !important;
  padding-left: 2px;
}

/* Domain Apps (home quick tools row) */
.da-wrap{
  margin: 0 auto 26px;
  max-width: 1120px;
}
.da-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  margin-bottom: 12px;
  padding: 0 2px;
}
.da-title{
  font-weight: 900;
  color: #111827;
  font-size: 14px;
  letter-spacing: .2px;
  text-transform: uppercase;
}
.da-sub{
  margin-top: 2px;
  font-size: 12px;
  color: rgba(17,24,39,.60);
}

.da-row{
  display:flex;
  gap: 12px;
  align-items:stretch;
  overflow-x:auto;
  padding: 12px;
  border-radius: 18px;
  background: rgba(7,12,24,.70);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 44px rgba(0,0,0,.16);
  backdrop-filter: blur(10px);
  -webkit-overflow-scrolling: touch;
}
.da-row::-webkit-scrollbar{ height: 10px; }
.da-row::-webkit-scrollbar-thumb{ background: rgba(255,255,255,.14); border-radius: 999px; }
.da-row::-webkit-scrollbar-track{ background: rgba(255,255,255,.06); border-radius: 999px; }

.da-card{
  min-width: 250px;
  max-width: 270px;
  flex: 0 0 auto;
  display:flex;
  gap: 12px;
  align-items:flex-start;
  padding: 14px 14px;
  border-radius: 16px;
  text-decoration:none;
  color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  transition: transform .12s ease, background .12s ease, border-color .12s ease, box-shadow .12s ease;
}
.da-card:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.085);
  border-color: rgba(255,255,255,.16);
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
}

.da-ic{
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  background: rgba(37,99,235,.26);
  border: 1px solid rgba(37,99,235,.28);
  overflow:hidden;
  flex: 0 0 auto;
}
.da-svg, .da-ic svg{
  width: 18px !important;
  height: 18px !important;
  display:block;
  max-width:18px;
  max-height:18px;
  color: rgba(255,255,255,.95);
}
.da-txt{ display:flex; flex-direction:column; gap: 3px; }
.da-name{ font-weight: 850; font-size: 14px; line-height: 1.1; }
.da-desc{ font-size: 12px; color: rgba(255,255,255,.72); line-height: 1.35; }


/* Tools dropdown (portal) */
.tools-dd-wrap{ position: relative; display: inline-flex; align-items: center; }
.tools-dd-btn{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding: 6px 10px;
  border-radius: 10px;
  cursor:pointer;
  user-select:none;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  color: inherit;
  font: inherit;
}
.tools-dd-btn:hover{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.18);
}
.tools-dd-chev{ opacity:.75; font-size:12px; transform: translateY(-1px); }

.tools-dd-portal{
  position: fixed;
  z-index: 2147483646;
  min-width: 270px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(7, 12, 24, .94);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 18px 45px rgba(0,0,0,.32);
  backdrop-filter: blur(10px);
  display: none;
}
.tools-dd-portal.is-open{ display:block; }

.tools-dd-portal a{
  display:block;
  padding: 10px 10px;
  border-radius: 10px;
  text-decoration:none;
  color: rgba(255,255,255,.92);
  font-weight: 650;
  font-size: 13px;
}
.tools-dd-portal a:hover{ background: rgba(255,255,255,.10); }
.tools-dd-portal .sep{
  height: 1px;
  margin: 8px 6px;
  background: rgba(255,255,255,.12);
}

.tools-dd-backdrop{
  position: fixed;
  inset: 0;
  z-index: 2147483645;
  display: none;
}
.tools-dd-backdrop.is-open{ display:block; }
