/* ============================================
   IPS Lab — Main Dashboard Page Styles
   Extracted from index.html inline <style>
   ============================================ */

/* --- Hero Visual (Ping Animation) --- */
.hero-visual {
    position: relative;
    margin: var(--space-xl) auto;
    width: 200px;
    height: 200px;
}

.hero-visual .orbit {
    position: absolute;
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-visual .orbit:nth-child(1) {
    width: 80px;
    height: 80px;
}

.hero-visual .orbit:nth-child(2) {
    width: 140px;
    height: 140px;
    border-color: rgba(6, 182, 212, 0.12);
}

.hero-visual .orbit:nth-child(3) {
    width: 200px;
    height: 200px;
    border-color: rgba(139, 92, 246, 0.1);
}

.hero-visual .center-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: var(--gradient-blue);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.hero-visual .ping-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border: 2px solid rgba(59, 130, 246, 0.6);
    border-radius: 50%;
    animation: ping 2s ease-out infinite;
}

.hero-visual .ping-ring:nth-of-type(2) {
    animation-delay: 0.7s;
}

.hero-visual .ping-ring:nth-of-type(3) {
    animation-delay: 1.4s;
}

/* --- Stats Bar --- */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: var(--space-2xl);
    padding: var(--space-xl) 0;
    margin-bottom: var(--space-xl);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* --- Comparison Table --- */
.comparison-table-wrap {
    overflow-x: auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin-top: var(--space-xl);
}

.comparison-table-wrap table {
    min-width: 700px;
}

.accuracy-bar {
    height: 6px;
    border-radius: 3px;
    background: rgba(59, 130, 246, 0.1);
    position: relative;
}

.accuracy-bar .fill {
    height: 100%;
    border-radius: 3px;
    position: absolute;
    top: 0;
    left: 0;
}

/* --- Section Divider --- */
.section-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
    margin: var(--space-xl) 0;
}

/* --- Hybrid Grid --- */
.hybrid-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.hybrid-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.hybrid-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-red);
}

.hybrid-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.hybrid-card h3 {
    font-size: 1.05rem;
    margin-bottom: var(--space-sm);
}

.hybrid-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

a.hybrid-card {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.hybrid-card .compat {
    margin-top: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.compat-stars {
    color: var(--accent-yellow);
    font-size: 0.85rem;
    letter-spacing: 2px;
}

.compat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* --- Dashboard CTA --- */
.comparison-cta {
    text-align: center;
    margin-top: var(--space-xl);
}

.comparison-cta .btn {
    padding: 12px 32px;
    font-size: 0.95rem;
}