/* ─────────────────────────────────────────
   PAGE TOKENS (inherits site :root)
───────────────────────────────────────── */
.ip-page {
    max-width: 980px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 4rem;
}

/* ─────────────────────────────────────────
   HERO — dark card with the IP address
───────────────────────────────────────── */
.ip-hero {
    background: linear-gradient(145deg, #0e2d27 0%, #1a4a3d 60%, #0e3530 100%);
    border-radius: 16px;
    border: 1px solid rgba(78,179,154,0.2);
    padding: 2.75rem 2rem 2rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
/* subtle glow behind IP */
.ip-hero::before {
    content: '';
    position: absolute;
    top: -40px; left: 50%;
    transform: translateX(-50%);
    width: 420px; height: 280px;
    background: radial-gradient(ellipse, rgba(78,179,154,0.12) 0%, transparent 70%);
    pointer-events: none;
}
h1.ip-hero-label { margin:0; font-family:inherit; }
.ip-hero-label {
    font-family: 'DM Mono', monospace;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(111,209,179,0.7);
    margin-bottom: 0.75rem;
}
.ip-hero-address {
    font-family: 'DM Mono', monospace;
    font-size: clamp(2rem, 6vw, 3.25rem);
    font-weight: 500;
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
    word-break: break-all;
    position: relative;
    z-index: 1;
}
.ip-hero-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.ip-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 500;
    padding: 5px 13px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.05);
    white-space: nowrap;
}
.ip-badge.green {
    color: #6fd1b3;
    border-color: rgba(111,209,179,0.3);
    background: rgba(111,209,179,0.1);
}
.ip-badge.blue {
    color: #7eb8f4;
    border-color: rgba(126,184,244,0.3);
    background: rgba(126,184,244,0.08);
}
.ip-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}
/* pulse animation on the Online dot */
.ip-dot.pulse {
    animation: dotpulse 2s ease-in-out infinite;
}
@keyframes dotpulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

.ip-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}
.btn-hero {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 8px;
    border: 1px solid rgba(78,179,154,0.4);
    background: rgba(78,179,154,0.12);
    color: #6fd1b3;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
    letter-spacing: 0.01em;
}
.btn-hero:hover { background: rgba(78,179,154,0.22); border-color: rgba(78,179,154,0.7); }
.btn-hero:active { transform: scale(0.98); }
.btn-hero.copy { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.15); color: rgba(255,255,255,0.65); }
.btn-hero.copy:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.3); color: #fff; }
.btn-hero.copied { color: #6fd1b3; border-color: rgba(111,209,179,0.5); background: rgba(111,209,179,0.1); }

/* ─────────────────────────────────────────
   SECTION HEADING
───────────────────────────────────────── */
.section-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted, #5f7a74);
    margin-bottom: 1rem;
    padding-left: 2px;
}
.section-heading::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(78,179,154,0.15);
}

/* ─────────────────────────────────────────
   INFO GRID — white cards matching site style
───────────────────────────────────────── */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}
.info-card {
    background: #fff;
    border: 1px solid rgba(78,179,154,0.18);
    border-radius: 10px;
    padding: 1.25rem 1.4rem;
    transition: box-shadow 0.2s;
}
.info-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
}
.info-card-header {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(78,179,154,0.12);
}
.info-card-icon {
    width: 28px; height: 28px;
    border-radius: 7px;
    background: #e1f5ee;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.info-card-icon svg {
    width: 14px; height: 14px;
    stroke: #3a9b83;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.info-card-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: #0e2d27;
    letter-spacing: 0.01em;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid rgba(78,179,154,0.08);
    gap: 12px;
}
.info-row:last-child { border-bottom: none; padding-bottom: 0; }

.info-key {
    font-size: 0.8rem;
    color: #5f7a74;
    flex-shrink: 0;
    white-space: nowrap;
}
.info-val {
    font-family: 'DM Mono', monospace;
    font-size: 0.8rem;
    font-weight: 500;
    color: #1a2e2b;
    text-align: right;
    word-break: break-all;
}
.info-val.text {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem;
}

/* Shimmer loader */
.shimmer {
    display: inline-block;
    width: 72px; height: 11px;
    background: linear-gradient(90deg, #e1f5ee 25%, #c8ede3 50%, #e1f5ee 75%);
    background-size: 200% 100%;
    border-radius: 4px;
    animation: shimmer 1.4s ease-in-out infinite;
    vertical-align: middle;
}
@keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

/* ─────────────────────────────────────────
   SECURITY GRID
───────────────────────────────────────── */
.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
    margin-bottom: 2rem;
}
.security-item {
    background: #fff;
    border: 1px solid rgba(78,179,154,0.18);
    border-radius: 10px;
    padding: 1.1rem 0.75rem;
    text-align: center;
    transition: box-shadow 0.2s;
}
.security-item:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.security-status {
    font-size: 1.3rem;
    margin-bottom: 5px;
    line-height: 1;
}
.security-label {
    font-family: 'DM Mono', monospace;
    font-size: 0.62rem;
    font-weight: 500;
    color: #5f7a74;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 3px;
}
.security-value {
    font-size: 0.78rem;
    font-weight: 700;
}
.s-safe  { color: #3a9b83; }
.s-warn  { color: #d97706; }
.s-info  { color: #2563eb; }

/* ─────────────────────────────────────────
   SEO / FAQ CARD
───────────────────────────────────────── */
.seo-card {
    background: #fff;
    border: 1px solid rgba(78,179,154,0.18);
    border-radius: 10px;
    padding: 1.75rem 2rem;
    margin-top: 0.5rem;
}
.seo-card h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0e2d27;
    margin-bottom: 0.6rem;
}
.seo-card > p {
    font-size: 0.9rem;
    color: #5f7a74;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}
.faq-item {
    border-top: 1px solid rgba(78,179,154,0.12);
    padding: 1rem 0;
}
.faq-item:last-child { padding-bottom: 0; }
.faq-q {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a2e2b;
    margin-bottom: 0.35rem;
}
.faq-a {
    font-size: 0.85rem;
    color: #5f7a74;
    line-height: 1.75;
}

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 600px) {
    .ip-page { padding: 1.5rem 1rem 3rem; }
    .ip-hero { padding: 2rem 1.25rem 1.5rem; }
    .info-grid { grid-template-columns: 1fr; }
    .security-grid { grid-template-columns: repeat(3, 1fr); }
    .seo-card { padding: 1.25rem; }
}
