:root {
  --bg: #08111f;
  --bg-soft: #0d1930;
  --panel: #ffffff;
  --panel-soft: #f7fbff;
  --panel-soft-2: #eef5ff;
  --text: #e9f1ff;
  --text-dark: #12233d;
  --muted: #a9b9d2;
  --muted-dark: #55657f;
  --line: rgba(255,255,255,0.12);
  --line-soft: rgba(18,35,61,0.10);
  --card-line: rgba(73, 194, 255, 0.24);
  --card-line-strong: rgba(73, 194, 255, 0.40);
  --accent: #49c2ff;
  --accent-2: #7dffa9;
  --danger: #d94444;
  --success: #0f9f4f;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  --shadow-soft: 0 18px 40px rgba(38, 65, 97, 0.12);
  --blue-glow: 0 0 0 1px rgba(73, 194, 255, 0.08), 0 10px 30px rgba(73, 194, 255, 0.12);
}

html[data-theme="light"] {
  --bg: #f6f8fc;
  --bg-soft: #eef3fb;
  --panel: #ffffff;
  --panel-soft: #f7faff;
  --panel-soft-2: #eef4ff;
  --text: #12233d;
  --text-dark: #12233d;
  --muted: #55657f;
  --muted-dark: #55657f;
  --line: rgba(18,35,61,0.12);
  --line-soft: rgba(18,35,61,0.10);
  --card-line: rgba(10,132,255,0.18);
  --card-line-strong: rgba(10,132,255,0.28);
  --accent: #0a84ff;
  --accent-2: #0fbf68;
  --danger: #d94444;
  --success: #0f9f4f;
  --shadow: 0 18px 40px rgba(38, 65, 97, 0.12);
  --shadow-soft: 0 18px 40px rgba(38, 65, 97, 0.10);
  --blue-glow: 0 0 0 1px rgba(10,132,255,0.06), 0 10px 24px rgba(10,132,255,0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #08111f;
  color: #e6edf3;
  font-family: 'Inter', Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

code {
  background: rgba(255,255,255,0.08);
  padding: 2px 6px;
  border-radius: 8px;
}

.container {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(8, 17, 31, 0.84);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

html[data-theme="light"] .site-header {
  background: rgba(246, 248, 252, 0.88);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 6px;  /* reduced */
  gap: 20px;

}

.brand {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand span {
  color: var(--accent);
}

.main-nav {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: 0.2s ease;
}

.main-nav a:hover,
.footer-links a:hover,
.text-link:hover {
  color: var(--text);
}

html[data-theme="light"] .main-nav a:hover,
html[data-theme="light"] .footer-links a:hover,
html[data-theme="light"] .text-link:hover {
  color: var(--text-dark);
}

.nav-cta {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.mobile-only {
  display: none;
}

.theme-toggle {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.25s ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  box-shadow: var(--blue-glow);
}

html[data-theme="light"] .theme-toggle {
  background: rgba(18,35,61,0.04);
  color: var(--text-dark);
}

.hero {
  padding: 0 0 42px;   /* remove top padding */
  padding-top: 1px;
  margin-top: 0;
  background:
    radial-gradient(circle at top right, rgba(73, 194, 255, 0.12), transparent 24%),
    radial-gradient(circle at top left, rgba(125, 255, 169, 0.05), transparent 18%);
}

.hero > .container {
  margin-top: 0;
  padding-top: 0;
}


.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 32px;
  align-items: start;
}

.hero-grid > div:first-child {
  align-self: start;
}

.eyebrow,
.section-label {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  font-weight: 700;
  margin: 0 0 10px 0;
}

h1 {
  font-size: clamp(2.35rem, 5vw, 4.5rem);
  line-height: 1.04;
  margin: 8px 0 18px;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin: 10px 0 16px;
  letter-spacing: -0.03em;
}

h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.hero-text,
.muted {
  color: var(--muted);
  line-height: 1.75;
}

.hero-actions,
.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.hero-points {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.hero-points span,
.profile-badges span {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
}

html[data-theme="light"] .hero-points span,
html[data-theme="light"] .profile-badges span {
  background: rgba(18,35,61,0.04);
}

/* Premium white cards */
.hero-card,
.feature-panel,
.info-card,
.tool-card,
.ad-box,
.blog-card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(244,248,255,0.98) 100%);
  border: 1px solid var(--card-line);
  box-shadow: var(--shadow), var(--blue-glow);
  border-radius: 22px;
  color: var(--text-dark);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.hero-card::before,
.feature-panel::before,
.info-card::before,
.tool-card::before,
.ad-box::before,
.blog-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.40) 0%,
    rgba(255,255,255,0.14) 28%,
    rgba(255,255,255,0.00) 52%
  );
  pointer-events: none;
}

.hero-card:hover,
.feature-panel:hover,
.info-card:hover,
.tool-card:hover,
.ad-box:hover,
.blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--card-line-strong);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.30), 0 14px 38px rgba(73, 194, 255, 0.20);
}

.hero-side-stack {
  display: grid;
  gap: 22px;
}

.hero-ip-card {
  align-self: start;
}

.compact-ip-results strong {
  font-size: 0.92rem;
}

.hero-card,
.feature-panel,
.info-card,
.tool-card {
  padding: 18px;
}

.status-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted-dark); 
  font-size: 0.92rem;
}

.status-dot {
  width: 10px;
  height: 10px;
  background: var(--accent-2);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(125, 255, 169, 0.45);
}

.mini-list {
  list-style: none;
  padding: 0;
  margin: 18px 0;
  color: var(--muted-dark);
  display: grid;
  gap: 10px;
}

.profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.section {
  padding: 72px 0;
}

.alt-bg {
  background: rgba(255,255,255,0.02);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

html[data-theme="light"] .alt-bg {
  background: rgba(18,35,61,0.03);
}

.two-col {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
}

.check-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted-dark);
  line-height: 1.9;
}

.card-grid {
  display: grid;
  gap: 22px;
}

.card-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.card-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.info-card .icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.compact {
  min-height: 190px;
}

.tools-grid {
  display: grid;
  gap: 22px;
}

.tools-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.tool-form {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

/* Text inside cards */
.hero-card h3,
.feature-panel h3,
.info-card h3,
.tool-card h3,
.blog-card h3,
.ad-box h3,
.hero-card strong,
.feature-panel strong,
.info-card strong,
.tool-card strong,
.blog-card strong,
.ad-box strong {
  color: var(--text-dark);
}

.info-card p,
.tool-card p,
.blog-card p,
.hero-card p,
.feature-panel p,
.ad-box p,
.info-card li,
.tool-card li,
.blog-card li,
.hero-card li,
.feature-panel li,
.ad-box li {
  color: var(--muted-dark);
}

/* Inner white variants */
input,
textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(73, 194, 255, 0.22);
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  color: var(--text-dark);
  font: inherit;
  transition: 0.22s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: rgba(73, 194, 255, 0.42);
  box-shadow: 0 0 0 4px rgba(73, 194, 255, 0.12);
}

input::placeholder,
textarea::placeholder {
  color: rgba(85, 101, 127, 0.85);
}

.result-box {
  margin-top: 16px;
  padding: 16px;
  border-radius: 16px;
  min-height: 92px;
  border: 1px solid rgba(73, 194, 255, 0.22);
  background: linear-gradient(180deg, #ffffff 0%, #eef6ff 100%);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-wrap: anywhere;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

.ip-results {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.ip-results div,
.contact-list div {
  background: linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
  border: 1px solid rgba(73, 194, 255, 0.20);
  border-radius: 16px;
  padding: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.72);
}

.ip-results span,
.contact-list span {
  display: block;
  color: var(--muted-dark);
  font-size: 0.82rem;
  margin-bottom: 6px;
}

.ip-results strong,
.contact-list strong {
  font-size: 0.98rem;
  word-break: break-word;
  color: var(--text-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease;
}

.btn.small {
  padding: 12px 16px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #1d7cff);
  color: #07111f;
  box-shadow: 0 12px 26px rgba(73, 194, 255, 0.22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(73, 194, 255, 0.30);
}

.btn-secondary {
  border-color: rgba(73, 194, 255, 0.22);
  color: var(--text-dark);
  background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
  box-shadow: 0 8px 18px rgba(73, 194, 255, 0.08);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(73, 194, 255, 0.16);
}

.ads-wrap {
  align-items: center;
}

.ad-stack {
  display: grid;
  gap: 18px;
}

.ad-box {
  min-height: 120px;
  display: grid;
  place-items: center;
  padding: 18px;
  text-align: center;
  border-style: dashed;
  color: var(--muted-dark);
}

.ad-box.tall {
  min-height: 280px;
}

.title-row,
.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  flex-wrap: wrap;
}

.meta-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted-dark);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.text-link {
  color: var(--accent);
  font-weight: 600;
}

.contact-wrap {
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.notice {
  margin-bottom: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line-soft);
}

.notice.success {
  background: rgba(15, 159, 79, 0.10);
  color: var(--text-dark);
}

.notice.error {
  background: rgba(217, 68, 68, 0.10);
  color: var(--text-dark);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 50px;
}

.footer-wrap {
  color: var(--muted);
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* Light mode page background */
html[data-theme="light"] body {
  background: #f6f8fc;
  color: var(--text-dark);
}

html[data-theme="light"] .hero {
  background:
    radial-gradient(circle at top right, rgba(10,132,255,0.08), transparent 24%),
    radial-gradient(circle at top left, rgba(15,191,104,0.05), transparent 18%);
}

/* Responsive */
@media (max-width: 1100px) {
  .hero-grid,
  .two-col,
  .card-grid.four,
  .card-grid.three,
  .tools-grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(1200px, calc(100% - 22px));
  }

  .main-nav {
    display: none;
  }

  .mobile-only {
    display: inline-flex;
  }

  .hero-grid,
  .two-col,
  .card-grid.four,
  .card-grid.three,
  .tools-grid-3 {
    grid-template-columns: 1fr;
  }

  .ip-results {
    grid-template-columns: 1fr;
  }

  .section,
  .hero {
    padding: 56px 0;
  }

  .hero-card,
  .feature-panel,
  .info-card,
  .tool-card,
  .ad-box,
  .blog-card {
    border-radius: 18px;
  }

  .hero-card,
  .feature-panel,
  .info-card,
  .tool-card {
    padding: 18px;
  }

  .hero-actions,
  .cta-actions {
    gap: 10px;
  }

  .hero-points {
    gap: 8px;
  }

  .hero-points span,
  .profile-badges span {
    font-size: 0.82rem;
    padding: 8px 10px;
  }

  h1 {
    font-size: 2.35rem;
  }
}

/* =========================
   Cookie consent banner
   ========================= */
.cookie-consent[hidden] {
  display: none !important;
}

.cookie-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
}

.cookie-consent__inner {
  max-width: 1100px;
  margin: 0 auto;
  background: #111827;
  color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
  padding: 18px 20px;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}

.cookie-consent__text {
  flex: 1 1 auto;
}

.cookie-consent__text strong {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 0.98rem;
}

.cookie-consent__text p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  line-height: 1.6;
}

.cookie-consent__actions {
  flex: 0 0 auto;
  display: flex;
  gap: 10px;
  align-items: center;
}

@media (max-width: 767px) {
  .cookie-consent__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-consent__actions {
    width: 100%;
    justify-content: stretch;
    flex-direction: column;
  }

  .cookie-consent__actions .btn {
    width: 100%;
  }
}


.footer-legal {
  margin-top: 8px;
  font-size: 0.95rem;
}

.footer-legal a {
  text-decoration: none;
}

.footer-legal a:hover {
  text-decoration: underline;
}

.footer-legal span {
  margin: 0 8px;
  opacity: 0.7;
}