/* ─── Page-specific styles ─── */
.ip-hero {
    padding: 120px 0 60px;
    text-align: center;
}

@media (max-width: 768px) {

    .pill {
        margin-top: 40px;
    }

    .ip-hero {
        padding: 80px 0 40px;
    }
}

/* Premium Pills */
.pill {
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid transparent;
}

.pill-badge {
    background: rgba(var(--primary-rgb), 0.05);
    color: var(--primary);
    border-color: rgba(var(--primary-rgb), 0.2);
    box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.1);
}

.ip-hero .big-ip {
    font-size: clamp(2.5rem, 5vw, 2rem);
    font-weight: 700;
    color: white;
    letter-spacing: 2px;
    font-family: 'Courier New', monospace;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    min-height: 80px;
}

.ip-hero .flag-emoji {
    font-size: 3.5rem;
}

.copy-btn {
    background: rgba(var(--primary-rgb), 0.12);
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    color: var(--primary-light);
    border-radius: 10px;
    padding: 8px 14px;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
    vertical-align: middle;
}

.copy-btn:hover {
    color: var(--primary);
    border-color: rgba(var(--primary-rgb), 0.2);
    box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.1);
}

.main-panel {
    overflow: hidden;
    border: 1.5px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.025);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    margin-bottom: 30px;
}

/* 2-column grid for each section's rows */
.panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.panel-row {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 15px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    border-right: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.2s;
    min-height: 80px;
    gap: 8px;
}

/* Remove right border on even items (right column) */
.panel-row:nth-child(even) {
    border-right: none;
}

.panel-row:hover {
    background: rgba(255, 255, 255, 0.02);
}

@media (max-width: 991px) {
    .panel-row {
        padding: 15px 20px;
    }
}

.row-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.row-label i {
    width: 14px;
    color: var(--primary);
    font-size: 0.8rem;
}

.row-value {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    word-break: break-all;
}

.row-value.muted {
    color: var(--text-muted);
    font-weight: 500;
}

.status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.dot-green {
    background: #10b981;
    box-shadow: 0 0 6px #10b981;
}

.dot-red {
    background: #ef4444;
    box-shadow: 0 0 6px #ef4444;
}

.dot-yellow {
    background: #f59e0b;
    box-shadow: 0 0 6px #f59e0b;
}

.section-divider {
    grid-column: 1 / -1;
    background: rgba(var(--primary-rgb), 0.05);
    padding: 12px 30px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* Score row spans full width */
.panel-row.full-width {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    border-right: none;
}

@media (max-width: 576px) {
    .panel-row.full-width {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .panel-row.full-width>div {
        width: 100%;
    }
}

/* ─── Score bar ─── */
.score-bar-wrap {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50px;
    height: 30px;
    overflow: hidden;
    flex: 1;
}

.score-bar-fill {
    height: 100%;
    border-radius: 50px;
    background: linear-gradient(90deg, var(--primary), #0004ff);
    background-size: 200% 100%;
    transition: width 1s ease;
}

/* ─── Spinner ─── */
.spin {
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ─── CTA card ─── */
.cta-bar {
    padding: 50px 40px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), rgba(var(--primary-rgb), 0.04));
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 25px;
}

@media (max-width: 768px) {
    .cta-bar {
        padding: 40px 30px;
        text-align: center;
        justify-content: center;
    }

    .cta-bar h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .panel-grid {
        grid-template-columns: 1fr;
    }

    .panel-row {
        border-right: none;
        min-height: initial;
        padding: 15px;
    }

    .ip-hero .big-ip {
        font-size: 1.8rem;
        gap: 10px;
    }

    .ip-hero .flag-emoji {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .ip-hero .big-ip {
        font-size: 1.4rem;
    }

    .panel-row {
        padding: 12px;
    }

    .row-value {
        font-size: 0.9rem;
    }
}

/* ─── SEO Content Styles ─── */
.seo-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.seo-row .seo-content {
    flex: 1;
}

.seo-row .seo-image {
    flex: 1;
    position: relative;
}

.seo-row .seo-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(circle, rgba(112, 255, 209, 0.05), transparent 70%);
    z-index: -1;
    border-radius: 50%;
}

.seo-row .seo-image img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(112, 255, 209, 0.1);
    border: 1px solid rgba(112, 255, 209, 0.08);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.seo-row:hover .seo-image img {
    transform: translateY(-8px);
    border-color: rgba(112, 255, 209, 0.25);
    box-shadow: 0 30px 60px rgba(112, 255, 209, 0.12);
}

.seo-row .seo-content h3 {
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
}

.seo-row .seo-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.8;
}

@media (max-width: 900px) {
    .seo-row {
        flex-direction: column !important;
        gap: 40px;
        margin-bottom: 60px;
        text-align: center;
    }

    .seo-row .seo-image {
        order: -1;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .seo-row .seo-content h3 {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .seo-row .seo-content h3 {
        font-size: 1.4rem;
    }

    .seo-row .seo-content p {
        font-size: 0.95rem;
    }
}

.seo-title {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

@media (max-width: 768px) {
    .seo-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .seo-title {
        font-size: 1.6rem;
    }
}