/* ==================== Home/Index Page Styles ==================== */

/* Particle background */
.particle {
    position: absolute;
    color: rgba(255, 255, 255, 0.08);
    animation: floatParticle 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes floatParticle {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.6; }
    33% { transform: translateY(-20px) rotate(5deg); opacity: 1; }
    66% { transform: translateY(10px) rotate(-3deg); opacity: 0.8; }
}

.comparison-preview {
    max-width: 900px;
    margin: 0 auto;
}

.comparison-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.comparison-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    flex: 1;
    min-width: 160px;
    max-width: 220px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.comparison-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color, #4F46E5), var(--secondary-color, #10B981));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.comparison-card:hover::before { transform: scaleX(1); }
.comparison-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.12); }

.compare-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    margin: 0 auto 0.75rem;
}

.comparison-card h5 { font-size: 1rem; font-weight: 700; margin-bottom: 0.75rem; }

.compare-specs {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.compare-specs span {
    font-size: 0.75rem;
    color: #6B7280;
}

.compare-specs strong { color: #374151; }

.comparison-vs {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #9CA3AF;
    font-size: 0.75rem;
    min-width: 40px;
}

.vs-badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #F59E0B, #EF4444);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.7rem;
    margin-bottom: 0.25rem;
}

.comparison-cta { text-align: center; }

.comparison-cta p {
    margin-top: 0.75rem;
    color: #6B7280;
    font-size: 0.875rem;
}

.pulse-btn {
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.4); }
    50% { box-shadow: 0 0 0 12px rgba(79, 70, 229, 0); }
}

@media (max-width: 768px) {
    .comparison-visual { flex-direction: column; }
    .comparison-vs { flex-direction: row; gap: 0.5rem; }
    .comparison-card { max-width: 100%; width: 100%; }
    .comparison-card:nth-child(3) { order: 2; }
    .comparison-vs:nth-child(2) { order: 1; }
    .comparison-vs:nth-child(4) { order: 3; }
    .comparison-card:nth-child(5) { order: 4; }
}