/* ============================================================
   VPNXE Design System — IP Lookup Page
   ============================================================ */

/* ---------- Hero ---------- */
.ip-hero {
  padding: 72px 0 40px;
}

.ip-hero-in {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.ip-hero .kicker {
  margin-bottom: 20px;
}

.ip-hero h1 {
  font-size: clamp(36px, 4vw, 48px);
  margin: 16px 0 12px;
}

.ip-hero-sub {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto;
}

/* ---------- Tool Card ---------- */
.ip-tool {
  padding: 24px 0 56px;
}

.ip-tool-in {
  max-width: 860px;
  margin: 0 auto;
}

.ip-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--r-l);
  box-shadow: var(--shadow-win);
  overflow: hidden;
}

.ip-card-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}

.ip-card-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: none;
}

.ip-card-title {
  margin-left: 6px;
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
}

.ip-status {
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60%;
}

.ip-status.ip-error {
  color: var(--error);
}

.ip-card-body {
  padding: 28px;
}

.ip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.ip-field {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-m);
  padding: 16px 18px;
  min-width: 0;
}

.ip-field-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.ip-field-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  word-break: break-all;
  line-height: 1.5;
}

.ip-field-value.mono {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.01em;
}

.ip-field-value.ip-ok {
  color: var(--success);
}

.ip-field-value.ip-warn {
  color: var(--warn);
}

.ip-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

/* ---------- Info Sections ---------- */
.ip-section {
  padding: 48px 0 0;
}

.ip-section-in {
  max-width: 860px;
  margin: 0 auto;
}

.ip-section h2 {
  font-size: 24px;
  margin-bottom: 14px;
}

.ip-section p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 12px;
}

.ip-section p:last-child {
  margin-bottom: 0;
}

.ip-privacy {
  background: var(--accent-tint);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--r-m) var(--r-m) 0;
  padding: 18px 20px;
  margin-top: 24px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
}

.ip-privacy strong {
  color: var(--accent-dark);
}

/* ---------- Copy Fallback ---------- */
.ip-copy-fallback {
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  z-index: -1;
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .ip-hero {
    padding: 48px 0 32px;
  }

  .ip-hero h1 {
    font-size: 34px;
  }

  .ip-hero-sub {
    font-size: 14px;
  }

  .ip-card-body {
    padding: 20px;
  }

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

  .ip-field-value.mono {
    font-size: 18px;
  }

  .ip-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .ip-actions .btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .ip-section {
    padding: 32px 0 0;
  }

  .ip-section h2 {
    font-size: 21px;
  }
}